PageSourceSearch

https://www.flightcentre.com.au/aurora/_next/static/chunks/pages/fc/holidays/[destination]-d7d084fcd45dc00c.js

js flightcentre.com.au collected 2026-10-01 10:37:33 UTC 51,971 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5309],{45210:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/fc/holidays/[destination]",function(){return n(41210)}])},52749:function(e,t,n){"use strict";var i=n(66383),r=function(e){var t=e.match(/\((.*?)\)/);if(!t)throw new Error("Invalid polygon format");var n=t[1].split(",").map((function(e){return e.trim().split(" ")})).map((function(e){return e.map(parseFloat)})),r=1/0,o=1/0,a=-1/0,l=-1/0,s=!0,c=!1,d=void 0;try{for(var u,p=n[Symbol.iterator]();!(s=(u=p.next()).done);s=!0){var g=(0,i.Z)(u.value,2),v=g[0],f=g[1];isNaN(v)||isNaN(f)||(r=Math.min(r,v),o=Math.min(o,f),a=Math.max(a,v),l=Math.max(l,f))}}catch(h){c=!0,d=h}finally{try{s||null==p.return||p.return()}finally{if(c)throw d}}return[{lat:o,lon:r},{lat:l,lon:a}]};t.Z=function(e){var t,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=null===e||void 0===e||null===(t=e.full)||void 0===t?void 0:t.geonames_id,a=(null===e||void 0===e||null===(n=e.full)||void 0===n?void 0:n.geo_bounds)||[];try{var l,s=i.includes(null===e||void 0===e||null===(l=e.full)||void 0===l?void 0:l.slug)?null:a[0];if(s)try{var c=r(s);return{boundingBox:[c[1].lon.toString(),c[1].lat.toString(),c[0].lon.toString(),c[0].lat.toString()]}}catch(d){if(o)return{destinations:[o.toString()]};console.error(d)}if(o)return{destinations:[o.toString()]}}catch(u){console.error(u)}return!1}},20292:function(e,t,n){"use strict";n.d(t,{v:function(){return b}});var i=n(98788),r=n(70865),o=n(96670),a=n(5163),l=n(2784),s=n(12214),c=n(66383),d=function(e){return Object.entries(e).map((function(e){var t=(0,c.Z)(e,2),n=t[0],i=t[1];if(void 0===i)return[];if("string"===typeof i)return[n,i];if(!Array.isArray(i))return[n,i.toString()];if(["filter","order"].includes(n))switch(n){case"filter":return[n,i.map((function(e){var t=e.field,n=e.value;return[t,e.operator,n].filter(Boolean).join(":")})).join(";")];case"order":return[n,i.map((function(e){var t=e.field,n=e.value;return[t,e.operator,(null===n||void 0===n?void 0:n.length)?n:null].filter(Boolean).join(":")})).join(";")];default:return[]}return[n,i.join(",")]})).map((function(e){return e.join("=")})).join("&")},u=n(90581),p=n(21218),g=n(96397),v=n(6729),f=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(e,i){var r;return(0,u.Z)(this,n),(r=t.call(this,e)).name="SearchServiceError",r.intent=i,r}return n}((0,g.Z)(Error));var h={prod:"https://search-service.edge.soar.fcl.cloud/v1/search",stage:"https://search-service-soar-stg.non-prd.edge.soar.fcl.cloud/v1/search",develop:"https://search-service-soar-latest.non-prd.edge.soar.fcl.cloud/v1/search",local:"https://search-service-soar-latest.non-prd.edge.soar.fcl.cloud/v1/search"},m=function(){return"object"===typeof window.newrelic?window.newrelic:null};var b=function(e,t){var n,c=t||{},u=c.env,p=void 0===u?"develop":u,g=c.disabled,v=void 0!==g&&g,b=c.fetchConfig,y=c.endpoint||h[p],x=(0,l.useMemo)((function(){return function(e){if("undefined"===typeof document)return null;var t=document.cookie.split(";").find((function(t){return t.trim().startsWith("".concat(e,"="))}));return t?t.split("=")[1]:null}("FCTGWebClientID")}),[]),j=(0,l.useMemo)((function(){return v?null:"".concat(y,"?").concat(d(e))}),[v,e,y]),w=(0,l.useCallback)(function(){var n=(0,i.Z)((function(n){var i,l,s,c,d,u;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return s=x?(0,o.Z)((0,r.Z)({},b||{}),{headers:(0,o.Z)((0,r.Z)({},(null===b||void 0===b?void 0:b.headers)||{}),{"x-fctgwebclientid":x})}):(0,r.Z)({},b),[4,fetch(n,s)];case 1:return[4,a.sent().json()];case 2:return(c=a.sent())&&!c.data?(null===(d=m())||void 0===d||d.noticeError(new f(c.toString(),e)),null===(u=m())||void 0===u||u.addPageAction("DPSearchIntent",(0,o.Z)((0,r.Z)({},e,t),{success:!1})),[2,{results:[],searchIntent:e}]):(null===(i=m())||void 0===i||i.addPageAction("DPSearchIntent",(0,o.Z)((0,r.Z)({},e,t),{success:!0,resultsCount:null===(l=c.data.results)||void 0===l?void 0:l.length})),[2,c.data])}}))}));return function(e){return n.apply(this,arguments)}}(),[t,b,x,e]),Z=(0,l.useCallback)((function(n){var i,a;null===(i=m())||void 0===i||i.noticeError(new f(n.message,e)),null===(a=m()
1)||void 0===a||a.addPageAction("DPSearchIntent",(0,o.Z)((0,r.Z)({},e,t),{success:!1,error:n}))}),[t,e]),k=(0,s.ZP)(j,w,{onError:Z,revalidateOnFocus:!1,revalidateOnReconnect:!1}),S=k.data,O=k.error,P=(0,l.useMemo)((function(){return null!==(n=null===S||void 0===S?void 0:S.results)&&void 0!==n?n:[]}),[S]);return v?{results:[],isLoading:!1}:{results:P,isLoading:!S&&!O}}},41210:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return fe}});var i=n(98788),r=n(47842),o=n(70865),a=n(96670),l=n(66383),s=n(50930),c=n(5163),d=n(52322),u=n(2784),p=n(14938),g=n(68439),v=n(32322),f=n(48048),h=n(38985),m=n(9321),b=n(85025),y=n(91927),x=n(49345),j=n(26572),w=n(77091),Z=n(46928),k=n(66068),S=n(32433),O=n(35530),P=n(16187),C=n(3336),T=n(86718),z=n(5842),I=n(94749),L=n(43551),D=n(34999),A=n(97688),R=n(97729),M=n.n(R),F=n(52051),H=n(48363),E=n(54105),B=n(27413),N=n(39144),V=n(74863),_=n(51865),q=n(50184),G=n(7609),U=n(58159),W=n(78702),X=n(52749),Y=n(25792),$=n(1106),J=n(3755),K=n(94375),Q=n(95435),ee=n(20292),te=n(82065),ne=n(91723),ie=n(81159),re=n(38076),oe=(0,v.z)(T.Z)((function(e){var t=e.theme;return(0,r.Z)({},t.breakpoints.down("md"),{display:"none"})})),ae=(0,v.z)(f.W,{shouldForwardProp:function(e){return"showSearchFormInHeader"!==e&&"showTextContent"!==e}})((function(e){var t,n=e.theme,i=e.showSearchFormInHeader;return t={paddingTop:0,marginTop:0,display:"flex",flexDirection:"column",marginBottom:e.showTextContent?n.spacing(8):0},(0,r.Z)(t,n.breakpoints.between("xs","md"),{marginTop:i?n.spacing(0):n.spacing(10)}),(0,r.Z)(t,n.breakpoints.between("md","lg"),{marginTop:i?n.spacing(40):n.spacing(16)}),(0,r.Z)(t,n.breakpoints.up("lg"),{marginTop:i?n.spacing(24):n.spacing(16)}),t})),le=(0,v.z)(T.Z)((function(e){return{backgroundColor:e.theme.token.color.brand[" "].value}})),se=(0,v.z)(z.Z)((function(e){var t,n=e.theme;return t={},(0,r.Z)(t,n.breakpoints.up("xs"),(0,a.Z)((0,o.Z)({},n.typography.headingSm),{marginBottom:n.spacing(2)})),(0,r.Z)(t,n.breakpoints.up("md"),(0,a.Z)((0,o.Z)({},n.typography.headingLg),{marginTop:n.spacing(6),marginBottom:n.spacing(6)})),t})),ce=(0,v.z)(T.Z)((function(e){var t,n=e.theme;return t={},(0,r.Z)(t,n.breakpoints.up("xs"),{marginBottom:n.spacing(2)}),(0,r.Z)(t,n.breakpoints.up("md"),{marginBottom:n.spacing(6)}),t})),de=(0,v.z)(T.Z)((function(e){var t,n=e.theme;return t={},(0,r.Z)(t,n.breakpoints.up("xs"),{marginBottom:n.spacing(5)}),(0,r.Z)(t,n.breakpoints.up("md"),{marginBottom:n.spacing(16)}),t})),ue=(0,v.z)(f.W)((function(e){var t,n=e.theme;return t={},(0,r.Z)(t,n.breakpoints.between("xs","md"),{height:"fit-content"}),(0,r.Z)(t,n.breakpoints.between("xs","lg"),{paddingLeft:0,paddingRight:0}),t})),pe=(0,v.z)(z.Z)((function(e){var t,n=e.theme;return t={display:"block",padding:"".concat(n.spacing(10.5)," ").concat(n.spacing(4)," ").concat(n.spacing(3)," ").concat(n.spacing(4)),color:n.token.color.inverted.text[" "].value},(0,r.Z)(t,n.breakpoints.between("xs","md"),{display:"none"}),(0,r.Z)(t,n.breakpoints.between("md","lg"),{marginLeft:n.spacing(2)}),t})),ge=(0,v.z)(T.Z,{shouldForwardProp:function(e){return"loading"!==e}})((function(e){var t=e.theme,n=e.loading;return(0,o.Z)({},n?{}:(0,r.Z)({padding:t.spacing(4),paddingBottom:t.spacing(6)},t.breakpoints.down("md"),{padding:t.spacing(6)}))})),ve=(0,v.z)(T.Z)((function(e){var t=e.theme;return(0,r.Z)({},t.breakpoints.down("md"),{padding:"".concat(t.spacing(4)," ").concat(t.spacing(4)," ").concat(t.spacing(6)," ").concat(t.spacing(4))})})),fe=!0;t.default=function(e){var t,n,R,fe,he,me,be,ye,xe,je,we,Ze,ke,Se,Oe,Pe,Ce,Te,ze,Ie,Le,De,Ae,Re,Me,Fe,He,Ee,Be,Ne,Ve,_e,qe,Ge,Ue,We,Xe,Ye,$e,Je,Ke,Qe,et,tt=e.bannersData,nt=e.config,it=e.context,rt=e.locale,ot=e.env,at=e.curated,lt=e.footer,st=e.header,ct=e.isVacations,dt=e.pageContent,ut=e.relativePath,pt=dt.destination,gt=dt.expertTip,vt=dt.poiCrossLinkingData,ft=pt.name,ht=(null===dt||void 0===dt||null===(t=dt.destinationContent)||void 0===t||null===(n=t.properties)||void 0===n||null===(R=n.metatags)||void 0===R?void 0:R.value)||(null===dt||void 0===dt?void 0:dt.metaTags),mt=(null===dt||void 0===dt||null===(fe=dt.destinationContent)||void 0===fe||null===(he=fe.properties)||void 0===he||null===(me=he.pageTitle)||void 0===me?void 0:me.value)||(null===dt||void 0===dt?void 0:dt.metaTitle),bt=(0,G.Z)(null===(be=dt.experienceFacetData)||void 0===be||null===(ye=be.properties)||void 0===ye||null===(xe=ye.holidaysTypes)||void 0===xe?void 0:xe.value,null===(je=dt.experienceFacetData)||void 0===je||null===(we=je.properties)||void 0===we||null===(Ze=we.hrefs)||void 0===Ze?void 0:Ze.value,null===(ke=dt.experienceFacetData)||void 0===ke||null===(Se=ke.properties)||void 0===Se||null===(Oe=Se.featuredImages)||void 0===Oe?void 0:Oe.value,dt.experienceFacetLinks,null,nt.locale),yt=(0,I.Z)(),xt=(0,L.Z)(yt.breakpoints.down("md")),jt=null===dt||void 0===dt||null===(Pe=dt.destinationContent)||void 0===Pe||null===(Ce=Pe.properties)||void 0===Ce||null===(Te=Ce.videoUrl)||void 0===Te||null===(ze=Te.value)||void 0===ze?void 0:ze.length,wt=nt.data.brandDetails.code.toLowerCase(),Zt=(0,te.Sl)("holidays"),kt=null!==(et=null===(Ie=nt.data)||void 0===Ie||null===(Le=Ie.components)||void 0===Le?void 0:Le.enableTravelGuideCrossLinking)&&void 0!==et&&et,St=(0,l.Z)((0,F.e)("HolidaysPlatform"),3),Ot=St[0],Pt=St[1],Ct=St[2],Tt=!!(null===dt||void 0===dt||null===(De=dt.destinationContent)||void 0===De||null===(Ae=De.properties)||void 0===Ae||null===(Re=Ae.content)||void 0===Re?void 0:Re.value),zt="fcau"===wt,It=(0,U.Z)({pageSize:9,defaultSkeletonPageSize:3,holidaysPlatformSdk:Ot,holidaysPlatformState:Pt}),Lt=It.loading,Dt=It.setLoading,At=It.packageData,Rt=It.fetchPackages,Mt=It.loadMore,Ft=It.numberOfSkeletonTilesToRender,Ht=(0,v.z)(z.Z)((function(e){var t,n=e.theme;return t={},(0,r.Z)(t,n.breakpoints.up("xs"),(0,a.Z)((0,o.Z)({},n.typography.headingSm),{marginTop:At.length>0?n.spacing(8):n.spacing(12)})),(0,r.Z)(t,n.breakpoints.up("md"),(0,a.Z)((0,o.Z)({},n.typography.headingLg),{marginBottom:n.spacing(1),marginTop:At.length>0?n.spacing(4):n.spacing(12)})),t})),Et=(0,X.Z)(dt.destination,it.features.destinationWhiteList),Bt="uk"===nt.data.brandDetails.region?"gb":nt.data.brandDetails.region,Nt=!xt;(0,u.useEffect)((function(){if(!1===Et&&Dt(!1),Ct&&!1!==Et){null===Ot||void 0===Ot||Ot.app(wt),null===Ot||void 0===Ot||Ot.holidays.search.full.pageSize(Nt?15:9),null===Ot||void 0===Ot||Ot.holidays.search.full.filters(Et);var e=function(){var e=(0,i.Z)((function(){return(0,c.__generator)(this,(function(e){switch(e.label){case 0:return[4,Rt(!1)];case 1:return e.sent(),[2]}}))}));return function(){return e.apply(this,arguments)}}();e()}}),[Ct]);var Vt,_t=JSON.stringify((0,o.Z)({event:"pageView"},(0,_.Eg)(dt.destination))),qt="".concat(ft," ").concat((0,W.R6)(ct).capsSingular," Deals"),Gt=(0,N.Z)({isDIYMultiRoomEnabled:(null===it||void 0===it||null===(Me=it.features)||void 0===Me?void 0:Me.isDIYMultiRoomEnabled)||!1}),Ut={productType:["diy"],destinations:[dt.destination.full.slug],filter:[{field:"destinations",operator:"eq",value:[dt.destination.full.slug]}]},Wt=(0,ee.v)(Ut,{env:ot,endpoint:null!==(Vt=null===nt||void 0===nt||null===(Fe=nt.data)||void 0===Fe?void 0:Fe.mofos["search-service"])&&void 0!==Vt?Vt:""}),Xt=Wt.isLoading,Yt=Wt.results,$t=(null===Yt||void 0===Yt?void 0:Yt.length)>0&&"fcau"===wt;return(0,d.jsxs)("main",{children:[(0,d.jsx)(H.Z,{async:!0,keys:["omni-search-mofo","omni-holidays-platform","omni-holidays-mofo"],config:(null===(He=nt.data)||void 0===He?void 0:He.mofos)||{},strategy:"beforeInteractive"}),(0,d.jsx)(p.ZP,(0,o.Z)({},st)),(0,d.jsx)(q.ZP,{metaData:ht,titleOverride:mt}),(0,d.jsx)(M(),{children:(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n              window.dataLayer = window.dataLayer || [];\n              dataLayer.push(".concat(_t,")\n            ")}})}),(0,d.jsx)(T.Z,{children:zt?(0,d.jsx)(w.U,{title:"".concat(pt.name," Holiday Deals"),showTitleOnMobile:!0,form:(0,d.jsx)(ge,{"data-testid":"container-packages-search-form-v2",loading:!Gt.isFormReady,children:Gt.isFormReady?(0,d.jsx)(re.i,{initialValues:{travellers:Gt.travellers,origin:Gt.origin,destination:Gt.destination,cabinClass:Gt.cabinClass,departureDate:Gt.departureDate,returnDate:Gt.returnDate,occupancy:Gt.occupancy},fetchAutocompleteOptions:Gt.fetchAutocompleteOptions,onSubmit:Gt.onSubmit,brandRegion:wt,isDIYMultiRoomEnabled:(null===it||void 0===it||null===(Ee=it.features)||void 0===Ee?void 0:Ee.isDIYMultiRoomEnabled)||!1,isSingleRoom:!1}):(0,d.jsx)(ve,{children:(0,d.jsx)(B.Z,{diyMode:!0})})})}):(0,d.jsx)(le,{children:(0,d.jsx)(ue,{children:(0,d.jsx)(pe,{component:"h1",variant:"headingXl",children:qt})})})}),(0,d.jsxs)(ae,{showSearchFormInHeader:zt,showTextContent:Tt,sx:{marginBottom:{xs:yt.spacing(2),md:yt.spacing(16)}},children:[(0,d.jsx)(oe,{children:(0,d.jsx)(m.Z,{links:dt.breadcrumbLinks})}),(!Ct||Lt||At.length>0)&&(0,d.jsxs)(d.Fragment,{children:[At.length>0&&(0,d.jsxs)(se,{children:["Handpicked ",(0,W.R6)(ct).plural]}),(0,d.jsx)(K.N,{showTilesInColumns:Nt,children:!Ct||Lt?(0,d.jsx)(d.Fragment,{children:Nt?(0,d.jsx)(K.N,{showTilesInColumns:Nt,children:(0,s.Z)(Array(3)).map((function(e,t){return(0,d.jsx)(K.S,{showTilesInColumns:Nt,children:(0,d.jsx)(J.Z,{})},t)}))}):(0,s.Z)(Array(Ft)).map((function(e,t){return(0,d.jsx)($.Z,{},t)}))}):At.map((function(e){var t=(0,a.Z)((0,o.Z)({},e),{packageName:e.name,packageId:e.id,baseUrl:"".concat(ut,"/").concat((0,W.R6)(ct).plural),uriSlug:e.uriSlugV2});return(0,d.jsx)(K.S,{showTilesInColumns:Nt,children:(0,d.jsx)(E.Z,{micro:{sdkName:"HolidaysMofo",componentName:"ProductTile"},packageData:t,loading:!1,mobileView:Nt,onClick:function(){(0,_.Yp)({productSku:e.id,productName:e.name,brandRegion:e.brandRegion,pageValue:e.uriSlugV2})},onContextMenu:function(){(0,_.Yp)({productSku:e.id,productName:e.name,brandRegion:e.brandRegion,pageValue:e.uriSlugV2})}})},e.id)}))}),Mt&&Ct&&(0,d.jsx)(ce,{children:(0,d.jsx)(E.Z,{micro:{sdkName:"HolidaysMofo",componentName:"ShowMoreHolidays"},buttonText:"Show more ".concat((0,W.R6)(ct).plural),onClick:function(){(0,_.KN)({interactionValue:"curatedPackagesTilesPagination",interactionLabel:"showMoreHolidays"}),Rt(!0)}})})]}),Zt&&Ct&&!Lt&&At.length>0&&(0,d.jsx)(ne.Z,{productDisclaimer:Zt}),!Zt&&"en-gb"===(null===rt||void 0===rt?void 0:rt.toLowerCase())&&Ct&&!Lt&&At.length>0&&(0,d.jsx)(ne.Z,{productDisclaimer:{enabled:!0,type:"info",text:"Displayed prices do not include local taxes, fees or charges that may apply and would need to be paid by you in destination. Where applicable, these are clearly indicated within the package pricing details that can be found by selecting a specific package."}}),(null===(Be=it.features)||void 0===Be?void 0:Be.showDiyTiles)&&Ct&&!Lt&&0===At.length&&$t&&(0,d.jsx)(de,{"data-testid":"DestinationDIYTiles",sx:function(e){var t;return t={},(0,r.Z)(t,e.breakpoints.between("sm","md"),{marginBottom:e.spacing(0)}),(0,r.Z)(t,e.breakpoints.up("md"),{marginTop:e.spacing(6),marginBottom:e.spacing(0)}),t},children:(0,d.jsx)(ie.Z,{disclaimerCategory:"holidays",data:Yt,isLoading:Xt,title:"Popular packages in ".concat(pt.name),itemsPerPage:6,displayType:"carousel",displayXs:1,displaySm:1,displayMd:2,displayLg:4,displayXl:4,onTileClick:function(e){(0,_.ub)({type:"packagesDeal",name:e.name,url:e.url,productSku:e.id,brandRegion:wt,page:"holidaysDestination"})}})}),Tt&&(0,d.jsxs)(T.Z,{children:[(0,d.jsxs)(Ht,{"data-testid":"about-destination",children:["About ",dt.destination.name]}),(0,d.jsx)(Y.Z,{text:dt.destinationContent.properties.content.value,maxLength:340})]})]}),(0,d.jsxs)(f.W,{children:[(0,d.jsx)(de,{children:(0,d.jsx)(C.a,(0,a.Z)((0,o.Z)({},null===nt||void 0===nt||null===(Ne=nt.data)||void 0===Ne||null===(Ve=Ne.components)||void 0===Ve?void 0:Ve.campaignCarousel),{images:null===tt||void 0===tt?void 0:tt.tileImages,onInteraction:function(e,t){var n=t.url,i=t.title,r=t.image,o=t.id;(0,_.ub)({brandRegion:nt.data.brandDetails.code,page:"holidays",type:"deals",title:i,url:n,image:r,id:o}),window.location.href=n}}))}),(0,d.jsx)(de,{children:(0,d.jsx)(k.K,{title:"Explore ".concat((0,W.R6)(ct).plural," by interest"),experienceList:bt})}),(0,d.jsx)(de,{children:(0,d.jsx)(b.z,{listItems:dt.topDestinations,title:"Top destinations"})}),vt&&kt&&(0,d.jsx)(de,{children:(0,d.jsx)(A.Z,(0,o.Z)({},vt))}
1),at&&(null===dt||void 0===dt||null===(_e=dt.destinationContent)||void 0===_e||null===(qe=_e.properties)||void 0===qe||null===(Ge=qe.stacklaFilterId)||void 0===Ge?void 0:Ge.value)&&(0,d.jsx)(de,{children:(0,d.jsx)(D.Z,{type:"grid",filter:dt.destinationContent.properties.stacklaFilterId.value})}),gt?(0,d.jsx)(de,{children:(0,d.jsx)(h.Z,{imageAlt:gt.properties.image.value.alt,image:gt.properties.image.value.url,imageOptions:{focalPoint:gt.properties.image.value.focalPoint},location:gt.properties.location.value,quote:{title:"Expert tip",body:gt.properties.content.value,author:{name:gt.properties.authorName.value,position:gt.properties.authorPosition.value,image:gt.properties.authorAvatar.value}}})}):null,jt&&(0,d.jsx)(de,{children:(0,d.jsx)(Z.PZ,{src:null===dt||void 0===dt||null===(Ue=dt.destinationContent)||void 0===Ue||null===(We=Ue.properties)||void 0===We||null===(Xe=We.videoUrl)||void 0===Xe?void 0:Xe.value,videoControls:{previewThumbnail:null===dt||void 0===dt||null===(Ye=dt.destinationContent)||void 0===Ye||null===($e=Ye.properties)||void 0===$e||null===(Je=$e.videoImage)||void 0===Je?void 0:Je.value,showDefaultControls:!0}})}),(0,d.jsx)(de,{children:(0,d.jsx)(S.Z,(0,a.Z)((0,o.Z)({destination:[dt.destination.name],linkDomain:ut},(0,V.p)(nt,"content")),{hiddenFilters:!0,onSeeMoreLink:function(){var e;return(0,O.e)({baseUrl:ut,queryText:null!==(e=dt.destination.name)&&void 0!==e?e:"",categoryTags:["Holidays"]})},onInteraction:function(e,t){var n=t.url,i=t.title;(0,_.ub)({brandRegion:nt.data.brandDetails.code,name:i,page:"holidays",type:"blogs",url:n})}}))}),at&&(0,d.jsx)(de,{children:(0,d.jsx)(j.Z,{title:null===(Ke=dt.faqs)||void 0===Ke?void 0:Ke.title,accordionData:null===(Qe=dt.faqs)||void 0===Qe?void 0:Qe.list,defaultExpanded:!0})}),(0,d.jsx)(de,{children:(0,d.jsx)(P.Z,{newsletter:dt.newsletter,onInteraction:function(e,t){var n=t.url,i=t.title;(0,_.ub)({brandRegion:nt.data.brandDetails.code,name:i,page:"holidays",type:"newsletter",url:n})}})}),"fcza"===nt.data.brandDetails.code&&(0,d.jsx)(de,{sx:{display:{xs:"none",md:"block"}},children:(0,d.jsx)(x.Z,(0,o.Z)({},Q.Z.holidaysPopularDealsLinkFarm))}),(0,d.jsx)(de,{children:(0,d.jsx)(T.Z,{sx:{display:{xs:"none",md:"block"}},children:(0,d.jsx)(x.Z,(0,o.Z)({},dt.holidaysLinkfarm))})}),(0,d.jsx)(de,{children:(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(y.tv,{brand:"en-".concat(Bt.toUpperCase()),title:"Create your own trip",replaceFlightsLink:dt.productLinking.flights,ignoreCategory:"Holidays"})})})]}),(0,d.jsx)(g.Z,(0,o.Z)({},lt))]})}},17338:function(e,t,n){"use strict";n.d(t,{G9:function(){return F},YX:function(){return T},Bh:function(){return p}});var i=n(52322),r=(n(2784),n(86718)),o=n(48685),a=n(5842),l=n(20711),s=n(94749),c=n(32322),d=n(61356),u=(0,c.z)(r.Z)((function(e){var t=e.theme,n=e.image;return{backgroundImage:"url(".concat(n,")"),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"50% 50%",borderRadius:"".concat(t.shape.borderRadius,"px"),height:t.spacing(25),position:"relative"}})),p=function(e){var t,n=e.image,c=void 0===n?"":n,p=e.title,g=void 0===p?"":p,v=e.subtitle,f=void 0===v?"":v,h=e.link,m=void 0===h?"":h,b=e.target,y=void 0===b?"_self":b,x=(0,s.Z)(),j=(t=c)?(0,d.U)({advancedTransforms:{crop:"fill",gravity:"auto"},src:t,width:"500",quality:"80",format:function(){var e,n=null===(e=t.split(".").pop())||void 0===e?void 0:e.toLowerCase();return n&&["jpg","png","gif","svg"].includes(n)?n:"jpeg"}()}):"",w=(0,i.jsx)(r.Z,{children:(0,i.jsxs)(o.ZP,{sx:{"&>.MuiGrid-item":{paddingRight:x.spacing(2),paddingBottom:x.spacing(2)}},display:"flex",alignItems:"center",item:!0,container:!0,spacing:2,xs:12,children:[(0,i.jsx)(o.ZP,{item:!0,xs:5,children:c&&(0,i.jsx)(u,{image:j||"","data-testid":"backgroundImage"})}),(0,i.jsxs)(o.ZP,{xs:7,item:!0,children:[g&&(0,i.jsx)(a.Z,{component:"h3",variant:"bodyMd",sx:{lineHeight:x.spacing(7)},children:g}),f&&(0,i.jsx)(a.Z,{component:"p",variant:"bodySm",sx:{color:x.token.color.text.weak[" "].value},children:f})]})]})});return(0,i.jsx)(i.Fragment,{children:m?(0,i.jsx)(l.Z,{href:m,target:y,underline:"none","data-testid":"crosslinking-link",children:w}):(0,i.jsx)(i.Fragment,{children:w})})},g=n(43551),v=n(75171),f=n(73199),h=n(82001),m=n(38978),b=n(35690),y=n(14103);function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
1)))),i.forEach((function(t){x(e,t,n[t])}))}return e}function w(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var Z=(0,c.z)(h.Z)((function(e){var t=e.theme;return x({minHeight:t.spacing(40)},t.breakpoints.up("md"),{minHeight:t.spacing(53)})})),k=(0,c.z)(m.Z)((function(){return{"&:hover":{".MuiCardActionArea-focusHighlight":{opacity:0}}}})),S=(0,c.z)(b.Z)((function(){return{padding:0,"&:last-child":{paddingBottom:0}}})),O=(0,c.z)(y.Z)((function(e){return{borderRadius:e.theme.shape.borderRadius}})),P=function(e){var t,n,r=e.title,o=void 0===r?"":r,l=e.subtitle,c=void 0===l?"":l,u=e.image,p=void 0===u?"":u,g=e.imageAlt,v=void 0===g?"":g,f=e.link,m=void 0===f?"":f,b=e.tileVariant,y=void 0===b?"default":b,x=e.sx,P=void 0===x?{}:x,C=e.imageOptions,T=void 0===C?{}:C,z=e.titleVariant,I=void 0===z?"bodyMdStrong":z;if(!o&&!m)return null;var L=(0,s.Z)(),D="box"===y?Z:h.Z,A=(0,i.jsxs)(i.Fragment,{children:[p&&(0,i.jsx)(O,{component:"img",image:(0,d.U)(w(j({src:p,width:"500",quality:(null===T||void 0===T?void 0:T.quality)||"80",format:(null===T||void 0===T?void 0:T.format)||"jpg"},(null===T||void 0===T?void 0:T.width)&&{width:T.width},(null===T||void 0===T?void 0:T.height)&&{height:T.height}),{advancedTransforms:j({},(null===T||void 0===T?void 0:T.crop)&&{crop:T.crop},(null===T||void 0===T?void 0:T.aspectRatio)&&{aspectRatio:T.aspectRatio},(null===T||void 0===T?void 0:T.background)&&{background:T.background},(null===T||void 0===T||null===(t=T.focalPoint)||void 0===t?void 0:t.x)&&(null===T||void 0===T||null===(n=T.focalPoint)||void 0===n?void 0:n.y)&&{xCoordinate:T.focalPoint.x,yCoordinate:T.focalPoint.y})})),alt:v,"data-testid":"image",loading:"lazy"}),o&&(0,i.jsx)(a.Z,{variant:I,component:"div",sx:{paddingTop:3},"data-testid":"title",children:o}),c&&(0,i.jsx)(a.Z,{component:"div",sx:{color:L.token.color.neutral.text.weak[" "].value},"data-testid":"subtitle",children:c})]});return(0,i.jsx)(D,{square:!0,elevation:0,sx:P,children:m?(0,i.jsx)(k,{"data-testid":"cardActionContainer",disableRipple:!0,disableTouchRipple:!0,href:m,children:A}):(0,i.jsx)(S,{"data-testid":"cardContentContainer",children:A})})},C=(0,c.z)(a.Z)((function(){return{"& p":{margin:0}}})),T=function(e){var t,n=e.title,o=void 0===n?"":n,a=e.intro,l=void 0===a?"":a,c=e.items,d=void 0===c?[]:c,u=e.seeMoreText,p=void 0===u?"":u,h=e.seeMoreLink,m=void 0===h?"":h,b=e.showSeeMore,y=e.sx,x=void 0===y?{}:y,j=e.tileVariant,w=void 0===j?"default":j,Z=e.rows,k=void 0===Z?1:Z,S=e.displayXs,O=void 0===S?2:S,T=e.displaySm,z=void 0===T?2:T,I=e.displayMd,L=void 0===I?3:I,D=e.displayLg,A=void 0===D?4:D,R=e.displayXl,M=void 0===R?5:R,F=e.titleVariant,H=void 0===F?"bodyMdStrong":F;if(0===(null===d||void 0===d?void 0:d.length))return null;var E=(0,s.Z)(),B=(0,g.Z)(E.breakpoints.up("md")),N=l&&(0,f.ZP)(l),V=!!m;return(0,i.jsx)(v.g,{title:o,titleVariant:B?"headingLg":"headingMd",header:(0,i.jsx)(C,{component:"div",variant:B?"bodyLg":"bodySm",children:N}),seeMoreText:p,seeMoreLink:m,showSeeMore:null!==b&&void 0!==b?b:!B&&V,displayXs:O,displaySm:z,displayMd:L,displayLg:A,displayXl:M,sx:x,"data-testid":"CrossLinkingTileList",children:2===k?null===d||void 0===d||null===(t=d.reduce((function(e,t,n,i){return n%2===0&&e.push(i.slice(n,n+2)),e}),[]))||void 0===t?void 0:t.map((function(e,t){return(0,i.jsxs)(r.Z,{children:[e[0]&&(0,i.jsx)(P,{title:e[0].title,subtitle:e[0].subtitle,image:e[0].image,imageAlt:e[0].imageAlt,link:e[0].link,tileVariant:w||e[0].tileVariant,titleVariant:H||e[0].titleVariant,imageOptions:e[0].imageOptions}),e[1]&&(0,i.jsx)(P,{title:e[1].title,subtitle:e[1].subtitle,image:e[1].image,imageAlt:e[1].imageAlt,link:e[1].link,imageOptions:e[1].imageOptions,tileVariant:w||e[1].tileVariant,titleVariant:H||e[1].titleVariant,sx:{paddingTop:4}})]},t)})):null===d||void 0===d?void 0:d.map((function(e,t){return(0,i.jsx)(P,{title:e.title,subtitle:e.subtitle,image:e.image,imageAlt:e.imageAlt,link:e.link,tileVariant:w||e.tileVariant,titleVariant:H||e.titleVariant,imageOptions:e.imageOptions},t)}))})},z=n(26148),I=n(51115);function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=(0,c.z)(a.Z)((function(e){var t=e.theme;return L({marginBottom:t.token.spacing[2].value,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},t.breakpoints.up("lg"),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
1)))),i.forEach((function(t){L(e,t,n[t])}))}return e}({},t.typography.subheadingMd))})),A=(0,c.z)(r.Z)((function(e){var t=e.theme;return L({borderTopLeftRadius:t.token.radius.base.value,borderBottomLeftRadius:t.token.radius.base.value,overflow:"hidden",height:t.spacing(38)},t.breakpoints.up("md"),{height:t.spacing(28.75),borderTopRightRadius:t.token.radius.base.value,borderBottomRightRadius:t.token.radius.base.value})})),R=function(e){var t=e.title,n=e.intro,r=void 0===n?"":n,a=e.image,l=void 0===a?"":a,s=e.imageAlt,c=void 0===s?"":s,d={src:null!==l&&void 0!==l?l:"",width:"500",quality:"80",advancedTransforms:{crop:"fill",gravity:"auto"},format:"jpg"},u={replace:function(e){return e.data?(0,i.jsx)(i.Fragment,{children:null===e||void 0===e?void 0:e.data}):e.children?(0,i.jsx)(i.Fragment,{children:(0,f.du)(e.children,u)}):null}},p=r?(0,f.ZP)(r,u):"";return(0,i.jsxs)(o.ZP,{"data-testid":"SingleCrossLinkingCard",container:!0,columnSpacing:2,children:[l&&(0,i.jsx)(o.ZP,{"data-testid":"SingleCrossLinkingCardImageGrid",item:!0,xs:4,md:5,children:(0,i.jsx)(A,{children:(0,i.jsx)(I.Z,{lazy:!0,contentSm:d,contentLg:d,contentMd:d,alt:c||"",imgStyle:{objectFit:"cover",width:"100%"}})})}),(0,i.jsxs)(o.ZP,{item:!0,xs:l?8:12,md:l?7:12,children:[(0,i.jsx)(D,{"data-testid":"SingleCrossLinkingCardTitle",component:"h3",variant:"subheadingSm",children:t}),p&&(0,i.jsx)(z.P,{variant:"bodySm",children:p})]})]})};function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e){var t=e.items,n=void 0===t?[]:t,r=e.ariaLabel,o=void 0===r?"":r;return(null===n||void 0===n?void 0:n.length)?(0,i.jsx)(v.g,{"data-testid":"CrossLinkingCardList",ariaLabel:o,displayXl:3,displaySm:1,peek:12.5,children:n.map((function(e){return(0,i.jsx)(R,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){M(e,t,n[t])}))}return e}({},e),e.title)}))}):null}},91927:function(e,t,n){"use strict";n.d(t,{tv:function(){return j}});var i=n(52322),r=(n(2784),n(13980)),o=n.n(r),a=n(86718),l=n(5842),s=n(13409),c=n(82474),d=n(32322),u=n(20993),p=n(34766),g=n(59742),v=n(15842),f=[{category:"Flights",icon:(0,i.jsx)(u.Z,{})},{category:"Tours",icon:(0,i.jsx)(v.Z,{})},{category:"Car Hire",icon:(0,i.jsx)(p.Z,{})},{category:"Holidays",icon:(0,i.jsx)(g.Z,{})}],h=JSON.parse('{"en-AU":{"Flights":"https://www.flightcentre.com.au/flights","Holidays":"https://www.flightcentre.com.au/holidays","Tours":"https://www.flightcentre.com.au/tours","Car Hire":"https://www.flightcentre.com.au/car-hire/search"},"en-CA":{"Flights":"https://www.flightcentre.ca/flights","Holidays":"https://www.flightcentre.ca/vacations","Tours":"https://www.flightcentre.ca/tours","Car Hire":"https://cars.flightcentre.ca/?aff=FLIGHTCTRCA"},"en-NZ":{"Flights":"https://www.flightcentre.co.nz/cheap-flights","Holidays":"https://www.flightcentre.co.nz/holidays","Tours":"https://www.flightcentre.co.nz/tours","Car Hire":"https://cars.flightcentre.co.nz/?aff=FLIGHTCTRNZ"},"en-GB":{"Flights":"https://www.flightcentre.co.uk/flights","Holidays":"https://www.flightcentre.co.uk/holidays","Tours":"https://www.flightcentre.co.uk/tours","Car Hire":"https://cars.flightcentre.co.uk/?aff=FLIGHTCTRGB"},"en-ZA":{"Flights":"https://www.flightcentre.co.za/flights","Holidays":"https://www.flightcentre.co.za/holidays","Tours":"https://www.flightcentre.co.za/tours","Car Hire":"https://cars.flightcentre.co.za/?aff=FLIGHTCTRZA"}}');function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function b(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var y=(0,d.z)(a.Z,{shouldForwardProp:function(e){return"containsTitle"!==e}})((function(e){var t=e.theme;return{paddingTop:e.containsTitle?t.spacing(3):t.spacing(0)}})),x=(0,d.z)(s.r)({justifyContent:"flex-start"}),j=function(e){var t=e.title,n=void 0===t?"":t,r=e.ignoreCategory,o=e.brand,s=void 0===o?"en-AU":o,d=e.replaceFlightsLink,u=void 0===d?"":d,p=e.replaceHolidaysLink,g=void 0===p?"":p,v=(e.replaceStaysLink,e.replaceCarHireLink),m=void 0===v?"":v,j=e.testId,w=void 0===j?"ProductLinking":j,Z=function(e,t,n,i,r){var o=h[e];return o["Car Hire"]=r||o["Car Hire"],o.Flights=t||o.Flights,o.Holidays=n||o.Holidays,o}(s,u,g,0,m),k=f.filter((function(e){return e.category!==r})),S="Flights"===r,O=[k[k.length-1]].concat(b(k.slice(0,k.length-1)));return(0,i.jsxs)(a.Z,{"data-testid":w,children:[n&&(0,i.jsx)(l.Z,{variant:"headingSm",component:"h2",children:n}),(0,i.jsx)(y,{containsTitle:!!n,children:(0,i.jsx)(c.R,{ItemSx:{flex:"1 0 0"},TrackSx:{width:{md:"100%",lg:"100%",xl:"100%"}}
1,spacing:6,itemsPerView:{xs:1,sm:2,md:3,lg:3,xl:3},children:(S?O:k).map((function(e){var t=e.category;return"en-CA"===s&&"Holidays"===e.category&&(t="Vacations"),(0,i.jsx)(x,{href:Z[e.category],startIcon:e.icon,underline:"always",size:"small",children:t},t)}))})})]})};j.propTypes={title:o().string,ignoreCategory:o().string,brand:o().string,replaceFlightsLink:o().string,replaceHolidaysLink:o().string,replaceStaysLink:o().string,replaceCarHireLink:o().string}},37254:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(52322),r=n(2784);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(s){l=!0,r=s}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return o}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(e){var t=e.scriptContent,n=void 0===t?"":t,o=e.scriptAttributes,l=void 0===o?[]:o,s=e.htmlContent,c=void 0===s?"":s,d=e.containerStyle,u=void 0===d?void 0:d,p=a((0,r.useState)(!1),2),g=(p[0],p[1]);return(0,r.useEffect)((function(){if(g(!0),n||(null===l||void 0===l?void 0:l.length)){var e,t=document.createElement("script");l&&l.forEach((function(n){var i=a(n.split("="),2),r=i[0],o=i[1];"src"===r?(e=function(e){for(var t=0;t<e.length;t+=1)if("="===e[t])return e.slice(t+1);return""}(n),t.setAttribute(r,e)):t.setAttribute(r,o)})),n&&(t.text=n),e&&document.querySelector("script[src='".concat(e,"']"))||document.head.prepend(t)}}),[]),(0,i.jsx)("div",{style:u,dangerouslySetInnerHTML:{__html:c||""}})}},34999:function(e,t,n){"use strict";var i=n(52322),r=(n(2784),n(37254)),o={carousel:{id:"98480",title:"Carousel Component",hash:"6358d8d0b62ff"},grid:{id:"98478",title:"Grid Component",hash:"6358d6a6e881f"}};t.Z=function(e){var t=e.type,n=e.filter,a=o[t],l=a.id,s=a.title,c=a.hash;return(0,i.jsx)(r.Z,{htmlContent:'<div class="stackla-widget" data-ct="" \n         data-hash="'.concat(c,'" data-id="').concat(l,'" \n         data-title="').concat(s,'" data-filter="').concat(n,'"\n          data-ttl="60" style="width: 100%; overflow: hidden;">\n         </div>'),scriptContent:"\n        (function (d, id) {\n            var t, el = document.querySelector('div[data-id=\"".concat(l,"\"]');\n            if (el) el.dataset.initTimestamp = (new Date()).getTime();\n            t = d.createElement('script');\n            t.defer = true;\n            t.src = '//assetscdn.stackla.com/media/js/widget/fluid-embed.js';\n            t.id = id;\n            (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(t);\n        }(document, 'stackla-widget-js'));\n      ")})}},38985:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var i=n(52322),r=(n(2784),n(48685)),o=n(86718),a=n(32322),l=n(14103),s=n(51115),c=n(5842),d=n(25547);var u=(0,a.z)(c.Z)((function(e){return{color:e.theme.token.color.inverted.icon[" "].value}})),p=(0,a.z)(o.Z)((function(e){var t=e.theme;return{display:"flex",alignItems:"center",justifyContent:"center",background:t.token.color.brand[" "].value,width:"fit-content",marginLeft:t.spacing(4),padding:"".concat(t.spacing(1.5)," ").concat(t.spacing(3)," ").concat(t.spacing(1.5)," ").concat(t.spacing(3)),position:"relative"}})),g=(0,a.z)(l.Z)((function(e){var t=e.theme;return{height:t.spacing(12),width:t.spacing(12),borderRadius:t.spacing(10),overflow:"hidden",marginRight:"".concat(t.spacing(2.5))}})),v=(0,a.z)(o.Z)((function(){return{display:"flex",flexDirection:"column"}})),f=(0,a.z)(c.Z)((function(e){return{color:e.theme.token.color.grey[500].value}})),h=(0,a.z)(c.Z)((function(e){var t=e.theme;return{fontSize:t.spacing(35),fontWeight:800,fontFamily:"Gill Sans Nova",color:t.token.color.brand[" "].value}})),m=(0,a.z)(o.Z)((function(e){var t=e.theme;return{background:t.token.color.white[" "].value,borderRadius:"".concat(t.spacing(4)," ").concat(t.spacing(4)," ").concat(t.spacing(4)," ").concat(t.spacing(4)),padding:"".concat(t.spacing(8)," ").concat(t.spacing(6)," ").concat(t.spacing(6)," ").concat(t.spacing(7)),marginTop:"-".concat(t.spacing(3)),border:"1px solid ".concat(t.token.color.black.a12.value)}})),b=(0,a.z)(r.ZP)((function(e){var t,n,i,r=e.theme;return t={paddingTop:r.spacing(5)},n=r.breakpoints.only("xs"),i={display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center"},n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t})),y=(0,a.z)(o.Z)((function(e){var t=e.theme;return{display:"flex",alignItems:"flex-end",justifyContent:"flex-end",marginTop:"-".concat(t.spacing(16))}})),x=function(e){var t=e.title,n=e.author,a=e.body;return(0,i.jsxs)(o.Z,{children:[(0,i.jsx)(p,{children:(0,i.jsx)(u,{"data-testid":"QuoteTitle",variant:"headingMd",component:"h2",children:t})}),(0,i.jsxs)(m,{children:[(0,i.jsx)(c.Z,{"data-testid":"QuoteBody",variant:"bodyMd",children:a}),((null===n||void 0===n?void 0:n.image)||(null===n||void 0===n?void 0:n.name)||(null===n||void 0===n?void 0:n.position))&&(0,i.jsxs)(b,{container:!0,children:[(null===n||void 0===n?void 0:n.image)&&(0,i.jsx)(r.ZP,{item:!0,display:"flex",alignItems:"center","data-testid":"AuthorImage",children:(0,i.jsx)(g,{children:(0,i.jsx)(d.xj,{media:n.image})})}),((null===n||void 0===n?void 0:n.name)||(null===n||void 0===n?void 0:n.position))&&(0,i.jsx)(r.ZP,{item:!0,display:"flex",alignItems:"center",children:(0,i.jsxs)(v,{children:[(null===n||void 0===n?void 0:n.name)&&(0,i.jsx)(c.Z,{"data-testid":"AuthorName",variant:"subheadingSm",children:null===n||void 0===n?void 0:n.name}),(null===n||void 0===n?void 0:n.position)&&(0,i.jsx)(f,{"data-testid":"AuthorPosition",variant:"captionMd",component:"p",children:null===n||void 0===n?void 0:n.position})]})})]})]}),(0,i.jsx)(y,{children:(0,i.jsx)(h,{children:",,"})})]})},j=n(48343),w=(0,a.z)(j.Z)((function(e){return{fill:e.theme.token.color.inverted.icon[" "].value}})),Z=(0,a.z)(o.Z)((function(e){var t=e.theme;return{background:t.token.color.brand[" "].value,borderRadius:t.spacing(15),height:t.spacing(10),width:t.spacing(10),zIndex:3,display:"flex",alignItems:"center",justifyContent:"center"}})),k=(0,a.z)(r.ZP)((function(e){var t=e.theme;return{background:t.token.color.neutral.background[" "].value,marginLeft:"-".concat(t.spacing(5)),borderRadius:t.spacing(2),zIndex:2,display:"flex",alignItems:"center"}})),S=(0,a.z)(o.Z)((function(e){var t=e.theme;return{padding:"".concat(t.spacing(5)," ").concat(t.spacing(5)," ").concat(t.spacing(5)," ").concat(t.spacing(7)),flexDirection:"column",display:"flex"}})),O=(0,a.z)(c.Z)((function(e){return{color:e.theme.token.color.grey[500].value}})),P=function(e){var t=e.name,n=e.region;return(0,i.jsxs)(r.ZP,{container:!0,children:[(0,i.jsx)(r.ZP,{item:!0,display:"flex",alignItems:"center",children:(0,i.jsx)(Z,{children:(0,i.jsx)(w,{})})}),(0,i.jsx)(k,{item:!0,children:(0,i.jsxs)(S,{children:[(0,i.jsx)(c.Z,{"data-testid":"title",variant:"subheadingSm",children:t}),n?(0,i.jsx)(O,{"data-testid":"subtitle",variant:"captionMd",component:"p",children:n}):null]})})]})};
1function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){C(e,t,n[t])}))}return e}function z(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var I=(0,a.z)(r.ZP)((function(e){var t=e.theme;return C({position:"relative",minHeight:t.spacing(80),display:"flex",alignItems:"flex-end"},t.breakpoints.between("xs","md"),{alignItems:"flex-start"})})),L=(0,a.z)(l.Z)((function(e){return{borderRadius:e.theme.spacing(4),overflow:"hidden",position:"absolute",width:"100%",height:"100%"}})),D=(0,a.z)(r.ZP)((function(e){var t=e.theme;return{marginTop:"-".concat(t.spacing(10)),zIndex:2,display:"flex",alignItems:"center"}})),A=(0,a.z)(o.Z)((function(e){var t,n=e.theme;return C(t={},n.breakpoints.between("xs","md"),{marginTop:"-".concat(n.spacing(15)),marginBottom:n.spacing(6),marginLeft:n.spacing(6),marginRight:n.spacing(6)}),C(t,n.breakpoints.up("md"),{marginLeft:"-".concat(n.spacing(20)),marginTop:n.spacing(12),marginBottom:n.spacing(12),position:"relative"}),t})),R=(0,a.z)(o.Z)((function(e){var t,n=e.theme;return C(t={paddingLeft:n.spacing(4)},n.breakpoints.between("xs","md"),{paddingTop:n.spacing(4),display:"flex",alignItems:"center",justifyContent:"center"}),C(t,n.breakpoints.up("md"),{paddingBottom:n.spacing(4)}),t})),M=function(e){var t,n,o=e.image,a=e.location,l=e.quote,c=e.imageAlt,d=e.imageOptions;if("undefined"!==typeof window&&!l)throw new Error("quote can't be empty");if(!o||!(null===l||void 0===l?void 0:l.body))return null;var u=z(T({src:o},(null===d||void 0===d||null===(t=d.focalPoint)||void 0===t?void 0:t.x)&&(null===d||void 0===d||null===(n=d.focalPoint)||void 0===n?void 0:n.y)?{advancedTransforms:{xCoordinate:d.focalPoint.x,yCoordinate:d.focalPoint.y}}:{}),{quality:"80",width:"1200"});return(0,i.jsxs)(r.ZP,{"data-testid":"quoteTipContainer",container:!0,children:[(0,i.jsxs)(I,{xs:12,sm:12,md:8,item:!0,children:[(0,i.jsx)(R,{children:(0,i.jsx)(P,T({},a))}),(0,i.jsx)(L,{children:(0,i.jsx)(s.Z,{imgStyle:{width:"100%",objectFit:"cover"},lazy:!0,contentLg:u,contentMd:u,contentSm:u,alt:c||"quote position image"})})]}),(0,i.jsx)(D,{item:!0,xs:12,sm:12,md:4,children:(0,i.jsx)(A,{children:(0,i.jsx)(x,T({},l))})})]})}},28931:function(e,t,n){"use strict";var i=n(52322),r=n(2784),o=n(32322),a=n(62664),l=n(12227);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(s){l=!0,r=s}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return o}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=(0,o.z)(a.Z)((function(){return{position:"absolute",top:0,left:0,video:{objectFit:"cover"}}}));t.Z=function(e){var t=e.alt,n=void 0===t?"":t,o=e.url,a=c((0,r.useState)(!1),2),s=a[0],u=a[1],p=c((0,l.YD)({threshold:.25}
1),2),g=p[0],v=p[1];return(0,r.useEffect)((function(){u(!!v)}),[v]),(0,i.jsx)("div",{children:(0,i.jsx)(d,{ref:function(e){var t=null===e||void 0===e?void 0:e.getInternalPlayer;g(t&&"function"===typeof t?t():e)},"data-testid":"video",loop:!0,width:"100%",height:"100%",src:o,controls:!1,playing:s,playsInline:!0,muted:!0,config:{html:{"webkit-playsinline":"true"}},"aria-label":n})})}},97688:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var i=n(52322),r=n(2784),o=n(17338),a=n(5842),l=n(74875),s=n(86718),c=n(48685),d=n(23259),u=n(32322),p=n(13409),g=n(51115),v=n(73199),f=n(28931);function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},m.apply(this,arguments)}function b(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var y=function(e){var t=e.children,n=e.value,r=e.index,o=e.props,a=m({},function(e){if(null===e||void 0===e)throw new TypeError("Cannot destructure "+e);return e}(void 0===o?{}:o));return(0,i.jsx)("div",b(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){h(e,t,n[t])}))}return e}({role:"tabpanel","data-testid":"tabPanel",hidden:n!==r,id:"wrapped-tabpanel-".concat(r),"aria-labelledby":"wrapped-tab-".concat(r)},a),{children:n===r&&(0,i.jsx)("div",{children:t})}))};function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(s){l=!0,r=s}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return o}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Z=(0,u.z)(a.Z)((function(e){return{color:e.theme.token.color.neutral.text[" "].value}})),k=(0,u.z)(a.Z)((function(e){return{color:e.theme.token.color.neutral.text.weak[" "].value}})),S=(0,u.z)(l.Z)((function(e){var t=e.theme;return{border:"".concat(t.spacing(.25)," solid ").concat(t.token.color.border[" "].value),borderRadius:t.token.radius.md.value,marginRight:t.token.spacing[4].value,padding:"".concat(t.token.spacing[2].value,"  ").concat(t.token.spacing[4].value),textAlign:"left",":hover":{borderColor:t.token.color.border.hovered.value},'&[aria-selected="true"]':{border:"".concat(t.spacing(.5)," solid ").concat(t.token.color.border.active.value)}}})),O=(0,u.z)(s.Z)((function(e){return j({},e.theme.breakpoints.up("md"),{position:"absolute"})})),P=(0,u.z)(c.ZP)((function(e){var t=e.theme;return j({paddingBottom:t.token.spacing[6].value},t.breakpoints.down("md"),{flexDirection:"column-reverse"})})),C=(0,u.z)(c.ZP)((function(e){var t=e.theme;return j({},t.breakpoints.up("md"),{marginTop:t.token.spacing[16].value})})),T=(0,u.z)(c.ZP)((function(e){var t=e.theme;return j({position:"relative"},t.breakpoints.down("md"),{height:t.spacing(48.5),marginBottom:t.token.spacing[4].value,flex:"none"})})),z=(0,u.z)(s.Z)((function(e){var t,n=e.theme;return j(t={width:"100%",height:"100%",position:"absolute",top:0,left:0,borderRadius:n.token.radius.base.value,overflow:"hidden"},n.breakpoints.up("md"),{width:"calc(100% - ".concat(n.spacing(6),")"),marginLeft:n.spacing(6)}),j(t,n.breakpoints.up("lg"),{width:"calc(100% - ".concat(n.spacing(7),")"),marginLeft:n.spacing(7)}),t})),I=(0,u.z)(a.Z)((function(e){var t=e.theme;return j({display:"none"},t.breakpoints.up("md"),{paddingTop:t.token.spacing[4].value,paddingBottom:t.token.spacing[3].value,display:"block"})})),L=(0,u.z)(a.Z)((function(e){var t=e.theme;return j({paddingTop:t.token.spacing[6].value,paddingBottom:t.token.spacing[4].value},t.breakpoints.up("md"),{display:"none"})})),D=(0,u.z)(a.Z)((function(e){var t=e.theme;return j({display:"-webkit-box",textOverflow:"ellipsis",WebkitBoxOrient:"vertical",WebkitLineClamp:9,marginBottom:t.spacing(5),p:{marginBlockStart:0,marginBlockEnd:0},overflow:"hidden"},t.breakpoints.up("md"),{WebkitLineClamp:6,height:t.spacing(30)})})),A=(0,u.z)(a.Z)((function(e){var t=e.theme;return j({},t.breakpoints.up("md"),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
1)))),i.forEach((function(t){j(e,t,n[t])}))}return e}({},t.typography.headingLg))})),R=function(e){var t=e.title,n=e.subTitle;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Z,{component:"h3",variant:"bodyMdStrong",children:t}),(0,i.jsx)(k,{component:"p",variant:"bodySm",children:n})]})},M=function(e){var t=e.title,n=void 0===t?"":t,a=e.tabs,l=void 0===a?[]:a,c=e.tabPanels,u=void 0===c?[]:c;if(!(null===l||void 0===l?void 0:l.length)||!(null===u||void 0===u?void 0:u.length)||(null===l||void 0===l?void 0:l.length)!==(null===u||void 0===u?void 0:u.length))return null;var h=function(e,t){return{src:e,width:t,quality:"80",format:"jpg",advancedTransforms:{crop:"fill",gravity:"auto"}}},m=w((0,r.useState)(0),2),b=m[0],x=m[1];return(0,i.jsxs)(s.Z,{sx:{position:"relative"},children:[n&&(0,i.jsx)(A,{pb:6,component:"h2",variant:"headingMd","data-testid":"title",children:n}),(0,i.jsx)(O,{children:(0,i.jsx)(d.Z,{"data-testid":"tabs",value:b,TabIndicatorProps:{style:{display:"none"}},variant:"scrollable",scrollButtons:!1,onChange:function(e,t){x(t)},children:l.map((function(e,t){return(0,i.jsx)(S,{"data-testid":"tab",disableRipple:!0,label:(0,i.jsx)(R,{title:e.title,subTitle:e.subTitle})},t)}))})}),u.map((function(e,t){var n,r,a,l,s;return(0,i.jsxs)(y,{index:t,value:b,children:[(0,i.jsx)(L,{component:"h3",variant:"headingSm",children:e.title}),(0,i.jsxs)(P,{container:!0,columnSpacing:{xs:0,sm:0,md:6,lg:7},children:[(0,i.jsxs)(C,{item:!0,xs:12,md:(null===e||void 0===e||null===(n=e.media)||void 0===n?void 0:n.url)?8:12,lg:(null===e||void 0===e||null===(r=e.media)||void 0===r?void 0:r.url)?7:12,children:[(0,i.jsx)(I,{component:"h3",variant:"headingSm",children:e.title}),(0,i.jsx)(D,{component:"div",variant:"bodySm",children:(0,v.ZP)(e.intro)}),e.link&&(0,i.jsx)(p.r,{href:e.link,size:"small",children:"Read travel guide"})]}),(null===e||void 0===e?void 0:e.media)&&(0,i.jsx)(T,{item:!0,xs:12,md:4,lg:5,children:(0,i.jsx)(z,{children:"video"===(null===(a=e.media)||void 0===a?void 0:a.type)?(0,i.jsx)(f.Z,{url:e.media.url,alt:null===(l=e.media)||void 0===l?void 0:l.alt}):(0,i.jsx)(g.Z,{lazy:!0,contentSm:h(null===e||void 0===e?void 0:e.media.url,"350"),contentLg:h(null===e||void 0===e?void 0:e.media.url,"500"),contentMd:h(null===e||void 0===e?void 0:e.media.url,"280"),alt:(null===(s=e.media)||void 0===s?void 0:s.alt)||"",imgStyle:{width:"100%",height:"100%",objectFit:"cover"}})})})]}),e.additionalItems&&(0,i.jsx)(o.G9,{items:e.additionalItems})]},t)}))]})}}},function(e){e.O(0,[58,9095,8685,4475,4938,8439,3199,9937,1003,5171,612,561,7621,9178,5671,3148,7705,5755,2214,9351,56,7777,2110,543,6829,6185,1028,1380,2227,1330,1159,9887,2111,1345,9774,2888,179],(function(){return t=45210,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.