PageSourceSearch

https://static-js.treatme.co.nz/en-AU/9314.e9220bb45f7d5202.js

js treatme.co.nz collected 2026-10-04 20:27:00 UTC 33,356 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"production-4623957"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];if(null!=a)for(var i in a)a.hasOwnProperty(i)&&(e[i]=a[i])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:luxgroup-customer-portal":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="35bef0cf-4f19-4b1e-a47a-78429656073c",e._sentryDebugIdIdentifier="sentry-dbid-35bef0cf-4f19-4b1e-a47a-78429656073c")}catch(e){}}();"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9314],{105877(e,t,a){var i=a(474848),r=a(247174);a.d(t,{},{A:function(e){return(0,i.jsx)(r.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,i.jsx)("path",{fill:"currentColor",d:"m21.66 10.25-9-8a1 1 0 0 0-1.32 0l-9 8a.9999.9999 0 0 0-.27 1.11A1.0002 1.0002 0 0 0 3 12h1v9a1 1 0 0 0 1 1h14a1.0001 1.0001 0 0 0 1-1v-9h1a.9998.9998 0 0 0 .93-.64 1.0001 1.0001 0 0 0-.27-1.11ZM13 20h-2v-3a1.0001 1.0001 0 0 1 2 0v3Zm5 0h-3v-3a3 3 0 0 0-6 0v3H6v-8h12v8ZM5.63 10 12 4.34 18.37 10H5.63Z"})})}})},932671(e,t,a){var i=a(474848),r=a(439714),n=a(724633),o=a(800423),s=a(299759),l=a(296540),d=a(38267),c=a(413697),h=a(161648),p=a(792276),u=a(731357),f=a(295204),g=a(717904);let m=(0,d.Ay)(n.A).withConfig({componentId:"sc-631c0290-0"})(["transition:color 200ms;"]),y=(0,d.Ay)(o.A).withConfig({componentId:"sc-631c0290-1"})(["transition:color 200ms;&:empty{display:none;}"]),b=d.Ay.label.withConfig({componentId:"sc-631c0290-2"})(["z-index:2;transition:background-color 200ms,box-shadow 200ms;border-radius:",";display:flex;flex-direction:column;align-items:center;justify-content:center;padding:"," ",";height:auto;min-width:",";","{color:",";}","{color:",";}body."," &{","{color:var(--palette-neutral-surface-light-contrast-alt);}","{color:var(--palette-neutral-surface-light-foreground-alt);}&:has(input:checked) ","{color:var(--palette-neutral-surface-normal-contrast);}}&:has(input:checked){","{font-weight:",";}}&:has(input:disabled){cursor:not-allowed;opacity:0.5;}&:not(:has(input:disabled),:has(input:checked)){cursor:pointer;","{&:hover{background-color:",";}}}&:focus-visible{","}"],e=>e.theme.borderRadius.round,(0,u.D0)(8),(0,u.D0)(16),(0,u.D0)(80),m,e=>e.theme.palette.neutral.surface.normalContrast,y,e=>e.theme.palette.neutral.surface.lightForegroundAlt,g.AM,m,y,m,m,e=>e.theme.font.primary.weight.bold,s.R,e=>e.theme.palette.neutral.surface.normalBackground,c.A);a.d(t,{},{A:function({ref:e,title:t,subtitle:a,icon:n,inputRef:s,name:d,...c}){let u=(0,l.useContext)(p.A),g=d??u.inputsName,x=(0,f.A)(e),A=(0,l.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),e.currentTarget.click())},[]);return(0,i.jsxs)(b,{ref:x,tabIndex:c.disabled?-1:0,onKeyDown:A,children:[(0,i.jsx)(m,{variant:"medium",startIcon:n,children:(0,i.jsx)(o.A,{Typography:h.Ay,variant:"medium",align:"center",wrap:"truncate",children:t})}),!!a&&(0,i.jsx)(y,{Typography:h.Ay,variant:"small",align:"center",wrap:"truncate",children:a}),(0,i.jsx)(r.A,{...c,name:g,ref:s,type:"radio"})]})}})},617527(e,t,a){var i=a(474848),r=a(230556),n=a(202889),o=a(908525),s=a(731357),l=a(296540),d=a(38267),c=a(792276),h=a(139148),p=a(634164),u=a(638772),f=a(717904);let g=d.Ay.div.withConfig({componentId:"sc-d7450363-0"})(["--segmented-track:",";position:relative;background-color:var(--segmented-track);border-radius:",";overflow:hidden;isolation:isolate;body."," &{--segmented-track:var(--palette-neutral-surface-light-background-alt);}&.distribution-hugged{display:inline-block;max-width:100%;}&::before{content:'';position:absolute;inset-inline-start:0;top:0;bottom:0;width:",";opacity:var(--start-fade-opacity,0);transition:opacity 600ms;background-image:linear-gradient(to right,var(--segmented-track) 20%,transparent);z-index:3;pointer-events:none;}&:dir(rtl)::before{background-image:linear-gradient(to left,var(--segmented-track) 20%,transparent);}&::after{content:'';position:absolute;inset-inline-end:0;
1top:0;bottom:0;width:",";opacity:var(--end-fade-opacity,0);transition:opacity 600ms;background-image:linear-gradient(to left,var(--segmented-track) 20%,transparent);z-index:3;pointer-events:none;}&:dir(rtl)::after{background-image:linear-gradient(to right,var(--segmented-track) 20%,transparent);}&.hasReachedHorizontalStart:not(.hasReachedHorizontalEnd){--end-fade-opacity:1;}&:not(.hasReachedHorizontalStart).hasReachedHorizontalEnd{--start-fade-opacity:1;}"],e=>e.theme.palette.neutral.surface.lightBackground,e=>e.theme.borderRadius.round,f.AM,(0,s.D0)(64),(0,s.D0)(64)),m=d.Ay.div.withConfig({componentId:"sc-d7450363-1"})(["position:absolute;inset:0;z-index:4;pointer-events:none;border-radius:",";transition:box-shadow 600ms;&:not(.hasReachedHorizontalStart):not(.hasReachedHorizontalEnd){box-shadow:0.7px 0 1.4px 0 rgba(0,0,0,0.07) inset,1.9px 0 4px 0 rgba(0,0,0,0.05) inset,4.5px 0 10px 0 rgba(0,0,0,0.05) inset,-0.7px 0 1.4px 0 rgba(0,0,0,0.07) inset,-1.9px 0 4px 0 rgba(0,0,0,0.05) inset,-4.5px 0 10px 0 rgba(0,0,0,0.05) inset;}&.hasReachedHorizontalStart:not(.hasReachedHorizontalEnd){box-shadow:-0.7px 0 1.4px 0 rgba(0,0,0,0.07) inset,-1.9px 0 4px 0 rgba(0,0,0,0.05) inset,-4.5px 0 10px 0 rgba(0,0,0,0.05) inset;}&:dir(rtl).hasReachedHorizontalStart:not(.hasReachedHorizontalEnd){box-shadow:0.7px 0 1.4px 0 rgba(0,0,0,0.07) inset,1.9px 0 4px 0 rgba(0,0,0,0.05) inset,4.5px 0 10px 0 rgba(0,0,0,0.05) inset;}&:not(.hasReachedHorizontalStart).hasReachedHorizontalEnd{box-shadow:0.7px 0 1.4px 0 rgba(0,0,0,0.07) inset,1.9px 0 4px 0 rgba(0,0,0,0.05) inset,4.5px 0 10px 0 rgba(0,0,0,0.05) inset;}&:dir(rtl):not(.hasReachedHorizontalStart).hasReachedHorizontalEnd{box-shadow:-0.7px 0 1.4px 0 rgba(0,0,0,0.07) inset,-1.9px 0 4px 0 rgba(0,0,0,0.05) inset,-4.5px 0 10px 0 rgba(0,0,0,0.05) inset;}"],e=>e.theme.borderRadius.round),y=d.Ay.div.withConfig({componentId:"sc-d7450363-2"})(["z-index:1;opacity:0;width:0;position:absolute;inset:0 auto auto 0;background-color:",";box-shadow:",";border-radius:",";transition:opacity 200ms,transform 200ms,height 200ms,width 200ms;transform:translate(",",",");height:calc(100% - ",");"],e=>e.theme.palette.neutral.surface.normalBackground,e=>e.theme.shadow.flat.medium,e=>e.theme.borderRadius.round,(0,s.D0)(4),(0,s.D0)(4),(0,s.D0)(8)),b=d.Ay.div.withConfig({componentId:"sc-d7450363-3"})(["position:relative;padding:",";display:grid;grid-auto-flow:column;align-items:stretch;gap:",";overflow-x:auto;overflow-y:hidden;&.distribution-filled{grid-auto-columns:minmax(max-content,1fr);}&.distribution-hugged{grid-auto-columns:minmax(max-content,auto);}scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none;}"],(0,s.D0)(4),(0,s.D0)(4));a.d(t,{},{A:function({children:e,inputsName:t,onValueChange:a,distribution:s="hugged",className:d,...f}){let x=(0,l.useRef)(null),A=(0,l.useRef)(null),w=(0,l.useCallback)(e=>{if(A.current&&"radio"===e.type){let t=e.labels?.[0];if(t){let e=t.getBoundingClientRect();A.current.style.opacity="1",A.current.style.transform=`translate(${t.offsetLeft}px, ${t.offsetTop}px)`,A.current.style.height=`${e.height}px`,A.current.style.width=`${e.width}px`}}},[]),v=(0,l.useCallback)(e=>{let t=C.current;if(t&&e){let a=(0,u.D)(t),i=(0,u.l0)(e,a),r=(0,u.l0)(t,a);(0,u.fE)(t,{left:i-r,behavior:"smooth"})}},[]),j=(0,l.useCallback)(e=>{(0,o.A)(e.target)&&(w(e.target),v(e.target.labels?.[0]),a?.(e.target.value))},[w,v,a]),k=(0,n.A)(),M=(0,l.useCallback)(()=>{let e=x.current?.querySelector('input[type="radio"]:checked');return e&&(0,o.A)(e)?e:void 0},[]),I=(0,l.useCallback)(()=>{if(x.current){let e=M();e&&w(e)}},[w,M]);(0,l.useEffect)(()=>{k&&I()}),(0,r.PU)(x,I);let C=(0,l.useRef)(null),{hasReachedHorizontalEnd:R,hasReachedHorizontalStart:T}=(0,h.A)(C,e,{initiallyHasReachedHorizontalEnd:!0,initiallyHasReachedHorizontalStart:!0}),D=(0,l.useMemo)(()=>({inputsName:t}),[t]);return(0,i.jsx)(c.A,{value:D,children:(0,i.jsxs)(g,{...f,className:(0,p.A)(d,`distribution-${s}`,{hasReachedHorizontalStart:T,hasReachedHorizontalEnd:R}),children:[(0,i.jsx)(m,{className:(0,p.A)({hasReachedHorizontalStart:T,hasReachedHorizontalEnd:R})}),(0,i.jsx)("fieldset",{ref:x,onChange:j,children:(0,i.jsxs)(b,{ref:C,className:(0,p.A)(`distribution-${s}`,{hasReachedHorizontalStart:T,hasReachedHorizontalEnd:R}),children:[(0,i.jsx)(y,{role:"none",className:"segmented-options-indicator",ref:A}),e]})})]})})}})}
1,792276(e,t,a){let i=(0,a(296540).createContext)({inputsName:""});a.d(t,{},{A:i})},769359(e,t,a){a(517642),a(658004),a(733853),a(845876),a(432475),a(515024),a(731698),a(125509),a(665223),a(660321),a(241927),a(511632),a(864377),a(966771),a(712516),a(368931),a(652514),a(235694),a(652774),a(849536),a(321926),a(994483),a(916215),a(218111),a(22489),a(161701),a(944114);var i,r=a(474848),n=a(296540),o=a(665673),s=a(634164),l=a(473884),d=a(38267),c=a(731357),h=a(302885),p=a(872989),u=a(196168),f=a(107872),g=a(302920),m=a(912047),y=a(428357),b=a(811645),x=a(711057),A=a(596261),w=a(908360),v=a(194617),j=a(354171);let k=d.Ay.div.withConfig({componentId:"sc-f3c80420-0"})(["display:flex;flex-direction:column;width:100%;&.fullWidth{> *{&:first-child{padding:0 ",";}}}> * + *{margin-top:",";}> .offer-tile + .offer-tile{margin-top:0;}&.density-cro-compact{> .offer-tile + .offer-tile{margin-top:0;border-top:1px solid ",";}}&.density-map-row > .offer-tile + .offer-tile{margin-top:0;}","{> .offer-tile + .offer-tile{margin-top:",";}&.density-map-row,&.density-cro-compact{> .offer-tile + .offer-tile{margin-top:0;}}}","{> .flush-banner + .offer-tile{margin-top:0;}}"],(0,c.D0)(20),(0,c.D0)(16),e=>e.theme.palette.neutral.surface.lightForeground,v.em.tablet,(0,c.D0)(16),v.D5.mobile);var M=((i={}).OVERRIDE="override",i.PRIORITIZE="prioritize",i);a.d(t,{d:()=>M},{A:function(e){let t,{className:a,filters:i=y.zf,interstitials:d=h.N9,random:c,pageSize:v=4,eagerLoadFirstImage:M,tileStyle:I="frontpage",defaultPage:C=1,onPageChange:R=u.A,maxOffers:T="infinite",extraOfferListAndAction:D,filterSoldOut:E,excludedIds:S,clientCheckAvailability:P,isInfiniteScroll:z=!0,searchId:N,typeaheadId:L,showLoadingTiles:_=!0,trackingOptions:H,onEndReached:B=u.A,overrideFetching:O,disableUseOfferList:V,showLoadMoreTiles:F=!0,minRequiredOffers:W,preventNavigationToOfferPage:q=!1,storeOfferListTile:Z=!1,showPerNightPricing:$=!1,searchTileDensity:U="default"}=e,G=i?.isStream,[K,Q]=(0,n.useState)(C),X=(0,n.useContext)(m.Ay),J=(0,o.A)(),Y=(0,n.useCallback)(()=>{Q(e=>e+1)},[]);(0,f.A)(()=>{R(K)},[K]);let ee=(0,j.A)(i,{disabled:!G}),et=(0,A._V)(i),ea=(0,w.A)(i,{randomize:c,disabled:V??D?.action==="override",filterSoldOut:!G&&(E||"destination"===et),excludedIds:S,clientCheckAvailability:P,minRequiredOffers:W,searchId:N,typeaheadId:L},H);(0,n.useEffect)(()=>{Q(C)},[ea.key]);let ei=(0,n.useMemo)(()=>{let e=ea;if(D?.action==="override")e=D.offerList;else if(D?.action==="prioritize"){let t=ea.offerIds,a=D.offerList.offerIds,i=new Set(t),r=a.filter(e=>i.has(e)),n=(0,h.Am)([...r,...t]);e={fetching:D.offerList.fetching||ea.fetching,error:D.offerList.error||ea.error,offerIds:n,key:ea.key,offerCount:n.length,searchVertical:ea.searchVertical}}return e},[D,ea]),er="search"===I?i:void 0,en=!!i?.viewPriceInPoints,eo=ei.fetching||O,es=eo&&0===ei.offerIds.length,el=K*v,ed=Math.min("infinite"===T?ei.offerIds.length:T,ei.offerIds.length);(0,n.useEffect)(()=>{eo||X({type:2,key:ei.key,list:ei})},[eo,ei.key]);let ec=function(e){let{offerTypes:t}=e;if(t){if((0,x.A)(t,["tour",b.ab]))return b.ab;if(1===t.length)return t[0]}}(i),eh=(e,t=e)=>({id:`${e}-loader`,position:t,element:(0,r.jsx)(g.A,{tileStyle:I,offerType:ec,className:"offer-tile",filters:er,offerPosition:e,searchTileDensity:U})});if(es){let e="map-row"===U?v:4;t=_?(0,h.R2)(e).map(e=>eh(e,"start")):[]}else{let e=(0,h.s)(ei.offerIds,"infinite"===T?el:T);t=e.map((e,t)=>({id:e,position:t,element:(0,r.jsx)(p.A,{offerId:e,position:t,eagerLoadImage:0===t&&M,filters:er,viewPriceInPoints:en,tileStyle:I,wrapperClass:"offer-tile",showPerNightPricing:$,searchTileDensity:U,preventNavigationToOfferPage:q,storeOfferListTile:Z})}));let a=Math.min(v,ei.offerCount??v)-e.length;_&&G&&!ee&&a>0&&t.push(...(0,h.R2)("map-row"===U?a:Math.min(3,a)).map(t=>eh(e.length+t)))}let ep=d.filter(e=>("start"===e.position||!es)&&("always"===e.show||("hasOffers"===e.show?!es&&t.length>0:"hasNoOffers"===e.show?!es&&0===t.length:"boolean"!=typeof e.show||e.show))),eu=ep.filter(e=>"end"!==e.position),ef=ep.filter(e=>"end"===e.position),eg=el+eu.length+(ed<=el?ef.length:0),em=ep.concat(t),ey=(0,h.Ul)(em,e=>"end"===e.position?1e4:"start"===e.position?-1:e.position,"asc"),eb=G&&!ee||ed>el;return(0,n.useEffect)(()=>{eb||B()},[eb,B]),(0,r.jsxs)(k,{className:(0,s.A)(a,{"density-cro-compact":"cro-compact"===U,"density-map-row":"map-row"===U,fullWidth:e.fullWidth}),"data-testid":"offer-list",children:[(0,h.s)(ey,eg).map(e=>(0,r.jsx)(n.Fragment,{children:e.element},e.id)),eb&&_&&F&&(0,r.jsx)(l.A,{onClick:Y,size:"large",onScrollNear:z?Y:void 0,showLoadingIndicator:G&&!ee,children:J.formatMessage({id:"NbcY1R5kaZWI1q8j3nio",defaultMessage:"Load more",description:"Action button label to load more offers in the offer list"})})]})}})},473884(e,t,a){var i=a(474848),r=a(296540),n=a(185692),o=a(196168),s=a(314953),l=a(679628),d=a(78272),c=a(582544);a.d(t,{},{A:function(e){let{children:t,onScrollNear:a=o.A,showLoadingIndicator:h=!1,onClick:p,onVisibilityChange:u,...f}=e,[g,m]=(0,n.Wx)({rootMargin:"500px"});(0,r.useEffect)(()=>{m&&a(),u?.(m)},[m]);let y=(0,r.useCallback)(e=>{e.currentTarget.blur(),p&&p(e)},[p]);return(0,i.jsxs)(d.A,{gap:16,ref:g,children:[h&&(0,i.jsx)(c.A,{inline:!0}),!h&&(0,i.jsx)(l.Ay,{align:"center",children:(0,i.jsx)(s.A,{kind:"primary",onClick:y,...f,children:t})})]})}})},354515(e,t,a){a.d(t,{A:()=>ev});var i=a(474848),r=a(671468),n=a(731357),o=a(296540),s=a(665673),l=a(38267),d=a(267662),c=a(45667),h=a(64392),p=a(161648),u=a(958911),f=a(616198),g=a(932671),m=a(617527),y=a(314953),b=a(510856),x=a(163995),A=a(262762),w=a(450816),v=a(803556),j=a(814888),k=a(134754),M=a(871942),I=a(846416),C=a(302885),R=a(897729);a(218111),a(720116),a(161701);var T=a(724633),D=a(23307),E=a(73659),S=a(423946),P=a(299759),z=a(452643),N=a(413697),L=a(789415),_=a(247767),H=a(465375),B=a(755373),O=a.n(B);let V=(0,l.Ay)(D.A).withConfig({componentId:"sc-350265f9-0"})(["border-radius:",";"],e=>e.theme.borderRadius.S),F=(0,l.Ay)(z.A).withConfig({componentId:"sc-350265f9-1"})(["display:grid;grid-template-rows:"," 1fr;width:",";transition:background-color 0.2s;background-color:",";","{&:hover{background-color:",";}}&:focus-visible{","}"],(0,n.D0)(80),(0,n.D0)(220),e=>
1e.theme.palette.neutral.surface.normalBackground,P.R,e=>e.theme.palette.neutral.surface.lightBackground,N.A),W=function({specificPlaces:e,destinationName:t,showTitle:a=!0,arrowsOnlyOnHover:r=!1,className:n,isDestinationLandingPage:l,pageTypeForDestinationLandingPage:d,holidayTypeForDestinationLandingPage:c}){let h=(0,s.A)(),u=(0,_.zy)(),f=(0,H._)(),g=(0,o.useCallback)(t=>{if(!l){let a=t.currentTarget.dataset.placeid,i=e.find(e=>e.placeId===a);i&&(0,M.trackClientEvent)({subject:`${i.placeId}-${i.name}`,action:"clicked",category:"broad_search_location",type:"interaction"})}},[e,l]),m=(0,o.useMemo)(()=>e.map(e=>{let t;if(l)d&&e.destinationLandingPageSlug&&(t=`/${d}/${e.destinationLandingPageSlug}${c?`/${c}`:""}`);else{let a=O().stringify({...f,destinationId:e.placeId,destinationName:e.name});t=`${u.pathname}?${a}`}return{place:e,to:t}}),[c,l,u.pathname,d,f,e]),y=h.formatMessage({id:"cq2h5HGFA30ubhAxkyUF",defaultMessage:"Explore top destinations in {destinationName}",description:"Title for the carousel showing top destinations in a searched area"},{destinationName:t});return(0,i.jsxs)(R.A,{className:n,direction:"vertical",gap:8,children:[a&&!!t&&(0,i.jsx)(T.A,{variant:"large",children:y}),(0,i.jsx)(S.A,{gap:12,arrowsOnlyOnHover:r,children:m.map(e=>(0,i.jsxs)(F,{to:e.to,"data-placeid":e.place.placeId,onClick:g,children:[(0,i.jsx)(V,{width:220,height:80,dpr:2,id:e.place.image,alt:e.place.name,fit:"center"}),(0,i.jsxs)(L.A,{padding:4,children:[(0,i.jsx)(p.Ay,{variant:"medium",weight:"bold",children:e.place.name}),(0,i.jsx)(E.Ay,{colour:"light-foreground-alt",variant:"medium",children:e.place.caption})]})]},e.place.placeId))})]})};var q=a(927099),Z=a(148400),$=a(825060),U=a(722834),G=a(843702),K=a(78272);let Q=function(){let e=(0,s.A)(),t=e.formatMessage({id:"s4PRlTOa3fK5q9qrhXrX",defaultMessage:"How our hotel search results work",description:"Title of the modal explaining how hotel search results are ranked and how paid placements are disclosed"}),a=e.formatMessage({id:"F4l9241xUG48j0AGnsPa",defaultMessage:"Our goal is to show you the most relevant and valuable hotel offers as quickly as possible. This page explains how we decide which hotels to show, the order we show them in, and how paid placements work.",description:"Introductory paragraph of the sort order info modal explaining its overall purpose"}),r=e.formatMessage({id:"izi8SPkdPbxoCvlR8ceF",defaultMessage:'Default sort order: "Recommended"',description:"Sub-heading for the section explaining the default Recommended sort order in the sort order info modal"}),n=e.formatMessage({id:"ZGRguT5JxyrNtwJ9W4e6",defaultMessage:"When you search for hotels, results are displayed in our Recommended order by default. This is designed to surface the offers most likely to match what you are looking for. Location and relevance to your search are the primary factors we consider.",description:"Paragraph explaining what the default Recommended sort order optimises for"}),o=e.formatMessage({id:"G6qr23QbD6hnPpp-8Vaf",defaultMessage:"The main factors we consider are:",description:"Lead-in sentence introducing the list of ranking factors in the sort order info modal"}),l=e.formatMessage({id:"JDotg_goJm4iBaDdbs73",defaultMessage:"Other sort options",description:"Sub-heading for the section describing alternative, non-default sort options in the sort order info modal"}),d=e.formatMessage({id:"ztOPuaGVpK9_qMEsOza7",defaultMessage:"Paid placements",description:"Heading for the callout explaining sponsored/paid placements in the sort order info modal"}),c=e.formatMessage({id:"qRN6edfbZC07u9Frib91",defaultMessage:'Some hotel offers appear in a fixed position in our search results because the supplier has paid for that placement. All paid placements are clearly labelled with an "Ad" badge so you can distinguish them from organically ranked results at a glance. The "Ad" label appears on each individual paid placement, in the position where that placement displays. Paid placement affects position only. It does not influence how the listing appears in any other way, including image size, badges, or any labelling.',description:"Paragraph explaining that paid placements only affect ranking position and are always labelled"}),h=e.formatMessage({id:"noOq0oa7tz_uzIEOs3Gq",defaultMessage:"Personalisation and testing",description:"Sub-heading for the section explaining personalisation and testing in the sort order info modal"}),u=e.formatMessage({id:"RRXXxY3cqDacz_OPdG8p",defaultMessage:"The default Recommended sort order is consistent across web and app for the same user and the same search. Luxury Escapes retains the right to run limited tests that may temporarily affect how listings and search results are displayed, and to display results differently across markets where relevant. Paid placements remain clearly labelled during any such tests.",description:"Paragraph explaining sort order 
1consistency across platforms and the possibility of limited display tests"}),f=e.formatMessage({id:"T3FB_9QDnEQc6JhtdZMH",defaultMessage:"AI-generated content in search results",description:"Sub-heading for the section explaining AI-generated match explanations in the sort order info modal"}),g=e.formatMessage({id:"IEriCRcpuhdWSPefrJmW",defaultMessage:"When you search using a destination name or a descriptive term, some results may include a short AI-generated explanation of why particular offers are considered strong matches for your search. These explanations are generated automatically from the offer details and your search. They do not use commercial factors, do not affect a property’s ranking position, and do not appear on paid placements. We encourage you to review the full property details before making a booking decision.",description:"Paragraph explaining that AI-generated match explanations do not affect ranking or appear on paid placements"});return(0,i.jsx)(G.A,{title:t,size:"L",children:(0,i.jsxs)(K.A,{gap:24,children:[(0,i.jsx)(p.Ay,{variant:"medium",children:a}),(0,i.jsxs)(K.A,{gap:12,children:[(0,i.jsx)(T.A,{variant:"medium",weight:"bold",children:r}),(0,i.jsx)(p.Ay,{variant:"medium",children:n}),(0,i.jsx)(p.Ay,{variant:"medium",children:o}),(0,i.jsxs)(R.A,{as:"ul",direction:"vertical",gap:8,horizontalAlign:"start",children:[(0,i.jsx)(p.Ay,{variant:"medium",as:"li",children:(0,i.jsx)(U.A,{id:"SdmanYmugd0k-qAyUHzV",defaultMessage:"<b>What we earn.</b> We also consider how much Luxury Escapes earns when you book, based on the margin we receive per completed booking and how often an offer is booked. Where offers are otherwise comparable, we may rank a property that generates a stronger commercial return for Luxury Escapes above one that does not.",description:"Bullet point explaining that commercial return can influence ranking among comparable offers",values:{b:e=>(0,i.jsx)("b",{children:e})}})}),(0,i.jsx)(p.Ay,{variant:"medium",as:"li",children:(0,i.jsx)(U.A,{id:"ybC2sGUc4qZvlA1uUbXv",defaultMessage:"<b>Location.</b> We consider the property's location relative to your search — for example, proximity to the destination or area you searched for.",description:"Bullet point explaining that property location relative to the search influences ranking",values:{b:e=>(0,i.jsx)("b",{children:e})}})}),(0,i.jsx)(p.Ay,{variant:"medium",as:"li",children:(0,i.jsx)(U.A,{id:"a4MVA0P_5wBcST7ht3Vz",defaultMessage:"<b>Loyalty status.</b> Where applicable, your Luxury Escapes membership status may influence how results are ordered for you.",description:"Bullet point explaining that loyalty membership status can influence result ordering",values:{b:e=>(0,i.jsx)("b",{children:e})}})}),(0,i.jsx)(p.Ay,{variant:"medium",as:"li",children:(0,i.jsx)(U.A,{id:"U7u_PueKewSn7RPpG9zh",defaultMessage:"<b>New listings.</b> We may temporarily rank newly listed properties higher in search results to give them initial visibility and ensure our platform reflects the full breadth of our offer.",description:"Bullet point explaining that new property listings can be temporarily boosted for visibility",values:{b:e=>(0,i.jsx)("b",{children:e})}})}),(0,i.jsx)(p.Ay,{variant:"medium",as:"li",children:(0,i.jsx)(U.A,{id:"UFT6yUm8kS-ktjC0_Zc7",defaultMessage:"<b>Tiebreaking.</b> Where two or more offers are equal on the factors above, we use other engagement signals. Where offers remain equal after that, order is determined randomly.",description:"Bullet point explaining how ties between otherwise-equal offers are broken",values:{b:e=>(0,i.jsx)("b",{children:e})}})})]})]}),(0,i.jsxs)(K.A,{gap:8,children:[(0,i.jsx)(T.A,{variant:"medium",weight:"bold",children:l}),(0,i.jsx)(p.Ay,{variant:"medium",children:(0,i.jsx)(U.A,{id:"xmwHs32W1hrgCnSMBuZc",defaultMessage:"You can change the default sort at any time using the options available on the search results page. Options include Price (Lowest), Price (Highest), Best Value, and Customer Rating (Highest). Best Value ranks offers using a combination of price and customer rating. Commercial factors do not influence any non-default sort.",description:"Paragraph listing alternative sort options and confirming commercial factors don't apply to them"})})]}),(0,i.jsxs)(K.A,{gap:8,children:[(0,i.jsx)(T.A,{variant:"medium",weight:"bold",children:d}),(0,i.jsx)(p.Ay,{variant:"medium",children:c})]}),(0,i.jsxs)(K.A,{gap:8,children:[(0,i.jsx)(T.A,{variant:"medium",weight:"bold",children:h}),(0,i.jsx)(p.Ay,{variant:"medium",children:u})]}),(0,i.jsxs)(K.A,{gap:8,children:[(0,i.jsx)(T.A,{variant:"medium",weight:"bold",children:f}),(0,i.jsx)(p.Ay,{variant:"medium",children:g})]})]})})},X=function(){let e=(0,s.A)(),t=(0,o.useContext)($.A),a=e.formatMessage({id:"V-qLdQqAoX7tWB99kBIk",defaultMessage:"How our sort order works",description:"Link text in the hotel search results toolbar that opens a modal explaining how search results are ranked and how paid placements are disclosed"}),r=(0,o.useCallback)(()=>{t((0,i.jsx)(Q,{}))},[t]);return(0,i.jsx)(z.A,{onClick:r,children:(0,i.jsx)(T.A,{variant:"medium",weight:"bold",endIcon:(0,i.jsx)(Z.A,{}),children:a})})};var J=a(41526),Y=a(182515),ee=a(982513),et=a(116267),ea=a(193033),ei=a(677529),er=a(267176),en=a(591461),eo=a(739496),es=a(105877),el=a(618553),ed=a(732776);let ec=(0,i.jsx)(en.A,{}),eh=(0,i.jsx)(eo.A,{}),ep=(0,i.jsx)(es.A,{}),eu=function(e){let{availablePropertyTypes:t=C.N9,distribution:a="hugged",inputsName:r,selectedPropertyTypes:n=C.N9,search:l,onFilterChange:d}=e,c=(0,s.A)(),h=(0,o.useMemo)(()=>(0,ed.yf)(n),[n]),p=c.formatMessage(el.Bi.all),u=c.formatMessage(el.Bi.hotels),f=c.formatMessage(el.Bi.homes),y=(0,o.useCallback)(e=>{(0,M.trackClientEvent)({subject:`search-vertical-tab-${e}`,action:"clicked",category:"hotels-search-page",type:"interaction"}),d({search:(0,ei.hT)(l,(0,ed.pZ)(e,t))}),window.scrollTo({behavior:"instant",top:0})},[t,d,l]);return(0,i.jsxs)(m.A,{inputsName:r,distribution:a,onValueChange:y,children:[(0,i.jsx)(g.A,{value:"all",checked:"all"===h,icon:ec,title:p}),(0,i.jsx)(g.A,{value:"hotels",checked:"hotels"===h,icon:eh,title:u}),(0,i.jsx)(g.A,{value:"homes",checked:"homes"===h,icon:ep,title:f})]})};var ef=a(496714);let eg=(0,l.Ay)(I.A).withConfig({componentId:"sc-9c3308f-0"})(["display:flex;justify-content:space-between;align-items:center;width:100%;"]),em=(0,l.Ay)(I.A).withConfig({componentId:"sc-9c3308f-1"})(["width:100%;&.with-search-vertical-tabs{margin-top:",";}"],(0,n.D0)(8)),ey=l.Ay.div.withConfig({componentId:"sc-9c3308f-2"})(["display:flex;align-items:center;&.fixed-width{min-width:",";}> * + *{margin-inline-start:",";}"],(0,n.D0)(175),(0,n.D0)(16)),eb=l.Ay.div.withConfig({componentId:"sc-9c3308f-3"})(["display:flex;flex-direction:column;align-items:center;min-width:0;width:",";> * + *{margin-top:",";}"],(0,n.D0)(352),(0,n.D0)(8)),ex=(0,l.Ay)(p.Ay).withConfig({componentId:"sc-9c3308f-4"})(["width:100%;"]),eA=(0,l.Ay)(er.A).withConfig({componentId:"sc-9c3308f-5"}
1)(["height:",";width:",";"],(0,n.D0)(24),(0,n.D0)(200)),ew=l.Ay.div.withConfig({componentId:"sc-9c3308f-6"})(["display:flex;align-items:center;> * + *{margin-inline-start:",";}"],(0,n.D0)(8)),ev=(0,r.Ng)(e=>({isLoggedIn:(0,v.W0)(e),userId:e.auth.account.memberId}))(function(e){let{mainListTotal:t,sortOptions:a,mapViewUrl:r,switchViewLabel:n,showPerNightPricingToggle:l=!1,isPerNightPricing:v=!1,onPerNightPricingChange:T,isFlexible:D,shouldShowFilters:E=!1,showOfferCount:S=!0,filters:P,windowSearch:z,searchType:N,enabledFilters:L,fetching:_,countTextOverride:H,specificPlaces:B,destinationName:O,isDestinationLandingPage:V,pageTypeForDestinationLandingPage:F,holidayTypeForDestinationLandingPage:Z,isLoggedIn:$,userId:U,showRoomsAndAmenitiesAtTop:G=!1,showBroadSearchLocation:Q=!0,enableSearchVerticalTabsExperiment:er=!1,showSortOrderInfo:en=!1,hasSponsoredOffer:eo=!1,onFilterChange:es,onSortChange:el}=e,ec=(0,s.A)(),{isFilterPanelOpen:eh,toggleFilterPanel:ep}=(0,ee.A)(),ev=(0,j.xF)("mobile"),ej=(0,k.t)(),ek=er&&!!L?.propertyTypes,eM=(0,ef.A)({canActivateExperiment:!1,canShowToggle:ek,destinationId:P.destinationId,destinationIds:P.destinationIds,destinationName:O,rooms:P.rooms}),eI=(0,o.useMemo)(()=>(0,ed.p4)(P),[P]),eC=(0,o.useMemo)(()=>({disabled:!eM.shouldShowToggle}),[eM.shouldShowToggle]),eR=(0,et.A)(eI,eC),eT=eR.filters?.propertyTypes??C.N9,eD=(0,o.useMemo)(()=>(0,ed.Q)(P.propertyTypes,eT),[P.propertyTypes,eT]),eE=eM.shouldShowToggle&&eD.length>=2,eS=eM.isActive&&ek;(0,ea.A)(c.z.nhaHomesAndVillasToggleInSearch,{canActivate:eS});let eP=ec.formatMessage({id:"pr1whn7-wNBM8zXkHG64",defaultMessage:"Filters",description:"Button label to open the search filters panel in the search results interface"}),ez=ec.formatMessage({id:"QKb19ziKOiYJ8ZBRLvOC",defaultMessage:"Map view",description:"Button label to switch to the map view display mode in the search results page"}),eN=ec.formatMessage({id:"B0XZiqtnKvnF-RFSxUGy",defaultMessage:"Total price",description:"Segmented control option label for showing total hotel search result pricing"}),eL=ec.formatMessage({id:"bubQQ8yvjBRwpi7OVtu-",defaultMessage:"Per night",description:"Label shown beside the toggle that switches hotel search result prices to a per-night view"}),e_=ec.formatMessage({id:"iuSXeE3g-0Xo21CA_C9h",defaultMessage:"{count, plural, one {# offer} other {# offers}}",description:"Mobile offer count on search results page in the search interface"},{count:t}),eH=ec.formatMessage({id:"uREvpZsS5_BHa5RwBDup",defaultMessage:"Showing {count, plural, one {# offer} other {# offers}} with cheapest availabilities for your dates",description:"Offer count with flexible dates on search results page"},{count:t}),eB=ec.formatMessage({id:"l16LF9DN7Tzpy32hOr2U",defaultMessage:"Showing {count, plural, one {# offer} other {# offers}}",description:"Offer count on search results page in the search and discovery interface"},{count:t}),eO=H||("property"===N?"":ev?e_:D?eH:eB),eV="luxuryescapes"===d.A.BRAND,eF=a&&a?.length>0,eW=(0,o.useCallback)(()=>{(0,M.trackClientEvent)({subject:"search_map_view",action:"clicked",type:"interaction",category:"vertical_page"}),(0,b.QM)((0,w.QP)())},[]),eq=(0,o.useMemo)(()=>v?"night":"total",[v]),eZ=(0,o.useCallback)(e=>{T?.("night"===e)},[T]),e$=l?(0,i.jsxs)(m.A,{inputsName:"hotelPriceMode",onValueChange:eZ,distribution:"hugged",children:[(0,i.jsx)(g.A,{value:"total",checked:"total"===eq,title:eN}),(0,i.jsx)(g.A,{value:"night",checked:"night"===eq,title:eL})]}):null,eU=(0,o.useMemo)(()=>(0,ed.yf)(P.propertyTypes),[P.propertyTypes]),eG=(0,o.useRef)(eE);(0,o.useEffect)(()=>{let e=eG.current;eG.current=eE,!e||eE||"all"===eU||es({search:(0,ei.hT)(z,[{paramName:A.Cu,paramValue:void 0},{paramName:"pages",paramValue:void 0},{paramName:"limit",paramValue:void 0}])})},[eU,es,eE,z]),(0,o.useEffect)(()=>{eE&&"homes"===eU&&P.chains?.length&&es({search:(0,ei.hT)(z,[{paramName:"chains",paramValue:void 0},{paramName:"pages",paramValue:void 0},{paramName:"limit",paramValue:void 0}])})},[eU,P.chains,es,eE,z]);let eK=eE&&!!D,eQ=(0,i.jsx)("span",{"aria-hidden":!0,children:(0,i.jsx)(eA,{borderRadius:"S"})}),eX=(0,i.jsxs)(eg,{dynamic:eE,min:eE?"desktop":"tablet",children:[(0,i.jsxs)(ey,{className:eE?"fixed-width":void 0,children:[E&&(0,i.jsx)(h.A,{size:"medium",variant:"filled",startIcon:(0,i.jsx)(u.A,{}),onClick:ep,children:eP}),!eK&&S&&(_?eQ:(0,i.jsx)(p.Ay,{variant:"large",children:eO}))]}),eE&&(0,i.jsx)(eb,{children:(0,i.jsx)(eu,{availablePropertyTypes:eT,distribution:"filled",inputsName:"search-vertical-desktop",selectedPropertyTypes:P.propertyTypes,search:z,onFilterChange:es})}),(0,i.jsxs)(ew,{children:[eF&&en&&eo&&(0,i.jsx)(X,{}),eF&&(0,i.jsx)(Y.A,{sortOptions:a,onSortChange:el}),e$,!l&&r&&(0,i.jsx)(y.A,{kind:"secondary",variant:"default",to:r,startIcon:(0,i.jsx)(f.A,{}),onClick:eW,children:n||ez})]})]}),eJ=(0,i.jsx)("div",{children:(0,i.jsxs)(K.A,{gap:16,children:[Q&&!ej&&!!B?.length&&!!P.destinationId&&(0,i.jsx)(W,{specificPlaces:B,destinationName:O,isDestinationLandingPage:V,pageTypeForDestinationLandingPage:F,holidayTypeForDestinationLandingPage:Z}),(0,i.jsx)(em,{className:eE?"with-search-vertical-tabs":void 0,max:eE?"tablet":"mobile",children:(0,i.jsxs)(R.A,{direction:"vertical",ga
1p:eE?16:8,children:[eE&&(0,i.jsx)(eu,{availablePropertyTypes:eT,inputsName:"search-vertical-mobile",selectedPropertyTypes:P.propertyTypes,search:z,onFilterChange:es}),!ej&&(0,i.jsxs)(R.A,{direction:"horizontal",horizontalAlign:"space-between",children:[S&&(_?eQ:(0,i.jsx)(p.Ay,{variant:"medium",children:eO})),eV&&$&&P.destinationId&&P.destinationId!==x.e8&&U&&(0,i.jsx)(q.A,{userId:U,placeId:P.destinationId})]}),e$]})}),!ej&&eX,eK&&S&&(0,i.jsx)(I.A,{dynamic:!0,min:"desktop",children:_?eQ:(0,i.jsx)(ex,{variant:"large",children:eO})})]})});return(0,i.jsxs)(i.Fragment,{children:[eJ,!!L&&(0,i.jsx)(J.A,{open:eh,onClose:ep,filters:P,sortOptions:a,search:z,enabledFilters:L,onFilterChange:es,showRoomsAndAmenitiesAtTop:G,enableSearchVerticalTabsExperiment:er})]})})},354171(e,t,a){var i=a(750142),r=a(116910);a.d(t,{},{A:function(e,t={}){let a=t.disabled||!e,n=(0,r.A)(e),o=(0,i.GV)(e=>e.offer.offerLists[n]?.streamEnded)??!1;return!a&&o}})},295204(e,t,a){var i=a(296540);a.d(t,{},{A:function(e){let t=(0,i.useRef)(null);return(0,i.useEffect)(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t}})},711057(e,t,a){function i(e,t,a=!1){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;let r=e,n=t;a&&(r=[...e].sort(),n=[...t].sort());for(let e=0;e<r.length;++e)if(r[e]!==n[e])return!1;return!0}a.d(t,{A:()=>i})},908525(e,t,a){a.d(t,{},{A:function(e){return e instanceof HTMLInputElement}})}}]);
2//# sourceMappingURL=9314.e9220bb45f7d5202.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.