PageSourceSearch

https://my.getours.com/getours/js/4200.37454d66e85d3bb2f98c.js

js getours.com collected 2026-10-02 10:01:44 UTC 22,416 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmy_travel_portal_frontend=self.webpackChunkmy_travel_portal_frontend||[]).push([[4200],{38743:function(e,a,t){t.d(a,{A:function(){return d}});var i=t(65043),n=t(59801),s=t(60400),o=t(70579);const{Accordion:{expandAll:r,collapseAll:l}}=s.Aq.getTranslations();class d extends i.Component{constructor(e){super(e),this.onChangeHandler=(e=[])=>{this.setState((({accordionItems:a})=>({accordionItems:a.map((a=>e&&e.indexOf&&e.indexOf(a.index)>=0?{...a,expanded:!0}:{...a,expanded:!1})),pickFromProps:!1})))};const{items:a}=this.props;this.state={accordionItems:a,pickFromProps:!0}}static getDerivedStateFromProps(e,a){const{items:t}=e,{pickFromProps:i}=a;return t!==a.accordionItems?{accordionItems:i?t:a.accordionItems}:null}onClickHandler(e,a){e.preventDefault();const{accordionItems:t}=this.state;this.setState({accordionItems:t.map((e=>({...e,expanded:a}))),pickFromProps:!1})}render(){const{allowMultiple:e=!1,showButtons:a=e,heading:t,className:i="",header:d=!1,onChange:c=()=>{}}=this.props,{accordionItems:u}=this.state,m=u.filter((e=>!0===e.expanded)),h=i?`${i}__item`:"",g=i?`${i}__title`:"",p=i?`${i}__body`:"";return(0,o.jsxs)("div",{className:"Accordion grid-x",children:[d&&(0,o.jsx)("div",{className:"cell",children:(0,o.jsxs)("div",{className:"grid-x Accordion__header",children:[(0,o.jsx)("h4",{className:"cell small-12 medium-7 Accordion__heading",children:t}),a&&(0,o.jsxs)("div",{className:"cell small-12 medium-5 expanded Accordion__button",children:[(0,o.jsx)("button",{className:"button"+(m.length===u.length?" selected":""),onClick:e=>this.onClickHandler(e,!0),type:"button",children:r}),(0,o.jsx)("button",{className:"button"+(0===m.length?" selected":""),onClick:e=>this.onClickHandler(e,!1),type:"button",children:l})]})]})}),(0,o.jsx)("div",{className:"cell",children:(0,o.jsx)(n.Accordion,{onChange:a?this.onChangeHandler:c,accordion:!e,className:`accordion ${i}`,children:u.map((e=>(0,o.jsxs)(n.AccordionItem,{id:e.id,uuid:e.index,expanded:e.expanded,className:`accordion__item ${h}`,children:[(0,o.jsxs)(n.AccordionItemTitle,{className:`accordion__title ${g}`,children:[e.title,(0,o.jsx)("div",{className:"accordion__arrow",role:"presentation"})]}),(0,o.jsx)(n.AccordionItemBody,{className:`accordion__body ${p}`,children:e.content})]},e.id||s.Aq.getUID())))})})]})}}d.displayName="Accordion",d.defaultProps={allowMultiple:!1,showButtons:!1,className:"",heading:"",header:!1}},66863:function(e,a,t){t.d(a,{A:function(){return d}});var i=t(65043),n=t(80229),s=t(97512),o=t(24097),r=t(70579);const l=({message:e,className:a})=>{const[t,l]=(0,i.useState)(!1),d={replace:e=>{if("a"===e.name&&e.attribs&&"#LoginFAQModal"===e.attribs["data-target"])return(0,r.jsx)("a",{tabIndex:"0",role:"button",onClick:()=>l(!0),onKeyDown:e=>"Enter"===e.key&&l(!0),children:(0,n.zd)(e.children)})}};return(0,r.jsxs)(r.Fragment,{children:[t&&s.createPortal((0,r.jsx)(o.A,{isFirebase:!0,openModal:t,onCloseLoginFaq:()=>l(!1)}),document.body),(0,r.jsx)("div",{className:`AlertMessageBlock__message ${a}`,children:(0,n.Ay)(e,d)})]})};l.displayName="AlertMessageBlock";var d=l},65294:function(e,a,t){t.d(a,{A:function(){return l}});var i=t(65043),n=t(60400),s=t(70579);const{App:{defaultTripImages:{square:o,wide:r}}}=n.Aq.getConfigs();class l extends i.PureComponent{constructor(e){super(e),this.checkIfImageExists=(e,a)=>{const t=new Image;t.src=e,t.complete?a(!0):(t.onload=()=>{a(!0)},t.onerror=()=>{a(!1)})};const{src:a}=this.props;this.state={src:a,loading:!0}}componentDidMount(){n.Aq.setToMounted(this),this.setState({loading:!0});const{src:e,defaultImageType:a,customOnLoad:t}=this.props,i="wide"===a?r:o;this.checkIfImageExists(e,(a=>{a?this.setState({src:e}):this.setState({src:i}),this.setState({loading:!1});const{src:n}=this.state;t&&t(n)}))}componentWillUnmount(){n.Aq.setToUnmounted(this)}render(){const{className:e,children:a,useImg:t,useDarkBG:o,contentStyle:r}=this.props,{src:l,loading:d}=this.state,c={...r,backgroundImage:`url('${l}')`},u=n.Aq.argsToString("BackgroundImage",d&&"BackgroundImage--loading",o&&"BackgroundImage--dark",e);return t&&(0,s.jsxs)(i.Fragment,{children:[(0,s.jsx)("img",{src:l,alt:"background"}),a]})||(0,s.jsx)("div",{style:c,className:u,children:a})}}
1l.displayName="BackgroundImage",l.defaultProps={src:"",className:"",useDarkBG:!1,defaultImageType:"wide",useImg:!1,children:null,contentStyle:{}}},27669:function(e,a,t){t.d(a,{A:function(){return v}});t(65043);var i=t(45205),n=t(60400),s=t(70579);const{Countdown:o}=n.Aq.getTranslations(),{Countdown:{themeName:r}}=n.Aq.getConfigs(),l=({children:e})=>(0,s.jsx)("span",{className:"Countdown__message",children:e}),d=({children:e})=>(0,s.jsx)("span",{className:"Countdown__number-context",children:e}),c=({children:e})=>(0,s.jsx)("span",{className:"Countdown__number",children:e}),u=({over:e=!1,children:a})=>(0,s.jsx)("div",{className:"Countdown__count"+(e?" Countdown__count--over":""),children:a}),m=({children:e})=>(0,s.jsx)("span",{className:"Countdown__expiry",children:e}),h=({data:e})=>(0,s.jsxs)(u,{children:[(0,s.jsxs)(d,{children:[o.trip," ",o.day.singular]}),(0,s.jsxs)(c,{children:[" ",e]})]}),g=({data:e})=>(0,s.jsxs)(u,{children:[(0,s.jsxs)(c,{children:[e," "]}),(0,s.jsxs)(d,{children:[o.day[1!==e?"plural":"singular"]," ",o.toGo]})]}),p=({data:e})=>(0,s.jsx)(u,{over:!0,children:(0,s.jsx)(l,{children:e})}),x=({data:e})=>(0,s.jsx)(m,{expires:!0,children:e}),_=({from:e,to:a,useLightBG:t,useDarkBG:l,smallMode:d,flatMode:c,noShadow:u,noDate:m,noStatus:_,noExpire:v})=>{const b="Countdown";let y="",N="FUTURE";return n.gX.todayOrEarlier(e)&&(N="PRESENT"),n.gX.hasOccurred(a)&&(N="PAST"),y=y||c&&`${b}--flat`,y=y||d&&`${b}--small`,y+=t?` ${b}--useLightBG`:"",y+=l?` ${b}--useDarkBG`:"",y+=m?` ${b}--noDate`:"",y+=_?` ${b}--noStatus`:"",(!m||!_)&&(0,s.jsxs)(i.A,{noPadding:!0,noBorder:!0,noShadow:u,componentName:b,className:y||"",themeName:r,children:[!m&&(0,s.jsxs)(i.A.Header,{alignCenter:!0,children:[v&&(0,s.jsx)(x,{data:o.expires}),n.gX.format(e,"D MMM YYYY")]}),!_&&(0,s.jsxs)(i.A.Body,{children:["FUTURE"===N&&(0,s.jsx)(g,{data:n.gX.daysUntil(e)||1}),"PRESENT"===N&&(0,s.jsx)(h,{data:n.gX.daysSince(e)||1}),"PAST"===N&&(0,s.jsx)(p,{data:o.over})]})]})||null};d.displayName="CountdownNumberContext",c.displayName="CountdownNumber",l.displayName="CountdownMessage",u.displayName="CountdownCount",u.defaultProps={over:!1},h.displayName="CountdownUp",g.displayName="CountdownDown",p.displayName="CountdownOver",_.displayName="Countdown",_.defaultProps={from:n.gX.now(),to:n.gX.now(),useLightBG:!1,useDarkBG:!1,smallMode:!1,flatMode:!1,noShadow:!1,noDate:!1,noStatus:!1,noExpire:!1};var v=_},32125:function(e,a,t){t.d(a,{A:function(){return j}});var i=t(65043),n=t(97508),s=t(32044),o=t(65294),r=t(27669),l=t(66863),d=t(80229),c=t(60400),u=t(70579);const{Hero:{greeting:{guest:m,member:h,prefix:g},alertMessage:p,healthAlertMessage:x}}=c.Aq.getTranslations(),{App:{brandId:_,tripByBrandMapping:v},Sustainability:{pledgeImage:b,showPledgeImage:y}}=c.Aq.getConfigs(),N=({title:e,image:a,children:t,startDate:n,endDate:N,tripEnded:j,withHomeButton:f,withChatHomeButton:C,withKnowBeforeYouGo:S,staticImage:A,dontShowTripBy:w,firstname:T,withCountdown:I,withTitle:k,customTitle:B,withGreeting:P,brandName:H})=>{const{App:{showKnowBeforeYouGoPage:q},Hero:{showAlertMessage:D,showHealthAlertMessage:F}}=c.Aq.getConfigs();return(0,u.jsxs)("div",{className:"cell Hero","data-testid":"hero",children:[D&&!C&&!q&&(0,u.jsx)(l.A,{message:p,className:"Hero__alertMessage"}),F&&!C&&!q&&(0,u.jsx)(l.A,{message:x,className:"Hero__healthAlertMessage"}),(0,u.jsxs)(o.A,{src:A||a,className:"Hero__image grid-x align-bottom ChatHero__chatBackground",children:[B&&S&&(0,u.jsx)("div",{className:"Hero__knowBeforeYouGoText--text small-10 small-offset-1 medium-6 medium-offset-3",children:(0,d.Ay)(B)}),(0,u.jsx)("div",{className:"cell",children:(0,u.jsxs)("div",{className:"grid-container",children:[I&&(0,u.jsx)("div",{className:"show-for-large Hero__countdown",children:n&&!j&&(0,u.jsx)(r.A,{from:n,to:N})}),t,(0,u.jsxs)("div",{className:"grid-x grid-margin-x",children:[B&&y&&!S&&(0,u.jsx)("div",{className:"cell Hero__joinImage",children:(0,u.jsx)("img",{className:"Hero__sustainabilityLogo",src:b,alt:`${_} sustainability brand logo`})}),(0,u.jsxs)("div",{className:"cell large-12",children:[P&&((0,u.jsxs)(i.Fragment,{children:[(0,u.jsxs)("h1",{"data-hj-suppress":!0,className:"Hero__title Hero__title--light",children:[h," ","brendanvacations"===_&&T]}),(0,u.jsxs)("h2",{"data-hj-suppress":!0,className:"Hero__title",children:[g," ","brendanvacations"!==_&&T]})]})||(0,u.jsx)("h1",{className:"Hero__title",children:m}))||k&&(0,u.jsx)("h1",{className:"Hero__title Hero__trip-title",children:e})||B&&!S&&(0,u.jsx)("h1",{className:"Hero__title Hero__trip-title Hero__sustainability--title",children:B}),e&&k&&!w&&v[H]&&(0,u.jsx)("h1",{className:"Hero__title Hero__trip-title Hero__status",children:`Trip Run By ${v[H]}`})]})]})]})}),f&&(0,u.jsx)("div",{className:"show-for-small-only",children:(0,u.jsx)(s.A,{className:"Hero__home"})}),C&&(0,u.jsx)("div",{children:(0,u.jsx)(s.A,{className:"Hero__chatHome"})})]})]})};N.displayName="Hero",N.defaultProps={title:"",image:"",staticImage:"",firstname:"",startDate:"",endDate:"",customTitle:"",withHomeButton:!0,withChatHomeButton:!1,withCountdown:!0,withTitle:!0,withGreeting:!1,children:null,tripEnded:!1};var j=(0,n.Ng)((({userData:{firstname:e},activeBooking:a})=>{let t=a.product&&a.product.backgroundUrl;return t&&("trafalgar"!==_&&"costsaver"!==_&&"getours"!==_&&"brendanvacations"!==_||(t=t.replace(/-sq(uare)?/g,"").replace(/(\.jpe?g).+/,"$1"),t=t.replace(/herosquare?/g,"hero")),"insightvacations"!==_&&"luxurygold"!==_&&"getours"!==_&&"brendanvacations"!==_||(t=t.replace(/531x531/g,"1920x660"))),{firstname:e,title:a.productName,image:t,startDate:a.startDate,endD
1ate:a.endDate,tripEnded:a.tripEnded,brandName:a.brandName}}))(N)},24097:function(e,a,t){t.d(a,{A:function(){return h}});t(65043);var i=t(60400),n=t(38743),s=t(52003),o=t(80229),r=t(70579);const{LoginFaq:{header:l,questions:d},FirebaseLoginFaq:{questions:c}}=i.Aq.getTranslations(),u=d.map(((e,a)=>({title:(0,r.jsx)("h3",{children:e.question}),content:(0,r.jsx)("div",{children:(0,o.Ay)(e.answer)}),expanded:!1,id:e.id,index:a}))),m=c.map(((e,a)=>({title:(0,r.jsx)("h3",{children:e.question}),content:(0,r.jsx)("div",{children:(0,o.Ay)(e.answer)}),expanded:!1,id:e.id,index:a})));var h=e=>{const{openModal:a,onCloseLoginFaq:t,isFirebase:i}=e;return(0,r.jsx)("div",{className:"LoginFAQModalContainer",children:(0,r.jsx)(s.A,{componentName:"LoginFAQModal",title:l,open:a,onClose:t,children:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"modalbuttoncontainer",children:(0,r.jsx)(n.A,{header:l,showButtons:!0,allowMultiple:!0,items:i?m:u})})})})})})}},7263:function(e,a,t){t.d(a,{A:function(){return _}});t(65043);var i=t(60400),n=t(45205),s=t(64097),o=t(62582),r=t(91688),l=(t(51763),t(97508)),d=t(67978),c=t(50805),u=t(53536),m=t.n(u),h=t(54939),g=t(70579);const p=({activeBooking:e,activeBookingDetails:a,bookingDetailsForOverview:t,sellingCompanyShortName:n})=>{const{App:{routes:o,FTCSidebarNavigationRoutes:{clientDirectRoutes:r,travelAgentRoutes:l},showKnowBeforeYouGoPage:d,tppProductsIds:c}}=i.Aq.getConfigs(),{isFullyOrOverPaid:u,isSpecialOrGroupBookingType:h,travelExtraConfig:g={},paymentInstalmentPlanTileState:p,instalmentPlan:x,passengers:_}=a,{bookingNumber:v,isfutureTravelCredit:b,tripStarted:y,tripEnded:N}=e,{isLeadPassenger:j}=_.find((({isLoggedInPassenger:e})=>e))||{},{bookingType:f}=v;let C=m().cloneDeep(o);const S=sessionStorage.getItem("insecurelogin");S&&(C=C.filter((e=>!e.hideInInsecureMode)));const{bookingDetails:{tours:A=[]}={}}=t;let w=!1;A.filter((e=>e.tourType!==s.m.DAY_TOUR)).length>1&&n.indexOf("USAS")>=0&&A.forEach((e=>{e.travelProtectionPerPax&&e.travelProtectionPerPax.length>0&&(w=!0)}));let T=!1;n.indexOf("USAS")>=0&&A.forEach((e=>{e.travelProtectionPerPax&&e.travelProtectionPerPax.length>0&&e.travelProtectionPerPax.forEach((e=>{c.indexOf(e.data.productId)>=0&&(T=!0)}))}));const I=C.find((e=>"KnowBeforeYouGo"===e.name));if(I&&(I.hideFromNavigation=!d),b){(e=>{C.forEach((a=>{e.includes(a.path)||(a.hideFromNavigation=!0)}))})(f===s.m.BOOKING_TYPE_TRAVEL_AGENT?l:r)}const k=C.find((e=>"/payment"===e.path));k&&(u||f!==s.m.BOOKING_TYPE_CLIENT_DIRECT)&&(k.hideFromNavigation=!0);const B=C.find((e=>"/instalmentplan"===e.path)),P=sessionStorage.getItem("plancancelled");let H=x;P&&(H=!1),!B||g.showPaymentInstalment&&j&&"hide"!==p&&("edit"!==p||P)&&!H||(B.hideFromNavigation=!0);const q=C.find((e=>"/editinstalmentplan"===e.path));!q||g.showPaymentInstalment&&H||(q.hideFromNavigation=!0);const D=C.find((e=>"/travelextraslanding"===e.path));D&&(f!==s.m.BOOKING_TYPE_CLIENT_DIRECT||y||b||w||T||S)&&(D.hideFromNavigation=!0);const F=C.find((e=>"/documents"===e.path));return F&&(h||N)&&(F.hideFromNavigation=!0),C},x=e=>{const{location:{pathname:a},activeBooking:t,activeBookingDetails:s,bookingDetailsForOverview:r,sellingCompanyShortName:l}=e,{Navigation:{navigationList:d}}=i.Aq.getTranslations(),c=p({activeBooking:t,activeBookingDetails:s,bookingDetailsForOverview:r,sellingCompanyShortName:l});return(0,g.jsx)(n.A,{noPadding:!0,componentName:"Navigation",children:(0,g.jsx)(n.A.Body,{children:(0,g.jsx)("nav",{className:"Navigation__nav",children:c.filter((({path:e,hideFromNavigation:t})=>a.toLowerCase()!==e&&!t)).map((({name:e,path:a})=>(0,g.jsxs)(o.N_,{to:a,className:"Navigation__link",onClick:()=>(e=>{const a={action:"navigation_link",category:"navigation_list",label:e};i.j0.click(a),(0,h.l)({message:`User clicked on [${e}] on the Navigation Panel`,status:"info",userEmail:localStorage.getItem("USER_EMAIL"),loginSource:localStorage.getItem("LOGIN_SOURCE"),corrId:localStorage.getItem("CORRELATION_ID")})})(d[e]),children:[d[e],(0,g.jsx)("div",{className:"Navigation__arrow",role:"presentation"})]},e)))})})})};x.displayName="Navigation";var _=(0,r.y)((0,l.Ng)((e=>({activeBooking:e.activeBooking,activeBookingDetails:e.activeBookingDetails,bookingDetailsForOverview:e.bookingDetailsForOverview,sellingCompanyShortName:e.activeBooking.sellingCompany.sellingCompanyShortName})),(e=>({actions:(0,c.zH)(d,e)})))(x))},84200:function(e,a,t){t.r(a),t.d(a,{default:function(){return ae}});var i=t(65043),n=t(32125),s=t(97508),o=t(60400),r=t(45205),l=t(80229),d=t(70579);const{Sustainability:{showIcons:c}}=o.Aq.getConfigs(),u=({heading:e,description:a,src:t,alt:i})=>(0,d.jsx)("div",{children:(0,d.jsxs)(r.A,{className:"InfoTile",children:[c&&(0,d.jsx)(r.A.Header,{children:(0,d.jsx)("img",{src:t,alt:i})}),(0,d.jsxs)(r.A.Body,{children:[(0,d.jsx)("div",{className:"InfoTile__heading",children:e}),(0,d.jsx)("div",{children:a})]})]})});u.displayName="SustainabilityInfoTile",u.defaultProps={heading:"",description:"",src:"",alt:""};var m=u;
1const{Sustainability:{makePledgeUrlFooter:h,brandPledgeInfoUrl:g,videoSrc:p,videoThumbImage:x,videoThumbCaption:_,playVideoImage:v,planetIcon:b,peopleIcon:y,wildlifeIcon:N},SustainabilityCard:{themeName:j}}=o.Aq.getConfigs(),{Sustainability:{Card:{header:f,ourStoryTitle:C,ourStorySubTitle:S,ourStoryText:A,whatWeDoTitle:w,whatWeDoSubTitle:T,whatWeDoText:I,travelPledgeTitle:k,travelPledgeSubTitle:B,travelPledgeText:P,pledgeSubTitle:H,pledgeText:q,makePledgeButtonText:D,brandPledgeInfoButtonText:F,infoTile:{planet:O,people:E,wildlife:M}}}}=o.Aq.getTranslations();class R extends i.Component{constructor(...e){super(...e),this.clickHandler=e=>{e.preventDefault(),window.$(".video").css("position","relative"),window.$(".video")[0].src+="&autoplay=1",window.$(".SustainabilityCard__videoContainer__thumbnail__thumbImage").css("display","none"),window.$(".SustainabilityCard__videoContainer__thumbnail__thumbPlay").css("display","none")},this.playVideo=e=>{this.clickHandler(e)}}render(){const{App:{brandCode:e}}=o.Aq.getConfigs(),{isfutureTravelCredit:a}=this.props;return(0,d.jsxs)(r.A,{componentName:"SustainabilityCard",themeName:j,children:[a?(0,d.jsx)(r.A.Header,{alignCenter:!0,children:f}):(0,d.jsx)(r.A.Header,{withHomeButton:!0,children:f}),(0,d.jsxs)(r.A.Body,{children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"SustainabilityCard__heading",children:C}),(0,d.jsx)("h2",{className:"SustainabilityCard__subHeading",children:S}),(0,d.jsx)("div",{className:"SustainabilityCard__body__text",children:(0,l.Ay)(A)})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"SustainabilityCard__heading",children:w}),(0,d.jsx)("h2",{className:"SustainabilityCard__subHeading",children:T}),(0,d.jsx)("div",{className:"SustainabilityCard__body__text",children:(0,l.Ay)(I)})]}),(0,d.jsxs)("div",{className:"cell InfoTile__wrapper",children:[(0,d.jsx)("div",{className:"medium-6",children:(0,d.jsx)(m,{heading:E.heading,description:E.description,src:y,alt:E.altText})}),(0,d.jsx)("div",{className:"medium-6",children:(0,d.jsx)(m,{heading:M.heading,description:M.description,src:N,alt:M.altText})}),(0,d.jsx)("div",{className:"medium-6",children:(0,d.jsx)(m,{heading:O.heading,description:O.description,src:b,alt:O.altText})})]}),(0,d.jsx)("div",{className:"cell",children:(0,d.jsxs)("div",{className:"SustainabilityCard__videoContainer",children:[(0,d.jsx)("iframe",{className:"video",src:p,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"The TreadRight Foundation make travel matter (short video)"}),(0,d.jsxs)("div",{className:"SustainabilityCard__videoContainer__thumbnail",children:[(0,d.jsx)("img",{className:"SustainabilityCard__videoContainer__thumbnail__thumbImage",src:x,alt:""}),(0,d.jsxs)("div",{className:"SustainabilityCard__videoContainer__thumbnail__thumbPlay",children:[(0,d.jsx)("a",{role:"button",id:"playVideo",onClick:this.playVideo,onKeyDown:this.playVideo,tabIndex:0,children:(0,d.jsx)("img",{src:v,alt:""})}),(0,d.jsx)("h2",{className:"SustainabilityCard__videoCaption",children:_})]})]})]})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"SustainabilityCard__heading",children:k}),(0,d.jsx)("h2",{className:"SustainabilityCard__subHeading",children:B}),(0,d.jsx)("div",{className:"SustainabilityCard__body__text",children:(0,l.Ay)(P)})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"SustainabilityCard__subHeading",children:H}),(0,d.jsx)("div",{className:"SustainabilityCard__body__text",children:(0,l.Ay)(q)})]})]}),(0,d.jsx)(r.A.Footer,{children:(0,d.jsxs)("div",{className:"grid-x grid-margin-x align-center",children:[(0,d.jsx)("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"cell medium-6 SustainabilityCard__button",children:(0,d.jsx)("span",{className:"Button button small-only-expanded SustainabilityCard__buttonText\n                                "+("TT"===e?"SustainabilityCard__button-primary":"SustainabilityCard primary"),children:D})}),(0,d.jsx)("a",{href:g,target:"_blank",rel:"noopener noreferrer",className:"cell medium-6 SustainabilityCard__button",children:(0,d.jsx)("span",{className:`Button button small-only-expanded SustainabilityCard__buttonText \n                                ${"TT"===e?"SustainabilityCard__button-secondary":`hollow ${j}`} `,children:F})})]})})]})}}R.displayName="SustainabilityCard",R.defaultProps={isfutureTravelCredit:!1};var $=(0,s.Ng)((({activeBooking:e})=>({isfutureTravelCredit:e.isfutureTravelCredit})))(R);const{App:{brandCode:L},SustainabilityCard:{themeName:G},Sustainability:{subscriptionBoxImage:U,makePledgeUrl:Y}}=o.Aq.getConfigs(),{SustainabilitySubscriptionBox:{pledgeText:K,buttonText:X,altText:V}}=o.Aq.getTranslations(),W=()=>(0,d.jsxs)(r.A,{componentName:"SustainabilitySubscriptionBox",themeName:G,children:[(0,d.jsx)(r.A.Body,{children:(0,d.jsx)("img",{src:U,alt:V})}),(0,d.jsxs)(r.A.Footer,{children:[(0,d.jsx)("div",{className:"SustainabilitySubscriptionBox__pledge",children:K}),(0,d.jsx)("a",{href:Y,target:"_blank",rel:"noopener noreferrer",className:"Button small-only-expanded SustainabilitySubscriptionBox__button "+("TT"===L?"":"primary"),children:X})]})]});W.displayName="SustainabilitySubscriptionBox";var Q=W,z=t(7263);const{Sustainability:{bannerImage:J}}=o.Aq.getConfigs(),{Sustainability:{title:Z}}=o.Aq.getTranslations(),ee=()=>(0,d.jsxs)("div",{className:"cell",children:[(0,d.jsx)(n.A,{staticImage:J,withTitle:!1,customTitle:Z,withCountdown:!1}),(0,d.jsx)("div",{className:"grid-container",children:(0,d.jsxs)("div",{className:"grid-x grid-margin-x",children:[(0,d.jsx)("div",{className:"cell large-8",children:(0,d.jsx)("div",{className:"grid-y",children:(0,d.jsx)($,{})})}),(0,d.jsx)("div",{className:"cell large-4",children:(0,d.jsxs)("div",{className:"grid-y",children:[(0,d.jsx)("div",{className:"cell",children:(0,d.jsx)(Q,{})}),(0,d.jsx)("div",{className:"cell",children:(0,d.jsx)(z.A,{})})]})})]})})]});ee.displayName="Sustainability";var ae=ee},51763:function(e,a,t){var i=this&&this.__createBinding||(Object.create?function(e,a,t,i){void 0===i&&(i=t),Object.defineProperty(e,i,{enumerable:!0,get:function(){return a[t]}})}:function(e,a,t,i){void 0===i&&(i=t),e[i]=a[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,a){Object.defineProperty(e,"default",{enumerable:!0,value:a})}:function(e,a){e.default=a}
1),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(a,e,t);return n(a,e),a};Object.defineProperty(a,"__esModule",{value:!0}),a.route=a.match=a.history=a.location=void 0;var o=s(t(65173));a.location=o.shape({hash:o.string.isRequired,key:o.string,pathname:o.string.isRequired,search:o.string.isRequired,state:o.oneOfType([o.array,o.bool,o.number,o.object,o.string])}),a.history=o.shape({action:o.oneOf(["PUSH","REPLACE","POP"]).isRequired,block:o.func.isRequired,createHref:o.func.isRequired,go:o.func.isRequired,goBack:o.func,goForward:o.func,back:o.func,forward:o.func,index:o.number,length:o.number,listen:o.func.isRequired,location:a.location.isRequired,push:o.func.isRequired,replace:o.func.isRequired}),a.match=o.shape({isExact:o.bool,params:o.object.isRequired,path:o.string.isRequired,url:o.string.isRequired});var r={path:o.oneOfType([o.string,o.arrayOf(o.string)]),exact:o.bool,strict:o.bool,sensitive:o.bool,component:o.func};r.routes=o.arrayOf(o.shape(r)),a.route=o.shape(r),a.default={location:a.location,history:a.history,match:a.match,route:a.route}}}]);

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.