Files
Compagnon-du-Lagon---Marama/deploy/.next/static/chunks/app/mana-tracker/page-190454f13d1cd3f9.js
syoul b10d9c515b Simplification complète de l'app - Suppression admin/WiFi/bungalow
- Suppression de toute la partie admin (routes, composants, API)
- Suppression du WiFi et du numéro de bungalow
- Simplification de l'accueil (logo, météo, message statique)
- App 100% statique maintenant
- Redirection simple vers /accueil
- Nettoyage des hooks et types inutilisés
2025-11-23 19:22:34 +01:00

1 line
22 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[347],{2950:function(e,t,r){Promise.resolve().then(r.bind(r,9673)),Promise.resolve().then(r.bind(r,4636)),Promise.resolve().then(r.bind(r,845)),Promise.resolve().then(r.bind(r,1556)),Promise.resolve().then(r.bind(r,7849)),Promise.resolve().then(r.bind(r,1523)),Promise.resolve().then(r.bind(r,49))},7683:function(e,t,r){"use strict";r.d(t,{T:function(){return d}});var a=r(7437),s=r(5922),n=r(5929),i=r(7226),l=r(2869),c=r(2265);function d(){let{theme:e,setTheme:t}=(0,s.F)(),[r,d]=(0,c.useState)(!1);return((0,c.useEffect)(()=>{d(!0)},[]),r)?(0,a.jsx)(l.z,{variant:"ghost",size:"sm",onClick:()=>t("dark"===e?"light":"dark"),className:"h-10 w-10 rounded-full hover:bg-secondary dark:hover:bg-gray-800 p-0","aria-label":"Changer de th\xe8me",children:"dark"===e?(0,a.jsx)(n.Z,{className:"h-5 w-5 text-primary dark:text-yellow-400"}):(0,a.jsx)(i.Z,{className:"h-5 w-5 text-primary dark:text-blue-300"})}):(0,a.jsx)(l.z,{variant:"ghost",size:"sm",className:"h-9 w-9 rounded-full p-0","aria-label":"Changer de th\xe8me",children:(0,a.jsx)(n.Z,{className:"h-5 w-5"})})}},9673:function(e,t,r){"use strict";r.d(t,{default:function(){return u}});var a=r(7437),s=r(7648),n=r(9376),i=r(4938),l=r(3774),c=r(4394),d=r(3245),o=r(4508),m=r(7683);let x=[{name:"Accueil",href:"/accueil",icon:i.Z},{name:"Explorer",href:"/explorer",icon:l.Z},{name:"Mana",href:"/mana-tracker",icon:c.Z},{name:"Infos",href:"/infos",icon:d.Z}];function u(){let e=(0,n.usePathname)();return(0,a.jsx)("nav",{className:"fixed bottom-0 left-0 right-0 z-50 bg-white dark:bg-gray-900 border-t border-gray-200 dark:border-gray-800 shadow-lg",children:(0,a.jsxs)("div",{className:"flex items-center justify-around h-16 px-2",children:[x.map(t=>{let r=t.icon,n=e===t.href;return(0,a.jsxs)(s.default,{href:t.href,className:(0,o.cn)("flex flex-col items-center justify-center gap-1 flex-1 h-full rounded-xl transition-colors",n?"text-primary bg-secondary dark:bg-primary/20":"text-gray-500 dark:text-gray-400 hover:text-primary dark:hover:text-primary hover:bg-gray-50 dark:hover:bg-gray-800"),children:[(0,a.jsx)(r,{className:"h-6 w-6"}),(0,a.jsx)("span",{className:"text-xs font-medium",children:t.name})]},t.href)}),(0,a.jsx)("div",{className:"flex items-center justify-center h-full px-2",children:(0,a.jsx)(m.T,{})})]})})}},4636:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return o}});var a=r(7437),s=r(2265),n=r(9205);let i=(0,n.Z)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),l=(0,n.Z)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);var c=r(6070),d=r(2869);function o(){let[e,t]=(0,s.useState)([]),[r,n]=(0,s.useState)(!0),[o,m]=(0,s.useState)(null),[x,u]=(0,s.useState)({name:"",email:"",phone:"",date:"",participants:1}),[h,p]=(0,s.useState)(!1),[f,y]=(0,s.useState)(!1);(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/data/excursions.json"),r=await e.json();t(r)}catch(e){console.error("Erreur lors du chargement des excursions:",e)}finally{n(!1)}})()},[]);let g=async e=>{e.preventDefault(),o&&(p(!0),setTimeout(()=>{y(!0),u({name:"",email:"",phone:"",date:"",participants:1}),setTimeout(()=>{y(!1),m(null)},3e3),p(!1)},1e3))},b=e=>{switch(e){case"tour-lagon":return"Tour Lagon";case"plongee":return"Plong\xe9e";case"4x4":return"4x4";default:return e}};return r?(0,a.jsx)(c.Zb,{children:(0,a.jsx)(c.aY,{className:"p-6",children:(0,a.jsx)("div",{className:"animate-pulse",children:"Chargement des excursions..."})})}):f?(0,a.jsx)(c.Zb,{className:"bg-secondary",children:(0,a.jsxs)(c.aY,{className:"p-6 text-center",children:[(0,a.jsx)(i,{className:"h-12 w-12 text-primary mx-auto mb-4"}),(0,a.jsx)("h3",{className:"text-xl font-semibold text-primary mb-2",children:"R\xe9servation confirm\xe9e !"}),(0,a.jsx)("p",{className:"text-gray-700",children:"Votre demande de r\xe9servation a \xe9t\xe9 enregistr\xe9e. Nous vous contacterons bient\xf4t."})]})}):o?(0,a.jsxs)(c.Zb,{children:[(0,a.jsx)(c.Ol,{children:(0,a.jsxs)(c.ll,{children:["R\xe9server : ",o.name]})}),(0,a.jsx)(c.aY,{children:(0,a.jsxs)("form",{onSubmit:g,className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Nom complet"}),(0,a.jsx)("input",{type:"text",required:!0,value:x.name,onChange:e=>u({...x,name:e.target.value}),className:"w-full px-4 py-2 border border-gray-300 rounded-xl focus:ring-2 focus:ring-primary focus:border-transparent"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Email"}),(0,a.jsx)("input",{type:"email",required:!0,value:x.email,onChange:e=>u({...x,email:e.target.value}),className:"w-full px-4 py-2 border border-gray-300 rounded-xl focus:ring-2 focus:ring-primary focus:border-transparent"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"T\xe9l\xe9phone"}),(0,a.jsx)("input",{type:"tel",required:!0,value:x.phone,onChange:e=>u({...x,phone:e.target.value}),className:"w-full px-4 py-2 border border-gray-300 rounded-xl focus:ring-2 focus:ring-primary focus:border-transparent"})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Date"}),(0,a.jsx)("input",{type:"date",required:!0,min:new Date().toISOString().split("T")[0],value:x.date,onChange:e=>u({...x,date:e.target.value}),className:"w-full px-4 py-2 border border-gray-300 rounded-xl focus:ring-2 focus:ring-primary focus:border-transparent"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Participants"}),(0,a.jsx)("input",{type:"number",min:"1",max:"10",required:!0,value:x.participants,onChange:e=>u({...x,participants:parseInt(e.target.value)}),className:"w-full px-4 py-2 border border-gray-300 rounded-xl focus:ring-2 focus:ring-primary focus:border-transparent"})]})]}),(0,a.jsxs)("div",{className:"bg-secondary rounded-xl p-4",children:[(0,a.jsx)("p",{className:"text-sm text-gray-600 mb-1",children:"Total"}),(0,a.jsxs)("p",{className:"text-2xl font-bold text-primary",children:[o.price*x.participants," XPF"]})]}),(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(d.z,{type:"button",variant:"outline",onClick:()=>m(null),className:"flex-1",children:"Annuler"}),(0,a.jsx)(d.z,{type:"submit",disabled:h,className:"flex-1",children:h?"Envoi...":"R\xe9server"})]})]})})]}):(0,a.jsxs)(c.Zb,{children:[(0,a.jsx)(c.Ol,{children:(0,a.jsx)(c.ll,{children:"R\xe9servation d'excursions"})}),(0,a.jsx)(c.aY,{children:(0,a.jsx)("div",{className:"space-y-4",children:e.map(e=>(0,a.jsxs)("div",{className:"border border-gray-200 rounded-xl p-4 hover:border-primary transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between mb-2",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("h3",{className:"font-semibold text-lg text-primary mb-1",children:e.name}),(0,a.jsx)("span",{className:"inline-block px-3 py-1 bg-secondary text-primary text-xs font-medium rounded-lg mb-2",children:b(e.type)}),(0,a.jsx)("p",{className:"text-sm text-gray-600 mb-2",children:e.description}),(0,a.jsx)("div",{className:"flex items-center gap-4 text-xs text-gray-500",children:(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(l,{className:"h-4 w-4"}),e.duration]})})]}),(0,a.jsxs)("div",{className:"text-right ml-4",children:[(0,a.jsxs)("p",{className:"text-2xl font-bold text-primary",children:[e.price.toLocaleString()," XPF"]}),(0,a.jsx)("p",{className:"text-xs text-gray-500",children:"par personne"})]})]}),(0,a.jsx)(d.z,{onClick:()=>m(e),disabled:!e.available,className:"w-full mt-3",variant:e.available?"default":"outline",children:e.available?"R\xe9server":"Indisponible"})]},e.id))})})]})}},845:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return o}});var a=r(7437),s=r(2265),n=r(9205);let i=(0,n.Z)("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]),l=(0,n.Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var c=r(6070),d=r(2869);function o(){let[e,t]=(0,s.useState)([]),[r,n]=(0,s.useState)("default"),[o,m]=(0,s.useState)(!0);(0,s.useEffect)(()=>{"Notification"in window&&window.Notification&&n(window.Notification.permission),x()},[]);let x=async()=>{try{let e=await fetch("/data/notifications.json"),r=await e.json();t(r)}catch(e){console.error("Erreur lors du chargement des notifications:",e)}finally{m(!1)}},u=async()=>{if(!("Notification"in window)||!window.Notification){alert("Votre navigateur ne supporte pas les notifications");return}let e=await window.Notification.requestPermission();if(n(e),"granted"===e&&"serviceWorker"in navigator)try{await navigator.serviceWorker.ready,setInterval(async()=>{try{let e=await fetch("/data/notifications.json"),t=(await e.json()).filter(e=>!e.read);window.Notification&&t.forEach(e=>{"granted"===window.Notification.permission&&new window.Notification(e.title,{body:e.message,icon:"/icon-192x192.png",badge:"/icon-192x192.png",tag:e.id,requireInteraction:"whale"===e.type})})}catch(e){console.error("Erreur lors de la v\xe9rification des notifications:",e)}},6e4)}catch(e){console.error("Erreur lors de l'enregistrement du service worker:",e)}},h=async r=>{t(e.map(e=>e.id===r?{...e,read:!0}:e))},p=e=>{switch(e){case"whale":return"\uD83D\uDC0B";case"weather":return"\uD83C\uDF26";case"excursion":return"\uD83D\uDEA4";default:return""}};if(o)return(0,a.jsx)(c.Zb,{children:(0,a.jsx)(c.aY,{className:"p-6",children:(0,a.jsx)("div",{className:"animate-pulse",children:"Chargement..."})})});let f=e.filter(e=>!e.read).length;return(0,a.jsxs)(c.Zb,{children:[(0,a.jsx)(c.Ol,{children:(0,a.jsxs)(c.ll,{className:"flex items-center justify-between",children:[(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsx)(i,{className:"h-6 w-6 text-primary"}),"Notifications"]}),f>0&&(0,a.jsx)("span",{className:"bg-primary text-white text-xs font-bold px-2 py-1 rounded-full",children:f})]})}),(0,a.jsxs)(c.aY,{className:"space-y-4",children:["default"===r&&(0,a.jsxs)("div",{className:"bg-secondary rounded-xl p-4",children:[(0,a.jsx)("p",{className:"text-sm text-gray-700 mb-3",children:"Activez les notifications pour recevoir des alertes importantes (baleines, m\xe9t\xe9o, etc.)"}),(0,a.jsxs)(d.z,{onClick:u,className:"w-full",children:[(0,a.jsx)(i,{className:"mr-2 h-4 w-4"}),"Activer les notifications"]})]}),"denied"===r&&(0,a.jsx)("div",{className:"bg-red-50 border border-red-200 rounded-xl p-4",children:(0,a.jsx)("p",{className:"text-sm text-red-700",children:"Les notifications sont d\xe9sactiv\xe9es. Veuillez les activer dans les param\xe8tres de votre navigateur."})}),"granted"===r&&(0,a.jsx)("div",{className:"space-y-2",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("p",{className:"text-sm text-gray-600",children:"Notifications activ\xe9es"}),(0,a.jsx)(d.z,{onClick:()=>{"granted"===r&&window.Notification&&new window.Notification("Test de notification",{body:"Les notifications fonctionnent correctement !",icon:"/icon-192x192.png",badge:"/icon-192x192.png"})},variant:"outline",size:"sm",children:"Tester"})]})}),(0,a.jsx)("div",{className:"space-y-2 max-h-64 overflow-y-auto",children:0===e.length?(0,a.jsx)("p",{className:"text-sm text-gray-500 text-center py-4",children:"Aucune notification pour le moment"}):e.map(e=>(0,a.jsx)("div",{className:"border rounded-xl p-3 ".concat(e.read?"bg-gray-50 border-gray-200":"bg-secondary border-primary/30"),children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,a.jsx)("span",{className:"text-lg",children:p(e.type)}),(0,a.jsx)("h4",{className:"font-semibold text-sm",children:e.title}),!e.read&&(0,a.jsx)("span",{className:"bg-primary text-white text-xs px-1.5 py-0.5 rounded-full",children:"Nouveau"})]}),(0,a.jsx)("p",{className:"text-sm text-gray-700",children:e.message}),(0,a.jsx)("p",{className:"text-xs text-gray-500 mt-1",children:new Date(e.timestamp).toLocaleString("fr-FR")})]}),!e.read&&(0,a.jsx)("button",{onClick:()=>h(e.id),className:"text-gray-400 hover:text-gray-600",children:(0,a.jsx)(l,{className:"h-4 w-4"})})]})},e.id))})]})]})}},1556:function(e,t,r){"use strict";r.d(t,{default:function(){return o}});var a=r(7437),s=r(2265),n=r(5929),i=r(9205);let l=(0,i.Z)("Sunrise",[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]]),c=(0,i.Z)("Sunset",[["path",{d:"M12 10V2",key:"16sf7g"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]]);var d=r(6070);function o(){let[e,t]=(0,s.useState)(null),[r,i]=(0,s.useState)(!0);if((0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/data/sun-times.json"),r=await e.json();t(r[0]||null)}catch(e){console.error("Erreur lors du chargement des heures du soleil:",e)}finally{i(!1)}})()},[]),r)return(0,a.jsx)(d.Zb,{children:(0,a.jsx)(d.aY,{className:"p-6",children:(0,a.jsx)("div",{className:"animate-pulse",children:"Chargement..."})})});if(!e)return null;let o=(()=>{let e=new Date;return"".concat(e.getHours().toString().padStart(2,"0"),":").concat(e.getMinutes().toString().padStart(2,"0"))})(),m=o>=e.sunrise&&o<e.sunset;return(0,a.jsxs)(d.Zb,{className:"bg-gradient-to-br from-yellow-50 to-orange-50",children:[(0,a.jsx)(d.Ol,{children:(0,a.jsxs)(d.ll,{className:"flex items-center gap-2",children:[(0,a.jsx)(n.Z,{className:"h-6 w-6 text-yellow-500"}),"Lever / Coucher du Soleil"]})}),(0,a.jsxs)(d.aY,{children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"bg-white rounded-xl p-4 text-center",children:[(0,a.jsx)(l,{className:"h-8 w-8 text-yellow-500 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-xs text-gray-600 mb-1",children:"Lever"}),(0,a.jsx)("p",{className:"text-2xl font-bold text-primary",children:e.sunrise})]}),(0,a.jsxs)("div",{className:"bg-white rounded-xl p-4 text-center",children:[(0,a.jsx)(c,{className:"h-8 w-8 text-orange-500 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-xs text-gray-600 mb-1",children:"Coucher"}),(0,a.jsx)("p",{className:"text-2xl font-bold text-primary",children:e.sunset})]})]}),(0,a.jsx)("div",{className:"mt-4 text-center",children:(0,a.jsx)("p",{className:"text-sm text-gray-600",children:m?"☀️ Soleil actuellement visible":"\uD83C\uDF19 Nuit"})})]})]})}},7849:function(e,t,r){"use strict";r.d(t,{default:function(){return o}});var a=r(7437),s=r(2265),n=r(4394),i=r(9205);let l=(0,i.Z)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]),c=(0,i.Z)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);var d=r(6070);function o(){let[e,t]=(0,s.useState)([]),[r,i]=(0,s.useState)(!0);if((0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("/data/tides.json"),r=await e.json();t(r)}catch(e){console.error("Erreur lors du chargement des mar\xe9es:",e)}finally{i(!1)}})()},[]),r)return(0,a.jsx)(d.Zb,{children:(0,a.jsx)(d.aY,{className:"p-6",children:(0,a.jsx)("div",{className:"animate-pulse",children:"Chargement des mar\xe9es..."})})});let o=e[0],m=e[1];if(!o)return null;let x=e=>new Date(e).toLocaleDateString("fr-FR",{weekday:"short",day:"numeric",month:"short"});return(0,a.jsxs)(d.Zb,{children:[(0,a.jsx)(d.Ol,{children:(0,a.jsxs)(d.ll,{className:"flex items-center gap-2",children:[(0,a.jsx)(n.Z,{className:"h-6 w-6 text-primary"}),"Mar\xe9es"]})}),(0,a.jsxs)(d.aY,{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"text-sm text-gray-600 mb-2",children:["Aujourd'hui - ",x(o.date)]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"bg-secondary rounded-xl p-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,a.jsx)(l,{className:"h-4 w-4 text-primary"}),(0,a.jsx)("span",{className:"text-sm font-semibold text-primary",children:"Haute mer"})]}),(0,a.jsx)("p",{className:"text-lg font-bold",children:o.highTide.time}),(0,a.jsxs)("p",{className:"text-xs text-gray-600",children:[o.highTide.height.toFixed(1),"m"]})]}),(0,a.jsxs)("div",{className:"bg-secondary rounded-xl p-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,a.jsx)(c,{className:"h-4 w-4 text-primary"}),(0,a.jsx)("span",{className:"text-sm font-semibold text-primary",children:"Basse mer"})]}),(0,a.jsx)("p",{className:"text-lg font-bold",children:o.lowTide.time}),(0,a.jsxs)("p",{className:"text-xs text-gray-600",children:[o.lowTide.height.toFixed(1),"m"]})]})]})]}),m&&(0,a.jsxs)("div",{className:"pt-4 border-t border-gray-200",children:[(0,a.jsxs)("p",{className:"text-sm text-gray-600 mb-2",children:["Demain - ",x(m.date)]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"bg-gray-50 rounded-xl p-3",children:[(0,a.jsx)("p",{className:"text-xs text-gray-600 mb-1",children:"Haute mer"}),(0,a.jsx)("p",{className:"text-base font-semibold",children:m.highTide.time})]}),(0,a.jsxs)("div",{className:"bg-gray-50 rounded-xl p-3",children:[(0,a.jsx)("p",{className:"text-xs text-gray-600 mb-1",children:"Basse mer"}),(0,a.jsx)("p",{className:"text-base font-semibold",children:m.lowTide.time})]})]})]})]})]})}},2869:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var a=r(7437),s=r(2265),n=r(535),i=r(4508);let l=(0,n.j)("inline-flex items-center justify-center whitespace-nowrap rounded-xl text-base font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 dark:bg-primary dark:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 dark:bg-primary/20 dark:text-primary dark:hover:bg-primary/30",outline:"border-2 border-primary text-primary hover:bg-primary hover:text-white dark:border-primary dark:text-primary dark:hover:bg-primary dark:hover:text-white",ghost:"hover:bg-secondary hover:text-secondary-foreground dark:hover:bg-gray-800 dark:hover:text-gray-200"},size:{default:"h-12 px-6 py-3",sm:"h-10 px-4",lg:"h-14 px-8 text-lg"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,t)=>{let{className:r,variant:s,size:n,...c}=e;return(0,a.jsx)("button",{className:(0,i.cn)(l({variant:s,size:n,className:r})),ref:t,...c})});c.displayName="Button"},6070:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},Zb:function(){return i},aY:function(){return d},ll:function(){return c}});var a=r(7437),s=r(2265),n=r(4508);let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("rounded-2xl border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-900 shadow-sm",r),...s})});i.displayName="Card";let l=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...s})});l.displayName="CardHeader";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h3",{ref:t,className:(0,n.cn)("text-xl font-semibold leading-none tracking-tight text-primary",r),...s})});c.displayName="CardTitle",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-gray-600 dark:text-gray-400",r),...s})}).displayName="CardDescription";let d=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...s})});d.displayName="CardContent",s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...s})}).displayName="CardFooter"},4508:function(e,t,r){"use strict";r.d(t,{cn:function(){return n}});var a=r(1994),s=r(3335);function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.m6)((0,a.W)(t))}},1523:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return s}});let a=r(8993);function s(e){let{reason:t,children:r}=e;if("undefined"==typeof window)throw new a.BailoutToCSRError(t);return r}},49:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return n}});let a=r(7437),s=r(544);function n(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let r=(0,s.getExpectedRequestStore)("next/dynamic css"),n=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files.filter(e=>e.endsWith(".css"));n.push(...t)}}return 0===n.length?null:(0,a.jsx)(a.Fragment,{children:n.map(e=>(0,a.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:r.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}}},function(e){e.O(0,[130,876,971,117,744],function(){return e(e.s=2950)}),_N_E=e.O()}]);