1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8208],{2168:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/recipes/category/[slug]",function(){return t(98046)}])},98046:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSP:()=>T,default:()=>_});var r=t(37876),s=t(29864),i=t(18847),l=t.n(i),o=t(14232),n=t(3562),c=t(62667),d=t(7710),p=t(68783),g=t(44167),b=t(36894),u=t(38021),m=t(10506),h=t(47131);let y=l()(()=>Promise.resolve().then(t.bind(t,68831)).then(e=>e.Grid),{loadableGenerated:{webpack:()=>[68831]},ssr:!0}),x=l()(()=>Promise.resolve().then(t.bind(t,68831)).then(e=>e.GridRow),{loadableGenerated:{webpack:()=>[68831]},ssr:!0}),C=l()(()=>t.e(703).then(t.bind(t,50703)).then(e=>e.IntroText),{loadableGenerated:{webpack:()=>[50703]},ssr:!0}),f=l()(()=>t.e(2995).then(t.bind(t,32995)).then(e=>e.Breadcrumbs),{loadableGenerated:{webpack:()=>[32995]},ssr:!0}),j=l()(()=>t.e(1428).then(t.bind(t,51428)).then(e=>e.SocialMedia),{loadableGenerated:{webpack:()=>[51428]},ssr:!0}),k=l()(()=>Promise.all([t.e(1622),t.e(9888),t.e(1116),t.e(1513),t.e(4411),t.e(2545)]).then(t.bind(t,4411)).then(e=>e.SliderCarousel),{loadableGenerated:{webpack:()=>[4411]},ssr:!0}),v=l()(()=>Promise.all([t.e(1622),t.e(9888),t.e(1875)]).then(t.bind(t,91875)).then(e=>e.Subcategory),{loadableGenerated:{webpack:()=>[91875]},ssr:!0}),w=l()(()=>t.e(3979).then(t.bind(t,83979)).then(e=>e.Spacer),{loadableGenerated:{webpack:()=>[83979]},ssr:!0}),S=function({locale:e,category:a,dynamicPageComponents:t,followUsData:s,breadcrumbsCMSData:i,searchOverlayData:l,refinementList:S,difficultyCopy:T,recipeCopy:_,globalMetadata:N,searchItemLabels:D,searchPageLabels:I,host:M,initialRecipes:G,initialTotalResults:P,initialFacets:E}){let{pathTranslations:L,userToken:F}=(0,d.S)(),R=c.K.getCopy("see_video",_),$=a?.recipeCategories[0]?.heroCarouselComponent,O=a?.recipeCategories[0]?.introText,A=a?.recipeCategories[0]||{},U={subHeading:A?.recipeSubcategorySuper,heading:A?.recipeSubcategoryTitle},B=[{slug:L.recipes,displayName:i?.recipesText?.value}],H=A?.recipeSubcategories?.map(e=>{let t=e?.totalRecipes;return{productsAmount:`${t||0} ${a?.recipesText?.value||"recipes"}`,categoryId:e?.id,category:A.name,id:e?.id,images:{desktop:e?.promoImage?.asset?.[0]?.desktop,mobile:e?.promoImage?.asset?.[0]?.mobile,mimeType:e?.promoImage?.asset?.[0]?.mimeType},title:e?.recipeSubCategoryName,link:{url:`${L.recipesSubCategory}${A?.slug}/${e?.slug}`,displayName:""}}}),[V,X]=(0,o.useState)(l);return(0,o.useEffect)(()=>{if(!V.searchClient){let e=(0,n.A)();X({...V,searchClient:e})}},[l]),(0,o.useEffect)(()=>{p.b.contentGroups({cg1:"recipe categories",cg2:A?.name||""})},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f,{titles:i,pageName:a?.recipeCategories[0]?.name,categories:B}),!$&&(0,r.jsx)(w,{}),(0,r.jsxs)("div",{className:"mx-auto flex flex-col items-center mb-40 relative overflow-x-hidden",children:[$&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(k,{bannerMasterbrands:$?.bannerMasterbrands,banners:$?.banners,isForBanners:!0,type:"carousel",watchVideoLabel:R}),(0,r.jsx)(w,{height:50})]}),O&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C,{super:O.super??"",title:O.title??"",description:O.description??"",titleTag:O.titleTag??""}),(0,r.jsx)(w,{})]}),H&&!!H?.length&&(0,r.jsx)(v,{titles:O?null:U,cardData:H,subcategoryCardVariation:"object",trackingEvent:e=>{p.b.subcategoryComponentRecipeClick(e.category||"na",e.title||"na")}}),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(y,{children:(0,r.jsx)(x,{children:(0,r.jsx)("div",{className:"mt-20 mb-5",children:(0,r.jsxs)(b.gq,{locale:e,refinementList:S,linkText:I?.see_recipe,initialRecipes:G,initialTotalResults:P,initialFacets:E,children:[(0,r.jsx)(m.W,{title:a.recipeCategories?.[0].recipeSubcategoryTitle,searchItemLabels:D}),(0,r.jsx)(u.T,{userToken:F,host:M,difficultyCopy:T,categoryName:a?.recipeCategories?.[0]?.name}),(0,r.jsx)(h.d,{loadMoreLabel:I?.load_more})]})})})})})]}),t&&(0,r.jsx)(g.A,{components:t,copy:[],globalMetadata:N,recipeCopy:_,difficultyCopy:T,searchItemLabels:D,searchData:V}),s&&(0,r.jsx)(j,{id:s.id,super:s.super,title:s.title,socialMedia:s.socialMedia,middlegroundImage:s.middlegroundImage,foregroundImage:s.foregroundImage})]})};var T=!0;let _=e=>{let{metaData:a,searchItemLabels:t,recipeCopy:i,breadcrumbsCMSData:l,footerNavData:o,footerImage:n,locale:c,searchOverlayData:d,countrySelectorData:p,newsletterData:g,contactUsUrl:b,difficultyCopy:u,getHeaderNav:m,getMobileNavData:h,popularSearchData:y,cardCarouselCMSData:x,recallData:C,recipeEnv:f,dynamicPageComponents:j,searchPageLabels:k,category:v,followUsData:w,host:T,refinementList:_,recipes:N,numberOfRecipes:D,facets:I,pathTranslations:M,userToken:G,globalDictionary:P}=e;return(0,r.jsx)(s.P,{themeName:void 0,pathTranslations:M,locale:c,globalMetadata:a,getHeaderNav:m,getMobileNavData:h,popularSearchData:y,footerNavData:o,footerImage:n,searchOverlayData:d,countrySelectorData:p,newsletterData:g,contactUsUrl:b,difficultyCopy:u,cardCarouselCMSData:x,recallData:C,userToken:G,globalDictionary:P,children:(0,r.jsx)(S,{category:v,dynamicPageComponents:j,locale:c,followUsData:w,recipeCopy:i,refinementList:_,initialRecipes:N,initialTotalResults:D,initialFacets:I,host:T,recipeEnv:f,searchItemLabels:t,breadcrumbsCMSData:l,searchOverlayData:d,difficultyCopy:u,globalMetadata:a,searchPageLabels:k})})}}},e=>{e.O(0,[6618,4194,6988,362,641,3266,6564,8783,7631,9864,3781,6719,732,636,6593,8792],()=>e(e.s=2168)),_N_E=e.O()}]); 2//# sourceMappingURL=[slug]-b6ded3d141b45f03.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.