(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85],{44893:function(e,n,r){"use strict";r.d(n,{_:function(){return o}});var a=r(5632),t=r(36928),i=r(25900),s=r(52322),o=function(e){var n=e.children,r=e.heroVariant,o=(0,a.useRouter)(),c=r&&"leftAligned"!==r||o.route===i.Vp.journal||o.route===i.Vp.all||o.route===i.Vp.collections||!1;return(0,s.jsx)(t.i,{isImmersiveVariantOn:c,children:n})}},24008:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return o}});var a=r(44893),t=r(4845),i=r(52322);function s(e){var n=e.page;return(0,i.jsx)(t.w,{page:n})}s.getLayout=function(e){return(0,i.jsx)(a._,{children:e})};var o=!0;n.default=s},35956:function(e,n,r){"use strict";r.d(n,{a:function(){return m}});var a=r(35822),t=r(2784),i=r(5632),s=r(72779),o=r.n(s),c=r(25900),u=r(78762),l=r(40025),d=r.n(l),h=r(52322),g=[{title:"All",href:c.ep.all},{title:"Real Weddings",href:c.ep.realWeddings},{title:"Wedding Planning",href:c.ep.weddingPlanning},{title:"List Inspiration",href:c.ep.listInspiration},{title:"Interviews",href:c.ep.interviews},{title:"Meet the Maker",href:c.ep.meetTheMaker},{title:"News",href:c.ep.news},{title:"Collections",href:c.ep.collections}],_=function(e){var n=e.className,r=(0,i.useRouter)(),s=(0,u.dzH)().isOnMobileBreakpoint,c=(0,t.useMemo)(function(){return g.map(function(e){var n=e.title,t=e.href;return(0,h.jsx)(a._Du,{as:"a",variant:"link-primary-clean",href:t,label:n,className:o()(d().cta,r.asPath.includes(t)&&"/"!==t&&d().active)},"navigation-option-".concat(n))})},[g]);return(0,h.jsx)("div",{className:n,children:s?(0,h.jsx)(a.lr9,{variant:"clean",items:c,className:d().carousel,swiperProps:{pagination:!1,spaceBetween:16,slidesPerView:"auto",slidesOffsetBefore:22,slidesOffsetAfter:22},slideProps:{className:d().slide}}):(0,h.jsx)("div",{className:d().navigation,children:c})})},f=r(88422),p=r(33044),v=r.n(p),m=function(e){var n=e.searchQuery,r=e.isSearchBarShown,t=e.changeSearchQuery;return(0,h.jsxs)(a.rjZ,{className:v().rootGrid,children:[(0,h.jsx)(_,{className:v().navigationGrid}),r&&(0,h.jsx)(f.E,{className:v().searchBarGrid,searchQuery:n,changeSearchQuery:t,placeholder:"Search"})]})}},4845:function(e,n,r){"use strict";r.d(n,{w:function(){return x}});var a=r(52746),t=r(2784),i=r(5632),s=r(36386),o=r(35822),c=r(23538),u=r.n(c),l=r(52322),d=function(e){var n=e.searchQuery;return(0,l.jsxs)(o.rjZ,{className:u().notFound,children:[(0,l.jsxs)(o.X6q,{variant:"h4",className:u().heading,children:['No results for "',n,'".']}),(0,l.jsxs)(o.xvT,{className:u().text,children:["We've searched high and low, but unfortunately, we couldn't find any results for ",(0,l.jsxs)("span",{className:u().searchQuery,children:['"',n,'"']}),".",(0,l.jsx)("br",{}),"Please refine your search or try another term. Wedding list inspiration is just around the corner."]})]})},h=r(25900),g=function(e){var n=e.articles,r=e.searchQuery;return n.length?(0,l.jsx)(o.dz2,{articles:n,title:"".concat(n.length," results for ‘").concat(r,"’"),category:h.wZ.ALL}):(0,l.jsx)(d,{searchQuery:r})},_=r(35956),f=r(11175),p=r(46342),v=r(72067),m=r.n(v),x=function(e){var n,r,c=e.page,u=(0,i.useRouter)(),d=(0,t.useState)(!1),h=d[0],v=d[1],x=(0,t.useState)(!1),j=x[0],y=x[1],w=(0,t.useState)(""),N=w[0],C=w[1],S=(0,t.useState)([]),b=S[0],k=S[1],I=(0,t.useMemo)(function(){return N},[h]),Q=(0,t.useCallback)((0,s.debounce)(function(e){v(!0),(0,p.fR)({search:e}).then(function(e){v(!1),y(!0),k(e)})},300),[]),P=c.articles.map(function(e){return{urlSlug:e.urlSlug,articleCard:e.articleCard}}).slice(0,12);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.H,{contentType:"journal",title:c.metaTitle,metaDescription:c.metaDescription,ogURL:u.asPath,ogImageURL:null===(r=c.openGraphImage)||void 0===r?void 0:r.url,articleList:P}),c.heroCarousel&&(0,l.jsx)(o.k10,{slides:c.heroCarousel.slides,carouselVariant:c.heroCarousel.carouselVariant,backgroundColour:c.heroCarousel.backgroundColour}),(0,l.jsxs)(o.W20,{className:m().header,children:[c.title&&(0,l.jsx)(o.X6q,{className:m().categoryName,children:c.title}),(0,l.jsx)(_.a,{searchQuery:N,isSearchBarShown:!0,changeSearchQuery:function(e){C(e),0!==e.length?Q(e):(v(!1),y(!1),C(""),k([]))}})]}),(0,l.jsx)(o.W20,{className:m().container,children:j?(0,l.jsx)(g,{searchQuery:I,articles:b}):(0,l.jsx)(o.dz2,{articles:(0,a.Z)(c.articles).reverse(),category:c.category})}),null===(n=c.sections)||void 0===n?void 0:n.map(function(e){switch(e.__typename){case"OverlayBannerSection":return(0,l.jsx)(o.IRW,{bannerVariant:e.bannerVariant,image:e.image,textContent:e.textContent,review:e.review,opacity:e.opacity,textPosition:e.textPosition,paddingBottom:e.paddingBottom,paddingTop:e.paddingTop,backgroundColour:e.backgroundColour},e.id);case"DisplaySection":return(0,l.jsx)(o.mii,{heading:e.heading,displayImage:e.displayImage,articleItems:e.articleItems,backgroundColour:e.backgroundColour,cta:e.cta,products:e.products},e.id);case"FlexibleText":return(0,l.jsx)(o.Koh,{textColumns:e.textColumns,heading:e.heading,sectionId:e.name},e.id);default:return null}})]})}},58207:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/journal/interviews",function(){return r(24008)}])},40025:function(e){e.exports={navigation:"navigation_navigation__wHa_9",cta:"navigation_cta__DIypL",active:"navigation_active__bpBPq",carousel:"navigation_carousel__rFzuC",slide:"navigation_slide__mqVSl"}},33044:function(e){e.exports={rootGrid:"journal-navigation_rootGrid__JRgir",navigationGrid:"journal-navigation_navigationGrid__CQkI3",searchBarGrid:"journal-navigation_searchBarGrid__Bvprr"}},23538:function(e){e.exports={notFound:"not-found_notFound__6PXwR",heading:"not-found_heading__Di3yh",text:"not-found_text___9Xgh",searchQuery:"not-found_searchQuery__vgaQ1"}},72067:function(e){e.exports={container:"journal-screen_container__FIoI3",header:"journal-screen_header__ew8kq",categoryName:"journal-screen_categoryName__2QOw3"}}},function(e){e.O(0,[7082,8548,2888,9774,179],function(){return e(e.s=58207)}),_N_E=e.O()}]);