PageSourceSearch

https://www.payback.de/onsflows/_next/static/chunks/2d23vh00cx9zl.js

js payback.de collected 2026-09-24 10:12:02 UTC 25,977 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,427075,e=>{"use strict";e.s(["handleTrackedLinkClick",0,function(e,t,i){if(i(),e.ctrlKey||e.metaKey||e.shiftKey||e.altKey||0!==e.button)return;e.preventDefault();let a=!1,o=()=>{a||(a=!0,window.location.href=t)};window.s?.registerPostTrackCallback&&window.s.registerPostTrackCallback(o),setTimeout(o,250)}])},979061,e=>{e.v({"line-clamp":"shop-tile-module__tFq_ka__line-clamp","shop-tile":"shop-tile-module__tFq_ka__shop-tile"})},599107,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(657688),o=e.i(126863),r=e.i(819646),d=e.i(979061);e.i(620258);var n=e.i(423043),l=e.i(427075);let s=i.default.memo(({shopData:e,imageHost:i,shopBaseUrl:s,trckId:c,extraQueryParams:u})=>{let p,m,{partnerShortName:f,partnerDisplayName:_,partnerVanityName:h,incentivationHeadline:x,partnerLogoIdentifier:g,offlineShopUrl:v}=e;i&&(i=i.replace(/\/+$/,""));let{pushToDataLayer:b}=(0,n.useDataLayer)(),y=()=>{let e=u?.find(({key:e})=>"category"===e)?.value;
1b({event:"Linkclick",eventName:`PartnerLogo${f}`,page:{attribute:{moduleId:c??"undefined",elementId:`${c??"undefined"}:${f}:none:nothighlighted`,...e&&{categoryId:e},partnerId:f}}})},w=g&&i?`${i}/res/mam/1/${g}/43/0/1/${g}.png`:"/onsflows/pbimage.png",S=v??(p=new URLSearchParams,u&&u.forEach(({key:e,value:t})=>p.append(e,t)),m=p.toString(),`${s}/${h}${m?`?${m}`:""}`);return(0,t.jsxs)(r.default,{component:"a",href:S,onClick:e=>{(0,l.handleTrackedLinkClick)(e,S,y)},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&y()},className:d.default["shop-tile"],"data-testid":`shop-tile-${f}`,"aria-label":_,sx:e=>({textDecoration:"none",backgroundColor:e.palette.pb?.surfaceContainerLowest??e.palette.background.paper,border:`0.5px solid ${e.palette.pb?.outlineVariant}`,"&:hover":{boxShadow:e.palette.pb?.shadowVariants.get("floatingHighlight")},"&:focus":{outline:`2px solid ${e.palette.pb?.primary}`}}),children:[(0,t.jsx)(a.default,{src:w,alt:`${_} Logo`,width:90,height:54,style:{objectFit:"contain"},loading:"lazy",unoptimized:!0}),(0,t.jsxs)(r.default,{sx:{textAlign:"center"},children:[(0,t.jsx)(o.default,{color:"pb.onSurfaceVariant",variant:"body1",className:d.default["line-clamp"],children:_}),(0,t.jsx)(o.default,{color:"pb.onSurface",variant:"h6",component:"p",className:d.default["line-clamp"],children:x})]})]})});e.s(["default",0,s])},391147,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(819646),o=e.i(236807),r=e.i(443090),d=e.i(126863),n=e.i(210557),l=e.i(961974),s=e.i(164222),c=e.i(189996),u=e.i(74686);e.s(["default",0,({headline:e,subline:p,rewards:m,productImageBase:f,productDetailBaseUrl:_,moreLink:h})=>{let x=(0,n.useTheme)(),g=(0,l.default)(x.breakpoints.down("md")),v=(0,i.useRef)(null),[b,y]=(0,i.useState)(!1),[w,S]=(0,i.useState)(!1),k=(0,i.useCallback)(()=>{let e=v.current;if(!e)return;let{scrollLeft:t,scrollWidth:i,clientWidth:a}=e;y(t>2),S(t+a<i-2)},[]);(0,i.useEffect)(()=>{k();let e=v.current;if(!e)return;let t=()=>k();e.addEventListener("scroll",t,{passive:!0});let i=new ResizeObserver(()=>k());return i.observe(e),()=>{e.removeEventListener("scroll",t),i.disconnect()}},[m,k]);let C=e=>{let t=(g?170:220)+8;v.current?.scrollBy({left:"right"===e?t:-t,behavior:"smooth"})},E=b||w;return(0,t.jsxs)(a.default,{"data-testid":"rewards-result-slider",children:[(0,t.jsxs)(a.default,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"16px"},children:[(0,t.jsxs)(a.default,{sx:{flex:1,minWidth:0},children:[(0,t.jsx)(d.default,{variant:"pb_h2",component:"h2",color:"pb.onSurface",children:e}),p&&(0,t.jsx)(d.default,{variant:"body1",color:"pb.onSurfaceVariant",sx:{mt:"4px"},"data-testid":"rewards-result-slider-subline",children:p})]}),h&&(0,t.jsx)(o.default,{component:"a",href:h.url,"data-testid":"rewards-result-slider-more-link",variant:"outlined",size:"medium",sx:e=>({borderColor:e.palette.pb?.primary,color:e.palette.pb?.primary,flexShrink:0,minWidth:"auto",alignSelf:"center"}),children:h.label})]}),(0,t.jsx)(a.default,{sx:{width:{xs:"100%",md:"904px"},maxWidth:"100%",overflow:"hidden",mt:"16px",py:"4px"},children:(0,t.jsx)(a.default,{ref:v,component:"ul",sx:{display:"flex",flexWrap:"nowrap",overflowX:"auto",gap:"8px",px:0,py:0,my:0,listStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},children:m.map((e,i)=>(0,t.jsx)(a.default,{component:"li",sx:{flexShrink:0,width:{xs:170,md:220}},children:(0,t.jsx)(u.default,{product:e,detailBaseUrl:_,baseImageUrl:f,addToCartLabel:"In den Warenkorb"})},`${e.sku}-${i}`))})}),E&&(0,t.jsx)(a.default,{sx:{display:"flex",justifyContent:"flex-end",mt:"8px",width:{xs:"100%",md:"904px"},maxWidth:"100%"},children:(0,t.jsxs)(a.default,{sx:e=>({display:"inline-flex",border:`1px solid ${e.palette.pb?.outlineVariant}`,borderRadius:"9999px",overflow:"hidden"}),children:[b&&(0,t.jsx)(r.default,{onClick:()=>C("left"),"aria-label":"scroll left","data-testid":"rewards-result-slider-scroll-left",sx:{borderRadius:0,width:60,height:40,color:"pb.onSurface"},children:(0,t.jsx)(s.default,{fontSize:"small"})}),w&&(0,t.jsx)(r.default,{onClick:()=>C("right"),"aria-label":"scroll right","data-testid":"rewards-result-slider-scroll-right",sx:{borderRadius:0,width:60,height:40,color:"pb.onSurface"},children:(0,t.jsx)(c.default,{fontSize:"small"})})]})})]})}])},350447,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(819646),o=e.i(236807),r=e.i(443090),d=e.i(126863),n=e.i(164222),l=e.i(189996),s=e.i(599107);e.s(["default",0,({headline:e,subline:c,shops:u,imageHost:p,shopBaseUrl:m,discoverMore:f})=>{let[_,h]=(0,i.useState)(0);if((0,i.useEffect)(()=>{h(0)},[u]),!u||0===u.length)return null;let x=Math.ceil(u.length/14),g=u.length>14,v=Math.min(_,x-1),b=u.slice(14*v,14*v+14);return(0,t.jsxs)(a.default,{"data-testid":"shop-result-slider",children:[(0,t.jsxs)(a.default,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"16px"},children:[(0,t.jsxs)(a.default,{sx:{flex:1,minWidth:0},children:[(0,t.jsx)(d.default,{variant:"pb_h2",component:"h2",color:"pb.onSurface",children:e}),c&&(0,t.jsx)(d.default,{variant:"body1",color:"pb.onSurfaceVariant",sx:{mt:"4px"},"data-testid":"shop-result-slider-subline",children:c})]}),f&&(0,t.jsx)(o.default,{component:"a",href:f.url,"data-testid":"shop-result-slider-discover-more",variant:"outlined",size:"medium",sx:e=>({borderColor:e.palette.pb?.primary,color:e.palette.pb?.primary,flexShrink:0,minWidth:"auto",alignSelf:"center"}),children:f.label})]}),(0,t.jsx)(a.default,{sx:{width:{xs:"100%",md:"909px"},maxWidth:"100%",overflow:"hidden",mt:"16px",py:"4px"}
1,children:(0,t.jsx)(a.default,{component:"ul",sx:{display:"grid",gridTemplateColumns:"repeat(7, 123px)",gridAutoRows:"auto",gap:"8px",px:0,py:0,my:0,listStyle:"none"},children:b.map(e=>(0,t.jsx)(a.default,{component:"li",sx:{width:123,display:"flex"},children:(0,t.jsx)(s.default,{shopData:e,imageHost:p,shopBaseUrl:m})},`${e.partnerShortName}-${e.offlineShopUrl??"online"}`))})}),(0,t.jsx)(a.default,{sx:{display:"flex",justifyContent:"flex-end",mt:"8px",width:{xs:"100%",md:"909px"},maxWidth:"100%"},children:g&&(0,t.jsxs)(a.default,{sx:e=>({display:"inline-flex",border:`1px solid ${e.palette.pb?.outlineVariant}`,borderRadius:"9999px",overflow:"hidden"}),children:[v>0&&(0,t.jsx)(r.default,{onClick:()=>h(e=>Math.max(e-1,0)),"aria-label":"previous page","data-testid":"shop-result-slider-scroll-left",sx:{borderRadius:0,width:60,height:40,color:"pb.onSurface"},children:(0,t.jsx)(n.default,{fontSize:"small"})}),v<x-1&&(0,t.jsx)(r.default,{onClick:()=>h(e=>Math.min(e+1,x-1)),"aria-label":"next page","data-testid":"shop-result-slider-scroll-right",sx:{borderRadius:0,width:60,height:40,color:"pb.onSurface"},children:(0,t.jsx)(l.default,{fontSize:"small"})})]})})]})}])},578778,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(819646),o=e.i(236807),r=e.i(18005),d=e.i(556828),n=e.i(126863);let l=({open:e,onClose:i,headline:l,informationText:s,acceptButtonLabel:c,informationImage:u})=>(0,t.jsx)(r.default,{open:e,onClose:i,"aria-labelledby":"cart-conflict-modal-title","aria-describedby":"cart-conflict-modal-description",children:(0,t.jsxs)(a.default,{"data-testid":"cart-conflict-modal",className:d.default["modal-container"],sx:{width:{xs:"90%",md:"600px"},height:{xs:"70%",md:"auto"},padding:{xs:"24px",md:"24px 36px"},justifyContent:"space-between"},children:[(0,t.jsxs)(a.default,{sx:{display:"flex",flexDirection:"column",gap:"8px",width:"100%"},children:[u&&(0,t.jsx)(a.default,{component:"img",src:u.url??"",alt:u.alt??"",sx:{alignSelf:"center"}}),(0,t.jsxs)(a.default,{width:"100%",children:[(0,t.jsx)(n.default,{component:"h2",variant:"pb_h2",id:"cart-conflict-modal-description",children:l}),(0,t.jsx)(n.default,{id:"cart-conflict-modal-description",children:s})]})]}),(0,t.jsx)(o.default,{onClick:i,"data-testid":"cart-conflict-modal-close",className:d.default["modal-button"],sx:{width:{xs:"100%",md:"fit-content"}},children:c})]})}),s=(0,i.createContext)(null);e.s(["CartConflictProvider",0,function({children:e,content:a}){let[o,r]=(0,i.useState)(!1);return(0,t.jsxs)(s.Provider,{value:{openModal:()=>r(!0)},children:[e,(0,t.jsx)(l,{open:o,onClose:()=>r(!1),headline:a.headline,informationText:a.informationText,acceptButtonLabel:a.acceptButtonLabel,informationImage:a.informationImage})]})},"useCartConflict",0,function(){let e=(0,i.useContext)(s);return e||null}],578778)},556828,e=>{e.v({"modal-body":"cart-conflict-modal-module__ewkFDW__modal-body","modal-button":"cart-conflict-modal-module__ewkFDW__modal-button","modal-container":"cart-conflict-modal-module__ewkFDW__modal-container"})},567397,e=>{e.v({badge:"badge-module__0lMv9G__badge","badge-text":"badge-module__0lMv9G__badge-text"})},211337,214283,650128,e=>{"use strict";var t=e.i(843476),i=e.i(126863),a=e.i(819646),o=e.i(567397);e.s(["default",0,({type:e,label:r,isDetailsBadge:d=!1})=>{let n,l;switch(e?.toLowerCase()){case"red":n="pb.onAttention",l="pb.attentionFixed";break;case"yellow":n="pb.shadow",l="pb.notice";break;case"grey":n="pb.oInfoFixed",l="pb.infoFixed";break;case"black":n="pb.oInfoFixed",l="pb.shadow";break;default:n="pb.oInfoFixed",l="pb.infoFixed",console.warn(`Badge: type '${e}' unknown, defaulting to blue.`)}let s=d?{typography:"body1"}:{fontSize:"12px",lineHeight:"16px",letterSpacing:"0"};return r=r||"",(0,t.jsx)(a.default,{component:"span",className:o.default.badge,position:d?"relative":"absolute","data-testid":"badge",children:(0,t.jsx)(i.default,{variant:d?"h6":"body1",component:"span",className:o.default["badge-text"],sx:e=>({color:n,backgroundColor:l,[e.breakpoints.down("md")]:s}),children:r})})}],211337);var r=e.i(271645),d=e.i(236807),n=e.i(688762),l=e.i(980123),s=e.i(114343),c=e.i(43379),u=e.i(578778);e.i(620258);var p=e.i(423043);let m="rewards:add-to-cart-banner:show";function f(e={}){window.dispatchEvent(new CustomEvent(m,{detail:e}))}let _="rewards:add-to-cart-banner:error";function h(e){window.dispatchEvent(new CustomEvent(_,{detail:e}))}e.s(["ADD_TO_CART_BANNER_EVENT",0,m,"ADD_TO_CART_ERROR_EVENT",0,_,"dispatchAddToCartBannerEvent",0,f,"dispatchAddToCartErrorEvent",0,h],214283),e.s(["default",0,({sku:e,children:i,sx:o={},disabled:m=!1,className:_="",dataTestId:x,addToCartCallback:g=()=>{},productName:v})=>{let b=(0,u.useCartConflict)(),{pushToDataLayer:y}=(0,p.useDataLayer)(),[w,S]=(0,r.useState)(!1),k=async()=>{try{S(!0);let t=new URLSearchParams(window.location.search).get("campaignId")??void 0,i=await (0,l.fetchWithOptions)(s.ADD_TO_CART_ROUTE,{method:"POST",body:JSON.stringify({sku:e,campaignId:t})});if(i.ok){let t=await i.json();f({sku:e}),y({event:"Linkclick",eventName:"scAdd",rewards:{cart:{item:[{productInfo:{productID:e,productName:v??t.name},quantity:t.qty,price:{totalPoints:t.total??t.price}}]}}});return}let a=await i.json(),o=a?.faultCode;switch(o){case"QIU-00012":case"VU-00015":null!==b&&b.openModal();break;default:h({message:a?.message??"Es ist etwas schief gegangen",faultCode:o})}}finally{(0,c.refreshCartSize)(),S(!1),g()}};return(0,t.jsxs)(d.default,{"data-testid":x,"data-loading":w,disabled:m||w,onClick:k,className:_,sx:{...o,zIndex:2*!!w},children:[(0,t.jsx)(a.default,{sx:{visibility:w?"hidden":"visible",display:"flex",alignItems:"center",gap:"inherit"},children:i}),w&&(0,t.jsx)(n.default,{size:20,sx:{position:"absolute"}})]})}],650128)},559906,828780,481962,134284,68938,771827,e=>{"use strict";let t="http://rest/default".replace(/\/+$/,"");new class{configuration;constructor(e={}){this.configuration=e}set config(e){this.configuration=e}get basePath(){return null!=this.configuration.basePath?this.configuration.basePath:t}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||function e(t,i=""){return Object.keys(t).map(a=>(function t(i,a,o=""){let r=o+(o.length?`[${i}]`:i);if(a instanceof Array){let e=a.map(e=>encodeURIComponent(String(e))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${e}`}return a instanceof Set?t(i,Array.from(a),o):a instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(a.toISOString())}`:a instanceof Object?e(a,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(a))}`})(a,t[a],i)).filter(e=>e.length>0).join("&")}}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){let e=this.configuration.apiKey;if(e)return"function"==typeof e?e:()=>e}get accessToken(){let e=this.configuration.accessToken;if(e)return"function"==typeof e?e:async()=>e}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}},RegExp("^(:?application/json|[^;/ 	]+/[^;/ 	]+[+]json)[ 	]*(:?;.*)?$","i");function i(e,t){return null!=e[t]}function a(e){var t;return null==(t=e)?t:{type_id:i(t,"type_id")?t.type_id:void 0,identifier:i(t,"i
1dentifier")?t.identifier:void 0}}function o(e){var t;return null==(t=e)?t:{group_id:i(t,"group_id")?t.group_id:void 0,value:i(t,"value")?t.value:void 0}}let r="DEFAULT";function d(e){var t;return null==(t=e)?t:{type_id:i(t,"type_id")?t.type_id:void 0,value:i(t,"value")?t.value:void 0}}function n(e){var t,a,o=e;if(null==o)return o;return{id:i(o,"id")?o.id:void 0,qty:i(o,"qty")?o.qty:void 0,cart_id:i(o,"cart_id")?o.cart_id:void 0,product_sku:i(o,"product_sku")?o.product_sku:void 0,seo_url:i(o,"seo_url")?o.seo_url:void 0,name:i(o,"name")?o.name:void 0,short_description:i(o,"short_description")?o.short_description:void 0,image:i(o,"image")?o.image:void 0,price:i(o,"price")?o.price:void 0,total:i(o,"total")?o.total:void 0,is_pro_cross:i(o,"is_pro_cross")?o.is_pro_cross:void 0,availability_information:i(o,"availability_information")?null==(t=o.availability_information)?t:{status_id:i(t,"status_id")?t.status_id:void 0,status_text:i(t,"status_text")?t.status_text:void 0}:void 0,delivery_information:i(o,"delivery_information")?null==(a=o.delivery_information)?a:{delivery_text:i(a,"delivery_text")?a.delivery_text:void 0,delivery_date:i(a,"delivery_date")?a.delivery_date:void 0,delivery_special:i(a,"delivery_special")?a.delivery_special:void 0}:void 0,campaign_id:i(o,"campaign_id")?o.campaign_id:void 0,is_promotion_article:i(o,"is_promotion_article")?o.is_promotion_article:void 0,product_group:i(o,"product_group")?o.product_group:void 0,shipped_by:i(o,"shipped_by")?o.shipped_by:void 0,sold_by:i(o,"sold_by")?o.sold_by:void 0}}function l(e){var t;return null==(t=e)?t:{type_id:i(t,"type_id")?t.type_id:void 0,value:i(t,"value")?t.value:void 0,label:i(t,"label")?t.label:void 0,voucher_type:i(t,"voucher_type")?t.voucher_type:void 0}}e.s(["CatalogProductLimitedInterfaceFromJSON",0,function(e){var t,r,n,l=e;if(null==l)return l;return{id:i(l,"id")?l.id:void 0,sku:i(l,"sku")?l.sku:void 0,name:i(l,"name")?l.name:void 0,type_id:i(l,"type_id")?l.type_id:void 0,short_description:i(l,"short_description")?l.short_description:void 0,seo_url:i(l,"seo_url")?l.seo_url:void 0,brand_id:i(l,"brand_id")?l.brand_id:void 0,highlight_id:i(l,"highlight_id")?l.highlight_id:void 0,stock_status_id:i(l,"stock_status_id")?l.stock_status_id:void 0,csc_info:i(l,"csc_info")?l.csc_info:void 0,sales_article_number:i(l,"sales_article_number")?l.sales_article_number:void 0,badge:i(l,"badge")?null==(t=l.badge)?t:{type_id:i(t,"type_id")?t.type_id:void 0,label:i(t,"label")?t.label:void 0}:void 0,images:i(l,"images")?l.images.map(a):void 0,brand:i(l,"brand")?null==(r=l.brand)?r:{id:i(r,"id")?r.id:void 0,name:i(r,"name")?r.name:void 0,image:i(r,"image")?r.image:void 0,position:i(r,"position")?r.position:void 0,key:i(r,"key")?r.key:void 0}:void 0,category_ids:i(l,"category_ids")?l.category_ids:void 0,price:i(l,"price")?null==(n=l.price)?n:{primary:i(n,"primary")?n.primary.map(d):void 0,grouped:i(n,"grouped")?n.grouped.map(o):void 0}:void 0,video_urls:i(l,"video_urls")?l.video_urls:void 0}},"CatalogProductLimitedInterfaceStockStatusIdEnum",0,{OnStock:"ON_STOCK",LowStock:"LOW_STOCK",NoStock:"NO_STOCK"}],828780),e.s(["QuoteCartItemInterfaceFromJSON",0,n,"QuoteCartItemInterfaceProductGroupEnum",0,{CadoozArticle:"cadooz_article",PaybackArticle:"payback_article"},"QuoteCartItemInterfaceToJSON",0,function(e){if(void 0!==e)return null===e?null:{id:e.id,qty:e.qty,cart_id:e.cart_id,product_sku:e.product_sku,seo_url:e.seo_url,name:e.name,short_description:e.short_description,image:e.image,price:e.price,total:e.total,is_pro_cross:e.is_pro_cross,availability_information:function(e){if(void 0!==e)return null===e?null:{status_id:e.status_id,status_text:e.status_text}}(e.availability_information),delivery_information:function(e){if(void 0!==e)return null===e?null:{delivery_text:e.delivery_text,delivery_date:e.delivery_date,delivery_special:e.delivery_special}}(e.delivery_information),campaign_id:e.campaign_id,is_promotion_article:e.is_promotion_article,product_group:e.product_group,shipped_by:e.shipped_by,sold_by:e.sold_by}}],481962),e.s(["QuoteCartInterfaceFromJSON",0,function(e){var t;return null==(t=e)?t:{cart_id:i(t,"cart_id")?t.cart_id:void 0,grand_total_with_discounts:i(t,"grand_total_with_discounts")?t.grand_total_with_discounts:void 0,grand_total_without_discounts:i(t,"grand_total_without_discounts")?t.grand_total_without_discounts:void 0,total_sum_with_voucher_discount:i(t,"total_sum_with_voucher_discount")?t.total_sum_with_voucher_discount:void 0,items:i(t,"items")?t.items.map(n):void 0,discounts:i(t,"discounts")?t.discounts.map(l):void 0,pricechange:i(t,"pricechange")?t.pricechange:void 0,promotion_message:i(t,"promotion_message")?t.promotion_message:void 0}},"QuoteCartInterfacePricechangeEnum",0,{None:"NONE",Up:"UP",Down:"DOWN"}],134284),e.s(["GetRewardListSortOrderDirectionEnum",0,{Asc:"ASC",Desc:"DESC"},"GetRewardListSortOrderFieldEnum",0,{Bestseller:"bestseller",Price:"price"}],68938),e.s([],771827),e.s(["priceToFormattedPoints",0,function(e){var t;return e?(t=Math.round(100*e),new Intl.NumberFormat("de-DE").format(t)):null},"toReducedProduct",0,function(e,t=r){return{id:e.id||"",sku:e.sku,thumbnail:e.images?.find(e=>
1"THUMBNAIL"===e.type_id)?.identifier||"",name:e.name||"",seoUrl:e.seo_url||"",price:e.price?.primary?.find(e=>e.type_id===t)?.value,originalPrice:e.price?.primary?.find(e=>e.type_id===("COORDER"===t?r:"MRSP"))?.value,badge:e.badge,highlightId:e.highlight_id,brand:e.brand?.image&&e.brand?.name?{image:e.brand.image,name:e.brand.name}:void 0,stockStatusId:e.stock_status_id}}],559906)},515328,e=>{e.v({"add-to-cart-button":"product-tile-module__4R8DZq__add-to-cart-button","brand-logo":"product-tile-module__4R8DZq__brand-logo","details-container":"product-tile-module__4R8DZq__details-container","image-container":"product-tile-module__4R8DZq__image-container","image-placeholder":"product-tile-module__4R8DZq__image-placeholder","original-price":"product-tile-module__4R8DZq__original-price","price-container":"product-tile-module__4R8DZq__price-container","product-container":"product-tile-module__4R8DZq__product-container","product-image":"product-tile-module__4R8DZq__product-image","product-name":"product-tile-module__4R8DZq__product-name"})},74686,e=>{"use strict";var t=e.i(843476),i=e.i(210557),a=e.i(961974),o=e.i(937910),r=e.i(819646),d=e.i(126863),n=e.i(98049);e.i(604560);var l=e.i(258541),s=e.i(211337),c=e.i(650128),u=e.i(559906);e.i(771827);var p=e.i(828780),m=e.i(515328);e.s(["default",0,({product:e,detailBaseUrl:f,baseImageUrl:_,addToCartLabel:h,campaignId:x,addToCartCallback:g,onTileClick:v})=>{let b=(0,i.useTheme)(),y=(0,a.default)(b.breakpoints.down("md")),w=e.price,S=e.originalPrice,k=e.stockStatusId===p.CatalogProductLimitedInterfaceStockStatusIdEnum.NoStock,C=e.seoUrl?f+e.seoUrl:"https://payback.de/404";if(e.seoUrl&&x){let e=new URLSearchParams({campaignId:x}).toString();C+=e?`?${e}`:""}let E=_+"/catalog/product"+e.thumbnail,R="https://checkout.payback.de/pub/media/brands/"+e.brand?.image;return(0,t.jsx)(l.Elevation,{variant:"floating",sx:{border:"RED"===e.highlightId?"1.5px solid":"0.5px solid",borderColor:"RED"===e.highlightId?"error.main":b.palette.pb.outlineVariant,height:"100%","&:hover":{boxShadow:"2px 8px 16px 0px rgba(0,0,0,0.04),2px 12px 32px 0px rgba(0,0,0,0.02)"}},children:(0,t.jsxs)(o.default,{component:y?"a":"div",href:y?C:void 0,onClick:y?v:void 0,width:{xs:"100%"},className:m.default["product-container"],"data-testid":"product-container",sx:{textDecoration:"none",color:"black"},children:[(0,t.jsxs)(r.default,{component:y?"div":"a",className:m.default["image-container"],href:y?void 0:C,onClick:y?void 0:v,"aria-label":e.name,children:[e.badge&&"NONE"!==e.badge.type_id&&(0,t.jsx)(s.default,{type:e.badge.type_id,label:e.badge.label}),(0,t.jsx)(r.default,{className:m.default["image-placeholder"],"data-testid":"product-image-placeholder","aria-hidden":"true"}),e.brand?.image&&(0,t.jsx)(r.default,{component:"img",className:m.default["brand-logo"],sx:{width:{xs:"40px",md:"48px"},height:{xs:"20px",md:"24px"}},src:R,alt:e.brand.name??"Brand Logo"}),(0,t.jsx)(r.default,{component:"img",className:m.default["product-image"],src:E,alt:e.name??"product image"})]}),(0,t.jsx)(d.default,{component:"p",className:m.default["product-name"],fontSize:{xs:"14px",md:"18px"},lineHeight:{xs:"20px",md:"28px"},height:{xs:"40px",md:"56px"},children:e.name}),(0,t.jsxs)(r.default,{className:m.default["details-container"],children:[(0,t.jsxs)(c.default,{sku:e.sku,className:m.default["add-to-cart-button"],dataTestId:`add-to-cart-button-${e.sku}`,sx:{display:{xs:"none",md:k?"none":"flex"}},addToCartCallback:g,children:[(0,t.jsx)(n.default,{})," ",h]}),k&&(0,t.jsx)(d.default,{variant:"body2",color:"error","data-testid":"out-of-stock-label",sx:{display:"block",fontWeight:500,textAlign:"center",mt:{xs:.5,md:0}},children:"aktuell nicht verfügbar"}),!k&&(0,t.jsxs)(r.default,{className:m.default["price-container"],sx:{height:{xs:"28px",md:"40px"}},children:[(0,t.jsx)(d.default,{variant:"pb_h3",color:"primary",component:"p",minWidth:"fit-content",fontWeight:"500",fontSize:{xs:"18px",md:"20px"},lineHeight:{xs:"26px",md:"28px"},"data-testid":"price",children:w?`${(0,u.priceToFormattedPoints)(w)} \xb0P`:""}),S&&(0,t.jsxs)(d.default,{variant:"body1",component:"p",className:m.default["original-price"],"data-testid":"mrsp-price",children:[(0,u.priceToFormattedPoints)(S)," °P"]})]})]})]})})}])},43379,e=>{"use strict";var t=e.i(271645),i=e.i(980123),a=e.i(114343);let o=new Set;
1e.s(["refreshCartSize",0,function(){o.forEach(e=>e())},"useCartSize",0,function(){let[e,r]=(0,t.useState)(0),d=async()=>{try{let e=await (0,i.fetchWithOptions)(a.GET_SHOPPING_CART_SIZE_ROUTE,{method:"GET"}),t=await e.json();r(t.cartSize??0)}catch{r(0)}};return(0,t.useEffect)(()=>(d(),o.add(d),()=>{o.delete(d)}),[]),e}])},114343,e=>{"use strict";e.s(["ADD_TO_CART_ROUTE",0,"/onsflows/api/rewards/cart/add-to-cart","APPLY_POINTS_TO_CART_ROUTE",0,"/onsflows/api/rewards/cart/apply-points","CHECKOUT_ROUTE",0,"/onsflows/api/rewards/checkout","CREATE_REWARDS_SESSION_ROUTE",0,"/onsflows/api/rewards/create-rewards-session","DELETE_SHOPPING_CART_ITEM_ROUTE",0,"/onsflows/api/rewards/cart/delete-shopping-cart-item","GET_RECOMMENDATIONS_ROUTE",0,"/onsflows/api/rewards/recommendations","GET_REWARDS_ORDERS_ROUTE",0,"/onsflows/api/rewards/orders","GET_REWARDS_ROUTE",0,"/onsflows/api/rewards","GET_SHOPPING_CART_ROUTE",0,"/onsflows/api/rewards/cart/get-shopping-cart","GET_SHOPPING_CART_SIZE_ROUTE",0,"/onsflows/api/rewards/cart/get-shopping-cart/size","REDEEM_VOUCHER_ROUTE",0,"/onsflows/api/rewards/cart/redeem-voucher","REFRESH_REWARDS_SESSION_ROUTE",0,"/onsflows/api/rewards/refresh-rewards-session","REMOVE_VOUCHER_ROUTE",0,"/onsflows/api/rewards/cart/remove-voucher","UPDATE_SHOPPING_CART_ITEM_ROUTE",0,"/onsflows/api/rewards/cart/update-shopping-cart-item"])},98049,e=>{"use strict";var t=e.i(755742),i=e.i(843476);let a=(0,t.default)((0,i.jsx)("path",{d:"M11 9h2V6h3V4h-3V1h-2v3H8v2h3zm-4 9c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2m10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2m-9.83-3.25.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.13 0-.25-.11-.25-.25"}),"AddShoppingCart");e.s(["default",0,a])},164222,e=>{"use strict";var t=e.i(755742),i=e.i(843476);let a=(0,t.default)((0,i.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");e.s(["default",0,a])},189996,e=>{"use strict";var t=e.i(755742),i=e.i(843476);let a=(0,t.default)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");e.s(["default",0,a])},604560,258541,e=>{"use strict";var t=e.i(843476),i=e.i(819646);e.s(["Elevation",0,e=>{let{variant:a="ground",sx:o={},component:r="div"}=e;return(0,t.jsx)(i.default,{sx:e=>({boxShadow:e.palette.pb.shadowVariants.get(a),borderRadius:3,backgroundColor:"pb.surface",...o}),component:r,children:e.children})}],258541),e.s([],604560)}]);

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.