1"use strict";(self.webpackChunkpuratos_react=self.webpackChunkpuratos_react||[]).push([[954],{5004(e,s,c){c.r(s),c.d(s,{RecipeSocialProof:()=>p,default:()=>h});var r=c(96540),i=c(19115),a=c(54585),o=c(79393),l=c(64030),t=c(18819),n=c(10310),d=c(93559),m=c(66797),u=c(74848);const p=({resource:e,resourceLoading:s})=>{const c=(0,i.useSelector)(a.nU),o=(0,i.useSelector)(d.OV),p=(0,m.GO)(),h=(0,i.useDispatch)();return(0,r.useEffect)(()=>{c&&h((0,n._V)())},[h,c]),s||!e?.recipes||e?.recipes?.length<1?null:(0,u.jsx)("div",{className:"container",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"social-proof container-fluid",children:(0,u.jsxs)("div",{className:"row",children:[(0,u.jsx)("div",{className:"col-md-12",children:(0,u.jsx)("h5",{children:p(e?.title,e?.productName)})}),(0,u.jsx)("div",{className:"col-md-12"+(e?.buttonVisible?"":" p-margin-bottom-sm"),children:(0,u.jsx)("div",{className:"row",children:(0,u.jsx)(l.b,{children:e?.recipes?.map(e=>(0,u.jsx)(t.A,{item:e,isCarousel:!0,isFavorite:!!o?.find(s=>s.recipeId===e.id)},e.id))})})}),e?.buttonVisible&&(0,u.jsx)("div",{className:"social-proof__button col-md-12 p-flex p-justify-center p-margin-top-md p-margin-bottom-md",children:(0,u.jsx)("a",{className:"btn-primary",href:e?.tagLink,children:p(e?.buttonText,e?.productName)})})]})})})})},h=(0,i.connect)((e,s)=>({resource:(0,a.W_)(e,s.model)||{},resourceLoading:(0,o.DG)(e,s.model)}),{})(p)}}]); 2//# sourceMappingURL=recipeSocialProof.d4c9c298.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.