1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6675],{14428:function(e,t,n){Promise.resolve().then(n.bind(n,5424)),Promise.resolve().then(n.bind(n,97370)),Promise.resolve().then(n.bind(n,81523)),Promise.resolve().then(n.bind(n,70049)),Promise.resolve().then(n.bind(n,44419)),Promise.resolve().then(n.bind(n,1148)),Promise.resolve().then(n.bind(n,1265)),Promise.resolve().then(n.bind(n,62807)),Promise.resolve().then(n.bind(n,33743)),Promise.resolve().then(n.bind(n,14693)),Promise.resolve().then(n.bind(n,32021)),Promise.resolve().then(n.bind(n,14170)),Promise.resolve().then(n.bind(n,52058)),Promise.resolve().then(n.bind(n,6140)),Promise.resolve().then(n.bind(n,31353))},5424:function(e,t,n){"use strict";n.r(t),n.d(t,{boxClasses:function(){return r.Z},default:function(){return i.Z}});var i=n(63832),r=n(31194)},97370:function(e,t,n){"use strict";n.r(t),n.d(t,{containerClasses:function(){return s},default:function(){return i.Z},getContainerUtilityClass:function(){return a}});var i=n(98489),r=n(94143),o=n(50738);function a(e){return(0,o.ZP)("MuiContainer",e)}var s=(0,r.Z)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"])},81523:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}});let i=n(18993);function r(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new i.BailoutToCSRError(t);return n}},70049:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return o}});let i=n(57437),r=n(20544);function o(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=(0,r.getExpectedRequestStore)("next/dynamic css"),o=[];if(n.reactLoadableManifest&&t){let e=n.reactLoadableManifest;for(let n of t){if(!e[n])continue;let t=e[n].files.filter(e=>e.endsWith(".css"));o.push(...t)}}return 0===o.length?null:(0,i.jsx)(i.Fragment,{children:o.map(e=>(0,i.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:n.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},65230:function(e,t,n){"use strict";n.d(t,{HE:function(){return l},YA:function(){return a},h9:function(){return s},ig:function(){return c}});var i=n(60759),r=n.n(i),o=n(98876);let a=r().icon({iconUrl:o.tT.slipwayIcon,iconSize:[38,38],iconAnchor:[10,40],popupAnchor:[10,-40]}),s=r().icon({iconUrl:o.tT.parkingIcon,iconSize:[38,38],iconAnchor:[10,40],popupAnchor:[10,-40]}),l=r().icon({iconUrl:o.tT.servicePedestalsParkIcon,iconSize:[38,38],iconAnchor:[10,40],popupAnchor:[10,-40]}),c=r().icon({iconUrl:o.tT.iconLocation,iconSize:[40,40]})},3697:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var i=n(78857),r=n(60759),o=n.n(r);n(74840),n(89003);var a=n(35472),s=n(65230);let l=e=>e.parkType===a.lR.slipway?s.YA:e.parkType===a.lR.parking?s.h9:e.parkType===a.lR.servicePedestals?s.HE:void 0;var c=n(32679),d=n(2265),u=n(16234),p=n(98876),h=n(14089),x=n(70257);let f=async(e,t,n,i)=>{let{ok:r,result:o}=await h.r.get(e,[...p.zW]);if(r){o.openingHours=(0,x.l)(o.openingHours,t),n(o);let{ok:r,result:a}=await h.r.getImage(e);i&&i(r&&"string"==typeof a?a:void 0)}else n("error")};var m=n(55742),g=n(50440);let v=e=>{let{setReservationIsInitialized:t,setPark:n,setMarkedDates:i,setVehicleSelected:r,setPaymentMethodSelected:o}=e;t(!1),n(void 0),i([]),r(void 0),o(g.dx.Unselected)};var b=e=>{let{promiseParksLocations:t,parksLocations:n,setAlertIsShown:r,setAlertMessage:a,setIsOpenBottomDrawer:s,setParkData:h,setParkImage:x,locale:g}=e;(0,d.use)(t);let b=(0,m.D)(),y=(0,c.Sx)();return(0,d.useEffect)(()=>{let e=e=>{h&&(v(b),f(e,g,h,x)),s&&s(!0)},t=o().markerClusterGroup();n.length>0?n.map(n=>{t.addLayer(o().marker([n.latitude,n.longitude],{icon:l(n)}).bindPopup('\n <div \n class="popup-leaflet" \n data-parkId='.concat(n.id,' \n style="cursor: pointer; user-select: none;"\n >\n ').concat(n.parkName,"\n </div>"),{autoClose:!1,closeOnClick:!1}).openPopup().on("click",()=>{e(n.id)}))}):(r&&r(!0),a&&a((0,i.Z)("parks-are-not-displayed-on-the-map",u.K5.error,g)+p.Xy)),y.addLayer(t)},[]),null}},44419:function(e,t,n){"use strict";var i=n(57437),r=n(78857),o=n(2691),a=n(54315),s=n(16234),l=n(88813),c=n(98876),d=n(96202),u=n(40444),p=n(17150),h=n(63832),x=n(33145);let f={container:{display:"flex",width:"100%",marginTop:"50px"},containDownloadApp:{flex:1,display:"flex",flexDirection:"column",gap:"20px",justifyContent:"center"},downloadApp:{fontWeight:u.r.weight.light},containButtons:{display:"flex",gap:"10px"}};t.default=()=>{let{locale:e}=(0,a.H)(),t=(0,d.G)(p.Z),n=t.mobile&&!t.tablet;return(0,i.jsxs)(h.Z,{sx:[f.container,{flexDirection:n?"column":"row"}],children:[(0,i.jsx)(h.Z,{flex:1,children:(0,i.jsx)(x.default,{src:"".concat(c.Lo,"/floating-smartphone.png"),alt:"floating smartphone Easy Marina",width:1024,height:1024,style:{width:"100%",height:"100%"}})}),(0,i.jsxs)(h.Z,{sx:f.containDownloadApp,children:[(0,i.jsx)(h.Z,{sx:[f.downloadApp,{fontSize:n?"25px":"40px"}],children:(0,r.Z)("download-easy-marina-for-free",s.K5.home,e)}),(0,i.jsxs)(h.Z,{sx:f.containButtons,children:[(0,i.jsx)(o.cQ,{locale:e,size:t.middleTablet?l.m.large:l.m.small}),(0,i.jsx)(o.DZ,{locale:e,size:t.middleTablet?l.m.large:l.m.small})]})]})]})}},1148:function(e,t,n){"use strict";n.d(t,{default:function(){return g}});var i=n(57437),r=n(78857),o=n(17150),a=n(63832),s=n(93992),l=n(92935),c=n(2265),d=n(94554),u=n(54315),p=n(96202),h=n(40444);let x=(e,t)=>e?["100%","100%"]:t.largeDesktop?["62%","38%"]:["65%","35%"];var f=n(16234);n(7354);let m={container:{width:"100%",display:"flex",marginTop:"30px",gap:"20px"},containGuiderTour:{boxShadow:h.r.shadow.box,borderRadius:"20px",borderTop:"1px solid #F1F1F1",overflow:"hidden"},containDiscoverApp:{display:"flex",alignItems:"center"},discoverApp:{fontWeight:h.r.weight.light}};var g=()=>{let{locale:e}=(0,u.H)(),t=(0,p.G)(o.Z),n=t.mobile&&!t.tablet,g=!t.middleTablet,[v,b]=(0,c.useState)(0),y={slideContainer:{boxSizing:"border-box",height:"calc(100vh - 180px)",overflowY:"scroll",paddingBottom:"140px !important"},text:{fontSize:t.largeDesktop?"22px":"18px",fontWeight:h.r.weight.light,color:h.r.colors.darkBlue}};return(0,i.jsxs)(a.Z,{sx:[m.container,{flexDirection:t.middleTablet?"row":"column"}],children:[(0,i.jsx)(a.Z,{sx:m.containDiscoverApp,width:x(g,t)[0],children:(0,i.jsx)(a.Z,{sx:[m.discoverApp,{fontSize:n?"25px":"40px"}],children:(0,r.Z)("discover-the-app-in-2-minutes",f.K5.home,e)})}),(0,i.jsx)(a.Z,{style:m.containGuiderTour,width:x(g,t)[1],children:(0,i.jsxs)(s.tq,{slidesPerView:1,onActiveIndexChange:e=>b(e.activeIndex),children:[d.F.map((t,r)=>(0,i.jsx)(s.o5,{children:(0,i.jsx)(t.component,{commonStyles:y,isMobile:n,locale:e,hideSkipButton:!0})},r)),(0,i.jsx)(l.Z,{currentSlideIndex:v,locale:e,isMobile:n})]})})]})}},1265:function(e,t,n){"use strict";n.r(t);var i=n(57437);n(35046);var r=n(78857),o=n(54315),a=n(16234),s=n(17150),l=n(63832),c=n(40444),d=n(96202),u=n(98876),p=n(20755),h=n(73479),x=n(3697),f=n(70514),m=n(14089),g=n(2265);let v={container:{width:"100%"},exploreTheMap:{textAlign:"center",fontWeight:c.r.weight.light,marginTop:"50px",marginBottom:"50px"},containMap:{width:"100%",height:"280px"},mapContainer:{height:"100%",width:"100%",zIndex:c.r.zIndex.map}};t.default=()=>{let{locale:e}=(0,o.H)(),t=(0,d.G)(s.Z),n=t.mobile&&!t.tablet,[c,b,y]=(0,f.N)(m.r.getPublicParksLocations);return(0,i.jsxs)(l.Z,{sx:v.container,children:[(0,i.jsx)(l.Z,{sx:[v.exploreTheMap,{fontSize:n?"20px":"30px"}],children:(0,r.Z)("explore-the-map-to-find-a-nearby-marina",a.K5.home,e)}),(0,i.jsx)(l.Z,{sx:v.containMap,children:(0,i.jsxs)(p.h,{center:[n?u.Ec.mobile.lat:u.Ec.desktop.lat,n?u.Ec.mobile.lng:u.Ec.desktop.lng],zoom:4,style:v.mapContainer,zoomControl:!0,children:[(0,i.jsx)(h.I,{attribution:'\xa9 <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),(0,i.jsx)(g.Suspense,{fallback:(0,i.jsx)(i.Fragment,{}),children:(0,i.jsx)(x.Z,{promiseParksLocations:y,parksLocations:c,locale:e})})]})})]})}},62807:function(e,t,n){"use strict";var i=n(57437),r=n(98876),o=n(96202),a=n(40444),s=n(17150),l=n(63832),c=n(33145),d=n(2265);let u=e=>{let{marina:t,setMarinasList:n,isMobile:o}=e;return(0,i.jsxs)(l.Z,{flex:t.isSelected?2:1,sx:p.containPhoto,onClick:()=>n(e=>e.map((e,n)=>({...e,isSelected:n===t.index}))),children:[(0,i.jsx)(l.Z,{sx:[p.containPhotoName,{fontSize:o?"12px":"18px"}],children:t.name}),(0,i.jsx)(c.default,{src:"".concat(r.Lo,"/subscribers/photos/").concat(t.image),alt:"marina ".concat(t.name),width:673,height:454,style:{width:"100%",height:"100%",objectFit:"cover"}})]})},p={container:{width:"100%",borderRadius:"20px",overflow:"hidden",display:"flex",marginTop:"60px",gap:"2px"}
1,containPhoto:{position:"relative",cursor:"pointer",transition:"flex 200ms"},containPhotoName:{position:"absolute",top:"20px",left:"20px",color:a.r.colors.white,fontWeight:a.r.weight.bold}};t.default=()=>{let e=(0,o.G)(s.Z),t=e.mobile&&!e.tablet,[n,r]=(0,d.useState)([{index:0,name:"Calvados",image:"ports-du-calvados.jpg?v=1",isSelected:!1},{index:1,name:"Camargue",image:"terre-de-camargue.jpg?v=1",isSelected:!1},{index:2,name:"Le Havre",image:"port-du-havre.jpg?v=1",isSelected:!1}]);return(0,i.jsx)(l.Z,{sx:[p.container,{height:t?"150px":"320px"}],children:n.map((e,n)=>(0,i.jsx)(u,{marina:e,setMarinasList:r,isMobile:t},n))})}},33743:function(e,t,n){"use strict";n.d(t,{default:function(){return k}});var i=n(57437),r=n(78857),o=n(16234),a=n(54315),s=n(2691),l=n(17150),c=n(63832),d=n(88813),u=n(33145),p=n(98876),h=n(2265);let x=()=>{let[e,t]=(0,h.useState)({width:void 0,height:void 0});return(0,h.useEffect)(()=>{let e=()=>t({width:window.innerWidth,height:window.innerHeight});return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e},f=(e,t)=>{let n=1;t&&(n=1.9);let i=e?e/n:0,r=p.$L.height*i/p.$L.width;return{width:i,height:r}};var m=n(96202);let g=(e,t)=>({height:e?f(t,e).height:f(t,e).height+300,display:"flex",width:"100%",marginTop:e?"30px":"50px",marginBottom:"30px",alignItems:"center",flexDirection:e?"row":"column",position:e?"static":"relative"});var v=n(84190);let b={display:"flex",flexDirection:"column"},y={fontSize:22,lineHeight:"35px",marginBottom:"20px"},w={display:"flex",gap:"10px"};var k=()=>{let{locale:e}=(0,a.H)(),{width:t}=x(),n=(0,m.G)(l.Z);return(0,v.Z)(),(0,i.jsxs)(c.Z,{sx:g(n.middleTablet,t),children:[(0,i.jsxs)(c.Z,{sx:[b,{width:n.middleTablet?"35%":"100%"}],children:[(0,i.jsx)(c.Z,{sx:y,children:(0,r.Z)("easy-marina-is-a-web-and-mobile-application",o.K5.home,e)}),(0,i.jsxs)(c.Z,{sx:w,children:[(0,i.jsx)(s.cQ,{locale:e,size:n.middleTablet?d.m.large:d.m.small}),(0,i.jsx)(s.DZ,{locale:e,size:n.middleTablet?d.m.large:d.m.small})]})]}),(0,i.jsx)(c.Z,{sx:{position:n.middleTablet?"absolute":"static",marginTop:n.middleTablet?"-40px":"40px",right:0},children:(0,i.jsx)(u.default,{src:"".concat(p.Lo,"/marina.webp"),alt:"marina",width:f(t,n.middleTablet).width,height:f(t,n.middleTablet).height})})]})}},14693:function(e,t,n){"use strict";var i=n(57437),r=n(78857),o=n(54315),a=n(16234),s=n(96202),l=n(40444),c=n(17150),d=n(63832),u=n(5002),p=n(2691),h=n(77167),x=n(27648),f=n(54646),m=n(99376),g=n(55483),v=n(11614);let b={container:{width:"100%",marginTop:"100px"},readyToSetSail:{fontWeight:l.r.weight.bold,textAlign:"center"},accessFrom:{color:l.r.colors.darkBlue,fontWeight:l.r.weight.bold,textAlign:"center",marginBottom:"20px"},containButton:{display:"flex",justifyContent:"center"},link:{textDecoration:"none"}};t.default=()=>{let{locale:e}=(0,o.H)(),t=(0,m.usePathname)(),{setNavHistory:n}=(0,g.F)(),l=(0,s.G)(c.Z),y=l.mobile&&!l.tablet,w="true"===(0,v.getCookie)("userIsAuth");return(0,i.jsxs)(d.Z,{sx:b.container,children:[(0,i.jsx)(u.Z,{sx:[b.readyToSetSail,{fontSize:y?"20px":"30px"}],children:(0,r.Z)("ready-to-set-sail",a.K5.home,e)}),(0,i.jsx)(u.Z,{sx:[b.accessFrom,{fontSize:y?"14px":"25px"}],children:(0,r.Z)("access-easy-marina-on-your-computer-or-smartphone",a.K5.home,e)}),(0,i.jsx)(d.Z,{sx:b.containButton,children:(0,i.jsx)(x.default,{href:w?"/".concat(e.split("-")[0]).concat(a.K5.loadingLogin):"/".concat(e.split("-")[0]).concat(a.K5.signup),hrefLang:e,onClick:e=>(0,f.eR)({e,previousPage:t,setNavHistory:n}),style:{...b.link},children:(0,i.jsx)(p.qz,{label:(0,r.Z)("create-my-account",a.K5.common,e),status:h.sB.default})})})]})}},3603:function(e,t,n){"use strict";n.d(t,{$:function(){return g},q:function(){return b}});var i=n(57437),r=n(54315),o=n(78857),a=n(16234),s=n(15701),l=n(40444),c=n(63832),d=n(5002),u=n(31790),p=n(53392),h=n(9026),x=n(77468),f=n(12258),m=n(79507);n(2265);let g=e=>{let{title:t,text:n}=e;return(0,i.jsxs)(c.Z,{style:v.box,children:[(0,i.jsx)(d.Z,{style:v.title,children:t}),(0,i.jsx)(d.Z,{style:v.text,children:n})]})},v={box:{backgroundColor:l.r.colors.redInfo,padding:"30px",borderRadius:"15p
1x"},title:{color:l.r.colors.redTextInfo,fontWeight:l.r.weight.bold,fontSize:"15px"},text:{color:l.r.colors.redTextInfo,fontWeight:l.r.weight.light,fontSize:"15px"}},b=e=>{let{alertIsShown:t,setAlertIsShown:n,alertMessage:c,setAlertMessage:d}=e,{locale:g}=(0,r.H)();return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(p.Z,{open:t,TransitionComponent:s.P,onClose:()=>{n(!1),d("")},sx:{zIndex:l.r.zIndex.modal,"& .MuiDialog-paper":{padding:"20px",borderRadius:"25px"}},children:[(0,i.jsx)(m.Z,{fontWeight:l.r.weight.bold,children:(0,o.Z)("information",a.K5.common,g)}),(0,i.jsx)(x.Z,{children:(0,i.jsx)(f.Z,{color:l.r.colors.black,fontSize:17,children:c})}),(0,i.jsx)(h.Z,{children:(0,i.jsx)(u.Z,{onClick:()=>{n(!1),d("")},sx:{fontSize:"15px",display:"flex",userSelect:"none",fontWeight:l.r.weight.bold,color:l.r.colors.orange,backgroundColor:l.r.colors.smallOrange,transition:"all 300ms",padding:"10px 18px","&:hover":{backgroundColor:l.r.colors.middleOrange,color:l.r.colors.white}},children:"OK"})})]})})}},54524:function(e,t,n){"use strict";n.d(t,{o:function(){return l},z:function(){return s}});var i=n(57437),r=n(3603),o=n(2265);let a=(0,o.createContext)({setAlertIsShown:()=>{},setAlertMessage:()=>{}}),s=e=>{let{children:t}=e,[n,s]=(0,o.useState)(!1),[l,c]=(0,o.useState)("");return(0,i.jsxs)(a.Provider,{value:{setAlertIsShown:s,setAlertMessage:c},children:[(0,i.jsx)(r.q,{alertIsShown:n,setAlertIsShown:s,alertMessage:l,setAlertMessage:c}),t]})},l=()=>(0,o.useContext)(a)},55742:function(e,t,n){"use strict";n.d(t,{CheckReservation:function(){return g},D:function(){return m},i:function(){return f}});var i=n(57437),r=n(35472),o=n(99376),a=n(2265),s=n(54315),l=n(54524),c=n(16234),d=n(78857),u=n(89052),p=n(50440),h=n(85353);let x=(0,a.createContext)({setReservationIsInitialized:()=>{},park:void 0,setPark:()=>{},vehicleOrLicensePlate:u.x.licensePlate,setVehicleOrLicensePlate:()=>{},vehicleSelected:void 0,setVehicleSelected:()=>{},markedDates:[],setMarkedDates:()=>{},paymentMethodSelected:p.dx.Unselected,setPaymentMethodSelected:()=>{},pricesDeductedAfterPaymentWithBalance:{priceTaxExcluded:"",priceTaxIncluded:"",amountTax:""},setPricesDeductedAfterPaymentWithBalance:()=>{},numberOfMinutesOfAllReservations:0,setNumberOfMinutesOfAllReservations:()=>{},numberOfDaysReserved:0,setNumberOfDaysReserved:()=>{},priceTotalAllReservationsTaxExcluded:"",setPriceTotalAllReservationsTaxExcluded:()=>{},priceTotalAllReservationsTaxIncluded:"",setPriceTotalAllReservationsTaxIncluded:()=>{},amountTax:"",setAmountTax:()=>{},allReservationsWithPricesTaxIncluded:[],setAllReservationsWithPricesTaxIncluded:()=>{}}),f=e=>{let{children:t}=e,[n,r]=(0,a.useState)(!1),[o,s]=(0,a.useState)(void 0),[l,c]=(0,a.useState)(u.x.vehicle),[d,h]=(0,a.useState)(void 0),[f,m]=(0,a.useState)([]),[g,v]=(0,a.useState)(p.dx.Unselected),[b,y]=(0,a.useState)({priceTaxExcluded:"",priceTaxIncluded:"",amountTax:""}),[w,k]=(0,a.useState)(0),[T,S]=(0,a.useState)(0),[j,P]=(0,a.useState)(""),[Z,A]=(0,a.useState)(""),[C,R]=(0,a.useState)(""),[I,z]=(0,a.useState)([]);return(0,a.useEffect)(()=>{if(void 0!==o&&!n){var e,t;v((null===(e=o.userParkingBalance)||void 0===e?void 0:e.quantity)===0?p.dx.Card:p.dx.Unselected);let n="0".concat(null===(t=o.tariffsByType)||void 0===t?void 0:t.parking.currency);P(n),A(n),R(n),r(!0)}},[o]),(0,i.jsx)(x.Provider,{value:{setReservationIsInitialized:r,park:o,setPark:s,vehicleOrLicensePlate:l,setVehicleOrLicensePlate:c,vehicleSelected:d,setVehicleSelected:h,markedDates:f,setMarkedDates:m,paymentMethodSelected:g,setPaymentMethodSelected:v,pricesDeductedAfterPaymentWithBalance:b,setPricesDeductedAfterPaymentWithBalance:y,numberOfMinutesOfAllReservations:w,setNumberOfMinutesOfAllReservations:k,numberOfDaysReserved:T,setNumberOfDaysReserved:S,priceTotalAllReservationsTaxExcluded:j,setPriceTotalAllReservationsTaxExcluded:P,priceTotalAllReservationsTaxIncluded:Z,setPriceTotalAllReservationsTaxIncluded:A,amountTax:C,setAmountTax:R,allReservationsWithPricesTaxIncluded:I,setAllReservationsWithPricesTaxIncluded:z},children:t})},m=()=>(0,a.useContext)(x),g=e=>{let{page:t}=e,n=(0,o.useRouter)(),u=m(),{locale:x}=(0,s.H)(),{setAlertIsShown:f,setAlertMessage:g}=(0,l.o)();return(0,h.R)(x),(0,a.useEffect)(()=>
1{if(x){let a;if(t===c.K5.parksReservationVehicle)a=void 0===u.park;else if(t===c.K5.parksReservationDates)a=void 0===u.park||void 0===u.vehicleSelected;else if(t===c.K5.parksReservationSummary){var e,i,o;void 0===u.park||(null===(e=u.park.tariffsByType)||void 0===e?void 0:e.parking)===void 0||void 0===u.vehicleSelected||""===u.priceTotalAllReservationsTaxExcluded||""===u.priceTotalAllReservationsTaxIncluded||""===u.amountTax||0===u.allReservationsWithPricesTaxIncluded.length||u.paymentMethodSelected===p.dx.Unselected?a=!0:(null===(i=u.park)||void 0===i?void 0:i.reservationMode)===r.Wi.Minutes&&0===u.numberOfMinutesOfAllReservations?a=!0:(null===(o=u.park)||void 0===o?void 0:o.reservationMode)===r.Wi.Days&&0===u.numberOfDaysReserved&&(a=!0)}a&&(f(!0),g((0,d.Z)("refreshing-page-caused-reservation-data-to-be-lost",c.K5.error,x)),n.push("/".concat(x.split("-")[0]).concat(c.K5.parksMap)))}},[u.park,x]),(0,i.jsx)(i.Fragment,{})}},14089:function(e,t,n){"use strict";n.d(t,{r:function(){return g}}),n(83079);var i=n(12119),r=(0,i.$)("88f1e42d5a902170d6535850d01f9ff62c2ce6ba"),o=(0,i.$)("b6499478067c40e15b8acee61346871b081d0659"),a=(0,i.$)("b6a99ea262195cb61d025f5b06965a451c44117f"),s=(0,i.$)("0dc76c2d0f41917b
106a938a58922c49ce7ac9b5c"),l=(0,i.$)("480ade19030f7cd446cbf69ad5d6175608a78781"),c=(0,i.$)("2814b1a9be1cda3b70b81450aa570fa6978a54b8"),d=(0,i.$)("c0e8f6e7f82f83f673a2805c3287b8845a91df43"),u=(0,i.$)("454161fa0a338bc4fa9da49e17c7964c2a2428da"),p=(0,i.$)("de323633d19b8b8ea259dbd326603df880b92972"),h=(0,i.$)("550fd583a4e7dc97f83224a066a50f454198e084"),x=(0,i.$)("febfa7e7527144c850737c57f5f058122489eb84"),f=(0,i.$)("450b8caaeba3b85be0221de3b229b509c5187cb9"),m=(0,i.$)("5906caf800fed6467ce3808df263eac7be266dad");let g={get:o,getImage:a,getParkImage:s,getAllParksLocations:l,getPublicParksLocations:c,getParksLocationsAndCitiesWhereThereAreParks:d,createReservations:u,confirmReservations:p,getParkUserReservations:h,getCurrentParkUserReservations:x,getAllParksLinkedToTheUser:f,getSubscriptionsThatOwnAtLeastOnePark:(0,i.$)("7409336e0dd49ab94e0d207710ae64cdece8441f"),topUpUserBalance:m,getParksBySubscription:r}},50440:function(e,t,n){"use strict";var i,r,o,a,s,l,c,d,u,p,h,x,f;n.d(t,{Y_:function(){return r},dx:function(){return i},si:function(){return c},tT:function(){return a}}),(d=i||(i={})).Unselected="unselected",d.Balance="balance",d.Card="card",d.BalanceAndCard="balanceAndCard",(u=r||(r={})).top_up_balance="top_up_balance",u.reservation="reservation",(p=o||(o={})).balance="balance",p.reservation="reservation",(h=a||(a={})).stripe="stripe",h.alizee="alizee",(x=s||(s={})).TSTERI="TSTERI",x.CALVAD="CALVAD",(l||(l={})).systempay="systempay",(f=c||(c={})).development="development",f.production="production"},89052:function(e,t,n){"use strict";var i,r,o,a;n.d(t,{F:function(){return r},x:function(){return i}}),(o=i||(i={})).vehicle="vehicle",o.licensePlate="enter-manually",(a=r||(r={})).car="car",a.motorcycle="motorcycle",a.speedBoat="speedboat",a.semiRigid="semi-rigid",a.sailboat="sailboat",a.jetski="jet-ski",a.licensePlate="licensePlate"},70257:function(e,t,n){"use strict";n.d(t,{l:function(){return a}});var i=n(78857),r=n(16234);let o=(e,t)=>[(0,i.Z)("monday",r.K5.common,t),(0,i.Z)("tuesday",r.K5.common,t),(0,i.Z)("wednesday",r.K5.common,t),(0,i.Z)("thursday",r.K5.common,t),(0,i.Z)("friday",r.K5.common,t),(0,i.Z)("saturday",r.K5.common,t),(0,i.Z)("sunday",r.K5.common,t)][e],a=(e,t)=>void 0!==e?e.map(e=>(e.day=o(e.dayIndex,t),e)):[]},85353:function(e,t,n){"use strict";n.d(t,{R:function(){return a}});var i=n(78857),r=n(16234),o=n(2265);let a=e=>{(0,o.useEffect)(()=>{let t=t=>{let n=(0,i.Z)("this-page-is-asking-you-to-confirm-before-closing-some-data-you-entered-might-not-be-saved",r.K5.common,e);return t.preventDefault(),t.returnValue=n,n};return window.addEventListener("beforeunload",t),()=>window.removeEventListener("beforeunload",t)},[e])}},70514:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var i=n(2265);function r(e,t){let n=new Promise(e=>setTimeout(()=>e(),2e3)),r=2==arguments.length,[o,a]=(0,i.useState)(()=>r?t:[]),[s,l]=(0,i.useState)(n);return(0,i.useEffect)(()=>{let t=e();l(t),t.then(e=>{e.ok&&a(e.result)})},[]),[o,a,s]}}},function(e){e.O(0,[7295,902,1176,4212,9321,2629,4903,5282,6541,1838,1698,200,5104,2971,2117,1744],function(){return e(e.s=14428)}),_N_E=e.O()}]);
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.