PageSourceSearch

https://www.laterooms.com/_next/static/chunks/2096-21112441cc2944aa.js

js laterooms.com collected 2026-10-02 03:30:08 UTC 41,422 bytes, 195 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2096,1570],{33977:function(e,t,n){n.d(t,{Z:function(){return U}});var r=n(85893),a=n(67294),i=n(11163),o=n(68806),l=n(2448),s=n(54572),c=n(50661),d=n(71157),p=n(29379),h=n(57707),u=n(57439),m=n(35887),g=n(89145),f=n(20189),y=n(1623),b=n(49092),x=n(14902),w=n(21570),k=n(9915),$=n(13223),j=n(80150),_=n(9008),v=n.n(_),C=n(20360);let S=c.default.div.withConfig({componentId:"sc-716c127a-0"})(["width:100%;"]),T=c.default.div.withConfig({componentId:"sc-716c127a-1"})(["display:flex;justify-content:center;gap:0.5rem;"]),P=c.default.a.withConfig({componentId:"sc-716c127a-2"})(["color:",";background-color:",";border:1px solid ",";cursor:",";padding:0.75rem 1rem;display:inline-flex;align-items:center;justify-content:center;display:",";font-size:1rem;cursor:pointer;font-weight:700;border-radius:0.25rem;transition:background 0.2s ease-in-out 0s;text-decoration:none;display:flex;justify-content:center;&:hover{color:",";background-color:",";}img{filter:invert(14%) sepia(41%) saturate(4815%) hue-rotate(258deg) brightness(97%) contrast(121%);height:1.25rem;}&:hover{img{filter:invert(100%);}}"],({$isCurrent:e,theme:t})=>e?`${t.colors.white}`:`${t.colors.primary}`,({$isCurrent:e,theme:t})=>e?`${t.colors.primary}`:`${t.colors.white}`,({theme:e})=>e.colors.primary,e=>e?"init":"pointer",e=>e.disabled?"none":"block",({theme:e})=>e.colors.white,({theme:e})=>e.colors.primary);var L=({totalPages:e,currentPage:t,onPageChange:n,url:i,backTwoPagesParam:o,prevPageParam:l,nextPageParam:s,forwardTwoPagesParam:c})=>{if(0===t&&(t=1),i)try{i=new URL(i).pathname}catch{i=i.split("?")[0]}let d=(e,t)=>{e.preventDefault(),n(t)},p=t>1?i+(t-1==1?"":l):null,h=t<e?i+s:null;return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)(v(),{children:[p&&(0,r.jsx)("link",{href:p,rel:"prev"}),h&&(0,r.jsx)("link",{href:h,rel:"next"})]}),(0,r.jsx)(S,{children:(0,r.jsxs)(T,{children:[(0,r.jsx)(P,{"aria-label":"Previous page",disabled:1===t,href:i+(t-1<=1?"":l),onClick:e=>d(e,t-1),children:(0,r.jsx)(C.D6,{})}),[{index:-2,urlParam:o},{index:-1,urlParam:l},{index:0,urlParam:null},{index:1,urlParam:s},{index:2,urlParam:c}].map(n=>(0,r.jsx)(a.Fragment,{children:t+n.index>0&&t+n.index<=e&&(0,r.jsx)(P,{$isCurrent:0===n.index,href:i+(t+n.index<=1?"":n.urlParam?n.urlParam:"?page="+t),onClick:e=>d(e,t+n.index),children:t+n.index})},t+n.index)),(0,r.jsx)(P,{"aria-label":"Next page",disabled:t===e,href:i+s,onClick:e=>d(e,t+1),children:(0,r.jsx)(C.Ec,{})})]})})]})},I=n(38317),A=n(7341);let B=c.default.div.withConfig({componentId:"sc-3416f4e4-0"})(["width:100%;margin-top:0.625rem;display:flex;justify-content:center;align-items:center;"]),R=c.default.div.withConfig({componentId:"sc-3416f4e4-1"})(["display:flex;"]),Z=c.default.div.withConfig({componentId:"sc-3416f4e4-2"})(["display:none;@media (min-width:","){display:block;width:28rem;height:1rem;margin-right:1rem;}"],b.Z.md),D=(0,o.Ps)`
2  query (
3    $query: String
4    $ids: [Int!]!
5    $familyFriendly: Boolean
6    $propertyTypes: [String!]
7    $petFriendly: Boolean
8    $spa: Boolean
9    $restaurant: Boolean
10    $gym: Boolean
11    $breakfastIncluded: Boolean
12    $airCon: Boolean
13    $wheelchair: Boolean
14    $payAtProperty: Boolean
15    $sortOrder: SortOrder
16    $stars: [Float!]
17    $offset: Int!
18    $brands: [String!]
19    $thgRecommendation: Boolean
20  ) {
21    getSearch: search(
22      params: {
23        limit: 20
24        offset: $offset
25        query: $query
26        propertyTypes: $propertyTypes
27        petFriendly: $petFriendly
28        breakfastIncluded: $breakfastIncluded
29        checkin: "0001-01-01"
30        checkout: "0001-01-01"
31        familyFriendly: $familyFriendly
32        spa: $spa
33        party: [{ adults: 2 }]
34        restaurant: $restaurant
35        gym: $gym
36        airCon: $airCon
37        wheelchair: $wheelchair
38        payAtProperty: $payAtProperty
39        sortOrder: $sortOrder
40        stars: $stars
41        brands: $brands
42        thgRecommendation: $thgRecommendation
43      }
44    ) {
45      currency
46      properties {
47        zone
48        distance
49        sourceToken
50        property {
51          urlRegion
52          description
53          seoAttributes {
54            hotelName
55            canonicalUrl
56          }
57          thgRecommendation {
58            isRecommended
59            isLovedByGuru
60          }
61          id
62          name
63          slug
64          address {
65            line1
66            line2
67            city
68            state
69            postCode
70            countryCode
71          }
72          rating {
73            stars
74            guestCount
75            guestRating
76          }
77          location {
78            latitude
79            longitude
80            breadcrumbs {
81              id
82              name
83              slug
84              type
85            }
86          }
87          isSingleUnit
88          type {
89            ourType
90            sourceType
91          }
92          facilities
93          images {
94            caption
95            small
96          }
97        }
98        availableRooms
99        memberDealAvailable
100        dealTagging {
101          dealName
102          discountPercentage
103          mobileWeb
104          wasPrice
105        }
106        total
107        memberTotal
108        memberDealAvailable
109        refundable
110        bookingComDeeplink
111        propertyPayAvailable
112      }
113      params {
114        centre {
115          lat
116          lon
117        }
118      }
119      totalCount
120      offset
121      aggregations {
122        brandCounts
123      }
124    }
125    getProperty: properties(ids: $ids) {
126      id
127      sources
128
129      name
130      slug
131      searchFacilities
132      address {
133        line1
134        line2
135        city
136        state
137        postCode
138        countryCode
139      }
140      rating {
141        stars
142        guestCount
143        guestRating
144      }
145      location {
146        latitude
147        longitude
148        breadcrumbs {
149          id
150          name
151          slug
152          type
153        }
154      }
155      thgRecommendation {
156        isRecommended
157        isLovedByGuru
158      }
159      description
160      facilities
161      images {
162        caption
163        small
164        large
165      }
166      rooms {
167        name
168        originalId
169        description
170        facilities
171        images {
172          caption
173          small
174          large
175        }
176      }
177      spokenLanguages
178      themes
179      checkinInfo {
180        beginTime
181        endTime
182        instructions
183        specialInstructions
184        minAge
185      }
186      checkoutInfo {
187        beginTime
188        endTime
189        instructions
190      }
191      fees
192      policies
193    }
194  }
195`;var U=({isRegionSEO:e,breadcrumbs:t,searchVariables:n,location:o,currentPage:c,properties:b,totalCount:_,hideBreadcrumbs:v,regionLonLat:C,regionName:S,seoDescription:T,isEnglish:P,sanityBreadcrumbs:U,language:N,appliedBrands:E,aggregations:F,presetFilters:O})=>{let[M,q]=(0,a.useState)(null),{currencyCode:H,login:z}=(0,p.b)(),G=(0,a.useRef)(null),W=(0,a.useMemo)(()=>({...O,...E?.length?{brands:E}:{}}),[O,E]),J=(0,k.mN)({currency:H,manual:!1===M,shallow:!0,readonly:!0,onFilterApplied:e?e=>G.current?.(e):void 0,onApply:e?e=>G.current?.(e):void 0,onReset:e?()=>G.current?.(null,"clear"):void 0,initialOverrides:W}),{draftFilters:K,toGraphQLVars:Q,priceMax:V}=J,X=new Date,Y=5-X.getDay();Y<0&&(Y+=7);let ee=new Date(X=new Date(X.getTime()+864e5*Y));ee.setDate(ee.getDate()+3),X=X.toISOString().split("T")[0],ee=ee.toISOString().split("T")[0];let[et,en]=(0,a.useState)(!1),[er,ea]=(0,a.useState)(!1),[ei,eo]=(0,a.useState)(!1),[el,es]=(0,a.useState)(null),[ec,ed]=(0,a.useState)(!1),[ep,eh]=(0,a.useState)(!!F?.brandCounts&&0!==Object.keys(F?.brandCounts).length&&F?.brandCounts),[eu,em]=(0,a.useState)(!1),eg=(0,a.useRef)(null),ef=(0,i.useRouter)(),ey=o.href,[eb,ex]=(0,a.useState)(0),[ew,ek]=(0,a.useState)(c),[e$,ej]=(0,a.useState)([]),[e_,ev]=(0,a.useState)(!1);(0,a.useEffect)(()=>{(0,u.Z)()&&ev(!0)},[]);let eC=[{adults:2,children:[]}];"string"==typeof eC&&(eC=JSON.parse(eC.replace(/,]/g,"]"))),eC&&Array.isArray(eC)&&eC.forEac
195h(e=>{e.children=e.kidsAge||[]});let eS=()=>{},eT=()=>{y.j&&(window.innerWidth>768&&!0!==M?q(!0):window.innerWidth<768&&!1!==M&&q(!1),window.innerWidth>1023&&!0!==ec&&ed(!0))};(0,a.useEffect)(()=>{y.j&&(eT(),window.addEventListener("resize",eT)),b&&b.length>0?_>0?en(!1):en(!0):(en(!0),eo(!1))},[]);let eP={query:n?.query||n?.id||"United Kingdom",ids:n?.ids||[],familyFriendly:!!n?.familyFriendly||null,petFriendly:!!n?.petFriendly||null,spa:!!n?.spa||null,stars:n?.stars,restaurant:n?.restaurant,gym:n?.gym,breakfastIncluded:n?.breakfastIncluded,airCon:n?.airCon,wheelchair:n?.wheelchair,propertyTypes:n?.propertyTypes||null,offset:eb,brands:E||null,thgRecommendation:n?.thgRecommendation,kitchenette:n?.kitchenette??null,indoorPool:n?.indoorPool??null,twentyFourHourFrontDesk:n?.twentyFourHourFrontDesk??null,cots:n?.cots??null},[eL,{data:eI}]=(0,l.t)(D,{fetchPolicy:"network-only",variables:eP,onCompleted:e=>{ej(e.getSearch.properties),eh(e.getSearch.aggregations?.brandCounts)}});(0,a.useEffect)(()=>{y.j&&e&&0===e$.length&&0===b.length&&window.td&&(window.td.trackEvent("seo_no_results",{category:"no_results",value:{time:new Date().getTime(),noResults:!0,location:window.location.pathname,countryCode:(0,g.Z)(window?.location.href)},tracking_profile_id:(0,m.Z)("tracking_profile_id")}),window.td.set("$global","td_global_id","td_global_id"))},[e$,e,b]);let eA=(0,a.useCallback)((e,r=null)=>{let a=e??K,i=t?[...t].reverse().map(e=>e.name).join(", "):null,o=new URLSearchParams({region:n?.query??i??"United Kingdom",checkin:X,checkout:ee,...C&&{lat:C[1],lng:C[0]}});if("clear"===r){ef.push((0,f.Z)(ey,`/searches/?${o.toString()}`));return}d.Vo.forEach(e=>{let t=a[e];(t||0===t)&&(Array.isArray(t)&&0===t.length||(d.bU.includes(e)?o.set(e,t.join(",")):o.set(e,String(t))))});let l=a.priceFrom??0,s=a.priceTo??V;(l>0||s<V)&&o.set("price",`${l},${s}`),a.sortOrder&&"default"!==a.sortOrder&&o.set("sortOrder",a.sortOrder);let c=`/searches/?${o.toString()}`;"map"===r&&(c+="&isMap=true"),ef.push((0,f.Z)(ey,c))},[t,n,C,ey,X,ee,ef,K,V]);return G.current=eA,(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(A.Z,{children:(0,r.jsx)($.Z,{children:(0,r.jsx)(s.Row,{children:(0,r.jsx)(s.Col,{lg:10,lgOffset:1,children:(0,r.jsx)(w.default,{isSanityComponent:!0,search:!0,setModalVisible:z})})})})}),T&&P&&(0,r.jsx)(j.Z,{text:T}),(0,r.jsx)("div",{ref:eg,children:!v&&(U&&U.length>0||t&&t.length>0)&&(0,r.jsx)(x.Z,{breadcrumbs:U&&U.length>0?U:t,currentUrl:ey,defaultCheckIn:X,defaultCheckOut:ee,isRegionSEO:e,searchFormShow:!1})}),(0,r.jsx)($.Z,{children:(0,r.jsx)(s.Row,{children:(0,r.jsxs)(s.Col,{lg:10,lgOffset:1,children:[(0,r.jsx)("div",{children:(0,r.jsx)(h.W,{value:J,children:(0,r.jsx)(I.Z,{isSanityComponent:!0,breadcrumbs:t&&t.length>0?t:null,checkin:X,checkout:ee,containerRef:eg,currentUrl:ey,fetchMore:null,getCookie:m.Z,goToPage:eS,handleHasFilter:eS,handleSetProperties:!1,handleShowHideMap:()=>{eA(null,"map")},hotelChains:ep,isChecked:eu,isHotel:!1,isMapModalVisible:er,isPoi:!1,isPPC:e_,isRegionSEO:e,locale:N,mapLoading:!1,mapLoadingOverlay:ei,noProps:et,probablyTheHotelUserRequested:eI?.getSearch?.probablyTheHotelUserRequested,properties:e$.length>0?e$:b??[],redirectToSearch:eA,region:S??"United kingdom",regionLonLat:C,roomConfig:eC,rooms:null,setIsChecked:em,setVisibleQuestion:es,showHotelChains:E?.length>0,showMapWithFilter:ec,totalCount:_,variables:{checkin:"",checkout:""}})})}),(0,r.jsxs)(R,{children:[(0,r.jsx)(Z,{}),e&&b.length>1&&_>20&&(0,r.jsx)(B,{children:(0,r.jsx)(L,{backTwoPagesParam:"?page="+(ew-2),currentPage:ew,forwardTwoPagesParam:"?page="+(ew+2),nextPageParam:"?page="+(ew+1),prevPageParam:"?page="+(ew-1),totalPages:Math.ceil(_/20),url:ey,onPageChange:e=>{let t=new URL(ey);e<=1?t.searchParams.delete("page"):t.searchParams.set("page",String(e)),ef.replace(t.pathname+t.search,void 0,{shallow:!0,scroll:!1}),ex(Math.max(0,(e-1)*20)),eL(),eg.current?.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{ek(e)},300)}})})]})]})})})]})}},14902:function(e,t,n){n.d(t,{Z:function(){return $}});var r=n(85893),a=n(67294),i=n(41664),o=n.n(i),l=n(11163),s=n(50661),c=n(37251),d=n(13223),p=n(25461);let h=/-(?=[a-z0-9]{5}$)[a-z0-9]*\d[a-z0-9]*$/i,u=e=>e.replace(/^https?:\/\/[^/]+/i,"").replace(/^\/+/,"").replace(/^hotels\//i,"").replace(/\/+$/,"");var m=e=>{let t=[e.slug&&e.slug.current,e.id,"string"==typeof e.slug?e.slug:null].filter(
195Boolean).map(u).find(e=>h.test(e));return t?`/hotels/${t}`:null},g=n(50013),f=n(83454),y=({breadcrumbs:e,currentUrl:t,getLocalizedSlug:n,isTopBreadcrumbs:r,checkin:a,checkout:i,rooms:o,isUKRegion:l,locale:s})=>{if(!e?.length)return null;let c=e=>e.toLowerCase().split(" ").map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" "),d=f.env.NEXT_PUBLIC_SITE_URL||"https://www.laterooms.com",p=[{"@type":"ListItem",position:1,name:"Home",item:d+n(t,"/")},...e.map((e,s)=>{let p=e.slug&&e.slug.current?c(e.slug.current.replace(/-/gi," ")):e.slug?c(e.slug.replace(/-/gi," ")):"",h=e.copy?e.copy:e.id?e.id:p+(l&&"Europe"!==p&&"United Kingdom"!==p?", United Kingdom":""),u=r?`/searches/?region=${h}&checkin=${a}&checkout=${i}&rooms=${o||""}`:m(e);return{"@type":"ListItem",position:s+2,name:e.name?e.name:e.copy?e.copy:p,item:d+n(t,u)}})];return(0,g.Z)({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:p})},b=n(20189),x=n(49092);let w=s.default.section.withConfig({componentId:"sc-6921c68b-0"})(["margin:",";"],e=>e.$showAtBottom?"1.25rem 0":e.$searchFormShow?"-1.25rem 0 0 0":"1.25rem 0"),k=s.default.ul.withConfig({componentId:"sc-6921c68b-1"})(["overflow-x:scroll;margin:0;display:",";flex-direction:row;border-bottom:1px solid ",";padding:",";border:",";-ms-overflow-style:none;scrollbar-width:none;&::-webkit-scrollbar{display:none;}li{display:flex;font-size:14px;list-style:none;line-height:16px;flex-direction:row;margin:",";border-bottom:",';&:after{content:">";width:16px;height:14px;display:',";text-align:center;}&:last-of-type{&:after{display:none;}}}a{max-width:",";overflow:hidden;width:max-content;white-space:nowrap;text-decoration:none;display:inline-block;text-overflow:ellipsis;position:relative;color:",";display:",";width:",";height:",";padding:",';&:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxzdmc+CiAgICAgICAgPHBhdGggZD0iTTE2LjU5IDguNTlMMTIgMTMuMTcgNy40MSA4LjU5IDYgMTBsNiA2IDYtNi0xLjQxLTEuNDF6Ij48L3BhdGg+CiAgICA8L3N2Zz4KPC9zdmc+);display:block;height:1.75rem;width:1.75rem;position:absolute;transform:rotate(90deg) translate(-50%);left:5px;top:50%;}&:hover{text-decoration:underline;}}@media (min-width:',"){display:flex;border:none;li{border:none;&:after{display:block;}}a{max-width:unset;text-overflow:ellipsis;display:inline;width:inherit;padding:inherit;&:before{display:none;}}}"],e=>e.$showAtBottom?"block":"none",e=>e.$propPageSeo?"transparent":e.theme.colors.borderGrey,e=>e.$propPageSeo?"0":e.$searchFormShow?"0":e.$showAtBottom?"0":".5rem 0 0 0",e=>e.$showAtBottom?`1px solid ${e.theme.colors.borderGrey}`:"none",e=>e.$showAtBottom?"0":"initial",e=>e.$showAtBottom?`1px solid ${e.theme.colors.borderGrey}`:"none",e=>e.$showAtBottom?"none":"block",e=>e.$showAtBottom?"unset":"110px",e=>e.theme.colors.primary,e=>e.$showAtBottom?"block":"initial",e=>e.$showAtBottom?"100%":"initial",e=>e.$showAtBottom?"100%":"initial",e=>e.$showAtBottom?"1.125rem 1.25rem 1.125rem 2rem":"initial",x.Z.md);var $=({isTopBreadcrumbs:e,breadcrumbs:t,searchFormShow:n,removeSchema:i,showAtBottom:s,defaultCheckIn:h,defaultCheckOut:u,propPageSeo:g,isRegionSEO:f,openInSameTab:x,locale:$,currentUrl:j})=>{let _;let[v,C]=(0,a.useState)(!1);(0,l.useRouter)();let S=j||window.location.href,T=h,P=u;{let e=new URL(window.location);T=e.searchParams.get("checkin")?e.searchParams.get("checkin"):T,P=e.searchParams.get("checkout")?e.searchParams.get("checkout"):P,_=e.searchParams.get("rooms")?e.searchParams.get("rooms"):_}let L=e=>e.some(e=>"United Kingdom"===e.name),I=e=>e.toLowerCase().split(" ").map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" ");return(0,a.useEffect)(()=>{t.length>0&&C(L(t))},[t]),(0,r.jsxs)(r.Fragment,{children:[!i&&t?.length>0&&(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify(y({breadcrumbs:t,currentUrl:S,getLocalizedSlug:b.Z,isTopBreadcrumbs:e,checkin:T,checkout:P,rooms:_,isUKRegion:v,locale:$}),null,2)},type:"application/ld+json"}),(0,r.jsx)(w,{$searchFormShow:n,$showAtBottom:s,children:(0,r.jsx)(d.Z,{children:(0,r.jsx)(p.Z,{children:(0,r.jsx)(c.Z,{lg:10,lgOffset:1,children:(0,r.jsxs)(k,{$propPageSeo:g,$searchFormShow:n,$showAtBottom:s,id:"crumb",children:[(0,r.jsx)("li",{children:(0,r.jsx)(o(),{href:(0,b.Z)(S,"/"),children:(0,r.jsx)("span",{children:"Home"})})}),t.map((t,n)=>{let a;if(!t.slug)return;let l=t.slug&&t.slug.current?I(t.slug.current.replace(/-/gi," ")):t.slug?I(t.slug.replace(/-/gi," ")):"",s=v&&"Europe"!==l&&"United Kingdom"!==l?", United Kingdom":"",c=t.copy?t.copy:t.id?t.id:l+s;if(e)a=`/searches/?region=${c}&checkin=${T}&checkout=${P}&rooms=${_||""}`;else if(!(a=m(t)))return null;return(0,r.jsx)("li",{children:(0,r.jsx)(o(),{href:(0,b.Z)(S,a)??"#",rel:i?"nofollow":"",target:!f&&!x&&"_blank",children:(0,r.jsx)("span",{children:t.name?t.name:t.copy?t.copy:l})})},n)})]})})})})})]})}},21570:function(e,t,n){n.r(t);var r=n(85893);n(67294);var a=n(37871),i=n(50661),o=n(693),l=n(73754),s=n(82650),c=n(1623),d=n(49092);let p=i.default.div.withConfig({componentId:"sc-b40c67f5-0"})(["display:flex;align-items:",";flex-direction:column;border-radius:",";padding:",";background:",";.content{&.mlh{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 1rem;}.heading{font-weight:",";font-family:",";margin-bottom:",";font-size:1.15rem;line-height:1.5rem;color:",";}.subheading{font-size:1rem;font-weight:400;margin:0 0 0.625rem 0;line-height:1.5rem;display:",";color:",";@media (min-width:","){margin-bottom:0;}}.textbox{max-width:45rem;}button{display:block;padding:",";font-weight:",";border:",";}}svg{display:",";width:3.063rem;height:3.063rem;margin:0 0 0.625rem 0;min-width:3.063rem;}&.search{align-items:center;flex-direction:row;.content{margin-left:1.375rem;.subheading{margin:0 0 0.25rem;}}}@media (min-width:","){padding:",";flex-direction:",";&.search{margin-bottom:",";.content{flex-direction:row;.subheading{margin:",";}button{margin:0;}}}.svg{margin:0;}.content{width:100%;display:flex;flex-direction:",";justify-content:space-between;margin-left:",";align-items:center;.heading{margin-top:0;}button{padding:",";white-space:nowrap;}}}&.propertyPage{align-items:center;.heading{text-align:center;margin-bottom:",";}.subheading{text-align:center;margin-bottom:1.25rem;}.content{justify-content:center;display:flex;flex-direction:column;}}"],e=>e.hasDescription?"baseline":"",e=>e.theme.styles.borderRadius,e=>"mlh"===e.theme.id?"3rem 0px":"0.875rem 1.375rem",e=>"mlh"===e.theme.id?e.theme.colors.primary:e.theme.colors.secondary,e=>"mlh"===e.theme.id?"400":"700",e=>e.theme.fonts.heading,e=>"mlh"===e.theme.id?"1rem":"0",e=>"mlh"===e.theme.id||"tripening"===e.theme.id?e.theme.colors.white:e.theme.colors.primary,e=>"mlh"===e.theme.id?"none":"block",e=>"mlh"===e.theme.id||"tripening"===e.theme.id?e.theme.colors.white:e.theme.colors.primary,d.Z.md,e=>"mlh"===e.theme.id?"1rem 3.125rem":"0.75rem",e=>"mlh"===e.theme.id?"400":"700",e=>
195"mlh"===e.theme.id?"1px solid white":"none",e=>"mlh"===e.theme.id?"none":"block",d.Z.md,e=>"mlh"===e.theme.id?"3rem 1.25rem":"1.25rem",e=>e.hasDescription?"column":"row",e=>e.$isSanityComponent?"0":"1.25rem",e=>e.hasDescription?"0 0 0.625rem 0":"0",e=>e.hasDescription?"column":"row",e=>e.hasDescription?"0":"1.25rem",e=>"mlh"===e.theme.id?"1rem 3.125rem":"1rem",e=>"mlh"===e.theme.id?"1rem":"0.25rem");t.default=({search:e,seoAttributes:t,heading:n,hasDescription:i,subHeading:d,isSanityComponent:h,ctaCopy:u,defaultMemberBanner:m,isPropertyPage:g,translations:f={}})=>{let{t:y}=(0,a.$G)("components/members"),b=e=>{e.preventDefault();let t=(0,s.N)();window.location.href=t},x=!!c.j&&window.location.search.includes("popunder=true");return(0,r.jsxs)(p,{$isSanityComponent:h,className:`${e?"search":""} ${g?"propertyPage":""}`,hasDescription:i,seoAttributes:t,children:[(0,r.jsx)(o.Z,{name:"icon-prize"}),(0,r.jsxs)("div",{className:"mlh"===l.UQ.id?"content mlh":"content",children:[e?(0,r.jsxs)("div",{className:"textbox",children:[(0,r.jsx)("p",{className:"heading",children:y(x?"save_up_to":"you_can_save")}),(0,r.jsx)("p",{className:"subheading",children:y("become_a_member_for")})]}):(0,r.jsxs)("div",{className:"textbox",children:[(0,r.jsx)("p",{className:"heading",children:n||(m&&m.heading?m.heading:y("you_can_save"))}),(0,r.jsx)("p",{className:"subheading",children:d||(m&&m.subHeading?m.subHeading:y("become_a_member_for"))})]}),(0,r.jsx)("button",{className:"","data-event":"member_banner",onClick:e=>b(e),children:x?y("sign_up_now"):u||(m&&m.ctaCopy?m.ctaCopy:y("unlock_for_free"))})]})]})}},43552:function(e,t,n){var r=n(50013);t.Z=({id:e,name:t,description:n,latitude:a,longitude:i})=>{if(!t)return null;let o={"@context":"https://schema.org","@type":"TouristDestination","@id":`${e}#dest`,name:t,description:n,geo:a&&i?{"@type":"GeoCoordinates",latitude:a,longitude:i}:void 0};return(0,r.Z)(o)}},71436:function(e,t,n){n.d(t,{Z:function(){return I}});var r=n(85893),a=n(67294),i=n(9008),o=n.n(i),l=n(11163),s=n(68786),c=n(61788),d=n(80150),p=n(60485),h=n(89e3),u=n(33977),m=n(7341),g=n(73754);let f=e=>e?.replace(/-/g," "),y={"en-gb":{hotels:"hotel","bed and breakfasts":"bed and breakfast","self catering":"self catering","serviced apartments":"serviced apartment"},"fr-fr":{hotels:"h\xf4tels","bed and breakfasts":"chambres d'h\xf4tes","self catering":"locations","serviced apartments":"appartements"},"de-de":{hotels:"Hotels","bed and breakfasts":"Pensionen","self catering":"Selbstverpflegung","serviced apartments":"Serviced Apartments"},"it-it":{hotels:"hotel","bed and breakfasts":"Bed & Breakfast","self catering":"case vacanze","serviced apartments":"appartamenti"},"es-es":{hotels:"hoteles","bed and breakfasts":"Bed & Breakfast","self catering":"alojamiento independiente","serviced apartments":"apartamentos con servicios"},"ja-jp":{hotels:"ホテル","bed and breakfasts":"ベッド&ブレックファスト","self catering":"セルフケータリング","serviced apartments":"アパートスタイルホテル"}},b={...y,"en-gb":{hotels:"hotels","bed and breakfasts":"bed and breakfasts","self catering":"self catering","serviced apartments":"serviced apartments"}},x={"en-gb":{boutique:"boutique",cheap:"cheap","disabled access":"disabled access","family friendly":"family friendly",luxury:"luxury","pet friendly":"pet friendly",romantic:"romantic",spa:"spa"},"fr-fr":{boutique:"boutique",cheap:"\xe9conomiques","disabled access":"accessibles","family friendly":"familiaux",luxury:"de luxe","pet friendly":"acceptant les animaux",romantic:"romantiques",spa:"avec spa"},"de-de":{boutique:"Boutique",cheap:"g\xfcnstige","disabled access":"barrierefreie","family friendly":"familienfreundliche",luxury:"Luxus","pet friendly":"haustierfreundliche",romantic:"romantische",spa:"Wellness"},"it-it":{boutique:"boutique",cheap:"economici","disabled access":"accessibili","family friendly":"per famiglie",luxury:"di lusso","pet friendly":"pet friendly",romantic:"romantici",spa:"con spa"},"es-es":{boutique:"boutique",cheap:"baratos","disabled access":"accesibles","family friendly":"para familias",luxury:"de lujo","pet friendly":"que admiten mascotas",romantic:"rom\xe1nticos",spa:"con spa"},"ja-jp":{boutique:"ブティック",cheap:"格安","disabled access":"バリアフリー対応","family friendly":"家族向け",luxury:"ラグジュアリー","pet friendly":"ペット同伴可",romantic:"ロマンチック",spa:"スパ"}},w={"en-gb":{title:"The best ${propType} deals ${location} | LateRooms",description:"Browse our ${propType} ${location}. Book last minute breaks with LateRooms. Get free cancellation and exclusive member prices.",h1:"Last-minute ${propType} deals ${location}",locationPrep:"in",locationNear:"near"},"fr-fr":{title:"Les meilleures offres de ${propType} ${location} | LateRooms",description:"Parcourez nos ${propType} ${location}. R\xe9servez en derni\xe8re minute avec LateRooms. Annulation gratuite et prix exclusifs.",h1:"${propType} en derni\xe8re minute ${location}",locationPrep:"\xe0",locationNear:"pr\xe8s de"},"de-de":{title:"Die besten Angebote f\xfcr ${propType} ${location} | LateRooms",description:"Entdecke unsere ${propType} ${location}. Buche Last-Minute mit LateRooms. Kostenlose Stornierung und exklusive Mitgliederpreise.",h1:"Last-Minute Angebote f\xfcr ${propType} ${location}",locationPrep:"in",locationNear:"in der N\xe4he von"},"it-it":{title:"Le migliori offres di ${propType} ${location} | LateRooms",description:"Sfoglia i nostri ${propType} ${location}. Prenota all'ultimo minuto con LateRooms. Cancellazione gratuita e prezzi esclusivi per i membri.",h1:"${propType} last minute ${location}",locationPrep:"a",locationNear:"vicino a"},"es-es":{title:"Las mejores ofertas de ${propType} ${location} | LateRooms",description:"Explora nuestros ${propType} ${location}. Reserva de \xfaltima hora con LateRooms. Cancelaci\xf3n gratuita y precios exclusivos para miembros.",h1:"${propType} de \xfaltima hora ${location}",locationPrep:"en",locationNear:"cerca de"},"ja-jp":{title:"${location}のお得な${propType}プラン | LateRooms",description:"${location}の${propType}を検索。キャンセル無料や会員限定料金を利用して、直前の予定をLateRoomsで予約しましょう。",h1:"${location}の直前予約の${propType}プラン",locationPrep:"",locationNear:""}},k=new Set(["es-es"]);function $({locale:e,proptype:t,locationName:n,theme:r,isPoi:a}){let i=w[e]||w["en-gb"],o=y[e]||y["en-gb"],l=x[e]||x["en-gb"],s=o[f(t)]||f(t),c=r?l[f(r)]||f(r):null,d=k.has(e)?`${s} ${c}`:`${c} ${s}`,p=a?i.locationNear:i.locationPrep;return{textTemplate:i,combinedPropType:c?d:s,location:`${p} ${n}`.trim()}}var j=n(43552),_=n(90798),v=n(35887),C=n(89145),S=n(55991),T=n(70322),P=n(71378),L=n(83454);function I({location:e,regionData:t,proptype:n,region:i,theme:y,settings:x,translations:k={},presetFilters:I}){let A=(0,l.useRouter)(),{locale:B}=A,R=t.getSearch,Z=t.currentPage||1;(0,a.useEffect)(()=>
195{if(!R||R.totalCount>=6)return;let e=setTimeout(()=>{(0,P.KF)(e=>{e.trackEvent("uiactions",{category:"low_prop_count_on_seo_page",value:R.totalCount,tracking_profile_id:(0,v.Z)("tracking_profile_id"),countryCode:(0,C.Z)(window.location.href)}),e.set("$global","td_global_id","td_global_id")})},500);return()=>clearTimeout(e)},[R?.totalCount]);let D=R?.breadcrumbs||[],U=D.length>0?D.at(-1).name:i?.split("-")[0]?i.split("-")[0].charAt(0).toUpperCase()+i.split("-")[0].slice(1):i,N=R?.params?.centre,E=N?[N.lon,N.lat]:[],F=new Date,O=(5-F.getDay()+7)%7||7,M=new Date(F=new Date(F.getTime()+864e5*O));M.setDate(M.getDate()+3);let q=F.toISOString().split("T")[0],H=M.toISOString().split("T")[0],z=[];if(R?.children?.length>0){let e=R.children.filter(e=>e?.id&&e.id!==i).map(e=>({title:e.name,url:`/hotels/${e.id}`}));e.length>0&&z.push({heading:"Popular destinations",links:e})}let G=[];R?.publishedThemes?.length>0&&R.publishedThemes.filter(Boolean).forEach(e=>{G.push({title:e.charAt(0).toUpperCase()+e.slice(1).replace(/-/g," "),url:`/hotels/${i}/${e}`})}),R?.publishedTypes?.length>0&&(G.push({title:"Hotels",url:`/hotels/${i}/`}),R.publishedTypes.filter(Boolean).forEach(e=>{G.push({title:e.charAt(0).toUpperCase()+e.slice(1).replace(/-/g," "),url:`/${e}/${i}`})})),G.length>0&&z.push({heading:"Accommodation Types",links:G});let W=e=>Number(e?.property?.rating?.guestRating??0),J=e=>Number(e?.property?.rating?.guestCount??0),K=(R?.properties||[]).filter(e=>W(e)>=7&&J(e)>5).sort((e,t)=>W(t)-W(e)||J(t)-J(e)).map(e=>e?.property??e).slice(0,6),Q=(b[B]||b["en-gb"])[f(n)]||f(n),V=R?.params?.poi,X=(0,T.r)(k,V?"components/hotelList.our_top_picks_of_the_best_properties_near":"components/hotelList.our_top_picks_of_the_best_properties_in",V?"Our top picks of the best {{propertyType}} near {{location}}":"Our top picks of the best {{propertyType}} in {{location}}",{propertyType:Q||"hotels",location:U}),Y=function({locale:e="en-gb",proptype:t,locationName:n,theme:r=null,isPoi:a=!1}){let{textTemplate:i,combinedPropType:o,location:l}=$({locale:e,proptype:t,locationName:n,theme:r,isPoi:a});return i.h1.replace("${propType}",o).replace("${location}",l)}({locale:B,proptype:n,locationName:U,theme:y,isPoi:V}),ee=L.env.NEXT_PUBLIC_BASE_URL||`https://www.${g.UQ.domain}`,et=A.asPath.split("?")[0],en=Z>1?`${et}?page=${Z}`:et,er=B&&"en-gb"!==B?`/${B}`:"",ea=`${ee}${er}${en}`,ei=function({locale:e="en-gb",proptype:t,locationName:n,theme:r=null,isPoi:a=!1,brandName:i="LateRooms"}){let{textTemplate:o,combinedPropType:l,location:s}=$({locale:e,proptype:t,locationName:n,theme:r,isPoi:a});return o.title.replace("${propType}",l).replace("${location}",s).replace("LateRooms",i)}({locale:B,proptype:n,locationName:U,theme:y,isPoi:V,brandName:g.UQ.name}),eo=function({locale:e="en-gb",proptype:t,locationName:n,theme:r=null,isPoi:a=!1,brandName:i="LateRooms"}){let{textTemplate:o,combinedPropType:l,location:s}=$({locale:e,proptype:t,locationName:n,theme:r,isPoi:a});if(o===w["en-gb"]&&!r){let e=(t||"").replace(/-/g," ");return`Browse our ${"hotels"===e?"range of hotels":"self catering"===e?"self-catering accommodation deals":`${e} deals`} ${s}. Book last minute ${"hotels"===e?"breaks and hotel deals":"breaks"} with ${i}. Get free cancellation and exclusive member prices.`}return o.description.replace("${propType}",l).replace("${location}",s).replace("LateRooms",i)}({locale:B,proptype:n,locationName:U,theme:y,isPoi:V,brandName:g.UQ.name}),el=`${ee}${g.UQ.meta.defaultOgImage}`,es=(0,_.Z)({name:ei,url:ea}),ec=(0,j.Z)({id:ea,name:R?.params?.query||U,latitude:N?.lat,longitude:N?.lon});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.Z,{}),(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:ei}),(0,r.jsx)("meta",{content:eo,name:"description"}),(0,r.jsx)("link",{href:ea,rel:"canonical"}),(0,r.jsx)("meta",{content:"website",property:"og:type"}),(0,r.jsx)("meta",{content:ei,property:"og:title"}),eo&&(0,r.jsx)("meta",{content:eo,property:"og:description"}),(0,r.jsx)("meta",{content:el,property:"og:image"}),(0,r.jsx)("meta",{content:ea,property:"og:url"}),(0,r.jsx)("meta",{content:g.UQ.name,property:"og:site_name"}),(0,r.jsx)("link",{as:"image",fetchpriority:"high",href:"/images/desktop-background-with-clock.webp",media:"(min-width: 768px)",rel:"preload"}),(0,r.jsx)("link",{href:`${ee}${en}`,hrefLang:"x-default",rel:"alternate"}),S.B2.map(e=>(0,r.jsx)("link",{href:"en-gb"===e?`${ee}${en}`:`${ee}/${e}${en}`,hrefLang:e,rel:"alternate"},e))]}),(0,r.jsx)(s.Z,{isDynamicRegion:!0,noOverlay:!0,heading:Y,image:{asset:{url:"/images/desktop-background-with-clock.webp"}},page:"region",regionLonLat:E,searchForm:[{id:"dynamic-search",overrideAdults:null,overrideCheckIn:null,overrideCheckOut:null,overrideChildren:[],overrideRegion:null,subtitle:null,title:null}],serverProps:{breadcrumbs:D},tagline:null,thisFriday:q,thisMonday:H,translations:k}),(0,r.jsx)(d.Z,{defaultUspBlock:x?.uspBlock||null,isSanity:!1}),R?.totalCount>20&&K.length>3&&(0,r.jsx)(c.default,{isRegionPage:!0,locale:B,locationName:U,nights:3,page:"region",properties:K,title:X,translations:k}),R&&(0,r.jsx)(u.Z,{...R,isRegionSEO:!0,currentPage:Z,forwardTwoPagesParam:"?page="+(Z+2),language:B,location:e,nextPageParam:"?page="+(Z+1),params:R.params||null,presetFilters:I,regionLonLat:E,regionName:U,searchVariables:R.params,type:"static",url:A.asPath}),z.length>0&&(0,r.jsx)(m.Z,{children:(0,r.jsx)(p.Z,{linkGroups:z,translations:k})}),es&&(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify(es)},type:"application/ld+json"}),ec&&(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify(ec)},type:"application/ld+json"})]})}},8997:function(e,t,n){n.d(t,{Z:function(){return O}});var r=n(85893),a=n(67294),i=n(9008),o=n.n(i),l=n(11163),s=n(62368),c=n(25858),d=n(37251),p=n(13223),h=n(22438),u=n(68786),m=n(61788),g=n(80150),f=n(4087),y=n(78580),b=n(4879),x=n(5912),w=n(14902),k=n(60485),$=n(89e3),j=n(25461),_=n(33977),v=n(7341),C=n(73754),S=n(29379),T=n(49841),P=n(43552),L=n(90798),I=n(35887),A=n(89145),B=n(48375),R=n(55991);function Z(e){return e?e.endsWith("/")?e:`${e}/`:e}function D(e){return e.replace(/-(.)/g,(e,t)=>t.toUpperCase())}var U=n(71378),N=n(99139),E=n(35146),F=n(83454);function O({location:e,regionData:t,proptype:n,region:i,theme:O,translations:M={},language:q,presetFilters:H}){let z=(0,l.useRouter)(),{locale:G}
195=z,W=(0,T.C)(),{isLoggedIn:J}=(0,S.b)(),K=t.data.allRegion[0],Q=K.pageBuilder||[],V=K?.hideBreadcrumbs??!1,X=t.currentPage,Y=t.res?.getSearch??null;(0,a.useEffect)(()=>{if(!Y||Y.totalCount>=6)return;let e=setTimeout(()=>{(0,U.KF)(e=>{e.trackEvent("uiactions",{category:"low_prop_count_on_seo_page",value:Y.totalCount,tracking_profile_id:(0,I.Z)("tracking_profile_id"),countryCode:(0,A.Z)(window.location.href)}),e.set("$global","td_global_id","td_global_id")})},500);return()=>clearTimeout(e)},[Y?.totalCount]);let ee=t.data.settings?.[0]||null,et=ee?.uspBlock||null,en=t.res?.getProperty||[],er=K.name||i;if(er.startsWith("/")){let e=er.split("/");er=e[e.length-1]}er=er.split("-")[0].charAt(0).toUpperCase()+er.split("-")[0].slice(1);let ea=new Date,ei=(5-ea.getDay()+7)%7||7,eo=new Date(ea=new Date(ea.getTime()+864e5*ei));eo.setDate(eo.getDate()+3);let el=ea.toISOString().split("T")[0],es=eo.toISOString().split("T")[0],ec=t.res?.getSearch?.params?.centre,ed=ec?[ec.lon,ec.lat]:[],ep=t.res?.getSearch?.breadcrumbs,eh=ep?.length>0?ep:er?[{name:er}]:[];Y={...Y,breadcrumbs:eh};let eu=Q.find(e=>"Search"===e.__typename),em=eu?.breadcrumbs,eg=em?.length>0?em:Y?.breadcrumbs,ef=F.env.NEXT_PUBLIC_BASE_URL||`https://www.${C.UQ.domain}`,ey=z.asPath.split("?")[0],eb=X>1?`${ey}?page=${X}`:ey,ex=G&&"en-gb"!==G?`/${G}`:"",ew=`${ef}${ex}${eb}`,ek=K.titleSEO||K.name||er,e$=K.descriptionSEO||"",ej=K.keywordsSEO||"",e_=Q.find(e=>"Hero"===e.__typename),ev=(e_?.image?.asset?(0,B.u)(e_.image).width(1200).auto("format").quality(80).url():null)||`${ef}${C.UQ.meta.defaultOgImage}`,eC=Q.find(e=>"HotelList"===e.__typename),eS=(()=>{if(!eC?.hotelInfo||0===en.length)return null;let e=eC.hotelInfo.map(e=>e.id),t=en.find(t=>e.includes(t.id));return t?.images?.[0]?.small||null})(),eT=(0,L.Z)({name:K.titleSEO||K.name||er,url:ew,lastReviewed:K._updatedAt||new Date().toISOString()}),eP=(0,P.Z)({id:ew,name:Y?.params?.query||er,latitude:ec?.lat,longitude:ec?.lon}),eL=e=>e?e.charAt(0).toUpperCase()+e.slice(1):"",eI=[{heading:"Popular destinations",links:[]},{heading:"Accommodation Types",links:[]}];Y?.children?.length>0&&Y.children.filter(Boolean).forEach(e=>{eI[0].links.push({title:e.name,url:"/hotels/"+e.id})}),Y?.publishedThemes?.length>0&&Y.publishedThemes.filter(Boolean).forEach(e=>{eI[1].links.push({title:eL(e.replace(/-/g," ")),url:"/hotels/"+i+"/"+e})}),Y?.publishedTypes?.length>0&&Y.publishedTypes.filter(Boolean).forEach(e=>{eI[1].links.push({title:eL(e.replace(/-/g," ")),url:"/"+e+"/"+i})});let eA=eI[0].links.length>0||eI[1].links.length>0,eB=Q.map((n,o)=>{let l=null;switch(n.__typename){case"Hero":l=(0,r.jsx)(u.Z,{heading:n.heading,image:n.image,page:"region",regionLonLat:ed,searchForm:n.searchForm||[],serverProps:Y,tagline:n.tagline,thisFriday:el,thisMonday:es,translations:M},n._key||o);break;case"HotelList":if(n.hotelInfo&&en.length>0){let e=n.hotelInfo.map(e=>e.id),t=en.filter(t=>e.includes(t.id));t.length>0&&(l=(0,r.jsx)(m.default,{isRegionPage:!0,cta:n.cta,isDesktop:W,locationName:er,page:"region",properties:t,subtitle:n.subtitle,title:n.title,translations:M},n._key||o))}break;case"Copy":l=(0,r.jsx)(h.Z,{_rawCopy:n._rawCopy,copyRaw:n.copyRaw,showBothAccordion:n.showBothAccordion,showDesktopAccordion:n.showDesktopAccordion,showMobileAccordion:n.showMobileAccordion,translations:M},n._key||o);break;case"Faqs":n.faqs&&n.faqs.length>0&&(l=(0,r.jsx)(s.Z,{enableAccordion:n.enableAccordion,faqs:n.faqs,id:n.id,title:n.title,translations:M},n._key||o));break;case"LinkList":n.links?.length>0&&(l=(0,r.jsx)(y.Z,{heading:n.heading,id:n.id,links:n.links,subHeading:n.subHeading},n._key||o));break;case"LinkImageList":n.links?.length>0&&(l=(0,r.jsx)(f.Z,{heading:n.heading,links:n.links,region:er},n._key||o));break;case"LocationLinks":n.links?.length>0&&(l=(0,r.jsx)(b.Z,{...n,language:q},n._key||o));break;case"QuickLinks":{let e=(n.linkGroups?.filter(e=>e.links?.length>0)||[]).length>0?n.linkGroups:eA?eI:null;e&&(l=(0,r.jsx)(k.Z,{heading:n.heading,id:n.id,linkGroups:e,translations:M},n._key||o));break}case"BlogList":n.blogposts?.length>0&&(l=(0,r.jsx)(c.Z,{...n},n._key||o));break;case"IconCopyBlock":l=(0,r.jsx)(g.Z,{isSanity:!0,backgroundColor:n.backgroundColor,blocks:n.blocks,defaultUspBlock:et,textColor:n.textColor},n._key||o);break;case"MemberBanner":l=!J&&(0,r.jsx)(v.Z,{id:n.id?n.id:null,children:(0,r.jsx)(p.Z,{children:(0,r.jsx)(j.Z,{children:(0,r.jsx)(d.Z,{lg:10,lgOffset:1,children:(0,r.jsx)(x.Z,{...n,translations:M},n._key||o)})})})});break;case"Search":l=(0,r.jsx)(_.Z,{isSanity:!0,location:e,presetFilters:H,type:"static",...Y,isRegionSEO:!0,appliedBrands:n?.appliedFilters?.brandList||null,currentPage:X,forwardTwoPagesParam:"?page="+(X+2),hideBreadcrumbs:V,language:q,nextPageParam:"?page="+(X+1),params:Y?Y.params:null,regionLonLat:ed,regionName:Y&&Y.breadcrumbs&&Y.breadcrumbs.length>0?Y.breadcrumbs.at(-1).name:i,sanityBreadcrumbs:n?.breadcrumbs,searchVariables:t.res?.search?.params||t.res?.getSearch?.params,url:z.asPath},n._key||o);break;case"MobileAppPromotionBanner":l=(0,a.createElement)(N.Z,{...n,key:n._key,bannerSource:"sanity_banner"});break;case"CopyWithTabs":l=(0,a.createElement)(E.Z,{...n,key:n._key,translations:M});break;default:l=null}return l}),eR=function({currentUrl:e,canonical:t,pageType:n,locale:r,supp
195ortedLocales:a=[],hasPaginated:i=""}){let o=[],l=function(e){if(!e)return{root:null,enGb:null,enUs:null,enAu:null,enCa:null,enIe:null,enNz:null,esEs:null,frFr:null,deDe:null,itIt:null,jaJp:null};try{e.startsWith("localhost")&&(e=`http://${e}`);let t=new URL(e),n=t.pathname.replace(/^\/[a-z]{2}-[a-z]{2}\//,"/"),r=`/en-gb${n}`,a=`/en-us${n}`,i=`/en-au${n}`,o=`/en-ca${n}`,l=`/en-ie${n}`,s=`/en-nz${n}`,c=`/es-es${n}`,d=`/fr-fr${n}`,p=`/de-de${n}`,h=`/it-it${n}`,u=`/ja-jp${n}`;return{root:t.origin+n,enGb:t.origin+r,enUs:t.origin+a,enAu:t.origin+i,enCa:t.origin+o,enIe:t.origin+l,enNz:t.origin+s,esEs:t.origin+c,frFr:t.origin+d,deDe:t.origin+p,itIt:t.origin+h,jaJp:t.origin+u}}catch(e){return{root:null,enGb:null,enUs:null,enAu:null,enCa:null,enIe:null,enNz:null,esEs:null,frFr:null,deDe:null,itIt:null,jaJp:null}}}(e),s="en-us"===r,c="de-de"===r,d="es-es"===r,p="blog"===n,h=Array.isArray(a)&&a.length>0;if(t&&o.push({rel:"canonical",href:t.endsWith("/")||i?t:t+"/"}),"search"===n)return o;let u=h&&a.some(e=>e?.locale==="en-gb");if((h?!u:p&&(!p||s||c||d))||o.push({rel:"alternate",href:Z(l.root)+(i||""),hreflang:"x-default"}),p&&h)for(let e=0;e<a.length;e++){let t=a[e].locale,n=D(t),r="en-gb"===t?Z(l.root):Z(l[n]);o.push({rel:"alternate",href:r,hreflang:t})}else if("blog"===n)s?o.push({rel:"alternate",href:Z(l.enUs),hreflang:"en-us"}):c?o.push({rel:"alternate",href:Z(l.deDe),hreflang:"de-de"}):d?o.push({rel:"alternate",href:Z(l.esEs),hreflang:"es-es"}):o.push({rel:"alternate",href:Z(l.root),hreflang:"en-gb"});else if("region"===n){if(a?.length>0)for(let e=0;e<a.length;e++){let t=a[e].locale,n=D(t);o.push({rel:"alternate",href:"en-gb"===t?Z(l.root):Z(l[n]),hreflang:t})}else for(let e=0;e<R.B2.length;e++){let t=R.B2[e],n=D(t);o.push({rel:"alternate",href:Z("en-gb"===t?l.root:l[n])+(i||""),hreflang:t})}}else o.push({rel:"alternate",href:Z(l.root)+(i||""),hreflang:"en-gb"}),o.push({rel:"alternate",href:Z(l.enUs)+(i||""),hreflang:"en-us"}),o.push({rel:"alternate",href:Z(l.deDe)+(i||""),hreflang:"de-de"}),o.push({rel:"alternate",href:Z(l.esEs)+(i||""),hreflang:"es-es"});return o}({currentUrl:e.href,locale:G,pageType:"region",supportedLocales:K.supportedLocale,hasPaginated:X>1?`?page=${X}`:""});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)($.Z,{noindex:!!K.noindex}),(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:ek}),e$&&(0,r.jsx)("meta",{content:e$,name:"description"}),ej&&(0,r.jsx)("meta",{content:ej,name:"keywords"}),(0,r.jsx)("link",{href:ew,rel:"canonical"}),(0,r.jsx)("meta",{content:"website",property:"og:type"}),(0,r.jsx)("meta",{content:ek,property:"og:title"}),e$&&(0,r.jsx)("meta",{content:e$,property:"og:description"}),(0,r.jsx)("meta",{content:ev,property:"og:image"}),(0,r.jsx)("meta",{content:ew,property:"og:url"}),(0,r.jsx)("meta",{content:C.UQ.name,property:"og:site_name"}),eS&&(0,r.jsx)("link",{as:"image",fetchpriority:"high",href:eS,rel:"preload"}),eR.filter(e=>"alternate"===e.rel).map(e=>(0,r.jsx)("link",{href:e.href,hrefLang:e.hreflang,rel:"alternate"},e.hreflang))]}),eB,!V&&eg?.length>0&&(0,r.jsx)(w.Z,{isRegionSEO:!0,showAtBottom:!0,breadcrumbs:eg,currentUrl:e.href,searchFormShow:!1}),eT&&(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify(eT)},type:"application/ld+json"}),eP&&(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify(eP)},type:"application/ld+json"})]})}}}]);

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.