PageSourceSearch

https://www.freshbybrookshires.com/static/js/RecipeDetail.065b1ca7.chunk.js

js freshbybrookshires.com collected 2026-10-04 04:52:34 UTC 84,639 bytes, 738 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4685],{98325:(e,t,i)=>{i.d(t,{Pd:()=>a,Tx:()=>c,Ut:()=>m,Yd:()=>u,fW:()=>d,pZ:()=>g,qv:()=>p});var o=i(85086),n=i(73369),r=i(68575),s=i(31245),l=i(86239);let a=o.ZP.div.withConfig({displayName:"PillLink",componentId:"-__sc-a643cc93-0"})(["",";"],({theme:e,active:t,small:i})=>`
2  display: flex;
3  flex-shrink: 0;
4  align-items: center;
5  max-width: 100%;
6  overflow: hidden;
7  text-transform: ${e.buttons.pills.textTransform};
8
9  &:not(:last-child) {
10    margin-right: ${r.W0.xs};
11  }
12
13  &:hover {
14    background-color : ${e.buttons.pills.active.backgroundColor};
15    border: 1px solid ${e.buttons.pills.active.borderColor};
16  }
17 
18  a {
19    text-decoration: none;
20    color: ${!t&&!i?e.buttons.pills.regular.color:t?e.buttons.pills.active.color:e.buttons.pills.small.color};
21    &:visited {
22      color: ${!t&&!i?e.buttons.pills.regular.colorVisited:t?e.buttons.pills.active.colorVisited:e.buttons.pills.small.colorVisited};
23    }
24    &:hover {
25      color: ${!t&&!i?e.buttons.pills.regular.colorHover:t?e.buttons.pills.active.colorHover:e.buttons.pills.small.colorHover};
26    }
27    &:focus {
28      outline: none;
29    }
30  }
31
32  background-color : ${!t&&!i?e.buttons.pills.regular.backgroundColor:t?e.buttons.pills.active.backgroundColor:e.buttons.pills.small.backgroundColor};
33
34  border: 1px solid ${!t&&!i?e.buttons.pills.regular.borderColor:t?e.buttons.pills.active.borderColor:e.buttons.pills.small.borderColor};
35
36  padding: ${!t&&!i?e.buttons.pills.regular.padding:t?e.buttons.pills.active.padding:e.buttons.pills.small.padding};
37
38  margin-bottom: ${r.W0.xs};
39  font-family: ${e.typography.text.body.fontFamily};
40  font-size: ${e.typography.text.fontSM.fontSize};
41  font-weight: ${!t&&!i?e.buttons.pills.regular.fontWeight:t?e.buttons.pills.active.fontWeight:e.buttons.pills.small.fontWeight};
42  cursor: pointer;
43  outline: inherit;
44  border-radius: ${e.buttons.pills.borderRadius};
45  box-shadow: ${i?"none":n.q.small};
46
47  -webkit-user-drag: none;
48  -khtml-user-drag: none;
49  -moz-user-drag: none;
50  -o-user-drag: none;
51
52  &:active,
53  &:focus-within {
54    border-color: ${!t&&!i?e.buttons.pills.regular.borderColorSelected:t?e.buttons.pills.active.borderColorSelected:e.buttons.pills.small.borderColorSelected};
55  }
56
57  &:hover {
58    text-decoration: ${!t&&!i?e.buttons.pills.regular.textDecorationHover:t?e.buttons.pills.active.textDecorationHover:e.buttons.pills.small.textDecorationHover};
59    font-weight: ${!t&&!i?e.buttons.pills.regular.fontWeightHover:t?e.buttons.pills.active.fontWeightHover:e.buttons.pills.small.fontWeightHover};
60    svg {
61      fill: ${!t&&!i?e.buttons.pills.regular.colorHover:t?e.buttons.pills.active.colorHover:e.buttons.pills.small.colorHover};
62    }
63  }
64
65  &:visited {
66    svg {
67      fill: ${!t&&!i?e.buttons.pills.regular.colorVisited:t?e.buttons.pills.active.colorVisited:e.buttons.pills.small.colorVisited};
68    }
69  }
70
71  svg {
72    fill: ${!t&&!i?e.buttons.pills.regular.color:t?e.buttons.pills.active.color:e.buttons.pills.small.color};
73  }
74
75  ${(0,s.Z)("md",{noLower:!0})} {
76    ${i&&`padding: ${r.W0.xs}`}
77  }
78
79  &:focus-visible {
80    outline: ${r.W0.xxxs} solid ${e.buttons.primary.static.borderColor};
81    outline-offset: -${r.W0.xxxs};
82  }
83`),d=o.ZP.div.withConfig({displayName:"PillButtonWrapper",componentId:"-__sc-a643cc93-1"})(["display:flex;align-items:center;position:relative;&:not(:last-child){margin-right:",";}"],r.W0.xs),c=(0,o.ZP)(l.zx).withConfig({displayName:"PillButton",componentId:"-__sc-a643cc93-2"})(({theme:e,location:t})=>`
84  ${"ProductGridPills"===t&&"none"===e.buttons.pills.textTransform&&"text-transform: capitalize;"}
85`),p=o.ZP.span.withConfig({displayName:"PillButtonIcon",componentId:"-__sc-a643cc93-3"})(({theme:e})=>`order: 1;
86  position: relative;
87  top: 2px;
88  margin-right: ${r.W0.xs};
89
90  svg {
91    fill: ${e.colors.brandColors.primary1};
92  }
93`),g=o.ZP.span.withConfig({displayName:"PillButtonText",componentId:"-__sc-a643cc93-4"})(["order:2;line-height:normal;"]),m=o.ZP.span.withConfig({displayName:"PillContent",componentId:"-__sc-a643cc93-5"})([""]),u=o.ZP.div.withConfig({displayName:"PillButtonRemoveWrapper",componentId:"-__sc-a643cc93-6"})(["width:",";height:",";margin-left:",";"],r.W0.sm,r.W0.sm,r.W0.xs)},94861:(e,t,i)=>{i.d(t,{RH:()=>n,X6:()=>r,i1:()=>o,uM:()=>s});let o="pillContent-span-testId",n="pillButtonText-testId",r=e=>`pillButtonUrlLink-${e}-testId`,s=e=>`pillButtonTextLink-${e}-testId`},4723:(e,t,i)=>{i.d(t,{T:()=>m,Z:()=>u});var o=i(85893),n=i(68827),r=i(67294),s=i(98325),l=i(86239),a=i(10382),d=i(9439
930),c=i(76633);let p=e=>{let t,i,s,p,g,m,u=(0,n.c)(15),{removePillAnalyticsEvents:h,removePill:f,small:x,text:y,tabIndex:b}=e,{t:w}=(0,r.useContext)(c.q),I=y?` ${y}`:"";u[0]!==w?(t=w("common.button.remove"),u[0]=w,u[1]=t):t=u[1];let v=`${t}${I}`;u[2]!==f?(i=e=>f(e),u[2]=f,u[3]=i):i=u[3];let C=b??0;return u[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,o.jsx)(l.pA,{name:"Remove"}),u[4]=s):s=u[4],u[5]!==v?(p=(0,o.jsx)(a.u,{children:v}),u[5]=v,u[6]=p):p=u[6],u[7]!==x||u[8]!==i||u[9]!==C||u[10]!==p?(g=(0,o.jsxs)(a.P,{"data-testid":"pillButtonRemove-testId",onClick:i,small:x,role:"button",tabIndex:C,children:[s,p]}),u[7]=x,u[8]=i,u[9]=C,u[10]=p,u[11]=g):g=u[11],u[12]!==h||u[13]!==g?(m=(0,o.jsx)(d.Z,{analyticsEvents:h,children:g}),u[12]=h,u[13]=g,u[14]=m):m=u[14],m};var g=i(94861);let m=e=>{let t,i,r,a,d=(0,n.c)(26),{active:c,analyticsEvents:m,ariaLabel:u,buttonStyle:f,className:x,handleClick:y,icon:b,opensNewTab:w,removable:I,removePill:v,removePillAnalyticsEvents:C,small:$,text:P,url:_,tabbable:j,location:Z}=e,W=v||h;d[0]!==b||d[1]!==$?(t=b&&!$&&(0,o.jsx)(s.qv,{children:(0,o.jsx)(l.pA,{name:b})}),d[0]=b,d[1]=$,d[2]=t):t=d[2],d[3]!==P?(i=(0,o.jsx)(s.pZ,{"data-testid":g.RH,tabIndex:-1,children:P}),d[3]=P,d[4]=i):i=d[4],d[5]!==t||d[6]!==i?(r=(0,o.jsxs)(s.Ut,{"data-testid":g.i1,children:[t,i]}),d[5]=t,d[6]=i,d[7]=r):r=d[7];let N=r;return d[8]!==c||d[9]!==m||d[10]!==u||d[11]!==f||d[12]!==x||d[13]!==y||d[14]!==Z||d[15]!==w||d[16]!==N||d[17]!==e||d[18]!==I||d[19]!==C||d[20]!==W||d[21]!==$||d[22]!==j||d[23]!==P||d[24]!==_?(a=_?(0,o.jsxs)(s.Pd,{className:x,tabIndex:!1===j?-1:0,children:[(0,o.jsx)(l.rU,{"data-testid":(0,g.X6)(P),active:c,analyticsEvents:m,href:_,target:`${w?"_blank":"_self"}`,"aria-label":u,children:N}),I&&(0,o.jsx)(s.Yd,{children:(0,o.jsx)(p,{text:P,removePill:W,removePillAnalyticsEvents:C,small:$,tabIndex:!1===j?-1:0})})]}):P?(0,o.jsx)(s.fW,{className:x,children:(0,o.jsxs)(s.Tx,{analyticsEvents:m||void 0,"aria-current":c?"true":void 0,ariaLabel:u,buttonStyle:f||"pillButton","data-testid":e["data-testid"]?e["data-testid"]:(0,g.uM)(P),handleClick:y,isActive:c,small:$,forwardedAs:I?"div":void 0,tabIndex:!1===j?-1:void 0,location:Z,children:[N,I&&(0,o.jsx)(s.Yd,{children:(0,o.jsx)(p,{text:P,removePill:W,removePillAnalyticsEvents:C,small:$,tabIndex:!1===j?-1:0})})]})}):null,d[8]=c,d[9]=m,d[10]=u,d[11]=f,d[12]=x,d[13]=y,d[14]=Z,d[15]=w,d[16]=N,d[17]=e,d[18]=I,d[19]=C,d[20]=W,d[21]=$,d[22]=j,d[23]=P,d[24]=_,d[25]=a):a=d[25],a},u=m;function h(){return null}},53453:(e,t,i)=>{i.d(t,{Z:()=>I});var o=i(85893),n=i(68827),r=i(67294),s=i(85086),l=i(4723);let a=(0,s.ZP)(l.Z).withConfig({displayName:"PrintButton",componentId:"-__sc-7c7857a7-0"})(["button{span{display:flex;}}"]),d="printWindow";function c({level:e="error",messages:t,suppressErrors:i=!1}){i||("error"===e?console.error(t):"warning"===e?console.warn(t):console.debug(t))}function p(e,t){if(t||!e){let e=document.getElementById(d);e&&document.body.removeChild(e)}}function g(e){return e instanceof Error?e:Error("Unknown Error")}function m(e,t){let{documentTitle:i,onAfterPrint:o,onPrintError:n,preserveAfterPrint:r,print:s,suppressErrors:l}=t;setTimeout(()=>{if(e.contentWindow){let t=function(){o?.(),p(r)};if(e.contentWindow.focus(),s)s(e).then(t).catch(e=>{n?n("print",g(e)):c({messages:["An error was thrown by the specified `print` function"],suppressErrors:l})});else{if(e.contentWindow.print){let t=e.contentDocument?.title??"",o=e.ownerDocument.title,n="function"==typeof i?i():i;n&&(e.ownerDocument.title=n,e.contentDocument&&(e.contentDocument.title=n)),e.contentWindow.print(),n&&(e.ownerDocument.title=o,e.contentDocument&&(e.contentDocument.title=t))}else c({messages:["Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes."],suppressErrors:l});[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some(e=>(navigator.userAgent??navigator.vendor??("opera"in window&&window.opera)).match(e))?setTimeout(t,500):t()}}else c({messages:["Printing failed because the `contentWindow` of the print iframe did not load. This is possibly an error with `react-to-
93print`. Please file an issue: https://github.com/MatthewHerbst/react-to-print/issues/"],suppressErrors:l})},500)}function u(e){let t=[],i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,null),o=i.nextNode();for(;o;)t.push(o),o=i.nextNode();return t}let h=`
94    @page {
95        /* Remove browser default header (title) and footer (url) */
96        margin: 0;
97    }
98    @media print {
99        body {
100            /* Tell browsers to print background colors */
101            color-adjust: exact; /* Firefox. This is an older version of "print-color-adjust" */
102            print-color-adjust: exact; /* Firefox/Safari */
103            -webkit-print-color-adjust: exact; /* Chrome/Safari/Edge/Opera */
104        }
105    }
106`;var f=i(45007),x=i(74989),y=i(76633);let b=r.forwardRef((e,t)=>{let i,s,l,a,f,x,b=(0,n.c)(16),{images:I}=r.useContext(y.q);b[0]!==I?(i=e=>new Promise(t=>{let i=new Image;i.onload=()=>{t(i.src)},i.onerror=()=>{t(I.missingImg.square)},i.src=e.getAttribute("src")}),b[0]=I,b[1]=i):i=b[1];let v=i;b[2]!==v||b[3]!==t?(s=()=>new Promise(e=>{let i=t?.current??null,o=i?Array.from(i.querySelectorAll("img")):[],n=o.length;n?o.forEach(t=>{v(t).then(i=>{(function(e,t){return new Promise(i=>{e.setAttribute("src",t),i(null)})})(t,i).then(()=>{(n-=1)<=0&&e()})})}):e()}),b[2]=v,b[3]=t,b[4]=s):s=b[4];let C=s;b[5]!==e?(l=()=>e.throwPrintError(),b[5]=e,b[6]=l):l=b[6],b[7]!==C||b[8]!==t||b[9]!==l?(a={contentRef:t,pageStyle:"@page { size: 0.6 0.6}",onBeforePrint:C,onPrintError:l},b[7]=C,b[8]=t,b[9]=l,b[10]=a):a=b[10];let $=function({bodyClass:e,contentRef:t,copyShadowRoots:i,documentTitle:o,fonts:n,ignoreGlobalStyles:s,nonce:l,onAfterPrint:a,onBeforePrint:f,onPrintError:x,pageStyle:y,preserveAfterPrint:b,print:w,printIframeProps:I,suppressErrors:v}){return(0,r.useCallback)(r=>{function C(){let p,f={bodyClass:e,contentRef:t,copyShadowRoots:i,documentTitle:o,fonts:n,ignoreGlobalStyles:s,nonce:l,onAfterPrint:a,onPrintError:x,pageStyle:y,preserveAfterPrint:b,print:w,suppressErrors:v},C=((p=document.createElement("iframe")).width=`${document.documentElement.clientWidth}px`,p.height=`${document.documentElement.clientHeight}px`,p.style.position="absolute",p.style.top=`-${document.documentElement.clientHeight+100}px`,p.style.left=`-${document.documentElement.clientWidth+100}px`,p.id=d,p.srcdoc="<!DOCTYPE html>",I&&(I.allow&&(p.allow=I.allow),void 0!==I.referrerPolicy&&(p.referrerPolicy=I.referrerPolicy),void 0!==I.sandbox&&(p.sandbox=I.sandbox)),p),$=function(e,t){let{contentRef:i,fonts:o,ignoreGlobalStyles:n,suppressErrors:r}=t,s=function({contentRef:e,optionalContent:t,suppressErrors:i}){return t&&"function"==typeof t?(e&&c({level:"warning",messages:['"react-to-print" received a `contentRef` option and an optional-content param passed to its callback. The `contentRef` option will be ignored.']}),t()):e?e.current:void c({messages:['"react-to-print" did not receive a `contentRef` option or a optional-content param pass to its callback.'],suppressErrors:i})}({contentRef:i,optionalContent:e,suppressErrors:r});if(!s)return;let l=s.cloneNode(!0),a=document.querySelectorAll("link[rel~='stylesheet'], link[as='style']"),d=l.querySelectorAll("img"),p=l.querySelectorAll("video"),g=o?o.length:0,m=(n?0:a.length)+d.length+p.length+g;return{contentNode:s,clonedContentNode:l,clonedImgNodes:d,clonedVideoNodes:p,numResourcesToLoad:m,originalCanvasNodes:s.querySelectorAll("canvas")}}(r,f);$?(C.onload=()=>{!function(e,t,i){let{contentNode:o,clonedContentNode:n,clonedImgNodes:r,clonedVideoNodes:s,numResourcesToLoad:l,originalCanvasNodes:a}=t,{bodyClass:d,fonts:p,ignoreGlobalStyles:f,pageStyle:x,nonce:y,suppressErrors:b,copyShadowRoots:w}=i,I=[],v=[];function C(t,o){I.includes(t)?c({level:"debug",messages:["Tried to mark a resource that has already been handled",t],suppressErrors:b}):(o?(c({messages:['"react-to-print" was unable to load a resource but will continue attempting to print the page',...o],suppressErrors:b}),v.push(t)):I.push(t),I.length+v.length===l&&m(e,i))}e.onload=null;let $=e.contentDocument??e.contentWindow?.document;if($){let t=$.body.appendChild(n);w&&function e(t,i,o){let n=u(t),r=u(i);if(n.length!==r.length)return void c({messages:["When cloning shadow root content, source and target elements have different size. `onBeforePrint` likely resolved too early.",t,i],suppressErrors:o});for(let t=0;t<n.length;t++){let i=n[t],s=r[t],l=i.shadowRoot;if(null!==l){let t=s.attachShadow({mode:l.mode});t.innerHTML=l.innerHTML,e(l,t,o)}}}(o,t,!!b),p&&(e.contentDocument?.fonts&&e.contentWindow?.FontFace?p.forEach(t=>{let i=new FontFace(t.family,t.source,{weight:t.weight,style:t.style});e.contentDocument.fonts.add(i),i.loaded.then(()=>{C(i)}).catch(e=>{C(i,["Failed loading the font:",i,"Load error:",g(e)])})}
106):(p.forEach(e=>{C(e)}),c({messages:['"react-to-print" is not able to load custom fonts because the browser does not support the FontFace API but will continue attempting to print the page'],suppressErrors:b})));let i=$.createElement("style");y&&(i.setAttribute("nonce",y),$.head.setAttribute("nonce",y)),i.appendChild($.createTextNode(x??h)),$.head.appendChild(i),d&&$.body.classList.add(...d.split(" "));let l=$.querySelectorAll("canvas");for(let e=0;e<a.length;++e){let t=a[e],i=l[e];if(void 0===i){c({messages:["A canvas element could not be copied for printing, has it loaded? `onBeforePrint` likely resolved too early.",t],suppressErrors:b});continue}let o=i.getContext("2d");o&&o.drawImage(t,0,0)}for(let e=0;e<r.length;e++){let t=r[e],i=t.getAttribute("src");if(i){let e=new Image;e.onload=()=>{C(t)},e.onerror=(e,i,o,n,r)=>{C(t,["Error loading <img>",t,"Error",r])},e.src=i}else C(t,['Found an <img> tag with an empty "src" attribute. This prevents pre-loading it.',t])}for(let e=0;e<s.length;e++){let t=s[e];t.preload="auto";let i=t.getAttribute("poster");if(i){let e=new Image;e.onload=()=>{C(t)},e.onerror=(e,o,n,r,s)=>{C(t,["Error loading video poster",i,"for video",t,"Error:",s])},e.src=i}else t.readyState>=2?C(t):t.src?(t.onloadeddata=()=>{C(t)},t.onerror=(e,i,o,n,r)=>{C(t,["Error loading video",t,"Error",r])},t.onstalled=()=>{C(t,["Loading video stalled, skipping",t])}):C(t,["Error loading video, `src` is empty",t])}let m="select",I=o.querySelectorAll(m),v=$.querySelectorAll(m);for(let e=0;e<I.length;e++)v[e].value=I[e].value;if(!f){let e=document.querySelectorAll("style, link[rel~='stylesheet'], link[as='style']");for(let t=0,i=e.length;t<i;++t){let i=e[t];if("style"===i.tagName.toLowerCase()){let e=$.createElement(i.tagName),o=i.sheet;if(o){let n="";try{let e=o.cssRules.length;for(let t=0;t<e;++t)"string"==typeof o.cssRules[t].cssText&&(n+=`${o.cssRules[t].cssText}\r
107`)}catch(e){c({messages:["A stylesheet could not be accessed. This is likely due to the stylesheet having cross-origin imports, and many browsers block script access to cross-origin stylesheets. See https://github.com/MatthewHerbst/react-to-print/issues/429 for details. You may be able to load the sheet by both marking the stylesheet with the cross `crossorigin` attribute, and setting the `Access-Control-Allow-Origin` header on the server serving the stylesheet. Alternatively, host the stylesheet on your domain to avoid this issue entirely.",i,`Original error: ${g(e).message}`],level:"warning"})}e.setAttribute("id",`react-to-print-${t}`),y&&e.setAttribute("nonce",y),e.appendChild($.createTextNode(n)),$.head.appendChild(e)}}else if(i.getAttribute("href"))if(i.hasAttribute("disabled"))c({messages:["`react-to-print` encountered a <link> tag with a `disabled` attribute and will ignore it. Note that the `disabled` attribute is deprecated, and some browsers ignore it. You should stop using it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-disabled. The <link> is:",i],level:"warning"}),C(i);else{let e=$.createElement(i.tagName);for(let t=0,o=i.attributes.length;t<o;++t){let o=i.attributes[t];o&&e.setAttribute(o.nodeName,o.nodeValue??"")}e.onload=()=>{C(e)},e.onerror=(t,i,o,n,r)=>{C(e,["Failed to load",e,"Error:",r])},y&&e.setAttribute("nonce",y),$.head.appendChild(e)}else c({messages:["`react-to-print` encountered a <link> tag with an empty `href` attribute. In addition to being invalid HTML, this can cause problems in many browsers, and so the <link> was not loaded. The <link> is:",i],level:"warning"}),C(i)}}}0===l&&m(e,i)}(C,$,f)},document.body.appendChild(C)):c({messages:["There is nothing to print"],suppressErrors:v})}p(b,!0),f?f().then(()=>{C()}).catch(e=>{x?.("onBeforePrint",g(e))}):C()},[e,t,i,o,n,s,l,a,f,x,y,b,I,w,v])}(a);return b[11]!==$?(f=()=>$(),b[11]=$,b[12]=f):f=b[12],b[13]!==e||b[14]!==f?(x=(0,o.jsx)(w,{...e,onClick:f}),b[13]=e,b[14]=f,b[15]=x):x=b[15],x});b.displayName="PrintPill";let w=e=>{let t,i=(0,n.c)(6);return i[0]!==e.analyticsEvents||i[1]!==e.buttonStyle||i[2]!==e.buttonTitle||i[3]!==e.onClick||i[4]!==e.tabbable?(t=(0,o.jsx)(a,{"data-testid":"printButton-button-testId",analyticsEvents:e.analyticsEvents,icon:"Print",text:e.buttonTitle,id:"print",removePill:v,handleClick:e.onClick,buttonStyle:e.buttonStyle,tabbable:e.tabbable}),i[0]=e.analyticsEvents,i[1]=e.buttonStyle,i[2]=e.buttonTitle,i[3]=e.onClick,i[4]=e.tabbable,i[5]=t):t=i[5],t},I=(0,f.$j)(null,{throwPrintError:x.ox},null,{forwardRef:!0})(b);function v(){return null}},94920:(e,t,i)=>{i.d(t,{Z:()=>b});var o=i(85893),n=i(68827),r=i(67294),s=i(23221),l=i(86239),a=i(85086),d=i(76633),c=i(26323),p=i(93364),g=i(67750),m=i(45007),u=i(83172);let h=e=>{let t,i,r=(0,n.c)(6),{promotions:l,pointsBasedPromotions:a,sku:d}=e;
107r[0]!==a||r[1]!==l?(t=!!l?.some(x)||!!a?.some(y),r[0]=a,r[1]=l,r[2]=t):t=r[2];let g=t;return r[3]!==g||r[4]!==d?(i=(0,c.Z)(()=>g?(0,o.jsx)(s.SH,{"data-testid":`${p.ZK}-${d??""}`,name:"TargetedReward"}):null,{componentName:"Loyalty Based Promo Icon"}),r[3]=g,r[4]=d,r[5]=i):i=r[5],i},f=(0,m.$j)(e=>({enableTargetedRewardsIcon:e.settings.sharedSettings.general.enableTargetedRewardsIcon}))(e=>{let t,i=(0,n.c)(4),{promotions:r,pointsBasedPromotions:s,enableTargetedRewardsIcon:l,sku:a,location:d}=e;return l&&"productCard"!==d?(i[0]!==s||i[1]!==r||i[2]!==a?(t=(0,o.jsx)(h,{promotions:r,pointsBasedPromotions:s,sku:a}),i[0]=s,i[1]=r,i[2]=a,i[3]=t):t=i[3],t):null});function x(e){return e.loyaltyBased}function y(e){return e.loyaltyBased}let b=(0,m.$j)((e,t)=>({recommended:(0,u.O1)(e,t.sku??"",t?.promotions,t?.pointsBasedPromotions),promoTypeToDisplay:(0,u.Mf)(e)}))(e=>{let t,i,m,u,h=(0,n.c)(29),x=(0,a.Fg)(),{images:y}=r.useContext(d.q),{marginBottom:b,pointsBasedPromotions:w,promotions:I,singleLine:v,tprLabel:C,location:$,recommended:P,promoTypeToDisplay:_,sku:j}=e,Z="productCard"===$||!P,W=P&&(C||!!I&&I.length>0||!!w&&w.length>0);h[0]!==v||h[1]!==x||h[2]!==C?(t=()=>(0,c.Z)(()=>C?(0,o.jsx)(s.Ee,{"data-testid":(0,p._N)(C),children:(0,o.jsx)(l.Ct,{text:C,singleLine:v,backgroundColor:x.promoBadges.backgroundColor.promotion,color:x.promoBadges.color.promotion,fontWeight:x.promoBadges.fontWeight,"data-testid":p.Og},C)}):null,{componentName:"TprBadge"}),h[0]=v,h[1]=x,h[2]=C,h[3]=t):t=h[3];let N=t;h[4]!==_||h[5]!==I||h[6]!==v||h[7]!==x?(i=()=>(0,c.Z)(()=>I?.length?(0,o.jsx)(r.Fragment,{children:I.map((e,t)=>e[_]?(0,o.jsx)(s.Ee,{"data-testid":(0,p._N)(e.id),children:(0,o.jsx)(l.Ct,{text:e[_],singleLine:v,backgroundColor:x.promoBadges.backgroundColor.promotion,color:x.promoBadges.color.promotion,fontWeight:x.promoBadges.fontWeight,"data-testid":p.Og})},`${e.id}-${e[_]}-${t}`):(0,o.jsx)(r.Fragment,{},`${e.id}-${t}`))}):null,{componentName:"PromoBadges"}),h[4]=_,h[5]=I,h[6]=v,h[7]=x,h[8]=i):i=h[8];let S=i;h[9]!==y||h[10]!==w||h[11]!==_||h[12]!==v||h[13]!==j||h[14]!==x?(m=()=>(0,c.Z)(()=>w?.length?(0,o.jsx)(r.Fragment,{children:w.map(e=>e[_]?(0,o.jsx)(s.Ee,{"data-testid":(0,p._N)(e.id),children:(0,o.jsx)(l.Ct,{color:x.promoBadges.color.pointsBasedPromo,text:e[_],hasRewardsLogo:!!y.rewards,rewardsLogoUrl:y.rewards,singleLine:v,backgroundColor:x.promoBadges.backgroundColor.pointsBasedPromo,fontWeight:x.promoBadges.fontWeight,"data-testid":p.Og})},`${e.id}-${j}`):(0,o.jsx)(r.Fragment,{},e.id))}):null,{componentName:"PromoBadges"}),h[9]=y,h[10]=w,h[11]=_,h[12]=v,h[13]=j,h[14]=x,h[15]=m):m=h[15];let L=m,T="cartReviewItem"===$||"recipeLineItem"===$;return h[16]!==L||h[17]!==S||h[18]!==N||h[19]!==W||h[20]!==$||h[21]!==b||h[22]!==Z||h[23]!==w||h[24]!==I||h[25]!==P||h[26]!==T||h[27]!==j?(u=(0,c.Z)(()=>(0,o.jsxs)(s.Pl,{children:[(0,o.jsx)(f,{promotions:I,pointsBasedPromotions:w,sku:j,location:$}),(0,o.jsxs)(s.lF,{noAdditionalStyles:Z,children:[(0,o.jsxs)(s.xW,{marginBottom:b,marginRight:W,"data-testid":p.nz,row:T,children:[(0,o.jsx)(N,{}),(0,o.jsx)(S,{}),(0,o.jsx)(L,{})]}),P&&(0,o.jsx)(s.zW,{noAdditionalStyles:Z,"data-testid":p.Uy,children:(0,o.jsx)(g.Z,{recommended:P})})]})]}),{componentName:"Product Card Promotions"}),h[16]=L,h[17]=S,h[18]=N,h[19]=W,h[20]=$,h[21]=b,h[22]=Z,h[23]=w,h[24]=I,h[25]=P,h[26]=T,h[27]=j,h[28]=u):u=h[28],u})},18982:(e,t,i)=>{i.d(t,{Z:()=>en});var o=i(85893),n=i(68827),r=i(67294),s=i(85086),l=i(86239),a=i(68575),d=i(24359),c=i(31245),p=i(77721),g=i(5451);let m=s.ZP.div.withConfig({displayName:"RecipeLineItemWrapper",componentId:"-__sc-df7ac3db-0"})(({theme:e})=>`
108    border: 1px solid ${e.colors.uiColors.greyscale2};
109    display: grid;
110    grid-gap: ${a.W0.xxs};
111    grid-template-columns: ${a.W0.xxxl} 1fr 4fr 130px;
112    padding: ${a.W0.xs};
113    width: 100%;
114
115    ${(0,c.Z)("md")} {
116      padding:${a.W0.md};
117    }
118
119    ${(0,c.Z)("sm")} {
120      padding: 0;
121    }
122}
123  `),u=(0,s.ZP)(l.zx).withConfig({displayName:"ImageFrame",componentId:"-__sc-df7ac3db-1"})(["cursor:pointer;align-self:start;grid-column:1/2;grid-row:1/4;&:focus{outline:"," solid currentColor;outline-offset:",";}&:focus:not(:focus-visible){outline:none;}&:focus-visible{outline:"," solid currentColor;outline-offset:",";}"],a.W0.xxxs,a.W0.xxxs,a.W0.xxxs,a.W0.xxxs),h=(0,s.ZP)(l.Ee).withConfig({displayName:"ImageContent",componentId:"-__sc-df7ac3db-2"})(["cursor:pointer;"]),f=s.ZP.h4.withConfig({displayName:"RecipeLineItemName",componentId:"-__sc-df7ac3db-4"})(({theme:e})=>`
124    color: ${e.colors.uiColors.greyscale5};
125    line-height: ${e.typography.text.fontMD.lineHeight};
126    font-size:${e.typography.text.fontSM.fontSize};
127    font-weight: ${e.typography.weights.normal};
128    margin: 0;
129    padding: 0;
130  `),x=s.ZP.div.withConfig({displayName:"RecipeItemShoppingLabels",componentId:"-__sc-df7ac3db-5"})(()=>`
131    display: flex;
132    flex-wrap: wrap;
133    gap: ${a.W0.vxs};
134  `),y=s.ZP.div.withConfig({displayName:"PromoBadge",componentId:"-__sc-df7ac3db-6"})([""]),b=s.ZP.div.withConfig({displayName:"RecipeLineItemPriceWrapper",componentId:"-__sc-df7ac3db-7"})(({theme:e})=>`
135    background: none;
136    border: none;
137    padding: 0;
138    margin: 0;
139    font: inherit;
140    text-align: left;
141    color: ${e.colors.uiColors.greyscale5};
142    font-size: ${e.typography.text.fontXS.fontSize};
143    display: flex;
144    flex-direction: column;
145    padding-right: ${a.W0.xs};
146
147    &:focus {
148      outline: ${a.W0.xxxs} solid currentColor;
149      outline-offset: ${a.W0.xxxs};
150    }
151
152    &:focus:not(:focus-visible) {
153      outline: none;
154    }
155
156    &:focus-visible {
157      outline: ${a.W0.xxxs} solid currentColor;
158      outline-offset: 2px;
159    }
160  `),w=s.ZP.span.withConfig({displayName:"RecipeLineItemPrice",componentId:"-__sc-df7ac3db-8"})(({theme:e,isOnSale:t})=>`
161    color: ${t?e.colors.uiColors.alert:e.colors.uiColors.greyscale5};
162    font-size: ${e.typography.text.fontMD.fontSize};
163    font-weight: ${e.typography.weights.bold};
164    margin: 0px 3px 0 0;
165  `),I=s.ZP.span.withConfig({displayName:"RecipeLineItemWasPrice",componentId:"-__sc-df7ac3db-9"})(({theme:e})=>`
166    font-size: ${e.typography.text.fontSM.fontSize};
167    margin: auto ${a.W0.xs} auto ${a.W0.xxss};
168  `),v=s.ZP.span.withConfig({displayName:"RecipeLineItemWasUnitPriceMobile",componentId:"-__sc-df7ac3db-10"})(["","{display:none;}"],(0,c.Z)("md",{noUpper:!0})),C=s.ZP.span.withConfig({displayName:"RecipeLineItemWasUnitPriceDesktop",componentId:"-__sc-df7ac3db-11"})(["","{display:none;}"],(0,c.Z)("sm")),$=s.ZP.span.withConfig({displayName:"RecipeLineItemPricePerUnit",componentId:"-__sc-df7ac3db-12"})(["display:flex;flex-direction:column;flex-wrap:wrap;align-items:flex-end;
168gap:0 ",";margin:0;"],a.W0.xs),P=s.ZP.div.withConfig({displayName:"ContentContainer",componentId:"-__sc-df7ac3db-13"})(["grid-column:2/4;grid-row:1/4;display:flex;flex-direction:column;"]),_=(0,s.ZP)(l.zx).withConfig({displayName:"RecipeLineItemDescription",componentId:"-__sc-df7ac3db-14"})(({theme:e})=>`
169    display: block;
170    width: 100%;
171    min-width: ${a.W0.sm};
172    min-height: ${a.W0.lg};
173    box-sizing: border-box;
174    border: 1px solid transparent;
175    color: inherit;
176    line-height: ${e.typography.text.fontMD.lineHeight};
177    padding: 0;
178    padding-right: ${a.W0.xxs};
179    text-decoration: none;
180
181    &:focus {
182      outline: ${a.W0.xxxs} solid currentColor;
183      outline-offset: ${a.W0.xxxs};
184    }
185
186    &:focus:not(:focus-visible) {
187      outline: none;
188    }
189
190    &:focus-visible {
191      outline: ${a.W0.xxxs} solid currentColor;
192      outline-offset: ${a.W0.xxxs};
193    }
194  `),j=s.ZP.div.withConfig({displayName:"ActionsContainer",componentId:"-__sc-df7ac3db-15"})(["grid-column:4/5;grid-row:1/5;justify-self:end;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;"]),Z=s.ZP.div.withConfig({displayName:"FavContainer",componentId:"-__sc-df7ac3db-16"})(["position:relative;"]),W=s.ZP.div.withConfig({displayName:"CartButtonContainer",componentId:"-__sc-df7ac3db-17"})(["width:100%;","{width:unset;}"],(0,c.Z)("sm")),N=(0,s.ZP)(d.Z).withConfig({displayName:"AddToCartButtonStyled",componentId:"-__sc-df7ac3db-18"})(["width:100%;","{width:unset;}"],(0,c.Z)("sm")),S=s.ZP.span.withConfig({displayName:"RecipeLineItemTaxLeft",componentId:"-__sc-df7ac3db-19"})(["display:flex;gap:0 ",";flex-wrap:wrap;flex-direction:column;justify-content:space-between;align-items:flex-start;"],a.W0.xs),L=s.ZP.div.withConfig({displayName:"RecipeLineItemPriceContainer",componentId:"-__sc-df7ac3db-20"})(["display:flex;flex-direction:row;justify-content:space-between;"]),T=s.ZP.span.withConfig({displayName:"RecipeLineItemLeftPricing",componentId:"-__sc-df7ac3db-21"})(({showInSameRow:e})=>`
195    display: flex;
196    flex-direction: ${e?"row":"column"}; 
197  }
198`),k=s.ZP.div.withConfig({displayName:"RecipeLineItemTaxContainer",componentId:"-__sc-df7ac3db-22"})(["display:flex;gap:0 ",";flex-wrap:wrap;justify-content:space-between;"],a.W0.xs),D=(0,s.ZP)(p.Z).withConfig({displayName:"TaxDetails",componentId:"-__sc-df7ac3db-23"})(["align-self:flex-start;"]),z=(0,s.ZP)(g.Z).withConfig({displayName:"RecipeLineItemMembersPrice",componentId:"-__sc-df7ac3db-24"})(["margin-top:",";align-self:start;grid-column:2/4;","{grid-column:2/5;}"],a.W0.vxs,(0,c.Z)("sm"));var R=i(64501),E=i(76633),A=i(45007),B=i(30888),M=i(12256),F=i(55340),H=i(24975),O=i(26323),q=i(15254),U=i(94920),V=i(91501),K=i(48518),G=i(31779),X=i(89265),Y=i(44378),Q=i(10298),J=i(37626),ee=i(36424),et=i(4501),ei=i(76920);let eo={showPdpModal:B.AI,googleAnalytics:B.oR},en=(0,A.$j)((e,t)=>{let i=t.item??(t.sku?e.recipes.currentRecipe?.recipeItemDictionary?.[t.sku]:void 0);return{recipeLineItem:i,favoriteSkus:e.favorites.skus,disableTprPrice:e.settings.retailer.disableTprPrice,showWasUnitPrice:(0,Q.Z)(e,i,!0)}},eo)(e=>{let t,i,s,l,d,c,p,g=(0,n.c)(54),{t:A}=r.useContext(E.q),B=(0,et.c)("loyalty-members-price");if(!e.recipeLineItem)return null;let{image:Q,name:eo,pointsBasedPromotions:en,price:er,priceLabel:es,pricePerUnit:el,promotions:ea,sku:ed,wasPrice:ec,wasUnitPrice:ep,isConfigurable:eg,hasLoyaltyDiscount:em,subtotalWithLoyalty:eu,subtotalWithoutLoyalty:eh,unitPriceWithLoyalty:ef,unitPriceWithoutLoyalty:ex}=e.recipeLineItem;g[0]!==eo||g[1]!==A?(t=A("recipesDetailsPage.ingredients.ariaLabel",{name:eo}),g[0]=eo,g[1]=A,g[2]=t):t=g[2];let ey=t,eb=!!ea||!!en,ew=em&&B&&!!eu&&!!eh,eI=ew?eh:er;g[3]!==eI||g[4]!==ec?(i=(0,M.l)(eI,ec),g[3]=eI,g[4]=ec,g[5]=i):i=g[5];let ev=i,eC=es&&ev,e$=eb||eC;g[6]!==eg||g[7]!==eo||g[8]!==e||g[9]!==ed||g[10]!==A?(s=()=>{e.googleAnalytics({lineItems:[e?.recipeLineItem],gaType:F.ox,listType:"recipes-listing"}),e.showPdpModal(ed,eo,A("modals.productDetails.title"),!eg)},g[6]=eg,g[7]=eo,g[8]=e,g[9]=ed,g[10]=A,g[11]=s):s=g[11];let eP=s;g[12]!==e.favoriteSkus||g[13]!==ed?(l=!!e.favoriteSkus&&e.favoriteSkus.includes(ed),g[12]=e.favoriteSkus,g[13]=ed,g[14]=l):l=g[14];let e_=l;g[15]!==e.recipeLineItem?(d=(0,X.m)(e.recipeLineItem),g[15]=e.recipeLineItem,g[16]=d):d=g[16];let{taxAmount:ej,taxInfo:eZ}=d,eW=!!e.showWasUnitPrice&&!!ep&&ev;g[17]!==e.recipeLineItem||g[18]!==eW||g[19]!==ej||g[20]!==eZ?(c=(!!ej&&!!eZ||(0,G.s
198)(e.recipeLineItem))&&!eW,g[17]=e.recipeLineItem,g[18]=eW,g[19]=ej,g[20]=eZ,g[21]=c):c=g[21];let eN=c;return g[22]!==eC||g[23]!==Q||g[24]!==ey||g[25]!==eg||g[26]!==e_||g[27]!==ev||g[28]!==eo||g[29]!==en||g[30]!==er||g[31]!==es||g[32]!==el||g[33]!==e$||g[34]!==ea||g[35]!==e.className||g[36]!==e.disableTprPrice||g[37]!==e.index||g[38]!==e.recipeLineItem||g[39]!==e.tabbable||g[40]!==eN||g[41]!==ew||g[42]!==eW||g[43]!==ed||g[44]!==eu||g[45]!==eh||g[46]!==A||g[47]!==ej||g[48]!==eZ||g[49]!==eP||g[50]!==ef||g[51]!==ex||g[52]!==ep?(p=(0,O.Z)(()=>(0,o.jsxs)(m,{className:e.className,"data-testid":"recipeLineItemWrapper-testId",role:"group","aria-label":"product",children:[(0,o.jsx)(u,{handleClick:eP,"data-testid":(0,R.z6)(ed),ariaLabel:ey,type:"button",buttonStyle:"noStyles",children:(0,o.jsx)(h,{alt:"",src:Q&&Q.cell,height:"76px",width:"76px"})}),(0,o.jsxs)(P,{children:[(0,o.jsx)(f,{children:(0,o.jsxs)(_,{handleClick:eP,"aria-label":ey,buttonStyle:"buttonLink",children:[(0,o.jsx)(x,{children:(0,o.jsx)(ei.Z,{product:e.recipeLineItem,location:"productCard",type:"label"})}),A("productTitleConfiguration",(0,V.Z)(e.recipeLineItem))]})}),e$&&(0,o.jsx)(y,{children:(0,o.jsx)(U.Z,{sku:ed,marginBottom:a.W0.xs,pointsBasedPromotions:en,tprLabel:eC?es:"",promotions:ea,location:"recipeLineItem"})}),(0,o.jsxs)(b,{"aria-label":ey,children:[(0,o.jsxs)(L,{children:[(0,o.jsxs)(T,{showInSameRow:eN,children:[(0,o.jsx)(w,{isOnSale:ev,children:ew?eh:er}),!!(0,K.Z)(e.disableTprPrice,e.recipeLineItem,!0)&&ev&&(0,o.jsx)(I,{children:A((0,J.Z)(e.recipeLineItem.promotions),{wasPrice:(0,K.Z)(e.disableTprPrice,e.recipeLineItem,!1)})})]}),(0,o.jsxs)($,{children:[ew?ex:el,eW&&(0,o.jsx)(v,{"data-testid":"RecipeLineItemWasUnitPriceMobileTestId",children:A((0,J.Z)(e.recipeLineItem.promotions),{wasPrice:ep})}),eW&&(0,o.jsx)(C,{"data-testid":"RecipeLineItemWasUnitPriceDesktopTestId",children:A((0,J.Z)(e.recipeLineItem.promotions),{wasPrice:ep})})]})]}),(0,o.jsx)(k,{children:(0,o.jsxs)(S,{children:[!!ej&&!!eZ&&(0,o.jsx)(D,{taxAmount:ej,taxInfo:eZ}),(0,o.jsx)(ee.Z,{hasPromo:(0,G.s)(e.recipeLineItem)})]})})]})]}),ew&&(0,o.jsx)(z,{loyaltyPrice:eu,unitPriceWithLoyalty:ef}),(0,o.jsxs)(j,{children:[(0,o.jsx)(Z,{children:(0,o.jsx)(q.Z,{isFavorite:e_,listName:"recipes-listing",name:eo,product:e.recipeLineItem,sku:ed,tabbable:e.tabbable})}),(0,o.jsx)(W,{children:eg?(0,o.jsx)(Y.Z,{product:e.recipeLineItem,tabbable:e.tabbable,adjustForTouch:!0,location:"recipePage"}):(0,o.jsx)(N,{product:e.recipeLineItem,index:e.index,tabbable:e.tabbable,analyticsLocation:H.gA,adjustForTouch:!0,location:"recipePage"})})]})]}),{componentName:"RecipeLineItem"}),g[22]=eC,g[23]=Q,g[24]=ey,g[25]=eg,g[26]=e_,g[27]=ev,g[28]=eo,g[29]=en,g[30]=er,g[31]=es,g[32]=el,g[33]=e$,g[34]=ea,g[35]=e.className,g[36]=e.disableTprPrice,g[37]=e.index,g[38]=e.recipeLineItem,g[39]=e.tabbable,g[40]=eN,g[41]=ew,g[42]=eW,g[43]=ed,g[44]=eu,g[45]=eh,g[46]=A,g[47]=ej,g[48]=eZ,g[49]=eP,g[50]=ef,g[51]=ex,g[52]=ep,g[53]=p):p=g[53],p})},84849:(e,t,i)=>{i.d(t,{Z:()=>Z});var o=i(85893),n=i(68827),r=i(85086),s=i(86239),l=i(68575),a=i(31245);let d=r.ZP.div.withConfig({displayName:"Breadcrumb",componentId:"-__sc-6d1c50a6-0"})(({theme:e,backgroundColor:t,paddingNone:i,textAlign:o,itemsCount:n,noBackBtn:r})=>`
199    display: grid;
200    grid-template-columns: auto;
201    text-align: ${o||"center"};
202    width: 100%;
203    padding: ${i?`0px ${l.W0.sm}`:`${l.W0.sm} ${l.W0.sm}`};
204    background-color: ${t||e.breadcrumb.backgroundColor};
205    border-radius: ${l.W0.xxs};
206
207      
208    ${n&&n>=2&&!r?`${(0,a.Z)("md",{noLower:!0})} {
209      grid-template-columns: auto 1fr;
210      padding-right: ${2*Number.parseInt(l.W0.sm)}px;
211    }`:""}`),c=(0,r.ZP)(s.rU).withConfig({displayName:"BackButtonLink",componentId:"-__sc-6d1c50a6-1"})(["align-self:center;"]),p=(0,r.ZP)(s.zx).withConfig({displayName:"BackButton",componentId:"-__sc-6d1c50a6-2"})(["align-self:center;"]),g=(0,r.ZP)(s.pA).withConfig({displayName:"BackButtonIconLoader",componentId:"-__sc-6d1c50a6-3"})(({theme:e})=>`
212    svg {
213      fill: ${e.breadcrumb.backIconColor};
214    }
215    ${(0,a.Z)("lg")} {
216      display: none;
217    }
218`);var m=i(67294);let u="BackButtonTestId",h=r.ZP.span.withConfig({displayName:"DesktopWrapper",componentId:"-__sc-7cb8633a-0"})(["margin:auto;","{display:none;}"],(0,a.Z)("md",{noLower:!0})),f=r.ZP.span.withConfig({displayName:"MobileWrapper",componentId:"-__sc-7cb8633a-1"})(["margin:auto;","{display:none;}"],(0,a.Z)("lg",{noUpper:!0})),x=(0,r.ZP)(s.rU).withConfig({displayName:"BreadcrumbItem",componentId:"-__sc-7cb8633a-2"})(({theme:e,active:t})=>`
219    text-transform: ${e.breadcrumb.textTransform};
220    cursor: pointer;
221    color: ${t?e.breadcrumb.activeColor:e.breadcrumb.color};
222    padding-right: ${l.W0.xs};
223    font-size: ${t?e.typography.text.fontXL.fontSize:e.typography.text.fontSM.fontSize};
224
225    ${(0,a.Z)("md",{noLower:!0})} {
226      display: none;
227    }
228
229    &:visited {
230      color: ${t?e.breadcrumb.activeColor:e.breadcrumb.color};
231    }
232    &:not(:last-child):after {
233      display: inline-block;
234      padding-left: ${l.W0.xs};
235      color: ${e.breadcrumb.color};
236      content: '>';
237
238      ${(0,a.Z)("md",{noLower:!0})} {
239        content: '';
240      }
241    }
242
243  ${t&&`
244    font-weight: ${e.typography.weights.bold};
245    cursor: default;
246    display: block;
247    margin: ${l.W0.xs} 0;
248
249    &:hover {
250      text-decoration: none;
251    }
252
253    &:after {
254      content: '';
255    }
256
257    ${(0,a.Z)("md",{noLower:!0})} {
258      display: block;
259      font-size: ${e.typography.text.fontMD.fontSize};
260      margin: auto;
261    }
262  `};
263`),y=(0,r.ZP)(s.zx).withConfig({displayName:"BreadcrumbItemButton",componentId:"-__sc-7cb8633a-3"})(({theme:e,active:t})=>`
264    text-transform: ${e.breadcrumb.textTransform};
265    text-align: center;
266    color: ${t?e.breadcrumb.activeColor:e.breadcrumb.color};
267    padding: 0 ${l.W0.xs} 0 0;
268    font-size: ${t?e.typography.text.fontXL.fontSize:e.typography.text.fontSM.fontSize};
269
270    ${(0,a.Z)("md",{noLower:!0})} {
271      display: none;
272    }
273
274    &:visited {
275      color: ${t?e.breadcrumb.activeColor:e.breadcrumb.color};
276    }
277    &:not(:last-child):after {
278      display: inline-block;
279      padding-left: ${l.W0.xs};
280      color: ${e.breadcrumb.color};
281      content: '>';
282
283      ${(0,a.Z)("md",{noLower:!0})} {
284        content: '';
285      }
286    }
287
288  ${t&&`
289    font-weight: ${e.typography.weights.bold};
290    cursor: default;
291    display: block;
292    margin: ${l.W0.xs} 0;
293
294    &:hover {
295      text-decoration: none;
296    }
297
298    &:after {
299      content: '';
300    }
301
302    ${(0,a.Z)("md",{noLower:!0})} {
303      display: block;
304      font-size: ${e.typography.text.fontMD.fontSize};
305      margin: auto;
306    }
307  `};
308`),b=r.ZP.div.withConfig({displayName:"BreadCrumbWrapper",componentId:"-__sc-7cb8633a-4"})(["margin:auto;","{display:flex;}"],(0,a.Z)("md",{noLower:!0})),w=r.ZP.h1.withConfig({displayName:"BreadcrumbItemTitle",componentId:"-__sc-a4d4c6f-0"})(({theme:e,active:t,noTitle:i})=>`
309  text-transform: ${e.breadcrumbTitle.textTransform};
310  cursor: pointer;
311  color: ${t?e.breadcrumbTitle.activeColor:e.breadcrumbTitle.color};
312  padding-left: ${l.W0.xs};
313  font-size: ${t?e.typography.text.fontXL.fontSize:e.typography.text.fontSM.fontSize};
314  font-weight: ${t?e.typography.text.fontXL.fontWeight:e.typography.text.fontSM.fontWeight};
315
316  ${(0,a.Z)("md",{noLower:!0})} {
317    display: none;
318  }
319
320  &:visited {
321    color: ${t?e.breadcrumbTitle.activeColor:e.breadcrumbTitle.color};
322  }
323  
324  &:after {
325    display: inline-block;
326    padding-left: ${l.W0.xs};
327    color: ${e.breadcrumbTitle.backIconColor};
328    content: '>';
329
330    ${(0,a.Z)("md",{noLower:!0})} {
331      content: '';
332    }
333  }
334
335  ${t&&`
336    cursor: default;
337    display: inline-block;
338    margin: ${l.W0.xs} 0;
339
340    &:hover {
341      text-decoration: none;
342    }
343
344    &:after {
345      content: '';
346    }
347
348    ${(0,a.Z)("md",{noLower:!0})} {
349      display: block;
350      font-size: ${e.typography.text.fontMD.fontSize};
351      margin: auto;
352    }
353  `};
354  ${i&&"display:none;"}
355`);var I=i(26323);let v=e=>{let{active:t,id:i,noTitle:n,title:r}=e;return(0,I.Z)(()=>(0,o.jsx)(w,{active:t,id:i,noTitle:n,children:r}),{componentName:"BreadcrumbItemTitle"})};var C=i(89250);let $=e=>{let t,i,r=(0,n.c)(18),{pageName:l,active:a,icon:d,tag:c,noTitle:p,id:g,showIconMobile:u,useClientSideNav:w}=e,$=(0,C.s0)();if(!a&&c&&w){let e,t;return r[0]!==$||r[1]!==c?(e=()=>$(c),r[0]=$,r[1]=c,r[2]=e):e=r[2],r[3]!==a||r[4]!==l||r[5]!==e?(t=(0,o.jsx)(y,{active:a,"aria-label":l,handleClick:e,buttonStyle:"buttonLink",children:l}),r[3]=a,r[4]=l,r[5]=e,r[6]=t):t=r[6],t}r[7]!==a?(t=e=>{a&&e.preventDefault()},r[7]=a,r[8]=t):t=r[8];let P=t;return r[9]!==a||r[10]!==P||r[11]!==d||r[12]!==g||r[13]!==p||r[14]!==l||r[15]!==u||r[16]!==c?(i=(0,I.Z)(()=>!a&&c?(0,o.jsx)(x,{active:a,ariaLabel:l,handleClick:P,href:c,children:l}):(0,o.jsxs)(b,{children:[!!d&&(0,o.jsxs)(m.Fragment,{children:[(0,o.jsx)(h,{children:(0,o.jsx)(s.pA,{name:d.name,fillColor:d.fillColor,size:d.size})}),u&&(0,o.jsx)(f,{children:(0,o.jsx)(s.pA,{name:d.name,fillColor:d.fillColor,size:"16px"})})]}),(0,o.jsx)(v,{noTitle:p,title:l,active:a,id:g})]}),{componentName:"BreadcrumbItem"}),r[9]=a,r[10]=P,r[11]=d,r[12]=g,r[13]=p,r[14]=l,r[15]=u,r[16]=c,r[17]=i):i=r[17],i};var P=i(76633),_=i(64079),j=i(35684);let Z=e=>{let t,i,r=(0,n.c)(17),{t:s}=m.useContext(P.q),l=(0,C.s0)(),{backgroundColor:a,id:h,items:f,noBackBtn:x,noTitle:y,paddingNone:b,showIconMobile:w,textAlign:v,className:Z}=e,N=f?.length>=2,S=f?.[f?.length-2]?.tag,L=N?S:"";r[0]!==L?(t=[j.ZP.categoryProducts,j.ZP.categoryDetails,L],r[0]=L,r[1]=t):t=r[1];let T=t,{shouldUseClientSide:k}=(0,_.B)(T);return r[2]!==a||r[3]!==Z||r[4]!==N||r[5]!==h||r[6]!==f||r[7]!==l||r[8]!==x||r[9]!==y||r[10]!==b||r[11]!==k||r[12]!==w||r[13]!==s||r[14]!==v||r[15]!==S?(i=(0,I.Z)(()=>(0,o.jsxs)(d,{backgroundColor:a,"data-testid":"BreadcrumbTestId",id:h,paddingNone:b,textAlign:v,className:Z,itemsCount:f.length,noBackBtn:x,children:[N&&!x&&(k?(0,o.jsx)(p,{ariaLabel:s("common.button.back"),"data-testid":u,handleClick:()=>l(S),buttonStyle:"buttonLink",children:(0,o.jsx)(g,{name:"ChevronLeft",size:"20px"})}):(0,o.jsx)(c,{"aria-label":s("common.button.back"),href:S,"data-testid":u,children:(0,o.jsx)(g,{name:"ChevronLeft",size:"20px"})})),f.filter(W).map((e,t)=>(0,o.jsx)($,{active:e.active,icon:e.icon,id:e.id,noTitle:y,pageName:e.pageName,showIconMobile:w,tag:e.tag,useClientSideNav:k},e.id??`${e.tag}-${String(e.active)}-${t}`))]}),{componentName:"Breadcrumb"}),r[2]=a,r[3]=Z,r[4]=N,r[5]=h,r[6]=f,r[7]=l,r[8]=x,r[9]=y,r[10]=b,r[11]=k,r[12]=w,r[13]=s,r[14]=v,r[15]=S,r[16]=i):i=r[16],i};function W(e){return"Departments"!==e.pageName}},36424:(e,t,i)=>{i.d(t,{Z:()=>p});var o=i(85893),n=i(68827),r=i(67294);let s=i(85086).ZP.div.withConfig({displayName:"PriceLoyaltyLabel",componentId:"-__sc-9c3a0f3b-0"})(({theme:e})=>`
356    color: ${e.colors.uiColors.greyscale5};
357    font-size: ${e.typography.text.fontXS.fontSize};
358  `);var l=i(26323),a=i(76633),d=i(45007),c=i(46196);let p=(0,d.$j)(e=>({priceLoyaltyFlag:e.settings.layout.productDetails.priceLoyaltyFlag}))(e=>{let t,i,d=(0,n.c)(7),{t:p}=r.useContext(a.q);d[0]!==p?(t=p("productCard.priceLoyaltyLabel"),d[0]=p,d[1]=t):t=d[1];let g=t;return d[2]!==g||d[3]!==e.className||d[4]!==e.hasPromo||d[5]!==e.priceLoyaltyFlag?(i=(0,l.Z)(()=>e.priceLoyaltyFlag&&g&&e.hasPromo?(0,o.jsx)(s,{className:e.className,"data-testid":c.dJ,children:g}):null,{componentName:"ProductCardPriceLoyalty"}),d[2]=g,d[3]=e.className,d[4]=e.hasPromo,d[5]=e.priceLoyaltyFlag,d[6]=i):i=d[6],i})},31097:(e,t,i)=>{i.d(t,{v:()=>s});var o=i(62484),n=i(65291),r=i(10381);let s=e=>{let t="copyToClipboard";if((0,r.Z)(t))try{let t=document.createElement("textarea"),i=document.getElementById(o.df)||document.body;if(!i)return;i.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),i.removeChild(t)}
358catch(i){n.logger.catchErr(t,i,e)}}},46205:(e,t,i)=>{i.d(t,{Z:()=>n});var o=i(65291);let n=(e,t)=>{try{let i="";return e&&t&&(i=`${e} - ${t}`),e&&!t&&(i=`${e}`),!e&&t&&(i=`${t}`),i}catch(e){return o.logger.error("titleAppendHelper() ",e,{}),""}}},64079:(e,t,i)=>{i.d(t,{B:()=>c});var o=i(68827),n=i(89250),r=i(12599),s=i(7888),l=i(48305),a=i(83172),d=i(4501);let c=e=>{let t,i,a=(0,o.c)(25),c=(0,n.TH)(),u=(0,l.CG)(p),h=(0,d.c)("dev-client-side-routing"),f=(0,d.c)("dev-cms-components");a[0]!==f||a[1]!==h||a[2]!==u?(t=e=>{let t=(0,r.fp)((0,s.Z)(u),e)?.[0]?.route,i=t?.knownRoute,o=!!t?.supportsClientSide,n=h&&f&&o;return{route:t,knownRoute:i,supportsClientSide:o,isClientSideRouting:h,isClientSideCmsComponents:f,shouldUseClientSide:n}},a[0]=f,a[1]=h,a[2]=u,a[3]=t):t=a[3];let x=t;e:{let t;if(Array.isArray(e)){let t,o,n,r,s;if(a[4]!==e||a[5]!==x){let i;a[9]!==x?(i=e=>x(e),a[9]=x,a[10]=i):i=a[10],o=(t=e.map(i)).length>0&&t.every(g),n=t.length>0&&t.every(m),a[4]=e,a[5]=x,a[6]=t,a[7]=o,a[8]=n}else t=a[6],o=a[7],n=a[8];let l=n;a[11]!==t[0]||a[12]!==f||a[13]!==h?(r=t[0]||{route:void 0,knownRoute:void 0,supportsClientSide:!1,isClientSideRouting:h,isClientSideCmsComponents:f,shouldUseClientSide:!1},a[11]=t[0],a[12]=f,a[13]=h,a[14]=r):r=a[14];let d=r;a[15]!==o||a[16]!==d.knownRoute||a[17]!==d.route||a[18]!==f||a[19]!==h||a[20]!==l?(s={route:d.route,knownRoute:d.knownRoute,supportsClientSide:o,isClientSideRouting:h,isClientSideCmsComponents:f,shouldUseClientSide:l},a[15]=o,a[16]=d.knownRoute,a[17]=d.route,a[18]=f,a[19]=h,a[20]=l,a[21]=s):s=a[21],i=s;break e}let o=e||c.pathname;a[22]!==o||a[23]!==x?(t=x(o),a[22]=o,a[23]=x,a[24]=t):t=a[24],i=t}return i};function p(e){return(0,a.UG)(e)}function g(e){return e.supportsClientSide}function m(e){return e.shouldUseClientSide}},64501:(e,t,i)=>{i.d(t,{D8:()=>n,FP:()=>l,Md:()=>s,ed:()=>r,z6:()=>o});let o=e=>`productImageTestId_${e}`,n=e=>`product-checkbox-testId-${e}`,r=e=>`product-item-testId-${e}`,s=e=>`product-item-quantity-testId-${e}`,l="product-promotions-section-testId"},17208:(e,t,i)=>{i.r(t),i.d(t,{default:()=>tf});var o,n,r=i(85893),s=i(68827),l=i(67294),a=i(45007),d=i(85086),c=i(73369),p=i(68575),g=i(31245),m=i(66085);let u=d.ZP.div.withConfig({displayName:"RecipePageWrapper",componentId:"-__sc-da2cca2a-0"})(["position:relative;z-index:",";"],m.CJ),h=d.ZP.div.withConfig({displayName:"RecipeBody",componentId:"-__sc-da2cca2a-1"})(["grid-template-columns:65% 35%;grid-template-rows:auto;display:grid;","{grid-template-columns:55% 45%;}"],(0,g.Z)("md")),f=d.ZP.div.withConfig({displayName:"DirectionWrapper",componentId:"-__sc-da2cca2a-2"})(["grid-column:2/3;grid-row:1/2;"]),x=d.ZP.div.withConfig({displayName:"IngredientsWrapper",componentId:"-__sc-da2cca2a-3"})(["grid-column:1/2;grid-row:1/2;padding-right:",";"],p.W0.md),y=d.ZP.div.withConfig({displayName:"Ingredients",componentId:"-__sc-da2cca2a-4"})(["box-shadow:",";border-radius:",";","{box-shadow:none;border-radius:0px;}"],c.q.large,p.W0.xxs,(0,g.Z)("md")),b=d.ZP.div.withConfig({displayName:"TabWrapper",componentId:"-__sc-da2cca2a-5"})(["box-shadow:",";border-radius:",";width:95%;margin:"," auto;"],c.q.large,p.W0.xxs,p.W0.sm);var w=i(76633),I=i(86239);let v=d.ZP.div.withConfig({displayName:"DirectionsWrapper",componentId:"-__sc-74b43b29-0"})(({theme:e})=>`
359  display: flex;
360  align-items: left;
361  flex-direction: column;
362  background-color: ${e.colors.uiColors.greyscale1};
363  padding: ${p.W0.lg};
364  box-shadow: ${c.q.large};
365  border-radius: ${p.W0.xxs};
366 
367  ${(0,g.Z)("sm")} {
368    padding: ${p.W0.md} ${p.W0.sm};
369  }
370`),C=d.ZP.iframe.withConfig({displayName:"DirectionsVideo",componentId:"-__sc-74b43b29-1"})(({setBottomPadding:e})=>`
371  width: 100%;
372  min-height: 350px;
373  padding-bottom: ${e?p.W0.lg:0};
374  
375  ${(0,g.Z)("sm")} {
376    min-height: 250px;
377  }
378`),$=d.ZP.h2.withConfig({displayName:"DirectionsHeader",componentId:"-__sc-74b43b29-2"})(["margin:0 0 "," 0;text-align:left;"],p.W0.sm),P=d.ZP.div.withConfig({displayName:"DirectionsBody",componentId:"-__sc-74b43b29-3"})(({theme:e})=>`
379  font-size: ${e.typography.text.body.fontSize};
380  color: ${e.colors.uiColors.greyscale5};
381  li:not(:last-child) {
382    padding-bottom: ${p.W0.sm};
383  }
384`);var _=i(26323);let j=e=>{let t,i=(0,s.c)(4),{t:o}=l.useContext(w.q),{directions:n,embeddedVideo:a}=e;return i[0]!==n||i[1]!==a||i[2]!==o?(t=(0,_.Z)(()=>(0,r.jsxs)(v,{children:[""!==a&&(0,r.jsx)(C,{allow:"autoplay encrypted-media",allowFullScreen:!0,frameBorder:0,setBottomPadding:""!==n,src:a,title:"Directions Video"}),""!==n&&(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)($,{"data-testid":"directionsHeader-testId",children:o("recipesDetailsPage.directions.title")}),(0,r.jsx)(P,{"data-testid":"directionsBody-testId",dangerouslySetInnerHTML:{__html:n}})]})]}),{componentName:"RecipeDirections"}),i[0]=n,i[1]=a,i[2]=o,i[3]=t):t=i[3],t};var Z=i(95751),W=i(60821);let N=d.ZP.div.withConfig({displayName:"IngredientsWrapper",componentId:"-__sc-a68210b2-0"})(({theme:e})=>`
385    background-color: ${e.colors.uiColors.greyscale1};
386    padding: ${p.W0.lg};
387    ${(0,g.Z)("sm")} {
388      padding: ${p.W0.xs};
389    }
390  `),S=d.ZP.div.withConfig({displayName:"IngredientsHeader",componentId:"-__sc-a68210b2-1"})(({theme:e})=>`
391   display:flex;
392   flex-direction:row;
393   background-color: ${e.colors.uiColors.greyscale1};
394   margin-bottom: ${p.W0.sm};
395   white-space: nowrap;
396   ${(0,g.Z)("sm")} {
397    flex-direction: column;
398  }
399`),L=d.ZP.div.withConfig({displayName:"IngredientsList",componentId:"-__sc-a68210b2-2"})([""]),T=d.ZP.div.withConfig({displayName:"ShopIngredientsInfo",componentId:"-__sc-a68210b2-3"})(["display:flex;flex-direction:column;align-content:left;padding:"," "," "," ",";"],p.W0.xs,p.W0.xs,p.W0.sm,p.W0.xs),k=d.ZP.h2.withConfig({displayName:"ShopIngredientsText",componentId:"-__sc-a68210b2-4"})(({theme:e})=>`
400   text-align:left;
401   font-weight: ${e.typography.weights.bold}
402   margin:0px;
403`),D=d.ZP.div.withConfig({displayName:"ShopIngredientsServings",componentId:"-__sc-a68210b2-5"})(({theme:e})=>`
404    text-align:left;
405    color: ${e.colors.uiColors.greyscale5};
406    line-height: ${e.typography.text.fontMD.lineHeight};
407    font-size:${e.typography.text.fontSM.fontSize};
408 `),z=(0,d.ZP)(I.zx).withConfig({displayName:"ActionButton",componentId:"-__sc-a68210b2-6"})(({theme:e})=>`
409    margin: ${p.W0.xxs};
410
411    &:focus:not(:focus-visible) {
412      outline: none;
413    }
414
415    &:focus-visible {
416      outline: ${p.W0.xxxs} solid ${e.buttons.primary.static.borderColor};
417      outline-offset: ${p.W0.xxs};
418    }
419  `),R=d.ZP.div.withConfig({displayName:"ShopIngredientsActions",componentId:"-__sc-a68210b2-7"})(["display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;width:80%;","{flex-direction:column;width:auto;margin:auto;}","{flex-direction:row;width:80%;}","{flex-direction:column;width:100%;}","{display:flex;white-space:nowrap;max-height:",";margin:",";
419min-width:200px;","{flex-direction:column;max-width:100%;margin:"," 0;width:100%;}text-align:center;}"],(0,g.Z)("lg"),(0,g.Z)("xl"),(0,g.Z)("sm"),z,p.W0.lg,p.W0.xxs,(0,g.Z)("sm"),p.W0.xxs),E=d.ZP.ul.withConfig({displayName:"IngredientsList",componentId:"-__sc-ba5ef1f4-0"})(["list-style:none;margin:0;padding:0;"]),A=d.ZP.li.withConfig({displayName:"IngredientsListItem",componentId:"-__sc-ba5ef1f4-1"})(["margin:0;padding:0;"]),B=d.ZP.div.withConfig({displayName:"IngredientWrapper",componentId:"-__sc-91964be2-0"})(["display:flex;flex-direction:column;margin-bottom:",";","{margin-bottom:",";}"],p.W0.md,(0,g.Z)("sm"),p.W0.xs),M=d.ZP.header.withConfig({displayName:"IngredientHeader",componentId:"-__sc-91964be2-1"})(({theme:e})=>`
420  font-weight: ${e.typography.weights.bold};
421  color: ${e.colors.uiColors.greyscale5};
422  line-height: ${e.typography.text.fontMD.lineHeight};
423  font-size:${e.typography.text.fontSM.fontSize};
424  padding:${p.W0.sm} 0;
425  ${(0,g.Z)("sm")} {
426    padding: ${p.W0.sm} ${p.W0.xs};
427  }
428`),F=d.ZP.div.withConfig({displayName:"OutOfStockIngredient",componentId:"-__sc-9b69f533-0"})(({theme:e})=>`
429    width: 100%;
430    display: flex;
431    flex-direction: row;
432    border-top: 1px solid ${e.colors.uiColors.greyscale2};
433    border-bottom: 1px solid ${e.colors.uiColors.greyscale2};
434    color: ${e.colors.uiColors.greyscale5};
435    line-height: ${e.typography.text.fontMD.lineHeight};
436    font-size:${e.typography.text.fontSM.fontSize};
437    text-align: left;
438    padding:${p.W0.md}
439  `);var H=i(18982);function O(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class q extends(o=l.Component){render(){return(0,_.Z)(()=>(0,r.jsxs)(l.Fragment,{children:[this.props.ingredient.skus&&this.props.ingredient.skus.map((e,t)=>(0,r.jsx)(H.Z,{isRecipePage:!0,index:t,sku:e,item:this.props.ingredient.items?.[t],tabbable:!0},e)),(!this.props.ingredient.skus||0===this.props.ingredient.skus.length)&&(0,r.jsx)(F,{children:this.context.t("recipesDetailsPage.productNotAvailable")})]}),{componentName:"RecipeIngredientLineItemsList"})}constructor(...e){super(...e),O(this,"context",void 0)}}O(q,"contextType",w.q);let U=e=>(0,_.Z)(()=>(0,r.jsxs)(B,{"data-testid":e["data-testid"],children:[(0,r.jsxs)(M,{as:"h3",children:[e.ingredient.size?`${e.ingredient.size} `:"",(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e.ingredient.name}})]}),(0,r.jsx)(q,{ingredient:e.ingredient})]}),{componentName:"RecipeLineItem"}),V=e=>(0,_.Z)(()=>e.ingredients.length?(0,r.jsx)(E,{children:e.ingredients.map((e,t)=>(0,r.jsx)(A,{children:(0,r.jsx)(U,{ingredient:e,"data-testid":`IngredientsListsTestId-${t}`})},t))}):null,{componentName:"RecipeIngredientsList"});var K=i(92899),G=i(83172),X=i(38537),Y=i(33089),Q=i(35831),J=i(77955),ee=i(71460),et=i(39834),ei=i(30888),eo=i(91297),en=i(55340),er=i(48305);let es="recipes-listing",el={addManyItemsToCart:Z.Qm,addManyToPlanningList:W.Kh,openGlobalModal:ei.f9,showTimeslot:eo.Q,googleAnalytics:ei.oR},ea=(0,a.$j)((e,t)=>{let i=e.recipes.currentRecipe?.locations?.recipeDetailPage;return{servings:t.servings??i?.servings,name:t.name??i?.name,ingredients:t.ingredients??i?.ingredients,isPlanningMode:(0,G.oD)(e),recipeItemDictionary:t.recipeItemDictionary??e.recipes.currentRecipe?.recipeItemDictionary??{},customerIsLoggedIn:(0,K.n)(e),firebaseAction:e.firebase.Actions,shoppingRules:e.shoppingRules.rules,anonymousCartEnabled:e.settings.siteSettings.anonymousCart}},el)(e=>{let t,i,o,n,a,d,c,p,g,m,u,h,f=(0,s.c)(39),{t:x}=l.useContext(w.q),y=(0,er.TL)(),[b,v]=l.useState(!1),[C,$]=l.useState(!1),{keys:P,events:j}=J.RecipesGTM;e:{let i;if(!e.ingredients||!e.recipeItemDictionary){t=e.ingredients;break e}if(f[0]!==e.ingredients||f[1]!==e.recipeItemDictionary){let t;f[3]!==e.recipeItemDictionary?(t=t=>({...t,items:t.skus.map(t=>e.recipeItemDictionary[t])}),f[3]=e.recipeItemDictionary,f[4]=t):t=f[4],i=e.ingredients.map(t),f[0]=e.ingredients,f[1]=e.recipeItemDictionary,f[2]=i}else i=f[2];t=i}let Z=t;f[5]===Symbol.for("react.memo_cache_sentinel")?(i=[ee.j73,ee.wMl],f[5]=i):i=f[5];let W=i;f[6]!==b||f[7]!==e.firebaseAction?(o=()=>{b&&$(e.firebaseAction.some(e=>W.includes(e)))},f[6]=b,f[7]=e.firebaseAction,f[8]=o):o=f[8],f[9]!==e.firebaseAction?(n=[e.firebaseAction],f[9]=e.firebaseAction,f[10]=n):n=f[10],l.useEffect(o,n),f[11]!==y||f[12]!==e?(a=()=>{let t=[];
439e.ingredients&&e.ingredients.length&&e.ingredients.forEach(i=>{i.skus.forEach(i=>{(e.recipeItemDictionary[i].promotions?.length||e.recipeItemDictionary[i].pointsBasedPromotions?.length)&&t.push(e.recipeItemDictionary[i])})}),t&&t.length&&e.googleAnalytics({lineItems:t,gaType:en.m7,listType:es});let i=Object.entries(e.recipeItemDictionary).map(ed);e.ingredients&&e.ingredients.length>0&&y((0,ei.oR)({lineItems:i,gaType:en.E,listType:es})),e.ingredients&&e.ingredients.length>0&&y((0,ei.oR)({lineItems:i,gaType:en.l6,listType:es}))},f[11]=y,f[12]=e,f[13]=a):a=f[13],f[14]===Symbol.for("react.memo_cache_sentinel")?(d=[],f[14]=d):d=f[14],l.useEffect(a,d),f[15]!==b||f[16]!==e.shoppingRules?(c=()=>{b&&!e.shoppingRules.length&&v(!1)},f[15]=b,f[16]=e.shoppingRules,f[17]=c):c=f[17];let E=c;f[18]!==e||f[19]!==x?(p=()=>{if(!e.customerIsLoggedIn&&e.isPlanningMode||!e.customerIsLoggedIn&&!e.anonymousCartEnabled)return e.openGlobalModal(ee.STEP_TYPES.LOGIN,{ariaLabel:x("modals.ariaLabel.login")});let t=()=>{v(!0);let t=[];e.ingredients&&e.ingredients.forEach(i=>{i.skus.forEach(i=>{let o=e.recipeItemDictionary[i],n=(0,Y.Z)("Ingredients",o);o.isConfigurable||"configuredProduct"===o.lineItemType||t.push({...o,quantity:n.size,type:n.type,attributes:{}})})}),e.isPlanningMode?e.addManyToPlanningList(t):e.addManyItemsToCart(t,"recipeDetail/addAllIngredientsToCartBtn")};e.showTimeslot(t)||t()},f[18]=e,f[19]=x,f[20]=p):p=f[20];let A=p;if(f[21]!==e||f[22]!==x){g=()=>{if(!e.customerIsLoggedIn)return e.openGlobalModal(ee.STEP_TYPES.LOGIN,{ariaLabel:x("modals.ariaLabel.login")});e.openGlobalModal(ee.STEP_TYPES.CUSTOM_LIST_MODAL,{customListProps:{buttonText:x("cartReviewPage.saveForLaterModal.button"),hideDeleteCheckbox:!0,modalLocation:"recipePage",placeholderText:x("cartReviewPage.saveForLaterModal.placeholder"),items:t.map(ec),standalone:!0,title:x("cartReviewPage.saveForLaterModal.title")},ariaLabel:x("modals.ariaLabel.ingredients")})};let t=Object.keys(e.recipeItemDictionary).filter(t=>!e.recipeItemDictionary[t].isConfigurable);f[21]=e,f[22]=x,f[23]=g}else g=f[23];if(f[24]!==A||f[25]!==E||f[26]!==e||f[27]!==C||f[28]!==x){m=()=>(0,r.jsx)(et.default,{onOutsideClick:E,children:(0,r.jsx)(z,{handleClick:A,analyticsEvents:(0,Q.ZP)(j.recipe_link_click,[{gtmKey:P.linkText,gtmValue:t},{gtmKey:P.recipeName,gtmValue:e&&e.name&&e.name}],J.nv.CLICK),"data-testid":"IngredientsActionAddToCartTestId",children:C?(0,r.jsx)(I.$j,{color:"white",width:"18px"}):t})});let t=e.isPlanningMode?x("recipesDetailsPage.ingredients.addAllToPlanningCartBtnText"):x("recipesDetailsPage.ingredients.addAllToCartBtnText");f[24]=A,f[25]=E,f[26]=e,f[27]=C,f[28]=x,f[29]=m}else m=f[29];f[30]!==e.ingredients?(u=e.ingredients.filter(ep),f[30]=e.ingredients,f[31]=u):u=f[31];let B=u,M=e.ingredients&&e.ingredients.length>0&&B&&B.length>0;return f[32]!==m||f[33]!==Z||f[34]!==e||f[35]!==M||f[36]!==x||f[37]!==g?(h=(0,_.Z)(()=>(0,r.jsxs)(N,{"data-testid":"IngredientsWrapperTestId",children:[(0,r.jsxs)(S,{children:[(0,r.jsxs)(T,{children:[(0,r.jsx)(k,{children:x("recipesDetailsPage.ingredients.title")}),(0,r.jsx)(D,{children:x("recipesDetailsPage.ingredients.subtitle",{numberOfServings:e.servings})})]}),!(0,X.Z)(e.recipeItemDictionary,"Ingredients")&&(0,r.jsxs)(R,{"data-testid":"IngredientsActionButtonsTestId",children:[(0,r.jsx)(z,{buttonStyle:"secondary",handleClick:g,analyticsEvents:(0,Q.ZP)(j.recipe_link_click,[{gtmKey:P.linkText,gtmValue:x("recipesDetailsPage.ingredients.saveToList")},{gtmKey:P.recipeName,gtmValue:e&&e.name&&e.name}],J.nv.CLICK),"data-testid":"IngredientsActionSaveToListTestId",children:x("recipesDetailsPage.ingredients.saveToList")}),M&&(0,r.jsx)(m,{})]})]}),(0,r.jsx)(L,{children:(0,r.jsx)(V,{ingredients:Z})})]}),{componentName:"RecipeShopIngredients"}),f[32]=m,f[33]=Z,f[34]=e,f[35]=M,f[36]=x,f[37]=g,f[38]=h):h=f[38],h});function ed(e){let[,t]=e;return{...t}}function ec(e){return{sku:e}}function ep(e){return e.skus.length>0}let eg=d.ZP.div.withConfig({displayName:"NutritionalInformationWrapper",componentId:"-__sc-c28c68a1-0"})(({theme:e})=>`
440  display: flex;
441  align-items: left;
442  flex-direction: column;
443  background-color: ${e.colors.uiColors.greyscale1};
444  padding: 0 ${p.W0.lg} ${p.W0.lg} ${p.W0.lg};
445  ${(0,g.Z)("sm")} {
446    padding: ${p.W0.sm};
447  }
448`),em=d.ZP.h2.withConfig({displayName:"NutritionalInformationHeader",componentId:"-__sc-c28c68a1-1"})(["margin:0 0 "," 0;"],p.W0.xs),eu=d.ZP.div.withConfig({displayName:"NutritionalInformationBody",componentId:"-__sc-c28c68a1-2"})(({theme:e})=>`
449  font-size: ${e.typography.text.body.fontSize};
450  color: ${e.colors.uiColors.greyscale5};
451`);function eh(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class ef extends(n=l.Component){render(){return(0,_.Z)(()=>(0,r.jsxs)(eg,{children:[(0,r.jsx)(em,{children:this.context.t("recipesDetailsPage.nutritional.title")}),(0,r.jsx)(eu,{dangerouslySetInnerHTML:{__html:this.props.nutritionalInfo}})]}),{componentName:"RecipeNutritionalInformation"})}constructor(...e){super(...e),eh(this,"context",void 0)}}eh(ef,"contextType",w.q);var ex=i(53453),ey=i(61129),eb=i(84849);let ew=d.ZP.div.withConfig({displayName:"ImageContainer",componentId:"-__sc-8a224597-0"})(["width:100vw;position:relative;margin-left:-50vw;height:336px;left:50%;z-index:",";img{object-fit:cover;width:100vw;height:336px;}"],m.x),eI=d.ZP.div.withConfig({displayName:"RecipeHeaderDetails",componentId:"-__sc-8a224597-1"})(({theme:e,hasCalories:t})=>`
452    ${(0,c.E0)()}
453    margin-top: -8%;
454    margin-bottom: ${p.W0.lg};
455    padding: ${p.W0.lg};
456    width: 100%;
457    display: grid;
458    grid-template-rows: auto auto auto auto;
459    background-color: ${e.colors.uiColors.greyscale1};
460    box-shadow: ${c.q.large};
461
462    ${(0,g.Z)("sm",{noLower:!0})} {
463      width: 95%;
464      margin: auto;
465      margin-top: -8%;
466      padding: ${p.W0.sm};
467      grid-template-columns: 50% 50%;
468      grid-template-rows: auto;
469    }
470
471    ${(0,g.Z)("md")} {
472      grid-template-columns: 1fr 1fr 1fr ${t?"1fr":""};
473    }
474
475    ${(0,g.Z)("lg",{noUpper:!0})} {
476      grid-template-columns: 195px 2fr;
477    }
478  `),ev=d.ZP.div.withConfig({displayName:"RecipeImage",componentId:"-__sc-8a224597-2"})(["width:100%;height:100%;grid-column:1/2;grid-row:1/5;display:flex;align-items:start;padding-right:",";img{max-width:171px;max-height:123px;",";}","{img{display:none;}}"],p.W0.sm,(0,c.E0)(),(0,g.Z)("md",{noLower:!0})),eC=d.ZP.div.withConfig({displayName:"RecipeBack",componentId:"-__sc-8a224597-3"})(["width:auto;grid-column:2/3;grid-row:1/2;padding-left:",";justify-self:start;","{display:none;}"],p.W0.xs,(0,g.Z)("md",{noLower:!0})),e$=d.ZP.h1.withConfig({displayName:"RecipeName",componentId:"-__sc-8a224597-4"})(({theme:e})=>`
479    grid-column: 1/3;
480    grid-row: 2/3;
481    justify-self: center;
482    color: ${e.colors.uiColors.greyscale5};
483    padding: ${p.W0.xs};
484    text-align: center;
485    margin: 0;
486    font-size: ${e.typography.text.fontMD.fontSize};
487
488    ${(0,g.Z)("md")} {
489      grid-column: 1/5;
490      grid-row: 2/3;
491    }
492
493    ${(0,g.Z)("lg",{noUpper:!0})} {
494      grid-column: 2/3;
495      grid-row: 2/3;
496      justify-self: start;
497      text-align: left;
498      font-size: ${e.typography.text.fontXL.fontSize};
499    }
500  `),eP=d.ZP.div.withConfig({displayName:"ShortDescription",componentId:"-__sc-8a224597-5"})(({theme:e})=>`
501  font-size:  ${e.typography.text.fontSM.fontSize};
502  color: ${e.colors.uiColors.greyscale5};
503  width: auto;
504  grid-column: 2/3;
505  grid-row: 3/4;
506  justify-self: start;
507  padding: ${p.W0.xs};
508  color: ${e.colors.uiColors.greyscale5};
509
510  ${(0,g.Z)("md",{noLower:!0})} {
511    grid-column: 1/3;
512    grid-row: 3/4;
513    justify-self:center;
514    padding: ${p.W0.xs};
515    text-align: center;
516  }
517
518  ${(0,g.Z)("md")} {
519    grid-column: 1/5;
520  }
521`),e_=d.ZP.div.withConfig({displayName:"RecipeAuthorDesktopWrapper",componentId:"-__sc-8a224597-6"})(["padding:",";","{display:none;}"],p.W0.xs,(0,g.Z)("lg",{noUpper:!0})),ej=d.ZP.div.withConfig({displayName:"RecipeAuthorMobileWrapper",componentId:"-__sc-8a224597-7"})(["","{display:none;}"],(0,g.Z)("md",{noLower:!0})),eZ=d.ZP.div.withConfig({displayName:"RecipeAuthor",componentId:"-__sc-8a224597-8"})(({theme:e})=>`
522  font-size:  ${e.typography.text.fontXS.fontSize};
523  font-weight: ${e.typography.weights.bold};
524  color: ${e.colors.uiColors.greyscale4};
525  width: auto;
526
527  justify-self: start;
528  padding: ${p.W0.xs};
529  color: ${e.colors.uiColors.greyscale4};
530`),eW=d.ZP.div.withConfig({displayName:"PrintAndShareWrapper",componentId:"-__sc-8a224597-9"})(["display:flex;div{margin-right:0 !important;width:100%;}svg{margin-right:",";cursor:pointer;}"],p.W0.xxs),eN=d.ZP.div.withConfig({displayName:"SocialWrapper",componentId:"-__sc-8a224597-11"})(({theme:e})=>`
531  padding: 0 ${p.W0.xs} ${p.W0.xs} ${p.W0.xs};
532  display: flex
533  justify-content: center;
534
535  svg {
536    fill: ${e.colors.brandColors.primary1};
537  }
538  `),eS=(0,d.ZP)(ex.Z).withConfig({displayName:"PrintButton",componentId:"-__sc-8a224597-12"})(["button{min-width:100px;}"]),eL=d.ZP.div.withConfig({displayName:"PrepTime",componentId:"-__sc-8a224597-13"})(({theme:e})=>`
539  display: flex;
540  border-left: 1px solid ${e.colors.uiColors.greyscale2};
541  border-right: 1px solid ${e.colors.uiColors.greyscale2};
542  width: auto;
543  grid-column: 3/4;
544  grid-row: 1/5;
545  text-align: center;
546
547  ${(0,g.Z)("sm")} {
548    grid-column: 1/3;
549    grid-row: 5/6;
550    border-top: 1px solid ${e.colors.uiColors.greyscale2};
551    border-bottom: 1px solid ${e.colors.uiColors.greyscale2};
552    border-left: 0px;
553    border-right: 0px;
554  }
555
556  ${(0,g.Z)("md")} {    
557    justify-content: center;
558    grid-column: 1/2; 
559    grid-row: 5/6;  
560    border-top: 1px solid ${e.colors.uiColors.greyscale2};
561    border-bottom: 1px solid ${e.colors.uiColors.greyscale2};
562    border-left: 0px;
563    border-right: 0px; 
564  }}
565
566`),eT=d.ZP.div.withConfig({displayName:"CookingTime",componentId:"-__sc-8a224597-14"})(({theme:e})=>`
567  display: flex;
568  border-right: 1px solid ${e.colors.uiColors.greyscale2};
569  width: auto;
570  grid-column: 4/5;
571  grid-row: 1/5;
572  text-align: center;
573
574  ${(0,g.Z)("md",{noLower:!0})} {
575    grid-column: 1/3;
576    grid-row: 6/7;
577    border-bottom: 1px solid ${e.colors.uiColors.greyscale2};
578    border-left: 0px;
579    border-right: 0px;
580  }
581
582  ${(0,g.Z)("md")} {
583    justify-content: center;
584    grid-column: 2/3;    
585    grid-row: 5/6;
586    border-top: 1px solid ${e.colors.uiColors.greyscale2};
587    border-bottom: 1px solid ${e.colors.uiColors.greyscale2};
588    border-left: 0px;
589    border-right: 0px;
590  }}
591`),ek=d.ZP.div.withConfig({displayName:"Servings",componentId:"-__sc-8a224597-15"})(({theme:e})=>`
592  display: flex;
593  border-right: 1px solid ${e.colors.uiColors.greyscale2};
594  width: auto;
595  grid-column: 5/6;
596  grid-row: 1/5;
597  text-align: center;
598
599  ${(0,g.Z)("md",{noLower:!0})} {
600    grid-column: 1/3;
601    grid-row: 7/8;
602    border-bottom: 1px solid ${e.colors.uiColors.greyscale2};
603    border-left: 0px;
604    border-right: 0px;
605  }
606
607  ${(0,g.Z)("md")} {
608    justify-content: center;
609    grid-column: 3/4;   
610    grid-row: 5/6; 
611    border-top: 1px solid ${e.colors.uiColors.greyscale2};
612    border-bottom: 1px solid ${e.colors.uiColors.greyscale2};
613    border-left: 0px;
614    border-right: 0px;
615  }}
616`),eD=d.ZP.div.withConfig({displayName:"Calories",componentId:"-__sc-8a224597-16"})(({theme:e})=>`
617  display: flex;
618  width: auto;
619  grid-column: 6/7;
620  grid-row: 1/5;
621  text-align: center;
622
623  ${(0,g.Z)("sm")} {
624    grid-column: 1/3;
625    grid-row: 8/9;
626  }
627
628  ${(0,g.Z)("md")} {
629    justify-content: center;
630    grid-column: 4/5; 
631    grid-row: 5/6; 
632    border-top: 1px solid ${e.colors.uiColors.greyscale2};
633    border-bottom: 1px solid ${e.colors.uiColors.greyscale2};
634    border-left: 0px;
635    border-right: 0px;  
636  }  
637`),ez=d.ZP.div.withConfig({displayName:"UnitsContainer",componentId:"-__sc-8a224597-17"})(({theme:e})=>`
638  flex-direction: column;
639  display: flex;
640  align-items: center;
641  justify-content: center;
642  padding: ${p.W0.xs} 0;
643  color: ${e.colors.uiColors.greyscale5};
644
645  ${(0,g.Z)("md",{noLower:!0})} {
646    flex-direction: row;
647    justify-content: start;
648    padding: ${p.W0.sm} ${p.W0.sm};
649    display: grid;
650    grid-template-column: ${p.W0.lgr} 110px auto;
651    grid-template-rows: auto;
652  }
653
654  ${(0,g.Z)("md")} {
655    display: flex;    
656    flex-direction: column;
657  }
658`),eR=d.ZP.div.withConfig({displayName:"Title",componentId:"-__sc-8a224597-18"})(({theme:e})=>`
659  font-size:  ${e.typography.text.fontSM.fontSize};
660  color: ${e.colors.uiColors.greyscale5};
661  padding: ${p.W0.xxs} ${p.W0.md};
662  color: ${e.colors.uiColors.greyscale7}; 
663  grid-column: 2/3;
664
665  ${(0,g.Z)("md",{noLower:!0})} {
666    padding: ${p.W0.xxs} ${p.W0.xxs};
667    grid-row: 1/2;
668    justify-self: start;
669  }
670  `),eE=d.ZP.div.withConfig({displayName:"UnitValues",componentId:"-__sc-8a224597-19"})(({theme:e})=>`
671  padding: ${p.W0.xxs} ${p.W0.md};
672  font-weight: ${e.typography.weights.bold};
673  color: ${e.colors.uiColors.greyscale5};
674
675  ${(0,g.Z)("md",{noLower:!0})} {
676    padding: ${p.W0.xxs} ${p.W0.xxs};
677    grid-column: 3/4;
678    grid-row: 1/2;
679    justify-self: start;
680  }
681  `),eA=d.ZP.div.withConfig({displayName:"Icon",componentId:"-__sc-8a224597-20"})(({theme:e})=>`
682  padding: ${p.W0.xxs} ${p.W0.md};
683  color: ${e.colors.uiColors.greyscale5};
684
685  ${(0,g.Z)("md",{noLower:!0})} {
686    padding: ${p.W0.xxs};
687    grid-column: 1/2;
688    grid-row: 1/2;
689  }
690  `),eB=(0,d.ZP)(I.u).withConfig({displayName:"ShareTooltip",componentId:"-__sc-8a224597-21"})(["text-align:center;"]),eM=d.ZP.div.withConfig({displayName:"ShareSocialIconsWrapper",componentId:"-__sc-8a224597-22"})(["display:flex;grid-column:2/7;padding-top:",";width:100%;","{grid-column:1/5;grid-row:4/5;justify-self:center;padding:",";text-align:center;}","{flex-direction:column;grid-column:1/3;grid-row:4/5;justify-self:center;padding:",";text-align:center;}"],p.W0.sm,(0,g.Z)("md",{noLower:!0}),p.W0.xs,(0,g.Z)("sm",{noLower:!0}),p.W0.xs),eF=d.ZP.div.withConfig({displayName:"ShareSocialIcons",componentId:"-__sc-8a224597-23"})(["width:100%;min-height:",";"],p.W0.lg),eH=(0,d.ZP)(ey.c).withConfig({displayName:"MobileImage",componentId:"-__sc-8a224597-24"})(["display:none;","{display:unset;}"],(0,g.Z)("sm")),eO=(0,d.ZP)(ey.c).withConfig({displayName:"FeaturedImage",componentId:"-__sc-8a224597-25"})(["","{display:none;}"],(0,g.Z)("sm")),eq=(0,d.ZP)(eb.Z).withConfig({displayName:"TabletBreadcrumb",componentId:"-__sc-8a224597-26"})(["display:flex;padding:",";","{display:none;}","{display:none;}"],p.W0.xs,(0,g.Z)("lg"),(0,g.Z)("xl"));var eU=i(35684),eV=i(80916);let eK=d.ZP.div.withConfig({displayName:"PrintRecipesDetails",componentId:"-__sc-cd669824-0"})(({theme:e})=>`
691    display: none;
692    color: ${e.colors.uiColors.greyscale5};
693    background-color: ${e.colors.uiColors.greyscale1};
694
695    @media print {
696      display: flex;
697      flex-wrap: wrap;
698    }
699  `),eG=d.ZP.div.withConfig({displayName:"PrintHeader",componentId:"-__sc-cd669824-1"})(({theme:e})=>`
700    display: flex;
701    flex-basis: 100%;
702    justify-content: space-between;
703    align-items: center;
704    padding-bottom: ${p.W0.md};
705    border-bottom: 1px solid ${e.colors.uiColors.greyscale3};
706    margin-bottom: ${p.W0.sm};
707  `),eX=(0,d.ZP)(eV.E).withConfig({displayName:"SiteLogo",componentId:"-__sc-cd669824-2"})(["max-width:",";"],"150px"),eY=d.ZP.div.withConfig({displayName:"StoreInfo",componentId:"-__sc-cd669824-3"})(({theme:e})=>`
708    text-align: right;
709    display: grid;
710    font-size: ${e.typography.text.fontSM.fontSize};
711    grid-column: 2/4;
712    justify-self: end;
713`),eQ=d.ZP.div.withConfig({displayName:"RecipeTitleWrapper",componentId:"-__sc-cd669824-4"})(["display:flex;align-items:center;flex-basis:100%;","{max-width:180px;border-radius:4px;}"],eV.E),eJ=d.ZP.div.withConfig({displayName:"RecipeTitle",componentId:"-__sc-cd669824-5"})(({theme:e})=>`
714    font-size: ${e.typography.text.fontLG.fontSize};
715    font-weight: ${e.typography.text.fontLG.fontWeight};
716    margin-left: ${p.W0.md};
717    `),e0=d.ZP.div.withConfig({displayName:"RecipeInfo",componentId:"-__sc-cd669824-6"})(["display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;"]),e1=d.ZP.div.withConfig({displayName:"RecipeInfoBox",componentId:"-__sc-cd669824-7"})(({theme:e})=>`
718    width: calc(50% - ${p.W0.xl});
719    padding: ${p.W0.md};
720    margin: 0 ${p.W0.md};
721    border-bottom: 1px solid ${e.colors.uiColors.greyscale2};
722    display: flex;
723    align-items: center;
724  `),e2=d.ZP.span.withConfig({displayName:"BoxTitle",componentId:"-__sc-cd669824-8"})(["margin:0 ",";"],p.W0.vsm),e3=d.ZP.span.withConfig({displayName:"BoxValue",componentId:"-__sc-cd669824-9"})(({theme:e})=>`
725    font-weight: ${e.typography.weights.bold};
726  `),e4=d.ZP.div.withConfig({displayName:"RecipeIngredients",componentId:"-__sc-cd669824-10"})(["display:inline-block;width:100%;margin:"," ",";"],p.W0.sm,p.W0.lgr),e5=d.ZP.div.withConfig({displayName:"Ingredient",componentId:"-__sc-cd669824-11"})(({theme:e})=>`
727    font-size: ${e.typography.text.fontSM.fontSize};
728    margin-bottom: ${p.W0.vsm};
729  `),e6=d.ZP.div.withConfig({displayName:"ContentTitle",componentId:"-__sc-cd669824-12"})(({theme:e})=>`
730    font-weight: ${e.typography.weights.bold};
731    margin-bottom: ${p.W0.vsm};
732  `),e8=d.ZP.div.withConfig({displayName:"RecipeAdditionalInfo",componentId:"-__sc-cd669824-13"})(({theme:e})=>`
733    display: inline-block;
734    width: 100%;
735    margin: 0 ${p.W0.md};
736    border-top: 1px solid ${e.colors.uiColors.greyscale3};
737    padding: ${p.W0.md} ${p.W0.vsm};
738  `),e7=d.ZP.div.withConfig({displayName:"InfoWrapper",componentId:"-__sc-cd669824-14"})([""]),e9=e=>{let t,i,o,n,a,c,p,g,m,u,h,f,x,y,b,v,C,$=(0,s.c)(52),P=(0,d.Fg)(),{t:_,images:j}=(0,l.useContext)(w.q),{name:Z,directions:W,ingredients:N,calories:S,cookTime:L,galleryImage:T,preparationTime:k,servings:D,nutritionalInfo:z,storeName:R}=e;$[0]!==P?(t=(e,t,i,o)=>(0,r.jsx)(l.Fragment,{children:i&&(0,r.jsxs)(e1,{children:[(0,r.jsx)(I.pA,{name:e,size:"19",fillColor:P.colors.uiColors.greyscale5}),(0,r.jsx)(e2,{children:t}),(0,r.jsx)(e3,{children:o?i+" Minutes":i})]})}),$[0]=P,$[1]=t):t=$[1];let E=t;return $[2]!==j.logos.primary?(i=(0,r.jsx)(eX,{src:j.logos.primary,alt:"Logo"}),$[2]=j.logos.primary,$[3]=i):i=$[3],$[4]!==R||$[5]!==_?(o=_("recipesDetailsPage.printRecipesDetails.title",{storeName:R}),$[4]=R,$[5]=_,$[6]=o):o=$[6],$[7]!==o?(n=(0,r.jsx)(eY,{children:o}),$[7]=o,$[8]=n):n=$[8],$[9]!==i||$[10]!==n?(a=(0,r.jsxs)(eG,{children:[i,n]}),$[9]=i,$[10]=n,$[11]=a):a=$[11],$[12]!==T?(c=T&&(0,r.jsx)(I.Ee,{src:T.url?T.url:"",alt:T.alt?T.alt:""}),$[12]=T,$[13]=c):c=$[13],$[14]!==Z?(p=(0,r.jsx)(eJ,{children:Z}),$[14]=Z,$[15]=p):p=$[15],$[16]!==c||$[17]!==p?(g=(0,r.jsxs)(eQ,{children:[c,p]}
738),$[16]=c,$[17]=p,$[18]=g):g=$[18],$[19]!==E||$[20]!==k?(m=E("RecipePreptime","Prep Time",k,!0),$[19]=E,$[20]=k,$[21]=m):m=$[21],$[22]!==E||$[23]!==D?(u=E("RecipeServings","Servings",D,!1),$[22]=E,$[23]=D,$[24]=u):u=$[24],$[25]!==E||$[26]!==L?(h=E("RecipeCooktime","Cook Time",L,!0),$[25]=E,$[26]=L,$[27]=h):h=$[27],$[28]!==E||$[29]!==S?(f=E("RecipeCalories","Calories",S,!1),$[28]=E,$[29]=S,$[30]=f):f=$[30],$[31]!==h||$[32]!==f||$[33]!==m||$[34]!==u?(x=(0,r.jsxs)(e0,{children:[m,u,h,f]}),$[31]=h,$[32]=f,$[33]=m,$[34]=u,$[35]=x):x=$[35],$[36]!==N||$[37]!==_?(y=N.length&&(0,r.jsxs)(e4,{children:[(0,r.jsx)(e6,{children:_("recipesDetailsPage.printRecipesDetails.ingredients")}),N.map(te)]}),$[36]=N,$[37]=_,$[38]=y):y=$[38],$[39]!==W||$[40]!==_?(b=W&&(0,r.jsxs)(e8,{children:[(0,r.jsx)(e6,{children:_("recipesDetailsPage.printRecipesDetails.directions")}),(0,r.jsx)(e7,{dangerouslySetInnerHTML:{__html:W}})]}),$[39]=W,$[40]=_,$[41]=b):b=$[41],$[42]!==z||$[43]!==_?(v=z&&(0,r.jsxs)(e8,{children:[(0,r.jsx)(e6,{children:_("recipesDetailsPage.printRecipesDetails.nutritional")}),(0,r.jsx)(e7,{dangerouslySetInnerHTML:{__html:z}})]}),$[42]=z,$[43]=_,$[44]=v):v=$[44],$[45]!==x||$[46]!==y||$[47]!==b||$[48]!==v||$[49]!==a||$[50]!==g?(C=(0,r.jsxs)(eK,{children:[a,g,x,y,b,v]}),$[45]=x,$[46]=y,$[47]=b,$[48]=v,$[49]=a,$[50]=g,$[51]=C):C=$[51],C};function te(e,t){return(0,r.jsx)(e5,{children:e.size?`${e.size} ${e.name}`:e.name},t)}let tt=(0,a.$j)((e,t)=>{let i=e.recipes.currentRecipe?.locations?.recipeDetailPage;return{name:t.name??i?.name??"",cookTime:t.cookTime??i?.cookTime,preparationTime:t.preparationTime??i?.preparationTime,galleryImage:t.galleryImage??i?.galleryImage,servings:t.servings??i?.servings,calories:t.calories??i?.calories,directions:t.directions??i?.directions,ingredients:t.ingredients??i?.ingredients??[],nutritionalInfo:t.nutritionalInfo??i?.nutritionalInfo,storeName:e.stores.activeStoreDetails.name}})(e=>{let t,i=(0,s.c)(2);return i[0]!==e?(t=(0,r.jsx)(e9,{...e}),i[0]=e,i[1]=t):t=i[1],t});var ti=i(31097);let to=(0,a.$j)(e=>({recipeLegacyShareLink:e.settings.retailer.recipeLegacyShareLink}))(e=>{let t=(0,d.Fg)(),{t:i,images:o}=l.useContext(w.q),{keys:n,events:s}=J.RecipesGTM,[a,c]=l.useState(!1),p=l.createRef(),g=e.recipeData,m=l.useMemo(()=>l.forwardRef(function(e,t){return(0,r.jsx)(tt,{ref:t,name:g.name,cookTime:g.cookTime,preparationTime:g.preparationTime,galleryImage:g.galleryImage,servings:g.servings,calories:g.calories,directions:g.directions,ingredients:g.ingredients,nutritionalInfo:g.nutritionalInfo})}),[g]),u=(0,r.jsx)(I.zx,{fullWidth:!0,buttonStyle:"primaryLight",icon:"Share",handleClick:()=>b(),analyticsEvents:(0,Q.ZP)(s.recipe_link_click,[{gtmKey:n.linkText,gtmValue:i("recipesDetailsPage.header.buttons.share")},{gtmKey:n.recipeName,gtmValue:e&&e.recipeData&&e.recipeData.name}],J.nv.CLICK),children:i("recipesDetailsPage.header.buttons.share")}),[h,f]=l.useState(u),[x,y]=l.useState([]),b=()=>{c(!0),((e=2e3)=>{setTimeout(()=>void c(!1),e)})(),(0,ti.v)(window.location.href)},v=(e,i,o)=>(0,r.jsxs)(ez,{children:[(0,r.jsx)(eA,{children:(0,r.jsx)(I.pA,{name:e,size:"30",fillColor:t.colors.uiColors.greyscale5})}),(0,r.jsx)(eE,{children:o}),(0,r.jsx)(eR,{children:i})]});l.useEffect(()=>{f(u),y([{active:!1,pageName:i("recipesDetailsPage.header.pillbtns.recipes"),tag:eU.ZP.recipe},{active:!0,pageName:i("recipesDetailsPage.header.pillbtns.recipeDetails"),tag:eU.ZP.recipeDetail}])},[]);let{featuredImage:C,galleryImage:$,name:P,shortDescription:j,author:Z,preparationTime:W,cookTime:N,servings:S,calories:L,mobileImage:T}=e.recipeData;return(0,_.Z)(()=>(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)(eq,{items:x}),(0,r.jsx)("div",{}),(0,r.jsxs)(ew,{children:[(0,r.jsx)(eH,{fallbackSrc:o.missingImg.x3,src:T.url,alt:P,useFallbackImg:!0}),(0,r.jsx)(eO,{fallbackSrc:o.missingImg.x3,src:C.url,alt:P,useFallbackImg:!0})]}),(0,r.jsxs)(eI,{hasCalories:!!L,"data-testid":"recipeHeaderDetails-testId",children:[(0,r.jsx)(ev,{"data-testid":"recipeImage-testId",children:$?(0,r.jsx)(I.Ee,{src:$.url,alt:"",fallbackSrc:o.missingImg.recipes,useFallbackImg:!0}):(0,r.jsx)(I.Ee,{src:C.url,alt:"",fallbackSrc:o.missingImg.recipes,useFallbackImg:!0})}),(0,r.jsx)(eC,{children:(0,r.jsx)(eb.Z,{noTitle:!0,paddingNone:!0,backgroundColor:t.colors.uiColors.greyscale1,items:x})}),(0,r.jsx)(e$,{tabIndex:0,role:"heading","aria-level":1,children:P}),(0,r.jsxs)(eP,{children:[j,(0,r.jsx)(e_,{children:(0,r.jsx)(eZ,{children:Z})})]}),(0,r.jsx)(ej,{children:(0,r.jsx)(eZ,{children:Z})}),(0,r.jsxs)(eM,{children:[(0,r.jsx)(eN,{"data-testid":"recipeSocialWrapperShare-testId",children:(0,r.jsxs)(eW,{children:[(0,r.jsx)(eS,{analyticsEvents:(0,Q.ZP)(s.recipe_link_click,[{gtmKey:n.linkText,gtmValue:i("recipesDetailsPage.header.buttons.print")},{gtmKey:n.recipeName,gtmValue:P}],J.nv.CLICK),ref:p,buttonTitle:i("cartReviewPage.pillBtns.print"),buttonStyle:"primaryLight"}),(0,r.jsx)("span",{ref:p,children:(0,r.jsx)(m,{})}),e.recipeLegacyShareLink&&(0,r.jsx)(eB,{initialPosition:{x:"right",y:"bottom"},content:"link copied",contentWidth:"100px",trigger:h,visible:a})]})}),(0,r.jsx)(eF,{className:"sharethis-inline-share-buttons"})]}),(0,r.jsx)(eL,{"data-testid":"recipePrepTime-testId",children:v("RecipePreptime",i("recipesDetailsPage.header.properties.prepTime.title"),i("recipesDetailsPage.header.properties.prepTime.value",{time:W}))}),(0,r.jsx)(eT,{"data-testid":"recipeCookingTime-testId",children:v("RecipeCooktime",i("recipesDetailsPage.header.properties.cookT
738ime.title"),i("recipesDetailsPage.header.properties.cookTime.value",{time:N}))}),(0,r.jsx)(ek,{"data-testid":"recipeServings-testId",children:v("RecipeServings",i("recipesDetailsPage.header.properties.servings.title"),i("recipesDetailsPage.header.properties.servings.value",{numberOfServings:S}))}),!!L&&(0,r.jsx)(eD,{"data-testid":"recipeCalories-testId",children:v("RecipeCalories",i("recipesDetailsPage.header.properties.calories.title"),i("recipesDetailsPage.header.properties.calories.value",{numberOfCalories:L}))})]})]}),{componentName:"recipe header"})});var tn=i(64079),tr=i(89250),ts=i(78551),tl=i(28144),ta=i(14812),td=i(45991),tc=i(3969),tp=i(51855),tg=i(60503),tm=i(37852),tu=i(46205);let th=(0,a.$j)(e=>({isMobile:e.app.dimensions.width<=p.qv,defaultDocumentTitle:e.translation.title}))(e=>{let t,i,o,n,a,d,c,p,g,m,v,C=(0,s.c)(30),{t:$}=l.useContext(w.q),P=(0,er.TL)(),Z=decodeURIComponent((0,tr.UO)().recipe||"");C[0]!==Z?(t=tl.tL.byId(Z),C[0]=Z,C[1]=t):t=C[1],C[2]!==P||C[3]!==Z?(i=()=>P((0,ta.m)(Z)),C[2]=P,C[3]=Z,C[4]=i):i=C[4];let W=!!Z;C[5]!==t||C[6]!==i||C[7]!==W?(o={queryKey:t,queryFn:i,enabled:W},C[5]=t,C[6]=i,C[7]=W,C[8]=o):o=C[8];let{data:N,isLoading:S,isError:L}=(0,ts.a)(o),T=!!(N?.directions||N?.embeddedVideo),[k,D]=l.useState(T?"directions":"ingredients");C[9]!==T?(n=()=>{D(T?"directions":"ingredients")},a=[T],C[9]=T,C[10]=n,C[11]=a):(n=C[10],a=C[11]),l.useEffect(n,a),C[12]!==N||C[13]!==e.defaultDocumentTitle?(d=()=>{if(N){let t=N.metaTitle||N.name||"";document.title=(0,tm.Z)((0,tu.Z)(t,e.defaultDocumentTitle))}},c=[N,e.defaultDocumentTitle],C[12]=N,C[13]=e.defaultDocumentTitle,C[14]=d,C[15]=c):(d=C[14],c=C[15]),l.useEffect(d,c),C[16]===Symbol.for("react.memo_cache_sentinel")?(p=e=>D(e),C[16]=p):p=C[16];let z=p;C[17]!==N?(g=N?(0,td.Z)(N):null,C[17]=N,C[18]=g):g=C[18];let R=g;C[19]!==N?(m=N?(0,tc.Z)(N.ingredients):null,C[19]=N,C[20]=m):m=C[20];let E=m;if(L||!Z){let e;return C[21]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(tg.default,{}),C[21]=e):e=C[21],e}if(S||!N||!R||!E){let e;return C[22]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(tp.Z,{}),C[22]=e):e=C[22],e}let A=""!==R.directions||""!==R.embeddedVideo;return C[23]!==k||C[24]!==R||C[25]!==e.isMobile||C[26]!==E||C[27]!==A||C[28]!==$?(v=(0,_.Z)(()=>(0,r.jsxs)(u,{children:[(0,r.jsx)(to,{recipeData:R}),e.isMobile?(0,r.jsxs)(I.mQ,{overflowAuto:!1,activeTab:k,onTabSelect:z,children:[A&&(0,r.jsx)(I.OK,{id:"directions",title:$("recipesDetailsPage.directions.title"),children:(0,r.jsx)(b,{children:(0,r.jsx)(j,{directions:R.directions||"",embeddedVideo:R.embeddedVideo||""})})}),(0,r.jsx)(I.OK,{id:"ingredients",title:$("recipesDetailsPage.ingredients.title"),children:(0,r.jsxs)(b,{children:[(0,r.jsx)(ea,{servings:R.servings,name:R.name,ingredients:R.ingredients,recipeItemDictionary:E}),R.nutritionalInfo&&(0,r.jsx)(ef,{nutritionalInfo:R.nutritionalInfo})]})})]}):(0,r.jsxs)(h,{children:[(0,r.jsx)(x,{children:(0,r.jsxs)(y,{children:[(0,r.jsx)(ea,{servings:R.servings,name:R.name,ingredients:R.ingredients,recipeItemDictionary:E}),R.nutritionalInfo&&(0,r.jsx)(ef,{nutritionalInfo:R.nutritionalInfo})]})}),A&&(0,r.jsx)(f,{children:(0,r.jsx)(j,{directions:R.directions||"",embeddedVideo:R.embeddedVideo||""})})]})]}),{componentName:"RecipeDetailV2"}),C[23]=k,C[24]=R,C[25]=e.isMobile,C[26]=E,C[27]=A,C[28]=$,C[29]=v):v=C[29],v}),tf=a.$j(e=>({isMobile:e.app.dimensions.width<=p.qv,pageDetails:e.recipes.currentRecipe.locations.recipeDetailPage}))(e=>{let t,i,o,n,a=(0,s.c)(14),{t:d}=l.useContext(w.q),{shouldUseClientSide:c}=(0,tn.B)(),[p,g]=l.useState(e.pageDetails&&""!==e.pageDetails.directions||e.pageDetails&&""!==e.pageDetails.embeddedVideo?"directions":"ingredients");a[0]===Symbol.for("react.memo_cache_sentinel")?(t=e=>g(e),a[0]=t):t=a[0];let m=t;if(c){let e;return a[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(th,{}),a[1]=e):e=a[1],e}if(!e.pageDetails){let e;return a[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(tg.default,{}),a[2]=e):e=a[2],e}let v=!!e.pageDetails&&(""!==e.pageDetails.directions||""!==e.pageDetails.embeddedVideo);return a[3]!==e.pageDetails?(i=(0,r.jsx)(to,{recipeData:e.pageDetails}),a[3]=e.pageDetails,a[4]=i):i=a[4],a[5]!==p||a[6]!==e.isMobile||a[7]!==e.pageDetails||a[8]!==v||a[9]!==d?(o=e.isMobile?(0,r.jsxs)(I.mQ,{overflowAuto:!1,activeTab:p,onTabSelect:m,children:[v&&(0,r.jsx)(I.OK,{id:"directions",title:d("recipesDetailsPage.directions.title"),children:(0,r.jsx)(b,{children:e.pageDetails&&(0,r.jsx)(j,{directions:e.pageDetails.directions||"",embeddedVideo:e.pageDetails.embeddedVideo||""})})}),(0,r.jsx)(I.OK,{id:"ingredients",title:d("recipesDetailsPage.ingredients.title"),children:(0,r.jsxs)(b,{children:[(0,r.jsx)(ea,{}),e.pageDetails.nutritionalInfo&&(0,r.jsx)(ef,{nutritionalInfo:e.pageDetails.nutritionalInfo})]})})]}):(0,r.jsxs)(h,{children:[(0,r.jsx)(x,{children:(0,r.jsxs)(y,{children:[(0,r.jsx)(ea,{}),e.pageDetails.nutritionalInfo&&(0,r.jsx)(ef,{nutritionalInfo:e.pageDetails.nutritionalInfo})]})}),v&&(0,r.jsx)(f,{children:e.pageDetails&&(0,r.jsx)(j,{directions:e.pageDetails.directions||"",embeddedVideo:e.pageDetails.embeddedVideo||""})})]}),a[5]=p,a[6]=e.isMobile,a[7]=e.pageDetails,a[8]=v,a[9]=d,a[10]=o):o=a[10],a[11]!==i||a[12]!==o?(n=(0,r.jsxs)(u,{children:[i,o]}),a[11]=i,a[12]=o,a[13]=n):n=a[13],n})},14812:(e,t,i)=>{i.d(t,{m:()=>u});var o=i(59194),n=i(65291),r=i(65846),s=i(72400);i(71460),i(92762);var l=i(1604),a=i(81762),d=i(59537);let c=l.z.object({url:l.z.string().nullish(),alt:l.z.string().nullish(),title:l.z.string().nullish()}).nullish(),p=l.z.array(l.z.object({productId:l.z.string().nullish(),sku:l.z.string().nullish(),name:l.z.string().nullish(),description:l.z.string().nullish(),brand:l.z.string().nullish(),priceLabel:l.z.string().nullish(),priceNumeric:l.z.number().nullish(),wholePrice:l.z.number().nullish(),price:l.z.string().nullish(),wasPriceNumeric:l.z.number().nullish(),wasPrice:l.z.string().nullish(),wasUnitPrice:l.z.string().nullish(),adId:l.z.string().nullish(),isSponsored:l.z.boolean().nullish(),recommendationSourceId:l.z.string().nullish(),pricePerUnit:l.z.string().nullish(),unitOfSize:a.bN,unitOfMeasure:a.bN,unitOfPrice:a.bN,taxDetails:a.ax,sellBy:l.z.string().nullish(),attributes:l.z.record(l.z.any()).nullish(),defaultCategory:a.$2,categories:a.$2,isFavorite:l.z.boolean(),isPastPurchased:l.z.boolean(),image:l.z.record(l.z.any()).nullish(),promotionInfo:a._j,promotions:a._j,points
738BasedPromotions:a._j,totalNumberOfPromotions:l.z.number(),weightIncrement:a.tJ,shoppingRuleMessages:a.s$,available:l.z.boolean(),wasWholePrice:l.z.number().nullish(),tprPrice:a._3,priceSource:a.GB,isConfigurable:l.z.boolean()}).transform(e=>({...e,shoppingRuleMessages:(0,d.Z)(e.shoppingRuleMessages,"recipeSchema")||[]})).nullish()).nullish(),g=l.z.array(l.z.object({size:l.z.string().nullish(),name:l.z.string().nullish(),items:p})).nullish(),m=l.z.object({id:l.z.string().nullish(),status:l.z.string().nullish(),name:l.z.string().nullish(),author:l.z.string().nullish(),shortDescription:l.z.string().nullish(),directions:l.z.string().nullish(),nutritionalInfo:l.z.string().nullish(),galleryImage:c,featuredImage:c,mobileImage:c,badgeImage:c,embeddedVideo:l.z.string().nullish(),storeIds:l.z.array(l.z.string()).nullish(),tags:l.z.record(l.z.array(l.z.any().nullish()).nullish()).nullish(),cookTime:l.z.number(),preparationTime:l.z.number(),servings:l.z.number(),calories:l.z.number().nullish(),priority:l.z.number(),start:l.z.string().nullish(),end:l.z.string().nullish(),ingredients:g,metaTitle:l.z.string().nullish(),metaDescription:l.z.string().nullish(),metaKeywords:l.z.array(l.z.string()).nullish(),metaTags:l.z.record(l.z.string().nullish()).nullish()}),u=(e,t=o.sg,i=(0,r.Z)())=>async(o,r)=>{try{let o=r(),n=`stores/${o.stores.retailerStoreId}/recipes/${e}`,l={headers:{...(0,s.Z)(o,i),Accept:"application/json"}},a=await t.get(n,l);return m.parse(a.data)}catch(t){throw n.logger.error("getRecipeDetail()",t,{recipeId:e,location:"getRecipeDetail"}),t}}}}]);

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.