1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9387],{3065:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});var a=t(7876),n=t(8230),i=t.n(n),r=t(9099);function l(e){let s=(0,r.useRouter)(),t=e.categoryFilters||!1;return(0,a.jsx)("div",{className:"blog-filters",children:(0,a.jsxs)("p",{className:"filters text-center",children:[(0,a.jsx)(i(),{href:"/blog/",className:`btn btn-outline-dusk m-10 ${-1!=s.asPath.indexOf("/blog/")?"active":""}`,children:"All"}),(!t||t?.news.p.o.t>0)&&(0,a.jsx)(i(),{href:"/news/",className:`btn btn-outline-dusk m-10 ${-1!=s.asPath.indexOf("/news/")?"active":""}`,children:"News"}),(!t||t?.offers.p.o.t>0)&&(0,a.jsx)(i(),{href:"/offers/",className:`btn btn-outline-dusk m-10 ${-1!=s.asPath.indexOf("/offers/")?"active":""}`,children:"Offers"}),(!t||t?.events.p.o.t>0)&&(0,a.jsx)(i(),{href:"/events/",className:`btn btn-outline-dusk m-10 ${-1!=s.asPath.indexOf("/events/")?"active":""}`,children:"Events"}),(!t||t?.recipes.p.o.t>0)&&(0,a.jsx)(i(),{href:"/recipes/",className:`btn btn-outline-dusk m-10 ${-1!=s.asPath.indexOf("/recipes/")?"active":""}`,children:"Recipes"}),(!t||t?.bedrooms.p.o.t>0)&&(0,a.jsx)(i(),{href:"/bedrooms/",className:`btn btn-outline-dusk m-10 ${-1!=s.asPath.indexOf("/bedrooms/")?"active":""}`,children:"Bedrooms"})]})})}},3346:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSP:()=>j,default:()=>v});var a=t(7876),n=t(7328),i=t.n(n),r=t(2885),l=t(3135),o=t(4220),d=t(4078),c=t(7786),h=t(4830),m=t(4076),x=t(6768),u=t(3065),f=t(3566),g=t(4113);async function p(e=""){let s=await fetch("/api/wordpress/posts",{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify({query:e})});return await s.json()}var j=!0;function v({category:e,pageIndex:s,pathName:t,postsPage:n,posts:j,categoryFilters:b,heroContent:w,settings:N,preview:P}){let A=!!n?.seo&&{...n.seo},y=n?.pageOptions.cssClass?" "+n.pageOptions.cssClass:"",$=N?.reading.postsPerPage||9;A.canonical=null;let{data:_,pageInfo:O,isLoading:D,isError:k}=function(s,t){let a=` 2 { 3 posts: filteredPosts(first: ${$}, after: "${(s-1)*$}", before: "${e}") { 4 pageInfo { 5 offsetPagination { 6 hasMore 7 hasPrevious 8 total 9 } 10 } 11 edges { 12 node { 13 slug 14 title 15 date 16 excerpt 17 singlePost { 18 expiryDate 19 } 20 categories { 21 nodes { 22 slug 23 } 24 } 25 featuredImage { 26 node { 27 sourceUrl(size: MEDIUM_LARGE) 28 mediaDetails { 29 sizes(include: MEDIUM_LARGE) { 30 width 31 height 32 } 33 width 34 height 35 } 36 } 37 } 38 } 39 } 40 } 41 } 42 `,{data:n,error:i,isLoading:r}=(0,x.Ay)(a,p,{fallbackData:t?{posts:t}:void 0,revalidateOnMount:!1});return{data:s?n?.posts?.edges:null,pageInfo:s?n?.posts?.pageInfo:null,isLoading:r,isError:i}}(s,j);return(0,a.jsxs)(c.A,{preview:P,seo:A,bodyClass:`archive blog${y}`,signup:!0,children:[(0,a.jsx)(i(),{children:(0,a.jsx)("title",{children:A?n.seo.title:n.title})}),(0,a.jsxs)(l.A,{children:[!n?.pageOptions.hideTitle&&(0,a.jsx)(h.A,{title:n.title}),(0,a.jsx)("div",{className:"entry-content",children:n.content&&(0,r.A)(n.content)}),(0,a.jsx)(u.A,{categoryFilters:b}),_&&(0,a.jsx)(o.A,{children:_.map(({node:e})=>(0,a.jsx)(d.A,{md:"6",lg:"4",children:(0,a.jsx)(m.A,{node:e})},e.slug))}),(0,a.jsx)(g.A,{pageIndex:s,pathname:t,total:j?.pageInfo?.offsetPagination?.total,postsPerPage:$})]}),(0,a.jsx)(f.A,{postID:n?.id})]})}},4076:(e,s,t)=>{"use strict";t.d(s,{A:()=>d});var a=t(7876),n=t(8230),i=t.n(n),r=t(9022),l=t(8579),o=t(593);function d({node:e,skin:s="default"}){let t=e.title,n=e.slug,c=e.featuredImage,h=e.excerpt,m=e.date?(0,l.A)(new Date(e.date),"MMMM d, Y"):null,x=!!e.singlePost?.expiryDate&&e.singlePost?.expiryDate.replace(":00",""),u=!!x&&x.slice(0,x.indexOf("at")),f=!!e.categories&&e.categories.nodes.map(e=>e.slug),g="news";-1!=f.indexOf("events")?g="events":-1!=f.indexOf("offers")?g="offers":-1!=f.indexOf("recipes")&&(g="recipes");let p={default:{btn:"btn btn-outline-dusk",title:""},related:{btn:"readmore text-linen",title:" text-linen"}},j={news:m,offers:x?"Valid until "+u:m,events:x?"Valid until "+u:m,recipes:"Recipes and tips",bedrooms:x?"Valid until "+u:"Rooms"},v=!!x&&new Date(e.singlePost?.expiryDate.slice(0,x.indexOf("at"))).getTime();return"offers"==g&&v&&(0,o.aM)(v)&&(j[g]="No longer available"),"events"==g&&v&&(0,o.aM)(v)&&(j[g]="This event has concluded"),(0,a.jsxs)("div",{className:"entry text-center d-flex flex-column h-100 align-items-center pb-50",children:[(0,a.jsx)(i(),{href:`/blog/${n}`,className:"d-block w-100",children:c&&(0,a.jsx)(r.A,{title:t,coverImage:c,className:"ratio ratio-1x1 overflow-hidden"})}),(0,a.jsx)("p",{className:"entry-meta mt-30 mb-0",children:(0,a.jsx)("em",{children:j[g]})}),(0,a.jsx)("h2",{className:"fs-4 mt-0 mb-30 px-15",children:(0,a.jsx)(i(),{href:`/blog/${n}`,className:`text-decoration-none${p[s].title}`,dangerouslySetInnerHTML:{__html:t}})}),h&&(0,a.jsx)("div",{className:"post-excerpt px-15",dangerouslySetInnerHTML:{__html:h}}),(0,a.jsx)(i(),{href:`/blog/${n}`,className:`${p[s].btn} mt-auto`,children:"Read more"})]})}},4113:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});var a=t(7876),n=t(8230),i=t.n(n),r=t(997);function l(e){let s=e.pageIndex||1,t=e.pathname,n=e.total,l=e.postsPerPage,o=e?.isArchive||!1;return(0,a.jsxs)("div",{className:"blog-pagination my-50 my-lg-100",children:[(0,a.jsxs)(r.A,{size:"sm",className:"justify-content-center my-4 list-unstyled",children:[(0,a.jsx)("li",{className:"page-item mx-15",children:s>1?(0,a.jsxs)(i(),{href:`${t}${s>2?"?page="+(s-1):""}`,className:"border border-0",rel:"prev",children:[(0,a.jsx)("span",{"aria-hidden":"true",children:(0,a.jsx)("svg",{className:"icon-arrow-down turn-cw-90 me-15",fill:"currentColor",viewBox:"0 0 12 18",children:(0,a.jsx)("use",{href:"/images/icon.svg#arrow-down"})})})," Previous page"]}):(0,a.jsxs)("span",{className:"border border-0 disabled-link",children:[(0,a.jsx)("span",{"aria-hidden":"true",children:(0,a.jsx)("svg",{className:"icon-arrow-down turn-cw-90 me-15",fill:"currentColor",viewBox:"0 0 12 18",children:(0,a.jsx)("use",{href:"/images/icon.svg#arrow-down"})})})," Previous page"]})}),(0,a.jsx)("li",{className:"page-item mx-15",children:n>s*l?(0,a.jsxs)(i(),{href:`${t}?page=${s+1}`,className:"border border-0",rel:"next",children:["Next page ",(0,a.jsx)("span",{"aria-hidden":"true",children:(0,a.jsx)("svg",{className:"icon-arrow-down turn-ccw-90 ms-15",fill:"currentColor",viewBox:"0 0 12 18",children:(0,a.jsx)("use",{href:"/images/icon.svg#arrow-down"})})})]}):(0,a.jsxs)("span",{className:"border border-0 disabled-link",children:["Next page ",(0,a.jsx)("span",{"aria-hidden":"true",children:(0,a.jsx)("svg",{className:"icon-arrow-down turn-ccw-90 ms-15",fill:"currentColor",viewBox:"0 0 12 18",children:(0,a.jsx)("use",{href:"/images/icon.svg#arrow-down"})})})]})})]}),(0,a.jsx)("p",{className:"text-center page-item",children:o?(0,a.jsx)("a",{href:"/blog/",children:"Back to Blog"}):(0,a.jsx)("a",{href:"/archive/",children:"Archive"})})]})}},4830:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var a=t(7876);function n(e){return(0,a.jsx)("div",{className:"page-header row",children:(0,a.jsxs)("div",{className:"col-12 col-lg-10 offset-lg-1 mt-lg-150",children:[e.children,(0,a.jsx)("h1",{className:"page-header text-center text-lg-start mx-0 my-30 mt-lg-0",children:e.title})]})})}},7838:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/bedrooms",function(){return t(3346)}])},9022:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var a=t(7876),n=t(4587),i=t.n(n);function r({title:e,coverImage:s,className:t=""}){let n=s.node?.mediaDetails?.sizes?s.node?.mediaDetails.sizes[0].width:s.node?.mediaDetails.width,l=s.node?.mediaDetails?.sizes?s.node?.mediaDetails.sizes[0].height:s.node?.mediaDetails.height,o=(0,a.jsx)(i(),{width:n,height:l,alt:`Cover Image for ${e}`,src:s?.node.sourceUrl,className:"img-fluid"});return(0,a.jsx)("div",{className:`featured-image text-center ${t}`,children:o})}}},e=>{e.O(0,[8230,9172,3178,8579,3844,1464,7786,3566,636,6593,8792],()=>e(e.s=7838)),_N_E=e.O()}]);
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.