PageSourceSearch

https://www.bettybossi.ch/_next/static/chunks/9034-60b75090e21d32c5.js

js bettybossi.ch collected 2026-09-24 09:10:34 UTC 60,243 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9034],{771:(e,t,r)=>{"use strict";r.d(t,{$:()=>_});var a=r(99332),i=r(18970),n=r(24752),o=r(20279),l=r.n(o);let s=({className:e,children:t,isZoomed:r,setIsZoomed:o,...s})=>{let c=(0,n.useRef)(null),[d,u]=(0,n.useState)({x:0,y:0}),[p,m]=(0,n.useState)({width:0,height:0,left:0,top:0}),_=(0,n.useRef)(!1),v=(0,n.useRef)(!1),[,g]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!c.current)return;let e=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();m({width:t.contentRect.width,height:t.contentRect.height,left:e.x,top:e.y})}});return e.observe(c.current),()=>{c.current&&e.disconnect()}},[]),(0,n.useEffect)(()=>{if(!c.current)return;let e=(e=!0)=>{v.current=e,o&&o(v.current),g(v.current)},t=e=>({x:Math.min(Math.max(0,e.clientX-p.left),p.width),y:Math.min(Math.max(0,e.clientY-p.top),p.height)}),r=t=>{!_.current&&(e(!v.current),v.current&&u({x:t.offsetX,y:t.offsetY}))};c.current.addEventListener("click",r);let a=r=>{r.preventDefault();let a=r.scale>1;e(a),a&&u(t(r))};c.current.addEventListener("gesturechange",a);let i=e=>{v.current&&u({x:e.offsetX,y:e.offsetY})};c.current.addEventListener("mousemove",i);let n=e=>{!v.current||_.current||u(t(e.targetTouches[0]))};c.current.addEventListener("touchmove",n);let l=()=>{_.current=!0};c.current.addEventListener("gesturestart",l);let s=()=>{requestAnimationFrame(()=>{_.current=!1})};return c.current.addEventListener("gestureend",s),()=>{c.current&&(c.current.removeEventListener("click",r),c.current.removeEventListener("gesturechange",a),c.current.removeEventListener("mousemove",i),c.current.removeEventListener("touchmove",n),c.current.removeEventListener("gesturestart",l),c.current.removeEventListener("gestureend",s))}},[p]),(0,n.useEffect)(()=>{void 0!==r&&(v.current=r)},[r]),(0,a.Y)("div",{className:(0,i.uB)([e,l().root,v.current&&l().enabled]),style:v.current?{"--bb-zoomview-offset-x":`${d.x/p.width*100}%`,"--bb-zoomview-offset-y":`${d.y/p.height*100}%`}:{},ref:c,...s,children:t})};var c=r(12909),d=r(83448),u=r(74808),p=r(28645),m=r.n(p);let _=({variant:e,heading:t,caption:r,className:n,imageProps:o,videoProps:l,customContent:p,zoomSrc:_,isZoomed:v,setIsZoomed:g,loader:h,previewAttrs:f,captionFontVariant:b="body-c2-regular",pauseLabel:y="Pause",playLabel:I="Play",...N})=>{let{src:T="",alt:w,...C}=o||{},S=!!p;return(0,a.FD)("figure",{className:(0,i.uB)([n,m().root,!!e&&m()[`var-${e}`],S&&m()["var-customContent"]]),...N,children:[t&&(0,a.Y)("div",{className:m().heading,...f?.title,children:t}),(0,a.Y)("div",{className:m().mediaWrapper,children:(0,a.FD)("div",{className:m().mediaWrapperInner,...f?.media,children:[o&&T&&(0,a.FD)(a.FK,{children:[(0,a.Y)(c._V,{className:m().img,src:T,responsiveConfig:{srcSet:(()=>{if("portrait"===e)return[375,750,1125].map(e=>({width:e}))})(),sizes:(()=>{switch(e){case"portrait":return{small:"100vw",medium:"75vw",xlarge:"50vw",default:"51.25rem"};case"large":return{small:"100vw",xlarge:"75vw",default:"77.5rem"};case"full-grid":return{xlarge:"100vw",default:"103.5rem"}}})()},loader:h,alt:w,...C}),_&&(0,a.Y)(s,{isZoomed:v,setIsZoomed:g,children:(0,a.Y)("img",{loading:"lazy",src:_,alt:w,...C})})]}),l&&(0,a.Y)(u.C,{...l,className:m().video,pauseLabel:y,playLabel:I}),S&&p]})}),r&&(0,a.Y)(d.o,{as:"figcaption",variant:b,className:m().caption,...f?.caption,children:r})]})}},1088:(e,t,r)=>{"use strict";r.d(t,{a:()=>o});var a=r(99332),i=r(1538),n=r(77714);let o=({type:e,props:t,className:r})=>(0,a.Y)(a.FK,{children:"button"===e?(0,a.Y)(i.$,{as:"a",...t,className:r}):(0,a.Y)(n.N,{...t,className:r,icon:{name:"arrow-right-short"}})})},1532:e=>{e.exports={root:"YouTubeVideo_root__wpM_L"}},5884:(e,t,r)=>{"use strict";r.d(t,{d:()=>C});var a=r(99332),i=r(18970),n=r(12909),o=r(1538),l=r(83448),s=r(18264),c=r(51276),d=r(21096),u=r(66432),p=r(72071),m=r.n(p);let _=({isSmall:e,testIdIndex:t,premiumLabel:r})=>(0,a.Y)(c.v,{variant:e?"icon":"pointmark-highlight",icon:{name:"rating-star-filled"},iconOnly:e,className:(0,i.uB)([m().premium,e&&m().premiumIcon]),"data-testid":(0,d.q)("recipe-teaser-button-premium",t),text:r}),v=({image:e,imageSizes:t,responsiveConfig:r,variant:p,title:v,titleHeadingLevel:g="h3",premiumLabel:h,sustainableLabel:f,favoriteButton:b,rating:y,times:I,tags:N,link:T,lead:w,ctaLabel:C,isSaved:S,className:x,testIdIndex:Y,...k})=>{let P="overlay"===p,R="small"===p||"small-wide"===p||P||"app"===p,B="large"===p;return(0,a.FD)("div",{className:(0,i.uB)([x,m().root,m()[`var-${p}`],S&&m().isSaved]),...k,children:[(0,a.FD)("div",{className:m().imageWrapper,children:[(0,a.Y)(n._V,{...e,className:m().image,responsiveConfig:r||{srcSet:(e=>{if("overlay"!==e)return(0,n.bK)((e=>{switch(e){case"large":return 5/4;case"medium":case"small-wide":return 4/3;case"overlay":return .8;default:return 1}})(e))})(p),sizes:t||(e=>{switch(e){case"medium":case"large":return{medium:"100vw",xxlarge:"67vw",default:"81.625rem"};default:return{medium:"100vw",xlarge:"33vw",default:"23.375rem"}}})(p)}}),b&&(0,a.Y)("div",{className:m().favoriteButton,children:b}),f&&(0,a.FD)("span",{className:m().sustainableIcon,"data-testid":(0,d.q)("recipe-teaser-sustainable-icon",Y),hidden:!0,children:[(0,a.Y)(u.I,{name:"green-betty"}),(0,a.Y)("span",{className:"bb-sr-only",children:f})]}),h&&!P&&(0,a.Y)(_,{isSmall:R,testIdIndex:Y,premiumLabel:h})]}),(0,a.FD)("div",{className:m().content,children:[h&&P&&(0,a.Y)(_,{isSmall:R,testIdIndex:Y,premiumLabel:h}),(0,a.Y)(l.o,{as:g,variant:R?"title-h7":"title-h4",className:m().title,"data-testid":(0,d.q)("recipe-teaser-title",Y),children:!T||B||P?v:(0,a.Y)("a",{href:T,className:m().link,children:v})}),w&&!R&&(0,a.Y)(l.o,{className:m().lead,variant:"body-c1-regular",children:w}),(0,a.FD)(s.B,{className:m().meta,children:[I&&(0,a.Y)(s.B,{as:"dl","data-testid":(0,d.q)("recipe-teaser-times",Y),className:m().times,children:I.map(({id:e,label:t,value:r})=>(0,a.FD)("div",{className:(0,i.uB)([m().timesItem,e&&m()[`times--${e}`]]),children:[(0,a.Y)(l.o,{as:"dt",variant:"body-c1-regular",children:t}),(0,a.Y)(l.o,{as:"dd",variant:"body-c1-bold",className:m().timesValue,children:r})]},t))}),N&&(0,a.Y)(s.B,{className:m().tags,"data-testid":(0,d.q)("recipe-teaser-tags",Y),children:N.map((e,t)=>(0,a.Y)(c.v,{variant:"recipeLabel",iconOnly:!0,title:e.text,className:m().tag,...e},t))})]}),y&&(0,a.Y)("div",{className:m().rating,children:y}),T&&B&&(0,a.Y)("div",{className:m().cta,children:(0,a.Y)(o.$,{as:"a",size:"responsive",href:T,"data-testid":(0,d.q)("recipe-teaser-button-link",Y),children:C})})]}),T&&P&&(0,a.Y)("a",{href:T,className:m().link,children:(0,a.Y)("span",{className:"bb-sr-only",children:v})})]})};var g=r(80915),h=r(5793),f=r(7519),b=r(63777),y=r(41821),I=r(23245),N=r(45423),T=r(52303),w=r(70530);let C=({recipeId:e,recipe:t,variant:r,testIdIndex:i,onFavoriteButtonClick:n,imageSizes:o,responsiveConfig:l,titleHeadingLevel:s})=>{let{t:c,locale:u}=(0,I.PO)(),{basePath:p}=(0,g.useRouter)(),{componentName:m,componentIndex:_}=(0,b.oD)(),C=(0,h.P)(T.nP).includes(Number(e)),S="recipeId"in t?(0,w.Xt)({recipe:t,locale:u}):t;return(0,a.Y)(v,{title:S.title,titleHeadingLevel:s,lead:S.lead??"",image:{src:S.image?.src??"",alt:S.image?.altText??""},imageSizes:o,responsiveConfig:l,favoriteButton:(0,a.Y)(f.z,{recipeId:e,recipe:t,"data-testid":(0,d.q)("recipe-teaser-button-favorite",i??_),onClick:n,componentName:m,variant:"recipeTeaser"}),rating:(0,a.Y)(y.X,{id:e,entity:"recipe"}),times:(0,N.xi)(S,c),tags:(0,N.sb)(S,u),link:`${p}${S.path}`,premiumLabel:S.isPremium?c("recipe.teaser.isPremium"):void 0,sustainableLabel:S.isSustainable?c("recipe.teaser.isSustainable"):void 0,isSaved:C,variant:r,ctaLabel:c("recipe.teaser.ctaLabel"),testIdIndex:i})}},6063:(e,t,r)=>{"use strict";r.d(t,{b:()=>n});var a=r(24752),i=r(13672);let n=({containerRef:e})=>{let[t,r]=(0,a.useState)(!1),[n,o]=(0,a.useState)(!1);return(0,a.useEffect)(()=>
1{if(!(0,i.N)())return;let t=new IntersectionObserver(([e])=>{e?.isIntersecting&&(r(!0),o(!0),t.disconnect())},{threshold:.3});return e.current&&t.observe(e.current),()=>t.disconnect()},[e]),{isPlaying:t,setIsPlaying:r,videoLoaded:n,setVideoLoaded:o}}},7519:(e,t,r)=>{"use strict";r.d(t,{z:()=>m});var a=r(99332),i=r(5793),n=r(64566),o=r(59403),l=r(23245),s=r(52303),c=r(70530),d=r(10550),u=r(34742),p=r(63777);let m=({recipeId:e,recipe:t,onClick:r,componentName:m,..._})=>{let{t:v,locale:g}=(0,l.PO)(),h=(0,u.Sz)(),{componentTitle:f,componentIndex:b}=(0,p.oD)(),y=(0,i.P)(s.nP).includes(Number(e)),I="recipeId"in t?(0,c.Xt)({recipe:t,locale:g}):t,N={componentName:m,componentTitle:f,pageType:h?.pageType,eventAction:"recipe interaction",locale:g,t:v,item:{preparationTimesSummary:I.preparationTimesSummary,categories:I.categories.map(e=>({categoryId:parseInt(e.categoryId),name:{[g]:e.name}})),title:{[g]:I.title},recipeId:parseInt(e)},itemPosition:b},{addFavorite:T}=(0,o.PZ)({recipeId:Number(e)}),{removeFavorite:w}=(0,o.E6)({recipeId:Number(e),onRevert:()=>{r?.("add"),(0,d.WO)({...N,action:"add"})}}),C={onClick:e=>{("remove"===e?w:T)().then(t=>{t?(r?.(e),(0,d.WO)({...N,action:e})):(0,d.WO)({...N,action:e,error:Error(`${"remove"===e?"removeFavorite":"addFavorite"} failed`)})})},action:y?"remove":"add",children:v(y?"favorites.recipes.remove.cta":"favorites.recipes.add.cta")};return(0,a.Y)(n.Z,{...C,..._})}},8488:(e,t,r)=>{"use strict";r.d(t,{w:()=>s});var a=r(99332),i=r(18970),n=r(44805),o=r.n(n);let l=({isActive:e,autoplay:t})=>(0,a.Y)("span",{className:(0,i.uB)([o().fill,e&&o().isFilling,!t.isPlaying&&o().isPaused]),style:{"--_fill-duration":`${t.durationMs}ms`}}),s=e=>{let{count:t,currentIndex:r,className:n,autoplay:s}=e,c=e=>(0,i.uB)([o().track,e===r&&o().isActive]),d=e=>s?(0,a.Y)(l,{isActive:e===r,autoplay:s}):null;if(e.interactive){let{goToSlideLabel:l,onSelect:s}=e;return(0,a.Y)("div",{className:(0,i.uB)([o().root,n]),children:Array.from({length:t},(e,t)=>(0,a.Y)("button",{type:"button","aria-current":t===r?"true":void 0,"aria-label":l(t+1),className:c(t),onClick:()=>s(t),children:d(t)},t))})}return(0,a.Y)("div",{className:(0,i.uB)([o().root,n]),"aria-hidden":"true",children:Array.from({length:t},(e,t)=>(0,a.Y)("span",{className:c(t),children:d(t)},t))})}},9560:(e,t,r)=>{"use strict";r.d(t,{LC:()=>u,uq:()=>m});var a=r(24752),i=r(5793),n=r(73236),o=r(40906),l=r(50963),s=r(78826);let c=(0,l.T)({}),d=(0,s.RO)("recommendationSid",crypto.randomUUID()),u=e=>{let t={};if(!e)return t;for(let r of Array.isArray(e)?e:[e])if(r&&"object"==typeof r&&"key"in r&&"value"in r&&"string"==typeof r.key&&"string"==typeof r.value){let{key:e,value:a}=r;t[e]=a}return t},p=["productId","title","offerNumber","imageContext","imagePack","imageListing","price","brand","tags","variants","additionalMedia"],m=({service:e,itemId:t,searchTerm:r,additionalParameters:l,locale:s,categoryIds:u})=>{let m=(0,i.P)(c),_=(0,i.P)(d),v=(0,i.P)(n.H).ess_H8_2okW3hZ,[g,h]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{e&&c.setKey(e,void 0)},[r,e]),(0,a.useEffect)(()=>{e&&void 0===m[e]&&_&&void 0!==v&&(async()=>{c.setKey(e,null),h(!0);let a=await o.uE.fetch({path:"/v2/recommendations/{service}",method:"get",pathParams:{service:e},query:{sessionId:_,...void 0!==t&&{itemId:t},...void 0!==r&&{searchTerm:r},tracking:v,...void 0!==l&&{additionalParameters:l},language:s,productFields:p,recipeFields:["recipeId",`recipe.${s}.Zeiten`,`recipe.${s}.Kategorisierungen`,`recipe.${s}.RezeptKopf.Titel`,`recipe.${s}.RezeptKopf.UBP`,"headerImage","isPremium"],...void 0!==u&&u.length>0&&{categoryIds:u}},deduplicate:!0}).catch(()=>null);c.setKey(e,a),h(!1)})()},[e,m,_,t,r,l,s,v,u]),{recommendationServices:m,tracking:v,isLoading:g}}},11979:e=>{e.exports={root:"ScrollView_root__5rkyP",swipingDisabled:"ScrollView_swipingDisabled__LwVFb","var-hideScrollbars":"ScrollView_var-hideScrollbars__kVn3D"}},12380:(e,t,r)=>{"use strict";r.d(t,{G:()=>s});var a=r(99332),i=r(24752),n=r(18970),o=r(44953),l=r.n(o);let s=({children:e,beforeLabel:t,afterLabel:r,className:o,...s})=>{let c=(0,i.useId)();return(0,a.FD)("div",{className:(0,n.uB)([o,l().root]),...s,children:[(0,a.Y)("a",{href:`#${c}-after`,id:`${c}-before`,className:(0,n.uB)([l().link,"bb-sr-only"]),children:t}),e,(0,a.Y)("a",{href:`#${c}-before`,id:`${c}-after`,className:(0,n.uB)([l().link,"bb-sr-only"]),children:r})]})}},13881:e=>{e.exports={root:"PlayPauseButton_root__PLHdR"}},15697:e=>{e.exports={root:"ProductCard_root__Q7zlm",imageWrapper:"ProductCard_imageWrapper___SpwQ",hoverImage:"ProductCard_hoverImage__fto_1",image:"ProductCard_image__aZ5LX",onHover:"ProductCard_onHover__F6XYz",ctas:"ProductCard_ctas___ntiP",swipeable:"ProductCard_swipeable__O2ocu",swipeCandidate:"ProductCard_swipeCandidate__wWMcX",tags:"ProductCard_tags__lC2jH",content:"ProductCard_content__AbC7e",link:"ProductCard_link__J_IUK",variants:"ProductCard_variants__vEtw_","var-small":"ProductCard_var-small__nFAsU","var-medium":"ProductCard_var-medium__K9DCc","var-deal":"ProductCard_var-deal__Ztj2R",cardTitle:"ProductCard_cardTitle__jIBX4",imageWrapperInner:"ProductCard_imageWrapperInner__WUJ56",imageCircle:"ProductCard_imageCircle__y0zec",priceTag:"ProductCard_priceTag__4AVpN",dealContent:"ProductCard_dealContent__HsbvF",dealContentNoRating:"ProductCard_dealContentNoRating__NTIrV","var-peach-light":"ProductCard_var-peach-light__I1Omj","var-rose-light":"ProductCard_var-rose-light__A7AkD","var-lavender-light":"ProductCard_var-lavender-light__A3ooi","var-pistachio-light":"ProductCard_var-pistachio-light__IJaku","var-off-white":"ProductCard_var-off-white__Md0fS"}},20279:e=>{e.exports={root:"ZoomView_root__ItIpF",enabled:"ZoomView_enabled__XlTVm"}},20908:(e,t,r)=>{"use strict";r.d(t,{l:()=>p});var a=r(99332),i=r(1538),n=r(77714);let o=({action:e="add",onClick:t,variant:r,...o})=>{let l={variant:"primary",size:"large",icon:{name:"cart"},onClick:()=>{t?.(e)}},s=i.$;return"productTeaserSmall"===r?l={...l,iconOnly:!0}:"productTeaser"===r?(l={...l,variant:"secondary",iconOnly:!0},s=n.N):"wishlist"===r?l={...l,variant:"secondary",size:"small"}:"recipePaywall"===r?l={...l,inverted:!0}:"cart"===r&&(l={...l,icon:"delete",variant:"tertiary",size:"small",iconOnly:!0}),s===n.N&&(l={...l,as:"button"}),(0,a.Y)(s,{...l,...o}
1)};var l=r(95134),s=r(23245),c=r(34742),d=r(10550),u=r(63777);let p=({action:e="add",product:t,onClick:r,disabled:i,componentName:n,quantity:p,...m})=>{let{locale:_,t:v}=(0,s.PO)(),g=(0,c.Sz)(),{componentTitle:h,componentIndex:f}=(0,u.oD)(),b={action:e,componentName:n,componentTitle:h,pageType:g?.pageType,product:t,quantity:p,locale:_,t:v,itemPosition:f},{execute:y,state:I}=(0,l.AP)({productId:t.productId}),{execute:N,state:T}=(0,l.IM)({productId:t.productId,quantity:p,onRevert:e=>{e?(0,d.Qc)({...b,action:"add"}):(0,d.Qc)({...b,action:"add",error:Error("useRemoveFromCart.revert failed")})}}),w={action:e,disabled:i||"loading"===I||"loading"===T,onClick:e=>{("add"===e?y:N)().then(t=>{t?(r?.(e),(0,d.Qc)(b)):(0,d.Qc)({...b,error:Error(`${"add"===e?"addToCart":"removeFromCart"} failed`)})})},children:v("remove"===e?"cart.item.removeButton":"product.buySection.buyButton")};return(0,a.Y)(o,{...w,...m})}},27611:(e,t,r)=>{"use strict";r.d(t,{m:()=>x});var a=r(99332),i=r(5793),n=r(87220),o=r(77714),l=r(24752),s=r(80915),c=r(55548),d=r(21096),u=r(46747),p=r(93529),m=r(63777),_=r(20908),v=r(64079),g=r(41821),h=r(28330),f=r.n(h),b=r(62784),y=r(23245),I=r(70530),N=r(23424),T=r(44873),w=r(85590),C=r(43219),S=r(33458);let x=({productId:e,product:t,variant:r,priceVariant:h,testIdIndex:x,onFavoriteButtonClick:Y,onAddToCart:k,showCtasOnHover:P,imageSizes:R,titleHeadingLevel:B,hideVariants:L,cardTitle:E,colorScheme:D,enableSwipe:F=!1,shouldShowSwipeHint:O=!1})=>{let z,A,{t:K,locale:$}=(0,y.PO)(),{basePath:M}=(0,s.useRouter)(),{componentName:V,componentIndex:W}=(0,m.oD)(),q=(0,i.P)(N.aN),U="productId"in t?(0,I.sd)({product:t,locale:$}):t,H=(0,i.P)(w.S),Z=(0,l.useRef)(null),{dynamicProductData:J,dynamicProductDataState:Q,productSummary:j}=(0,S.p)({productId:e,productSummary:U,fields:T.Ng,elementRef:Z}),X=U.images.find(e=>"listingImage"===e.type)??U.images[0],G=U.images.find(e=>"contextImage"===e.type),{isSellable:ee}=(0,c.HV)({availability:J?.availability}),et=(0,I.rc)({product:j,t:K,skipProductTags:!0,skipNotAvailableTag:!0,skipNotSellableTag:!0}),er=(0,I.rc)({product:j,t:K,skipPriceTag:!0});return(0,a.Y)(n.A,{ref:Z,className:f().root,title:U.title,titleHeadingLevel:B,image:{src:X?.src,alt:X?.altText??U.title},imageSizes:R,hoverImage:G?.src?{src:G?.src,alt:G?.altText??U.title}:void 0,additionalImages:U.images.filter(e=>"additionalMedia"===e.type).map(e=>({src:e.src,alt:e.altText||U.title})),enableSwipe:F,shouldShowSwipeHint:O,cardTitle:E,brand:(0,a.Y)(v.m,{brand:U.brand,variant:"teaser"}),priceTags:et,productTags:er,link:`${M}${U.path}`,colorScheme:D,price:(0,a.Y)(u.g,{className:f().price,price:j.price,alternativePrice:j.alternativePrice,variant:h??"small"===r?"productTeaserSmall":"productTeaserMedium",state:Q,testIdIndex:0,simulateAlternativePrice:H[C.T.assumedSubscriber]&&!q,availability:j.availability}),rating:(0,a.Y)(g.X,{id:e,entity:"product"}),ctas:(0,a.Y)(a.FK,{children:(z=(0,a.Y)(_.l,{product:{...J,productId:e,offerNumber:U.offerNumber,title:{[$]:U.title}},onClick:k,componentName:V,disabled:!ee,iconOnly:!0,variant:r&&["medium","small","deal"].includes(r)?"productTeaserSmall":"productTeaser","data-testid":(0,d.q)("product-card-button-cart",x??W),children:K("product.teaser.addToCart")}),A=(0,a.Y)(p.I,{product:{...J,productId:e,offerNumber:U.offerNumber,title:{[$]:U.title}},"data-testid":(0,d.q)("product-card-button-favorite",x??W),onClick:e=>{Y?.(e)},componentName:V,variant:r&&["medium","small"].includes(r)?"productTeaserSmall":"productTeaser"}),"deal"===r?(0,a.FD)(a.FK,{children:[(0,a.Y)("div",{className:f().dealFavorite,children:A}),z]}):(0,a.FD)(a.FK,{children:[z,A]}))}),variants:L?void 0:[...U.variants??[]].sort(t=>t.productId===e?-1:1).map((e,t)=>({text:e.label,href:(0,b.D)({slug:e.slug,fallbackId:e.productId,type:"product",locale:$,basePath:M}),variant:"swatch",size:"small",as:o.u,"aria-current":0===t})),variant:r,showCtasOnHover:P})}},28330:e=>{e.exports={root:"ProductTeaser_root__tJ9Lm",favorited:"ProductTeaser_favorited__GZwwV",dealFavorite:"ProductTeaser_dealFavorite__u4yrh"}},28645:e=>{e.exports={root:"Media_root__Mcy_J",heading:"Media_heading__tpunL",mediaWrapper:"Media_mediaWrapper___jOBq",mediaWrapperInner:"Media_mediaWrapperInner__Fx9Hn",img:"Media_img__Vv6Ka",video:"Media_video__oExU3",caption:"Media_caption__YN0ah","var-portrait":"Media_var-portrait__HCTe6","var-large":"Media_var-large__yoJc5","var-full-grid":"Media_var-full-grid__EyFM_","var-full-width":"Media_var-full-width__gwKu9","var-customContent":"Media_var-customContent__eoI3w"}},29469:e=>{e.exports={root:"CardSlider_root__JVsam",wrapper:"CardSlider_wrapper__hEmZd",header:"CardSlider_header___EIb5",buttons:"CardSlider_buttons__IZmdN",scrollView:"CardSlider_scrollView__fiF9n","var-recipes":"CardSlider_var-recipes__3FEC7"}},31221:e=>
1{e.exports={root:"ContentTeaser_root__eQt_d",mediaWrapper:"ContentTeaser_mediaWrapper__WsJDg",image:"ContentTeaser_image__mUsOR",video:"ContentTeaser_video__j3kcl",content:"ContentTeaser_content__s_vHo",title:"ContentTeaser_title__n5WzS",lead:"ContentTeaser_lead__5YFzE",badge:"ContentTeaser_badge__TE6EU",copyBadge:"ContentTeaser_copyBadge__xDSMg",linksList:"ContentTeaser_linksList__iiecD",additionalContent:"ContentTeaser_additionalContent__xQKP1","var-xsmall":"ContentTeaser_var-xsmall__fwLGr","var-small":"ContentTeaser_var-small__loFdQ",titleLink:"ContentTeaser_titleLink__L8lxd",topic:"ContentTeaser_topic___CZxs","var-large":"ContentTeaser_var-large__qiLXZ",cta:"ContentTeaser_cta__njl_x","var-newsletter":"ContentTeaser_var-newsletter__kNXLU"}},33458:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var a=r(24752),i=r(5793),n=r(40906),o=r(32426),l=r(23424);let s=({productId:e,productSummary:t,fields:r,elementRef:s})=>{let c=(0,i.P)(l.aN),[d,u]=(0,a.useState)(t),p=(0,i.P)(o.m8),{response:m,state:_,execute:v}=(0,n.st)({method:"get",path:"/products/{productId}",pathParams:{productId:e},query:{fields:r}}),g=(0,a.useRef)(null);return(0,a.useEffect)(()=>(s.current&&!g.current&&(g.current=new IntersectionObserver(async e=>{e.forEach(e=>{e.isIntersecting&&(v(),g.current?.unobserve(e.target))})},{threshold:0}),g?.current.observe(s?.current)),()=>{g.current?.disconnect(),g.current=null}),[c,p]),(0,a.useEffect)(()=>{if(!m)return;let t={...d,...m?.price?{price:m.price}:{},...m?.availability?{availability:m.availability}:{},...m?.alternativePrice?{alternativePrice:m.alternativePrice}:{},...m?.categories?{categories:m.categories}:{}};u(t),o.JN.setKey(e,t)},[m]),{dynamicProductData:m,dynamicProductDataState:_,dynamicProductDataExecute:v,productSummary:d}}},37569:e=>{e.exports={root:"RichText_root__neiPA"}},41610:(e,t,r)=>{"use strict";r.d(t,{B:()=>s});var a=r(99332),i=r(24752),n=r(18970),o=r(11979),l=r.n(o);let s=({accessibleName:e,currentItem:t,setCurrentItem:o,children:s,className:c,hideScrollbars:d,isEnabled:u=!0,isFocusable:p=!0,isSwipingDisabled:m,setIsOverflowing:_,visibleItems:v,setVisibleItems:g,intersectionObserverThreshold:h=1,...f})=>{let b=(0,i.useRef)(null),y=(0,i.useRef)([]),I=Array.isArray(s)&&s.length>1,N=u&&I&&p,[T,w]=(0,i.useState)(!1),C=(0,i.useMemo)(()=>Array.isArray(s)?s.length:+!!s,[s]),S=(0,i.useRef)(!1),x=(0,i.useRef)(t),Y=void 0!==t;return(0,i.useEffect)(()=>{if(!b.current||(y.current=Array.from(b.current.children).map(e=>({node:e,isVisible:!1})),!o))return;let e=new IntersectionObserver(e=>{for(let t of e)y.current=y.current.map(e=>(e.node===t.target&&(e.isVisible=t.isIntersecting),e))},{root:b.current,threshold:h});for(let t of y.current)e.observe(t.node);let t=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{let e=y.current.findIndex(e=>e.isVisible);e>-1&&o?.({index:e,source:"intersection"})})})};function a(){b.current?.addEventListener("scrollend",t)}return"onscrollend"in window?a():r.e(6356).then(r.bind(r,46356)).then(()=>{a()}),()=>{e?.disconnect(),b.current?.removeEventListener("scrollend",t)}},[C]),(0,i.useEffect)(()=>{if(!b.current||!_)return;let e=new ResizeObserver(([e])=>{e&&_(e.borderBoxSize[0].inlineSize<e.target.scrollWidth)});return e.observe(b.current),()=>{e.disconnect()}},[]),(0,i.useEffect)(()=>{if(!b.current||!g)return;let e=new ResizeObserver(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{g(y.current.filter(e=>e.isVisible).length)})})});return e.observe(b.current),()=>{e.disconnect()}},[]),(0,i.useEffect)(()=>{if(!b.current)return;let e={passive:!0},t=()=>{w(!0)},r=()=>{w(!1)};return b.current.addEventListener("touchstart",t,e),b.current.addEventListener("touchend",r),()=>{b.current&&(b.current.removeEventListener("touchstart",t,e),b.current.removeEventListener("touchend",r))}},[]),(0,i.useEffect)(()=>{if(!b.current||!Y)return;let e=new IntersectionObserver(([e])=>{S.current=!!e?.isIntersecting},{threshold:.5});return e.observe(b.current),()=>{e?.disconnect()}},[Y]),(0,i.useEffect)(()=>{if(!b.current||!Y)return;let e=new ResizeObserver(()=>{S.current&&x.current&&y.current[x.current.index]?.node.scrollIntoView({block:"nearest",inline:v&&v>1?"start":"nearest"})});return e.observe(b.current),()=>{e.disconnect()}},[Y]),(0,i.useEffect)(()=>{t&&u&&t.source&&"intersection"!==t.source&&(requestAnimationFrame(()=>{y.current[t.index]?.node.scrollIntoView({behavior:"smooth",block:"nearest",inline:v&&v>1?"start":"nearest"})}),x.current=t)},[t,u]),(0,a.Y)("div",{className:(0,n.uB)([c,u&&l().root,"bb-scrollbar",d&&l()["var-hideScrollbars"],m&&T&&l().swipingDisabled]),tabIndex:N?0:void 0,role:N?"region":void 0,"aria-label":N?e:void 0,ref:b,...f,children:s})}},41821:(e,t,r)=>{"use strict";r.d(t,{X:()=>s});var a=r(99332),i=r(83448),n=r(52348),o=r(88834),l=r.n(o);let s=({id:e,entity:t})=>{let r=(0,n.i)(),o=`${t}_${e}`;return r?.isEnabled?(0,a.Y)(i.o,{as:"div",variant:"body-c1-regular",className:l().root,"data-bv-show":"inl
1ine_rating","data-bv-product-id":o}):null}},44410:(e,t,r)=>{"use strict";r.d(t,{M:()=>a,l:()=>i});let a=e=>({hours:Math.floor(e/60),minutes:e%60}),i=(e,t)=>{switch(!0){case e>0&&t>0:return"recipe.time.formattedTimeHoursMinutes";case e>0:return"recipe.time.formattedTimeHours";default:return"recipe.time.formattedTimeMinutes"}}},44724:(e,t,r)=>{"use strict";r.d(t,{U:()=>u});var a=r(99332),i=r(24752),n=r(18970),o=r(41610),l=r(1538),s=r(18264),c=r(29469),d=r.n(c);let u=({header:e,children:t,hideControls:r,className:c,variant:u="products",prevButtonLabel:p,nextButtonLabel:m})=>{let[_,v]=(0,i.useState)({index:0}),[g,h]=(0,i.useState)(4),[f,b]=(0,i.useState)(!1);return(0,a.Y)("div",{className:(0,n.uB)([c,d().root,d()[`var-${u}`]]),children:(0,a.FD)("div",{className:d().wrapper,children:[(0,a.FD)("div",{className:d().header,children:["string"==typeof e?(0,a.Y)("h2",{children:e}):e,!r&&f&&(0,a.FD)(s.B,{className:d().buttons,children:[(0,a.Y)(l.$,{className:d().prevButton,variant:"secondary",icon:"arrow-left-short",iconOnly:!0,onClick:()=>v({index:Math.max(0,_.index-g),source:"prev"}),disabled:_.index<=0,children:p}),(0,a.Y)(l.$,{className:d().nextButton,variant:"secondary",icon:"arrow-right-short",iconOnly:!0,onClick:()=>v({index:Math.min(_.index+g,t.length-g),source:"next"}),disabled:_.index>=t.length-g,children:m})]})]}),(0,a.Y)(o.B,{className:d().scrollView,currentItem:_,setCurrentItem:v,visibleItems:g,setVisibleItems:h,setIsOverflowing:b,intersectionObserverThreshold:.95,children:t})]})})}},44805:e=>{e.exports={root:"CarouselIndicator_root__tks1y",track:"CarouselIndicator_track__b_5ED",isActive:"CarouselIndicator_isActive__rtix6",fill:"CarouselIndicator_fill__G92mM",isFilling:"CarouselIndicator_isFilling__7HF94",fillBar:"CarouselIndicator_fillBar__UVFN1",isPaused:"CarouselIndicator_isPaused__6IP_T"}},44953:e=>{e.exports={root:"SkipElement_root__qqTmv",link:"SkipElement_link__IJQEy"}},45423:(e,t,r)=>{"use strict";r.d(t,{CJ:()=>o,Tc:()=>u,g7:()=>p,sb:()=>s,xi:()=>l});var a=r(12909),i=r(44410),n=r(70530);let o=1000500,l=(e,t)=>{let{preparationTimesSummary:r}=e,a=[],{hours:n,minutes:o}=(0,i.M)(r.total);a.push({label:t("recipe.time.total"),value:t((0,i.l)(n,o),{hours:n,minutes:o})});let{hours:l,minutes:s}=(0,i.M)(r.active);return r.active>0&&r.active!==r.total&&a.push({id:"active",label:t("recipe.time.active"),value:t((0,i.l)(l,s),{hours:l,minutes:s})}),a},s=(e,t)=>{let{tags:r}=e;return(0,n.OI)(r).map(e=>({text:e.name[t]?e.name[t]:e.name,icon:{name:e.icon},style:{"--bb-tag-icon-color":`var(--bb-color-${e.color})`}}))},c=(0,a.bK)(4/3),d=(0,a.bK)(1),u={srcSet:d,sizes:{xlarge:"33vw",default:"21rem"}},p=({position:e})=>{let t=e%8==1||e%8==2,r=e%5==1;return[{srcSet:t?c:d,sizes:t?{large:"50vw",default:"43.5rem"}:{large:"33vw",default:"28.5rem"},breakpoint:"large"},{srcSet:r?c:d,sizes:r?"100vw":{medium:"50vw",default:"33vw"},breakpoint:"default"}]}},45817:(e,t,r)=>{"use strict";r.d(t,{m:()=>d});var a=r(99332),i=r(771),n=r(83448),o=r(66762),l=r(80914),s=r.n(l),c=r(876);let d=({entry:e,variant:t})=>{var r;let l={title:(r=(0,c.wi)({entryId:e.sys.id}))({fieldId:"title"}),media:r({fieldId:"media"}),caption:r({fieldId:"mediaCaption"})},d=e.media?.__typename==="YoutubeVideo",u={heading:e.title?(0,a.Y)(n.o,{as:"h2",children:e.title}):void 0,...(0,o.$N)(e.media,e.mediaCaption,s().video),variant:e.format?.replaceAll(" ","-").toLowerCase(),..."app"===t&&d?{heading:void 0,caption:e.title??void 0,variant:void 0}:{},previewAttrs:l};return(0,a.Y)(i.$,{...u})}},48657:e=>{e.exports={root:"ItemCarousel_root___Au0p",swipeHint:"ItemCarousel_swipeHint__0PKbW","swipe-hint":"ItemCarousel_swipe-hint__xh635",indicator:"ItemCarousel_indicator__5gc1w"}},52141:(e,t,r)=>{"use strict";r.d(t,{S:()=>p});var a=r(99332),i=r(24752),n=r(13672);let o="bb-swipe-hint-seen";var l=r(18970),s=r(8488),c=r(41610),d=r(48657),u=r.n(d);let p=({items:e,className:t,shouldShowSwipeHint:r})=>{let[d,p]=(0,i.useState)({index:0}),m=(0,i.useRef)(null),{shouldAnimate:_}=(({containerRef:e,isEnabled:t})=>{let[r,a]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!t||!(0,n.N)()||null!==window.sessionStorage.getItem(o))return;let r=new IntersectionObserver(([e])=>{e?.isIntersecting&&(r.disconnect(),window.sessionStorage.setItem(o,"1"),a(!0))},{threshold:.8});return e.current&&r.observe(e.current),()=>r.disconnect()},[e,t]),{shouldAnimate:r}}
1)({containerRef:m,isEnabled:!!r});return(0,a.FD)("div",{className:(0,l.uB)([t,u().root]),ref:m,children:[(0,a.Y)(c.B,{setCurrentItem:p,visibleItems:1,hideScrollbars:!0,isFocusable:!1,intersectionObserverThreshold:.95,className:(0,l.uB)([_&&u().swipeHint]),children:e.map((e,t)=>(0,a.Y)("div",{children:e},t))}),e.length>1&&(0,a.Y)(s.w,{className:u().indicator,count:e.length,currentIndex:d.index})]})}},61048:(e,t,r)=>{"use strict";r.d(t,{s:()=>l});var a=r(99332),i=r(18970),n=r(37569),o=r.n(n);let l=({children:e,className:t,...r})=>(0,a.Y)("div",{className:(0,i.uB)([t,o().root,"bb-richtext"]),...r,children:e})},62153:(e,t,r)=>{"use strict";r.d(t,{e:()=>d,z:()=>u});var a=r(99332),i=r(94387),n=r(46444),o=r(27611),l=r(5884),s=r(70530),c=r(62784);let d=({item:e,locale:t})=>{if("productId"in e)return{title:e.title?.[t]||"",path:(0,c.D)({slug:e.slug,fallbackId:e.productId,type:"product",locale:t}),offerNumber:e.offerNumber||null,images:(0,s.Di)({product:e,locale:t}),price:{amount:e.price?.amount||0,originalAmount:null,awardPercentage:null,specialPriceLabel:null,flags:[],pricePhase:n.$T.Standard,shippingCosts:e.price?.shippingCosts||0},alternativePrice:null,rating:{average:e.rating?.average||0,count:e.rating?.count||0},brand:e.brand?.[t]||null,tags:e.tags,variants:e.variants?.reduce((e,r)=>(e.push(...r.variants.map(e=>({label:e.title[t]||"",productId:e.productId,offerNumber:e.offerNumber??null,slug:e.slug}))),e),[])||[]};if("recipeId"in e){let r=e.recipe[t],{preparationTimesSummary:a}=(0,i.q_)(r.Zeiten,t),n=(0,i.bW)({categories:r.Kategorisierungen,locale:t}).map(e=>({categoryId:`${e.categoryId}`,name:e.name[t]||""})),o=(0,i.Q2)({categories:r.Kategorisierungen,locale:t}).map(e=>({categoryId:`${e.categoryId}`,name:e.name[t]||""}));return{title:r.RezeptKopf.Titel||"",path:(0,c.D)({slug:e.slug,fallbackId:e.recipeId,type:"recipe",locale:t}),lead:"",image:{src:e.headerImage?.src?.[t]||"",altText:e.headerImage?.altText?.[t]||""},isPremium:e.isPremium,isSustainable:(0,i.Ot)(r.RezeptKopf.UBP?.scale||null),rating:{average:e.rating?.average||0,count:e.rating?.count||0},tags:o,preparationTimesSummary:a,editorialContent:[],categories:n}}return{}},u=({item:e,itemSummary:t,productImageSizes:r,recipeResponsiveConfig:i,enableSwipe:n})=>"productId"in e?(0,a.Y)(o.m,{productId:e.productId,product:t,imageSizes:r,enableSwipe:n}):"recipeId"in e?(0,a.Y)(l.d,{recipeId:String(e.recipeId),recipe:t,variant:"small",responsiveConfig:i}):null},63771:e=>{e.exports={"var-recipeTeaser":"FavoriteButton_var-recipeTeaser__HJBys"}},63777:(e,t,r)=>{"use strict";let a;r.d(t,{TZ:()=>I,V2:()=>T,oD:()=>w,u8:()=>C});var i=r(99332),n=r(24752),o=r(5793),l=r(18970),s=r(44458),c=r(89690),d=r.n(c),u=r(10550),p=r(32426),m=r(23245),_=r(34742);let v="a, [data-track]",g=[],h=async({productId:e,variantName:t,offerNumber:r})=>({product_attributes_availability:[""],product_attributes_type:["Product"],product_attributes_basePrice:[""],product_attributes_brand:[""],product_category_01:[""],product_category_02:[""],product_category_03:[""],product_productInfo_productName:[t],product_productInfo_sku:[String(r??"")],product_productInfo_articleNumber:[e]}),f=async({itemSummary:e,itemId:t,extendedProductSummaries:r,locale:a})=>{if("price"in e){let e=r[t],i=await (0,u.nI)({product:{availability:e?.availability,price:e?.price,brand:{[a]:e?.brand},title:{[a]:e?.title},offerNumber:e?.offerNumber,categories:e?.categories,productId:t},locale:a});return{product_attributes_availability:[i.availability],product_attributes_type:["Product"],product_attributes_basePrice:[i.price],product_attributes_brand:[i.brand],product_category_01:[i.category01],product_category_02:[i.category02],product_category_03:[i.category03],product_productInfo_productName:[i.productName],product_productInfo_sku:[i.sku],product_productInfo_articleNumber:[i.productId],prudsys_pid:[(0,s.V)(String(i.sku||""),"product")]}}return"preparationTimesSummary"in e?{product_attributes_availability:[""],product_attributes_type:["Recipe"],product_attributes_basePrice:[""],product_attributes_brand:[""],product_category_01:[String(e.categories[0]?.categoryId||"")],product_category_02:[""],product_category_03:[""],product_productInfo_productName:[e.title],product_productInfo_sku:[t],product_productInfo_articleNumber:[""],prudsys_pid:[(0,s.V)(t,"recipe")]}:{product_attributes_availability:[""],product_attributes_type:["Article"],product_attributes_basePrice:[""],product_attributes_brand:[""],product_category_01:[""],product_category_02:[""],product_category_03:[""],product_productInfo_productName:[e.title],product_productInfo_sku:[t],product_productInfo_articleNumber:[""]}},b=async({componentName:e,componentTitle:t,componentIndex:r,itemSummary:a,itemId:i,extendedProductSummaries:n,locale:o,t:l,pageType:s,type:c})=>{let d=(0,u.fB)({t:l});switch(c){case"promo":{let n=e||d;return{eventName:"promo_imp",eventCategory:"Content Interaction",eventAction:"promo impression",eventSource:`${s||""} | ${n}
1`,promo_promoInfo_creative:n,promo_promoInfo_id:i,promo_promoInfo_name:a.title||t,promo_promoInfo_position:String(r)}}case"paywall":return{eventName:"paywall_imp",eventCategory:"Content Interaction",eventAction:"paywall impression",eventLabel:a.title||t,eventSource:`${s||""} | ${e||d}`}}let p={eventName:"view_item_list",eventCategory:"Leads",eventAction:"ecommerce",eventLabel:"view item list",eventSource:`${s&&["product"].includes(s)?s:"list"} | ${e}`,product_attributes_position:[String(r)],product_list_name:[`${e} | ${t||d}`]},m=await f({itemSummary:a,itemId:i,extendedProductSummaries:n,locale:o});return{...p,...m}},y=async({componentName:e,componentTitle:t,componentIndex:r,itemSummary:a,itemId:i,extendedProductSummaries:n,locale:o,t:l,pageType:s,trackingToken:c,type:d,href:p,label:m})=>{let _=(0,u.fB)({t:l});switch(d){case"promo":{let n=e||_;return{eventName:"promo_click",eventCategory:"Content Interaction",eventAction:"promo click",eventLabel:p||"",eventSource:`${s||""} | ${n}`,promo_promoInfo_creative:n,promo_promoInfo_id:i,promo_promoInfo_name:a.title||t,promo_promoInfo_position:String(r)}}case"paywall":return{eventName:"paywall_interaction",eventCategory:"Content Interaction",eventAction:"paywall interaction",eventLabel:a.title||t,eventValue:m||"",eventSource:`${s||""} | ${e||_}`}}let v={eventName:"product_click",eventCategory:"Leads",eventAction:"ecommerce",eventSource:`${s||""} | ${e||_}`,product_attributes_position:[String(r)],product_list_name:[`${e} | ${t||_}`]},g=await f({itemSummary:a,itemId:i,extendedProductSummaries:n,locale:o});if("price"in a){let e,t=m&&a.variants?.find(e=>e.label===m);return t&&(e=await h({productId:t.productId,variantName:t.label,offerNumber:t.offerNumber})),{...v,...e||g,eventLabel:"product click",...c?{product_tracking_token:[c]}:void 0}}return"preparationTimesSummary"in a?{...v,...g,eventLabel:"recipe click",...c?{product_tracking_token:[c]}:void 0}:{...v,...g,eventLabel:"article click",...c?{product_tracking_token:[c]}:void 0}},I=({entry:e,componentName:t,children:r})=>{let a=e.fields.title||"";return(0,i.Y)(C,{componentName:t,componentTitle:a,componentIndex:1,itemId:e.sys.id,itemSummary:{title:a},children:r})},N=(0,n.createContext)({componentName:"",componentTitle:""}),T=({value:e,children:t})=>(0,i.Y)(N.Provider,{value:e,children:t}),w=()=>(0,n.useContext)(N),C=({children:e,componentName:t,componentTitle:r,componentIndex:s,itemId:c,itemSummary:h,itemTrackingToken:f,...I})=>{let{t:N,locale:w}=(0,m.PO)(),C=(0,o.P)(p.JN),S=(0,n.useRef)(null),x=(0,n.useRef)(!1),Y=(0,_.Sz)(),k=[u.NL.contentTeaser,u.NL.recipeCategoryTeaser,u.NL.articleTeaser,u.NL.tabTeaser,u.NL.expertTeaser,u.NL.mediaWithText,u.NL.media,u.NL.stage,u.NL.ribbon].includes(t)?"promo":[u.NL.recipePaywall].includes(t)?"paywall":void 0,P=async e=>{let a=e.target,i=a.matches(v)?a:a.closest(v);if(!i)return;let n=await y({componentName:t,componentTitle:r,componentIndex:s,itemId:c,itemSummary:h,extendedProductSummaries:C,locale:w,t:N,pageType:Y?.pageType,type:k,href:i.getAttribute("href")||"",label:i.textContent||"",trackingToken:f});(0,u.mq)(n)};return(0,n.useEffect)(()=>{if(x.current||"price"in h&&!C[c])return;let e=S.current?.children[0];e&&(g.push({target:e,getData:b.bind(void 0,{componentName:t,componentTitle:r,componentIndex:s,itemId:c,itemSummary:h,extendedProductSummaries:C,locale:w,t:N,pageType:Y?.pageType,type:k})}),(a=a||new IntersectionObserver(async e=>{for(let t of e)if(t.intersectionRatio>=.5){let e=g.find(({target:e})=>e===t.target);if(e){let t=await e.getData();t&&(0,u.z5)(t)}a.unobserve(t.target)}},{threshold:.5})).observe(e),x.current=!0)},[C]),(0,i.Y)(T,{value:{componentName:t,componentTitle:r,componentIndex:s},children:(0,i.Y)("div",{className:(0,l.uB)([d().root,"bb-track-element"]),onClick:P,ref:S,...I,children:e})})}},64566:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var a=r(99332),i=r(18970),n=r(1538),o=r(77714),l=r(63771),s=r.n(l);let c=({Tag:e=n.$,action:t="add",variant:r,onClick:l,className:c,...d})=>{let u="remove"===t,p={className:(0,i.uB)([c,s().root,s()[`var-${r}`]]),onClick:()=>{l?.(t)},variant:"secondary",marked:u,icon:{name:u?"heart-fill":"heart"},iconOnly:!0},m=n.$;return"productTeaser"===r?(p={...p,variant:u?void 0:"secondary",marked:!1},m=o.N):"productTeaserSmall"===r?p={...p,variant:"tertiary"}:"recipeTeaser"===r?p={...p,variant:"secondary",size:"small",inverted:!0}:"recipeStage"===r?p={...p,variant:"primary",iconOnly:!1}:"wishlist"===r&&(p={...p,variant:"secondary",fontVariant:"body-p2-bold",iconOnly:!1,marked:!1},m=o.N),m===o.N&&(p={...p,as:"button"}),(0,a.Y)(m,{...p,...d})}},64885:(e,t,r)=>{"use strict";r.d(t,{O:()=>o});var a=r(26352),i=r(56833),n=r(66762);function o(e,t,r,l=""){switch(e.__typename){case"Article":return{title:e.title||"",lead:e.lead||"",topic:e.topicTag?.title||"",image:{src:e.image?.cantoMdcUrl||"",alt:e.image?.altText||""},links:[{type:"button",props:{href:(0,a._q)({type:i.Ct,slug:e.slug||"",locale:t,basePath:l}),children:r||"",variant:"primary"}}]};case"RecipeCategory":return{title:e.title||"",lead:e.leadText||"",topic:e.topicTag?.title||"",image:{src:e.image?.cantoMdcUrl||"",alt:e.image?.altText||""},links:[{type:"button",props:{href:(0,a._q)({type:i.gh,slug:e.slug||"",locale:t,basePath:l}),children:r||"",variant:"primary"}}]};
1case"Teaser":{let r=(e.linksCollection?.items??[]).filter(Boolean).map(e=>{let r=(0,n.Co)(e.link,t);if(!r)return null;let a=!l||r.startsWith("http://")||r.startsWith("https://")?r:`${l}${r}`;return(0,n.Kf)(e.label,e.styleVariant,a,t,e.link)}).filter(Boolean),a=e.media,i={title:e.title||"",lead:e.leadText||"",topic:e.customTopic||e.topicCollection?.items?.[0]?.title||"",links:r.length>0?r:void 0};if(a?.__typename==="Video"&&a.cantoMdcVideoUrl)return{...i,videoProps:{src:a.cantoMdcVideoUrl,...a.cantoMdcImageUrl&&{poster:{src:a.cantoMdcImageUrl}}}};return{...i,image:a?.__typename==="Image"?{src:a.cantoMdcUrl||"",alt:a.altText||""}:{src:"",alt:""}}}case"Product":{let r=e.summary,a=r?.imageContext??r?.imagePack;return{title:e.name||"",lead:"",image:{src:a?.src?.[t]||"",alt:a?.altText?.[t]||""}}}case"Recipe":{let r=e.summary,a=r?.headerImage,i=a?.src&&t in a.src?a.src[t]:"",n=a?.altText&&t in a.altText?a.altText[t]:"";return{title:e.recipeTitle||"",lead:"",image:{src:i,alt:n}}}default:return null}}},66638:(e,t,r)=>{"use strict";r.d(t,{G:()=>l});var a=r(56833),i=r(41135),n=r(26352),o=r(94387);let l=()=>{let e=(e,t,r)=>{let a=e.headerImage,l=a?.src&&t in a.src?a.src[t]:"",s=a?.altText&&t in a.altText?a.altText[t]:"";return{title:e.title[t]??"",path:(0,n._q)({type:i.SK,slug:r||String(e.recipeId),locale:t}),lead:e.lead[t]??"",image:l?{src:l,altText:s}:null,isPremium:e.isPremium,isSustainable:(0,o.Ot)(e.environmentalImpactScore),rating:e.rating,tags:e.tags[t].map(e=>({categoryId:e.categoryId,name:e.name})),preparationTimesSummary:e.preparationTimesSummary,categories:e.categories[t].map(e=>({categoryId:e.categoryId,name:e.name})),editorialContent:[]}};return{toDetailData:(e,t)=>{var r,i,n,l;let s=e.recipe[t],{preparationTimes:c,preparationTimesSummary:d}=(0,o.q_)(s.Zeiten,t);return{recipeId:e.recipeId,title:{[t]:s.RezeptKopf.Titel},lead:{[t]:s.RezeptKopf.Beschreibung},headerImage:e.headerImage,channels:s.RezeptKopf.Channels.map(e=>a.c3[e]).filter(Boolean),subscriptionLevel:s.RezeptKopf.Abostufe,isPremium:e.isPremium,goLiveDate:s.RezeptKopf.LiveDatum,datePublished:s.RezeptKopf.LiveDatum,createdDate:s.RezeptKopf.ErstellungsDatum,rating:e.rating,personCounterDefault:s.RezeptKopf.Menge_1,allCategories:s.Kategorisierungen.map(e=>({name:{[t]:e.Bez},categoryId:e.KatOID})),allCollections:s.Rezeptsammlungen?.map(e=>({name:{[t]:e.title[t]},collectionId:e.oid}))||[],categories:(0,o.bW)({categories:s.Kategorisierungen,locale:t}),seasons:s.Kategorisierungen.filter(e=>e.GrpOID===o.K_.SEASONS).map(e=>e.KatOID),dishCategories:s.Kategorisierungen.filter(e=>e.GrpOID===o.K_.CATEGORIES).map(e=>e.KatOID),preparationTypes:s.Kategorisierungen.filter(e=>e.GrpOID===o.K_.PREP_TYPES).map(e=>e.KatOID),cuisines:s.Kategorisierungen.filter(e=>e.GrpOID===o.K_.FOOD_TYPE||e.GrpOID===o.K_.OCCASION).map(e=>({name:{[t]:e.Bez},categoryId:e.KatOID})),tags:(0,o.Q2)({categories:s.Kategorisierungen,locale:t}),nutritions:(r=s.Naehrwerte,i=t,[["1002101","energy"],["1002103","fat"],["1002102","carbs"],["1002104","protein"]].map(([e,t])=>{let a=r?.find(t=>t.NaehrwertOID===Number(e));return{label:{[i]:a?.Bezeichnung||""},value:a?.Wert_1??null,unit:{[i]:a?.Wert_1_Einheit||""},type:t}})),nutritionServingInformation:{[t]:s.RezeptKopf.Naehrwert_Relation},preparationTimes:c,preparationTimesSummary:d,subRecipes:(n=s.Subrezepte,l=t,n.map(e=>({title:{[l]:e.Titel},steps:e.Schritte?.map(e=>({title:{[l]:e.Titel||null},ingredients:e.Zutaten?.map(e=>({amountPrefix:{[l]:e.Menge_pre_text},amount:e.Menge||null,amountUnit:{[l]:e.Einheit},amountSuffix:{[l]:e.Menge_bis_text},namePrefix:{[l]:e.Zutat_pre_text},name:{[l]:e.Zutat},nameSuffix:{[l]:e.Zutat_post_text},id:e.ZutatOID??null}))??[],instructions:e.Anleitungen?.map(e=>({[l]:e.Text}))??[],images:e.Medien.map(e=>({src:e.mdc_url,alt:e.alt_text}))??[]}))??[]}))),hints:s.Hinweise?.map(e=>({title:e.Titel?{[t]:e.Titel}:null,text:{[t]:e.Hinweis},typeId:e.HinweisTypeOID}))||[],environmentalImpactScore:s.RezeptKopf.UBP?.scale||null,favoriteCount:e.favoriteCount||0}},toTeaserData:e,toTeaserDataFromWrappedRecipe:(t,r,a)=>e((0,o.X8)(t),r,a)}}},66762:(e,t,r)=>{"use strict";r.d(t,{$N:()=>g,Co:()=>f,Kf:()=>b,NP:()=>y,Ph:()=>N,Q1:()=>I,_G:()=>v,gj:()=>_});var a=r(99332),i=r(75583);r(77714);var n=r(83387),o=r(74738),l=r(83732),s=r(99897),c=r(26352),d=r(41135),u=r(56833),p=r(98840),m=r(73857);let _="wrapper-rich-text";function v(e){return e}function g(e,t,r){if(!e)return{imageProps:{src:"",alt:""},caption:t??void 0};if("YoutubeVideo"===e.__typename){let i,n=(i=(e.youtubeLink||"").match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/))&&11===i[7].length?i[7]:"";return{customContent:(0,a.Y)(m.H,{videoId:n,className:r}),caption:t??void 0}}return"Video"===e.__typename?{videoProps:{src:e.cantoMdcVideoUrl??"",poster:{src:e.cantoMdcImageUrl??"",alt:""}},caption:t??void 0}:{imageProps:{src:e.cantoMdcUrl||"",alt:e.altText??void 0},caption:t??void 0}}let h={Article:"article",Product:"product",Recipe:"recipe",RecipeCategory:"recipeCategory",ProductCategory:"productCategory",LandingPage:"landingPage"};function f(e,t){if(!e)return null;if("ExternalLink"===e.__typename)return e.externalLinkUrl||null;if("DownloadableContent"===e.__typename)return e.cantoMdcUrl||null;if("InternalPage"===e.__typename){if(!("pageId"in e)||!e.pageId||!("type"in e)||!e.type)return null;let r=(0,u.Fe)(e.type);return r?(0,c.XR)({type:r,pageId:e.pageId,locale:t}):null}if("Recipe"===e.__typename&&"channels"in e&&!(0,p.TC)(e.channels)||!("slug"in e)||!e.slug)return null;let r=h[e.__typename],a=r?(0,d.Ux)(r):void 0;return a?(0,c._q)({type:a,slug:e.slug,locale:t}):null}function b(e,t,r,i,c){let d,u=e||"";switch(t){case"Icon Link":default:d={type:"link",props:{href:r,children:u}};break;case"Primary Button":d={type:"button",props:{href:r,children:u,variant:"primary"}};break;case"Secondary Button":d={type:"button",props:{href:r,children:u,variant:"secondary"}};break;case"Apple App Store":d={type:"button",props:{href:r,children:(0,a.Y)("img",{src:"fr"===i?o.A.src:n.A.src,alt:u,loading:"lazy"}),variant:"appBadge"}};break;case"Google Play Store":d={type:"button",props:{href:r,children:(0,a.Y)("img",{src:"fr"===i?s.A.src:l.A.src,alt:u,loading:"lazy"}),variant:"appBadge"}}}return c?.__typename==="DownloadableContent"&&(d.props.target="_blank"),d}function y(e){if(!e)return;let t=Array.isArray(e)?e:[e],r={};for(let e of t)e.key&&e.value&&(r[e.key]=e.value);return Object.keys(r).length>0?r:void 0}function I(e){let t=[],r=null;for(let a of e)a.nodeType===i.nA.EMBEDDED_ENTRY||a.nodeType===i.nA.EMBEDDED_ASSET||a.nodeType===i.nA.TABLE?(r&&r.content.length>0&&(t.push(r),r=null),t.push(a)):(r||(r={nodeType:_,content:[],data:{}}),r.content.push(a));if(r&&r.content.length>0){let e=r.content,a=e[e.length-1],i="paragraph"===a.nodeType&&a.content?.length===1&&""===a.content[0].value?e.slice(0,-1):e;i.length>0&&(r.content=i,t.push(r))}return t}function N(e){return{fields:{title:e.title||e.newsletterTitle||""},sys:{id:e.sys.id}}}},67880:(e,t,r)=>{"use strict";r.d(t,{m:()=>m});var a=r(99332),i=r(12909),n=r(51276),o=r(18970),l=r(83448),s=r(61048),c=r(73040),d=r(74808),u=r(31221),p=r.n(u);let m=({title:e,titleHeadingLevel:t,image:r,videoProps:u,pauseLabel:m="Pause",playLabel:_="Play",variant:v="small",lead:g,bulletPoints:h,topic:f,links:b,badge:y,additionalContent:I,className:N,previewAttrs:T,...w})=>{let C="xsmall"===v||"small"===v,S=b&&b.length>0&&b[0]?.props.href,x="xsmall"===v?"body-c1-regular":"body-p2-regular",Y="large"===v&&y?.text,k=(e=>{switch(e){case"xsmall":return{srcSet:[{width:96,height:Math.round(3/4*96),objectFit:"cover"},...(0,i.bK)(4/3)],sizes:{small:"6rem",xlarge:"33vw",default:`${547/16}rem`}};case"small":return{srcSet:(0,i.bK)(4/3),sizes:{medium:"100vw",xlarge:"50vw",default:`${835/16}rem`}};case"large":return{srcSet:(0,i.bK)(16/9),sizes:{large:"100vw",xlarge:"75vw",default:"88.1875rem"}};case"newsletter":return[{srcSet:(0,i.bK)(4/3),sizes:{default:`${1637/16}rem`},breakpoint:"xlarge"},{srcSet:(0,i.bK)(1),sizes:"85vw",breakpoint:"large"},{srcSet:(0,i.bK)(16/9),sizes:"100vw",breakpoint:"default"}]}})(v);return(0,a.FD)("div",{className:(0,o.uB)([N,p().root,p()[`var-${v}`]]),...w,children:[(0,a.Y)("div",{className:p().mediaWrapper,...T?.image,children:r?.src?(0,a.Y)(i._V,{...r,src:r.src,className:p().image,responsiveConfig:k}
1):(0,a.Y)(d.C,{...u,className:p().video,pauseLabel:m,playLabel:_})}),(0,a.FD)("div",{className:p().content,children:[Y&&(0,a.Y)(n.v,{className:(0,o.uB)([p().badge,y?.copyToClipboard&&p().copyBadge]),text:y.text,variant:"badge",colorScheme:`${y.variant||"bordeaux-light"}`,copyToClipboard:y?.copyToClipboard}),!Y&&f&&(0,a.Y)(n.v,{text:f,variant:"xsmall"===v?"pointmark":"pointmark-highlight",size:"large"===v?"large":"small",className:p().topic}),(0,a.Y)(l.o,{as:t,variant:(e=>{switch(e){case"xsmall":return"title-h6";case"small":return"title-h3";default:return"title-h2"}})(v),className:p().title,...T?.title,children:C&&S?(0,a.Y)("a",{href:S,className:p().titleLink,children:e}):e}),g&&"xsmall"!==v&&(0,a.FD)(s.s,{className:(0,o.uB)(["bb-typo",`bb-typo--${x}`,p().lead]),...T?.lead,children:["string"==typeof g?(0,a.Y)("p",{children:g}):g," ",h&&!C&&(0,a.Y)("ul",{children:h.map((e,t)=>(0,a.Y)("li",{children:e},t))})]}),I&&(0,a.Y)("div",{className:p().additionalContent,children:I}),!C&&b&&(0,a.Y)(c.O,{links:b.map(e=>({...e,className:"button"===e.type?p().cta:""}))})]})]})}},72071:e=>{e.exports={root:"RecipeTeaser_root__yeex7",image:"RecipeTeaser_image__nQj5u",imageWrapper:"RecipeTeaser_imageWrapper__Dj0F3",favoriteButton:"RecipeTeaser_favoriteButton__Zgkwj",sustainableIcon:"RecipeTeaser_sustainableIcon__KL4Tv",premium:"RecipeTeaser_premium__u7QQF",premiumIcon:"RecipeTeaser_premiumIcon__Uvs_I",link:"RecipeTeaser_link__QjdWu",content:"RecipeTeaser_content__mABlu",meta:"RecipeTeaser_meta__4i__U",times:"RecipeTeaser_times__iE2c2",timesItem:"RecipeTeaser_timesItem__t_A9L","times--active":"RecipeTeaser_times--active__Eq_r2",timesValue:"RecipeTeaser_timesValue__4ZHGW",tags:"RecipeTeaser_tags__ypCzZ",tag:"RecipeTeaser_tag__uNjLu",rating:"RecipeTeaser_rating__tM4O_",lead:"RecipeTeaser_lead__UGAzB",cta:"RecipeTeaser_cta__yZd1Z",isSaved:"RecipeTeaser_isSaved__8lGbi","var-small":"RecipeTeaser_var-small__adHy_","var-small-wide":"RecipeTeaser_var-small-wide__0_D0t","var-app":"RecipeTeaser_var-app__oTRBS","var-medium":"RecipeTeaser_var-medium__Jnnf6","var-large":"RecipeTeaser_var-large__eQ0LV","var-overlay":"RecipeTeaser_var-overlay__E07_k"}},72434:e=>{e.exports={root:"Recommendations_root__ILreg",header:"Recommendations_header__S3zFs",emptySlider:"Recommendations_emptySlider__i3Z8w",recipeSlider:"Recommendations_recipeSlider__t0J3E"}},73040:(e,t,r)=>{"use strict";r.d(t,{O:()=>c});var a=r(99332),i=r(18970),n=r(35054),o=r(1088),l=r(92173),s=r.n(l);let c=({links:e,className:t})=>{if(0===e.length)return null;if(1===e.length)return(0,a.Y)(o.a,{...e[0]});let{appBadges:r,linksWithoutAppBadges:l}=e.reduce((e,t)=>(t.props?.variant==="appBadge"?e.appBadges.push(t):e.linksWithoutAppBadges.push(t),e),{appBadges:[],linksWithoutAppBadges:[]});return(0,a.FD)(n.B8,{className:(0,i.uB)([s().root,t]),children:[l.map((e,t)=>(0,a.Y)(n.ck,{children:(0,a.Y)(o.a,{...e,className:(0,i.uB)(["button"===e.type?s().cta:""])})},t)),r.length>0&&r.map((e,t)=>(0,a.Y)(n.ck,{className:s().appBadge,children:(0,a.Y)(o.a,{...e,className:(0,i.uB)(["button"===e.type?s().cta:""])})},`badge-${t}`))]})}},73857:(e,t,r)=>{"use strict";r.d(t,{H:()=>c});var a=r(99332),i=r(74419),n=r(24752),o=r(18970),l=r(1532),s=r.n(l);let c=({videoId:e,className:t,...r})=>{let l=(0,n.useRef)(null),c=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{if(!l.current)return;let e=null,t=new IntersectionObserver(([t])=>{t.isIntersecting?c.current&&e?.contentWindow?.postMessage(JSON.stringify({event:"command",func:"playVideo"}),"*"):(e||(e=l.current?.querySelector("iframe")||null),e?.contentWindow?.postMessage(JSON.stringify({event:"command",func:"pauseVideo"}),"*"),c.current=!0)});return t.observe(l.current),()=>{t?.disconnect()}},[]),(0,a.Y)("div",{ref:l,className:(0,o.uB)([s().root,t]),...r,children:(0,a.Y)(i.YouTubeEmbed,{videoid:e,params:"rel=0&enablejsapi=1"})})}},74808:(e,t,r)=>{"use strict";r.d(t,{C:()=>u});var a=r(99332),i=r(24752),n=r(18970),o=r(12909),l=r(93132),s=r(6063),c=r(89845),d=r.n(c);let u=({src:e,poster:t,className:r,pauseLabel:c="Pause",playLabel:u="Play",loopCount:p=2,priority:m=!1})=>{let[_,v]=(0,i.useState)(!1),g=(0,i.useRef)(0),h=(0,i.useRef)(null),f=(0,i.useRef)(null),{isPlaying:b,setIsPlaying:y,videoLoaded:I,setVideoLoaded:N}=(0,s.b)({containerRef:f});return(0,i.useEffect)(()=>{let e=h.current;e&&(b?e.play():e.pause())},[b,I]),(0,a.FD)("div",{ref:f,className:(0,n.uB)([d().root,r]),children:[I&&!_?(0,a.Y)("video",{ref:h,className:d().video,preload:m?"auto":"none",muted:!0,playsInl
1ine:!0,poster:t?.src,onEnded:e=>{g.current+=1;let t=e.target;g.current<p?t.play():(t.currentTime=0,y(!1))},onError:()=>{v(!0),y(!1)},src:e}):t?(0,a.Y)(o._V,{className:d().video,alt:"","aria-hidden":!0,...t,src:t.src}):null,!_&&(0,a.Y)(l.x,{className:d().playPauseBtn,isPlaying:b,pauseLabel:c,playLabel:u,onClick:()=>{I||N(!0),y(e=>!e)}})]})}},80760:(e,t,r)=>{"use strict";r.d(t,{w:()=>l});var a=r(99332),i=r(18970),n=r(86677),o=r.n(n);let l=({children:e,className:t,variant:r,inheritGrid:n,shrinkBlockSpacing:l,...s})=>(0,a.Y)("div",{className:(0,i.uB)([t,o().root,o()[`var-${r}`],"bb-grid",n&&"bb-grid-inherit",l&&o()["var-shrinked"]]),...s,children:e})},80914:e=>{e.exports={video:"MediaWrapper_video___6hSZ"}},82078:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var a=r(24752);function i({condition:e,wrap:t,children:r}){return e?t(r):(0,a.createElement)(a.Fragment,null,r)}},86677:e=>{e.exports={root:"Section_root__Yx8h8","var-grey":"Section_var-grey__C3d8x","var-minimal":"Section_var-minimal__Q14KQ","var-shrinked":"Section_var-shrinked__ICkyZ"}},87131:(e,t,r)=>{"use strict";r.d(t,{b:()=>T});var a=r(99332),i=r(18970),n=r(24752),o=r(44724),l=r(12380),s=r(56833),c=r(26352),d=r(77714),u=r(18264),p=r(83448),m=r(80915),_=r(63777),v=r(72434),g=r.n(v),h=r(62153),f=r(45423),b=r(34742),y=r(9560),I=r(23245),N=r(10550);let T=({className:e,service:t,searchTerm:r,slot:v,categoryIds:T,additionalParameters:w,...C})=>{let{t:S,locale:x}=(0,I.PO)(),Y=(0,b.Sz)(),{basePath:k}=(0,m.useRouter)(),P=Y?.pageType&&["product","recipe","article"].includes(Y.pageType)?Y.pageId:void 0,R=Y?.pageType&&["productCategory","recipeCategory"].includes(Y.pageType)?Y.categoryId:void 0,B=T??(R?[R]:void 0),{recommendationServices:L,isLoading:E}=(0,y.uq)({service:t,itemId:P,searchTerm:r,additionalParameters:w,locale:x,categoryIds:B}),D=(0,n.useMemo)(()=>L[t]?.recommendations?.[v],[L,t,v]);if(E)return(0,a.Y)("div",{className:(0,i.uB)([e,g().root]),...C,children:(0,a.Y)("div",{className:g().emptySlider})});if(!D||0===D.content.length)return null;let F=D.content.every(e=>"recipeId"in e),O=D.content.filter(e=>"recipeId"in e||"productId"in e),z={serviceId:t,slot:v,...P&&{itemId:P},...r&&{searchTerm:r},...w&&{additionalParameters:JSON.stringify(w)},...B&&{categoryIds:JSON.stringify(B)}},A=O.length>=16?(0,c.XR)({type:s.U1,pageId:"recommendations",locale:x,basePath:k,query:z}):null,K=A?(0,a.FD)(u.B,{direction:"column",className:g().header,children:[(0,a.Y)(p.o,{as:"h2",variant:"title-h3",children:D.title}),(0,a.Y)(d.N,{href:A,icon:{name:"arrow-right-short"},reversed:!0,rel:"nofollow",children:S("recommendations.showAll")})]}):D.title;return(0,a.Y)("div",{className:(0,i.uB)([e,g().root]),...C,children:(0,a.Y)(l.G,{beforeLabel:S("skipElement.recommendations.before"),afterLabel:S("skipElement.recommendations.after"),children:(0,a.Y)(o.U,{header:K,nextButtonLabel:S("slider.next"),prevButtonLabel:S("slider.prev"),className:(0,i.uB)([F&&g().recipeSlider]),children:D.content.filter(e=>"recipeId"in e||"productId"in e).slice(0,16).map((e,t)=>{let r=(0,h.e)({item:e,locale:x}),i=e.productId||e.recipeId||"",n=e.trackingToken;return(0,a.Y)(_.u8,{componentName:N.NL.recommendation,componentTitle:D.title||"",componentIndex:t+1,itemId:String(i),itemSummary:r,itemTrackingToken:n,children:(0,a.Y)(h.z,{item:e,itemSummary:r,recipeResponsiveConfig:F?f.Tc:void 0})},t)})})})})}},87220:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var a=r(99332),i=r(24752),n=r(18970),o=r(12909),l=r(51276),s=r(18264),c=r(21096),d=r(83448),u=r(82078),p=r(52141),m=r(15697),_=r.n(m);let v=e=>"medium"===e?{medium:"100vw",large:"67vw",default:"23.25rem"}:{medium:"100vw",xlarge:"33vw",default:"23.375rem"},g=({variants:e,productLink:t})=>{let r=(0,i.useRef)(null),[o,s]=(0,i.useState)(null),c=(0,i.useRef)(e.length);c.current!==e.length&&(c.current=e.length,s(null)),(0,i.useLayoutEffect)(()=>{let e=r.current;if(!e?.children.length)return;let t=Array.from(e.children);if(t.length<=1)return;let a=1,i=t[0].offsetTop;for(let e=1;e<t.length;e++)if(t[e].offsetTop>i&&(a++,i=t[e].offsetTop,a>2))return void(null===o?s(e):s(e=>null!==e?Math.max(1,e-1):null));null===o&&s(t.length)}),(0,i.useEffect)(()=>{let e=r.current;if(!e)return;let t=e.offsetWidth,a=new ResizeObserver(()=>{let r=e.offsetWidth;r!==t&&(t=r,s(null))});return a.observe(e),()=>a.disconnect()},[]);let d=null===o?e.length:o,u=e.length-d;return(0,a.FD)("div",{className:(0,n.uB)([_().variants]),ref:r,children:[e.slice(0,d).map((e,t)=>(0,a.Y)(l.v,{as:"a",...e},t)),u>0&&(0,a.Y)(l.v,{text:`+${u}`,variant:"swatch",size:"small",as:t?"a":void 0,href:t})]})},h=(0,i.forwardRef)(function({className:e,image:t,imageSizes:r,hoverImage:m,additionalImages:h,title:f,titleHeadingLevel:b="h3",brand:y,rating:
1I,priceTags:N,productTags:T,price:w,variants:C,link:S,ctas:x,showCtasOnHover:Y,variant:k,testIdIndex:P,cardTitle:R,colorScheme:B,enableSwipe:L,shouldShowSwipeHint:E},D){let F="deal"===k,O="medium"===k||F?"title-h6":"title-h7",z=F?void 0:[...N||[],...T||[]],A=F?T:z,K=(0,n.N$)("pointer-coarse"),$=!!(L&&!F),M=$?((e,t,r=[])=>[e,t,...r].filter(e=>!!e?.src).slice(0,5))(t,m,h):[],V=!!K&&M.length>=2;return(0,a.FD)("div",{className:(0,n.uB)([e,_().root,k&&_()[`var-${k}`],B&&_()[`var-${B}`]]),ref:D,children:[R&&F&&(0,a.Y)(d.o,{variant:"title-h2",className:_().cardTitle,children:R}),(0,a.Y)("div",{className:(0,n.uB)([_().imageWrapper,$&&_().swipeCandidate,V&&_().swipeable]),"data-testid":(0,c.q)("product-card-image",P),children:V?(0,a.Y)(u.v,{condition:void 0!==S,wrap:e=>(0,a.Y)("a",{href:S,tabIndex:-1,"aria-hidden":"true",children:e}),children:(0,a.Y)(p.S,{shouldShowSwipeHint:E,items:M.map((e,t)=>(0,i.createElement)(o._V,{...e,responsiveConfig:{sizes:r||v(k),...t>0?{srcSet:(0,o.bK)(5/4)}:{}},alt:0===t?e.alt:"",...0===t&&E?{loading:"eager"}:{},...t>0?{loading:1===t&&E?"eager":"lazy",fetchPriority:"auto"}:{},key:t,className:_().image}))})}):(0,a.FD)(u.v,{condition:F,wrap:e=>(0,a.FD)("div",{className:(0,n.uB)([_().imageWrapperInner]),children:[(0,a.Y)("div",{className:_().imageCircle,children:e}),N&&N.length>0&&(0,a.Y)(l.v,{...N[0],variant:"percentage",size:"small",className:_().priceTag})]}),children:[(0,a.Y)(o._V,{...t,responsiveConfig:{sizes:r||v(k)},className:_().image}),m&&(0,a.Y)(o._V,{...m,responsiveConfig:{sizes:r||v(k),srcSet:(0,o.bK)(5/4)},className:_().hoverImage})]})}),(0,a.FD)(s.B,{direction:"column",className:_().content,children:[A&&(0,a.Y)(s.B,{className:_().tags,children:A.map((e,t)=>(0,a.Y)(l.v,{variant:"commerceLabel",...e},t))}),(0,a.FD)("div",{children:[y&&y,(0,a.Y)(d.o,{as:b,variant:O,"data-testid":(0,c.q)("product-card-title",P),children:S?(0,a.Y)("a",{href:S,className:_().link,children:f}):f})]}),w&&(0,a.Y)("div",{"data-testid":(0,c.q)("product-card-price",P),children:w}),F?(0,a.FD)(a.FK,{children:[C&&(0,a.Y)(g,{variants:C,productLink:S}),(0,a.FD)(s.B,{direction:"row",className:(0,n.uB)([_().dealContent,!I&&_().dealContentNoRating]),children:[I,x&&(0,a.Y)(s.B,{className:(0,n.uB)([_().ctas,Y&&_().onHover]),children:x})]})]}):(0,a.FD)(a.FK,{children:[I,C&&(0,a.Y)(g,{variants:C,productLink:S})]})]}),x&&!F&&(0,a.Y)(s.B,{className:(0,n.uB)([_().ctas,Y&&_().onHover]),children:x})]})})},88834:e=>{e.exports={root:"InlineRating_root__QhSKp"}},89690:e=>{e.exports={root:"TrackElement_root__P_UPU"}},89845:e=>{e.exports={root:"Video_root__2V0zr",video:"Video_video__Vw_Kw",playPauseBtn:"Video_playPauseBtn__6slEV"}},92173:e=>{e.exports={root:"StyledLinksWrapper_root__CdNw1",appBadge:"StyledLinksWrapper_appBadge__H41JP",cta:"StyledLinksWrapper_cta__0bKEj"}},93132:(e,t,r)=>{"use strict";r.d(t,{x:()=>s});var a=r(99332),i=r(77714),n=r(18970),o=r(13881),l=r.n(o);let s=({isPlaying:e,pauseLabel:t,playLabel:r,onClick:o,className:s})=>(0,a.Y)(i.N,{className:(0,n.uB)([l().root,s]),icon:{name:e?"pause-circle":"play-circle"},iconOnly:!0,as:"button",onClick:o,inverted:!0,children:e?t:r})},93529:(e,t,r)=>{"use strict";r.d(t,{I:()=>p});var a=r(99332),i=r(64566),n=r(5793),o=r(59403),l=r(23245),s=r(52303),c=r(34742),d=r(10550),u=r(63777);let p=({product:e,onClick:t,componentName:r,...p})=>{let{locale:m,t:_}=(0,l.PO)(),v=(0,c.Sz)(),{componentTitle:g,componentIndex:h}=(0,u.oD)(),f=(0,n.P)(s.xj).some(t=>t.productId===e.productId),b={componentName:r,componentTitle:g,pageType:v?.pageType,eventAction:"product interaction",locale:m,t:_,item:e,itemPosition:h},{addToWishlist:y}=(0,o.nl)({productId:e.productId}),{removeFromWishlist:I}=(0,o.j)({productId:e.productId,onRevert:e=>{e?(t?.("add"),(0,d.WO)({...b,action:"add"})):(0,d.WO)({...b,action:"add",error:Error("useRemoveFromWishlist.revert failed")})}}),N={onClick:e=>{("remove"===e?I:y)().then(r=>{r?(t?.(e),(0,d.WO)({...b,action:e})):(0,d.WO)({...b,action:e,error:Error(`${"remove"===e?"removeFromWishlist":"addToWishlist"} failed`)})})},action:f?"remove":"add",children:_(f?"favorites.wishlist.remove.cta":"favorites.wishlist.add.cta")};return(0,a.Y)(i.Z,{...N,...p})}},98840:(e,t,r)=>{"use strict";r.d(t,{TC:()=>n,TJ:()=>i});var a=r(56833);let i=a.c3[a.c3.Web];function n(e){return!!e?.includes(i)}}}]);

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.