(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return o.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(32120),i=e.r(92245),s=e.r(35326)},22016,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return x},useLinkStatus:function(){return v}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(90809),i=e.r(43476),s=o._(e.r(71645)),u=e.r(95057),l=e.r(8372),c=e.r(18581),d=e.r(18967),f=e.r(5550),p=e.r(88540),h=e.r(91949),m=e.r(73668),g=e.r(9396);function x(t){var r;let n,a,o,[x,v]=(0,s.useOptimistic)(h.IDLE_LINK_STATUS),y=(0,s.useRef)(null),{href:j,as:S,children:w,prefetch:C=null,passHref:k,replace:P,shallow:M,scroll:T,onClick:N,onMouseEnter:R,onTouchStart:E,legacyBehavior:L=!1,onNavigate:D,transitionTypes:_,ref:O,unstable_dynamicOnHover:I,...$}=t;n=w,L&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let U=s.default.useContext(l.AppRouterContext),A=!1!==C,B=!1===C?"none":!0===C?"full":"auto",F="none"!==B?"auto"===B?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,K="string"==typeof(r=S||j)?r:(0,u.formatUrl)(r);if(L){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=s.default.Children.only(n)}let W=L?a&&"object"==typeof a&&a.ref:O,H,Z=s.default.useCallback(e=>(null!==U&&(y.current=(0,h.mountLinkInstance)(e,K,U,F,A,v,H)),()=>{y.current&&((0,h.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,h.unmountPrefetchableInstance)(e)}),[A,K,U,F,v,H]),q={ref:(0,c.useMergedRef)(Z,W),onClick(t){L||"function"!=typeof N||N(t),L&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!U||t.defaultPrevented||function(t,r,n,a,o,i,u,l="none"){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(99781);s.default.startTransition(()=>{f(r,a?"replace":"push",!1===o?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,u,l)})}}(t,K,y,P,T,D,_,B)},onMouseEnter(e){L||"function"!=typeof R||R(e),L&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),U&&A&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){L||"function"!=typeof E||E(e),L&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),U&&A&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(K)?q.href=K:L&&!k&&("a"!==a.type||"href"in a.props)||(q.href=(0,f.addBasePath)(K)),o=L?s.default.cloneElement(a,q):(0,i.jsx)("a",{...$,...q,children:n}),(0,i.jsx)(b.Provider,{value:x,children:o})}let b=(0,s.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,s.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(71645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=o(e,n)),t&&(a.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18967,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return x},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return y},NormalizeError:function(){return b},PageNotFoundError:function(){return v},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return o},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return u},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return S}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&s.test(e)};function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class x extends Error{}class b extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(18967),a=e.r(52817);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return u},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function u(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return l},urlObjectKeys:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(90809)._(e.r(98183)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",s=e.hash||"",u=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(l+=":"+e.port)),u&&"object"==typeof u&&(u=String(o.urlQueryToSearchParams(u)));let c=e.search||u&&`?${u}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==l?(l="//"+(l||""),a&&"/"!==a[0]&&(a="/"+a)):l||(l=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),a=a.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${l}${a}${c}${s}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return s(e)}},18566,(e,t,r)=>{t.exports=e.r(76562)},75174,e=>{"use strict";var t=e.i(95187);let r=(0,t.createServerReference)("60f33c0b1e3442e568783860eb06d3ebdaabb1f46b",t.callServer,void 0,t.findSourceMapURL,"toggleSupplementAction");e.s(["toggleSupplementAction",0,r])},66874,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(67725),a=e.i(91370);e.s(["DayHeader",0,function({date:e,basePath:o="/",isToday:i,left:s,right:u}){let l=(0,n.isoDate)((0,n.addDays)(e,-1)),c=(0,n.isoDate)((0,n.addDays)(e,1)),d=(0,n.isoDate)(e).slice(0,7),{goToDate:f}=(0,a.usePagerContext)();return(0,t.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr] items-center gap-2",children:[(0,t.jsx)("div",{className:"flex min-w-0 items-center gap-2",children:s}),(0,t.jsxs)("div",{className:"flex h-8 items-stretch rounded-full bg-white/[0.14]",children:[(0,t.jsx)("button",{type:"button",onClick:()=>f(l),"aria-label":"Jour précédent",className:"flex w-7 shrink-0 items-center justify-center text-white/80 active:opacity-50",children:(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",children:(0,t.jsx)("path",{d:"m15 18-6-6 6-6",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)(r.default,{href:`/calendrier?month=${d}&from=${encodeURIComponent(o)}`,className:"flex min-w-0 items-center justify-center truncate px-3 text-center text-[10px] font-semibold uppercase tracking-[0.06em] text-white",children:i?"Aujourd'hui":(0,n.formatLongDate)(e)}),(0,t.jsx)("button",{type:"button",onClick:()=>f(c),"aria-label":"Jour suivant",className:"flex w-7 shrink-0 items-center justify-center text-white/80 active:opacity-50",children:(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",children:(0,t.jsx)("path",{d:"m9 18 6-6-6-6",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,t.jsx)("div",{className:"flex min-w-0 items-center justify-end gap-2",children:u})]})}])},94890,39354,40379,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(95187);let a=(0,n.createServerReference)("40f2a61ceea0314dab58dc0974fd3fada04575679e",n.callServer,void 0,n.findSourceMapURL,"updateFoodItemKcalAction");var o=e.i(91370);e.s(["FoodItemKcalEditor",0,function({date:e,foodItemId:n,kcalPerRef:i,unit:s}){let[u,l]=(0,r.useState)(i.toString()),[c,d]=(0,r.useTransition)(),{refetchDate:f,refetchGraphiques:p}=(0,o.usePagerContext)();return(0,t.jsxs)("span",{className:`inline-flex items-center gap-1 ${c?"opacity-50":""}`,children:[(0,t.jsx)("span",{className:"text-neutral-600",children:"réf."}),(0,t.jsx)("input",{type:"number",value:u,onChange:e=>l(e.target.value),onBlur:function(){let t=Number(u);if(!Number.isFinite(t)||t<0||t===i)return;let r=new FormData;r.set("foodItemId",n),r.set("kcalPerRef",u),d(async()=>{await a(r),e&&f(e),p()})},inputMode:"numeric",title:"kcal de référence (modifiable)",className:"w-11 shrink-0 rounded border border-transparent bg-transparent px-1 py-0.5 text-right text-[11px] text-neutral-500 hover:border-white/[0.12] focus:border-white/20 focus:bg-[var(--app-surface-2)] focus:text-neutral-200 focus:outline-none"}),(0,t.jsxs)("span",{className:"text-neutral-600",children:["kcal/","GRAM"===s?"100 g":"unité"]})]})}],94890);let i=(0,n.createServerReference)("60a5e5f381121458021957e9ed9d2b69a331db7a7b",n.callServer,void 0,n.findSourceMapURL,"toggleMealFavoriteAction");function s(e,t,r){return"GRAM"===e?t*r/100:t*r}e.s(["toggleMealFavoriteAction",0,i],39354),e.s(["computeItemKcal",0,s,"computeItemMacro",0,function(e,t,r){return null===t?null:s(e,t,r)}],40379)},91370,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566),a=e.i(67725);function o(e,t,r=0){fetch(e).then(t=>{if(t.redirected||401===t.status)return"/login"===window.location.pathname||(window.location.href="/login"),null;if(!t.ok)throw Error(`${e} -> ${t.status}`);return t.json()}).then(e=>{e&&t(e)}).catch(()=>{r<3&&setTimeout(()=>o(e,t,r+1),1500*(r+1))})}let i=(0,r.createContext)(null);function s(){let e=(0,r.useContext)(i);if(!e)throw Error("usePagerContext must be used within PagerProvider");return e}e.s(["BundleSeed",0,function({dateIso:e,bundle:t}){let{seedDate:n}=s();return(0,r.useLayoutEffect)(()=>{n(e,t)},[e,t,n]),null},"GraphiquesBundleSeed",0,function({bundle:e}){let{seedGraphiques:t}=s();return(0,r.useLayoutEffect)(()=>{t(e)},[e,t]),null},"PagerProvider",0,function({children:e}){let s=(0,n.usePathname)(),u=(0,n.useRouter)(),l=(0,n.useSearchParams)().get("date"),[c,d]=(0,r.useState)(()=>l??(0,a.todayLocalIso)()),[f,p]=(0,r.useState)({}),[h,m]=(0,r.useState)(void 0),g=(0,r.useRef)(new Set),x=(0,r.useRef)(!1),[b,v]=(0,r.useState)(l);l&&l!==b&&(v(l),d(l));let y=(0,r.useCallback)(e=>{o(`/api/day-bundle?date=${e}`,t=>{p(r=>{let n;return{...r,[e]:(n=t.session.nextProgramStart,{...t,session:{...t.session,nextProgramStart:n?new Date(n):null}})}})})},[]),j=(0,r.useCallback)(e=>{f[e]||g.current.has(e)||(g.current.add(e),y(e),setTimeout(()=>g.current.delete(e),0))},[f,y]),S=(0,r.useCallback)(e=>y(e),[y]),w=(0,r.useCallback)(()=>{o("/api/graphiques-bundle",m)},[]),C=(0,r.useCallback)(()=>{h||x.current||(x.current=!0,w(),setTimeout(()=>{x.current=!1},0))},[h,w]),k=(0,r.useCallback)(()=>{h&&w()},[h,w]),P=(0,r.useCallback)(e=>{d(e),j(e),u.replace(`${s}?date=${e}`,{scroll:!1})},[j,u,s]),M=(0,r.useCallback)(e=>f[e],[f]),T=(0,r.useCallback)((e,t)=>{p(r=>({...r,[e]:t}))},[]),N=(0,r.useCallback)(e=>{m(e)},[]),R=(0,r.useMemo)(()=>({date:c,goToDate:P,getBundle:M,seedDate:T,ensureLoaded:j,refetchDate:S,graphiquesBundle:h,seedGraphiques:N,ensureGraphiquesLoaded:C,refetchGraphiques:k}),[c,P,M,T,j,S,h,N,C,k]);return(0,t.jsx)(i.Provider,{value:R,children:e})},"usePagerContext",0,s])},26160,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(22016),a=e.i(95187);let o=(0,a.createServerReference)("00ecf088826e67e3c697400146df33583812ee5968",a.callServer,void 0,a.findSourceMapURL,"logout"),i=[{href:"/parametres/nutrition",label:"Plan nutrition",detail:"Repas de base, aliments, quantités par défaut"},{href:"/parametres/entrainement",label:"Espace entraînement",detail:"Toutes les séances, statuts, dates de bloc"},{href:"/parametres/programme",label:"Coach",detail:"Créer tes blocs, semaines et séances, coût calorique estimé par exercice"},{href:"/parametres/repere",label:"Repère",detail:"Plan théorique M1/M2/M3 et position actuelle"},{href:"/parametres/plan",label:"Plan",detail:"Maxes, courbe perso, projection e1RM"},{href:"/parametres/registre",label:"Registre",detail:"Toutes les données brutes, jour par jour, pour vérifier"},{href:"/parametres/widgets",label:"Réglage widgets",detail:"Horaires des widgets Suivi, Repas, Entraînement sur Accueil"}];e.s(["SettingsMenu",0,function(){let[e,a]=(0,r.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:()=>a(!0),"aria-label":"Paramètres",className:"rounded-full p-2 text-neutral-400 transition active:bg-[var(--app-surface-2)]",children:(0,t.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"}),(0,t.jsx)("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1Z",strokeLinecap:"round",strokeLinejoin:"round"})]})}),e&&(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex flex-col justify-end bg-black/70 backdrop-blur-sm",onClick:()=>a(!1),children:(0,t.jsxs)("div",{className:"mx-auto w-full max-w-md rounded-t-3xl border-t border-white/10 bg-[var(--app-bg)] p-4",style:{paddingBottom:"calc(1rem + env(safe-area-inset-bottom))"},onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("div",{className:"mx-auto mb-4 h-1 w-10 rounded-full bg-neutral-700"}),(0,t.jsx)("p",{className:"mb-3 px-1 text-[11px] font-medium uppercase tracking-[0.09em] text-neutral-500",children:"Paramètres"}),(0,t.jsx)("div",{className:"space-y-2",children:i.map(e=>(0,t.jsxs)(n.default,{href:e.href,onClick:()=>a(!1),className:"flex items-center gap-3 rounded-2xl app-card px-4 py-3 active:bg-[var(--app-surface-2)]",children:[(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsx)("span",{className:"block text-[15px] font-medium text-neutral-100",children:e.label}),(0,t.jsx)("span",{className:"mt-0.5 block truncate text-[12px] text-neutral-500",children:e.detail})]}),(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"text-neutral-600",children:(0,t.jsx)("path",{d:"m9 18 6-6-6-6",strokeLinecap:"round",strokeLinejoin:"round"})})]},e.href))}),(0,t.jsx)("form",{action:o,className:"mt-3",children:(0,t.jsx)("button",{type:"submit",className:"w-full rounded-2xl border border-white/[0.05] py-3 text-sm text-neutral-500",children:"Se déconnecter"})})]})})]})}],26160)},39964,14984,e=>{"use strict";var t=e.i(43476);e.i(22016);let r={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"};e.s(["IconBarbell",0,function({size:e=22}){return(0,t.jsxs)("svg",{width:e,height:e,...r,children:[(0,t.jsx)("rect",{x:"2.5",y:"9.5",width:"3",height:"5",rx:"1"}),(0,t.jsx)("rect",{x:"18.5",y:"9.5",width:"3",height:"5",rx:"1"}),(0,t.jsx)("path",{d:"M5.5 12h13",strokeWidth:"2.6"}),(0,t.jsx)("path",{d:"M7.5 7.5v9M16.5 7.5v9"})]})},"IconChart",0,function({size:e=22}){return(0,t.jsxs)("svg",{width:e,height:e,...r,children:[(0,t.jsx)("path",{d:"M4 19V5"}),(0,t.jsx)("path",{d:"M4 19h16"}),(0,t.jsx)("path",{d:"m7.5 15 3.5-4 3 2.5L20 7.5"})]})},"IconChevron",0,function({size:e=18}){return(0,t.jsx)("svg",{width:e,height:e,...r,strokeWidth:2,children:(0,t.jsx)("path",{d:"m9 18 6-6-6-6"})})},"IconHome",0,function({size:e=22}){return(0,t.jsxs)("svg",{width:e,height:e,...r,children:[(0,t.jsx)("path",{d:"M4 11.5 12 4l8 7.5"}),(0,t.jsx)("path",{d:"M6 10v9a1 1 0 0 0 1 1h3v-6h4v6h3a1 1 0 0 0 1-1v-9"})]})},"IconMeal",0,function({size:e=22}){return(0,t.jsxs)("svg",{width:e,height:e,...r,children:[(0,t.jsx)("path",{d:"M6 3v7a2 2 0 0 0 2 2v9M6 3v6M9 3v6"}),(0,t.jsx)("path",{d:"M17.5 3c0 4-1.5 5.5-1.5 5.5s-1.2 1-1.2 3.5v9"})]})},"IconMoon",0,function({size:e=22}){return(0,t.jsx)("svg",{width:e,height:e,...r,children:(0,t.jsx)("path",{d:"M20 14.5A8.5 8.5 0 0 1 9.5 4a7 7 0 1 0 10.5 10.5Z"})})},"IconScale",0,function({size:e=22}){return(0,t.jsxs)("svg",{width:e,height:e,...r,children:[(0,t.jsx)("rect",{x:"3",y:"4",width:"18",height:"17",rx:"4"}),(0,t.jsx)("path",{d:"M8 10a4 4 0 0 1 8 0"}),(0,t.jsx)("path",{d:"M12 10 10.5 7.5"})]})}],14984),e.s(["Card",0,function({children:e,className:r="",style:n}){return(0,t.jsx)("section",{className:`app-card rounded-2xl p-5 ${r}`,style:n,children:e})},"Label",0,function({children:e,className:r=""}){return(0,t.jsx)("p",{className:`text-[12px] font-semibold uppercase tracking-[0.14em] text-neutral-400 ${r}`,children:e})}],39964)},67725,e=>{"use strict";let t=["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],r=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];function n(e=new Date){let t=new Intl.DateTimeFormat("en-CA",{timeZone:"Europe/Paris",year:"numeric",month:"2-digit",day:"2-digit"}).format(e);return new Date(`${t}T00:00:00.000Z`)}e.s(["WEEKDAY_SHORT",0,["L","M","M","J","V","S","D"],"addDays",0,function(e,t){let r=new Date(e);return r.setUTCDate(r.getUTCDate()+t),r},"formatHoursMinutes",0,function(e){let t=Math.round(60*e),r=Math.floor(t/60);return`${r}h${String(t%60).padStart(2,"0")}`},"formatLongDate",0,function(e){return`${t[e.getUTCDay()]} ${e.getUTCDate()} ${r[e.getUTCMonth()]}`},"isoDate",0,function(e){return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())).toISOString().slice(0,10)},"minToHHMM",0,function(e){let t=Math.floor(e/60)%24;return`${String(t).padStart(2,"0")}:${String(e%60).padStart(2,"0")}`},"mondayOfIso",0,function(e){let t=new Date(`${e}T00:00:00.000Z`),r=t.getUTCDay();return t.setUTCDate(t.getUTCDate()+((0===r?-6:1)-r)),t.toISOString().slice(0,10)},"parseIsoDateParam",0,function(e){let t=n();if(!e||!/^\d{4}-\d{2}-\d{2}$/.test(e))return t;let r=new Date(`${e}T00:00:00.000Z`);return Number.isNaN(r.getTime())?t:r},"todayLocalIso",0,function(e=new Date){return n(e).toISOString().slice(0,10)}])}]);