PageSourceSearch

https://www.leseyzies.fr/_next/static/chunks/2431-6211a730b3b0085f.js

js leseyzies.fr collected 2026-10-02 18:47:14 UTC 44,897 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2431],{11951:(e,t,a)=>{a.d(t,{Ch:()=>c,Xj:()=>i,Ym:()=>d,eD:()=>o,xJ:()=>l});let r="cookie-consent",n="cookie-consent:change",s="cookie-consent:open";function i(){let e=window.localStorage.getItem(r);return"accepted"===e||"refused"===e?e:null}function o(e){window.localStorage.setItem(r,e),window.dispatchEvent(new CustomEvent(n,{detail:e}))}function l(){window.dispatchEvent(new Event(s))}function d(e){let t=t=>e(t.detail);return window.addEventListener(n,t),()=>window.removeEventListener(n,t)}function c(e){return window.addEventListener(s,e),()=>window.removeEventListener(s,e)}},21503:(e,t,a)=>{a.d(t,{CookieSettingsButton:()=>s});var r=a(95155),n=a(11951);function s(e){let{className:t}=e;return(0,r.jsx)("button",{type:"button",onClick:n.xJ,className:t,children:"Cookies"})}},44333:(e,t,a)=>{a.d(t,{Header:()=>Y});var r=a(95155),n=a(12115),s=a(52619),i=a.n(s),o=a(24033),l=a(86651),d=a(21873),c=a(23664),m=a(65229),h=a(9540),x=a(39068),u=a(53649),p=a(24947),f=a(33512);function b(){let[e,t]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{function e(){t(!0)}function a(e){let a=e.target;(null==a?void 0:a.closest("[data-open-location]"))&&(e.preventDefault(),t(!0))}return window.addEventListener("open-location-modal",e),document.addEventListener("click",a),()=>{window.removeEventListener("open-location-modal",e),document.removeEventListener("click",a)}},[]),(0,n.useEffect)(()=>{if(!e)return;document.body.style.overflow="hidden";let a=e=>{"Escape"===e.key&&t(!1)};return window.addEventListener("keydown",a),()=>{document.body.style.overflow="unset",window.removeEventListener("keydown",a)}},[e]),e)?(0,r.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 md:p-6 lg:p-10",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-[#183f34]/80 backdrop-blur-md transition-opacity animate-in fade-in duration-300",onClick:()=>t(!1)}),(0,r.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"modal-title",className:"relative w-full max-w-6xl overflow-hidden rounded-4xl bg-[#f4f2ee] shadow-2xl ring-1 ring-white/60 animate-in fade-in zoom-in-95 duration-500 ease-out",children:[(0,r.jsx)("button",{onClick:()=>t(!1),className:"absolute right-4 top-4 z-50 flex h-12 w-12 items-center justify-center rounded-full bg-white/90 text-[#183f34] shadow-lg backdrop-blur hover:bg-[#183f34] hover:text-white transition-all duration-300 hover:rotate-90 group","aria-label":"Fermer",children:(0,r.jsx)(m.A,{size:24,className:"transition-transform group-hover:scale-110"})}),(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 h-full min-h-[600px]",children:[(0,r.jsxs)("div",{className:"lg:col-span-5 relative p-8 md:p-12 lg:p-14 flex flex-col justify-center overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute -top-20 -left-20 w-64 h-64 bg-[#d8c6aa]/40 rounded-full blur-3xl pointer-events-none"}),(0,r.jsx)("div",{className:"absolute -bottom-20 -right-20 w-64 h-64 bg-[#b46b38]/10 rounded-full blur-3xl pointer-events-none"}),(0,r.jsxs)("div",{className:"relative z-10",children:[(0,r.jsx)("span",{className:"text-xs font-black uppercase tracking-[0.25em] text-[#b46b38] mb-4 block",children:"Nous rendre visite"}),(0,r.jsxs)("h2",{id:"modal-title",className:"text-3xl md:text-5xl font-black text-[#183f34] mb-8 leading-[1.1] tracking-tight",children:["Mairie ",(0,r.jsx)("br",{}),"des Eyzies"]}),(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"flex items-start gap-4",children:[(0,r.jsx)("div",{className:"mt-1 bg-white p-2 rounded-xl shadow-sm text-[#183f34]",children:(0,r.jsx)(d.A,{size:20,strokeWidth:2.5})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-bold text-[#183f34]",children:"Adresse postale"}),(0,r.jsxs)("p",{className:"text-[#51635a] leading-relaxed mt-1",children:["19 Rue de la Pr\xe9histoire",(0,r.jsx)("br",{}),"24620 Les Eyzies",(0,r.jsx)("br",{}),"France"]})]})]}),(0,r.jsx)("hr",{className:"border-[#183f34]/10"}),(0,r.jsxs)("div",{className:"flex items-start gap-4",children:[(0,r.jsx)("div",{className:"mt-1 bg-white p-2 rounded-xl shadow-sm text-[#b46b38]",children:(0,r.jsx)(u.A,{size:20,strokeWidth:2.5})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-bold text-[#183f34]",children:"En train (Gare SNCF)"}),(0,r.jsx)("p",{className:"text-[#51635a] leading-relaxed mt-1 text-sm",children:"Gare des Eyzies \xe0 5 min \xe0 pied. Ligne TER P\xe9rigueux-Agen."})]})]}),(0,r.jsxs)("div",{className:"flex items-start gap-4",children:[(0,r.jsx)("div",{className:"mt-1 bg-white p-2 rounded-xl shadow-sm text-[#b46b38]",children:(0,r.jsx)(p.A,{size:20,strokeWidth:2.5})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-bold text-[#183f34]",children:"Stationnement"}),(0,r.jsx)("p",{className:"text-[#51635a] leading-relaxed mt-1 text-sm",children:'Parking gratuit "La V\xe9z\xe8re" situ\xe9 \xe0 150m de la Mairie.'})]})]})]}),(0,r.jsx)("a",{href:"https://www.google.com/maps/dir/?api=1&destination=Mairie+des+Eyzies",target:"_blank",rel:"noopener noreferrer",className:"mt-10 inline-flex items-center gap-2 bg-[#183f34] text-white! px-8 py-4 rounded-full font-black uppercase tracking-wider text-sm hover:bg-[#b46b38] transition-colors duration-300 w-full justify-center md:w-auto",children:"Calculer l'itin\xe9raire"})]})]}),(0,r.jsx)("div",{className:"lg:col-span-7 relative h-[400px] lg:h-auto bg-gray-200",children:(0,r.jsx)(f.InteractiveMap,{className:"absolute inset-0 w-full h-full object-cover"})})]})]})]}):null}var g=a(59427),w=a(37494),v=a(30771),j=a(35733),y=a(61056),N=a(32320),k=a(32893),_=a(34157),C=a(70968),z=a(16485);let E={0:"Ciel d\xe9gag\xe9",1:"Peu nuageux",2:"Partiellement nuageux",3:"Couvert",45:"Brouillard",48:"Brouillard givrant",51:"Bruine l\xe9g\xe8re",53:"Bruine mod\xe9r\xe9e",55:"Bruine forte",56:"Bruine vergla\xe7ante",57:"Bruine forte vergla\xe7ante",61:"Pluie faible",63:"Pluie mod\xe9r\xe9e",65:"Pluie forte",66:"Pluie vergla\xe7ante l\xe9g\xe8re",67:"Pluie vergla\xe7ante forte",71:"Chutes de neige faibles",73:"Chutes de neige mod\xe9r\xe9es",75:"Chutes de neige fortes",77:"Grains de neige",80:"Averses de pluie faibles",81:"Averses de pluie mod\xe9r\xe9es",82:"Averses de pluie violentes",85:"Averses de neige faibles",86:"Averses de neige fortes",95:"Orage",96:"Orage avec gr\xeale l\xe9g\xe8re",99:"Orage avec gr\xeale forte"};function M(e){return E[e]||"M\xe9t\xe9o inconnue"}function F(e){let{name:t,className:a,size:n=24,strokeWidth:s=2}=e;return"sun"===t?(0,r.jsx)(g.A,{className:a,size:n,strokeWidth:s}):"moon"===t?(0,r.jsx)(w.A,{className:a,size:n,strokeWidth:s}):"storm"===t?(0,r.jsx)(v.A,{className:a,size:n,strokeWidth:s}):"rain"===t?(0,r.jsx)(j.A,{className:a,size:n,strokeWidth:s}):"snow"===t?(0,r.jsx)(y.A,{className:a,size:n,strokeWidth:s}):(0,r.jsx)(N.A,{className:a,size:n,strokeWidth:s})}function A(e){let{value:t,duration:a=900,delay:s=0}
1=e,[i,o]=(0,n.useState)(0);return(0,n.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void o(t);let e=0,r=window.setTimeout(()=>{let r=performance.now(),n=s=>{let i=Math.min((s-r)/a,1);o(t*(1-Math.pow(1-i,3))),i<1&&(e=requestAnimationFrame(n))};e=requestAnimationFrame(n)},s);return()=>{window.clearTimeout(r),cancelAnimationFrame(e)}},[t,a,s]),(0,r.jsx)(r.Fragment,{children:Math.round(i)})}function L(e,t){return 0===e?t?"sun":"moon":[1,2,3,45,48].includes(e)?"cloud":[95,96,99].includes(e)?"storm":[51,53,55,56,57,61,63,65,66,67,80,81,82].includes(e)?"rain":[71,73,75,77,85,86].includes(e)?"snow":"cloud"}let B=e=>{let{top:t,scale:a,opacity:n,dur:s,delay:i,blur:o,tint:l="#ffffff"}=e;return(0,r.jsx)("div",{className:"absolute left-[-30%]",style:{top:t,opacity:n,transform:"scale(".concat(a,")"),filter:"blur(".concat(o,"px)"),animation:"drift ".concat(s," linear ").concat(i," infinite")},children:(0,r.jsxs)("div",{className:"relative h-24 w-72",children:[(0,r.jsx)("div",{className:"absolute bottom-0 left-0 h-12 w-72 rounded-full",style:{background:l}}),(0,r.jsx)("div",{className:"absolute bottom-2 left-8 h-24 w-28 rounded-full",style:{background:l}}),(0,r.jsx)("div",{className:"absolute bottom-1 left-28 h-28 w-32 rounded-full",style:{background:l}}),(0,r.jsx)("div",{className:"absolute bottom-3 left-48 h-20 w-24 rounded-full",style:{background:l}})]})})},S=()=>(0,r.jsxs)("div",{className:"absolute inset-0 z-0 overflow-hidden pointer-events-none",children:[(0,r.jsx)("div",{className:"absolute -top-24 left-1/3 h-72 w-72 rounded-full bg-[radial-gradient(circle,rgba(255,255,255,0.55)_0%,transparent_70%)] blur-2xl mix-blend-screen animate-[sun-pulse_8s_ease-in-out_infinite]"}),(0,r.jsx)(B,{top:"14%",scale:1.4,opacity:.18,dur:"90s",delay:"-10s",blur:14,tint:"#445064"}),(0,r.jsx)(B,{top:"48%",scale:1.6,opacity:.14,dur:"110s",delay:"-60s",blur:16,tint:"#3a4456"}),(0,r.jsx)(B,{top:"6%",scale:1.1,opacity:.7,dur:"55s",delay:"0s",blur:6}),(0,r.jsx)(B,{top:"34%",scale:.85,opacity:.5,dur:"68s",delay:"-25s",blur:5}),(0,r.jsx)(B,{top:"62%",scale:1.3,opacity:.6,dur:"48s",delay:"-15s",blur:8}),(0,r.jsx)(B,{top:"80%",scale:.7,opacity:.45,dur:"80s",delay:"-40s",blur:4})]}),D=()=>{let e=(0,n.useMemo)(()=>Array.from({length:50},()=>({left:"".concat(100*Math.random(),"%"),top:"".concat(70*Math.random(),"%"),delay:"".concat(4*Math.random(),"s"),duration:"".concat(2+3*Math.random(),"s"),size:"".concat(1+2.5*Math.random(),"px")})),[]);return(0,r.jsxs)("div",{className:"absolute inset-0 z-0 overflow-hidden pointer-events-none",children:[e.map((e,t)=>(0,r.jsx)("div",{className:"absolute bg-white rounded-full",style:{left:e.left,top:e.top,width:e.size,height:e.size,animation:"twinkle ".concat(e.duration," ease-in-out ").concat(e.delay," infinite")}},t)),(0,r.jsx)("div",{className:"absolute top-10 right-12 h-24 w-24 rounded-full bg-linear-to-br from-white to-[#c5d5fa] shadow-[0_0_60px_20px_rgba(197,213,250,0.4)]"}),(0,r.jsx)("div",{className:"absolute top-14 right-16 h-5 w-5 rounded-full bg-white/20 blur-[1px]"}),(0,r.jsx)("div",{className:"absolute top-[60px] right-9 h-3 w-3 rounded-full bg-white/15 blur-[1px]"})]})},W=()=>{let e=(0,n.useMemo)(()=>Array.from({length:70},()=>({left:"".concat(110*Math.random()-5,"%"),delay:"".concat(1.2*Math.random(),"s"),duration:"".concat(.35+.35*Math.random(),"s"),height:"".concat(15+25*Math.random(),"%")})),[]);return(0,r.jsx)("div",{className:"absolute inset-0 z-0 overflow-hidden pointer-events-none opacity-50",children:e.map((e,t)=>(0,r.jsx)("div",{className:"absolute top-[-15%] w-px bg-linear-to-b from-transparent via-white/70 to-transparent",style:{left:e.left,height:e.height,transform:"rotate(12deg)",animation:"storm-rain ".concat(e.duration," linear ").concat(e.delay," infinite")}},t))})},P=e=>{let{className:t,style:a,path:n}=e;return(0,r.jsxs)("svg",{viewBox:"0 0 100 200",className:t,style:a,fill:"none",preserveAspectRatio:"none","aria-hidden":"true",children:[(0,r.jsx)("path",{d:n,stroke:"#dabfff",strokeWidth:"7",strokeLinejoin:"round",strokeLinecap:"round",opacity:"0.5",style:{filter:"blur(6px)"}}),(0,r.jsx)("path",{d:n,stroke:"#ffffff",strokeWidth:"2.5",strokeLinejoin:"round",strokeLinecap:"round",style:{filter:"drop-shadow(0 0 8px #c4b5fd) drop-shadow(0 0 16px #818cf8)"}})]})},T=()=>{let e=(0,n.useMemo)(()=>Array.from({length:18},()=>({left:"".concat(100*Math.random(),"%"),delay:"".concat(8*Math.random(),"s"),duration:"".concat(8+8*Math.random(),"s"),size:"".concat(2+4*Math.random(),"px")})),[]);return(0,r.jsx)(r.Fragment,{children:e.map((e,t)=>(0,r.jsx)("div",{className:"absolute bottom-[-5%] bg-white rounded-full blur-[0.5px]",style:{left:e.left,width:e.size,height:e.size,animation:"mote-rise ".concat(e.duration," linear ").concat(e.delay," infinite")}},t))})},R={sun:{bgGradient:"bg-linear-to-br from-[#1E90FF] via-[#00BFFF] to-[#87CEEB]",textColor:"text-white",accentColor:"text-[#FFE600]",cardBg:"bg-white/10 backdrop-blur-xl border border-white/20",haloColor:"bg-[#FFE600]",Effect:()=>(0,r.jsxs)("div",{className:"absolute inset-0 z-0 overflow-hidden pointer-events-none",children:[(0,r.jsx)("div",{className:"absolute inset-0 opacity-25 mix-blend-screen flex items-center justify-center",children:(0,r.jsx)("div",{className:"w-[160%] h-[160%] bg-[
1conic-gradient(from_0deg,transparent_0deg,#FFF6C0_8deg,transparent_22deg,transparent_45deg,#FFE600_52deg,transparent_66deg)] animate-[spin_70s_linear_infinite]"})}),(0,r.jsx)("div",{className:"absolute -top-16 left-1/2 -translate-x-1/2 h-56 w-56 rounded-full bg-[radial-gradient(circle,#FFF6C0_0%,#FFE600_40%,transparent_70%)] opacity-70 animate-[sun-pulse_5s_ease-in-out_infinite]"}),(0,r.jsx)("div",{className:"absolute inset-0 opacity-60",children:(0,r.jsx)(T,{})})]})},moon:{bgGradient:"bg-linear-to-br from-[#0B0F19] via-[#1A2341] to-[#253259]",textColor:"text-white",accentColor:"text-[#C5D5FA]",cardBg:"bg-white/5 backdrop-blur-xl border border-white/10",haloColor:"bg-[#4B68B8]",Effect:()=>(0,r.jsxs)("div",{className:"absolute inset-0 z-0 overflow-hidden pointer-events-none",children:[(0,r.jsx)(D,{}),(0,r.jsx)(S,{})]})},cloud:{bgGradient:"bg-linear-to-b from-[#5B6E84] via-[#8295A8] to-[#AEBCC8]",textColor:"text-white",accentColor:"text-[#E8EEF4]",cardBg:"bg-white/15 backdrop-blur-xl border border-white/25",haloColor:"bg-[#E2E8F0]",Effect:S},rain:{bgGradient:"bg-linear-to-br from-[#1E293B] via-[#334155] to-[#475569]",textColor:"text-white",accentColor:"text-[#93C5FD]",cardBg:"bg-white/5 backdrop-blur-xl border border-white/10",haloColor:"bg-[#3B82F6]",Effect:()=>{let e=(0,n.useMemo)(()=>Array.from({length:55},()=>({left:"".concat(105*Math.random()-5,"%"),delay:"".concat(1.5*Math.random(),"s"),duration:"".concat(.5+.4*Math.random(),"s"),height:"".concat(12+18*Math.random(),"%")})),[]);return(0,r.jsx)("div",{className:"absolute inset-0 z-0 overflow-hidden pointer-events-none opacity-50",children:e.map((e,t)=>(0,r.jsx)("div",{className:"absolute top-[-15%] w-px bg-linear-to-b from-transparent via-[#bfdbfe] to-transparent",style:{left:e.left,height:e.height,transform:"rotate(8deg)",animation:"storm-rain ".concat(e.duration," linear ").concat(e.delay," infinite")}},t))})}},storm:{bgGradient:"bg-linear-to-br from-[#0F172A] via-[#1E1B4B] to-[#312E81]",textColor:"text-white",accentColor:"text-[#FDE047]",cardBg:"bg-white/5 backdrop-blur-2xl border border-white/10",haloColor:"bg-[#8B5CF6]",Effect:()=>(0,r.jsxs)("div",{className:"absolute inset-0 z-0 overflow-hidden pointer-events-none",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-linear-to-b from-[#c4b5fd] via-white to-transparent opacity-0 mix-blend-screen animate-[storm-flash_6s_ease-out_infinite]"}),(0,r.jsx)("div",{className:"absolute inset-0 bg-white opacity-0 mix-blend-screen animate-[storm-flash_9s_ease-out_1.8s_infinite]"}),(0,r.jsx)(P,{path:"M58 0 L40 78 L56 78 L30 200 M40 78 L20 120",className:"absolute top-0 left-[16%] h-[70%] w-24 opacity-0 animate-[bolt-strike_6s_ease-out_infinite]"}),(0,r.jsx)(P,{path:"M50 0 L66 70 L48 70 L72 200 M66 70 L86 110",className:"absolute top-0 right-[14%] h-[80%] w-28 opacity-0 animate-[bolt-strike_9s_ease-out_1.8s_infinite]"}),(0,r.jsx)(P,{path:"M52 0 L38 60 L54 60 L42 180",className:"absolute top-0 left-1/2 -translate-x-1/2 h-[55%] w-16 opacity-0 animate-[bolt-strike_11s_ease-out_4.2s_infinite]"}),(0,r.jsx)(W,{})]})},snow:{bgGradient:"bg-linear-to-br from-[#93C5FD] via-[#DBEAFE] to-[#F1F5F9]",textColor:"text-[#0F172A]",accentColor:"text-[#1D4ED8]",cardBg:"bg-white/40 backdrop-blur-xl border border-white/40 shadow-inner",haloColor:"bg-white",Effect:()=>{let e=(0,n.useMemo)(()=>Array.from({length:45},()=>({left:"".concat(100*Math.random(),"%"),delay:"".concat(6*Math.random(),"s"),duration:"".concat(6+6*Math.random(),"s"),size:"".concat(3+7*Math.random(),"px"),drift:"".concat(10+40*Math.random(),"px")})),[]);return(0,r.jsx)("div",{className:"absolute inset-0 z-0 overflow-hidden pointer-events-none opacity-80",children:e.map((e,t)=>(0,r.jsx)("div",{className:"absolute top-[-10%] bg-white rounded-full shadow-[0_0_6px_rgba(255,255,255,0.8)]",style:{left:e.left,width:e.size,height:e.size,"--drift":e.drift,animation:"snow-fall ".concat(e.duration," linear ").concat(e.delay," infinite")}},t))})}}},G=(0,n.memo)(function(){let[e,t]=(0,n.useState)(!1),[a,s]=(0,n.useState)(!1),[i,o]=(0,n.useState)(null);function l(){s(!0),window.setTimeout(()=>{t(!1),s(!1)},320)}if((0,n.useEffect)(()=>{function e(e){e.detail&&(o(e.detail),t(!0))}return window.addEventListener("open-meteo-modal",e),()=>window.removeEventListener("open-meteo-modal",e)},[]),(0,n.useEffect)(()=>
1{if(!e)return;document.body.style.overflow="hidden";let t=e=>{"Escape"===e.key&&l()};return window.addEventListener("keydown",t),()=>{document.body.style.overflow="unset",window.removeEventListener("keydown",t)}},[e]),!e||!i)return null;let d=L(i.current.weatherCode,i.current.isDay),c=R[d],h=c.Effect,x=Math.min(...i.daily.slice(0,3).map(e=>e.tempMin)),u=Math.max(...i.daily.slice(0,3).map(e=>e.tempMax)),p=u-x;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n        @keyframes snow-fall {\n          0% { transform: translate(0, -10px) rotate(0deg); opacity: 0; }\n          20% { opacity: 1; }\n          100% { transform: translate(var(--drift, 20px), 1000%) rotate(360deg); opacity: 0.4; }\n        }\n        @keyframes drift {\n          0% { transform: translateX(0); }\n          100% { transform: translateX(160vw); }\n        }\n        @keyframes twinkle {\n          0%, 100% { opacity: 0.15; transform: scale(0.8); }\n          50% { opacity: 1; transform: scale(1.2); }\n        }\n        @keyframes mote-rise {\n          0% { transform: translateY(0); opacity: 0; }\n          15% { opacity: 0.8; }\n          85% { opacity: 0.6; }\n          100% { transform: translateY(-110vh); opacity: 0; }\n        }\n        @keyframes sun-pulse {\n          0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }\n          50% { transform: translateX(-50%) scale(1.12); opacity: 0.85; }\n        }\n        @keyframes storm-rain {\n          0% { transform: translateY(-15%) rotate(12deg); }\n          100% { transform: translateY(900%) rotate(12deg); }\n        }\n        @keyframes storm-flash {\n          0%, 100% { opacity: 0; }\n          2% { opacity: 0.9; }\n          4% { opacity: 0.2; }\n          6% { opacity: 0.7; }\n          9% { opacity: 0; }\n        }\n        @keyframes bolt-strike {\n          0%, 100% { opacity: 0; transform: scaleY(1); }\n          1% { opacity: 1; }\n          3% { opacity: 0.3; }\n          5% { opacity: 0.95; }\n          8% { opacity: 0; }\n        }\n        @keyframes tile-in {\n          0% { opacity: 0; transform: translateY(26px) scale(0.97); }\n          100% { opacity: 1; transform: translateY(0) scale(1); }\n        }\n        @keyframes bar-grow {\n          0% { transform: scaleX(0); }\n          100% { transform: scaleX(1); }\n        }\n        @keyframes icon-float {\n          0%, 100% { transform: translateY(0) rotate(0deg); }\n          50% { transform: translateY(-10px) rotate(4deg); }\n        }\n        @media (prefers-reduced-motion: reduce) {\n          .weather-tile, .weather-bar, .weather-icon-float { animation: none !important; opacity: 1 !important; transform: none !important; }\n        }\n        /* Mobile : d\xe9sactive les effets tr\xe8s co\xfbteux en GPU (backdrop-filter,\n           blend modes, halos flous anim\xe9s) qui provoquent des clignotements */\n        @media (max-width: 767px) {\n          .meteo-modal .backdrop-blur-xl,\n          .meteo-modal .backdrop-blur-2xl {\n            -webkit-backdrop-filter: none;\n            backdrop-filter: none;\n          }\n          .meteo-modal .mix-blend-screen,\n          .meteo-modal .mix-blend-overlay {\n            mix-blend-mode: normal;\n          }\n          .meteo-modal .meteo-halo {\n            animation: none;\n            filter: blur(70px);\n          }\n        }\n      "}}),(0,r.jsxs)("div",{className:"meteo-modal fixed inset-0 z-[100] flex items-center justify-center p-0 md:p-8",role:"dialog","aria-modal":"true",children:[(0,r.jsx)("div",{className:"absolute inset-0 backdrop-blur-xl transition-opacity duration-300 bg-[radial-gradient(125%_125%_at_50%_30%,rgba(15,23,42,0.55)_0%,rgba(2,6,16,0.85)_100%)] ".concat(a?"opacity-0":"opacity-100"),onClick:l}),(0,r.jsx)("div",{className:"meteo-halo pointer-events-none absolute left-1/2 top-1/2 h-[60vh] w-[60vh] -translate-x-1/2 -translate-y-1/2 rounded-full ".concat(c.haloColor," opacity-25 blur-[160px] animate-pulse [animation-duration:9s]")}),(0,r.jsxs)("div",{className:"relative w-full h-[100svh] md:h-auto max-h-[100svh] md:max-h-[90vh] max-w-2xl overflow-hidden rounded-none md:rounded-[2.5rem] shadow-2xl shadow-black/50 ring-1 ring-white/10 ".concat(c.bgGradient," ").concat(c.textColor," transition-all duration-300 ").concat(a?"translate-y-6 scale-95 opacity-0":"animate-in fade-in zoom-in-95 slide-in-from-bottom-4 duration-500"," flex flex-col"),children:[(0,r.jsx)(h,{}),(0,r.jsx)("div",{className:"absolute -left-20 -top-20 w-96 h-96 ".concat(c.haloColor," opacity-20 blur-[100px] rounded-full pointer-events-none mix-blend-screen")}
1),(0,r.jsx)("div",{className:"absolute -right-20 -bottom-20 w-[30rem] h-[30rem] ".concat(c.haloColor," opacity-10 blur-[120px] rounded-full pointer-events-none mix-blend-screen")}),(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 z-1 bg-[radial-gradient(120%_80%_at_50%_-10%,rgba(255,255,255,0.18),transparent_55%)]"}),(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 z-1 shadow-[inset_0_-120px_120px_-60px_rgba(0,0,0,0.45),inset_0_2px_0_0_rgba(255,255,255,0.15)]"}),(0,r.jsxs)("div",{className:"relative z-10 px-5 pt-[calc(1.5rem+env(safe-area-inset-top))] pb-3 md:px-10 md:pt-10 md:pb-6 flex items-center justify-between shrink-0",children:[(0,r.jsxs)("div",{className:"drop-shadow-md",children:[(0,r.jsx)("span",{className:"text-[9px] md:text-xs font-black uppercase tracking-[0.3em] ".concat(c.accentColor," block mb-0.5 md:mb-1 opacity-90"),children:"En Temps R\xe9el"}),(0,r.jsx)("h2",{className:"text-2xl md:text-4xl font-black tracking-tight leading-none drop-shadow-sm",children:"M\xe9t\xe9o des Eyzies"})]}),(0,r.jsx)("button",{onClick:l,className:"flex h-12 w-12 items-center justify-center rounded-full ".concat(c.cardBg," transition-all duration-300 hover:scale-110 hover:rotate-90 hover:bg-white/20"),children:(0,r.jsx)(m.A,{size:20,strokeWidth:2.5})})]}),(0,r.jsxs)("div",{className:"relative z-10 px-5 pb-[calc(1rem+env(safe-area-inset-bottom))] md:px-10 md:pb-10 flex flex-col gap-3 md:gap-6 overflow-y-auto overscroll-contain md:overflow-visible flex-1 min-h-0 no-scrollbar",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-[1.6fr_1fr] gap-3 md:gap-6",children:[(0,r.jsxs)("div",{className:"weather-tile ".concat(c.cardBg," rounded-3xl md:rounded-[2.5rem] p-5 md:p-10 flex flex-col justify-between relative overflow-hidden group shadow-lg"),style:{animation:"tile-in 0.65s cubic-bezier(0.22,1,0.36,1) 0.08s both"},children:[(0,r.jsx)("span",{className:"weather-icon-float absolute -right-4 -top-4 md:-right-6 md:-top-6 mix-blend-overlay",style:{animation:"icon-float 6s ease-in-out infinite"},children:(0,r.jsx)(F,{name:d,className:"w-32 h-32 md:w-48 md:h-48 opacity-10"})}),(0,r.jsxs)("div",{className:"drop-shadow-lg z-10",children:[(0,r.jsxs)("div",{className:"flex items-start",children:[(0,r.jsx)("span",{className:"text-6xl md:text-9xl font-black tracking-tighter leading-none tabular-nums",children:(0,r.jsx)(A,{value:i.current.temp,duration:1100,delay:250})}),(0,r.jsx)("span",{className:"text-3xl md:text-5xl font-bold mt-1 md:mt-2 ml-1 opacity-90",children:"\xb0C"})]}),(0,r.jsx)("p",{className:"text-xl md:text-3xl font-black mt-2 md:mt-4 capitalize ".concat(c.accentColor," tracking-tight"),children:M(i.current.weatherCode)})]}),i.daily[0]&&(0,r.jsxs)("div",{className:"flex items-center gap-2 md:gap-4 mt-4 md:mt-8 text-[10px] md:text-sm font-black opacity-90 ".concat(c.cardBg," w-fit px-3 py-1.5 md:px-5 md:py-2.5 rounded-full shadow-inner"),children:[(0,r.jsxs)("span",{children:["Max ",Math.round(i.daily[0].tempMax),"\xb0"]}),(0,r.jsx)("span",{className:"opacity-30",children:"•"}),(0,r.jsxs)("span",{children:["Min ",Math.round(i.daily[0].tempMin),"\xb0"]})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-3 gap-2 md:flex md:flex-col md:gap-4",children:[(0,r.jsxs)("div",{className:"weather-tile ".concat(c.cardBg," rounded-[1rem] md:rounded-3xl p-2.5 md:p-6 flex flex-col md:flex-row items-center md:gap-5 flex-1 shadow-lg text-center md:text-left group"),style:{animation:"tile-in 0.6s cubic-bezier(0.22,1,0.36,1) 0.18s both"},children:[(0,r.jsx)("div",{className:"p-1 md:p-2.5 rounded-full bg-white/10 mb-1.5 md:mb-0 group-hover:scale-110 transition-transform",children:(0,r.jsx)(k.A,{className:"w-3.5 h-3.5 md:w-6 md:h-6 text-[#FF9F1C]",strokeWidth:2.5})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-[8px] md:text-xs font-black uppercase tracking-widest opacity-60 mb-0.5",children:"Ressenti"}),(0,r.jsxs)("p",{className:"text-base md:text-2xl font-black drop-shadow-md tabular-nums",children:[(0,r.jsx)(A,{value:i.current.apparentTemp,delay:350}),"\xb0"]})]})]}),(0,r.jsxs)("div",{className:"weather-tile ".concat(c.cardBg," rounded-[1rem] md:rounded-3xl p-2.5 md:p-6 flex flex-col md:flex-row items-center md:gap-5 flex-1 shadow-lg text-center md:text-left group"),style:{animation:"tile-in 0.6s cubic-bezier(0.22,1,0.36,1) 0.26s both"},children:[(0,r.jsx)("div",{className:"p-1 md:p-2.5 rounded-full bg-white/10 mb-1.5 md:mb-0 group-hover:scale-110 transition-transform",children:(0,r.jsx)(_.A,{className:"w-3.5 h-3.5 md:w-6 md:h-6 text-[#2699b0]",strokeWidth:2.5})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-[8px] md:text-xs font-black uppercase tracking-widest opacity-60 mb-0.5",children:"Vent"}),(0,r.jsxs)("p",{className:"text-base md:text-2xl font-black drop-shadow-md tabular-nums",children:[(0,r.jsx)(A,{value:i.current.windSpeed,delay:450}),(0,r.jsx)("span",{className:"text-[10px] md:text-sm font-bold ml-0.5 md:ml-1 opacity-70",children:"km/h"})]})]})]}),(0,r.jsxs)("div",{className:"weather-tile ".concat(c.cardBg," rounded-[1rem] md:rounded-3xl p-2.5 md:p-6 flex flex-col md:flex-row items-center md:gap-5 flex-1 shadow-lg text-center md:text-left group"),style:{animation:"tile-in 0.6s cubic-bezier(0.22,1,0.36,1) 0.34s both"},children:[(0,r.jsx)("div",{className:"p-1 md:p-2.5 rounded-full bg-white/10 mb-1.5 md:mb-0 group-hover:scale-110 transition-transform",children:(0,r.jsx)(C.A,{className:"w-3.5 h-3.5 md:w-6 md:h-6 text-[#3A86FF]",strokeWidth:2.5})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-[8px] md:text-xs font-black uppercase tracking-widest opacity-60 mb-0.5",children:"Humidit\xe9"}),(0,r.jsxs)("p",{className:"text-base md:text-2xl font-black drop-shadow-md tabular-nums",children:[(0,r.jsx)(A,{value:i.current.humidity,delay:550}),"%"]})]})]})]})]}),(0,r.jsxs)("div",{className:"weather-tile ".concat(c.cardBg," rounded-3xl md:rounded-4xl p-4 md:p-8 shadow-lg mt-1 md:mt-0"),style:{animation:"tile-in 0.65s cubic-bezier(0.22,1,0.36,1) 0.42s both"},children:[(0,r.jsxs)("h3",{className:"text-[10px] md:text-sm font-black uppercase tracking-[0.2em] flex items-center gap-2 md:gap-3 mb-3 md:mb-6 opacity-80 border-b border-white/10 pb-2 md:pb-4",children:[(0,r.jsx)(z.A,{size:14,className:"md:w-[18px] md:h-[18px]",strokeWidth:2.5})," Pr\xe9visions \xe0 3 jours"]}),(0,r.jsx)("div",{className:"flex flex-col gap-0 md:gap-1",children:i.daily.slice(0,3).map((e,t)=>{let a=L(e.weatherCode,!0),n=p>0?(e.tempMin-x)/p*100:0,s=p>0?(u-e.tempMax)/p*100:0;return(0,r.jsxs)("div",{className:"weather-tile grid grid-cols-[60px_24px_1fr_45px] md:grid-cols-[100px_50px_1fr_160px] items-center gap-2 md:gap-6 py-1.5 md:py-3 border-b border-white/5 last:border-0 hover:bg-white/5 rounded-lg md:rounded-xl px-1 md:px-2 -mx-1 md:-mx-2 transition-colors",style:{animation:"tile-in 0.55s cubic-bezier(0.22,1,0.36,1) ".concat(.52+.1*t,"s both")},children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-xs md:text-base font-black capitalize",children:e.dayName}),(0,r.jsx)("p",{className:"text-[9px] md:text-xs opacity-60 mt-0.5",children:e.date})]}),(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsx)(F,{name:a,size:16,className:"md:hidden drop-shadow-md opacity-90",strokeWidth:2}),(0,r.jsx)(F,{name:a,size:24,className:"hidden md:block drop-shadow-md opacity-90",strokeWidth:2})]}),(0,r.jsx)("p",{className:"text-[10px] md:text-sm font-bold truncate opacity-90",children:M(e.weatherCode)}),(0,r.jsxs)("div",{className:"hidden md:flex items-center gap-3 w-full",children:[(0,r.jsxs)("span",{className:"w-6 text-right text-sm font-bold opacity-60",children:[Math.round(e.tempMin),"\xb0"]}),(0,r.jsx)("div",{className:"relative h-2 flex-1 rounded-full bg-black/20 overflow-hidden shadow-inner",children:(0,r.jsx)("div",{className:"weather-bar absolute h-full rounded-full bg-linear-to-r from-[#48CAE4] via-[#FFE600] to-[#FF9F1C] opacity-90",style:{left:"".concat(n,"%"),right:"".concat(s,"%"),transformOrigin:"left",animation:"bar-grow 0.9s cubic-bezier(0.22,1,0.36,1) ".concat(.7+.12*t,"s both")}})}),(0,r.jsxs)("span",{className:"w-6 text-left text-sm font-black drop-shadow-sm",children:[Math.round(e.tempMax),"\xb0"]})]}),(0,r.jsxs)("div",{className:"flex md:hidden items-center justify-end gap-1.5 text-xs font-bold w-full",children:[(0,r.jsxs)("span",{className:"opacity-60",children:[Math.round(e.tempMin),"\xb0"]}),(0,r.jsx)("span",{className:"opacity-30",children:"/"}),(0,r.jsxs)("span",{className:"font-black drop-shadow-sm",children:[Math.round(e.tempMax),"\xb0"]})]})]},t)})})]})]})]})]})]})});function H(e){let{isTransparent:t}
1=e,[a,s]=(0,n.useState)(null),[i,o]=(0,n.useState)(!0);(0,n.useEffect)(()=>{!async function(){try{let e="meteo-eyzies",t=sessionStorage.getItem(e);if(t){let{data:e,ts:a}=JSON.parse(t);if(Date.now()-a<6e5){s(e),o(!1);return}}let a=await fetch("https://api.open-meteo.com/v1/forecast?latitude=44.9361&longitude=1.0096&current=weather_code,temperature_2m,relative_humidity_2m,apparent_temperature,is_day,wind_speed_10m&daily=weather_code,temperature_2m_max,temperature_2m_min&timezone=Europe/Paris");if(!a.ok)throw Error("API failed");let r=await a.json(),n=r.current,i=r.daily,l=i.time.map((e,t)=>{let a=new Date(e),r=a.toLocaleDateString("fr-FR",{weekday:"short"});return{date:a.toLocaleDateString("fr-FR",{day:"numeric",month:"short"}),dayName:r.replace(".",""),weatherCode:i.weather_code[t],tempMin:i.temperature_2m_min[t],tempMax:i.temperature_2m_max[t],description:M(i.weather_code[t])}});s({current:{temp:n.temperature_2m,apparentTemp:n.apparent_temperature,humidity:n.relative_humidity_2m,windSpeed:n.wind_speed_10m,weatherCode:n.weather_code,isDay:1===n.is_day,description:n.description},daily:l}),sessionStorage.setItem(e,JSON.stringify({data:{current:{temp:n.temperature_2m,apparentTemp:n.apparent_temperature,humidity:n.relative_humidity_2m,windSpeed:n.wind_speed_10m,weatherCode:n.weather_code,isDay:1===n.is_day,description:n.description},daily:l},ts:Date.now()}))}catch(n){console.warn("Weather API failed, falling back to mock weather data:",n);let e=new Date,t=e.getHours()>=6&&21>=e.getHours(),a=["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],r=Array.from({length:7}).map((t,r)=>{let n=new Date;return n.setDate(e.getDate()+r),{date:n.toLocaleDateString("fr-FR",{day:"numeric",month:"short"}),dayName:a[n.getDay()],weatherCode:2===r?3:61*(4===r),tempMin:12+r%3,tempMax:20+r%4,description:M(2===r?3:61*(4===r))}});s({current:{temp:18,apparentTemp:18,humidity:65,windSpeed:12,weatherCode:0,isDay:t,description:M(0)},daily:r})}finally{o(!1)}}()},[]);let l=a?L(a.current.weatherCode,a.current.isDay):"sun",d=a?a.current.temp:null;return(0,r.jsx)("button",{type:"button",onClick:function(){if(!a)return;let e=new CustomEvent("open-meteo-modal",{detail:a});window.dispatchEvent(e)},className:"flex items-center gap-2 px-3.5 py-2 text-sm font-black transition hover:-translate-y-0.5 hover:cursor-pointer rounded-full border shadow-sm ".concat(t?"text-white hover:text-white bg-white/15 hover:bg-white/25 border-white/25 hover:border-white/40":"text-[#183f34] hover:text-[#b46b38] bg-[#f8f4ec] hover:bg-[#d8c6aa]/30 border-[#d8c6aa]/45 hover:border-[#b46b38]/30"),title:"M\xe9t\xe9o \xe0 Les Eyzies (Cliquez pour les pr\xe9visions)",children:i?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"inline-block h-4 w-4 animate-pulse rounded-full bg-current opacity-20"}),(0,r.jsx)("span",{className:"inline-block h-3.5 w-9 animate-pulse rounded bg-current opacity-20"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(F,{name:l,size:16,strokeWidth:2.5,className:"sun"===l?"animate-[spin_18s_linear_infinite]":"weather-bob"}),(0,r.jsx)("span",{className:"animate-in fade-in slide-in-from-bottom-1 duration-500 tabular-nums",children:null!==d?"".concat(Math.round(d),"\xb0C"):"—"})]})})}var V=a(82564);function Y(e){var t;let{navigation:a,backgroundColor:s,socialLinks:x=[],alwaysTransparent:u=!1}=e,[p,f]=(0,n.useState)(!1),[g,w]=(0,n.useState)(!0),[v,j]=(0,n.useState)(0),[y,N]=(0,n.useState)(null),k=(t=s||"#f8f4ec",/^#[0-9a-fA-F]{6}$/.test(t)?"".concat(t).concat("f7"):t),_=u?!p:g&&!p,C=x.filter(e=>e.enabled&&e.url),z=e=>{N(y===e?null:e)};return(0,n.useEffect)(()=>{if(u){w(!0),j(0);return}let e=0,t=()=>{cancelAnimationFrame(e),e=requestAnimationFrame(()=>{var e;let t=document.querySelector("header"),a=document.querySelector("[data-header-banner]"),r=null!=(e=null==t?void 0:t.getBoundingClientRect().height)?e:88,n=document.documentElement.scrollHeight-window.innerHeight;if(j(n>0?Math.min(100,Math.max(0,window.scrollY/n*100)):0),a)return void w(a.getBoundingClientRect().bottom>r+8);let s=document.querySelector("main");w(!!s&&s.getBoundingClientRect().top>r+8)})};return t(),window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t),()=>{cancelAnimationFrame(e),window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[u]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"fixed inset-x-0 top-0 z-60 h-[3px] bg-transparent",children:(0,r.jsx)("div",{className:"scroll-progress h-full",style:{width:"".concat(v,"%")}})}),(0,r.jsxs)("header",{className:"fixed inset-x-0 top-0 z-50 bg-transparent px-3 py-3",children:[(0,r.jsxs)("div",{className:"mx-auto flex max-w-7xl items-center justify-between gap-6 px-4 py-3 transition-all duration-300 lg:px-5 ".concat(_?"text-white":"rounded-full border border-white/60 bg-white/85 text-[#17211d] shadow-2xl shadow-[#183f34]/10 backdrop-blur-xl"),children:[(0,r.jsxs)(i(),{href:"/",className:"flex items-center gap-3",onClick:()=>f(!1),children:[(0,r.jsx)(V.p,{src:"/blason-les-eyzies.webp",alt:"Blason des Eyzies",width:48,height:48,className:"h-12 w-12 shrink-0 rounded-2xl bg-white/85 object-contain p-1 shadow-xl shadow-black/20"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-sm font-black uppercase tracking-[0.28em] drop-shadow transition-colors ".concat(_?"text-[#d8c6aa]":"text-[#b46b38]"),children:"Commune"}),(0,r.jsx)("p",{className:"text-xl font-black tracking-tight drop-shadow transition-colors ".concat(_?"text-white":"text-[#17211d]"),children:"Les Eyzies"})]})]}),(0,r.jsx)("nav",{className:"hidden items-center gap-1 lg:flex",children:a.map(e=>{let t=e.items&&e.items.length>0;return(0,r.jsxs)("div",{className:"group relative pb-2",children:[e.href&&"#"!==e.href?(0,r.jsxs)(i(),{href:e.href,className:"inline-flex items-center gap-1 rounded-full px-4 py-2 text-sm font-bold drop-shadow transition hover:-translate-y-0.5 hover:shadow-lg hover:shadow-black/10 ".concat(_?"text-white/90 hover:bg-white/15 hover:text-white":"text-[#17211d] hover:bg-[#183f34]/10 hover:text-[#183f34]"),children:[e.label,t&&(0,r.jsx)(o.A,{size:14,strokeWidth:2.5,className:"opacity-70 transition-transform duration-300 group-hover:rotate-180"})]}):(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full px-4 py-2 text-sm font-bold drop-shadow transition cursor-default select-none ".concat(_?"text-white/90 hover:text-white":"text-[#17211d] hover:text-[#183f34]"),children:[e.label,t&&(0,r.jsx)(o.A,{size:14,strokeWidth:2.5,className:"opacity-70 transition-transform duration-300 group-hover:rotate-180"})]}),t?(0,r.jsxs)("div",{className:"invisible absolute left-0 top-full w-72 origin-top translate-y-2 rounded-3xl border p-2.5 opacity-0 shadow-2xl backdrop-blur-xl transition-all duration-300 ease-out group-hover:visible group-hover:translate-y-0 group-hover:opacity-100 ".concat(_?"bg-[#183f34]/95 border-white/10 shadow-[#183f34]/30":"bg-white border-[#d8c6aa]/40 shadow-[#183f34]/10"),children:[(0,r.jsx)("p",{className:"px-4 pb-2 pt-1 text-[0.6rem] font-black uppercase tracking-[0.28em] ".concat(_?"text-[#d8c6aa]/80":"text-[#b46b38]"),children:e.label}),e.items.map(e=>(0,r.jsxs)(i(),{href:e.href,className:"group/item flex items-center justify-between rounded-2xl px-4 py-2.5 text-sm font-medium transition-all duration-200 nav-submenu-link ".concat(_?"is-transparent":""),children:[(0,r.jsx)("span",{children:e.label}),(0,r.jsx)("span",{className:"opacity-0 transition-all duration-200 group-hover/item:translate-x-1 group-hover/item:opacity-100",children:"→"})]},e.href))]}):null]},e.label)})}),(0,r.jsxs)("div",{className:"hidden items-center gap-4 lg:flex",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>window.dispatchEvent(new Event("open-command-bar")),className:"flex items-center gap-2 rounded-full border px-3 py-2 text-sm font-semibold transition hover:-translate-y-0.5 hover:cursor-pointer ".concat(_?"border-white/25 bg-white/12 text-white hover:bg-white/20":"border-[#d8c6aa]/70 bg-white/70 text-[#183f34] hover:bg-white"),title:"Rechercher (Ctrl/Cmd + K)","data-cursor-label":"Rechercher",children:[(0,r.jsx)(l.A,{size:16}),(0,r.jsx)("kbd",{className:"hidden rounded border px-1.5 text-[0.65rem] font-bold xl:inline ".concat(_?"border-white/30 text-white/80":"border-[#d8c6aa] text-[#8a7a63]"),children:"⌘K"})]}),(0,r.jsx)("button",{type:"button","data-open-location":!0,className:"flex items-center gap-2 px-4 py-2 text-sm font-bold transition hover:-translate-y-0.5 hover:cursor-pointer ".concat(_?"text-white":"text-[#183f34] hover:text-[#b46b38]"),title:"Carte de localisation",children:(0,r.jsx)(d.A,{size:16})}),(0,r.jsx)(i(),{href:"/contact",className:"flex items-center gap-2 pr-4 py-2 text-sm font-bold transition hover:-translate-y-0.5 hover:cursor-pointer ".concat(_?"text-white":"text-[#183f34] hover:text-[#b46b38]"),children:(0,r.jsx)(c.A,{size:16})}),(0,r.jsx)(H,{isTransparent:_})]}),(0,r.jsx)("div",{className:"h-6 w-px ".concat(_?"bg-white/20":"bg-[#183f34]/15")}),(0,r.jsx)(q,{links:C,isTransparent:_})]}),(0,r.jsx)("button",{type:"button",onClick:()=>f(e=>!e),className:"grid h-11 w-11 place-items-center rounded-full border shadow-lg shadow-black/10 backdrop-blur transition lg:hidden ".concat(_?"border-white/20 bg-white/15 text-white hover:bg-white/25":"border-[#d8c6aa]/70 bg-white/80 text-[#17211d] hover:bg-white"),"aria-controls":"mobile-navigation","aria-expanded":p,"aria-label":p?"Fermer le menu":"Ouvrir le menu",children:p?(0,r.jsx)(m.A,{size:22}):(0,r.jsx)(h.A,{size:22})})]}),(0,r.jsx)("div",{id:"mobile-navigation",className:"mx-3 rounded-4xl border border-white/60 px-5 pb-5 shadow-2xl shadow-[#183f34]/10 backdrop-blur-xl lg:hidden transition-all duration-300 ease-out origin-top ".concat(p?"o
1pacity-100 scale-y-100 max-h-[calc(100vh-7rem)] mt-2 visible":"opacity-0 scale-y-95 max-h-0 invisible overflow-hidden pointer-events-none"),style:{backgroundColor:k},children:(0,r.jsxs)("nav",{className:"mx-auto flex max-h-[calc(100dvh-8rem)] max-w-7xl flex-col gap-2.5 overflow-y-auto pt-4",children:[a.map(e=>{var t;let a=e.items&&e.items.length>0,n=y===e.label;return(0,r.jsxs)("div",{className:"rounded-3xl border border-white/50 bg-white/40 p-1.5 shadow-xs backdrop-blur-xs transition-all duration-300",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[e.href&&"#"!==e.href?(0,r.jsx)(i(),{href:e.href,onClick:()=>f(!1),className:"flex-1 rounded-2xl px-4 py-3 text-base font-black text-[#183f34] transition hover:bg-white/50",children:e.label}):(0,r.jsx)("button",{type:"button",onClick:()=>a&&z(e.label),className:"flex-1 text-left rounded-2xl px-4 py-3 text-base font-black text-[#183f34] transition hover:bg-white/50",children:e.label}),a&&(0,r.jsx)("button",{type:"button",onClick:()=>z(e.label),className:"mr-1 grid h-10 w-10 place-items-center rounded-xl bg-white/60 text-[#b46b38] transition-all duration-300 hover:bg-white ".concat(n?"rotate-180":""),children:(0,r.jsx)(o.A,{size:18,strokeWidth:2.5})})]}),a&&(0,r.jsx)("div",{className:"grid transition-all duration-300 ease-in-out ".concat(n?"grid-rows-[1fr] opacity-100 mt-2 border-t border-[#d8c6aa]/30 pt-2 px-1 pb-1":"grid-rows-[0fr] opacity-0 pointer-events-none"),children:(0,r.jsx)("div",{className:"overflow-hidden",children:(0,r.jsx)("div",{className:"flex flex-col gap-1",children:null==(t=e.items)?void 0:t.map(e=>(0,r.jsx)(i(),{href:e.href,onClick:()=>f(!1),className:"rounded-2xl px-4 py-2.5 text-sm font-semibold text-[#51635a] transition hover:bg-[#183f34] hover:text-white",children:e.label},e.href))})})})]},e.label)}),(0,r.jsxs)("div",{className:"mt-3 flex items-center justify-between gap-4 border-t border-[#d8c6aa]/40 pt-4 px-1",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2 sm:gap-3",children:[(0,r.jsxs)("button",{type:"button","data-open-location":!0,className:"flex h-10 items-center gap-2 rounded-full bg-[#183f34] text-white px-5 text-sm font-black shadow-md transition hover:bg-[#b46b38]",children:[(0,r.jsx)(d.A,{size:16}),(0,r.jsx)("span",{className:"hidden sm:inline",children:"Carte"})," "]}),(0,r.jsx)(i(),{href:"/contact","aria-label":"Nous contacter",className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-[#183f34]/10 text-[#183f34] transition hover:bg-[#b46b38] hover:text-white",children:(0,r.jsx)(c.A,{size:18,strokeWidth:2.5})}),(0,r.jsx)(H,{isTransparent:!1})]}),(0,r.jsx)("div",{className:"hidden sm:block h-6 w-px shrink-0 bg-[#183f34]/15"}),(0,r.jsx)(q,{links:C,isTransparent:!1})]})]})})]}),(0,r.jsx)(b,{}),(0,r.jsx)(G,{})]})}function q(e){let{links:t,isTransparent:a}=e;return 0===t.length?null:(0,r.jsx)("div",{className:"flex items-center gap-2",children:t.map(e=>(0,r.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer","aria-label":e.label,title:e.label,className:"grid h-10 w-10 place-items-center rounded-full border shadow-lg shadow-black/5 backdrop-blur transition hover:-translate-y-0.5 ".concat(a?"border-white/20 bg-white/12 text-white hover:bg-white/25":"border-[#d8c6aa]/70 bg-white/80 text-[#183f34] hover:bg-[#183f34] hover:text-white"),children:(0,r.jsx)(I,{platform:e.platform})},e.platform))})}function I(e){let{platform:t}=e,a="h-4 w-4",n=t.toLowerCase();return"facebook"===n?(0,r.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:a,fill:"currentColor",children:(0,r.jsx)("path",{d:"M13.8 21v-7.5h2.5l.4-2.9h-2.9V8.7c0-.8.2-1.4 1.4-1.4h1.6V4.7c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.2H8v2.9h2.6V21h3.2Z"})}):"instagram"===n?(0,r.jsxs)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:a,fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,r.jsx)("rect",{x:"4",y:"4",width:"16",height:"16",rx:"5"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"3.5"}),(0,r.jsx)("circle",{cx:"17",cy:"7",r:"1",fill:"currentColor",stroke:"none"})]}):"youtube"===n?(0,r.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:a,fill:"currentColor",children:(0,r.jsx)("path",{d:"M21.6 7.2a3 3 0 0 0-2.1-2.1C17.6 4.6 12 4.6 12 4.6s-5.6 0-7.5.5a3 3 0 0 0-2.1 2.1C2 9.1 2 12 2 12s0 2.9.4 4.8a3 3 0 0 0 2.1 2.1c1.9.5 7.5.5 7.5.5s5.6 0 7.5-.5a3 3 0 0 0 2.1-2.1c.4-1.9.4-4.8.4-4.8s0-2.9-.4-4.8ZM10 15.4V8.6l6 3.4-6 3.4Z"})}):"linkedin"===n?(0,r.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:a,fill:"currentColor",children:(0,r.jsx)("path",{d:"M6.5 8.9H3.4V20h3.1V8.9ZM5 7.4c1 0 1.8-.8 1.8-1.7S6 4 5 4s-1.8.8-1.8 1.7S4 7.4 5 7.4ZM20.8 20v-6.1c0-3-1.6-4.4-3.8-4.4-1.7 0-2.5 1-3 1.7V8.9h-3.1V20H14v-5.5c0-1.5.3-2.9 2.1-2.9 1.7 0 1.7 1.6 1.7 3V20h3Z"})}):"x"===n?(0,r.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:a,fill:"currentColor",children:(0,r.jsx)("path",{d:"M14.4 10.6 21 3h-1.6l-5.7 6.5L9.2 3H4l6.9 10-6.9 8h1.6l6-6.9 4.8 6.9h5.2l-7.2-10.4Zm-2.1 2.4-.7-1L6 4.2h2.4l4.5 6.4.7 1 5.9 8.3h-2.4L12.3 13Z"})}):(0,r.jsx)(x.A,{size:16})}},82564:(e,t,a)=>{a.d(t,{p:()=>i});var r=a(95155),n=a(15239),s=a(14617);function i(e){let t="string"==typeof e.src?(0,s.d8)(e.src):e.src;return(0,r.jsx)(n.default,{...e,src:t,unoptimized:!0})}}}]);

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.