1(this["webpackJsonp@tictactrip/front"]=this["webpackJsonp@tictactrip/front"]||[]).push([[0],{1370:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n(2);var r=n(4),i=n(1);const o=r.d.svg` 2 ${t=>{let{customStyle:e}=t;return e}} 3`,a=t=>{let{color:e,customStyle:n}=t;return Object(i.jsx)(o,{customStyle:n,fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:Object(i.jsx)("path",{d:"M11 17H5M3 11.5V8.8C3 7.11984 3 6.27976 3.32698 5.63803C3.6146 5.07354 4.07354 4.6146 4.63803 4.32698C5.27976 4 6.11984 4 7.8 4H16.2C17.8802 4 18.7202 4 19.362 4.32698C19.9265 4.6146 20.3854 5.07354 20.673 5.63803C21 6.27976 21 7.11984 21 8.8V17.2C21 18.8802 21 19.7202 20.673 20.362C20.3854 20.9265 19.9265 21.3854 19.362 21.673C18.7202 22 17.8802 22 16.2 22H11.5M3 10H21M8 2V6M16 2V6M6 14L4.5 17L6 20",stroke:null!==e&&void 0!==e?e:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})}},4468:function(t,e,n){"use strict";var r=n(2),i=n(6),o=n(4),a=n(126),d=n(865),c=n(823),s=n(943),l=n(11),u=n(38),p=n(1);const m=o.c` 4 ${u.c} 5 transform: rotateY(180deg); 6`;var h=t=>{let{children:e,closeButtonRef:n,onClose:r,testid:i,title:o}=t;return Object(p.jsxs)(c.b,{"data-testid":i,desktopBreakpoint:l.d.md,children:[Object(p.jsxs)(c.d,{children:[Object(p.jsx)(c.a,{ref:n,onClick:t=>r(t),type:"button",children:Object(p.jsx)(s.a,{color:l.a.text,customStyle:m})}),Object(p.jsx)(c.g,{children:o})]}),Object(p.jsx)(c.c,{children:e})]})},b=n(914),f=n(260);const g=o.d.div` 7 ${{position:"absolute",zIndex:"1"}} 8 inset: 0; 9 ${t=>{let{customStyle:e}=t;return e}} 10`,x=Object(o.d)(c.f)` 11 ${{paddingBottom:"16px",display:"flex",flexDirection:"column"}} 12 gap:var(--size-medium); 13`,j=o.d.div` 14 ${{position:"sticky",backgroundColor:"#FFFFFF"}} 15 top:0; 16`,v=o.d.div` 17 ${{display:"flex",flexDirection:"column"}} 18 gap:var(--size-medium) 19`,w=o.d.span` 20 ${{fontWeight:700,fontFamily:'"kyrial-display-pro", "HankenGrotesk", "system-ui", "BlinkMacSystemFont", "-apple-system", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "sans-serif"',fontSize:"1.6rem",lineHeight:"24px","@media (min-width: 768px)":{fontSize:"1.6rem",lineHeight:"24px"}}} 21`,y=o.d.div` 22 ${{display:"flex",flexDirection:"column"}} 23 gap:var(--size-small) 24`,C=t=>{let{discountCards:e,onDiscountCardChange:n,selectedDiscountCard:r}=t;return Object(p.jsxs)(v,{children:[Object(p.jsx)(w,{children:"SNCF"}),Object(p.jsx)(y,{children:e.map(((t,e)=>{const i=(null===r||void 0===r?void 0:r.id)===t.id;return Object(p.jsx)(d.a,{control:Object(p.jsx)(a.a,{checked:i,"data-testid":b.p,isRounded:!0,name:"discountCards",onChange:()=>n(t),type:"radio"}),isHighlighted:i,label:t.label,labelPlacement:"start",spaceBetween:!0},e)}))})]})};e.a=t=>{let{customStyle:e,getDiscountCards:n,onClose:o,onDiscountCardChange:c,selectedDiscountCard:s}=t;const[l,u]=Object(r.useState)([]),m=Object(r.useRef)(null);return Object(r.useEffect)((()=>{n().then(u)}),[]),Object(p.jsx)(g,{customStyle:e,children:Object(p.jsx)(h,{closeButtonRef:m,onClose:o,testid:b.o,title:Object(p.jsx)(i.FormattedMessage,{...f.a.discountCardsPanelOverlayTitle}),children:Object(p.jsxs)(x,{children:[Object(p.jsx)(j,{children:Object(p.jsx)(d.a,{control:Object(p.jsx)(a.a,{checked:!s,isRounded:!0,name:"discountCards",onChange:()=>{var t;c(null),null===(t=m.current)||void 0===t||t.click()},type:"radio"}),isHighlighted:null===s,label:Object(p.jsx)(i.FormattedMessage,{...f.a.discountCardsPanelNoDiscountCard}),labelPlacement:"start",spaceBetween:!0})}),Object(p.jsx)(C,{discountCards:l.reduce(((t,e)=>(null===s||void 0===s?void 0:s.id)===e.id?[e,...t]:[...t,e]),[]),onDiscountCardChange:t=>{var e;c(t),null===(e=m.current)||void 0===e||e.click()},selectedDiscountCard:s})]})})})}},823:function(t,e,n){"use strict";n.d(e,"i",(function(){return o})),n.d(e,"h",(function(){return a})),n.d(e,"f",(function(){return d})),n.d(e,"b",(function(){return c})),n.d(e,"d",(function(){return s})),n.d(e,"g",(function(){return l})),n.d(e,"e",(function(){return u})),n.d(e,"a",(function(){return p})),n.d(e,"c",(function(){return m}));var r=n(4),i=n(341);const o=r.c` 25 ${{paddingLeft:"24px",paddingRight:"24px"}} 26`,a=r.d.div` 27 ${{paddingLeft:"24px",paddingRight:"24px"}} 28`,d=Object(r.d)(a)` 29 ${{maxHeight:"100%",overflowY:"auto"}} 30`,c=r.d.div` 31 ${{width:"100%",height:"100%",backgroundColor:"#FFFFFF",borderTopLeftRadius:"30px",borderTopRightRadius:"30px",paddingTop:"16px",overflow:"hidden",display:"flex",flexDirection:"column"}} 32 33 ${t=>{let{desktopBreakpoint:e}=t;return r.c` 34 @media (min-width: ${e}
34px) { 35 ${{borderRadius:"30px",paddingBottom:"24px"}} 36 } 37 `}} 38 39 ${t=>{let{withCTA:e}=t;return e&&{"@media (min-width: 768px)":{paddingBottom:"0"}}}} 40 ${t=>{let{desktopBreakpoint:e,withFunnelMobileHeader:n}=t;return n&&r.c` 41 ${{borderTopLeftRadius:"0",borderTopRightRadius:"0",paddingTop:"0",backgroundColor:"#ECEDF5"}} 42 @media (min-width: ${e}px) { 43 ${{backgroundColor:"#FFFFFF",paddingTop:"16px"}} 44 } 45 `}} 46`,s=Object(r.d)(a)` 47 ${{display:"flex",marginBottom:"16px",alignItems:"center"}} 48 gap:var(--size-medium); 49 min-height: 50px; 50`,l=Object(r.d)(i.e)` 51 ${{paddingTop:"8px",paddingBottom:"8px","@media (min-width: 768px)":{fontSize:"1.8rem",lineHeight:"auto"}}} 52 flex:1; 53`,u=r.d.img` 54 width: 40px; 55`,p=r.d.button` 56 ${{padding:"0"}} 57`,m=r.d.div` 58 ${{height:"100%",display:"flex",flexDirection:"column",overflow:"auto"}} 59`},824:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return o}));var r=n(4);const i=r.d.div` 60 ${{paddingLeft:"24px",paddingRight:"24px","@media (min-width: 992px)":{paddingLeft:"0",paddingRight:"0"}}} 61 @media (min-width: 992px) { 62 display: grid !important; 63 grid-template-columns: repeat(12, 1fr); 64 grid-column-gap: var(--size-medium2); 65 grid-row-gap: var(--size-medium2); 66 } 67 68 @media (min-width: 1440px) { 69 padding: 0 116px; 70 } 71`,o=r.d.div` 72 @media (min-width: 992px) { 73 grid-column-start: 3; 74 grid-column-end: 8; 75 } 76`,a=r.d.div` 77 ${{display:"none","@media (min-width: 992px)":{display:"block"}}} 78 79 @media (min-width: 992px) { 80 grid-column-start: 8; 81 grid-column-end: 11; 82 } 83`,d=r.d.div` 84 @media (min-width: 992px) { 85 grid-column-start: 3; 86 grid-column-end: 11; 87 } 88`},825:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return c}));var r=n(4);const i=Object(r.e)(["from{transform:translateX(0px);}to{transform:translateX(5px);}"]),o=Object(r.e)(["from{transform:translateX(5px);}to{transform:translateX(0px);}"]),a=(Object(r.e)(["from{opacity:0;transform:translateY(-40%);}to{opacity:1;transform:translateY(0%);}"]),Object(r.e)(["from{opacity:0;transform:translateY(100%);}to{opacity:1;transform:translateY(0%);}"]),Object(r.e)(["from{opacity:0;transform:translateX(25%);}to{opacity:1;transform:translateX(0%);}"]),Object(r.e)(["from{opacity:1;transform:translateX(0%);}to{opacity:0;transform:translateX(25%);}"]),Object(r.e)(["from{opacity:0;}to{opacity:1;}"])),d=Object(r.e)(["from{opacity:1;}to{opacity:0;}"]),c=(Object(r.e)(["from{opacity:0;transform:translateX(-10%);}to{opacity:1;transform:translateX(0%);}"]),Object(r.e)(["from{max-height:200px;}to{max-height:1000px;}"]),Object(r.e)(["from{background-position:200% 0;}to{background-position:0 0;}"]))},826:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n(2);var r=n(4),i=n(1);let o=function(t){return t.ERROR="error",t.WARNING="warning",t.SUCCESS="success",t}({});const a=r.d.div` 89 ${{paddingLeft:"16px",paddingRight:"16px",paddingTop:"8px",paddingBottom:"8px",borderRadius:"30px",display:"flex",fontSize:"1.4rem",lineHeight:"26px"}} 90 gap: var(--size-small); 91 92 ${t=>{let{type:e}=t;switch(e){case o.ERROR:return r.c` 93 ${{backgroundColor:"#FFF0EB",borderColor:"#E54910",borderWidth:"1px",borderStyle:"solid"}} 94 `;case o.SUCCESS:return r.c` 95 ${{backgroundColor:"#E2FFF7",borderColor:"#1EBF90",borderWidth:"1px",borderStyle:"solid"}} 96 `;case o.WARNING:return r.c` 97 ${{backgroundColor:"#FFF9EA",borderColor:"#FEC03F",borderWidth:"1px",borderStyle:"solid"}} 98 `;default:return null}}} 99 100 ${t=>{let{customStyle:e}=t;return e}} 101`;e.b=t=>Object(i.jsxs)(a,{...t,children:[t.icon,Object(i.jsx)("div",{children:t.children})]})},828:function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return v}));var r=n(2),i=n.n(r),o=n(4),a=n(833),d=n(62),c=n(146),s=n(206),l=n(11),u=n(86),p=n(832),m=n(855),h=n(823);var b=n(1);const f=t=>{let{children:e,closeButtonRef:n,CTAButtonContent:r,CTAContainerStyle:o,CTALeftContent:u,headerImage:f,isCTAButtonDisabled:g,isCTAButtonLoading:x,onClose:j,onCTAButtonClick:w,testid:y,title:C,withFunnelMobileHeader:O,withoutHeader:S,withoutNodiImage:$,desktopBreakpoint:k=l.d.md,CTAButtonFormId:B,CTAButtonId:F,CTALoadingMessage:R}=t;const L=Object(a.a)();return Object(b.jsxs)(h.b,{"data-testid":y,desktopBreakpoint:k,withCTA:!!r,withFunnelMobileHeader:O,children:[!S&&Object(b.jsx)(i.a.Fragment,{children:L>=k||!O?Object(b.jsxs)(h.d,{children:[!$&&Object(b.jsx)("div",{children:f?Object(b.jsx)(h.e,{alt:f.alt,src:f.src,srcSet:f.srcSet}):Object(b.jsx)(h.e,{alt:"Nodi",src:s.a})}),Object(b.jsx)(h.g,{children:C}),Object(b.jsx)(h.a,{ref:n,"data-testid":"panel-close-button",onClick:t=>j(t),type:"button",children:Object(b.jsx)(c.a,{color:l.a.text})})]}):Object(b.jsx)(m.a,{Container:p.c,leftButtonIcon:Object(b.jsx)(d.a,{}),onLeftButtonClick:t=>j(t),children:Object(b.jsx)(h.g,{style:{color:"#FFFFFF"},children:C})})}),Object(b.jsx)(h.c,{children:e}
101),r&&Object(b.jsx)(v,{containerStyle:o,disabled:g,form:B,id:F,isLoading:x,leftContent:u,loadingMessage:R,onClick:w,children:r})]})},g=Object(o.d)(h.h)` 102 border-top: 1px solid; 103 ${{width:"100%",paddingTop:"16px",paddingBottom:"16px",backgroundColor:"#FFFFFF",borderColor:"#C4C8DE",display:"flex",alignItems:"center"}} 104 padding-bottom: max(var(--size-medium), env(safe-area-inset-bottom)); 105 gap: var(--size-big); 106 107 ${t=>{let{customStyle:e}=t;return e}}; 108`,x=o.d.div` 109 ${{whiteSpace:"nowrap"}} 110`,j=o.c` 111 ${{width:"100%"}} 112`,v=t=>{let{children:e,containerStyle:n,disabled:r,form:i,isLoading:o,leftContent:a,loadingMessage:d,onClick:c,...s}=t;return Object(b.jsxs)(g,{customStyle:n,children:[a&&Object(b.jsx)(x,{children:a}),Object(b.jsx)(u.b,{css:j,"data-testid":"panel-cta-button",disabled:r,form:i,isLoading:o,loadingMessage:d,onClick:c,type:i?"submit":"button",variant:"PRIMARY",...s,children:e})]})}},830:function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"c",(function(){return x}));var r=n(2),i=n(4),o=n(885),a=n(825),d=n(831),c=n(826);n.d(e,"b",(function(){return c.a}));var s=n(852),l=n(860),u=n(11),p=n(854),m=n(1);const h={error:Object(m.jsx)(l.a,{color:u.a["toast-error"]}),warning:Object(m.jsx)(l.a,{color:u.a["toast-warning"]}),success:Object(m.jsx)(s.a,{color:u.a["toast-success"]})},b=i.d.div` 113 animation: ${Object(d.b)(10,0)} 350ms cubic-bezier(0, 0, 0.2, 1), 114 ${a.a} 350ms cubic-bezier(0, 0, 0.2, 1); 115 116 ${t=>{let{isRemoving:e}=t;return e&&i.c` 117 animation: ${Object(d.b)(0,10)} 350ms cubic-bezier(0, 0, 0.2, 1), 118 ${a.b} 350ms cubic-bezier(0, 0, 0.2, 1); 119 `}} 120 ${t=>{let{customStyle:e}=t;return e}} 121`,f=t=>{let{children:e,customStyle:n,duration:i,icon:o,onDelete:a,type:d}=t;const{delay:s,isPending:l}=Object(p.a)();return Object(r.useEffect)((()=>{let t;return i!==1/0&&(t=setTimeout((()=>s(a,348)),i)),()=>{t&&clearTimeout(t)}}),[i]),Object(m.jsx)(b,{customStyle:n,isRemoving:l,children:Object(m.jsx)(c.b,{children:e,icon:null!==o&&void 0!==o?o:h[d],type:d})})},g=i.d.div` 122 ${{position:"absolute",display:"flex",flexDirection:"column"}} 123 bottom: 0; 124 left: 0; 125 right: 0; 126 padding-left: inherit; 127 padding-right: inherit; 128 gap: var(--size-small); 129 130 ${t=>{let{customStyle:e}=t;return e}} 131`,x=t=>{const[e,n]=Object(r.useState)([]),i=Object(r.useCallback)((function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{removeOthers:r=!1}=e,i=Object(o.a)(),a={...t,id:i};return n((t=>r?[a]:[...t,a])),i}),[]),a=Object(r.useCallback)((t=>{n((e=>e.filter((e=>e.id!==t))))}),[]),d=Object(r.useMemo)((()=>Object(m.jsx)(g,{customStyle:t,children:e.map((t=>Object(m.jsx)(f,{duration:t.duration,icon:t.icon,onDelete:()=>a(t.id),type:t.type,children:t.message},t.id)))})),[t,e,a]);return{add:i,remove:a,ToastsComponent:d}}},831:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var r=n(4);const i=(t,e)=>r.e` 132 0% { 133 transform: translateY(${t}px); 134 } 135 100% { 136 transform: translateY(${e}px); 137 } 138`,o=(t,e)=>r.e` 139 0% { 140 transform: translateX(${t}px); 141 } 142 100% { 143 transform: translateX(${e}px); 144 } 145`},832:function(t,e,n){"use strict";n.d(e,"c",(function(){return f})),n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return x}));var r=n(4),i=n.p+"static/media/Illu-pastille-flag.c7ef6f26.png",o=n.p+"static/media/landscape.333395ad.svg",a=n(850),d=n(143),c=n(824),s=n(1);const l=Object(r.d)(c.b)` 146 ${{position:"relative","@media (min-width: 992px)":{paddingTop:"48px"}}} 147 148 @media (max-width: 992px) { 149 ${{paddingLeft:"0",paddingRight:"0"}} 150 } 151 152 background: url(${d.a}), 153 linear-gradient(97.78deg, #f5f4ec 0.37%, #edfdf9 92.55%); 154`,u=r.d.img` 155 ${{display:"none","@media (min-width: 992px)":{display:"block",position:"absolute"}}} 156 width: 217px; 157 height: 164px; 158 left: -31px; 159 top: -40px; 160 transform: rotate(94deg); 161`,p=r.d.div` 162 ${{position:"absolute",display:"none","@media (min-width: 992px)":{display:"block"}}} 163 164 right: 0; 165 bottom: 0; 166`,m=r.d.div` 167 ${{position:"relative"}} 168`,h=r.d.img` 169 ${{position:"absolute"}} 170 width: 122px; 171 height: 122px; 172 173 left: -60px; 174 top: -32px; 175`,b=r.c` 176 ${{backgroundColor:"#6A49F9","@media (min-width: 992px)":{zIndex:"1",borderTopRightRadius:"30px",borderTopLeftRadius:"30px"}}} 177 178 padding-top: env(safe-area-inset-top); 179 180 @media (min-width: 992px) { 181 min-height: 149px; 182 } 183`,f=Object(r.d)(c.d)` 184 ${b} 185 ${{"@media (min-width: 992px)":{borderTopRightRadius:"0"}}} 186 187 @media (min-width: 992px) { 188 margin-left: calc(var(--size-medium2) * -1); 189 } 190`,g=Object(r.d)(c.a)` 191 ${b} 192 ${{position:"relative","@media (min-width: 992px)":{borderTopLeftRadius:"0"}}} 193 194 @media (min-width: 992px) { 195 margin-left: calc(var(--size-medium2) * -1); 196 margin-right: calc(var(--size-medium2) * -1); 197 } 198`,x=Object(r.d)(c.c)` 199 ${b} 200 201 @media (min-width: 992px) { 202 margin-left: calc(var(--size-medium2) * -1); 203 margin-right: calc(var(--size-medium2) * -1); 204 } 205`;e.d=t=>{let{children:e,withFlag:n}=t;return Object(s.jsxs)(l,{children:[Object(s.jsx)(u,{alt:"Line",loading:"lazy",src:a.a}),Object(s.jsx)(p,{children:Object(s.jsxs)(m,{children:[Object(s.jsx)("img",{alt:"Landscape",loading:"lazy",src:o}),n?Object(s.jsx)(h,{alt:"Flag",loading:"lazy",src:i}):null]})}),e]})}},833:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(2);function i(){const[t,e]=Object(r.useState)(window.innerWidth);return Object(r.useEffect)((()=>{function t(){e(window.innerWidth)}return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}),[]),t}},835:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));const r=()=>{const t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.top=`-${t}px`},i=()=>{document.body.style.overflow="",document.body.style.position="";const t=parseInt(document.body.style.top,10);document.body.style.top="",t&&window.scrollTo({top:Math.abs(t),behavior:"instant"})}},850:function(t,e,n){"use strict";e.a=n.p+"static/media/line.fd8c5f28.svg"},852:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n(2);var r=n(4),i=n(1);const o=r.d.svg` 206 ${t=>{let{customStyle:e}=t;return e}} 207`,a=t=>{let{color:e,customStyle:n}=t;return Object(i.jsx)(o,{customStyle:n,fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:Object(i.jsx)("path",{d:"M20 6L9 17L4 12",stroke:null!==e&&void 0!==e?e:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})}},854:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(2);const i=()=>{const[t,e]=Object(r.useState)(!1),n=Object(r.useRef)(null);function i(){n.current&&clearTimeout(n.current)}return Object(r.useEffect)((()=>i),[]),{isPending:t,delay:function(t,r){i(),e(!0),n.current=setTimeout((()=>{e(!1),t()}),r)},cancel:i}}},855:function(t,e,n){"use strict";var r=n(4),i=n(856),o=n(1);const a=r.d.div`
208 ${{width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"24px",paddingRight:"24px",display:"flex",justifyContent:"space-between"}} 209 gap:var(--size-medium); 210 min-height: 80px; 211 212 ${t=>{let{customStyle:e}=t;return e}} 213`,d=r.d.button` 214 ${t=>{let{customStyle:e}=t;return e}} 215`;e.a=t=>{let{children:e,Container:n,customStyle:r,footer:c,leftButtonCustomStyle:s,leftButtonIcon:l,leftButtonId:u,onLeftButtonClick:p,onRightButtonClick:m,rightButtonCustomStyle:h,rightButtonIcon:b,rightButtonId:f}=t;return Object(o.jsxs)(n,{children:[Object(o.jsxs)(a,{customStyle:r,children:[l&&Object(o.jsx)(d,{customStyle:s,"data-testid":i.a,id:u,onClick:p,children:l}),e,b&&Object(o.jsx)(d,{customStyle:h,"data-testid":i.b,id:f,onClick:m,children:b})]}),c]})}},856:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));const r="funnel-recap",i="funnel-navigation-left-button",o="funnel-navigation-right-button"},860:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n(2);var r=n(4),i=n(1);const o=r.d.svg` 216 ${t=>{let{customStyle:e}=t;return e}} 217`,a=t=>{let{color:e,customStyle:n}=t;return Object(i.jsx)(o,{customStyle:n,fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:Object(i.jsx)("path",{d:"M11.9998 9.00023V13.0002M11.9998 17.0002H12.0098M10.6151 3.89195L2.39019 18.0986C1.93398 18.8866 1.70588 19.2806 1.73959 19.6039C1.769 19.886 1.91677 20.1423 2.14613 20.309C2.40908 20.5002 2.86435 20.5002 3.77487 20.5002H20.2246C21.1352 20.5002 21.5904 20.5002 21.8534 20.309C22.0827 20.1423 22.2305 19.886 22.2599 19.6039C22.2936 19.2806 22.0655 18.8866 21.6093 18.0986L13.3844 3.89195C12.9299 3.10679 12.7026 2.71421 12.4061 2.58235C12.1474 2.46734 11.8521 2.46734 11.5935 2.58235C11.2969 2.71421 11.0696 3.10679 10.6151 3.89195Z",stroke:null!==e&&void 0!==e?e:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})}},863:function(t,e,n){"use strict";var r=n(2),i=n(4),o=n(825),a=n(831),d=n(835),c=n(833),s=n(11),l=n(1);const u="350ms ease-in-out",p=i.c` 218 ${{padding:"24px",display:"flex",alignItems:"center",justifyContent:"center"}} 219`,m=i.c` 220 ${{borderRadius:"30px",padding:"24px"}} 221 height:auto; 222 max-height: 100%; 223 overflow-y: scroll; 224`,h=i.d.div` 225 ${{backgroundColor:"rgba(58, 53, 70, 0.6)",zIndex:"5",position:"fixed",width:"100%",display:"flex",paddingTop:"32px","@media (min-width: 768px)":{backgroundColor:"rgba(58, 53, 70, 0.6)",zIndex:"5",position:"fixed",paddingTop:"0"}}} 226 227 inset: 0; 228 229 ${t=>{let{withoutMobileModal:e}=t;return e&&{position:"static",backgroundColor:"transparent",zIndex:"0",paddingTop:"0"}}} 230 ${t=>{let{withoutDesktopModal:e}=t;return e&&{"@media (min-width: 768px)":{position:"static",backgroundColor:"transparent",zIndex:"0"}}}} 231 ${t=>{let{isMobileFullscreen:e}=t;return e&&{paddingTop:"0"}}} 232 233 ${t=>{let{variant:e}=t;if("SECONDARY"===e)return p}} 234 235 ${t=>{let{customStyle:e}=t;return e}} 236`,b=i.d.div` 237 ${{position:"relative",width:"100%",height:"100%",boxShadow:"0px 0px 30px rgba(157, 163, 206, 0.2)",backgroundColor:"#FFFFFF",borderTopLeftRadius:"30px",borderTopRightRadius:"30px","@media (min-width: 768px)":{borderRadius:"30px",boxShadow:"0px 1px 10px rgba(157, 163, 206, 0.2)"}}} 238 239 animation: ${Object(a.b)(10,0)} ${u}, 240 ${o.a} ${u}; 241 242 @media (min-width: ${s.c.md}) { 243 animation: ${Object(a.a)(-10,0)} ${u}, 244 ${o.a} ${u}; 245 246 width: 70vw; 247 max-width: 513px; 248 max-height: 80vh; 249 margin: auto; 250 } 251 252 ${t=>{let{withoutDesktopModal:e}=t;return e&&i.c` 253 ${{"@media (min-width: 768px)":{boxShadow:"none",margin:"0"}}} 254 `}} 255 256 ${t=>{let{withoutMobileModal:e}=t;return e&&i.c` 257 @media (max-width: ${s.c.md}) { 258 animation: none; 259 ${{boxShadow:"none",margin:"0"}} 260 } 261 `}} 262 263 ${t=>{let{variant:e}=t;if("SECONDARY"===e)return m}} 264 265 ${t=>{let{customStyle:e}=t;return e}} 266`;e.a=t=>{let{children:e,containerStyle:n,isMobileFullscreen:i,onBackgroundClick:o,testid:a,variant:u,withoutDesktopModal:p,withoutMobileModal:m,wrapperStyle:f}=t;const g=Object(c.a)();return Object(r.useEffect)((()=>(g<s.d.md&&!m||g>=s.d.md&&!p?Object(d.a)():Object(d.b)(),()=>{Object(d.b)()})),[g,p,m]),Object(l.jsx)(h,{customStyle:n,"data-testid":a,isMobileFullscreen:i,onClick:()=>null===o||void 0===o?void 0:o(),variant:u,withoutDesktopModal:p,withoutMobileModal:m,children:Object(l.jsx)(b,{customStyle:f,onClick:t=>t.stopPropagation(),variant:u,withoutDesktopModal:p,withoutMobileModal:m,children:e})})}},865:function(t,e,n){"use strict";n(2);var r=n(4),i=n(141),o=n(1);const a=Object(r.d)(i.c)` 267 ${{flex:1,paddingTop:"8px",paddingBottom:"8px",width:"100%"}} 268 ${t=>{let{customStyle:e}=t;return e}} 269`,d=r.d.label` 270 ${{display:"flex",alignItems:"center",paddingLeft:"16px",paddingRight:"16px",cursor:"pointer"}} 271 gap: var(--size-small); 272 273 & input:disabled + ${a} {
274 ${{color:"#C4C8DE",cursor:"not-allowed"}} 275 } 276 277 ${t=>{let{labelPlacement:e}=t;switch(e){case"start":return{flexDirection:"row-reverse",justifyContent:"flex-end"};case"end":default:return;case"top":return{flexDirection:"column-reverse",alignItems:"flex-start"}}}} 278 279 ${t=>{let{spaceBetween:e}=t;return e&&{justifyContent:"space-between",width:"100%"}}} 280 281 ${t=>{let{isHighlighted:e}=t;return e&&{backgroundColor:"#ECEDF5"}}} 282 283 ${t=>{let{customStyle:e}=t;return e}} 284`;e.a=t=>{let{control:e,customStyle:n,id:r,isHighlighted:i,label:c,labelPlacement:s,labelWrapperCustomStyle:l,spaceBetween:u}=t;return Object(o.jsxs)(d,{customStyle:n,id:r,isHighlighted:i,labelPlacement:s,spaceBetween:u,children:[e,Object(o.jsx)(a,{as:"div",customStyle:l,children:c})]})}},866:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(4),i=n(62),o=n(11),a=n(38),d=n(1);const c=r.d.select` 285 ${{width:"100%",height:"100%",backgroundColor:"#FFFFFF",borderRadius:"15px",paddingTop:"0",paddingBottom:"0",paddingLeft:"16px",paddingRight:"32px",borderWidth:"1px",borderStyle:"solid",borderColor:"#C4C8DE",outline:0,color:"#353746",fontWeight:700,fontSize:"1.6rem",lineHeight:"30px",":focus":{borderColor:"#6A49F9"}}} 286 287 appearance: none; 288 289 &:focus { 290 box-shadow: 0 0 0 1px ${o.a["primary-400"]}; 291 } 292 293 ::placeholder { 294 color: ${o.a.placeHolders}; 295 } 296 297 ${t=>{let{disabled:e}=t;return e&&{backgroundColor:"#F6F6F6",color:"#92939B"}}} 298`,s=r.d.div` 299 ${{position:"relative"}} 300 height:60px; 301 ${t=>{let{customStyle:e}=t;return e}} 302`,l=r.c` 303 ${{position:"absolute"}} 304 ${a.a} 305 pointer-events: none; 306 transform: translateY(-50%) rotate(270deg); 307 308 right: var(--size-medium); 309 top: 50%; 310`,u=t=>Object(d.jsxs)(s,{customStyle:t.customStyle,children:[Object(d.jsx)(c,{...t,ref:t.inputRef}),Object(d.jsx)(i.a,{color:o.a.text,customStyle:l})]})},868:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n(2);var r=n(4),i=n(1);const o=r.d.svg` 311 ${t=>{let{customStyle:e}=t;return e}} 312`,a=t=>{let{color:e,customStyle:n}=t;return Object(i.jsx)(o,{customStyle:n,fill:"none",height:"19",viewBox:"0 0 18 19",width:"18",xmlns:"http://www.w3.org/2000/svg",children:Object(i.jsx)("path",{d:"M9 4.25V14.75M3.75 9.5H14.25",stroke:null!==e&&void 0!==e?e:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})}},883:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n(2);var r=n(4),i=n(1);const o=r.d.svg` 313 ${t=>{let{customStyle:e}=t;return e}} 314`,a=t=>{let{color:e,customStyle:n}=t;return Object(i.jsx)(o,{customStyle:n,fill:"none",height:"25",viewBox:"0 0 24 25",width:"24",xmlns:"http://www.w3.org/2000/svg",children:Object(i.jsx)("path",{d:"M21 18.5002L19.9999 19.5943C19.4695 20.1744 18.7501 20.5002 18.0001 20.5002C17.2501 20.5002 16.5308 20.1744 16.0004 19.5943C15.4692 19.0154 14.75 18.6903 14.0002 18.6903C13.2504 18.6903 12.5311 19.0154 12 19.5943M3 20.5002H4.67454C5.16372 20.5002 5.40832 20.5002 5.63849 20.445C5.84256 20.396 6.03765 20.3152 6.2166 20.2055C6.41843 20.0818 6.59138 19.9089 6.93729 19.563L19.5 7.00023C20.3285 6.1718 20.3285 4.82865 19.5 4.00023C18.6716 3.1718 17.3285 3.1718 16.5 4.00023L3.93726 16.563C3.59136 16.9089 3.4184 17.0818 3.29472 17.2837C3.18506 17.4626 3.10425 17.6577 3.05526 17.8618C3 18.0919 3 18.3365 3 18.8257V20.5002Z",stroke:null!==e&&void 0!==e?e:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})}},914:function(t,e,n){"use strict";n.d(e,"e",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"c",(function(){return d})),n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return s})),n.d(e,"F",(function(){return l})),n.d(e,"G",(function(){return u})),n.d(e,"j",(function(){return p})),n.d(e,"n",(function(){return m})),n.d(e,"A",(function(){return h})),n.d(e,"q",(function(){return b})),n.d(e,"m",(function(){return f})),n.d(e,"t",(function(){return g})),n.d(e,"z",(function(){return x})),n.d(e,"h",(function(){return j})),n.d(e,"k",(function(){return v})),n.d(e,"w",(function(){return w})),n.d(e,"l",(function(){return y})),n.d(e,"x",(function(){return C})),n.d(e,"i",(function(){return O})),n.d(e,"v",(function(){return S})),n.d(e,"r",(function(){return $})),n.d(e,"s",(function(){return k})),n.d(e,"g",(function(){return B})),n.d(e,"u",(function(){return F})),n.d(e,"E",(function(){return R})),n.d(e,"D",(function(){return L})),n.d(e,"o",(function(){return M})),n.d(e,"p",(function(){return T})),n.d(e,"C",(function(){return D})),n.d(e,"B",(function(){return z})),n.d(e,"y",(function(){return I}));var r=n(12);const i=18,o=100,a=350,d=6,c=22,s=2,l=27,u=0,p="travelSearchBarDepartureCityInput",m="travelSearchBarArrivalCityInput",h="travelSearchBarSwitchCitiesButtonn",b
314="travelSearchBarOriginCitiesPanel",f="travelSearchBarDestinationCitiesPanel",g="travelSearchBarPopularCities",x="travelSearchBarSuggestedCities",j="travelSearchBarCity",v="travelSearchBarDepartureDateInput",w="travelSearchBarReturnDateInput",y="travelSearchBarDepartureDatePanel",C="travelSearchBarReturnDatePanel",O="travelSearchBarDateTimeSelector",S="travelSearchBarRemoveReturnDateButtonn",$="travelSearchBarPassengersInput",k="travelSearchBarPassengersPanel",B={[r.e.ADULT]:"travelSearchBarAddAdultPassengerButton",[r.e.SENIOR]:"travelSearchBarAddSeniorPassengerButton",[r.e.YOUNG]:"travelSearchBarAddYoungPassengerButton"},F={[r.e.ADULT]:"travelSearchBarRemoveAdultPassengerButton",[r.e.SENIOR]:"travelSearchBarRemoveSeniorPassengerButton",[r.e.YOUNG]:"travelSearchBarRemoveYoungPassengerButton"},R={[r.e.ADULT]:"travelSearchBarUpdateAdultDiscountCardButton",[r.e.SENIOR]:"travelSearchBarUpdateSeniorDiscountCardButton",[r.e.YOUNG]:"travelSearchBarUpdateYoungDiscountCardButton"},L="travelSearchBarUpdatePassengerAgeSelector",M="travelSearchBarDiscountCardPanel",T="travelSearchBarDiscountCard",D="travelSearchBarTrainTab",z="travelSearchBarTrainHotelTab",I="travelSearchBarSubmitButton"},941:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n(2);var r=n(4),i=n(1);const o=r.d.svg` 315 ${t=>{let{customStyle:e}=t;return e}} 316`,a=t=>{let{color:e,customStyle:n}=t;return Object(i.jsx)(o,{customStyle:n,fill:"none",height:"18",viewBox:"0 0 19 18",width:"19",xmlns:"http://www.w3.org/2000/svg",children:Object(i.jsx)("path",{d:"M13.25 3V15M13.25 15L10.25 12M13.25 15L16.25 12M5.75 15V3M5.75 3L2.75 6M5.75 3L8.75 6",stroke:null!==e&&void 0!==e?e:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})}},942:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n(2);var r=n(4),i=n(1);const o=r.d.svg` 317 ${t=>{let{customStyle:e}=t;return e}} 318`,a=t=>{let{color:e,customStyle:n}=t;return Object(i.jsx)(o,{customStyle:n,fill:"none",height:"19",viewBox:"0 0 18 19",width:"18",xmlns:"http://www.w3.org/2000/svg",children:Object(i.jsx)("path",{d:"M3.75 9.5H14.25",stroke:null!==e&&void 0!==e?e:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})}},943:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n(2);var r=n(4),i=n(1);const o=r.d.svg` 319 ${t=>{let{customStyle:e}=t;return e}} 320`,a=t=>{let{color:e,customStyle:n}=t;return Object(i.jsx)(o,{customStyle:n,fill:"none",height:"18",viewBox:"0 0 18 18",width:"18",xmlns:"http://www.w3.org/2000/svg",children:Object(i.jsx)("path",{d:"M3 9H15M15 9L10.5 4.5M15 9L10.5 13.5",stroke:null!==e&&void 0!==e?e:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})}}}]); 321//# sourceMappingURL=0.f8842e94.chunk.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.