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-9a9f29d"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];if(null!=i)for(var n in i)i.hasOwnProperty(n)&&(e[n]=i[n])}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]="8fb9fe3e-f26a-42f3-8e07-5b6e856019a3",e._sentryDebugIdIdentifier="sentry-dbid-8fb9fe3e-f26a-42f3-8e07-5b6e856019a3")}catch(e){}}();"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8357],{678190(e,t,i){var n=i(474848),a=i(247174);i.d(t,{},{A:function(e){return(0,n.jsx)(a.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",d:"M19.89 9.55A1.0001 1.0001 0 0 0 19 9h-5V3a1.0002 1.0002 0 0 0-.69-1 1.0002 1.0002 0 0 0-1.12.36l-8 11a1.0004 1.0004 0 0 0-.08 1A1 1 0 0 0 5 15h5v6a1.0003 1.0003 0 0 0 .69.95c.1005.0312.2048.048.31.05a.9995.9995 0 0 0 .81-.41l8-11a1 1 0 0 0 .08-1.04ZM12 17.92V14a1.0003 1.0003 0 0 0-1-1H7l5-6.92V10a.9997.9997 0 0 0 1 1h4l-5 6.92Z"})})}})},119097(e,t,i){var n=i(474848),a=i(247174);i.d(t,{},{A:function(e){return(0,n.jsx)(a.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",d:"m18.3 8.59.91-.9a1.0041 1.0041 0 1 0-1.42-1.42l-.9.91a7.9997 7.9997 0 0 0-9.79 0l-.91-.92a1.0077 1.0077 0 0 0-1.42 1.43l.92.91A7.9199 7.9199 0 0 0 4 13.5a8.0004 8.0004 0 0 0 3.3432 6.5254 8.0007 8.0007 0 0 0 10.4332-.9702 8.0008 8.0008 0 0 0 2.0826-7.0301A7.9996 7.9996 0 0 0 18.3 8.59ZM12 19.5a5.9998 5.9998 0 0 1-5.8847-7.1705 6.0002 6.0002 0 0 1 8.1808-4.3728A5.9998 5.9998 0 0 1 12 19.5Zm-2-15h4a1 1 0 1 0 0-2h-4a1 1 0 0 0 0 2Zm3 6a.9998.9998 0 0 0-1-1 1.0001 1.0001 0 0 0-1 1v1.89a1.5004 1.5004 0 0 0-.4012 1.6533A1.5 1.5 0 1 0 13 12.39V10.5Z"})})}})},758063(e,t,i){var n=i(474848),a=i(247174);i.d(t,{},{A:function(e){return(0,n.jsx)(a.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",d:"M22 7.82a1.2553 1.2553 0 0 0 0-.19l-2-5A1 1 0 0 0 19 2H5a1.0001 1.0001 0 0 0-.93.63l-2 5a1.25 1.25 0 0 0 0 .19A.58.58 0 0 0 2 8a4 4 0 0 0 2 3.4V21a1 1 0 0 0 1 1h14a.9997.9997 0 0 0 1-1v-9.56A4.0007 4.0007 0 0 0 22 8a.578.578 0 0 0 0-.18ZM13 20h-2v-4h2v4Zm5 0h-3v-5a1.0001 1.0001 0 0 0-1-1h-4a1.0002 1.0002 0 0 0-1 1v5H6v-8a3.9996 3.9996 0 0 0 3-1.38 4.0008 4.0008 0 0 0 3 1.3543 4.0003 4.0003 0 0 0 3-1.3543A3.9995 3.9995 0 0 0 18 12v8Zm0-10a2 2 0 0 1-2-2 1.0001 1.0001 0 0 0-1.7071-.707A1.0001 1.0001 0 0 0 14 8a2 2 0 1 1-4 0 1 1 0 0 0-2 0 2.0014 2.0014 0 1 1-4 .15L5.68 4h12.64L20 8.15A1.9997 1.9997 0 0 1 18 10Z"})})}})},683071(e,t,i){var n=i(474848),a=i(247174);i.d(t,{},{A:function(e){return(0,n.jsx)(a.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",d:"M20.6403 15.7717A3.4684 3.4684 0 0 0 21.5 13.5a3.5 3.5 0 1 0-7 0 3.4684 3.4684 0 0 0 .8597 2.2717A4.9891 4.9891 0 0 0 13 20a1.0003 1.0003 0 0 0 1 1 1.0001 1.0001 0 0 0 1-1 3.0001 3.0001 0 0 1 5.1213-2.1214A3.0001 3.0001 0 0 1 21 20a1.0003 1.0003 0 0 0 1 1 1.0001 1.0001 0 0 0 1-1 4.9888 4.9888 0 0 0-2.3597-4.2283ZM18 15a1.5003 1.5003 0 0 1-1.3858-.926 1.5002 1.5002 0 0 1 .3251-1.6347A1.5002 1.5002 0 0 1 19.5 13.5 1.5016 1.5016 0 0 1 18 15ZM6.7933 7.7073 8.793 9.707a.9999.9999 0 0 0 1.414-1.414L9.914 8h4.1719l-.293.293a.9993.9993 0 0 0-.2973.7083.9994.9994 0 0 0 .2929.7101.9995.9995 0 0 0 1.094.215.9993.9993 0 0 0 .3245-.2194l1.9997-1.9997a1.0036 1.0036 0 0 0 0-1.4147L15.207 4.293a.9999.9999 0 0 0-1.414 1.414l.293.293H9.914l.2931-.293a1.0003 1.0003 0 0 0 .2884-.7058A1 1 0 0 0 8.793 4.293L6.7933 6.2927a1.0036 1.0036 0 0 0 0 1.4147Zm1.847 8.0644A3.4681 3.4681 0 0 0 9.5 13.5a3.5 3.5 0 1 0-7 0 3.4682 3.4682 0 0 0 .8597 2.2717A4.9887 4.9887 0 0 0 1 20a1.0001 1.0001 0 0 0 1.7071.7071A1.0001 1.0001 0 0 0 3 20a3 3 0 1 1 6 0 1.0001 1.0001 0 0 0 1.7071.7071A1.0003 1.0003 0 0 0 11 20a4.9888 4.9888 0 0 0-2.3597-4.2283ZM6 15a1.5002 1.5002 0 0 1-1.0607-2.5607A1.5 1.5 0 0 1 7.5 13.5 1.5014 1.5014 0 0 1 6 15Z"})})}})},830785(e,t,i){var n=i(474848),a=i(247174);i.d(t,{},{A:function(e){return(0,n.jsx)(a.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",d:"M12 2a9.9999 9.9999 0 0 0-7.35 16.76A10.001 10.001 0 0 0 12 21.9793a9.9994 9.9994 0 0 0 7.35-3.2193 9.9993 9.9993 0 0 0-1.8912-15.1263A9.9998 9.9998 0 0 0 12 2Zm0 18a7.9996 7.9996 0 0 1-5.55-2.25A5.9997 5.9997 0 0 1 12 14.0298a6.0002 6.0002 0 0 1 5.55 3.7202A7.9995 7.9995 0 0 1 12 20Zm-2-10a1.9998 1.9998 0 0 1 1.2347-1.8478A1.9999 1.9999 0 1 1 10 10Zm8.91 6A7.9998 7.9998 0 0 0 15 12.62a3.9996 3.9996 0 0 0-.83-6.006 4.0003 4.0003 0 0 0-5.8157 1.7145A4 4 0 0 0 9 12.62 8 8 0 0 0 5.09 16 7.9
1199 7.9199 0 0 1 4 12a8 8 0 1 1 16 0 7.9193 7.9193 0 0 1-1.09 4Z"})})}})},214891(e,t,i){var n=i(474848),a=i(247174);i.d(t,{},{A:function(e){return(0,n.jsx)(a.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.382 9.5308a3.9351 3.9351 0 0 0 .9475 2.0178 7.0843 7.0843 0 0 0-3.3294 6.045.787.787 0 0 0 1.5742 0 5.5098 5.5098 0 0 1 3.1484-5.0217l.1023-.0551.307-.2047a.787.787 0 0 0 .3542-.6769.7871.7871 0 0 0-.3936-.6611A2.361 2.361 0 0 1 4.912 8.9355a2.3613 2.3613 0 0 1 2.3613-2.3613.787.787 0 1 0 0-1.5742A3.9355 3.9355 0 0 0 3.382 9.5308Zm12.2073 1.0143a3.8724 3.8724 0 0 1-.9877 1.3184 6.2969 6.2969 0 0 1 3.6994 5.7301.7871.7871 0 0 1-1.5742 0 4.7223 4.7223 0 0 0-4.7226-4.7226 4.7224 4.7224 0 0 0-4.7226 4.7226.787.787 0 0 1-1.5742 0 6.2966 6.2966 0 0 1 3.6994-5.7301 3.8723 3.8723 0 0 1-1.3381-2.928 3.9355 3.9355 0 1 1 7.871 0 3.8721 3.8721 0 0 1-.3504 1.6096Zm-4.897.3537a2.3612 2.3612 0 1 0 2.2155-4.1449 2.3613 2.3613 0 0 0-2.2155 4.1449Zm9.9257-1.368a3.9348 3.9348 0 0 1-.9475 2.0178 7.0839 7.0839 0 0 1 3.3294 6.045.787.787 0 1 1-1.5742 0 5.5096 5.5096 0 0 0-3.1484-5.0217l-.1023-.0551-.3069-.2047a.786.786 0 0 1 .0393-1.338 2.3613 2.3613 0 0 0 1.1807-2.0386 2.361 2.361 0 0 0-2.3613-2.3613.787.787 0 1 1 0-1.5742 3.9354 3.9354 0 0 1 3.8912 4.5308Z",clipRule:"evenodd"})})}})},280240(e,t,i){var n=i(474848),a=i(247174);i.d(t,{},{A:function(e){return(0,n.jsxs)(a.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:[(0,n.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M22.8 2.5c.5-.2.8-.8.6-1.3-.2-.5-.8-.8-1.3-.6 0 0-6.3 2-8.9 2.9-1.3.5-2.5.9-3.3 1.1-.3.1-.7.2-.9.3l-.3.1c-.6.2-.9.8-.7 1.3.2.6.8.9 1.3.7.3-.1.7-.2 1-.3v6.2H3.9c-.5 0-.9.4-.9.9V21H1.4c-.5 0-.9.4-.9.9s.4.9.9.9h21.2c.6 0 1-.5 1-1s-.5-1-1-1h-.5v-18c.2-.1.3-.1.5-.2l.2-.1ZM8.1 21v-3.1h1.5V21H8.1Zm12.1 0h-8.9v-4c0-.5-.4-.9-.9-.9H7.1c-.5 0-.9.4-.9.9v4H4.8v-6.3h15.4V21Zm0-8.2h-8.1V6.1c2.1-.7 4.2-1.4 6.1-2 .7-.2 1.4-.5 2-.7v9.4Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.2 6.2c-.2-.2-.5-.2-.8-.2l-3.3.4c-.4.1-.7.5-.7.9v3.8c0 .5.4.9.9.9h3.3c.5 0 .9-.4.9-.9V7c0-.3-.1-.6-.3-.8Zm-1.5 1.9v2.2h-1.5V8.1h1.5ZM13.2 17.1c0-.5.4-.9.9-.9s.9.4.9.9v1.1999c0 .5-.4.9001-.9.9001s-.9-.4001-.9-.9001V17.1ZM16.2 17.1c0-.5.4-.9.9-.9s.9.4.9.9v1.1999c0 .5-.4.9001-.9.9001s-.9-.4001-.9-.9001V17.1Z",clipRule:"evenodd"})]})}})},932671(e,t,i){var n=i(474848),a=i(439714),r=i(724633),o=i(800423),s=i(299759),l=i(296540),d=i(38267),c=i(413697),u=i(161648),h=i(792276),p=i(731357),g=i(295204),m=i(717904);let f=(0,d.Ay)(r.A).withConfig({componentId:"sc-631c0290-0"})(["transition:color 200ms;"]),v=(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,p.D0)(8),(0,p.D0)(16),(0,p.D0)(80),f,e=>e.theme.palette.neutral.surface.normalContrast,v,e=>e.theme.palette.neutral.surface.lightForegroundAlt,m.AM,f,v,f,f,e=>e.theme.font.primary.weight.bold,s.R,e=>e.theme.palette.neutral.surface.normalBackground,c.A);i.d(t,{},{A:function({ref:e,title:t,subtitle:i,icon:r,inputRef:s,name:d,...c}){let p=(0,l.useContext)(h.A),m=d??p.inputsName,x=(0,g.A)(e),A=(0,l.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),e.currentTarget.click())},[]);return(0,n.jsxs)(b,{ref:x,tabIndex:c.disabled?-1:0,onKeyDown:A,children:[(0,n.jsx)(f,{variant:"medium",startIcon:r,children:(0,n.jsx)(o.A,{Typography:u.Ay,variant:"medium",align:"center",wrap:"truncate",children:t})}),!!i&&(0,n.jsx)(v,{Typography:u.Ay,variant:"small",align:"center",wrap:"truncate",children:i}),(0,n.jsx)(a.A,{...c,name:m,ref:s,type:"radio"})]})}})},617527(e,t,i){var n=i(474848),a=i(230556),r=i(202889),o=i(908525),s=i(731357),l=i(296540),d=i(38267),c=i(792276),u=i(139148),h=i(634164),p=i(638772),g=i(717904);let m=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,g.AM,(0,s.D0)(64),(0,s.D0)(64)),f=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),v=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));i.d(t,{},{A:function({children:e,inputsName:t,onValueChange:i,distribution:s="hugged",className:d,...g}){let x=(0,l.useRef)(null),A=(0,l.useRef)(null),y=(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`}}},[]),w=(0,l.useCallback)(e=>{let t=I.current;if(t&&e){let i=(0,p.D)(t),n=(0,p.l0)(e,i),a=(0,p.l0)(t,i);(0,p.fE)(t,{left:n-a,behavior:"smooth"})}},[]),j=(0,l.useCallback)(e=>{(0,o.A)(e.target)&&(y(e.target),w(e.target.labels?.[0]),i?.(e.target.value))},[y,w,i]),k=(0,r.A)(),M=(0,l.useCallback)(()=>{let e=x.current?.querySelector('input[type="radio"]:checked');return e&&(0,o.A)(e)?e:void 0},[]),C=(0,l.useCallback)(()=>{if(x.current){let e=M();e&&y(e)}},[y,M]);(0,l.useEffect)(()=>{k&&C()}),(0,a.PU)(x,C);let I=(0,l.useRef)(null),{hasReachedHorizontalEnd:T,hasReachedHorizontalStart:S}=(0,u.A)(I,e,{initiallyHasReachedHorizontalEnd:!0,initiallyHasReachedHorizontalStart:!0}),D=(0,l.useMemo)(()=>({inputsName:t}),[t]);return(0,n.jsx)(c.A,{value:D,children:(0,n.jsxs)(m,{...g,className:(0,h.A)(d,`distribution-${s}`,{hasReachedHorizontalStart:S,hasReachedHorizontalEnd:T}),children:[(0,n.jsx)(f,{className:(0,h.A)({hasReachedHorizontalStart:S,hasReachedHorizontalEnd:T})}),(0,n.jsx)("fieldset",{ref:x,onChange:j,children:(0,n.jsxs)(b,{ref:I,className:(0,h.A)(`distribution-${s}`,{hasReachedHorizontalStart:S,hasReachedHorizontalEnd:T}),children:[(0,n.jsx)(v,{role:"none",className:"segmented-options-indicator",ref:A}),e]})})]})})}})}
1,792276(e,t,i){let n=(0,i(296540).createContext)({inputsName:""});i.d(t,{},{A:n})},910310(e,t,i){var n=i(871942);let a="loyalty_credit_card";function r(e){(0,n.trackClientEvent)({category:a,subject:e,action:"impression",type:"nonInteraction"})}function o(e){(0,n.trackClientEvent)({category:a,subject:e,action:"clicked",type:"interaction"})}function s(e){(0,n.trackClientEvent)({category:a,subject:e,action:"clicked",type:"interaction"})}i.d(t,{Rn:()=>s,W4:()=>r,fg:()=>o},{$_:{homepageBanner:"homepage_banner",societeLandingPageBanner:"societe_landing_page_banner",hamburgerMenuItem:"hamburger_menu_item",bookingDetailsModule:"booking_details_module"},fM:{nav:"apply_now_nav",hero:"apply_now_hero",earn:"apply_now_earn",highlights:"apply_now_highlights",travelBenefits:"apply_now_travel_benefits",maldives:"apply_now_maldives",howToApply:"apply_now_how_to_apply"}})},160438(e,t,i){var n=i(126698),a=i(842930),r=i(254879),o=i(795093),s=i.n(o);async function l(){try{return(await n.Ay.get("/api/zendesk/generate-call-token",{credentials:"include"})).result.callToken||null}catch(e){return console.warn(`Failed to generate Zendesk call token: ${e instanceof Error?e.message:"Unknown error"}`),null}}async function d({ticketId:e,quoteId:t,customerCallbackTime:i,isSpoofed:o,accessToken:l,customerTimezone:c}){try{let d,u=o?(0,n.Nh)(l):{},h=(0,r.l)(e);if(!h)throw Error("Invalid Zendesk ticket ID");if(i&&c){let e=s()(i,"YYYY-MM-DD HH:mm").toDate(),t=(0,a.Wf)(e,c),n=e.getTime()-t.getTime();d=s()(e).add(n,"milliseconds").toISOString()}await n.Ay.patch(`/api/zendesk/ticket/${h}/quote`,{quoteIdToAdd:t,agentTimezone:d?(0,a.MS)():void 0,customerTimezone:c||void 0,callbackDateTimeUTC:d},u)}catch(e){console.error("Error updating Zendesk ticket:",e)}}i.d(t,{S:()=>d,b:()=>l})},538652(e,t,i){var n=i(474848),a=i(634164),r=i(129161),o=i(731357);let s=i(38267).Ay.div.withConfig({componentId:"sc-ba602d49-0"})(["display:flex;align-items:end;justify-content:center;animation:"," 1s infinite reverse linear;transform-origin:center;width:var(--spinner-size);height:var(--spinner-size);border-radius:100%;mask:radial-gradient(transparent calc(var(--spinner-size) * 0.4),black 1px);background:conic-gradient(from 180deg at 50% 50%,"," 0deg,rgba(217,217,217,0) 360deg);&.inline{display:inline-flex;}&:before{content:'';height:calc(var(--spinner-size) * 0.1);width:calc(var(--spinner-size) * 0.1);background-color:",";border-radius:100%;}"],r.e$,e=>e.theme.palette.neutral.surface.lightForeground,e=>
1e.theme.palette.highlight.primary.lightBackground);i.d(t,{},{A:function(e){let{size:t=22,inline:i=!1}=e;return(0,n.jsx)(s,{className:(0,a.A)({inline:i}),style:{"--spinner-size":(0,o.D0)(t)}})}})},149091(e,t,i){var n=i(474848),a=i(296540),r=i(665673),o=i(38267),s=i(161648),l=i(153702),d=i(897729);let c=o.Ay.span.withConfig({componentId:"sc-f3df5bba-0"})(["display:inline-grid;justify-items:start;font-variant-numeric:tabular-nums;white-space:nowrap;> *{grid-area:1 / 1;}"]),u=o.Ay.span.withConfig({componentId:"sc-f3df5bba-1"})(["visibility:hidden;pointer-events:none;user-select:none;"]);i.d(t,{},{A:function(e){let{countDown:t,prompt:i,resendLabel:o,onResendSms:h,onRequestCall:p,disabled:g=!1}=e,m=(0,r.A)(),[f,v]=(0,a.useState)(!1),[b,x]=(0,a.useState)(!1);f&&t>0&&!b&&x(!0);let A=(0,a.useMemo)(()=>m.formatMessage({id:"q9EG-UUq3arq4BG0g-jg",defaultMessage:"Still not receiving?",description:"Prompt shown after the customer has already resent an SMS OTP and still has not received a code"}),[m]),y=(0,a.useMemo)(()=>m.formatMessage({id:"ivaxURGSSqmcDTB5IMoi",defaultMessage:"Click to receive via phone call",description:"Link shown after the customer has already resent an SMS OTP so they can request the same code by voice call"}),[m]),w=(0,a.useCallback)(()=>{v(!0),h()},[h]),j=t>0?o.replace(/\d+/g,"00"):void 0;return(0,n.jsxs)(d.A,{direction:"vertical",gap:8,horizontalAlign:"center",children:[(0,n.jsxs)(d.A,{direction:"horizontal",gap:8,children:[(0,n.jsx)(s.Ay,{variant:"medium",children:i}),(0,n.jsxs)(c,{children:[j&&(0,n.jsx)(u,{"aria-hidden":!0,children:(0,n.jsx)(l.A,{size:"medium",wrap:"no-wrap",children:j})}),(0,n.jsx)(l.A,{size:"medium",wrap:"no-wrap",onClick:w,disabled:g||t>0,children:o})]})]}),f&&b&&0===t&&!g&&(0,n.jsxs)(d.A,{direction:"vertical",gap:4,horizontalAlign:"center",children:[(0,n.jsx)(s.Ay,{variant:"medium",children:A}),(0,n.jsx)(l.A,{size:"medium",onClick:p,children:y})]})]})}})},560865(e,t,i){i.d(t,{A:()=>es});var n=i(474848),a=i(887290),r=i(802094),o=i(267662),s=i(720941),l=i(175160),d=i(825060),c=i(750142),u=i(970273),h=i(196168),p=i(967761),g=i(271384),m=i(296540),f=i(665673),v=i(213959),b=i(987967),x=i(769008),A=i(900312),y=i(876517),w=i(485537),j=i(614243);function k(e){try{let t=e.token??(0,j.qc)(document.cookie,"ssr_access_token");if(!t)return!1;let i=(0,w.s)(t);if(!i.otp_verified||!i.otp_verification)return!1;if(void 0!==e.expirationThreshold){let t=1e3*i.otp_verification;return Date.now()-t<e.expirationThreshold}return!0}catch{return!1}}var M=i(160438),C=i(897729),I=i(161648),T=i(671468),S=i(336753),D=i(107813),_=i(106669),E=i(744718),N=i(677127),z=i(314953),R=i(955293),L=i(426317),P=i(868441),Z=i(78272),B=i(269685),F=i(149091),H=i(172612),V=i(813328),O=i(153702),U=i(821532),q=i(617823),G=i(538652),Y=i(722834),W=i(871942);function X(e,t,i){switch(t){case 429:return e.formatMessage({id:"Q8BFh1qb6s4kGmYTKTUT",defaultMessage:"Youâre going too fast! Please try again in 30 seconds.",description:"Error notification displayed when OTP requests are rate limited"});case 422:return e.formatMessage({id:"baH0ILxZXBhaaiuDfMAn",defaultMessage:"The code you entered is incorrect or has expired.",description:"Error notification displayed when OTP code is invalid or expired"});default:return i??e.formatMessage({id:"iao0TxICbGXkByJhjgUd",defaultMessage:"Unknown Error",description:"Generic error message for OTP verification when an issue occurs"})}}let J=(0,T.Ng)(function(e){return{phonePrefix:e.auth.account?.phonePrefix,phone:e.auth.account?.phone??""}})(function(e){let{phone:t,phonePrefix:i}=e,a=(0,f.A)(),r=(0,c.jL)(),o=(0,D.A)(),[s,l]=(0,m.useState)("initial"),[d,u]=(0,m.useState)(30),[h,p]=(0,m.useState)(""),[g,v]=(0,m.useState)(!1);(0,U.A)(()=>{u(e=>Math.max(e-1,0))},1e3,{disabled:d<=0}),(0,m.useEffect)(()=>{(async()=>{await (0,B.fl)()})().catch(e=>{p(X(a,e.status,e.message))})},[a]);let b=(0,m.useCallback)(async e=>{e.preventDefault(),p(""),l("validating"),v(!0);let t=(0,R.Ry)(e.currentTarget);try{let e=await r((0,H._l)(t.otpCode));k({token:e.accessToken})?(await (0,W.trackClientEvent)({subject:"submit_otp_button_successful",action:"clicked",category:"device_verification_modal",type:"interaction"}),o.resolve("verified")):(await (0,W.trackClientEvent)({subject:"submit_otp_button_failed",action:"clicked",category:"device_verification_modal",type:"interaction"}),o.resolve("skipped"),console.warn("Call verification flow skipped or error out - allowing customer to proceed as a guest."))}catch(e){p(X(a,e.status,e.message)),l("error")}finally{v(!1)}},[r,o,a]),x=a.formatMessage({id:"-t6TwAnRaNOSOGmFESWP",defaultMessage:"Code has been sent to your phone number",description:"Success message when OTP code is resent during the verification or authentication process"}),A=a.formatMessage({id:"FZ15PBAHVEddj0IHE2xf",defaultMessage:"Weâre calling your phone number now",description:"Success message when OTP code is delivered by voice call during checkout verification"}),y=(0,m.useCallback)(async e=>{p(""),u(30),v(!0);try{await (0,B.fl)(e),(0,q.t)("call"===e?A:x,"success")}catch(e){p(X(a,e.status,e.message))}finally{v(!1)}},[A,x,a]),w=(0,m.useCallback)(()=>y(),[y]),j=(0,m.useCallback)(()=>y("call"),[y]),M=(0,m.useCallback)(()=>{o.resolve("closed")},[o]),T=(0,m.useCallback)(()=>{(0,W.trackClientEvent)({subject:"skip_and_call_link",action:"clicked",category:"device_verification_modal",type:"interaction"}).catch(e=>{console.error("Error tracking otp verification event at snowplow"+e.message)}),o.resolve("skipped")},[o]),J=(0,m.useCallback)(e=>{let{errorDisplay:r,showInstructions:o}=e,s=d>0||g,l=d>0?a.formatMessage({id:"gKn5lJqvmFobiTeQpy0T",defaultMessage:"Resend code in {seconds}s",description:"Descriptive text for resend code link with countdown"},{seconds:d}):a.formatMessage({id:"tp1yFkmOJybTRkT1wYEX",defaultMessage:"Resend code",description:"Link text to resend the verification code during the account access login process"});return(0,n.jsxs)(Z.A,{gap:24,as:"form",onSubmit:b,children:[h&&("banner"===r?(0,n.jsx)(V.A,{kind:"critical",children:h}):(0,n.jsx)(I.Ay,{variant:"medium",colour:"critical",children:h})),o&&(0,n.jsx)(I.Ay,{variant:"medium",children:(0,n.jsx)(Y.A,{id:"p-SZuOUVe8yK7hX8roNq",defaultMessage:"Please enter 6-digit code sent to your phone number <strong>{phoneNumber}</strong>. This code will expire in 5 minutes.",description:"Instructions for entering the
16-digit OTP verification code",values:{phoneNumber:(0,L.n4)(t,i),strong:e=>(0,n.jsx)("strong",{children:e})}})}),(0,n.jsx)(S.A,{name:"otpCode",inputMode:"numeric",label:a.formatMessage({id:"0ebjSsywxcxcKM58lQjk",defaultMessage:"Enter a 6-digit code",description:"Placeholder label for the OTP code input field in device verification"}),required:!0,minLength:6,maxLength:6,pattern:"\\d{6}",invalidErrorMessage:a.formatMessage({id:"mIWnd1nHiO4Zwk_6kF-X",defaultMessage:"Enter 6 digits only",description:"Error message shown when the OTP code format is invalid in device verification"})}),(0,n.jsxs)(C.A,{direction:"vertical",gap:16,horizontalAlign:"center",children:[(0,n.jsx)(z.A,{kind:"primary",size:"large",type:"submit",fit:"flex",disabled:g,children:a.formatMessage({id:"jgQ7juUEqXtUMMLF1e-U",defaultMessage:"Submit",description:"Submit button for the OTP code in the device verification modal"})}),(0,n.jsx)(F.A,{countDown:d,prompt:a.formatMessage({id:"Euq6r8_oKn6nE_gJgu3v",defaultMessage:"Didnât receive the code?",description:"Prompt text asking the user if they received the OTP verification code"}),resendLabel:l,onResendSms:w,onRequestCall:j,disabled:s}),(0,n.jsx)(O.A,{size:"medium",onClick:T,children:(0,n.jsx)(Y.A,{id:"8tHszniulK0O6RX7_v6Z",defaultMessage:"Skip and call us now.",description:"Link to skip OTP verification and call the contact centre instead"})})]})]})},[h,d,g,t,i,a,b,w,j,T]);return(0,n.jsxs)(_.A,{size:"S",children:[(0,n.jsx)(P.Ay,{title:a.formatMessage({id:"nNoA5M_mkFHH-JqQJtPQ",defaultMessage:"Fast track your call by verifying your phone",description:"Title for OTP verification modal to call customer support"}),onCloseButtonClick:M}),(0,n.jsx)(E.A,{children:(0,n.jsx)(N.A,{children:(()=>{switch(s){case"initial":return J({errorDisplay:"banner",showInstructions:!0});case"validating":return(0,n.jsx)(Z.A,{gap:24,children:(0,n.jsxs)(C.A,{direction:"vertical",gap:16,horizontalAlign:"center",children:[(0,n.jsx)(G.A,{size:40}),(0,n.jsx)(I.Ay,{variant:"medium",children:(0,n.jsx)(Y.A,{id:"ENC24GI1uYw4e0NXokLy",defaultMessage:"Won't be long, we are validating your request.",description:"Loading message while validating OTP code with the contact centre"})}),(0,n.jsx)(O.A,{size:"medium",onClick:T,children:(0,n.jsx)(Y.A,{id:"HfrO1pJKGmoFMpJIspBJ",defaultMessage:"Skip and call us now.",description:"Link to skip OTP validation and call the contact centre directly"})})]})});case"error":return J({errorDisplay:"inline",showInstructions:!1})}})()})})]})});var Q=i(803556),$=i(602713),K=i(758063),ee=i(38019),et=i(266066),ei=i(731357),en=i(38267),ea=i(269735),er=i(49864);let eo=(0,en.Ay)(b.A).withConfig({componentId:"sc-a733371b-0"})(["padding:",";"],(0,ei.D0)(8)),es=(0,m.memo)(function(e){let{onItemClick:t=h.A}=e,i=(0,f.A)(),b=(0,c.GV)(v.vb),{currentRegionCode:w,currentRegionName:j}=(0,m.useContext)(l.A),C=(0,m.useContext)(s.A),I=(0,m.useContext)(d.A),T=(0,c.GV)(Q.W0),S=(0,c.GV)(et.Jb),D=(0,c.GV)(e=>(0,er.A)(e)),_=(0,ea.A)(),E=C.local,N=C.international,z=(0,u.G)(w),R=void 0!==(0,c.GV)(e=>e.auth.account.phone),L="AU"===w,P=(0,m.useCallback)(e=>{e.preventDefault(),t(),window.open((0,g.PR)(),"popup","width=600,fullscreen=no,location=no,menubar=no,toolbar=no")},[t]),Z=(0,m.useCallback)((e,i=!1)=>a=>{a.preventDefault();let r=i||!S?.local.number?e:S.local.number,o=`tel:${r}`;(async()=>{if(i){window.location.href=o,t();return}if(T&&R&&L&&S?.local.number){if(k({})){let e=await (0,M.b)();window.location.href=e?`tel:${r},${e}`:o,t();return}if("verified"===await I((0,n.jsx)(J,{}))){let e=await (0,M.b)();window.location.href=e?`tel:${r},${e}`:o}else window.location.href=o}else window.location.href=o;t()})().catch(()=>{window.location.href=o,t()})},[S,L,T,t,I,R]),B=(0,c.GV)(A.A),F=(0,c.GV)(e=>e.geo.contacts.loyalty),[H,V]=(0,y.A)(),O=(0,m.useMemo)(()=>!D&&B&&E.number===F?.local.number?i.formatMessage({id:"gOfmr3S15Ppe9r5v7Gsg",defaultMessage:"{tierName} Tier Priority Support",description:"Loyalty tier priority support title in navigation bar"},{tierName:V}):i.formatMessage({id:"bDFjwMPE5j5nw3gXM9US",defaultMessage:"Local Sales & Support",description:"Local sales and support title in the navigation bar"}),[i,D,B,E.number,F?.local.number,V]),U=(0,m.useMemo)(()=>i.formatMessage({id:"qJbfdzOo_u7otZshv5Zp",defaultMessage:"Local Sales & Support contact - {regionName}",description:"Accessibility label for local sales and support contact in navigation bar"},{regionName:j}),[i,j]),q=(0,m.useMemo)(()=>i.formatMessage({id:"2aIn1Q8SZgUSYQagx-k8",defaultMessage:"Luxury Escapes Support Assistant - {regionName}",description:"Accessibility label for support assistant in navigation bar"},{regionName:j}),[i,j]),G=(0,m.useMemo)(()=>i.formatMessage({id:"euUi2f5XSdE6DfJoHSty",defaultMessage:"WhatsApp - {regionName}",description:"Accessibility label for WhatsApp contact in navigation bar"},{regionName:j}),[i,j]),Y=(0,m.useMemo)(()=>i.formatMessage({id:"kar8DxRKzi_wT799Qrla",defaultMessage:"Timely - {regionName}",description:"Accessibility label for Timely appointment booking in navigation bar"},{regionName:j}),[i,j]),W=i.formatMessage({id:"dq2gc7EzaugkLzA0sz1d",defaultMessage:"WhatsApp",description:"Alternative text for the WhatsApp logo image in the customer support contact area"}),X=(0,m.useMemo)(()=>Z(E.number),[Z,E.number]),ei=(0,m.useMemo)(()=>_?Z(_.phoneDialNumber,!0):void 0,[_,Z]),en=(0,m.useMemo)(()=>Z(N.number,!0),[Z,N.number]),es=!x.tg.includes(w);return(0,n.jsxs)(n.Fragment,{children:[D&&_&&(0,n.jsx)(eo,{size:"medium","aria-label":_.title,href:_.phoneHref,startIcon:(0,n.jsx)(r.A,{Icon:$.A}),title:_.title,onClick:ei,rel:"nofollow",subtitle:_.phoneNumber}),es&&(0,n.jsx)(eo,{size:"medium","aria-label":U,href:`tel:${E.number}`,startIcon:(0,n.jsx)(r.A,{Icon:$.A}),title:O,onClick:X,rel:"nofollow",subtitle:E.humanReadable}),b&&(0,n.jsx)(eo,{size:"medium","aria-label":q,to:"/support",startIcon:(0,n.jsx)(r.A,{Icon:a.A}),title:i.formatMessage({id:"nc0kwWUK-gfdWaa_sg3Q",defaultMessage:"Support assistant",description:"Support assistant button title in the navigation bar in the navigation bar"}),onClick:t,rel:"nofollow",subtitle:i.formatMessage({id:"8hQQDAvss-H0qgaHjGUG",defaultMessage:"Chat now",description:"Chat now subtitle in navigation bar in the support area"})}),z&&(0,n.jsx)(eo,{size:"medium",title:i.formatMessage({id:"8lpL-8gsl-GQsu8PGO5P",defaultMessage:"WhatsApp",description:"WhatsApp contact title in navigation bar in the support area"}),"aria-label":G,startIcon:(0,n.jsx)("img",{src:(0,p.RK)("whatsapp-logo"),width:"20",height:"20",alt:W}),onClick:t,href:`https://wa.me/${o.A.WHATS_APP_NUMBER}`,target:"_blank",rel:"noopener"}),(0,g.Ay)(w)&&(0,n.jsx)(eo,{size:"medium",title:i.formatMessage({id:"nn3NA
1y8eVZbMaLQD1yAO",defaultMessage:"Store appointment",description:"Store appointment title in navigation bar in the support area"}),subtitle:i.formatMessage({id:"PDtqWFYHZY5AUG5Z-KkA",defaultMessage:"Book now",description:"Book now subtitle in navigation bar in the support area"}),"aria-label":Y,startIcon:(0,n.jsx)(r.A,{Icon:K.A}),onClick:P,href:(0,g.PR)(),target:"popup",rel:"noopener"}),(0,n.jsx)(eo,{size:"medium",startIcon:(0,n.jsx)(r.A,{Icon:ee.A}),"aria-label":i.formatMessage({id:"IY1kWooYze5G7rm_-XlX",defaultMessage:"International Support contact",description:"Accessibility label for international support contact in navigation bar"}),href:`tel:${N.number}`,title:i.formatMessage({id:"S4ONBA74WkdP__ei74V_",defaultMessage:"International Support",description:"International support title in the navigation bar in the navigation bar"}),onClick:en,rel:"nofollow",subtitle:N.humanReadable})]})})},379343(e,t,i){i.d(t,{A:()=>tn});var n=i(474848),a=i(389002),r=i(296540),o=i(871942),s=i(853399),l=i(825060);i(971517),i(11379),i(693777),i(614190),i(512359),i(886097),i(627254),i(707036),i(17273),i(227415),i(819929),i(837583),i(455122),i(720230),i(357268),i(679733),i(218111),i(161701),i(944114),i(720116),i(22489);var d=i(841258),c=i(583190),u=i(93762),h=i(452643),p=i(846416),g=i(897729),m=i(267662),f=i(175160),v=i(107813),b=i(750142),x=i(67811),A=i(370641),y=i(314953),w=i(97745),j=i(247174);let k=function(e){return(0,n.jsx)(j.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",d:"m12.7996 15.5501 5.6-5.7c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0l-5 4.9-5-4.9c-.4-.4-1-.4-1.4 0-.2.2-.3.4-.3.7 0 .3.1.5.3.7l5.6 5.7c.5.4 1.1.4 1.6 0-.1 0-.1 0 0 0Z"})})};var M=i(80045);let C=function(e){return(0,n.jsx)(j.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",d:"M11.2001 8.4502 5.6001 14.1501c-.4.4-.4 1 0 1.4.4.4 1 .4
11.4 0l5-4.9 5 4.9c.4.4 1 .4 1.4 0 .2-.2.3-.4.3-.7 0-.3-.1-.5-.3-.7l-5.6-5.6999c-.5-.4-1.1-.4-1.6 0 .1 0 .1 0 0 0Z"})})};var I=i(830785),T=i(106669),S=i(744718),D=i(677127),_=i(227571),E=i(868441),N=i(302885),z=i(21665),R=i(329404),L=i(511686),P=i(482597),Z=i(731357),B=i(665673),F=i(803556),H=i(141485),V=i(38267),O=i(413915),U=i(949616),q=i(638025),G=i(382805),Y=i(987967),W=i(552819),X=i(560865),J=i(802094),Q=i(271384),$=i(137476);let K=(0,V.Ay)(Y.A).withConfig({componentId:"sc-46e7e053-0"})(["padding:",";"],(0,Z.D0)(8)),ee=function(e){let{onItemClick:t}=e,i=(0,B.A)(),[a,o]=(0,A.A)(),{currentRegionCode:s}=(0,r.useContext)(f.A),l=i.formatMessage({id:"b22MFRDZjlNBiR6HNsYh",defaultMessage:"Contact or visit us",description:"Summary row title for the expandable contact section in the navigation hamburger menu, shown before detailed support options."}),d=i.formatMessage({id:"40bVsRMvxubQsEdLc7Cw",defaultMessage:"Contact us",description:"Contact us button text for tablet and below in the support area"}),c=(0,Q.Ay)(s)?l:d,u=i.formatMessage({id:"VJsd-xJLC1JE0iwO2pfO",defaultMessage:"Luxury Escapes support",description:"Summary row subtitle under the contact heading in the navigation hamburger menu, indicating support is from Luxury Escapes."});return(0,n.jsxs)("div",{children:[(0,n.jsx)(K,{size:"medium",onClick:o,title:c,subtitle:u,startIcon:(0,n.jsx)(J.A,{Icon:$.A}),endIcon:a?(0,n.jsx)(C,{}):(0,n.jsx)(k,{})}),(0,n.jsx)(W.A,{expanded:a,children:(0,n.jsx)(X.A,{onItemClick:t})})]})};var et=i(983741),ei=i(12389),en=i(876517),ea=i(606705),er=i(153702),eo=i(161648),es=i(587887);let el=(0,V.Ay)(et.A).withConfig({componentId:"sc-7e5bef79-0"})(["position:sticky;bottom:0;z-index:1;padding:"," ",";"],(0,Z.D0)(12),(0,Z.D0)(20)),ed=V.Ay.span.withConfig({componentId:"sc-7e5bef79-1"})(["display:inline-flex;align-items:baseline;gap:",";white-space:nowrap;"],(0,Z.D0)(6)),ec=function(){let e=(0,B.A)(),[t,i]=(0,en.A)(),a=(0,b.GV)(e=>e.loyalty.account.data),o=a?.accountNumber,s=a?.region,l=(0,r.useMemo)(()=>m.A.regions.find(e=>e.code===s)?.currencyCode,[s]),d=(0,r.useCallback)(()=>{s&&(0,es.A)(s)},[s]),c=e.formatMessage({id:"4jlWOSaZtUKacHXvpmwF",defaultMessage:"· Member {accountNumber}",description:"Membership number display in hamburger menu loyalty footer"},{accountNumber:o}),u=e.formatMessage({id:"o4Z9rCaU_ZqiEHTtJ0pZ",defaultMessage:"You are currently a {tierName} member.",description:"Current loyalty tier status text in hamburger menu footer"},{tierName:i}),h=l?e.formatMessage({id:"PukTcJg7FepZB6pD_dSw",defaultMessage:"Switch to {loyaltyCurrency}",description:"Link text to switch region to loyalty account currency in hamburger menu"},{loyaltyCurrency:l}):"";return(0,n.jsx)(ei.h,{palette:`tier-${t}`,children:(0,n.jsx)(el,{background:`tier-${t}-primary`,children:(0,n.jsxs)(g.A,{direction:"vertical",horizontalAlign:"center",gap:8,children:[(0,n.jsxs)(g.A,{direction:"horizontal",gap:4,children:[(0,n.jsx)(eo.Ay,{variant:"medium",weight:"bold",children:i}),(0,n.jsx)(eo.Ay,{variant:"medium",children:c}),s&&(0,n.jsx)(w.A,{size:"S",countryCode:s})]}),(0,n.jsxs)(ed,{children:[(0,n.jsx)(eo.Ay,{as:"span",variant:"medium",children:u}),l&&(0,n.jsxs)(er.A,{onClick:d,children:[h," ",(0,n.jsx)(ea.A,{})]})]})]})})})};var eu=i(23307),eh=i(299759),ep=i(919206),eg=i(547159),em=i(581384),ef=i(702501),ev=i(473874),eb=i(784149),ex=i(73659);let eA=(0,V.Ay)(Y.A).withConfig({componentId:"sc-8807fc85-0"})(["padding:",";min-height:",";background-color:",";color:",";border-radius:",";&:not(:disabled){","{&:hover{background-color:",";}}}"],(0,Z.D0)(8),(0,Z.D0)(50),e=>e.theme.palette.product.luxPlus.background,e=>e.theme.palette.product.luxPlus.contrast,e=>e.theme.borderRadius.L,eh.R,e=>e.theme.palette.product.luxPlus.background),ey=(0,V.Ay)(Y.A).withConfig({componentId:"sc-8807fc85-1"})(["padding:",";min-height:",";border-radius:",";"," "," &:not(:disabled){","{&:hover{","}}}"],(0,Z.D0)(8),(0,Z.D0)(50),e=>e.theme.borderRadius.L,ep.QI,ep.wT,eh.R,ep.QI),ew=V.Ay.div.withConfig({componentId:"sc-8807fc85-2"})(["width:",";height:",";border-radius:",";overflow:hidden;"],(0,Z.D0)(48),(0,Z.D0)(48),e=>e.theme.borderRadius.M),ej=V.Ay.div.withConfig({componentId:"sc-8807fc85-3"})(["display:flex;flex-direction:column;align-items:flex-start;gap:",";"],(0,Z.D0)(4)),ek=(0,V.Ay)(ef.A).withConfig({componentId:"sc-8807fc85-4"})(["display:block;height:",";width:auto;"],(0,Z.D0)(14)),eM=(0,V.Ay)(em.A).withConfig({componentId:"sc-8807fc85-5"})(["display:block;height:",";width:auto;"],(0,Z.D0)(12)),eC=function(e){let{variant:t,onClick:i}=e,a=(0,B.A)(),r=(0,b.GV)(e=>(0,P.kX)(e)),o=(0,b.GV)(eb.A),s="infinite"===o,l=a.formatMessage({id:"riiInfd4OuMemvufgOfd",defaultMessage:"Join our VIP Travel Club",description:"Text shown for non-members to join Lux Plus for the membership"}),d=a.formatMessage({id:"fasgrSyV_71UXvEDjPuU",defaultMessage:"VIP Travel Club",description:"Text shown for Lux Plus members in the navigation bar"}),c=a.formatMessage({id:"H0WRhiklV-1In9MhIkvu",defaultMessage:"Earn points and status",description:"Subtitle for the general Société loyalty program row in the hamburger navigation menu"}),u=a.formatMessage({id:"bF6hESHaZ-rE8HYHXt7j",defaultMessage:"Invite-only membership",description:"Subtitle for the Infinite invitation-only membership row in the hamburger navigation menu"}),h=(0,n.jsx)(ew,{children:(0,n.jsx)(eu.A,{id:s?"infinite-welcome-step-1-5b3127df4dbe":"hamburguer-menu-societe",dpr:2,fit:"
1center",objectFit:"cover"})});return"luxPlus"===t?(0,n.jsx)(eA,{size:"medium",startIcon:(0,n.jsx)(ew,{children:(0,n.jsx)(eu.A,{id:"hamburguer-menu-luxplus",dpr:2,fit:"center",objectFit:"cover"})}),onClick:i,to:"/lux-plus",titleLineClamp:0,endIcon:(0,n.jsx)(M.A,{}),title:(0,n.jsxs)("div",{children:[(0,n.jsx)(eg.A,{colour:"inherit",height:12}),(0,n.jsx)(ex.Ay,{variant:"medium",children:r?d:l})]})}):(0,n.jsx)(ei.h,{palette:`tier-${o}`,children:(0,n.jsx)(ey,{className:`tier-${o}`,size:"medium",startIcon:h,onClick:i,to:`/${ev.bT}`,titleLineClamp:0,endIcon:(0,n.jsx)(M.A,{}),title:(0,n.jsxs)(ej,{children:[!s&&(0,n.jsx)(ek,{}),s&&(0,n.jsx)(eM,{variant:"gradient"}),(0,n.jsx)(ex.Ay,{variant:"medium",children:s?u:c})]})})})},eI=(0,V.Ay)(Y.A).withConfig({componentId:"sc-efb2a03e-0"})(["padding:",";min-height:",";background-color:",";border-radius:",";&:not(:disabled){","{&:hover{background-color:",";}}}"],(0,Z.D0)(8),(0,Z.D0)(50),e=>e.theme.palette.highlight.primary.lightBackground,e=>e.theme.borderRadius.L,eh.R,e=>e.theme.palette.highlight.primary.lightBackgroun
1d),eT=V.Ay.div.withConfig({componentId:"sc-efb2a03e-1"})(["width:",";height:",";border-radius:",";overflow:hidden;"],(0,Z.D0)(48),(0,Z.D0)(48),e=>e.theme.borderRadius.M),eS=function(e){let{navItem:t,onNavigate:i}=e,a=(0,B.A)().formatMessage({id:"UJeO-rdvZOfzyeTCI0uv",defaultMessage:"New",description:"New badge label for the navigation list items in the navigation bar"});return(0,n.jsx)(eI,{size:"medium",startIcon:(0,n.jsx)(eT,{children:(0,n.jsx)(eu.A,{id:"hamburguer-menu-maldives",dpr:2,fit:"center",objectFit:"cover"})}),overline:t.newLabel?a:void 0,overlineFormat:"uppercase",title:t.text,titleColour:"normal-contrast",href:t.href,to:t.to,onClick:i,rel:"_blank"===t.target?"noopener noreferrer":void 0,target:t.target,endIcon:(0,n.jsx)(M.A,{})})};var eD=i(910310),e_=i(863471);let eE=function(){var e;let t=(0,e_.z)("loyalty:societeCreditCardConfig");return"object"==typeof(e=t?.value)&&null!==e&&"boolean"==typeof e.showNewBadge&&t.value.showNewBadge};var eN=i(217857);let ez=V.Ay.div.withConfig({componentId:"sc-b598b00f-0"})(["display:block;"]),eR=(0,V.Ay)(Y.A).withConfig({componentId:"sc-b598b00f-1"})(["padding:",";min-height:",";border-radius:",";border:1px solid ",";"],(0,Z.D0)(8),(0,Z.D0)(64),e=>e.theme.borderRadius.L,e=>e.theme.palette.neutral.surface.lightForeground),eL=V.Ay.div.withConfig({componentId:"sc-b598b00f-2"})(["width:",";height:",";border-radius:",";overflow:hidden;"],(0,Z.D0)(48),(0,Z.D0)(32.5),e=>e.theme.borderRadius.S),eP=V.Ay.div.withConfig({componentId:"sc-b598b00f-3"})(["display:flex;flex-direction:column;align-items:flex-start;"]),eZ=V.Ay.div.withConfig({componentId:"sc-b598b00f-4"})(["background-color:",";color:",";padding:0 ",";border-radius:",";"],e=>e.theme.palette.messaging.critical.normalBackground,e=>e.theme.palette.neutral.surface.darkContrast,(0,Z.D0)(4),e=>e.theme.borderRadius.round),eB=function(e){let{navItem:t,onNavigate:i}=e,a=(0,B.A)(),{impressionRef:o,onPlacementClick:s}=(0,eN.A)(eD.$_.hamburgerMenuItem),l=eE(),d=(0,r.useCallback)(()=>{s(),i()},[s,i]),c=a.formatMessage({id:"_2jYquwp3ORw1vKDAJ9x",defaultMessage:"NEW",description:"New badge label for navigation items in the navigation bar"});return(0,n.jsx)(ez,{ref:o,children:(0,n.jsx)(eR,{size:"medium",startIcon:(0,n.jsx)(eL,{children:(0,n.jsx)(eu.A,{id:"societe-credit-card-nav-thumbnail",dpr:2,fit:"center",objectFit:"cover"})}),title:(0,n.jsxs)(eP,{children:[l&&(0,n.jsx)(eZ,{children:(0,n.jsx)(ex.Ay,{variant:"medium",weight:"bold",children:c})}),(0,n.jsx)("span",{children:t.text})]}),titleColour:"normal-contrast",titleLineClamp:0,href:t.href,to:t.to,onClick:d,rel:"_blank"===t.target?"noopener noreferrer":void 0,target:t.target,endIcon:(0,n.jsx)(M.A,{})})})};var eF=i(722834),eH=i(185142);let eV=(0,V.Ay)(Y.A).withConfig({componentId:"sc-7ed285da-0"})(["padding:",";min-height:",";background-color:",";border-radius:",";&:not(:disabled){","{&:hover{background-color:",";}}}"],(0,Z.D0)(8),(0,Z.D0)(50),e=>e.theme.palette.product.luxPlus.background,e=>e.theme.borderRadius.L,eh.R,e=>e.theme.palette.product.luxPlus.background),eO=V.Ay.div.withConfig({componentId:"sc-7ed285da-1"})(["width:",";height:",";border-radius:",";overflow:hidden;"],(0,Z.D0)(48),(0,Z.D0)(48),e=>e.theme.borderRadius.M),eU=(0,V.Ay)(eu.A).withConfig({componentId:"sc-7ed285da-2"})(["width:100%;height:100%;"]),eq=function(e){let{navItem:t,onNavigate:i}=e,a=(0,B.A)().formatMessage({id:"UJeO-rdvZOfzyeTCI0uv",defaultMessage:"New",description:"New badge label for the navigation list items in the navigation bar"});return(0,n.jsx)(eV,{size:"medium",startIcon:(0,n.jsx)(eO,{children:(0,n.jsx)(eU,{image:{url:eH.Wc},alt:"",objectFit:"cover"})}),title:(0,n.jsxs)(g.A,{direction:"vertical",gap:2,horizontalAlign:"start",children:[t.newLabel&&(0,n.jsx)(ex.Ay,{variant:"small",weight:"bold",format:"uppercase",colour:"lux-plus-contrast",children:a}),(0,n.jsx)(eo.Ay,{variant:"medium",colour:"lux-plus-contrast",children:(0,n.jsx)(eF.A,{id:"zOYkSiqYILW2VMPltCiR",defaultMessage:"{luxPlusLogo} Member Event",description:"Nav item label combining the LuxPlus+ logo with 'Member Event' for the campaign navigation entry",values:{luxPlusLogo:(0,n.jsx)(eg.A,{colour:"inherit",height:12,inline:!0})}})})]}),href:t.href,to:t.to,onClick:i,rel:"_blank"===t.target?"noopener noreferrer":void 0,target:t.target,endIcon:(0,n.jsx)(M.A,{colour:"lux-
1plus-contrast"})})};var eG=i(393291),eY=i(940552);let eW="hamburger-ai-sparkles-gradient",eX=(0,V.i7)(["0%,100%{transform:scale(0.65);}25%,75%{transform:scale(1.25);}50%{transform:scale(0.65);}"]),eJ=V.Ay.path.withConfig({componentId:"sc-988d6a7d-0"})(["transform-box:fill-box;transform-origin:center;animation:"," "," ease-in-out infinite;animation-delay:",";@media (prefers-reduced-motion:reduce){animation:none;transform:scale(1);}"],eX,"4s",e=>e.$delay),eQ=function(e){return(0,n.jsxs)(j.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:[(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:eW,x1:"0",y1:"0",x2:"0",y2:"24",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#7EFFD4"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#018063"})]})}),(0,n.jsx)(eJ,{$delay:"-1s",fill:`url(#${eW})`,fillRule:"evenodd",clipRule:"evenodd",d:"M19.3418 2.40761C19.21 1.86413 18.437 1.86413 18.3053 2.40761L17.9426 3.90301C17.8956 4.09705 17.7441 4.24855 17.5501 4.2956L16.0547 4.65821C15.5112 4.79 15.5112 5.56294 16.0547 5.69473L17.5501 6.05734C17.7441 6.10439 17.8956 6.25589 17.9426 6.44993L18.3053 7.94534C18.437 8.48881 19.21 8.48881 19.3418 7.94534L19.7044 6.44993C19.7514 6.25589 19.9029 6.10439 20.097 6.05734L21.5924 5.69473C22.1359 5.56294 22.1359 4.79 21.5924 4.65821L20.097 4.2956C19.9029 4.24855 19.7514 4.09705 19.7044 3.90301L19.3418 2.40761Z"}),(0,n.jsx)(eJ,{$delay:"0s",fill:`url(#${eW})`,fillRule:"evenodd",clipRule:"evenodd",d:"M7.75946 5.98315C8.045 4.80562 9.71971 4.80562 10.0052 5.98315L10.7909 9.2232C10.8929 9.64361 11.2211 9.97186 11.6415 10.0738L14.8816 10.8595C16.0591 11.145 16.0591 12.8197 14.8816 13.1052L11.6415 13.8909C11.2211 13.9929 10.8929 14.3211 10.7909 14.7415L10.0052 17.9816C9.71971 19.1591 8.045 19.1591 7.75946 17.9816L6.9738 14.7415C6.87186 14.3211 6.54361 13.9929 6.1232 13.8909L2.88315 13.1052C1.70562 12.8197 1.70562 11.145 2.88315 10.8595L6.1232 10.0738C6.54361 9.97186 6.87186 9.64361 6.9738 9.2232L7.75946 5.98315Z"}),(0,n.jsx)(eJ,{$delay:"-2s",fill:`url(#${eW})`,fillRule:"evenodd",clipRule:"evenodd",d:"M18.3053 15.9076C18.437 15.3641 19.21 15.3641 19.3418 15.9076L19.7044 17.403C19.7514 17.597 19.9029 17.7485 20.097 17.7956L21.5924 18.1582C22.1359 18.29 22.1359 19.0629 21.5924 19.1947L20.097 19.5573C19.9029 19.6044 19.7514 19.7559 19.7044 19.9499L19.3418 21.4453C19.21 21.9888 18.437 21.9888 18.3053 21.4453L17.9426 19.9499C17.8956 19.7559 17.7441 19.6044 17.5501 19.5573L16.0547 19.1947C15.5112 19.0629 15.5112 18.29 16.0547 18.1582L17.5501 17.7956C17.7441 17.7485 17.8956 17.597 17.9426 17.403L18.3053 15.9076Z"})]})},e$="ai-trip-planner-nav-link",eK=(0,V.Ay)(eG.A).withConfig({componentId:"sc-f2475e1f-0"})(["width:100%;min-width:0;&&.kind-primary{border-color:",";}"],e=>e.theme.palette.neutral.surface.lightForeground),e0=V.Ay.span.withConfig({componentId:"sc-f2475e1f-1"})(["white-space:normal;"]),e1=function(e){let{navItem:t,onClick:i}=e,a=t.sideNavIconName||t.iconName,r=a?(0,eY.B)(a):void 0,o=r?(0,n.jsx)(r,{}):void 0;return t.id===e$&&(o=(0,n.jsx)(eQ,{})),(0,n.jsx)(eK,{kind:"primary",orientation:"vertical",title:(0,n.jsx)(e0,{children:t.text}),startIcon:o,to:t.to,href:t.href,onClick:i})},e9=(0,V.Ay)(Y.A).withConfig({componentId:"sc-d0497032-0"})(["padding:",";min-height:",";border-radius:",";border:1px solid ",";"],(0,Z.D0)(8),(0,Z.D0)(50),e=>e.theme.borderRadius.L,e=>e.theme.palette.neutral.surface.lightForeground),e2=V.Ay.div.withConfig({componentId:"sc-d0497032-1"})(["width:",";height:",";border-radius:",";overflow:hidden;"],(0,Z.D0)(48),(0,Z.D0)(48),e=>e.theme.borderRadius.M),e4=function(e){let{navItem:t,onNavigate:i}=e,a=(0,B.A)(),r=a.formatMessage({id:"ZPfWuAkLUz8xm49E-y4L",defaultMessage:"Visit us in store",description:"Title for the retail store navigation banner in the hamburger menu"}),o=a.formatMessage({id:"GscWjgDkQZlSHkS8ENrd",defaultMessage:"Westfield Bondi",description:"Subtitle showing the retail store location in the hamburger menu banner"});return(0,n.jsx)(e9,{size:"medium",startIcon:(0,n.jsx)(e2,{children:(0,n.jsx)(eu.A,{id:"hamburguer-menu-bondi",dpr:2,fit:"center",objectFit:"cover"})}
1),title:r,titleColour:"normal-contrast",subtitle:o,href:t.href,to:t.to,onClick:i,rel:"_blank"===t.target?"noopener noreferrer":void 0,target:t.target,endIcon:(0,n.jsx)(M.A,{})})},e7=V.Ay.div.withConfig({componentId:"sc-69ccc294-0"})(["display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:",";"],(0,Z.D0)(8)),e5=(0,V.Ay)(h.A).withConfig({componentId:"sc-69ccc294-1"})(["width:100%;padding:"," ",";border:1px solid ",";text-align:center;border-radius:",";transition:200ms background-color,200ms border-color;outline:2px solid transparent;outline-offset:2px;","{&:hover{background-color:",";}}&:focus-visible{outline-color:",";}"],(0,Z.D0)(8),(0,Z.D0)(20),e=>e.theme.palette.neutral.surface.lightForeground,e=>e.theme.borderRadius.M,eh.R,e=>e.theme.palette.neutral.surface.lightBackground,e=>e.theme.palette.neutral.surface.lightForeground),e3=(0,V.Ay)(Y.A).withConfig({componentId:"sc-69ccc294-2"})(["padding:",";"],(0,Z.D0)(8)),e8="nav-link-store",e6="nav-link-luxplus-month-event",te=new Map(["nav-link-hotels","nav-link-homes-and-villas","nav-link-flights","nav-link-tours","nav-link-cruises","nav-link-experiences","nav-link-car-hire","nav-link-marketplace",e$,"nav-link-ultralux","nav-link-dream-magazine","nav-link-support","nav-link-le-live","nav-link-gift-cards","nav-link-insurance","nav-link-golf","nav-link-refer","nav-link-groups","nav-link-weddings","nav-link-le4b"].map((e,t)=>[e,t])),tt=function(){let e=(0,B.A)(),[t,i]=(0,A.A)(),{currentRegionCode:a,currentCurrency:o}=(0,r.useContext)(f.A),s=(0,b.GV)(e=>e.geo.currentRegionCode),{resolve:j}=(0,v.A)(),Z=(0,r.useContext)(l.A),V=(0,b.GV)(F.W0),Y=(0,O.Ay)(),W=(0,b.GV)(e=>(0,H.RZ)(e)),X=(0,x.A)(W),J=(0,b.GV)(P.Ze),Q=(0,b.GV)(L.A)&&!c._,$=(0,b.GV)(R.A)&&!c._,K=(0,b.GV)(z.A),{showLanguageSelector:et}=(0,G.M)(),ei=(0,r.useCallback)(e=>{i(),t||e.currentTarget.scrollIntoView({block:"start",behavior:"smooth"})},[t,i]),en=(0,r.useCallback)(()=>{Z((0,n.jsx)(q.A,{showLanguageTab:et,tabletHeight:"max"}))},[Z,et]),ea=(0,r.useCallback)(()=>Z((0,n.jsx)(d.A,{})),[Z]),er=(0,r.useCallback)(()=>j(),[j]),es=(0,r.useCallback)(e=>{er()},[er]),el=(0,r.useMemo)(()=>X.find(e=>e.id===H.Uf),[X]),ed=(0,r.useMemo)(()=>X.find(e=>e.id===H.AR),[X]),eu=(0,r.useMemo)(()=>X.find(e=>e.id===e8),[X]),eh=(0,r.useMemo)(()=>X.find(e=>e.id===e6),[X]),ep=e.formatMessage({id:"pM0wTQYqeOugBRwAVxVI",defaultMessage:"AI TripPlanner",description:"AI TripPlanner navigation button text in the hamburger menu"}),eg=(0,r.useMemo)(()=>X.filter(e=>e.id!==H.Uf&&e.id!==H.AR&&e.id!==e8&&e.id!==e6),[X]),em=(0,r.useMemo)(()=>(function({aiTripPlannerText:e,shouldShowTripPlanner:t,tripPlannerEnabled:i}){let n=[];return i&&t&&n.push({id:e$,text:e,to:U.Y,sideNavIconName:"sparkles",category:"tertiary"}),n.length?n:N.N9})({aiTripPlannerText:ep,shouldShowTripPlanner:Y,tripPlannerEnabled:m.A.ENABLE_TRIP_PLANNER}),[ep,Y]),[ef,ev]=(0,r.useMemo)(()=>{let e=[...eg,...em].map((e,t)=>({navItem:e,index:t})).sort((e,t)=>{let i=te.get(e.navItem.id??"")??Number.MAX_SAFE_INTEGER,n=te.get(t.navItem.id??"")??Number.MAX_SAFE_INTEGER;return i!==n?i-n:e.index-t.index}).map(({navItem:e})=>e),t=Math.min(12,e.length),i=t-t%2;return[e.slice(0,i),e.slice(i)]},[em,eg,s]),eb=t?[...ef,...ev]:ef,ex=e.formatMessage({id:"ljFG-cTrLfYbBIgYMpaN",defaultMessage:"Less",description:"Label on the expandable control in the hamburger menu that hides additional navigation destinations."}
1),eA=e.formatMessage({id:"gkS-ZiqSxK8HaWzfalf0",defaultMessage:"More",description:"Label on the expandable control in the hamburger menu that reveals additional navigation destinations."}),ey=t?ex:eA;return(0,n.jsxs)(T.A,{mode:"menu",children:[(0,n.jsx)(E.Ay,{title:(0,n.jsx)(h.A,{onClick:er,to:`/${m.A.defaultHomePage}`,children:(0,n.jsx)(u.A,{height:"1em",width:null})})}),(0,n.jsx)(S.A,{children:(0,n.jsx)(D.A,{children:(0,n.jsxs)(g.A,{direction:"vertical",gap:20,children:[(0,n.jsx)(g.A,{direction:"vertical",gap:8,noDisplayWhenEmpty:!0,children:ed&&(0,n.jsx)(eB,{navItem:ed,onNavigate:()=>es(ed)})}),(0,n.jsxs)(g.A,{direction:"vertical",gap:8,children:[!!eb.length&&(0,n.jsx)(e7,{children:eb.map(e=>(0,n.jsx)(e1,{navItem:e,onClick:()=>es(e)},e.id??e.text))}),!!ev.length&&(0,n.jsx)(e5,{onClick:ei,"aria-expanded":t,children:(0,n.jsxs)(eo.Ay,{variant:"medium",children:[ey,t&&(0,n.jsx)(C,{}),!t&&(0,n.jsx)(k,{})]})})]}),(0,n.jsxs)(g.A,{direction:"vertical",gap:8,noDisplayWhenEmpty:!0,children:[eh?(0,n.jsx)(eq,{navItem:eh,onNavigate:er}):J&&(0,n.jsx)(eC,{variant:"luxPlus",onClick:er}),Q&&(0,n.jsx)(eC,{variant:"loyalty",onClick:er,isNew:!0}),el&&(0,n.jsx)(eS,{navItem:el,onNavigate:er}),eu&&(0,n.jsx)(e4,{navItem:eu,onNavigate:()=>es(eu)})]}),(0,n.jsx)(ee,{onItemClick:er}),(0,n.jsx)(e3,{size:"medium",title:o,onClick:en,startIcon:(0,n.jsx)(w.A,{countryCode:a,size:"S"}),endIcon:(0,n.jsx)(p.A,{max:"mobile",as:M.A})})]})})}),!K&&$&&(0,n.jsx)(ec,{}),!V&&(0,n.jsx)(_.A,{children:(0,n.jsx)(y.A,{kind:"secondary",onClick:ea,size:"large",fit:"full-width",startIcon:(0,n.jsx)(I.A,{}),children:e.formatMessage({id:"DVut0himStXU8yyJTSJu",defaultMessage:"Sign up or Login",description:"Action button label for sign up or login action in the navigation bar"})})})]})};var ti=i(201288);let tn=(0,r.memo)(function(e){let t=(0,r.useContext)(l.A),i=(0,r.useCallback)(()=>{(0,ti.Iw)(),(0,o.trackClientEvent)({subject:"hamburger_menu",action:"open",category:"navigation",type:"interaction"}),t((0,n.jsx)(tt,{}))},[t]);return(0,n.jsx)(s.A,{...e,icon:(0,n.jsx)(a.A,{}),onClick:i})})},295204(e,t,i){var n=i(296540);i.d(t,{},{A:function(e){let t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t}})},67811(e,t,i){i(944114),i(218111),i(161701);var n=i(296540),a=i(665673),r=i(813394),o=i(90449);i.d(t,{},{A:function(e){let t=(0,a.A)(),i=(0,n.useMemo)(()=>{let t,i;return t=[],(i=e=>{for(let n of e)t.push(n.text),n.items&&i(n.items)})(e),t},[e]),s=(0,o.W)(i);return(0,n.useMemo)(()=>{let i={"nav-link-hotels":t.formatMessage(r.A.hotels),hotelsandresorts:t.formatMessage(r.A.hotelsAndResorts),"nav-link-homes-and-villas":t.formatMessage({id:"8LeYyKFJg8MybzX0_uru",defaultMessage:"Homes & Villas",description:"Navigation link label for homes and villas on the rental page"}),"nav-link-tours":t.formatMessage(r.A.tours),"nav-link-tours-cruises":t.formatMessage({id:"xQps7CG9POHZCcMywF0T",defaultMessage:"Tours & Cruises",description:"Navigation link label for tours and cruises in the cruise section"}),"nav-link-cruises":t.formatMessage({id:"zZtVcxihXkAuNc6yzggI",defaultMessage:"Cruises",description:"Navigation link label for cruises in the cruise offer or booking section"}),"nav-link-flights":t.formatMessage({id:"krMvDAr0uYbCeGc7wim-",defaultMessage:"Flights",description:"Navigation link label for flights in the flight search or booking flow"}),"nav-link-car-hire":t.formatMessage({id:"eN5d8Ihn9EN5S1i1T5P0",defaultMessage:"Car Hire",description:"Navigation link label for car hire in the car hire booking section"}),"nav-link-ultralux":t.formatMessage(r.A.ultraLux),"nav-link-experiences":t.formatMessage({id:"xniFVpzkLvn62hnz91eg",defaultMessage:"Experiences",description:"Navigation link label for experiences on the experience offer or booking page"}),"nav-link-transfers":t.formatMessage({id:"34uga_XeOEQ_Ma3CxPbp",defaultMessage:"Transfers",description:"Navigation link label for the standalone transfers search vertical in Agent Hub"}),"nav-link-maldives-packages":t.formatMessage({id:"TVTE2GfMvVGYatqsxsQV",defaultMessage:"Maldives Bundles",description:"Navigation link label for Maldives bundles for computed display labels"}),"nav-link-luxplus-month-event":t.formatMessage({id:"lbO6a51EMnhrXiJiQa7f",defaultMessage:"LuxPlus+ Member Event",description:"Filter option label for LuxPlus+ Month campaign offers in search result filter panels"}),"nav-link-friends-and-family":t.formatMessage({defaultMessage:"Friends & Family Discount",id:"THwlmy6qdU3W1PmWG123",description:"Navigation link label for the friends and family discount invite page"}),"nav-link-dream-magazine":t.formatMessage({id:"GFg4s_vPIAMP3DmqMHs4",defaultMessage:"Inspiration",description:"Navigation link label for inspiration content shown in computed navigation labels"}),"nav-link-support":t.formatMessage({id:"B-qwt8A--qbvDgXthp5w",defaultMessage:"Support",description:"Navigation link label for support in the customer support section"}),"nav-link-store":t.formatMessage({id:"FBFpURkKBNJZYymS62H3",defaultMessage:"Visit Us In Store",description:"Navigation link label for store visit for computed display labels"}),"nav-link-gift-cards":t.formatMessage({id:"dn4C1HGznaDx69RdhcpC",defaultMessage:"Gift Cards",de
1scription:"Navigation link label for gift cards on the gift card purchase or redemption page"}),"nav-link-societe-credit-card":t.formatMessage({id:"k_UzUvx03TD0omRuqEQ6",defaultMessage:"Société Credit Card",description:"Navigation link label for the Société credit card landing page, shown in the header More dropdown and the mobile hamburger menu"}),"nav-link-insurance":t.formatMessage({id:"0uCIrvaDC7GuNC20l_2x",defaultMessage:"Travel Protection",description:"Navigation link label for travel protection in the insurance flow"}),"nav-link-marketplace":t.formatMessage({id:"yj4Tt2PRMLWLQbrIsa-t",defaultMessage:"Shop",description:"Navigation link label for shop/marketplace for computed display labels"}),"nav-link-refer":t.formatMessage({id:"di1TiTwCs8I9qir-h5Bf",defaultMessage:"Refer a Friend",description:"Navigation link label for refer a friend for computed display labels"}),"nav-link-le4b":t.formatMessage({id:"r0nhk6dhtQ7Apc6QnEIr",defaultMessage:"Business Travel",description:"Navigation link label for business travel for computed display labels"}),"nav-link-golf":t.formatMessage({id:"I9Wq2BBPti9KZKSMP-E-",defaultMessage:"Golf",description:"Navigation link label for golf for computed display labels"}),"nav-link-groups":t.formatMessage({id:"RH3MYjnXMjRZYRhhjUen",defaultMessage:"Groups",description:"Navigation link label for groups for computed display labels"}),"nav-link-weddings":t.formatMessage({id:"kzC5Y7pk5hj3tGpXIiOf",defaultMessage:"Weddings",description:"Navigation link label for weddings for computed display labels"}),"nav-link-more":t.formatMessage({id:"fzR_C3wS9Ain-aQheyoM",defaultMessage:"More",description:"Navigation link label for the more dropdown for computed display labels"})},n=e=>{let t;e.id&&(t="nav-link-tours"===e.id&&"Tours & Cruises"===e.text?i["nav-link-tours-cruises"]:i[e.id]);let a=t??s(e.text)??"",r=e.items?.map(n);return a!==e.text||r?.length?{...e,text:a,items:r}:e};return e.map(n)},[e,t,s])}})},908525(e,t,i){i.d(t,{},{A:function(e){return e instanceof HTMLInputElement}})},587887(e,t,i){var n=i(431014),a=i(677529);i.d(t,{},{A:function(e){if(!e)return;(0,n.gP)("REDIRECTED");let t=window.location.pathname.replace(/^\/[a-z]+/,"/"+e.toLowerCase());window.location.href=t+(0,a.$o)(window.location.search)}})},254879(e,t,i){i.d(t,{l:()=>o,c:()=>s}),i(218111),i(22489);var n=i(126698);async function a(e){try{return(await n.Ay.get(`/api/zendesk/ticket/${e}`,(0,n.Nh)())).result.encodedId||null}catch(e){return console.error("Error fetching Zendesk ticket:",e),null}}var r=i(533121);let o=e=>{let t=e.trim();if(!t)return null;let i=t.split("?")[0],n=i?.split("/").filter(Boolean).pop()||"",a=n?.replace(/\//g,"");if(!a)return null;let r=Number(a);return r<=0||!Number.isInteger(r)?null:a};async function s(e){let t=o(e),i=(0,r.v)();if(!t)return{encodedTicketId:null,error:i.formatMessage({id:"_MQM_JAxJ_pIT0eG3XeR",defaultMessage:"Invalid Zendesk ticket ID or URL",description:"Validation error shown when a Zendesk ticket field contains an invalid URL or ticket identifier"})};let n=await a(t);return n?{encodedTicketId:n,error:null}:{encodedTicketId:null,error:i.formatMessage({id:"FtoGqZv4MmhlL5-m7b7Q",defaultMessage:"Zendesk ticket not found",description:"Error message shown when the entered Zendesk ticket could not be found in the quote email modal"})}}},940552(e,t,i){i.d(t,{B:()=>O});var n=i(474848),a=i(662168),r=i(747550),o=i(19524),s=i(304726),l=i(598037),d=i(45478),c=i(511228),u=i(633009),h=i(678190),p=i(247174),g=i(731129),m=i(38019),f=i(537824),v=i(562860),b=i(439594),x=i(482299),A=i(193650),y=i(502448),w=i(342547),j=i(591461),k=i(119097),M=i(251582),C=i(280240),I=i(629092),T=i(887290),S=i(663322),D=i(237327),_=i(477332),E=i(193884),N=i(683071),z=i(880316),R=i(580208),L=i(214891),P=i(342563),Z=i(31418),B=i(758063),F=i(463244),H=i(36211);let V={star:r.A,search:o.A,"mountains-sun":s.A,gift:d.A,"user-plus":l.A,"plane-departure":b.A,ticket:c.A,"tag-alt":u.A,"bolt-alt":h.A,bulleyse:function(e){return(0,n.jsx)(p.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",d:"M12 5a7 7 0 1 0 0 13.9999A7 7 0 0 0 12 5Zm0 12a5 5 0 1 1-.0001-10A5 5 0 0 1 12 17Zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm0 4a1 1 0 1 1-.0002-2A1 1 0 0 1 12 13Zm0-12a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm0 20a8.9996 8.9996 0 0 1-8.315-5.5558A9.0002 9.0002 0 0 1 15.4443 3.6851 8.9999 8.9999 0 0 1 21 12a9.0002 9.0002 0 0 1-9 9Z"})})},user:g.A,globe:m.A,"line-star":f.A,"hot-air-balloon":v.A,"ultra-lux-diamond":x.A,island:w.A,ship:A.A,compass:y.A,bed:j.A,stopwatch:k.A,car:M.A,"home-alt":C.A,heart:I.A,comments:T.A,plus:S.A,shop:_.A,sparkles:D.A,usd:E.A,magazine:function(e){return(0,n.jsx)(p.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",d:"M17 11h-1a1.0001 1.0001 0 0 0 0 2h1a1.0001 1.0001 0 0 0 0-2Zm0 4h-1a1.0001 1.0001 0 0 0 0 2h1a1.0001 1.0001 0 0 0 0-2Zm-6-6h6a1 1 0 1 0 0-2h-6a1 1 0 1 0 0 2Zm10-6H7a1 1 0 0 0-1 1v3H3a1 1 0 0 0-1 1v10a3 3 0 0 0 3 3h13a3.9996 3.9996 0 0 0 2.8284-1.1716A3.9996 3.9996 0 0 0 22 17V4a1.0002 1.0002 0 0 0-1-1ZM6 18a1 1 0 1 1-2 0V9h2v9Zm14-1a2 2 0 0 1-2 2H7.82A3.0003 3.0003 0 0 0 8 18V5h12v12Zm-9-4h1a1.0001 1.0001 0 0 0 0-2h-1a1.0001 1.0001 0 0 0 0 2Zm0 4h1a1.0001 1.0001 0 0 0 0-2h-1a1.0001 1.0001 0 0 0 0 2Z"})})},shield:function(e){return(0,n.jsx)(p.Ay,{...e,fill:"none",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentColor",d:"M19.63 3.65a.9999.9999 0 0 0-.84-.2 8.0001 8.0001 0 0 1-6.22-1.27 1.0001 1.0001 0 0 0-1.14 0 7.9997 7.9997 0 0 1-6.22 1.27 1 1 0 0 0-.84.2 1 1 0 0 0-.37.78v7.45a9 9 0 0 0 3.77 7.33l3.65 2.6a1 1 0 0 0 1.16 0l3.65-2.6A9.0006 9.0006 0 0 0 20 11.88V4.43a1.0005 1.0005 0 0 0-.37-.78ZM18 11.88a6.9997 6.9997 0 0 1-2.93 5.7L12 19.77l-3.07-2.19A6.9991 6.9991 0 0 1 6 11.88v-6.3a10 10 0 0 0 6-1.39 10 10 0 0 0 6 1.39v6.3Z"})})},"user-arrows":N.A,briefcase:z.A,golf:R.A,"users-multi":L.A,calendar:P.A,"calendar-heart":Z.A,store:B.A,smile:F.A,suitcase:H.A,"le-logo":function(e){let{size:t,colour:i,fill:r="currentColor",...o}=e;return(0,n.jsx)(a.default,{...o,fill:r,width:24,height:24,mobileVariant:"icon",tabletVariant:"icon",desktopVariant:"icon",extraLargeDesktopVariant:"icon"})}},O=e=>V[e]},593467(e,t,i){var n=i(474848);i(296540);var a=i(722834),r=i(305229);i.d(t,{},{A:function({benefit:e,variant:t="full"}
1){return function(e,t){let{code:i,limit:o,unlimited:s,value:l}=e,d=o??1,c="compact"===t;switch(i){case"hotel_upgrade":if(s){if(c)return(0,n.jsx)(a.A,{id:"S8ekbrIsA6ZW4mBk028q",defaultMessage:"Free room or package upgrades",description:"Benefit title without quantity when amount is shown in a badge"});return(0,n.jsx)(a.A,{id:"IaFiELEGqzLc2O8xNkZe",defaultMessage:"Unlimited free room or package upgrades",description:"Benefit title for unlimited room upgrades on the room page"})}if(c)return(0,n.jsx)(a.A,{id:"933YW1IMH4MCXDvRY2Wh",defaultMessage:"{count, plural, one {Free room or package upgrade} other {Free room or package upgrades}}",description:"Benefit title without leading count when amount is shown in a badge",values:{count:d}});return(0,n.jsx)(a.A,{id:"yC0WsNLD_Ob456YVXBe8",defaultMessage:"{count, plural, one {1x Free room or package upgrade} other {#x Free room or package upgrades}}",description:"Benefit title for limited room upgrades on the hotel or room booking page",values:{count:d}});case"airport_transfer":if(c)return(0,n.jsx)(a.A,{id:"1jI7_JmKE2UoR8Q86FTs",defaultMessage:"Free airport chauffeur service",description:"Benefit title without quantity when amount is shown in a badge"});if(s)return(0,n.jsx)(a.A,{id:"yKDIK0jxc6_Swu5f_nwH",defaultMessage:"Unlimited free airport chauffeur service",description:"Benefit title for unlimited airport transfers in the loyalty program section"});return(0,n.jsx)(a.A,{id:"My3cDInErtzR_fOMQ4On",defaultMessage:"{count, plural, one {Free airport chauffeur service} other {#x Free airport chauffeur service}}",description:"Benefit title for limited airport transfers for transfers",values:{count:d}});case"lounge_pass":if(s){if(c)return(0,n.jsx)(a.A,{id:"rx59J4IepmNgVn-3eYmC",defaultMessage:"Free airport lounge passes",description:"Benefit title without quantity when amount is shown in a badge"});return(0,n.jsx)(a.A,{id:"dHrlSrs_eiKFyqKId2t6",defaultMessage:"Unlimited free airport lounge passes",description:"Benefit title for unlimited lounge passes in the benefits list"})}if(c)return(0,n.jsx)(a.A,{id:"x83a1TLH2w6vsH9zUFkq",defaultMessage:"{count, plural, one {Free airport lounge pass} other {Free airport lounge passes}}",description:"Benefit title without leading count when amount is shown in a badge",values:{count:d}});return(0,n.jsx)(a.A,{id:"Hjj8Q_UvNoaV5TYidvQE",defaultMessage:"{count, plural, one {Free airport lounge pass} other {#x Free airport lounge passes}}",description:"Benefit title for limited lounge passes in the loyalty benefits section",values:{count:d}});case"discounted_insurance":if(c)return(0,n.jsx)(a.A,{id:"kWc1dKCrYz28MNkypzUd",defaultMessage:"Travel protection discount",description:"Benefit title without percent when the discount amount is shown in a badge"});return(0,n.jsx)(a.A,{id:"HFVzqpSMkiuiw9upEzVF",defaultMessage:"{percent}% Travel protection discount",description:"Benefit title for travel insurance discount in the insurance flow",values:{percent:l?.amount??0}});case"phone_support":return(0,n.jsx)(a.A,{id:"6VsYcSQ0vwKmoHOqfYpH",defaultMessage:"Priority phone support 24/7",description:"Benefit title for priority phone support in the support area"});case"tour_exp_credit":if(c){if(1===d)return(0,n.jsx)(a.A,{id:"H0NlHECMzGnR0pi492I8",defaultMessage:"<currency></currency> Tour optional extra credit",description:"Singular benefit title for credit redeemable toward optional tour extras or activities. Optional describes the tour extras, not the credit. <currency> renders the formatted monetary credit amount; no leading count is shown.",values:{currency:()=>(0,n.jsx)(r.A,{value:l?.amount??0})}});return(0,n.jsx)(a.A,{id:"_tRKVUs73aSWwS9NKTRQ",defaultMessage:"<currency></currency> Tour optional extra credits",description:"Plural loyalty benefit title for credit vouchers redeemable against optional experiences or extras on a tour. Optional describes the tour extras, not the credits. currency renders the monetary value via FormatCurrency; the count is shown separately.",values:{currency:()=>(0,n.jsx)(r.A,{value:l?.amount??0})}})}if(1===d)return(0,n.jsx)(a.A,{id:"hllv-2EbcYJopC9oPNiB",defaultMessage:"<currency></currency>
1 Tour optional extra credit",description:"Singular benefit title for tour experience credits on the tour page",values:{currency:()=>(0,n.jsx)(r.A,{value:l?.amount??0})}});return(0,n.jsx)(a.A,{id:"QUjfYFW7v5HJkix2dc-X",defaultMessage:"{count}x <currency></currency> Tour optional extra credits",description:"Plural benefit title for tour experience credits on the tour page",values:{count:d,currency:()=>(0,n.jsx)(r.A,{value:l?.amount??0})}});case"travelshoot_credit":return(0,n.jsx)(a.A,{id:"Tjg9BJ96AVsv3DsZy8Di",defaultMessage:"<currency></currency> TravelShoot voucher",description:"Benefit title for TravelShoot voucher for promotional codes or vouchers",values:{currency:()=>(0,n.jsx)(r.A,{value:l?.amount??0})}});case"esim_package":return(0,n.jsx)(a.A,{id:"votTmCrdVG_I5jd5Ohcp",defaultMessage:"{value}{unit} eSIM per international trip",description:"Benefit title for free eSIM package that provides global data connectivity for travelers",values:{value:l?.amount??0,unit:l?.unit??"GB"}});default:return(0,n.jsx)(n.Fragment,{children:i})}}(e,t)}})},127282(e,t,i){i.d(t,{A:()=>ek}),i(944114),i(218111),i(607588),i(161701);var n=i(474848),a=i(296540),r=i(634164),o=i(38267),s=i(731357),l=i(665673),d=i(722834),c=i(161648),u=i(73659),h=i(919427),p=i(205944),g=i(897729),m=i(349422),f=i(148400),v=i(151003),b=i(153702),x=i(355078),A=i(112180),y=i(764283),w=i(819596),j=i(989551),k=i(702501),M=i(717674),C=i(442530),I=i(846416),T=i(473874),S=i(485102),D=i(647886),_=i(401487);let E=o.Ay.div.withConfig({componentId:"sc-22c6bf3b-0"})(["background:",";border-radius:",";box-shadow:",";padding:",";display:flex;align-items:center;gap:",";pointer-events:auto;"],e=>e.theme.palette.neutral.default.eight,(0,s.D0)(8),e=>e.theme.shadow.bottom.medium,(0,s.D0)(12),(0,s.D0)(12)),N=o.Ay.div.withConfig({componentId:"sc-22c6bf3b-1"})(["flex:1;display:flex;flex-direction:column;gap:",";min-width:0;"],(0,s.D0)(4)),z=o.Ay.div.withConfig({componentId:"sc-22c6bf3b-2"})(["flex-shrink:0;align-self:flex-start;"]),R=o.Ay.div.withConfig({componentId:"sc-22c6bf3b-3"})(["flex-shrink:0;line-height:0;"]),L=o.Ay.div.withConfig({componentId:"sc-22c6bf3b-4"})(["display:flex;flex-wrap:wrap;gap:",";"],(0,s.D0)(12)),P=function({config:e,onSpendPoints:t,onViewMembership:i,onClose:a}){let r,o=(0,l.A)(),s=o.formatMessage({id:"ieK2AuGngPh3brS04pBa",defaultMessage:"Close rewards notification",description:"Aria label for close button on societe rewards mobile notification"}),u=o.formatMessage({id:"xWfSjxHhIzdnI4m-2ZeU",defaultMessage:"View membership",description:"Link text to view loyalty membership from mobile rewards notification"}),h=o.formatMessage({id:"w-EO1EMemTDO6tX0xuD9",defaultMessage:"Spend my points",description:"Link text that sends members from the rewards notification to the spend points page"}),p=!!e.isInfiniteEarnNotification,g=e.currentPoints>=1e3,f=e.currentPoints-e.previousPoints,x=o.formatNumber(f),A=p?0:e.currentStatusCredits-e.previousStatusCredits,y=p?0:e.currentNights-e.previousNights,w=f>0||A>0||y>0,j=!!e.isPlatinumRetainCelebration&&!e.isUpgrade,k=e.isUpgrade&&e.newTier?e.newTier:e.tier,M=o.formatMessage({id:"1iz4BJx-mk_XVxfYw7uT",defaultMessage:"+{n} Status {n, plural, one {Credit} other {Credits}}",description:"Loyalty credits earned label used in mobile rewards notification delta summary"},{n:A}),I=o.formatMessage({id:"9e2S2l4i85kJdSbsgW0Z",defaultMessage:"+{n, plural, one {# night} other {# nights}}",description:"Loyalty nights earned label used in mobile rewards notification delta summary"},{n:y}),P=o.formatMessage({id:"NMe3A4rK65eIrQv63awW",defaultMessage:"+{points} pts · {credits} · {nights}",description:"Mobile rewards notification summary line when points, status credits, and nights all increased"},{points:x,credits:M,nights:I}),Z=o.formatMessage({id:"FFgCT_K4MKjvIFZaVOgd",defaultMessage:"{credits} · {nights}",description:"Mobile rewards notification summary when only status credits and nights increased"},{credits:M,nights:I}),B=(0,n.jsx)(d.A,{id:"xSeAHYmfZBxGCdNtEZwt",defaultMessage:"Your rewards have been added",description:"Heading text displayed in the mobile Société rewards notification card"});return r=e.isUpgrade&&e.newTier?(0,n.jsx)(c.Ay,{variant:"medium",weight:"bold",children:(0,n.jsx)(d.A,{id:"FH-MjeObCYhBtAw8q1r2",defaultMessage:"You've reached {tierName}",description:"Mobile Société rewards heading when the member unlocks a higher tier",values:{tierName:(0,C.A)(e.newTier)}})}):j?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.Ay,{variant:"medium",weight:"bold",children:(0,n.jsx)(d.A,{id:"r21ABumNzE7qAfsct5WR",defaultMessage:"Congratulations you have retained {tierName} for another year.",description:"Banner congratulating user on retaining their loyalty tier for another year",values:{tierName:(0,C.A)("platinum")}})}),e.tierReviewDate&&(0,n.jsx)(c.Ay,{variant:"small",colour:"neutral-two",children:(0,n.jsx)(d.A,{id:"L3cRBDPsO5M0sMxJ3Mxe",defaultMessage:"Tier review date {date}",description:"Loyalty tier review date displayed under the platinum-retain celebration headline in the mobile rewards notification",values:{date:(0,n.jsx)(D.A,{value:e.tierReviewDate,format:"dmy-casual-short"})}})})]}):(0,n.jsx)(c.Ay,{variant:"medium",weight:"bold",children:B}),(0,n.jsxs)(E,{children:[p&&(0,n.jsx)(R,{children:(0,n.jsx)(_.A,{height:17})}),!p&&(0,n.jsx)(S.A,{tier:k,size:40}),(0,n.jsxs)(N,{children:[r,(0,n.jsxs)(c.Ay,{variant:"small",colour:w?"success":"light-foreground-alt",weight:w?"bold":"normal",children:[f>0&&A>0&&y>0&&P,f>0&&A>0&&0===y&&(0,n.jsx)(d.A,{id:"DP0fBdZBk_Jhahtzajer",defaultMessage:"+{points} pts · +{credits} Status {credits, plural, one {Credit} other {Credits}}",description:"Mobile rewards notification showing points and credits deltas",values:{points:x,credits:A}}),f>0&&0===A&&y>0&&(0,n.jsx)(d.A,{id:"X30gkdnXjqEwoRaY7DD9",defaultMessage:"+{points} pts · +{nights, plural, one {# night} other {# nights}}",description:"Mobile rewards notification showing points and nights deltas",values:{points:x,nights:y}}),f>0&&0===A&&0===y&&(0,n.jsx)(d.A,{id:"GvKRFmOFFaB4i_Y3qYlT",defaultMessage:"+{points} pts added",description:"Mobile rewards notification showing points delta only",values:{points:x}}),0===f&&A>0&&y>0&&Z,0===f&&A>0&&0===y&&(0,n.jsx)(d.A,{id:"FY7ClTUL98wQJSBQP0H_",defaultMessage:"+{credits} Status {credits, plural, one {Credit} other {Credits}} added",description:"Mobile rewards notification showing credits delta only",values:{credits:A}}),0===f&&0===A&&y>0&&(0,n.jsx)(d.A,{id:"mcCn_WRJhqISD7et7QA3",defaultMessage:"+{nights, plural, one {# night} other {# nights}} added",description:"Mobile rewards notification showing nights delta only",values:{nights:y}})]}),(0,n.jsxs)(L,{children:[g&&(0,n.jsx)(b.A,{size:"small",weight:"bold",to:`/${T.iJ}`,onClick:t,children:h}),(0,n.jsx)(b.A,{size:"small",weight:"bold",to:`/${T.bT}`,onClick:i,children:u})]})]}),(0,n.jsx)(z,{children:(0,n.jsx)(v.A,{kind:"tertiary",size:"small",onClick:a,"aria-label":s,children:(0,n.jsx)(m.A,{colour:"normal-contrast"})})})]})};var Z=i(201288),B=i(643146),F=i(832810),H=i(626939),V=i(593467),O=i(355112),U=i(206355),q=i.n(U),G=i(777752),Y=i(245531),W=i(829403),X=i(194617),J=i(919206),Q=i(823646);let $=12e3,K=o.Ay.span.withConfig({componentId:"sc-5ebcae1c-0"})(["position:absolute;top:100%;inset-inline-end:0;width:0;height:0;pointer-events:none;"]),ee=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-1"})(["--loyalty-rewards-notification-offset:120%;position:fixed;inset-inline-end:",";width:",";padding:",";max-width:calc(100vw - ",");z-index:",";pointer-events:none;will-change:transform,opacity;transform:translateX(var(--loyalty-rewards-notification-offset));opacity:0;transition:transform 0.3s ",",opacity 0.3s ",';[dir="rtl"] &{--loyalty-rewards-notification-offset:-120%;}&.is-open{transform:translateX(0);opacity:1;}',"{inset-inline-end:",";}"],(0,s.D0)(4),(0,s.D0)(375),(0,s.D0)(8),(0,s.D0)(32),W.A.notification,Y.A.power2.out,Y.A.circ.out,X.em.desktop,(0,s.D0)(16)),et=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-2"})(["position:fixed;bottom:",";inset-inline:",";z-index:",";pointer-events:none;will-change:transform,opacity;transform:translateY(calc(100% + 32px));opacity:0;transition:transform 0.3s ",",opacity 0.3s ",";
1&.is-open{transform:translateY(0);opacity:1;}"],(0,s.D0)(16),(0,s.D0)(16),W.A.notification,Y.A.power2.out,Y.A.circ.out),ei=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-3"})(["background:",";border-radius:",";box-shadow:",";overflow:hidden;pointer-events:auto;"],e=>e.theme.palette.neutral.default.eight,e=>e.theme.borderRadius.M,e=>e.theme.shadow.bottom.medium),en=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-4"})(["position:relative;padding:"," "," ",";overflow:hidden;"],(0,s.D0)(16),(0,s.D0)(16),(0,s.D0)(20)),ea=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-5"})(["position:absolute;inset:0;transition:opacity 0.4s ease-in-out;",""],J.QI),er=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-6"})(["position:relative;z-index:",";"],W.A.min),eo=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-7"})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:",";"],(0,s.D0)(12)),es=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-8"})(["display:flex;align-items:center;gap:",";"],(0,s.D0)(8)),el=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-9"})([""," transition:color 0.4s ease-in-out;line-height:0;"],J.wT),ed=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-10"})(["line-height:0;"]),ec=(0,o.Ay)(h.Ay).withConfig({componentId:"sc-5ebcae1c-11"})([""," transition:color 0.4s ease-in-out;&.tier-platinum{color:",";}"],J.wT,e=>e.theme.palette.product.loyalty.platinum.darkContrast),eu=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-12"})(["padding:",";"],(0,s.D0)(16)),eh=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-13"})(["display:flex;align-items:baseline;gap:",";margin-bottom:",";"],(0,s.D0)(6),(0,s.D0)(16)),ep=(0,o.Ay)(h.Ay).withConfig({componentId:"sc-5ebcae1c-14"})(["display:inline;"]),eg=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-15"})(["display:flex;flex-direction:row;justify-content:space-around;align-self:stretch;margin-bottom:",";"],(0,s.D0)(16)),em=o.Ay.hr.withConfig({componentId:"sc-5ebcae1c-16"})(["border:none;border-top:1px solid ",";width:",";margin:0;"],e=>e.theme.palette.neutral.default.five,(0,s.D0)(28)),ef=o.Ay.span.withConfig({componentId:"sc-5ebcae1c-17"})(["display:inline-flex;align-items:center;vertical-align:middle;line-height:1;"]),ev=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-18"})(["display:flex;justify-content:flex-end;gap:",";"],(0,s.D0)(12)),eb=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-19"})(["display:grid;grid-template-rows:0fr;transition:grid-template-rows 0.5s ease-out;&.is-visible{grid-template-rows:1fr;}"]),ex=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-20"})(["overflow:hidden;padding-top:",";"],(0,s.D0)(4)),eA=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-21"})(["display:flex;align-items:center;justify-content:space-between;gap:",";padding:"," 0;"],(0,s.D0)(12),(0,s.D0)(2)),ey=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-22"})(["display:flex;align-items:center;gap:",";min-width:0;flex:1;> svg{flex-shrink:0;}"],(0,s.D0)(8)),ew=o.Ay.div.withConfig({componentId:"sc-5ebcae1c-23"})(["flex-shrink:0;min-width:",";display:flex;justify-content:flex-end;"],(0,s.D0)(36));function ej(e,t){return 0===t?100:(0,Q.qE)(0,Math.floor(e/t*100),100)}let ek=function(){let e,t,i=(0,l.A)(),[o,s]=(0,a.useState)(),[h,S]=(0,a.useState)(!1),[D,E]=(0,a.useState)(!1),[N,z]=(0,a.useState)(!1),[R,L]=(0,a.useState)(0),[U,Y]=(0,a.useState)(!1),[X,J]=(0,a.useState)(!1),[Q,ek]=(0,a.useState)(88),eM=(0,a.useRef)(null),eC=(0,a.useRef)(0),eI=(0,a.useRef)($),eT=(0,a.useRef)(null),eS=(0,a.useRef)(null),eD=(0,a.useRef)(!1),e_=(0,a.useMemo)(()=>"u">typeof window&&!!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches,[]),[eE]=(0,B.A)();(0,a.useLayoutEffect)(()=>{let e=e=>{eT.current&&(clearTimeout(eT.current),eT.current=null),eD.current=!1,s(e.detail),E(!1),S(!1),z(!1),Y(!1),J(!1),L(e=>e+1)};return document.addEventListener("loyalty-rewards-notification",e),()=>document.removeEventListener("loyalty-rewards-notification",e)},[]),(0,Z.Ay)(),(0,a.useEffect)(()=>{o||(eD.current=!1)},[o]);let eN=(0,a.useCallback)(()=>{eD.current&&(S(!1),eT.current&&clearTimeout(eT.current),eT.current=setTimeout(()=>{s(void 0),E(!1),z(!1),Y(!1),J(!1),eT.current=null},300))},[]),ez=(0,a.useCallback)(()=>{eM.current&&(clearTimeout(eM.current),eM.current=null),eT.current&&(clearTimeout(eT.current),eT.current=null),S(!1),s(void 0),E(!1),z(!1),Y(!1),J(!1)},[]);(0,a.useEffect)(()=>()=>{eT.current&&clearTimeout(eT.current)},[]),(0,a.useEffect)(()=>(document.addEventListener("close-loyalty-rewards-notification",eN),()=>document.removeEventListener("close-loyalty-rewards-notification",eN)
1),[eN]),(0,a.useEffect)(()=>{let e,t;if(!o)return;let i=!1,n=0,a=[],r=()=>{!i&&("requestIdleCallback"in window?e=window.requestIdleCallback(()=>{e=void 0,i||E(!0)},{timeout:800}):i||E(!0))},s=()=>{n=requestAnimationFrame(()=>{if(i)return;S(!0),eD.current=!0;let e=!!(o.isUpgrade&&o.newTier);if(e_){E(!0),e&&z(!0),o.isPlatinumRetainCelebration&&!o.isUpgrade&&(Y(!1),J(!0));return}if(e?a.push(setTimeout(()=>{i||E(!0)},0)):a.push(setTimeout(r,400)),e){let e=o.previousStatusCredits===o.currentStatusCredits&&o.previousNights===o.currentNights;a.push(setTimeout(()=>z(!0),e?600:1600))}o.isPlatinumRetainCelebration&&!o.isUpgrade&&a.push(setTimeout(()=>{Y(!0),J(!0)},1600))})},l=()=>{i||("requestIdleCallback"in window?t=window.requestIdleCallback(()=>{t=void 0,i||s()},{timeout:1e3}):s())};if("complete"!==document.readyState){let r=!1,o=()=>{window.clearTimeout(s),window.removeEventListener("load",o),i||r||(r=!0,a.push(setTimeout(()=>{i||l()},750)))},s=window.setTimeout(()=>{window.removeEventListener("load",o),i||r||(r=!0,l())},2500);return window.addEventListener("load",o),()=>{i=!0,window.clearTimeout(s),window.removeEventListener("load",o),cancelAnimationFrame(n),a.forEach(clearTimeout),null!=e&&window.cancelIdleCallback(e),null!=t&&window.cancelIdleCallback(t)}}return s(),()=>{i=!0,cancelAnimationFrame(n),a.forEach(clearTimeout),null!=e&&window.cancelIdleCallback(e),null!=t&&window.cancelIdleCallback(t)}},[o,e_]),(0,a.useEffect)(()=>{if(!o)return;let e=()=>{let e=eS.current?.getBoundingClientRect();e&&e.bottom>0&&e.bottom<.55*window.innerHeight?ek(Math.round(e.bottom)+10):ek(88)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]);let eR=(0,a.useCallback)((e=$)=>{eM.current&&clearTimeout(eM.current),eI.current=e,eC.current=Date.now()+e,eM.current=setTimeout(Z.Iw,e)},[]);(0,a.useEffect)(()=>{if(h)return eR(),()=>{eM.current&&(clearTimeout(eM.current),eM.current=null)}},[h,eR]);let eL=(0,a.useCallback)(()=>{eM.current&&(clearTimeout(eM.current),eM.current=null),eI.current=Math.max(0,eC.current-Date.now())},[]),eP=(0,a.useCallback)(()=>{let e=eI.current;e>0?eR(e):(0,Z.Iw)()},[eR]),eZ=(0,a.useCallback)(()=>{ez(),(0,Z.Iw)()},[ez]),eB=(0,a.useMemo)(()=>o?{points:{from:o.previousPoints,to:o.currentPoints},credits:{from:o.previousStatusCredits,to:o.currentStatusCredits},nights:{from:o.previousNights,to:o.currentNights}}:null,[o]),eF=function(e,t){let[i,n]=(0,a.useState)(()=>e?{points:e.points.from,credits:e.credits.from,nights:e.nights.from}:{points:0,credits:0,nights:0}),r=(0,a.useRef)(null),o=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(!t||!e){e&&n({points:e.points.from,credits:e.credits.from,nights:e.nights.from});return}let{points:i,credits:a,nights:s}=e;if(i.from===i.to&&a.from===a.to&&s.from===s.to)return void n({points:i.to,credits:a.to,nights:s.to});o.current=null;let l=e=>{null===o.current&&(o.current=e);let t=Math.min((e-o.current)/500,1),d=1-(1-t)**3;n({points:Math.round(i.from+(i.to-i.from)*d),credits:Math.round(a.from+(a.to-a.from)*d),nights:Math.round(s.from+(s.to-s.from)*d)}),t<1&&(r.current=requestAnimationFrame(l))};return r.current=requestAnimationFrame(l),()=>{null!==r.current&&cancelAnimationFrame(r.current)}},[t,e,500]),i}(eB,D&&null!=eB),eH=(0,a.useMemo)(()=>o?.isUpgrade&&o.newTier?G.l[o.newTier]:o?.isPlatinumRetainCelebration&&!o?.isUpgrade?G.l.platinum:[],[o?.isUpgrade,o?.newTier,o?.isPlatinumRetainCelebration]),eV=(0,a.useCallback)(e=>({...e,colors:eH,origin:{x:.88,y:.15},zIndex:W.A.notification}),[eH]),eO=i.formatMessage({id:"q_o5Qw3u2v86TjJIWjph",defaultMessage:"Close rewards notification",description:"Aria label for close button on societe rewards notification"}),eU=i.formatMessage({id:"oqnnD836QwxI8zJw6Xg9",defaultMessage:"View membership",description:"Link text to view loyalty membership from rewards notification"}),eq=i.formatMessage({id:"w-EO1EMemTDO6tX0xuD9",defaultMessage:"Spend my points",description:"Link text that sends members from the rewards notification to the spend points page"}),eG=i.formatMessage({id:"-EhO0xPNWFgohnsq2Oiy",defaultMessage:"Status Credits",description:"Label for status credits progress in loyalty account tile"}),eY=i.formatMessage({id:"x5UY9HsF8S3OtAjA4Q5D",defaultMessage:"Nights",description:"Form field label for nights progress in loyalty account tile"}),eW=i.formatMessage({id:"X9h8QWFz-ORlSsqCB8u-",defaultMessage:"Pending status credits may take up to 24hrs to appear",description:"Tooltip explaining pending status credits delay in loyalty account tile"}),eX=i.formatMessage({id:"Z4G3K4vMzZnF3B4TNC2R",defaultMessage:"Pending nights may take up to 24hrs to appear",description:"Tooltip explaining pending nights delay in loyalty account tile"}),eJ=i.formatMessage({id:"Q1EO2NcxyI1uILATavuU",defaultMessage:"Your top benefits",description:"Section heading for top loyalty membership benefits"}),eQ=i.formatMessage({id:"DLJIxrZ4JoUzmTiyZSnk",defaultMessage:"pts",description:"Abbreviated points unit label displayed in the loyalty account menu tile"}),e$=i.formatMessage({id:"AToN7h6NCzEPABxzO-PR",defaultMessage:"Unlimited",description:"Badge text for an unlimited loyalty benefit in the Société rewards notification"}),eK=(0,a.useCallback)(e=>{if(e.value?.unit==="PERCENTAGE")return`${e.value.amount??0}%`;if("discounted_insurance"===e.code&&e.value?.amount!=null)return`${e.value.amount}%`;if(e.unlimited)return e$;let t=e.limit??1;if(t>0)return`${t}x`},[e$]);if(!o)return null;let e0=!!o.isPlatinumRetainCelebration&&!o.isUpgrade,e1=!!o.isInfiniteEarnNotification,e9=o.currentPoints>=1e3,e2=Math.max(0,o.targetCredits-eF.credits),e4=Math.max(0,o.targetNights-eF.nights),{tier:e7,firstName:e5,pendingStatusCredits:e3,pendingNights:e8}=o,e6=o.isUpgrade&&o.newTier&&N?o.newTier:e7,te=`tier-${e6}`,tt=o.currentPoints-o.previousPoints,ti=o.currentStatusCredits-o.previousStatusCredits,tn=o.currentNights-o.previousNights;e=o.isUpgrade&&o.newTier?e5?(0,n.jsx)(d.A,{id:"bg_WL6Vuzp1-kjCydHuw",defaultMessage:"Congratulations {firstName}, you've unlocked {tierName}",description:"Personalised header for Société rewards tier upgrade notification showing member name",values:{firstName:e5,tierName:(0,C.A)(o.newTier)}}
1):(0,n.jsx)(d.A,{id:"D_Rwl3cL2gfu4ZH5x6t-",defaultMessage:"You've unlocked {tierName}",description:"Anonymous header for Société rewards tier upgrade notification without member name",values:{tierName:(0,C.A)(o.newTier)}}):e5?(0,n.jsx)(d.A,{id:"OPmI52A00iF03qyREwE1",defaultMessage:"Congratulations {firstName}, your rewards have landed",description:"Personalised header for Société rewards notification showing member first name",values:{firstName:e5}}):(0,n.jsx)(d.A,{id:"CCYOlpnugjYGEw24VbVJ",defaultMessage:"Your rewards have landed",description:"Anonymous header for Société rewards notification when member name is not available"});let ta=o.isUpgrade?o.newTier:void 0,tr=ta?(0,F.A)(eE,ta).slice(0,3):[],to=!!o.isUpgrade&&!!o.newTier,ts=ej(o.previousStatusCredits,o.targetCredits),tl=ej(o.currentStatusCredits,o.targetCredits),td=ej(o.previousNights,o.targetNights),tc=ej(o.currentNights,o.targetNights),tu=to?ej(eF.credits,o.targetCredits):D?tl:ts,th=to?ej(eF.nights,o.targetNights):D?tc:td,tp=to&&o.newTier?o.newTier:e7,tg=e_?"0s":to?"1.2s":"0.5s";t=e1?null:o.isUpgrade&&ta?(0,n.jsx)(eb,{className:(0,r.A)({"is-visible":N}),children:(0,n.jsx)(ex,{children:(0,n.jsxs)(g.A,{direction:"vertical",gap:8,children:[(0,n.jsx)(c.Ay,{variant:"small",weight:"bold",children:eJ}),tr.map((e,t)=>{let i=H.d[e.code],r=eK(e);return(0,n.jsxs)(a.Fragment,{children:[t>0&&(0,n.jsx)(p.A,{kind:"secondary"}),(0,n.jsxs)(eA,{children:[(0,n.jsxs)(ey,{children:[i,(0,n.jsx)(c.Ay,{variant:"small",children:(0,n.jsx)(V.A,{benefit:e,variant:"compact"})})]}),(0,n.jsx)(ew,{children:r&&(0,n.jsx)(M.A,{kind:"secondary",tier:ta,children:r})})]})]},e.code)})]})})}):e0?(0,n.jsx)(eb,{className:(0,r.A)({"is-visible":X}),children:(0,n.jsx)(ex,{children:(0,n.jsx)(j.A,{tier:"platinum",reviewDate:o.tierReviewDate})})}):(0,n.jsx)(w.A,{tier:o.unlockCardTier,isRetain:o.isRetain,retainVariant:o.retainVariant,creditsRemaining:e2,nightsRemaining:e4,tierReviewDate:o.tierReviewDate,membershipYearEndDate:o.membershipYearEndDate});let tm=(0,n.jsxs)(ei,{onMouseEnter:eL,onMouseLeave:eP,children:[(0,n.jsxs)(en,{children:[(0,n.jsx)(ea,{className:`tier-${e7}`,style:{opacity:o.isUpgrade&&o.newTier&&N?0:1}}),o.isUpgrade&&o.newTier&&(0,n.jsx)(ea,{className:`tier-${o.newTier}`,style:{opacity:+!!N}}),(0,n.jsxs)(er,{children:[(0,n.jsxs)(eo,{children:[(0,n.jsxs)(es,{children:[e1&&(0,n.jsx)(ed,{children:(0,n.jsx)(_.A,{height:22})}),!e1&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(el,{className:te,children:(0,n.jsx)(k.A,{height:14})}),(0,n.jsx)(O.A,{tier:e6,size:"small"})]})]}),(0,n.jsx)(v.A,{kind:"tertiary",size:"small",onClick:Z.Iw,"aria-label":eO,children:(0,n.jsx)(m.A,{colour:"platinum"===e6?"dark-contrast":"normal-contrast"})})]}),(0,n.jsx)(ec,{variant:"heading4",className:te,children:e})]})]}),(0,n.jsx)(eu,{children:(0,n.jsxs)(g.A,{direction:"vertical",gap:16,children:[(0,n.jsxs)(eh,{children:[(0,n.jsx)(ep,{variant:"heading3",children:(0,n.jsx)(A.A,{value:eF.points})}),(0,n.jsx)(c.Ay,{variant:"small",colour:"light-foreground-alt",children:eQ}),tt>0&&(0,n.jsx)(u.Ay,{variant:"medium",colour:"success",weight:"bold",children:(0,n.jsx)(d.A,{id:"qwGgvGRkiynXdSZsbJk3",defaultMessage:"+{amount} added",description:"Shows how many points were earned in the Société rewards notification",values:{amount:(0,n.jsx)(A.A,{value:tt})}})})]}),!e1&&(0,n.jsxs)(eg,{children:[(0,n.jsxs)(g.A,{direction:"vertical",horizontalAlign:"center",gap:4,children:[(0,n.jsx)(y.A,{progress:tu,tier:tp,variant:"light",transitionDuration:tg,children:(0,n.jsxs)(g.A,{direction:"vertical",horizontalAlign:"center",gap:2,children:[(0,n.jsx)(c.Ay,{variant:"medium",weight:"bold",children:(0,n.jsx)(A.A,{value:eF.credits})}),(0,n.jsx)(em,{}),(0,n.jsx)(u.Ay,{variant:"small",colour:"light-foreground-alt",children:(0,n.jsx)(A.A,{value:o.targetCredits})})]})},R),(0,n.jsxs)(g.A,{direction:"vertical",horizontalAlign:"center",gap:2,children:[(0,n.jsx)(c.Ay,{variant:"small",weight:"bold",children:eG}),(0,n.jsxs)(g.A,{direction:"horizontal",gap:4,verticalAlign:"center",children:[(0,n.jsx)(u.Ay,{variant:"medium",colour:"light-foreground-alt",children:(0,n.jsx)(d.A,{id:"4XTLBdhy0Xunj_vOAlrB",defaultMessage:"{value} pending",description:"Pending status credits count in loyalty account tile",values:{value:(0,n.jsx)(A.A,{value:e3})}})}),(0,n.jsx)(x.A,{description:eW,placement:"bottom",children:(0,n.jsx)(ef,{children:(0,n.jsx)(f.A,{size:14})})})]}),ti>0&&(0,n.jsx)(u.Ay,{variant:"medium",colour:"success",weight:"bold",children:(0,n.jsx)(d.A,{id:"oyChbERcE_Tw7laJsXDz",defaultMessage:"+{amount} added",description:"Shows how many status credits were earned in the Société rewards notification",values:{amount:(0,n.jsx)(A.A,{value:ti})}})})]})]}),(0,n.jsxs)(g.A,{direction:"vertical",horizontalAlign:"center",gap:4,children:[(0,n.jsx)(y.A,{progress:th,tier:tp,variant:"light",transitionDuration:tg,children:(0,n.jsxs)(g.A,{direction:"vertical",horizontalAlign:"center",gap:2,children:[(0,n.jsx)(c.Ay,{variant:"medium",weight:"bold",children:(0,n.jsx)(A.A,{value:eF.nights})}),(0,n.jsx)(em,{}),(0,n.jsx)(u.Ay,{variant:"small",colour:"light-foreground-alt",children:(0,n.jsx)(A.A,{value:o.targetNights})})]})},R),(0,n.jsxs)(g.A,{direction:"vertical",horizontalAlign:"center",gap:2,children:[(0,n.jsx)(c.Ay,{variant:"small",weight:"bold",children:eY}),(0,n.jsxs)(g.A,{direction:"horizontal",gap:4,verticalAlign:"center",children:[(0,n.jsx)(u.Ay,{variant:"medium",colour:"light-foreground-alt",children:(0,n.jsx)(d.A,{id:"kqEQcoVT8wzJzrD-xRhw",defaultMessage:"{value} pending",description:"Pending nights count shown below the nights progress ring in loyalty account tile",values:{value:(0,n.jsx)(A.A,{value:e8})}})}),(0,n.jsx)(x.A,{description:eX,placement:"bottom",children:(0,n.jsx)(ef,{children:(0,n.jsx)(f.A,{size:14})})})]}),tn>0&&(0,n.jsx)(u.Ay,{variant:"medium",colour:"success",weight:"bold",children:(0,n.jsx)(d.A,{id:"a4gu_Ap-UdtYyRbxoG9i",defaultMessage:"+{amount} added",description:"Shows how many nights were earned in the Société rewards notification",values:{amount:(0,n.jsx)(A.A,{value:tn})}})})]})]})]}),t,(0,n.jsxs)(ev,{children:[e9&&(0,n.jsx)(b.A,{size:"small",weight:"bold",to:`/${T.iJ}`,onClick:eZ,children:eq}),(0,n.jsx)(b.A,{size:"small",weight:"bold",to:`/${T.bT}`,onClick:eZ,children:eU})]})]})})]});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(K,{ref:eS,"aria-hidden":!0}),!e_&&(o.isUpgrade&&o.newTier&&N||e0&&U)&&(0,n.jsx)(q(),{autorun:{duration:3,delay:0,speed:1},decorateOptions:eV},R),(0,n.jsx)(I.A,{max:"mobile",dynamic:!0,children:(0,n.jsx)(et,{className:(0,r.A)({"is-open":h}),onMouseEnter:eL,onMouseLeave:eP,children:(0,n.jsx)(P,{config:o,onSpendPoints:eZ,onViewMembership:eZ,onClose:Z.Iw})})}),(0,n.jsx)(I.A,{min:"tablet",dynamic:!0,children:(0,n.jsx)(ee,{className:(0,r.A)({"is-open":h}
1),style:{top:Q},children:tm})})]})}},355112(e,t,i){var n=i(474848),a=i(634164),r=i(161648),o=i(73659),s=i(442530),l=i(731357);let d=(0,i(38267).Ay)(o.Ay).withConfig({componentId:"sc-64e8292-0"})(["border-radius:",";&.size-small{padding:"," ",";}&.size-large{height:",";width:",";display:flex;align-items:center;justify-content:center;}&.tier-bronze{background-color:",";color:",";}&.tier-silver{background-color:",";color:",";}&.tier-gold{background-color:",";color:",";}&.tier-platinum{background-color:",";color:",";}"],e=>e.theme.borderRadius.S,(0,l.D0)(4),(0,l.D0)(8),(0,l.D0)(32),(0,l.D0)(96),e=>e.theme.palette.product.loyalty.bronze.normalBackground,e=>e.theme.palette.product.loyalty.bronze.normalContrast,e=>e.theme.palette.product.loyalty.silver.normalBackground,e=>e.theme.palette.product.loyalty.silver.normalContrast,e=>e.theme.palette.product.loyalty.gold.normalBackground,e=>e.theme.palette.product.loyalty.gold.normalContrast,e=>e.theme.palette.product.loyalty.platinum.normalBackground,e=>e.theme.palette.product.loyalty.platinum.normalContrast);i.d(t,{},{A:function({tier:e,size:t="small"}){return(0,n.jsx)(d,{className:(0,a.A)(`tier-${e}`,`size-${t}`),variant:"large"===t?"large":"medium",as:"large"===t?r.Ay:void 0,align:"center",children:(0,s.A)(e)})}})},626939(e,t,i){var n=i(474848);i(296540);var a=i(848913),r=i(580148),o=i(997305),s=i(546113),l=i(137476),d=i(502448),c=i(217997),u=i(441871);let h={hotel_upgrade:(0,n.jsx)(a.A,{size:"XS"}),airport_transfer:(0,n.jsx)(r.A,{size:"XS"}),lounge_pass:(0,n.jsx)(o.A,{size:"XS"}),discounted_insurance:(0,n.jsx)(s.A,{size:"XS"}),phone_support:(0,n.jsx)(l.A,{size:"XS"}),tour_exp_credit:(0,n.jsx)(d.A,{size:"XS"}),travelshoot_credit:(0,n.jsx)(c.A,{size:"XS"}),early_access:null,esim_package:(0,n.jsx)(u.A,{size:"XS"}),hidden_access:null,family_and_friends_access:null};i.d(t,{},{d:h,o:["hotel_upgrade","lounge_pass","airport_transfer","discounted_insurance","tour_exp_credit","travelshoot_credit","phone_support","esim_package"]})},217857(e,t,i){var n=i(296540),a=i(185692),r=i(910310);i.d(t,{},{A:function(e){let[t,i]=(0,a.Wx)({threshold:.5,triggerOnce:!0});return(0,n.useEffect)(()=>{i&&(0,r.W4)(e)},[i,e]),{impressionRef:t,onPlacementClick:(0,n.useCallback)(()=>{(0,r.fg)(e)},[e])}}})},832810(e,t,i){i(218111),i(22489);var n=i(302885),a=i(626939);i.d(t,{},{A:function(e,t){if(!e?.regionTierBenefits)return[];let i=(e.regionTierBenefits[t]??[]).filter(t=>null!==a.d[t.code]&&e.regionEnabledBenefits[t.code]);return(0,n.Ul)(i,e=>{let t=a.o.indexOf(e.code);return -1===t?a.o.length:t},"asc")}})}}]); 2//# sourceMappingURL=8357.d363543c8b3eb8ef.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.