!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e938650e-3ab0-408b-9f7a-c71198f3c980",e._sentryDebugIdIdentifier="sentry-dbid-e938650e-3ab0-408b-9f7a-c71198f3c980")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8764],{35692:function(e,t,n){Promise.resolve().then(n.bind(n,32617)),Promise.resolve().then(n.bind(n,81169)),Promise.resolve().then(n.bind(n,94083)),Promise.resolve().then(n.bind(n,69423)),Promise.resolve().then(n.t.bind(n,10055,23))},32617:function(e,t,n){"use strict";n.d(t,{FlightSearch:function(){return c}});var i=n(45688),r=n(45347),a=n(83803),o=n(10072),l=n(6887),s=n(18493),u=n(38055),d=n(47372);let c=()=>((0,l.L)("landing"),(0,s.A)(d.g7.FLIGHT),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.x,{children:e=>(0,i.jsxs)("div",{className:"min-h-[30px]",children:[(0,i.jsx)(o.N,{}),(0,i.jsx)(a.h,{travelType:d.g7.FLIGHT,handleOnClick:t=>{e(t)}})]})}),(0,i.jsx)(u.default,{page:"Flights"})]}))},35793:function(e,t,n){"use strict";function i(e,t){return e[t]||e[e.length-1]}n.d(t,{Jw:function(){return i},Po:function(){return a},g3:function(){return r}});let r=(e,t,n)=>{var r,a;let o=i(e,n),l=i(t,n);return{tier:l.tier-o.tier,cashPayment:l.cashPayment-o.cashPayment,cashPaymentInUsd:l.cashPaymentInUsd-o.cashPaymentInUsd,pointsPayment:l.pointsPayment-o.pointsPayment,points:l.points&&o.points?l.points-o.points:void 0,pointsEarned:(null!==(r=null==l?void 0:l.pointsEarned)&&void 0!==r?r:0)-(null!==(a=null==o?void 0:o.pointsEarned)&&void 0!==a?a:0)}},a=e=>e.reduce((e,t)=>t.cashPayment>e.cashPayment?t:e,e[0])},99231:function(e,t,n){"use strict";n.d(t,{Hf:function(){return a},v4:function(){return o}});var i=n(72125);let r=new Set(["ascenda-demoRcUs"]),a="tenant_hub_custom_ui_configs";function o(){let e=(0,i.Aj)();return!!e&&r.has(e)}},69823:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var i=n(60754),r=n(63560),a=n(99231);function o(){let e=(0,a.v4)(),[t]=(0,i.Z)(a.Hf),[n,o]=(0,r.useState)();return(0,r.useEffect)(()=>{o(t)},[t]),e?n:{}}},38055:function(e,t,n){"use strict";n.d(t,{default:function(){return p}});var i=n(45688),r=n(99231),a=n(69823),o=n(72125),l=n(4210),s=n(63560),u=n(66534),d=n(39792),c={restoreOnUnmount:!1},f=function(e,t){void 0===t&&(t=c);var n=(0,s.useRef)(d.Z?document.title:"");(0,s.useEffect)(function(){document.title=e},[e]),(0,u.Z)(function(){t.restoreOnUnmount&&(document.title=n.current)})};function v(e){let{pageTitle:t}=e;return f(t),null}function p(e){var t,n,s;let{page:u}=e,d=(0,r.v4)(),c=(0,a.y)(),f=(0,o.cE)(),p=null!==(s=null==c?void 0:c.company_name)&&void 0!==s?s:null==f?void 0:null===(n=f.uiSettings)||void 0===n?void 0:null===(t=n.application)||void 0===t?void 0:t.tenantName,h=(0,l.fm)(p);return d?(0,i.jsx)(v,{pageTitle:"".concat(u," | ").concat(h)}):null}},4210:function(e,t,n){"use strict";n.d(t,{fm:function(){return i},l9:function(){return r}});let i=e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase(),r=e=>i(e.replace(/([A-Z])/g," $1"))},60754:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i,r=n(87398),a=n(63560),o=n(613),l=n(69183),s=function(e){l.Z&&!(0,o.mf)(e)&&console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof e));var t=(0,a.useRef)(e);t.current=(0,a.useMemo)(function(){return e},[e]);var n=(0,a.useRef)();return n.current||(n.current=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(this,e)}),n.current},u=n(24662),d=n(39792),c=(i=function(){return d.Z?localStorage:void 0},function(e,t){void 0===t&&(t={});var n,l=t.onError,d=void 0===l?function(e){console.error(e)}:l;try{n=i()}catch(e){d(e)}function c(){try{var i=null==n?void 0:n.getItem(e);if(i)return t.deserializer?t.deserializer(i):JSON.parse(i)}catch(e){d(e)}return(0,o.mf)(t.defaultValue)?t.defaultValue():t.defaultValue}var f=(0,r.CR)((0,a.useState)(c),2),v=f[0],p=f[1];return(0,u.Z)(function(){p(c())},[e]),[v,s(function(i){var r=(0,o.mf)(i)?i(v):i;if(p(r),(0,o.G7)(r))null==n||n.removeItem(e);else try{null==n||n.setItem(e,t.serializer?t.serializer(r):JSON.stringify(r))}catch(e){console.error(e)}})]})},24662:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i,r=n(63560),a=(i=r.useEffect,function(e,t){var n=(0,r.useRef)(!1);i(function(){return function(){n.current=!1}},[]),i(function(){if(n.current)return e();n.current=!0},t)})},83452:function(e,t,n){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}n.d(t,{g:function(){return i}})},69423:function(e,t,n){"use strict";n.d(t,{default:function(){return f}});var i=n(83452),r=n(83849),a=n(59512),o=n(63560),l=n(6676);let s="locale";function u(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function d(e,t){let n;return"string"==typeof e?n=c(t,e):(n={...e},e.pathname&&(n.pathname=c(t,e.pathname))),n}function c(e,t){let n=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}n(32608);let f=(0,o.forwardRef)(function(e,t){let{href:n,locale:c,localePrefixMode:f,onClick:v,prefetch:p,prefix:h,...m}=e,b=(0,a.usePathname)(),y=function(){let e;let t=(0,a.useParams)();try{e=(0,l.useLocale)()}catch(n){if("string"!=typeof(null==t?void 0:t[s]))throw n;e=t[s]}return e}(),g=c!==y,[P,R]=(0,o.useState)(()=>u(n)&&("never"!==f||g)?d(n,h):n);return(0,o.useEffect)(()=>{b&&R(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;if(!u(e))return e;let a=i===r||i.startsWith("".concat(r,"/"));return(t!==n||a)&&null!=r?d(e,r):e}(n,c,y,b,h))},[y,n,c,b,h]),g&&(p&&console.error("The `prefetch` prop is currently not supported when using the `locale` prop on `Link` to switch the locale.`"),p=!1),o.createElement(r.default,(0,i.g)({ref:t,href:P,hrefLang:g?c:void 0,onClick:function(e){(function(e,t,n){if(!(n!==t&&null!=n)||!e)return;let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}(e);document.cookie="".concat("NEXT_LOCALE","=").concat(n,"; path=").concat(""!==i?i:"/","; max-age=").concat(31536e3,"; sameSite=").concat("lax")})(b,y,c),v&&v(e)},prefetch:p},m))});f.displayName="ClientLink"},71087:function(e,t,n){"use strict";n.d(t,{Y8:function(){return N},Ee:function(){return M}});var i=n(9766),r=n(45165),a=n(39578),o=n(88897),l=n(96068);let s=new WeakMap;var u=n(18534),d=n(42626),c=n(67756),f=n(65528),v=n(74036),p=n(5931),h=n(69943),m=n(90803),b=n(45930),y=n(86644),g=n(67180),P=n(86825),R=n(59718),I=n(48175),w=n(91046),E=n(15441),V=n(21627),x=n(93288),D=n(36762),C=n(6500),F=n(63560);let O=Math.round(1e10*Math.random()),S=0,k=(0,F.createContext)(null),j=(0,F.createContext)(null),L=(0,F.createContext)(null),M=(0,F.forwardRef)(function(e,t){var n,m;[e,t]=(0,i.pE)(e,t,k);let{validationBehavior:b}=(0,i.jn)(a.q)||{},y=null!==(m=null!==(n=e.validationBehavior)&&void 0!==n?n:b)&&void 0!==m?m:"native",g=function(e){var t;let n=(0,F.useMemo)(()=>e.name||`radio-group-${O}-${++S}`,[e.name]),[i,r]=(0,C.z)(e.value,null!==(t=e.defaultValue)&&void 0!==t?t:null,e.onChange),[a,o]=(0,F.useState)(null),l=(0,D.Q3)({...e,value:i}),s=l.displayValidation.isInvalid;return{...l,name:n,selectedValue:i,setSelectedValue:t=>{e.isReadOnly||e.isDisabled||(r(t),l.commitValidation())},lastFocusedValue:a,setLastFocusedValue:o,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(s?"invalid":null),isInvalid:s}}({...e,validationBehavior:y}),[P,R]=(0,i.xc)(),{radioGroupProps:I,labelProps:w,descriptionProps:E,errorMessageProps:V,...x}=function(e,t){let{name:n,isReadOnly:i,isRequired:r,isDisabled:a,orientation:o="vertical",validationBehavior:l="aria"}=e,{direction:m}=(0,h.j)(),{isInvalid:b,validationErrors:y,validationDetails:g}=t.displayValidation,{labelProps:P,fieldProps:R,descriptionProps:I,errorMessageProps:w}=(0,v.U)({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||y}),E=(0,u.z)(e,{labelable:!0}),{focusWithinProps:V}=(0,p.L)({onBlurWithin(n){var i;null===(i=e.onBlur)||void 0===i||i.call(e,n),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),x=(0,d.Me)(n);return s.set(t,{name:x,descriptionId:I.id,errorMessageId:w.id,validationBehavior:l}),{radioGroupProps:(0,c.d)(E,{role:"radiogroup",onKeyDown:e=>{let n,i;switch(e.key){case"ArrowRight":n="rtl"===m&&"vertical"!==o?"prev":"next";break;case"ArrowLeft":n="rtl"===m&&"vertical"!==o?"next":"prev";break;case"ArrowDown":n="next";break;case"ArrowUp":n="prev";break;default:return}e.preventDefault();let r=(0,f.QL)(e.currentTarget,{from:e.target});"next"===n?(i=r.nextNode())||(r.currentNode=e.currentTarget,i=r.firstChild()):(i=r.previousNode())||(r.currentNode=e.currentTarget,i=r.lastChild()),i&&(i.focus(),t.setSelectedValue(i.value))},"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":i||void 0,"aria-required":r||void 0,"aria-disabled":a||void 0,"aria-orientation":o,...R,...V}),labelProps:P,descriptionProps:I,errorMessageProps:w,isInvalid:b,validationErrors:y,validationDetails:g}}({...e,label:R,validationBehavior:y},g),j=(0,i.aX)({...e,values:{orientation:e.orientation||"vertical",isDisabled:g.isDisabled,isReadOnly:g.isReadOnly,isRequired:g.isRequired,isInvalid:g.isInvalid,state:g},defaultClassName:"react-aria-RadioGroup"});return F.createElement("div",{...I,...j,ref:t,slot:e.slot||void 0,"data-orientation":e.orientation||"vertical","data-invalid":g.isInvalid||void 0,"data-disabled":g.isDisabled||void 0,"data-readonly":g.isReadOnly||void 0,"data-required":g.isRequired||void 0},F.createElement(i.zt,{values:[[L,g],[o.n,{...w,ref:P,elementType:"span"}],[l.j,{slots:{description:E,errorMessage:V}}],[r.E,x]]},j.children))}),N=(0,F.forwardRef)(function(e,t){let{inputRef:n=null,...r}=e;[e,t]=(0,i.pE)(r,t,j);let a=F.useContext(L),o=(0,w.B)((0,E.l)(n,void 0!==e.inputRef?e.inputRef:null)),{labelProps:l,inputProps:d,isSelected:f,isDisabled:v,isPressed:p}=function(e,t,n){let{value:i,children:r,"aria-label":a,"aria-labelledby":o}=e,l=e.isDisabled||t.isDisabled;null!=r||null!=a||null!=o||console.warn("If you do not provide children, you must specify an aria-label for accessibility");let d=t.selectedValue===i,{pressProps:f,isPressed:v}=(0,g.r)({isDisabled:l}),{pressProps:p,isPressed:h}=(0,g.r)({isDisabled:l,onPress(){t.setSelectedValue(i)}}),{focusableProps:P}=(0,b.k)((0,c.d)(e,{onFocus:()=>t.setLastFocusedValue(i)}),n),R=(0,c.d)(f,P),I=(0,u.z)(e,{labelable:!0}),w=-1;null!=t.selectedValue?t.selectedValue===i&&(w=0):(t.lastFocusedValue===i||null==t.lastFocusedValue)&&(w=0),l&&(w=void 0);let{name:E,descriptionId:V,errorMessageId:x,validationBehavior:D}=s.get(t);return(0,m.y)(n,t.selectedValue,t.setSelectedValue),(0,y.Q)({validationBehavior:D},t,n),{labelProps:(0,c.d)(p,{onClick:e=>e.preventDefault()}),inputProps:(0,c.d)(I,{...R,type:"radio",name:E,tabIndex:w,disabled:l,required:t.isRequired&&"native"===D,checked:d,value:i,onChange:e=>{e.stopPropagation(),t.setSelectedValue(i)},"aria-describedby":[e["aria-describedby"],t.isInvalid?x:null,V].filter(Boolean).join(" ")||void 0}),isDisabled:l,isSelected:d,isPressed:v||h}}({...(0,i.vl)(e),children:"function"==typeof e.children||e.children},a,o),{isFocused:h,isFocusVisible:D,focusProps:C}=(0,P.F)(),O=v||a.isReadOnly,{hoverProps:S,isHovered:k}=(0,R.X)({...e,isDisabled:O}),M=(0,i.aX)({...e,defaultClassName:"react-aria-Radio",values:{isSelected:f,isPressed:p,isHovered:k,isFocused:h,isFocusVisible:D,isDisabled:v,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),N=(0,V.z)(e);return delete N.id,F.createElement("label",{...(0,x.d)(N,l,S,M),ref:t,"data-selected":f||void 0,"data-pressed":p||void 0,"data-hovered":k||void 0,"data-focused":h||void 0,"data-focus-visible":D||void 0,"data-disabled":v||void 0,"data-readonly":a.isReadOnly||void 0,"data-invalid":a.isInvalid||void 0,"data-required":a.isRequired||void 0},F.createElement(I.T,{elementType:"span"},F.createElement("input",{...(0,x.d)(d,C),ref:o})),M.children)})}},function(e){e.O(0,[9557,3073,1408,490,3849,4908,6521,322,6357,2487,5246,4958,9372,6630,1350,7542,6799,5818,398,3321,6715,2037,4092,7745,9425,5058,7168,199,1316,1188,526,4354,5,3835,5347,6818,6452,307,4089,1744],function(){return e(e.s=35692)}),_N_E=e.O()}]);
//# sourceMappingURL=page-c03bcde44910c6ab.js.map