From 1a07e24b3d014ca4892f0d40f403de573a311d05 Mon Sep 17 00:00:00 2001 From: mrleblanc101 Date: Thu, 1 Aug 2024 01:03:11 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20mrleblan?= =?UTF-8?q?c101/neobigben@514873632e2e2d2f159bcf3b034a8a4da5843207=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 200.html | 22 +++++++++---------- 404.html | 22 +++++++++---------- _nuxt/{Dx0QtxMm.js => BhaLqpCj.js} | 2 +- _nuxt/{fDKSXIzk.js => C7OjwfWT.js} | 2 +- _nuxt/{BNHPXFWj.js => Cdv6vk6s.js} | 2 +- _nuxt/{D6msgEZY.js => CeaNXkwu.js} | 2 +- _nuxt/{FTbH54h0.js => Czusa6IX.js} | 2 +- _nuxt/{D8Dzc6nF.js => DOkcDheY.js} | 2 +- _nuxt/{DPmltWRH.js => DXKa0e7G.js} | 2 +- _nuxt/{CofIfSQX.js => Dh_qWEXu.js} | 2 +- _nuxt/{B3EG_2Du.js => DnyUcCWV.js} | 2 +- _nuxt/builds/latest.json | 2 +- .../27bc5d79-f189-4de8-b5f6-7a771522c97a.json | 1 + .../d2969886-3eb0-459d-9ac5-7998b7d85635.json | 1 - _nuxt/{S9EjZaWQ.js => ewmvwxW7.js} | 8 +++---- _nuxt/{CYpUVu9e.js => rH6pHM5P.js} | 2 +- _nuxt/{MgATE4xf.js => zw4H8_Zt.js} | 2 +- connexion/index.html | 22 +++++++++---------- deconnexion/index.html | 22 +++++++++---------- en/index.html | 22 +++++++++---------- en/login/index.html | 22 +++++++++---------- en/logout/index.html | 22 +++++++++---------- index.html | 22 +++++++++---------- 23 files changed, 105 insertions(+), 105 deletions(-) rename _nuxt/{Dx0QtxMm.js => BhaLqpCj.js} (99%) rename _nuxt/{fDKSXIzk.js => C7OjwfWT.js} (68%) rename _nuxt/{BNHPXFWj.js => Cdv6vk6s.js} (99%) rename _nuxt/{D6msgEZY.js => CeaNXkwu.js} (98%) rename _nuxt/{FTbH54h0.js => Czusa6IX.js} (97%) rename _nuxt/{D8Dzc6nF.js => DOkcDheY.js} (80%) rename _nuxt/{DPmltWRH.js => DXKa0e7G.js} (97%) rename _nuxt/{CofIfSQX.js => Dh_qWEXu.js} (60%) rename _nuxt/{B3EG_2Du.js => DnyUcCWV.js} (99%) create mode 100644 _nuxt/builds/meta/27bc5d79-f189-4de8-b5f6-7a771522c97a.json delete mode 100644 _nuxt/builds/meta/d2969886-3eb0-459d-9ac5-7998b7d85635.json rename _nuxt/{S9EjZaWQ.js => ewmvwxW7.js} (99%) rename _nuxt/{CYpUVu9e.js => rH6pHM5P.js} (99%) rename _nuxt/{MgATE4xf.js => zw4H8_Zt.js} (80%) diff --git a/200.html b/200.html index e192bad..9730e66 100644 --- a/200.html +++ b/200.html @@ -1,18 +1,18 @@ - + - - - - - - + + + + + + - + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/404.html b/404.html index e192bad..9730e66 100644 --- a/404.html +++ b/404.html @@ -1,18 +1,18 @@ - + - - - - - - + + + + + + - + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/_nuxt/Dx0QtxMm.js b/_nuxt/BhaLqpCj.js similarity index 99% rename from _nuxt/Dx0QtxMm.js rename to _nuxt/BhaLqpCj.js index f080a9f..7247e3f 100644 --- a/_nuxt/Dx0QtxMm.js +++ b/_nuxt/BhaLqpCj.js @@ -1 +1 @@ -import{u as S,d as I,r as C,a as z,o as T,b as U,c as V,e as P,f as H,g as O,h as N,i as R,p as D,n as $,j as x,k as j,l as F,m as M,q as G,w as Q,s as W,_ as J,t as A,v as K,x as X,y as _,z as k,A as Y,B as Z,C as ee,D as te,E as ae}from"./S9EjZaWQ.js";async function L(t,n=S()){const{path:r,matched:f}=n.resolve(t);if(!f.length||(n._routePreloaded||(n._routePreloaded=new Set),n._routePreloaded.has(r)))return;const e=n._preloadPromises=n._preloadPromises||[];if(e.length>4)return Promise.all(e).then(()=>L(t,n));n._routePreloaded.add(r);const a=f.map(i=>{var o;return(o=i.components)==null?void 0:o.default}).filter(i=>typeof i=="function");for(const i of a){const o=Promise.resolve(i()).catch(()=>{}).finally(()=>e.splice(e.indexOf(o)));e.push(o)}await Promise.all(e)}const ne=(...t)=>t.find(n=>n!==void 0);function re(t){const n=t.componentName||"NuxtLink";function r(e,a){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return q(e,t.trailingSlash);const i="path"in e&&e.path!==void 0?e.path:a(e).path;return{...e,name:void 0,path:q(i,t.trailingSlash)}}function f(e){const a=S(),i=G(),o=x(()=>!!e.target&&e.target!=="_self"),c=x(()=>{const d=e.to||e.href||"";return typeof d=="string"&&j(d,{acceptRelative:!0})}),b=R("RouterLink"),p=b&&typeof b!="string"?b.useLink:void 0,v=x(()=>{if(e.external)return!0;const d=e.to||e.href||"";return typeof d=="object"?!1:d===""||c.value}),l=x(()=>{const d=e.to||e.href||"";return v.value?d:r(d,a.resolve)}),h=v.value||p==null?void 0:p({...e,to:l}),g=x(()=>{var d;if(!l.value||c.value)return l.value;if(v.value){const u=typeof l.value=="object"&&"path"in l.value?P(l.value):l.value,m=typeof u=="object"?a.resolve(u).href:u;return r(m,a.resolve)}return typeof l.value=="object"?((d=a.resolve(l.value))==null?void 0:d.href)??null:r(F(i.app.baseURL,l.value),a.resolve)});return{to:l,hasTarget:o,isAbsoluteUrl:c,isExternal:v,href:g,isActive:(h==null?void 0:h.isActive)??x(()=>l.value===a.currentRoute.value.path),isExactActive:(h==null?void 0:h.isExactActive)??x(()=>l.value===a.currentRoute.value.path),route:(h==null?void 0:h.route)??x(()=>a.resolve(l.value)),async navigate(){await M(g.value,{replace:e.replace,external:v.value||o.value})}}}return I({name:n,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:f,setup(e,{slots:a}){const i=S(),{to:o,href:c,navigate:b,isExternal:p,hasTarget:v,isAbsoluteUrl:l}=f(e),h=C(!1),g=C(null),d=u=>{var m;g.value=e.custom?(m=u==null?void 0:u.$el)==null?void 0:m.nextElementSibling:u==null?void 0:u.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!ie()){const m=z();let y,s=null;T(()=>{const B=se();U(()=>{y=V(()=>{var w;(w=g==null?void 0:g.value)!=null&&w.tagName&&(s=B.observe(g.value,async()=>{s==null||s(),s=null;const E=typeof o.value=="string"?o.value:p.value?P(o.value):i.resolve(o.value).fullPath;await Promise.all([m.hooks.callHook("link:prefetch",E).catch(()=>{}),!p.value&&!v.value&&L(o.value,i).catch(()=>{})]),h.value=!0}))})})}),H(()=>{y&&O(y),s==null||s(),s=null})}return()=>{var y;if(!p.value&&!v.value){const s={ref:d,to:o.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(h.value&&(s.class=e.prefetchedClass||t.prefetchedClass),s.rel=e.rel||void 0),N(R("RouterLink"),s,a.default)}const u=e.target||null,m=ne(e.noRel?"":e.rel,t.externalRelAttribute,l.value||v.value?"noopener noreferrer":"")||null;return e.custom?a.default?a.default({href:c.value,navigate:b,get route(){if(!c.value)return;const s=new URL(c.value,window.location.href);return{path:s.pathname,fullPath:s.pathname,get query(){return D(s.search)},hash:s.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:m,target:u,isExternal:p.value||v.value,isActive:!1,isExactActive:!1}):null:N("a",{ref:g,href:c.value||null,rel:m,target:u},(y=a.default)==null?void 0:y.call(a))}}})}const oe=re($);function q(t,n){const r=n==="append"?Q:W;return j(t)&&!t.startsWith("http")?t:r(t,!0)}function se(){const t=z();if(t._observer)return t._observer;let n=null;const r=new Map,f=(a,i)=>(n||(n=new IntersectionObserver(o=>{for(const c of o){const b=r.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&b&&b()}})),r.set(a,i),n.observe(a),()=>{r.delete(a),n.unobserve(a),r.size===0&&(n.disconnect(),n=null)});return t._observer={observe:f}}function ie(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const le={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t,{expose:n}){n();const r=t;A({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]});const f={props:r,get useHead(){return A}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}},ue=t=>(te("data-v-c6c1efc1"),t=t(),ae(),t),ce={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},de=ue(()=>_("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),fe={class:"max-w-520px text-center z-20"},he=["textContent"],ve=["textContent"],pe={class:"w-full flex items-center justify-center"};function ge(t,n,r,f,e,a){const i=oe;return K(),X("div",ce,[de,_("div",fe,[_("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:k(r.statusCode)},null,8,he),_("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:k(r.description)},null,8,ve),_("div",pe,[Y(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:Z(()=>[ee(k(r.backHome),1)]),_:1})])])])}const be=J(le,[["render",ge],["__scopeId","data-v-c6c1efc1"],["__file","error-404.vue"]]);export{be as default}; +import{u as S,d as I,r as C,a as z,o as T,b as U,c as V,e as P,f as H,g as O,h as N,i as R,p as D,n as $,j as x,k as j,l as F,m as M,q as G,w as Q,s as W,_ as J,t as A,v as K,x as X,y as _,z as k,A as Y,B as Z,C as ee,D as te,E as ae}from"./ewmvwxW7.js";async function L(t,n=S()){const{path:r,matched:f}=n.resolve(t);if(!f.length||(n._routePreloaded||(n._routePreloaded=new Set),n._routePreloaded.has(r)))return;const e=n._preloadPromises=n._preloadPromises||[];if(e.length>4)return Promise.all(e).then(()=>L(t,n));n._routePreloaded.add(r);const a=f.map(i=>{var o;return(o=i.components)==null?void 0:o.default}).filter(i=>typeof i=="function");for(const i of a){const o=Promise.resolve(i()).catch(()=>{}).finally(()=>e.splice(e.indexOf(o)));e.push(o)}await Promise.all(e)}const ne=(...t)=>t.find(n=>n!==void 0);function re(t){const n=t.componentName||"NuxtLink";function r(e,a){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return q(e,t.trailingSlash);const i="path"in e&&e.path!==void 0?e.path:a(e).path;return{...e,name:void 0,path:q(i,t.trailingSlash)}}function f(e){const a=S(),i=G(),o=x(()=>!!e.target&&e.target!=="_self"),c=x(()=>{const d=e.to||e.href||"";return typeof d=="string"&&j(d,{acceptRelative:!0})}),b=R("RouterLink"),p=b&&typeof b!="string"?b.useLink:void 0,v=x(()=>{if(e.external)return!0;const d=e.to||e.href||"";return typeof d=="object"?!1:d===""||c.value}),l=x(()=>{const d=e.to||e.href||"";return v.value?d:r(d,a.resolve)}),h=v.value||p==null?void 0:p({...e,to:l}),g=x(()=>{var d;if(!l.value||c.value)return l.value;if(v.value){const u=typeof l.value=="object"&&"path"in l.value?P(l.value):l.value,m=typeof u=="object"?a.resolve(u).href:u;return r(m,a.resolve)}return typeof l.value=="object"?((d=a.resolve(l.value))==null?void 0:d.href)??null:r(F(i.app.baseURL,l.value),a.resolve)});return{to:l,hasTarget:o,isAbsoluteUrl:c,isExternal:v,href:g,isActive:(h==null?void 0:h.isActive)??x(()=>l.value===a.currentRoute.value.path),isExactActive:(h==null?void 0:h.isExactActive)??x(()=>l.value===a.currentRoute.value.path),route:(h==null?void 0:h.route)??x(()=>a.resolve(l.value)),async navigate(){await M(g.value,{replace:e.replace,external:v.value||o.value})}}}return I({name:n,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:f,setup(e,{slots:a}){const i=S(),{to:o,href:c,navigate:b,isExternal:p,hasTarget:v,isAbsoluteUrl:l}=f(e),h=C(!1),g=C(null),d=u=>{var m;g.value=e.custom?(m=u==null?void 0:u.$el)==null?void 0:m.nextElementSibling:u==null?void 0:u.$el};if(e.prefetch!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!ie()){const m=z();let y,s=null;T(()=>{const B=se();U(()=>{y=V(()=>{var w;(w=g==null?void 0:g.value)!=null&&w.tagName&&(s=B.observe(g.value,async()=>{s==null||s(),s=null;const E=typeof o.value=="string"?o.value:p.value?P(o.value):i.resolve(o.value).fullPath;await Promise.all([m.hooks.callHook("link:prefetch",E).catch(()=>{}),!p.value&&!v.value&&L(o.value,i).catch(()=>{})]),h.value=!0}))})})}),H(()=>{y&&O(y),s==null||s(),s=null})}return()=>{var y;if(!p.value&&!v.value){const s={ref:d,to:o.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(h.value&&(s.class=e.prefetchedClass||t.prefetchedClass),s.rel=e.rel||void 0),N(R("RouterLink"),s,a.default)}const u=e.target||null,m=ne(e.noRel?"":e.rel,t.externalRelAttribute,l.value||v.value?"noopener noreferrer":"")||null;return e.custom?a.default?a.default({href:c.value,navigate:b,get route(){if(!c.value)return;const s=new URL(c.value,window.location.href);return{path:s.pathname,fullPath:s.pathname,get query(){return D(s.search)},hash:s.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:m,target:u,isExternal:p.value||v.value,isActive:!1,isExactActive:!1}):null:N("a",{ref:g,href:c.value||null,rel:m,target:u},(y=a.default)==null?void 0:y.call(a))}}})}const oe=re($);function q(t,n){const r=n==="append"?Q:W;return j(t)&&!t.startsWith("http")?t:r(t,!0)}function se(){const t=z();if(t._observer)return t._observer;let n=null;const r=new Map,f=(a,i)=>(n||(n=new IntersectionObserver(o=>{for(const c of o){const b=r.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&b&&b()}})),r.set(a,i),n.observe(a),()=>{r.delete(a),n.unobserve(a),r.size===0&&(n.disconnect(),n=null)});return t._observer={observe:f}}function ie(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const le={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t,{expose:n}){n();const r=t;A({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]});const f={props:r,get useHead(){return A}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}},ue=t=>(te("data-v-c6c1efc1"),t=t(),ae(),t),ce={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},de=ue(()=>_("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),fe={class:"max-w-520px text-center z-20"},he=["textContent"],ve=["textContent"],pe={class:"w-full flex items-center justify-center"};function ge(t,n,r,f,e,a){const i=oe;return K(),X("div",ce,[de,_("div",fe,[_("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:k(r.statusCode)},null,8,he),_("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:k(r.description)},null,8,ve),_("div",pe,[Y(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:Z(()=>[ee(k(r.backHome),1)]),_:1})])])])}const be=J(le,[["render",ge],["__scopeId","data-v-c6c1efc1"],["__file","error-404.vue"]]);export{be as default}; diff --git a/_nuxt/fDKSXIzk.js b/_nuxt/C7OjwfWT.js similarity index 68% rename from _nuxt/fDKSXIzk.js rename to _nuxt/C7OjwfWT.js index b842978..7b2ad41 100644 --- a/_nuxt/fDKSXIzk.js +++ b/_nuxt/C7OjwfWT.js @@ -1 +1 @@ -import{c4 as i,c5 as h,bZ as m,b_ as l,c6 as g,m as e}from"./S9EjZaWQ.js";import{u as p}from"./B3EG_2Du.js";const o=new i;o.setCustomParameters({prompt:"select_account"});const d=h("auth",()=>{const n=m(),t=l(),s=p(),{createUserInfo:a}=s;async function r(){return g(n,o).then(async c=>{await a(c),e(t({name:"index"}))})}async function u(){return e(t({name:"logout"}))}return{login:r,logout:u}});export{d as u}; +import{c4 as i,c5 as h,bZ as m,b_ as l,c6 as g,m as e}from"./ewmvwxW7.js";import{u as p}from"./DnyUcCWV.js";const o=new i;o.setCustomParameters({prompt:"select_account"});const d=h("auth",()=>{const n=m(),t=l(),s=p(),{createUserInfo:a}=s;async function r(){return g(n,o).then(async c=>{await a(c),e(t({name:"index"}))})}async function u(){return e(t({name:"logout"}))}return{login:r,logout:u}});export{d as u}; diff --git a/_nuxt/BNHPXFWj.js b/_nuxt/Cdv6vk6s.js similarity index 99% rename from _nuxt/BNHPXFWj.js rename to _nuxt/Cdv6vk6s.js index cad69b4..20bcb74 100644 --- a/_nuxt/BNHPXFWj.js +++ b/_nuxt/Cdv6vk6s.js @@ -1 +1 @@ -import{_ as V}from"./D6msgEZY.js";import{I as H,_ as N,a as R}from"./DPmltWRH.js";import{d as h,r as x,o as W,a$ as Y,x as i,v as r,y as o,c0 as O,bU as S,bJ as B,_ as f,b8 as T,a5 as g,B as w,bP as z,b9 as q,bS as y,z as p,A as L,M as v,b6 as F,aN as G,a6 as M,U as A,c1 as J,j as K,C as b,c2 as Q,b7 as P,c3 as X,q as e1,aP as t1}from"./S9EjZaWQ.js";import{u as $}from"./B3EG_2Du.js";import{u as o1}from"./fDKSXIzk.js";const n1=Symbol.for("nuxt:client-only"),r1=h({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(n,{slots:t,attrs:s}){const e=x(!1);return W(()=>{e.value=!0}),Y(n1,!0),a=>{var _;if(e.value)return(_=t.default)==null?void 0:_.call(t);const c=t.fallback||t.placeholder;if(c)return c();const l=a.fallback||a.placeholder||"",u=a.fallbackTag||a.placeholderTag||"span";return i(u,s,l)}}}),s1={viewBox:"0 0 69 69",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},i1=o("g",{id:"save_svg__Page-1","stroke-width":"1","fill-rule":"evenodd"},[o("g",{id:"save_svg__np_save_4035705_000000","fill-rule":"nonzero"},[o("path",{d:"M66.72182,15.6248 L51.56272,1.8438 C50.27792,0.6719 48.53772,0.0079 46.7159,0 L6.875,0 C3.07659,0 0,2.7969 0,6.25 L0,62.5 C0,64.1562 0.726176,65.7461 2.0152,66.918 C3.304224,68.0899 5.05307,68.75 6.875,68.75 L61.875,68.75 C63.69682,68.75 65.44571,68.08984 66.7348,66.918 C68.02389,65.74616 68.75,64.1563 68.75,62.5 L68.75,20.031 C68.7414068,18.3748 68.010932,16.7927 66.72182,15.6248 L66.72182,15.6248 Z M24.06272,6.2498 L44.68772,6.2498 L44.68772,18.7498 L24.06272,18.7498 L24.06272,6.2498 Z M20.62522,62.4998 L20.62522,40.6248 L48.12522,40.6248 L48.12522,62.4998 L20.62522,62.4998 Z M55.00022,62.5 L55.00022,40.6248 C55.00022,38.9686 54.274044,37.3787 52.98502,36.2068 C51.695996,35.0349 49.94715,34.3748 48.12522,34.3748 L20.62522,34.3748 C16.82681,34.3748 13.75022,37.1717 13.75022,40.6248 L13.75022,62.5 L6.87522,62.5 L6.87522,6.2498 L17.18772,6.2498 L17.18772,18.7498 C17.18772,20.406 17.913896,21.9959 19.20292,23.1678 C20.491944,24.3397 22.24079,24.9998 24.06272,24.9998 L44.68772,24.9998 C46.50954,24.9998 48.25843,24.33964 49.54752,23.1678 C50.83661,21.99596 51.56272,20.4061 51.56272,18.7498 L51.56272,10.656 L61.87522,20.031 L61.87522,62.5 L55.00022,62.5 Z",id:"save_svg__Shape"})])],-1),a1=[i1];function l1(n,t){return r(),i("svg",s1,[...a1])}const c1={render:l1},d1=h({__name:"WeekSummary",props:{is_open:{type:Boolean,default:!1}},emits:["update:is_open"],setup(n,{expose:t,emit:s}){t();const e=s,a=$(),c=O(),{weekSummaryColors:l,updateWeekTarget:u}=a,{weekSummary:_,user:d,weekTotal:C}=S(a),m=x(!1),k=x("");B(()=>c.name,()=>{e("update:is_open",!1)});function U(){var Z,j;(Z=document.activeElement)==null||Z.blur(),m.value=!0,k.value=((j=d.value)==null?void 0:j.weekly_target)||""}async function D(){await u(k.value),m.value=!1}function E(){e("update:is_open",!1)}const I={emit:e,store:a,route:c,weekSummaryColors:l,updateWeekTarget:u,weekSummary:_,user:d,weekTotal:C,is_editing:m,target:k,onEdit:U,onSave:D,onClickOutside:E,get ISave(){return c1},get IEdit(){return H}};return Object.defineProperty(I,"__isScriptSetup",{enumerable:!1,value:!0}),I}}),_1={key:0,class:"absolute right-0 top-full flex w-64 min-w-full translate-y-2 flex-col gap-6 rounded border bg-stone-50 p-4 dark:border-slate-800 dark:bg-slate-900"},u1={class:"flex flex-col gap-2"},p1={class:"text-xs font-bold uppercase opacity-80"},L1={key:0,class:"mt-1 block text-3xl font-bold tabular-nums"},m1={key:1,type:"submit",class:"inline-flex h-10 w-10 flex-shrink-0 items-center justify-center rounded bg-primary-500 font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 dark:text-slate-800 dark:ring-slate-600"},C1={class:"flex flex-col gap-2"},g1={class:"text-xs font-bold uppercase group-first:opacity-70 group-last:opacity-70 group-first:dark:opacity-30 group-last:dark:opacity-30"},f1={class:"mt-2 flex items-end justify-between gap-8 border-t pt-2 dark:border-slate-800"},h1={class:"font-bold uppercase"},v1={class:"font-bold tabular-nums"};function b1(n,t,s,e,a,c){const l=N,u=T("on-click-outside");return r(),g(A,{"enter-active-class":"transition transform origin-top-right ease-out duration-200","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition transform origin-top-right ease-in duration-200","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:w(()=>[s.is_open?z((r(),i("div",_1,[o("div",u1,[(r(),g(q(e.is_editing?"form":"div"),{class:"flex items-end justify-between gap-2 border-b pb-2 dark:border-slate-800",onSubmit:y(e.onSave,["prevent"])},{default:w(()=>{var _;return[o("div",null,[o("div",p1,p(n.$t("Mon objectif")),1),e.is_editing?(r(),g(l,{key:1,modelValue:e.target,"onUpdate:modelValue":t[0]||(t[0]=d=>e.target=d),class:"mt-1",mask:"99:99"},null,8,["modelValue"])):(r(),i("div",L1,p((_=e.user)==null?void 0:_.weekly_target),1))]),e.is_editing?(r(),i("button",m1,[L(e.ISave,{class:"h-5"})])):(r(),i("button",{key:0,type:"button",class:"inline-flex h-10 w-10 flex-shrink-0 items-center justify-center rounded bg-primary-500 font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 dark:text-slate-800 dark:ring-slate-600",onClick:e.onEdit},[L(e.IEdit,{class:"h-5"})]))]}),_:1},32)),o("div",C1,[(r(!0),i(v,null,F(Object.values(e.weekSummary),(_,d)=>(r(),i("div",{key:d,class:"group flex items-end justify-between gap-8"},[o("div",g1,p(n.$moment().day(d).format("dddd")),1),o("div",{class:G(["font-bold tabular-nums",e.weekSummaryColors(_)])},p(_),3)]))),128))]),o("div",f1,[o("div",h1,p(n.$t("Total")),1),o("div",v1,p(e.weekTotal),1)])])])),[[u,e.onClickOutside,void 0,{bubble:!0}]]):M("",!0)]),_:1})}const x1=f(d1,[["render",b1],["__file","WeekSummary.vue"]]),w1={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},y1=o("g",{id:"language_svg__Artboard-Copy","stroke-width":"1","fill-rule":"evenodd"},[o("path",{d:"M9.99994982,20.0000009 C5.4409049,19.9997296 1.45868702,16.9171201 0.315887784,12.5036294 L0.313920435,12.4941765 L0.219086754,12.0914893 C0.102131532,11.541573 0.0316907561,10.9828384 0.00851136388,10.4214468 L3.55271368e-15,10.0000009 C3.55271368e-15,8.25664079 0.447319882,6.5757241 1.28618607,5.09035045 L1.44604756,4.81676117 C3.25398288,1.8319198 6.49533701,-0.00145955899 10.0003718,8.71859633e-07 L9.99898253,0.00101353032 L10.0010079,0.00101353032 L10.3175135,0.00490454043 C13.6997972,0.110711699 16.8008078,1.92236954 18.5539572,4.81676117 L18.7088549,5.08151923 C19.499243,6.48187536 19.9373904,8.0401147 19.9937898,9.63208525 L20.0000127,10.0000009 C20.0000127,10.8510744 19.8932004,11.6899056 19.6845297,12.5020295 L19.6860699,12.4941765 C18.5651261,16.8251724 14.7237932,19.8707099 10.2842237,19.9959855 L10.0000549,20.0000009 L9.99994982,20.0000009 Z M7.21417275,15.2394927 L7.24752336,15.3267026 C7.94843107,17.1100969 8.96659772,18.2278483 10.0000024,18.2278483 L10.1239185,18.222512 C11.1143528,18.1373632 12.07961,17.0387612 12.7524814,15.3267026 L12.784805,15.2405053 L12.4136206,15.2930985 C11.7750586,15.3737652 11.1314312,15.4221497 10.4851619,15.4376299 L10.0000024,15.4430608 C9.17936084,15.4430608 8.36615072,15.391255 7.56404442,15.2892073 L7.21417275,15.2394927 Z M17.1605006,14.0546827 L17.0699894,14.0925218 C16.4719021,14.3307132 15.8626904,14.5381771 15.2447778,14.7142915 L14.7908807,14.8364547 L14.7874593,14.8503162 C14.5392191,15.6988745 14.2257759,16.4733637 13.8563168,17.149458 L13.7610074,17.3184798 L13.9777312,17.2030221 C15.2404319,16.5054127 16.3091719,15.4822205 17.0604904,14.2290156 L17.1605006,14.0546827 Z M2.83948974,14.0556953 L2.93951437,14.2290156 C3.69083283,15.4822205 4.75957284,16.5054127 6.02227356,17.2030221 L6.23695768,17.3174671 L6.14368794,17.149458 C5.77422883,16.4733637 5.46078568,15.6988745 5.21254545,14.8503162 L5.20809705,14.8374674 L5.19470942,14.8339022 C4.41848318,14.6329345 3.65703316,14.3832888 2.91403176,14.086529 L2.83948974,14.0556953 Z M13.6313872,8.85265801 L13.3137463,8.9420251 C12.2397977,9.22380399 11.1265358,9.36871862 10.0000024,9.36710246 C8.85812646,9.36710246 7.73865697,9.21956526 6.66376519,8.93589878 L6.36759058,8.85265801 L6.3527383,9.09264686 C6.34235581,9.29101597 6.33531818,9.49167761 6.33178003,9.69440032 L6.32911676,10.0000012 C6.32911676,11.1259937 6.43731509,12.1931401 6.62798441,13.1629283 L6.66632472,13.34886 L7.06537011,13.4237498 C7.86620283,13.5601335 8.68108006,13.64085 9.5055719,13.6639672 L10.0013853,13.6709313 C10.9803933,13.6724382 11.9541326,13.5906846 12.9124743,13.4282603 L13.332653,13.3498726 L13.3720204,13.1629283 C13.5453561,12.2813027 13.650534,11.3192157 13.6682247,10.3056021 L13.670888,10.0000012 C13.670888,9.69291239 13.6628402,9.39020052 13.6472665,9.09264686 L13.6313872,8.85265801 Z M2.37366702,6.90329116 C1.97887564,7.87687631 1.7721481,8.92311196 1.7721481,10.0007855 C1.77153624,10.6956826 1.85878954,11.3878651 2.03183575,12.0608632 L1.9463253,11.690126 L2.03097024,11.7359037 C2.89208552,12.182265 3.78745888,12.5545865 4.70943541,12.8495295 L4.77467938,12.86886 L4.74666221,12.6840182 C4.63623348,11.9228178 4.57223834,11.1266678 4.55938051,10.3080231 L4.55696508,10.0000012 C4.55696508,9.48495511 4.57717027,8.97808786 4.61643227,8.48244021 L4.63898319,8.21670872 L4.57998785,8.19044022 C3.90958723,7.88370555 3.26556819,7.51984909 2.6545,7.10225098 L2.37366702,6.90329116 Z M17.6263234,6.90430382 L17.3381425,7.10788008 C16.7229308,7.52759028 16.0748147,7.89220024 15.40151,8.19884579 L15.3599945,8.21670872 L15.3835725,8.48244021 C15.4149821,8.87895833 15.4341953,9.28265699 15.4406243,9.69197935 L15.4430397,10.0000012 C15.4430397,10.9270843 15.3775749,11.8276677 15.2533426,12.6840182 L15.2242983,12.86886 L15.2703888,12.8556471 C16.196034,12.5605852 17.0978408,12.1870287 17.9656804,11.7375886 L18.0526524,11.690126 L18.0611073,11.6572984 C18.1439576,11.2510853 18.1963315,10.8376 18.2173407,10.4189238 L18.2278725,9.99859435 C18.2295464,8.93779494 18.0250811,7.89024295 17.6294435,6.913132 L17.6263234,6.90430382 Z M9.8760863,1.77749042 C8.51423914,1.89457011 7.19999236,3.92770965 6.62798441,6.83707415 L6.58429941,7.06632912 L6.87586224,7.15606858 C7.76657043,7.41244065 8.69503567,7.55981171 9.64434028,7.58939599 L10.0012733,7.59496324 C11.0591514,7.59646905 12.1033202,7.44848116 13.104965,7.16170852 L13.4146783,7.06734177 L13.3720204,6.83707415 C12.8000124,3.92770965 11.4857656,1.89457011 10.1239185,1.77749042 L10.0000024,1.77215414 L9.8760863,1.77749042 Z M6.23695768,2.68253219 L6.09753598,2.7548637 C5.00253235,3.3444018 4.04300548,4.1809609 3.30460148,5.21450523 L3.22429982,5.32962047 L3.45982353,5.50313331 C3.8372692,5.77289042 4.22996958,6.0184174 4.63580996,6.23861601 L4.90936291,6.38177224 L4.94654253,6.20195264 C5.21899372,4.9364625 5.62644519,3.79707656 6.14368794,2.85054443 L6.23695768,2.68253219 Z M13.76202,2.68253219 L13.8563168,2.85054443 C14.3735596,3.79707656 14.781011,4.9364625 15.0534622,6.20195264 L15.0896148,6.38075958 L15.3514051,6.24574777 C15.759434,6.02522562 16.1546361,5.77893625 16.5344817,5.50782081 L16.7746779,5.32962047 L16.6954033,5.21450523 C15.9569993,4.1809609 14.9974724,3.3444018 13.9024688,2.7548637 L13.76202,2.68253219 Z",id:"language_svg__Shape","fill-rule":"nonzero"})],-1),k1=[y1];function S1(n,t){return r(),i("svg",w1,[...k1])}const M1={render:S1},$1=h({__name:"LanguageSwitcher",setup(n,{expose:t}){t();const{locale:s,locales:e,setLocale:a}=J(),c=K(()=>{const u=e.value.findIndex(d=>d.code===s.value),_=u!==e.value.length-1?u+1:0;return e.value.at(_)}),l={locale:s,locales:e,setLocale:a,nextLocale:c,get ILanguage(){return M1}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}});function I1(n,t,s,e,a,c){return r(),i("button",{type:"button",class:"inline-flex h-9 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded bg-primary-500 px-3 py-2 text-sm font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:text-slate-900 dark:ring-slate-600",onClick:t[0]||(t[0]=l=>e.setLocale(e.nextLocale.code))},[b(p(e.nextLocale.name)+" ",1),L(e.ILanguage,{class:"h-5 w-5"})])}const Z1=f($1,[["render",I1],["__file","LanguageSwitcher.vue"]]),j1={name:Q,props:{placeholder:String,tag:{type:String,default:"span"}}};function O1(n,t,s,e,a,c){const l=r1;return r(),g(l,{placeholder:s.placeholder,"placeholder-tag":s.tag},{default:w(()=>[P(n.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const B1=f(j1,[["render",O1],["__file","component.vue3.vue"]]),T1=()=>X("color-mode").value,z1={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},A1=o("g",{id:"moon_svg__Artboard-Copy-4","stroke-width":"1","fill-rule":"evenodd"},[o("path",{d:"M6.37530016,0.0682308493 C7.07901057,-0.225334742 7.78518704,0.480930655 7.49153285,1.18460409 C7.05518621,2.2302065 6.82777017,3.35584862 6.82777017,4.51559498 C6.82777017,9.29674187 10.7032605,13.1722322 15.4855648,13.1722329 C16.628647,13.1737831 17.7606364,12.9481093 18.8157348,12.5083291 C19.5193711,12.2150434 20.2252693,12.9211543 19.9317715,13.6247022 C18.3210146,17.4858712 14.547185,20.0003602 10.3635797,20 C4.6397145,20 0,15.3602878 0,9.63649562 C-0.000357876646,5.45281738 2.51413116,1.67898771 6.37530016,0.0682308493 Z M5.29542347,2.61552408 L5.10797802,2.7549784 C2.9970027,4.36834315 1.70670823,6.8972007 1.70694254,9.63642261 C1.70694254,14.4175695 5.58243284,18.2930598 10.3636527,18.2930598 C13.1028174,18.2932941 15.6316626,17.0029996 17.2450247,14.8920243 L17.3835029,14.7026281 L17.1152305,14.7517565 C16.7115396,14.815771 16.3038779,14.8558541 15.8944045,14.8715816 L15.4844074,14.8791747 C9.76054213,14.8791747 5.12082763,10.2394602 5.12082763,4.51559498 C5.12082763,3.96103262 5.16443395,3.41245682 5.25022648,2.8736174 L5.29542347,2.61552408 Z",id:"moon_svg__Path","fill-rule":"nonzero"})],-1),P1=[A1];function U1(n,t){return r(),i("svg",z1,[...P1])}const D1={render:U1},E1={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},V1=o("g",{id:"sun_svg__Artboard-Copy-3","stroke-width":"1","fill-rule":"evenodd"},[o("path",{d:"M10,15.9493671 C10.4893662,15.9493671 10.8860759,16.3460768 10.8860759,16.835443 L10.8860759,19.1139241 C10.8860759,19.6032903 10.4893662,20 10,20 C9.51063377,20 9.11392405,19.6032903 9.11392405,19.1139241 L9.11392405,16.835443 C9.11392405,16.3460768 9.51063377,15.9493671 10,15.9493671 Z M14.2068674,14.2068674 C14.5529016,13.8608332 15.1139339,13.8608332 15.459968,14.2068674 L17.0711073,15.8180066 C17.4171415,16.1640408 17.4171415,16.7250731 17.0711073,17.0711073 C16.7250731,17.4171415 16.1640408,17.4171415 15.8180066,17.0711073 L14.2068674,15.459968 C13.8608332,15.1139339 13.8608332,14.5529016 14.2068674,14.2068674 Z M4.54003197,14.2068674 C4.88606615,13.8608332 5.44709841,13.8608332 5.79313259,14.2068674 C6.13916677,14.5529016 6.13916677,15.1139339 5.79313259,15.459968 L4.18199335,17.0711073 C3.83595917,17.4171415 3.27492691,17.4171415 2.92889273,17.0711073 C2.58285854,16.7250731 2.58285854,16.1640408 2.92889273,15.8180066 L4.54003197,14.2068674 Z M10,5.3164557 C12.5866501,5.3164557 14.6835443,7.41334991 14.6835443,10 C14.6835443,12.5866501 12.5866501,14.6835443 10,14.6835443 C7.41334991,14.6835443 5.3164557,12.5866501 5.3164557,10 C5.3164557,7.41334991 7.41334991,5.3164557 10,5.3164557 Z M10,7.08860759 C8.39208237,7.08860759 7.08860759,8.39208237 7.08860759,10 C7.08860759,11.6079176 8.39208237,12.9113924 10,12.9113924 C11.6079176,12.9113924 12.9113924,11.6079176 12.9113924,10 C12.9113924,8.39208237 11.6079176,7.08860759 10,7.08860759 Z M19.1139241,9.11392405 C19.6032903,9.11392405 20,9.51063377 20,10 C20,10.4893662 19.6032903,10.8860759 19.1139241,10.8860759 L16.835443,10.8860759 C16.3460768,10.8860759 15.9493671,10.4893662 15.9493671,10 C15.9493671,9.51063377 16.3460768,9.11392405 16.835443,9.11392405 L19.1139241,9.11392405 Z M3.16455696,9.11392405 C3.6539232,9.11392405 4.05063291,9.51063377 4.05063291,10 C4.05063291,10.4893662 3.6539232,10.8860759 3.16455696,10.8860759 L0.886075949,10.8860759 C0.396709715,10.8860759 0,10.4893662 0,10 C0,9.51063377 0.396709715,9.11392405 0.886075949,9.11392405 L3.16455696,9.11392405 Z M15.8180066,2.92889273 C16.1640408,2.58285854 16.7250731,2.58285854 17.0711073,2.92889273 C17.4171415,3.27492691 17.4171415,3.83595917 17.0711073,4.18199335 L15.459968,5.79313259 C15.1139339,6.13916677 14.5529016,6.13916677 14.2068674,5.79313259 C13.8608332,5.44709841 13.8608332,4.88606615 14.2068674,4.54003197 L15.8180066,2.92889273 Z M2.92889273,2.92889273 C3.27492691,2.58285854 3.83595917,2.58285854 4.18199335,2.92889273 L5.79313259,4.54003197 C6.13916677,4.88606615 6.13916677,5.44709841 5.79313259,5.79313259 C5.44709841,6.13916677 4.88606615,6.13916677 4.54003197,5.79313259 L2.92889273,4.18199335 C2.58285854,3.83595917 2.58285854,3.27492691 2.92889273,2.92889273 Z M10,0 C10.4893662,0 10.8860759,0.396709715 10.8860759,0.886075949 L10.8860759,3.16455696 C10.8860759,3.6539232 10.4893662,4.05063291 10,4.05063291 C9.51063377,4.05063291 9.11392405,3.6539232 9.11392405,3.16455696 L9.11392405,0.886075949 C9.11392405,0.396709715 9.51063377,0 10,0 Z",id:"sun_svg__Shape","fill-rule":"nonzero"})],-1),H1=[V1];function N1(n,t){return r(),i("svg",E1,[...H1])}const R1={render:N1},W1={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Y1=o("g",{id:"computer_svg__Artboard-Copy-5","stroke-width":"1","fill-rule":"evenodd"},[o("path",{d:"M16.835443,0 C18.5831796,0 20,1.41682041 20,3.16455696 L20,13.0379747 C20,14.7857112 18.5831796,16.2025316 16.835443,16.2025316 L13.923038,16.2025316 L13.9240506,16.3363087 C13.9239898,16.843794 14.1031923,17.3328114 14.426658,17.7187732 L14.5546516,17.858513 L15.1835123,18.4873737 C15.7417091,19.0455705 15.3463714,20 14.556962,20 L5.44303797,20 C4.65362861,20 4.25829095,19.0455705 4.81648766,18.4873737 L5.44544304,17.8584184 C5.84920608,17.4547773 6.07601776,16.9072296 6.07594937,16.3362025 L6.07594937,16.2025316 L3.16455696,16.2025316 C1.47708719,16.2025316 0.0981052319,14.8817383 0.00500953182,13.2175501 L0,13.0379747 L0,3.16455696 L0.00500953182,2.98498159 C0.0981052319,1.32079334 1.47708719,0 3.16455696,0 L16.835443,0 Z M12.1518987,16.2025316 L7.84708861,16.2025316 L7.84810126,16.3360964 C7.848178,16.9767679 7.69157878,17.6012985 7.39954357,18.1584439 L7.36,18.2278481 L12.6389873,18.2278481 L12.6004785,18.158472 C12.3449284,17.6709589 12.1930883,17.1318828 12.1591727,16.575575 L12.1518987,16.3362025 L12.1518987,16.2025316 Z M18.2278481,12.841519 L18.1835012,12.8638938 C17.7745288,13.0567371 17.3175773,13.164557 16.835443,13.164557 L3.16455696,13.164557 C2.68242274,13.164557 2.2254712,13.0567371 1.8164988,12.8638938 L1.7721519,12.841519 L1.7721519,13.0379747 C1.7721519,13.7617432 2.32436868,14.3565346 3.03045906,14.4240057 L3.16455696,14.4303797 L16.835443,14.4303797 C17.6044471,14.4303797 18.2278481,13.8069788 18.2278481,13.0379747 L18.2278481,12.841519 Z M16.835443,1.7721519 L3.16455696,1.7721519 C2.39555288,1.7721519 1.7721519,2.39555288 1.7721519,3.16455696 L1.7721519,10 C1.7721519,10.7690041 2.39555288,11.3924051 3.16455696,11.3924051 L16.835443,11.3924051 C17.6044471,11.3924051 18.2278481,10.7690041 18.2278481,10 L18.2278481,3.16455696 L18.2214741,3.03045906 C18.154003,2.32436868 17.5592116,1.7721519 16.835443,1.7721519 Z",id:"computer_svg__Shape","fill-rule":"nonzero"})],-1),q1=[Y1];function F1(n,t){return r(),i("svg",W1,[...q1])}const G1={render:F1},J1=h({__name:"ColorSwitcher",setup(n,{expose:t}){t();const s=T1(),a={colorMode:s,onClick:()=>{const c=["system","light","dark"],u=(c.indexOf(s.preference)+1)%c.length;s.preference=c[u]},get IMoon(){return D1},get ISun(){return R1},get IComputer(){return G1}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}});function K1(n,t,s,e,a,c){const l=B1;return r(),i("button",{type:"button",class:"inline-flex h-9 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded bg-primary-500 px-3 py-2 text-sm font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:text-slate-900 dark:ring-slate-600",onClick:e.onClick},[L(l,{placeholder:"..."},{default:w(()=>[e.colorMode.preference==="dark"?(r(),i(v,{key:0},[b(p(n.$t("Sombre"))+" ",1),L(e.IMoon,{class:"h-5 w-5"})],64)):e.colorMode.preference==="light"?(r(),i(v,{key:1},[b(p(n.$t("Clair"))+" ",1),L(e.ISun,{class:"h-5 w-5"})],64)):(r(),i(v,{key:2},[b(p(n.$t("Système"))+" ",1),L(e.IComputer,{class:"h-5 w-5"})],64))]),_:1})])}const Q1=f(J1,[["render",K1],["__file","ColorSwitcher.vue"]]),X1={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},e0=o("g",{id:"logout_svg__Artboard-Copy-2","stroke-width":"1","fill-rule":"evenodd"},[o("path",{d:"M9.98487953,0 C11.8560257,0 13.4043588,1.42168258 13.4043588,3.21809065 L13.4043588,6.98581807 C13.4043588,7.51460542 12.975692,7.94327227 12.4469046,7.94327227 C11.9181173,7.94327227 11.4894504,7.51460542 11.4894504,6.98581807 L11.4894504,3.21809065 C11.4894504,2.51746865 10.8332111,1.9149084 9.98487953,1.9149084 L3.41947929,1.9149084 C2.57114768,1.9149084 1.9149084,2.51746865 1.9149084,3.21809065 L1.9149084,16.7819093 C1.9149084,17.4825314 2.57114768,18.0850916 3.41947929,18.0850916 L9.98487953,18.0850916 C10.8332111,18.0850916 11.4894504,17.4825314 11.4894504,16.7819093 L11.4894504,13.0141819 C11.4894504,12.4853946 11.9181173,12.0567277 12.4469046,12.0567277 C12.975692,12.0567277 13.4043588,12.4853946 13.4043588,13.0141819 L13.4043588,16.7819093 C13.4043588,18.5783174 11.8560257,20 9.98487953,20 L3.41947929,20 C1.54833308,20 0,18.5783174 0,16.7819093 L0,3.21809065 C0,1.42168258 1.54833308,0 3.41947929,0 L9.98487953,0 Z M7.67529927,6.11524086 C8.05400191,5.74618751 8.66017791,5.75400981 9.02923126,6.13271245 C9.39828461,6.51141509 9.39046231,7.11759109 9.01175967,7.48664444 L7.41452534,9.04165036 L19.0123049,9.0425458 C19.5004163,9.0425458 19.9032179,9.40780039 19.9622991,9.87989898 L19.9697591,10 C19.9697591,10.5287874 19.5410922,10.9574542 19.0123049,10.9574542 L7.41452534,10.9565588 L9.01175967,12.5133556 C9.35890376,12.8516545 9.39440534,13.3892023 9.11364649,13.7681417 L9.02923126,13.8672876 C8.66017791,14.2459902 8.05400191,14.2538125 7.67529927,13.8847591 L4.39259915,10.6857018 L4.38349889,10.676435 L4.37512756,10.6682302 L4.36270846,10.6534561 L4.34501477,10.6358834 L4.32331606,10.6085926 L4.30565363,10.5887673 L4.29486599,10.5735771 L4.28611212,10.5615405 L4.27491902,10.5470142 L4.25000242,10.5068288 L4.23418228,10.4835658 L4.22921199,10.4729076 L4.22197943,10.4620737 L4.18763112,10.3908401 L4.17820591,10.3717106 L4.17559455,10.3645785 L4.16782272,10.3460503 C4.14007661,10.2744993 4.12068195,10.1987841 4.11083508,10.120101 L4.10994055,10.1139991 L4.10665785,10.052722 L4.10345486,10.0123543 L4.10446938,10.0001988 L4.10345486,9.98764572 L4.10665785,9.94548713 L4.10966658,9.89001588 L4.10994055,9.88530429 L4.11212902,9.86998503 L4.11978865,9.83059263 L4.13261669,9.76424979 L4.13620215,9.75180782 L4.14605025,9.72007505 L4.16782272,9.6539497 L4.17559455,9.63472485 L4.18872535,9.60627478 L4.21555592,9.54989595 L4.21936389,9.54280925 L4.22702352,9.52967845 L4.23418228,9.5164342 L4.25219089,9.48700335 L4.27491902,9.45298582 L4.28611212,9.43557438 L4.29486599,9.42463204 L4.30565363,9.41123274 L4.32112759,9.39180504 L4.34501477,9.36411655 L4.36817963,9.33928184 L4.38349889,9.32286834 L4.39259915,9.31429821 L7.67529927,6.11524086 Z",id:"logout_svg__Shape","fill-rule":"nonzero"})],-1),t0=[e0];function o0(n,t){return r(),i("svg",X1,[...t0])}const n0={render:o0},r0=h({__name:"UserMenu",props:{is_open:{type:Boolean,default:!1}},emits:["update:is_open"],setup(n,{expose:t,emit:s}){t();const e=s,a=e1(),c=o1(),l=$(),{logout:u}=c,{user:_}=S(l),d=O();B(()=>d.name,()=>{e("update:is_open",!1)});function C(){e("update:is_open",!1)}const m={emit:e,config:a,auth:c,store:l,logout:u,user:_,route:d,onClickOutside:C,get ILogout(){return n0}};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}}),s0={key:0,class:"absolute right-0 top-full flex w-64 min-w-full translate-y-2 flex-col gap-6 rounded border bg-stone-50 p-4 dark:border-slate-800 dark:bg-slate-900"},i0={class:"flex flex-col gap-2"},a0={class:"border-b pb-2 dark:border-slate-800"},l0={class:"text-xs font-bold uppercase opacity-80"},c0={class:"mt-1 block text-2xl font-black tabular-nums leading-[1]"},d0={class:"text-center text-xs"};function _0(n,t,s,e,a,c){const l=Z1,u=Q1,_=T("on-click-outside");return r(),g(A,{"enter-active-class":"transition transform origin-top-right ease-out duration-200","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition transform origin-top-right ease-in duration-200","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:w(()=>{var d;return[s.is_open?z((r(),i("div",s0,[o("div",i0,[o("div",a0,[o("div",l0,p(n.$t("Bonjour")),1),o("div",c0,p((d=e.user)==null?void 0:d.display_name),1)]),L(l),L(u),o("button",{class:"inline-flex h-9 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded bg-red-500 px-3 py-2 text-sm font-bold text-white shadow ring-primary-200 transition hover:bg-red-400 focus:outline-none focus-visible:ring active:bg-red-600 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:text-slate-900 dark:ring-slate-600",type:"button",onClick:t[0]||(t[0]=(...C)=>e.logout&&e.logout(...C))},[b(p(n.$t("Déconnexion"))+" ",1),L(e.ILogout,{class:"h-5 w-5"})]),o("div",d0," Version: "+p(e.config.public.commitTag)+" "+p(e.config.public.commitTag?`(${e.config.public.commitShortSha})`:e.config.public.commitShortSha),1)])])),[[_,e.onClickOutside,void 0,{bubble:!0}]]):M("",!0)]}),_:1})}const u0=f(r0,[["render",_0],["__file","UserMenu.vue"]]),p0={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},L0=o("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"},null,-1),m0=[L0];function C0(n,t){return r(),i("svg",p0,[...m0])}const g0={render:C0},f0={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},h0=o("g",{id:"clock_svg__Page-1","stroke-width":"1","fill-rule":"evenodd"},[o("g",{id:"clock_svg__Group","fill-rule":"nonzero"},[o("path",{d:"M10,0 C15.5228475,0 20,4.47715245 20,10 C20,13.5726558 18.0940108,16.873926 15,18.660254 C11.9059893,20.4465819 8.09401074,20.4465819 5,18.660254 C1.90598923,16.873926 0,13.5726558 0,10 C0,4.47715245 4.47715251,0 10,0 Z M10,2 C5.58172201,2 2,5.58172195 2,10 C2,12.8581246 3.52479138,15.4991408 6,16.9282032 C8.4752086,18.3572655 11.5247914,18.3572655 14,16.9282032 C16.4752086,15.4991408 18,12.8581246 18,10 C18,5.58172195 14.418278,2 10,2 Z M10,4.99999981 C10.5522847,4.99999981 11,5.44771506 11,5.99999981 L11,9.58499981 L13.7071068,12.292893 C14.0675907,12.653377 14.0953203,13.220608 13.7902954,13.6128993 L13.7071068,13.7071066 C13.3165825,14.0976309 12.6834175,14.0976309 12.2928932,13.7071066 L9.29289322,10.7071066 C9.10535684,10.5195702 9,10.2652163 9,9.99999981 L9,5.99999981 C9,5.44771506 9.44771525,4.99999981 10,4.99999981 Z",id:"clock_svg__Combined-Shape"})])],-1),v0=[h0];function b0(n,t){return r(),i("svg",f0,[...v0])}const x0={render:b0},w0={viewBox:"0 0 18 23",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},y0=o("g",{id:"user_svg__Page-1","stroke-width":"1","fill-rule":"evenodd"},[o("g",{id:"user_svg__user",transform:"translate(0.7498, 0.75)","fill-rule":"nonzero"},[o("path",{d:"M8.49930622,10.4904704 C13.1395776,10.4904704 16.922393,14.2119494 16.9984963,18.8518362 C17.0045898,19.2486142 16.7757868,19.6116118 16.4151161,19.7769937 C13.9314653,20.9158468 11.2305868,21.5037078 8.49930622,21.5000675 C5.74557973,21.5000675 3.05815087,20.9129719 0.583116998,19.7768196 C0.222653024,19.6113504 -0.00597493482,19.2484628 0.000118881152,18.8516597 C0.0762194361,14.2119494 3.85903483,10.4904704 8.49930622,10.4904704 Z M8.49711636,12.49 L8.26457644,12.4946508 C5.06964755,12.6086035 2.42353247,15.0393635 2.04571515,18.2106845 L2.04311636,18.228 L2.30854626,18.337705 C3.96831295,18.9872584 5.72032656,19.3695386 7.51221175,19.4719133 L8.00185692,19.4928843 L8.50065391,19.5000638 C10.6165363,19.5028772 12.7134529,19.1091668 14.6794614,18.3414755 L14.9551164,18.228 L14.9532462,18.2137771 C14.5850421,15.1229914 12.0612875,12.726181 8.96832549,12.5069686 L8.72930938,12.4944262 L8.49711636,12.49 Z M8.49930622,0 C11.1226588,0 13.2493062,2.12664744 13.2493062,4.75 C13.2493062,7.37335256 11.1226588,9.5 8.49930622,9.5 C5.87595366,9.5 3.74930622,7.37335256 3.74930622,4.75 C3.74930622,2.12664744 5.87595366,0 8.49930622,0 Z M8.49930622,2 C6.98052316,2 5.74930622,3.23121694 5.74930622,4.75 C5.74930622,6.26878306 6.98052316,7.5 8.49930622,7.5 C10.0180893,7.5 11.2493062,6.26878306 11.2493062,4.75 C11.2493062,3.23121694 10.0180893,2 8.49930622,2 Z",id:"user_svg__Combined-Shape"})])],-1),k0=[y0];function S0(n,t){return r(),i("svg",w0,[...k0])}const M0={render:S0},$0=h({__name:"AppHeader",setup(n,{expose:t}){t();const s=$(),{weekRemaining:e,selectedDay:a,menuOpened:c,user:l}=S(s),u=x(!1),_=x(!1),d={store:s,weekRemaining:e,selectedDay:a,menuOpened:c,user:l,is_summary_open:u,is_user_menu_open:_,get IHamburger(){return R},get IClose(){return g0},get IClock(){return x0},get IUser(){return M0}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),I0={class:"fixed top-0 z-40 w-full border-b bg-stone-50 dark:border-slate-800 dark:bg-slate-900"},Z0={class:"flex h-16 items-center justify-between px-4 lg:px-8"},j0={class:"relative flex items-center gap-1 sm:gap-2"},O0={class:"text-xl font-bold"};function B0(n,t,s,e,a,c){var d,C;const l=V,u=x1,_=u0;return r(),i("header",I0,[o("div",Z0,[o("button",{type:"button",class:"-m-2 flex rounded p-2 text-2xl font-black ring-primary-200 focus:outline-none focus-visible:ring dark:ring-slate-600",onClick:t[0]||(t[0]=m=>e.selectedDay=n.$moment().format("YYYY-MM-DD"))},[L(l)]),o("div",j0,[o("button",{type:"button",class:"inline-flex h-10 flex-shrink-0 items-center justify-center gap-1 rounded bg-primary-500 px-2 font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 dark:text-slate-800 dark:ring-slate-600 md:px-3",onClick:t[1]||(t[1]=y(m=>e.is_summary_open=!e.is_summary_open,["stop"]))},[L(e.IClock,{class:"h-5"}),o("span",O0,p(e.weekRemaining),1)]),L(u,{is_open:e.is_summary_open,"onUpdate:is_open":t[2]||(t[2]=m=>e.is_summary_open=m)},null,8,["is_open"]),o("button",{type:"button",class:"inline-flex h-10 w-10 flex-shrink-0 items-center justify-center rounded bg-primary-500 bg-cover font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 dark:text-slate-800 dark:ring-slate-600",style:t1({backgroundImage:`url('${(d=e.user)==null?void 0:d.photo_url}')`}),onClick:t[3]||(t[3]=y(m=>e.is_user_menu_open=!e.is_user_menu_open,["stop"]))},[(C=e.user)!=null&&C.photo_url?M("",!0):(r(),g(e.IUser,{key:0,class:"h-6"}))],4),L(_,{is_open:e.is_user_menu_open,"onUpdate:is_open":t[4]||(t[4]=m=>e.is_user_menu_open=m)},null,8,["is_open"]),o("button",{type:"button",class:"inline-flex h-10 w-10 flex-shrink-0 items-center justify-center rounded bg-primary-500 font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 dark:text-slate-800 dark:ring-slate-600 xl:hidden",onClick:t[5]||(t[5]=y(m=>e.menuOpened=!e.menuOpened,["stop"]))},[e.menuOpened?(r(),g(e.IClose,{key:1,class:"h-6 w-6"})):(r(),g(e.IHamburger,{key:0,class:"h-4 w-4"}))])])])])}const T0=f($0,[["render",B0],["__file","AppHeader.vue"]]),z0={},A0={class:"flex min-h-screen pt-16"};function P0(n,t){const s=T0;return r(),i(v,null,[L(s),o("main",A0,[P(n.$slots,"default")])],64)}const N0=f(z0,[["render",P0],["__file","default.vue"]]);export{N0 as default}; +import{_ as V}from"./CeaNXkwu.js";import{I as H,_ as N,a as R}from"./DXKa0e7G.js";import{d as h,r as x,o as W,a$ as Y,x as i,v as r,y as o,c0 as O,bU as S,bJ as B,_ as f,b8 as T,a5 as g,B as w,bP as z,b9 as q,bS as y,z as p,A as L,M as v,b6 as F,aN as G,a6 as M,U as A,c1 as J,j as K,C as b,c2 as Q,b7 as P,c3 as X,q as e1,aP as t1}from"./ewmvwxW7.js";import{u as $}from"./DnyUcCWV.js";import{u as o1}from"./C7OjwfWT.js";const n1=Symbol.for("nuxt:client-only"),r1=h({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(n,{slots:t,attrs:s}){const e=x(!1);return W(()=>{e.value=!0}),Y(n1,!0),a=>{var _;if(e.value)return(_=t.default)==null?void 0:_.call(t);const c=t.fallback||t.placeholder;if(c)return c();const l=a.fallback||a.placeholder||"",u=a.fallbackTag||a.placeholderTag||"span";return i(u,s,l)}}}),s1={viewBox:"0 0 69 69",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},i1=o("g",{id:"save_svg__Page-1","stroke-width":"1","fill-rule":"evenodd"},[o("g",{id:"save_svg__np_save_4035705_000000","fill-rule":"nonzero"},[o("path",{d:"M66.72182,15.6248 L51.56272,1.8438 C50.27792,0.6719 48.53772,0.0079 46.7159,0 L6.875,0 C3.07659,0 0,2.7969 0,6.25 L0,62.5 C0,64.1562 0.726176,65.7461 2.0152,66.918 C3.304224,68.0899 5.05307,68.75 6.875,68.75 L61.875,68.75 C63.69682,68.75 65.44571,68.08984 66.7348,66.918 C68.02389,65.74616 68.75,64.1563 68.75,62.5 L68.75,20.031 C68.7414068,18.3748 68.010932,16.7927 66.72182,15.6248 L66.72182,15.6248 Z M24.06272,6.2498 L44.68772,6.2498 L44.68772,18.7498 L24.06272,18.7498 L24.06272,6.2498 Z M20.62522,62.4998 L20.62522,40.6248 L48.12522,40.6248 L48.12522,62.4998 L20.62522,62.4998 Z M55.00022,62.5 L55.00022,40.6248 C55.00022,38.9686 54.274044,37.3787 52.98502,36.2068 C51.695996,35.0349 49.94715,34.3748 48.12522,34.3748 L20.62522,34.3748 C16.82681,34.3748 13.75022,37.1717 13.75022,40.6248 L13.75022,62.5 L6.87522,62.5 L6.87522,6.2498 L17.18772,6.2498 L17.18772,18.7498 C17.18772,20.406 17.913896,21.9959 19.20292,23.1678 C20.491944,24.3397 22.24079,24.9998 24.06272,24.9998 L44.68772,24.9998 C46.50954,24.9998 48.25843,24.33964 49.54752,23.1678 C50.83661,21.99596 51.56272,20.4061 51.56272,18.7498 L51.56272,10.656 L61.87522,20.031 L61.87522,62.5 L55.00022,62.5 Z",id:"save_svg__Shape"})])],-1),a1=[i1];function l1(n,t){return r(),i("svg",s1,[...a1])}const c1={render:l1},d1=h({__name:"WeekSummary",props:{is_open:{type:Boolean,default:!1}},emits:["update:is_open"],setup(n,{expose:t,emit:s}){t();const e=s,a=$(),c=O(),{weekSummaryColors:l,updateWeekTarget:u}=a,{weekSummary:_,user:d,weekTotal:C}=S(a),m=x(!1),k=x("");B(()=>c.name,()=>{e("update:is_open",!1)});function U(){var Z,j;(Z=document.activeElement)==null||Z.blur(),m.value=!0,k.value=((j=d.value)==null?void 0:j.weekly_target)||""}async function D(){await u(k.value),m.value=!1}function E(){e("update:is_open",!1)}const I={emit:e,store:a,route:c,weekSummaryColors:l,updateWeekTarget:u,weekSummary:_,user:d,weekTotal:C,is_editing:m,target:k,onEdit:U,onSave:D,onClickOutside:E,get ISave(){return c1},get IEdit(){return H}};return Object.defineProperty(I,"__isScriptSetup",{enumerable:!1,value:!0}),I}}),_1={key:0,class:"absolute right-0 top-full flex w-64 min-w-full translate-y-2 flex-col gap-6 rounded border bg-stone-50 p-4 dark:border-slate-800 dark:bg-slate-900"},u1={class:"flex flex-col gap-2"},p1={class:"text-xs font-bold uppercase opacity-80"},L1={key:0,class:"mt-1 block text-3xl font-bold tabular-nums"},m1={key:1,type:"submit",class:"inline-flex h-10 w-10 flex-shrink-0 items-center justify-center rounded bg-primary-500 font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 dark:text-slate-800 dark:ring-slate-600"},C1={class:"flex flex-col gap-2"},g1={class:"text-xs font-bold uppercase group-first:opacity-70 group-last:opacity-70 group-first:dark:opacity-30 group-last:dark:opacity-30"},f1={class:"mt-2 flex items-end justify-between gap-8 border-t pt-2 dark:border-slate-800"},h1={class:"font-bold uppercase"},v1={class:"font-bold tabular-nums"};function b1(n,t,s,e,a,c){const l=N,u=T("on-click-outside");return r(),g(A,{"enter-active-class":"transition transform origin-top-right ease-out duration-200","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition transform origin-top-right ease-in duration-200","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:w(()=>[s.is_open?z((r(),i("div",_1,[o("div",u1,[(r(),g(q(e.is_editing?"form":"div"),{class:"flex items-end justify-between gap-2 border-b pb-2 dark:border-slate-800",onSubmit:y(e.onSave,["prevent"])},{default:w(()=>{var _;return[o("div",null,[o("div",p1,p(n.$t("Mon objectif")),1),e.is_editing?(r(),g(l,{key:1,modelValue:e.target,"onUpdate:modelValue":t[0]||(t[0]=d=>e.target=d),class:"mt-1",mask:"99:99"},null,8,["modelValue"])):(r(),i("div",L1,p((_=e.user)==null?void 0:_.weekly_target),1))]),e.is_editing?(r(),i("button",m1,[L(e.ISave,{class:"h-5"})])):(r(),i("button",{key:0,type:"button",class:"inline-flex h-10 w-10 flex-shrink-0 items-center justify-center rounded bg-primary-500 font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 dark:text-slate-800 dark:ring-slate-600",onClick:e.onEdit},[L(e.IEdit,{class:"h-5"})]))]}),_:1},32)),o("div",C1,[(r(!0),i(v,null,F(Object.values(e.weekSummary),(_,d)=>(r(),i("div",{key:d,class:"group flex items-end justify-between gap-8"},[o("div",g1,p(n.$moment().day(d).format("dddd")),1),o("div",{class:G(["font-bold tabular-nums",e.weekSummaryColors(_)])},p(_),3)]))),128))]),o("div",f1,[o("div",h1,p(n.$t("Total")),1),o("div",v1,p(e.weekTotal),1)])])])),[[u,e.onClickOutside,void 0,{bubble:!0}]]):M("",!0)]),_:1})}const x1=f(d1,[["render",b1],["__file","WeekSummary.vue"]]),w1={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},y1=o("g",{id:"language_svg__Artboard-Copy","stroke-width":"1","fill-rule":"evenodd"},[o("path",{d:"M9.99994982,20.0000009 C5.4409049,19.9997296 1.45868702,16.9171201 0.315887784,12.5036294 L0.313920435,12.4941765 L0.219086754,12.0914893 C0.102131532,11.541573 0.0316907561,10.9828384 0.00851136388,10.4214468 L3.55271368e-15,10.0000009 C3.55271368e-15,8.25664079 0.447319882,6.5757241 1.28618607,5.09035045 L1.44604756,4.81676117 C3.25398288,1.8319198 6.49533701,-0.00145955899 10.0003718,8.71859633e-07 L9.99898253,0.00101353032 L10.0010079,0.00101353032 L10.3175135,0.00490454043 C13.6997972,0.110711699 16.8008078,1.92236954 18.5539572,4.81676117 L18.7088549,5.08151923 C19.499243,6.48187536 19.9373904,8.0401147 19.9937898,9.63208525 L20.0000127,10.0000009 C20.0000127,10.8510744 19.8932004,11.6899056 19.6845297,12.5020295 L19.6860699,12.4941765 C18.5651261,16.8251724 14.7237932,19.8707099 10.2842237,19.9959855 L10.0000549,20.0000009 L9.99994982,20.0000009 Z M7.21417275,15.2394927 L7.24752336,15.3267026 C7.94843107,17.1100969 8.96659772,18.2278483 10.0000024,18.2278483 L10.1239185,18.222512 C11.1143528,18.1373632 12.07961,17.0387612 12.7524814,15.3267026 L12.784805,15.2405053 L12.4136206,15.2930985 C11.7750586,15.3737652 11.1314312,15.4221497 10.4851619,15.4376299 L10.0000024,15.4430608 C9.17936084,15.4430608 8.36615072,15.391255 7.56404442,15.2892073 L7.21417275,15.2394927 Z M17.1605006,14.0546827 L17.0699894,14.0925218 C16.4719021,14.3307132 15.8626904,14.5381771 15.2447778,14.7142915 L14.7908807,14.8364547 L14.7874593,14.8503162 C14.5392191,15.6988745 14.2257759,16.4733637 13.8563168,17.149458 L13.7610074,17.3184798 L13.9777312,17.2030221 C15.2404319,16.5054127 16.3091719,15.4822205 17.0604904,14.2290156 L17.1605006,14.0546827 Z M2.83948974,14.0556953 L2.93951437,14.2290156 C3.69083283,15.4822205 4.75957284,16.5054127 6.02227356,17.2030221 L6.23695768,17.3174671 L6.14368794,17.149458 C5.77422883,16.4733637 5.46078568,15.6988745 5.21254545,14.8503162 L5.20809705,14.8374674 L5.19470942,14.8339022 C4.41848318,14.6329345 3.65703316,14.3832888 2.91403176,14.086529 L2.83948974,14.0556953 Z M13.6313872,8.85265801 L13.3137463,8.9420251 C12.2397977,9.22380399 11.1265358,9.36871862 10.0000024,9.36710246 C8.85812646,9.36710246 7.73865697,9.21956526 6.66376519,8.93589878 L6.36759058,8.85265801 L6.3527383,9.09264686 C6.34235581,9.29101597 6.33531818,9.49167761 6.33178003,9.69440032 L6.32911676,10.0000012 C6.32911676,11.1259937 6.43731509,12.1931401 6.62798441,13.1629283 L6.66632472,13.34886 L7.06537011,13.4237498 C7.86620283,13.5601335 8.68108006,13.64085 9.5055719,13.6639672 L10.0013853,13.6709313 C10.9803933,13.6724382 11.9541326,13.5906846 12.9124743,13.4282603 L13.332653,13.3498726 L13.3720204,13.1629283 C13.5453561,12.2813027 13.650534,11.3192157 13.6682247,10.3056021 L13.670888,10.0000012 C13.670888,9.69291239 13.6628402,9.39020052 13.6472665,9.09264686 L13.6313872,8.85265801 Z M2.37366702,6.90329116 C1.97887564,7.87687631 1.7721481,8.92311196 1.7721481,10.0007855 C1.77153624,10.6956826 1.85878954,11.3878651 2.03183575,12.0608632 L1.9463253,11.690126 L2.03097024,11.7359037 C2.89208552,12.182265 3.78745888,12.5545865 4.70943541,12.8495295 L4.77467938,12.86886 L4.74666221,12.6840182 C4.63623348,11.9228178 4.57223834,11.1266678 4.55938051,10.3080231 L4.55696508,10.0000012 C4.55696508,9.48495511 4.57717027,8.97808786 4.61643227,8.48244021 L4.63898319,8.21670872 L4.57998785,8.19044022 C3.90958723,7.88370555 3.26556819,7.51984909 2.6545,7.10225098 L2.37366702,6.90329116 Z M17.6263234,6.90430382 L17.3381425,7.10788008 C16.7229308,7.52759028 16.0748147,7.89220024 15.40151,8.19884579 L15.3599945,8.21670872 L15.3835725,8.48244021 C15.4149821,8.87895833 15.4341953,9.28265699 15.4406243,9.69197935 L15.4430397,10.0000012 C15.4430397,10.9270843 15.3775749,11.8276677 15.2533426,12.6840182 L15.2242983,12.86886 L15.2703888,12.8556471 C16.196034,12.5605852 17.0978408,12.1870287 17.9656804,11.7375886 L18.0526524,11.690126 L18.0611073,11.6572984 C18.1439576,11.2510853 18.1963315,10.8376 18.2173407,10.4189238 L18.2278725,9.99859435 C18.2295464,8.93779494 18.0250811,7.89024295 17.6294435,6.913132 L17.6263234,6.90430382 Z M9.8760863,1.77749042 C8.51423914,1.89457011 7.19999236,3.92770965 6.62798441,6.83707415 L6.58429941,7.06632912 L6.87586224,7.15606858 C7.76657043,7.41244065 8.69503567,7.55981171 9.64434028,7.58939599 L10.0012733,7.59496324 C11.0591514,7.59646905 12.1033202,7.44848116 13.104965,7.16170852 L13.4146783,7.06734177 L13.3720204,6.83707415 C12.8000124,3.92770965 11.4857656,1.89457011 10.1239185,1.77749042 L10.0000024,1.77215414 L9.8760863,1.77749042 Z M6.23695768,2.68253219 L6.09753598,2.7548637 C5.00253235,3.3444018 4.04300548,4.1809609 3.30460148,5.21450523 L3.22429982,5.32962047 L3.45982353,5.50313331 C3.8372692,5.77289042 4.22996958,6.0184174 4.63580996,6.23861601 L4.90936291,6.38177224 L4.94654253,6.20195264 C5.21899372,4.9364625 5.62644519,3.79707656 6.14368794,2.85054443 L6.23695768,2.68253219 Z M13.76202,2.68253219 L13.8563168,2.85054443 C14.3735596,3.79707656 14.781011,4.9364625 15.0534622,6.20195264 L15.0896148,6.38075958 L15.3514051,6.24574777 C15.759434,6.02522562 16.1546361,5.77893625 16.5344817,5.50782081 L16.7746779,5.32962047 L16.6954033,5.21450523 C15.9569993,4.1809609 14.9974724,3.3444018 13.9024688,2.7548637 L13.76202,2.68253219 Z",id:"language_svg__Shape","fill-rule":"nonzero"})],-1),k1=[y1];function S1(n,t){return r(),i("svg",w1,[...k1])}const M1={render:S1},$1=h({__name:"LanguageSwitcher",setup(n,{expose:t}){t();const{locale:s,locales:e,setLocale:a}=J(),c=K(()=>{const u=e.value.findIndex(d=>d.code===s.value),_=u!==e.value.length-1?u+1:0;return e.value.at(_)}),l={locale:s,locales:e,setLocale:a,nextLocale:c,get ILanguage(){return M1}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}});function I1(n,t,s,e,a,c){return r(),i("button",{type:"button",class:"inline-flex h-9 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded bg-primary-500 px-3 py-2 text-sm font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:text-slate-900 dark:ring-slate-600",onClick:t[0]||(t[0]=l=>e.setLocale(e.nextLocale.code))},[b(p(e.nextLocale.name)+" ",1),L(e.ILanguage,{class:"h-5 w-5"})])}const Z1=f($1,[["render",I1],["__file","LanguageSwitcher.vue"]]),j1={name:Q,props:{placeholder:String,tag:{type:String,default:"span"}}};function O1(n,t,s,e,a,c){const l=r1;return r(),g(l,{placeholder:s.placeholder,"placeholder-tag":s.tag},{default:w(()=>[P(n.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const B1=f(j1,[["render",O1],["__file","component.vue3.vue"]]),T1=()=>X("color-mode").value,z1={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},A1=o("g",{id:"moon_svg__Artboard-Copy-4","stroke-width":"1","fill-rule":"evenodd"},[o("path",{d:"M6.37530016,0.0682308493 C7.07901057,-0.225334742 7.78518704,0.480930655 7.49153285,1.18460409 C7.05518621,2.2302065 6.82777017,3.35584862 6.82777017,4.51559498 C6.82777017,9.29674187 10.7032605,13.1722322 15.4855648,13.1722329 C16.628647,13.1737831 17.7606364,12.9481093 18.8157348,12.5083291 C19.5193711,12.2150434 20.2252693,12.9211543 19.9317715,13.6247022 C18.3210146,17.4858712 14.547185,20.0003602 10.3635797,20 C4.6397145,20 0,15.3602878 0,9.63649562 C-0.000357876646,5.45281738 2.51413116,1.67898771 6.37530016,0.0682308493 Z M5.29542347,2.61552408 L5.10797802,2.7549784 C2.9970027,4.36834315 1.70670823,6.8972007 1.70694254,9.63642261 C1.70694254,14.4175695 5.58243284,18.2930598 10.3636527,18.2930598 C13.1028174,18.2932941 15.6316626,17.0029996 17.2450247,14.8920243 L17.3835029,14.7026281 L17.1152305,14.7517565 C16.7115396,14.815771 16.3038779,14.8558541 15.8944045,14.8715816 L15.4844074,14.8791747 C9.76054213,14.8791747 5.12082763,10.2394602 5.12082763,4.51559498 C5.12082763,3.96103262 5.16443395,3.41245682 5.25022648,2.8736174 L5.29542347,2.61552408 Z",id:"moon_svg__Path","fill-rule":"nonzero"})],-1),P1=[A1];function U1(n,t){return r(),i("svg",z1,[...P1])}const D1={render:U1},E1={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},V1=o("g",{id:"sun_svg__Artboard-Copy-3","stroke-width":"1","fill-rule":"evenodd"},[o("path",{d:"M10,15.9493671 C10.4893662,15.9493671 10.8860759,16.3460768 10.8860759,16.835443 L10.8860759,19.1139241 C10.8860759,19.6032903 10.4893662,20 10,20 C9.51063377,20 9.11392405,19.6032903 9.11392405,19.1139241 L9.11392405,16.835443 C9.11392405,16.3460768 9.51063377,15.9493671 10,15.9493671 Z M14.2068674,14.2068674 C14.5529016,13.8608332 15.1139339,13.8608332 15.459968,14.2068674 L17.0711073,15.8180066 C17.4171415,16.1640408 17.4171415,16.7250731 17.0711073,17.0711073 C16.7250731,17.4171415 16.1640408,17.4171415 15.8180066,17.0711073 L14.2068674,15.459968 C13.8608332,15.1139339 13.8608332,14.5529016 14.2068674,14.2068674 Z M4.54003197,14.2068674 C4.88606615,13.8608332 5.44709841,13.8608332 5.79313259,14.2068674 C6.13916677,14.5529016 6.13916677,15.1139339 5.79313259,15.459968 L4.18199335,17.0711073 C3.83595917,17.4171415 3.27492691,17.4171415 2.92889273,17.0711073 C2.58285854,16.7250731 2.58285854,16.1640408 2.92889273,15.8180066 L4.54003197,14.2068674 Z M10,5.3164557 C12.5866501,5.3164557 14.6835443,7.41334991 14.6835443,10 C14.6835443,12.5866501 12.5866501,14.6835443 10,14.6835443 C7.41334991,14.6835443 5.3164557,12.5866501 5.3164557,10 C5.3164557,7.41334991 7.41334991,5.3164557 10,5.3164557 Z M10,7.08860759 C8.39208237,7.08860759 7.08860759,8.39208237 7.08860759,10 C7.08860759,11.6079176 8.39208237,12.9113924 10,12.9113924 C11.6079176,12.9113924 12.9113924,11.6079176 12.9113924,10 C12.9113924,8.39208237 11.6079176,7.08860759 10,7.08860759 Z M19.1139241,9.11392405 C19.6032903,9.11392405 20,9.51063377 20,10 C20,10.4893662 19.6032903,10.8860759 19.1139241,10.8860759 L16.835443,10.8860759 C16.3460768,10.8860759 15.9493671,10.4893662 15.9493671,10 C15.9493671,9.51063377 16.3460768,9.11392405 16.835443,9.11392405 L19.1139241,9.11392405 Z M3.16455696,9.11392405 C3.6539232,9.11392405 4.05063291,9.51063377 4.05063291,10 C4.05063291,10.4893662 3.6539232,10.8860759 3.16455696,10.8860759 L0.886075949,10.8860759 C0.396709715,10.8860759 0,10.4893662 0,10 C0,9.51063377 0.396709715,9.11392405 0.886075949,9.11392405 L3.16455696,9.11392405 Z M15.8180066,2.92889273 C16.1640408,2.58285854 16.7250731,2.58285854 17.0711073,2.92889273 C17.4171415,3.27492691 17.4171415,3.83595917 17.0711073,4.18199335 L15.459968,5.79313259 C15.1139339,6.13916677 14.5529016,6.13916677 14.2068674,5.79313259 C13.8608332,5.44709841 13.8608332,4.88606615 14.2068674,4.54003197 L15.8180066,2.92889273 Z M2.92889273,2.92889273 C3.27492691,2.58285854 3.83595917,2.58285854 4.18199335,2.92889273 L5.79313259,4.54003197 C6.13916677,4.88606615 6.13916677,5.44709841 5.79313259,5.79313259 C5.44709841,6.13916677 4.88606615,6.13916677 4.54003197,5.79313259 L2.92889273,4.18199335 C2.58285854,3.83595917 2.58285854,3.27492691 2.92889273,2.92889273 Z M10,0 C10.4893662,0 10.8860759,0.396709715 10.8860759,0.886075949 L10.8860759,3.16455696 C10.8860759,3.6539232 10.4893662,4.05063291 10,4.05063291 C9.51063377,4.05063291 9.11392405,3.6539232 9.11392405,3.16455696 L9.11392405,0.886075949 C9.11392405,0.396709715 9.51063377,0 10,0 Z",id:"sun_svg__Shape","fill-rule":"nonzero"})],-1),H1=[V1];function N1(n,t){return r(),i("svg",E1,[...H1])}const R1={render:N1},W1={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Y1=o("g",{id:"computer_svg__Artboard-Copy-5","stroke-width":"1","fill-rule":"evenodd"},[o("path",{d:"M16.835443,0 C18.5831796,0 20,1.41682041 20,3.16455696 L20,13.0379747 C20,14.7857112 18.5831796,16.2025316 16.835443,16.2025316 L13.923038,16.2025316 L13.9240506,16.3363087 C13.9239898,16.843794 14.1031923,17.3328114 14.426658,17.7187732 L14.5546516,17.858513 L15.1835123,18.4873737 C15.7417091,19.0455705 15.3463714,20 14.556962,20 L5.44303797,20 C4.65362861,20 4.25829095,19.0455705 4.81648766,18.4873737 L5.44544304,17.8584184 C5.84920608,17.4547773 6.07601776,16.9072296 6.07594937,16.3362025 L6.07594937,16.2025316 L3.16455696,16.2025316 C1.47708719,16.2025316 0.0981052319,14.8817383 0.00500953182,13.2175501 L0,13.0379747 L0,3.16455696 L0.00500953182,2.98498159 C0.0981052319,1.32079334 1.47708719,0 3.16455696,0 L16.835443,0 Z M12.1518987,16.2025316 L7.84708861,16.2025316 L7.84810126,16.3360964 C7.848178,16.9767679 7.69157878,17.6012985 7.39954357,18.1584439 L7.36,18.2278481 L12.6389873,18.2278481 L12.6004785,18.158472 C12.3449284,17.6709589 12.1930883,17.1318828 12.1591727,16.575575 L12.1518987,16.3362025 L12.1518987,16.2025316 Z M18.2278481,12.841519 L18.1835012,12.8638938 C17.7745288,13.0567371 17.3175773,13.164557 16.835443,13.164557 L3.16455696,13.164557 C2.68242274,13.164557 2.2254712,13.0567371 1.8164988,12.8638938 L1.7721519,12.841519 L1.7721519,13.0379747 C1.7721519,13.7617432 2.32436868,14.3565346 3.03045906,14.4240057 L3.16455696,14.4303797 L16.835443,14.4303797 C17.6044471,14.4303797 18.2278481,13.8069788 18.2278481,13.0379747 L18.2278481,12.841519 Z M16.835443,1.7721519 L3.16455696,1.7721519 C2.39555288,1.7721519 1.7721519,2.39555288 1.7721519,3.16455696 L1.7721519,10 C1.7721519,10.7690041 2.39555288,11.3924051 3.16455696,11.3924051 L16.835443,11.3924051 C17.6044471,11.3924051 18.2278481,10.7690041 18.2278481,10 L18.2278481,3.16455696 L18.2214741,3.03045906 C18.154003,2.32436868 17.5592116,1.7721519 16.835443,1.7721519 Z",id:"computer_svg__Shape","fill-rule":"nonzero"})],-1),q1=[Y1];function F1(n,t){return r(),i("svg",W1,[...q1])}const G1={render:F1},J1=h({__name:"ColorSwitcher",setup(n,{expose:t}){t();const s=T1(),a={colorMode:s,onClick:()=>{const c=["system","light","dark"],u=(c.indexOf(s.preference)+1)%c.length;s.preference=c[u]},get IMoon(){return D1},get ISun(){return R1},get IComputer(){return G1}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}});function K1(n,t,s,e,a,c){const l=B1;return r(),i("button",{type:"button",class:"inline-flex h-9 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded bg-primary-500 px-3 py-2 text-sm font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:text-slate-900 dark:ring-slate-600",onClick:e.onClick},[L(l,{placeholder:"..."},{default:w(()=>[e.colorMode.preference==="dark"?(r(),i(v,{key:0},[b(p(n.$t("Sombre"))+" ",1),L(e.IMoon,{class:"h-5 w-5"})],64)):e.colorMode.preference==="light"?(r(),i(v,{key:1},[b(p(n.$t("Clair"))+" ",1),L(e.ISun,{class:"h-5 w-5"})],64)):(r(),i(v,{key:2},[b(p(n.$t("Système"))+" ",1),L(e.IComputer,{class:"h-5 w-5"})],64))]),_:1})])}const Q1=f(J1,[["render",K1],["__file","ColorSwitcher.vue"]]),X1={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},e0=o("g",{id:"logout_svg__Artboard-Copy-2","stroke-width":"1","fill-rule":"evenodd"},[o("path",{d:"M9.98487953,0 C11.8560257,0 13.4043588,1.42168258 13.4043588,3.21809065 L13.4043588,6.98581807 C13.4043588,7.51460542 12.975692,7.94327227 12.4469046,7.94327227 C11.9181173,7.94327227 11.4894504,7.51460542 11.4894504,6.98581807 L11.4894504,3.21809065 C11.4894504,2.51746865 10.8332111,1.9149084 9.98487953,1.9149084 L3.41947929,1.9149084 C2.57114768,1.9149084 1.9149084,2.51746865 1.9149084,3.21809065 L1.9149084,16.7819093 C1.9149084,17.4825314 2.57114768,18.0850916 3.41947929,18.0850916 L9.98487953,18.0850916 C10.8332111,18.0850916 11.4894504,17.4825314 11.4894504,16.7819093 L11.4894504,13.0141819 C11.4894504,12.4853946 11.9181173,12.0567277 12.4469046,12.0567277 C12.975692,12.0567277 13.4043588,12.4853946 13.4043588,13.0141819 L13.4043588,16.7819093 C13.4043588,18.5783174 11.8560257,20 9.98487953,20 L3.41947929,20 C1.54833308,20 0,18.5783174 0,16.7819093 L0,3.21809065 C0,1.42168258 1.54833308,0 3.41947929,0 L9.98487953,0 Z M7.67529927,6.11524086 C8.05400191,5.74618751 8.66017791,5.75400981 9.02923126,6.13271245 C9.39828461,6.51141509 9.39046231,7.11759109 9.01175967,7.48664444 L7.41452534,9.04165036 L19.0123049,9.0425458 C19.5004163,9.0425458 19.9032179,9.40780039 19.9622991,9.87989898 L19.9697591,10 C19.9697591,10.5287874 19.5410922,10.9574542 19.0123049,10.9574542 L7.41452534,10.9565588 L9.01175967,12.5133556 C9.35890376,12.8516545 9.39440534,13.3892023 9.11364649,13.7681417 L9.02923126,13.8672876 C8.66017791,14.2459902 8.05400191,14.2538125 7.67529927,13.8847591 L4.39259915,10.6857018 L4.38349889,10.676435 L4.37512756,10.6682302 L4.36270846,10.6534561 L4.34501477,10.6358834 L4.32331606,10.6085926 L4.30565363,10.5887673 L4.29486599,10.5735771 L4.28611212,10.5615405 L4.27491902,10.5470142 L4.25000242,10.5068288 L4.23418228,10.4835658 L4.22921199,10.4729076 L4.22197943,10.4620737 L4.18763112,10.3908401 L4.17820591,10.3717106 L4.17559455,10.3645785 L4.16782272,10.3460503 C4.14007661,10.2744993 4.12068195,10.1987841 4.11083508,10.120101 L4.10994055,10.1139991 L4.10665785,10.052722 L4.10345486,10.0123543 L4.10446938,10.0001988 L4.10345486,9.98764572 L4.10665785,9.94548713 L4.10966658,9.89001588 L4.10994055,9.88530429 L4.11212902,9.86998503 L4.11978865,9.83059263 L4.13261669,9.76424979 L4.13620215,9.75180782 L4.14605025,9.72007505 L4.16782272,9.6539497 L4.17559455,9.63472485 L4.18872535,9.60627478 L4.21555592,9.54989595 L4.21936389,9.54280925 L4.22702352,9.52967845 L4.23418228,9.5164342 L4.25219089,9.48700335 L4.27491902,9.45298582 L4.28611212,9.43557438 L4.29486599,9.42463204 L4.30565363,9.41123274 L4.32112759,9.39180504 L4.34501477,9.36411655 L4.36817963,9.33928184 L4.38349889,9.32286834 L4.39259915,9.31429821 L7.67529927,6.11524086 Z",id:"logout_svg__Shape","fill-rule":"nonzero"})],-1),t0=[e0];function o0(n,t){return r(),i("svg",X1,[...t0])}const n0={render:o0},r0=h({__name:"UserMenu",props:{is_open:{type:Boolean,default:!1}},emits:["update:is_open"],setup(n,{expose:t,emit:s}){t();const e=s,a=e1(),c=o1(),l=$(),{logout:u}=c,{user:_}=S(l),d=O();B(()=>d.name,()=>{e("update:is_open",!1)});function C(){e("update:is_open",!1)}const m={emit:e,config:a,auth:c,store:l,logout:u,user:_,route:d,onClickOutside:C,get ILogout(){return n0}};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}}),s0={key:0,class:"absolute right-0 top-full flex w-64 min-w-full translate-y-2 flex-col gap-6 rounded border bg-stone-50 p-4 dark:border-slate-800 dark:bg-slate-900"},i0={class:"flex flex-col gap-2"},a0={class:"border-b pb-2 dark:border-slate-800"},l0={class:"text-xs font-bold uppercase opacity-80"},c0={class:"mt-1 block text-2xl font-black tabular-nums leading-[1]"},d0={class:"text-center text-xs"};function _0(n,t,s,e,a,c){const l=Z1,u=Q1,_=T("on-click-outside");return r(),g(A,{"enter-active-class":"transition transform origin-top-right ease-out duration-200","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition transform origin-top-right ease-in duration-200","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:w(()=>{var d;return[s.is_open?z((r(),i("div",s0,[o("div",i0,[o("div",a0,[o("div",l0,p(n.$t("Bonjour")),1),o("div",c0,p((d=e.user)==null?void 0:d.display_name),1)]),L(l),L(u),o("button",{class:"inline-flex h-9 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded bg-red-500 px-3 py-2 text-sm font-bold text-white shadow ring-primary-200 transition hover:bg-red-400 focus:outline-none focus-visible:ring active:bg-red-600 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:text-slate-900 dark:ring-slate-600",type:"button",onClick:t[0]||(t[0]=(...C)=>e.logout&&e.logout(...C))},[b(p(n.$t("Déconnexion"))+" ",1),L(e.ILogout,{class:"h-5 w-5"})]),o("div",d0," Version: "+p(e.config.public.commitTag)+" "+p(e.config.public.commitTag?`(${e.config.public.commitShortSha})`:e.config.public.commitShortSha),1)])])),[[_,e.onClickOutside,void 0,{bubble:!0}]]):M("",!0)]}),_:1})}const u0=f(r0,[["render",_0],["__file","UserMenu.vue"]]),p0={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},L0=o("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"},null,-1),m0=[L0];function C0(n,t){return r(),i("svg",p0,[...m0])}const g0={render:C0},f0={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},h0=o("g",{id:"clock_svg__Page-1","stroke-width":"1","fill-rule":"evenodd"},[o("g",{id:"clock_svg__Group","fill-rule":"nonzero"},[o("path",{d:"M10,0 C15.5228475,0 20,4.47715245 20,10 C20,13.5726558 18.0940108,16.873926 15,18.660254 C11.9059893,20.4465819 8.09401074,20.4465819 5,18.660254 C1.90598923,16.873926 0,13.5726558 0,10 C0,4.47715245 4.47715251,0 10,0 Z M10,2 C5.58172201,2 2,5.58172195 2,10 C2,12.8581246 3.52479138,15.4991408 6,16.9282032 C8.4752086,18.3572655 11.5247914,18.3572655 14,16.9282032 C16.4752086,15.4991408 18,12.8581246 18,10 C18,5.58172195 14.418278,2 10,2 Z M10,4.99999981 C10.5522847,4.99999981 11,5.44771506 11,5.99999981 L11,9.58499981 L13.7071068,12.292893 C14.0675907,12.653377 14.0953203,13.220608 13.7902954,13.6128993 L13.7071068,13.7071066 C13.3165825,14.0976309 12.6834175,14.0976309 12.2928932,13.7071066 L9.29289322,10.7071066 C9.10535684,10.5195702 9,10.2652163 9,9.99999981 L9,5.99999981 C9,5.44771506 9.44771525,4.99999981 10,4.99999981 Z",id:"clock_svg__Combined-Shape"})])],-1),v0=[h0];function b0(n,t){return r(),i("svg",f0,[...v0])}const x0={render:b0},w0={viewBox:"0 0 18 23",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},y0=o("g",{id:"user_svg__Page-1","stroke-width":"1","fill-rule":"evenodd"},[o("g",{id:"user_svg__user",transform:"translate(0.7498, 0.75)","fill-rule":"nonzero"},[o("path",{d:"M8.49930622,10.4904704 C13.1395776,10.4904704 16.922393,14.2119494 16.9984963,18.8518362 C17.0045898,19.2486142 16.7757868,19.6116118 16.4151161,19.7769937 C13.9314653,20.9158468 11.2305868,21.5037078 8.49930622,21.5000675 C5.74557973,21.5000675 3.05815087,20.9129719 0.583116998,19.7768196 C0.222653024,19.6113504 -0.00597493482,19.2484628 0.000118881152,18.8516597 C0.0762194361,14.2119494 3.85903483,10.4904704 8.49930622,10.4904704 Z M8.49711636,12.49 L8.26457644,12.4946508 C5.06964755,12.6086035 2.42353247,15.0393635 2.04571515,18.2106845 L2.04311636,18.228 L2.30854626,18.337705 C3.96831295,18.9872584 5.72032656,19.3695386 7.51221175,19.4719133 L8.00185692,19.4928843 L8.50065391,19.5000638 C10.6165363,19.5028772 12.7134529,19.1091668 14.6794614,18.3414755 L14.9551164,18.228 L14.9532462,18.2137771 C14.5850421,15.1229914 12.0612875,12.726181 8.96832549,12.5069686 L8.72930938,12.4944262 L8.49711636,12.49 Z M8.49930622,0 C11.1226588,0 13.2493062,2.12664744 13.2493062,4.75 C13.2493062,7.37335256 11.1226588,9.5 8.49930622,9.5 C5.87595366,9.5 3.74930622,7.37335256 3.74930622,4.75 C3.74930622,2.12664744 5.87595366,0 8.49930622,0 Z M8.49930622,2 C6.98052316,2 5.74930622,3.23121694 5.74930622,4.75 C5.74930622,6.26878306 6.98052316,7.5 8.49930622,7.5 C10.0180893,7.5 11.2493062,6.26878306 11.2493062,4.75 C11.2493062,3.23121694 10.0180893,2 8.49930622,2 Z",id:"user_svg__Combined-Shape"})])],-1),k0=[y0];function S0(n,t){return r(),i("svg",w0,[...k0])}const M0={render:S0},$0=h({__name:"AppHeader",setup(n,{expose:t}){t();const s=$(),{weekRemaining:e,selectedDay:a,menuOpened:c,user:l}=S(s),u=x(!1),_=x(!1),d={store:s,weekRemaining:e,selectedDay:a,menuOpened:c,user:l,is_summary_open:u,is_user_menu_open:_,get IHamburger(){return R},get IClose(){return g0},get IClock(){return x0},get IUser(){return M0}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),I0={class:"fixed top-0 z-40 w-full border-b bg-stone-50 dark:border-slate-800 dark:bg-slate-900"},Z0={class:"flex h-16 items-center justify-between px-4 lg:px-8"},j0={class:"relative flex items-center gap-1 sm:gap-2"},O0={class:"text-xl font-bold"};function B0(n,t,s,e,a,c){var d,C;const l=V,u=x1,_=u0;return r(),i("header",I0,[o("div",Z0,[o("button",{type:"button",class:"-m-2 flex rounded p-2 text-2xl font-black ring-primary-200 focus:outline-none focus-visible:ring dark:ring-slate-600",onClick:t[0]||(t[0]=m=>e.selectedDay=n.$moment().format("YYYY-MM-DD"))},[L(l)]),o("div",j0,[o("button",{type:"button",class:"inline-flex h-10 flex-shrink-0 items-center justify-center gap-1 rounded bg-primary-500 px-2 font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 dark:text-slate-800 dark:ring-slate-600 md:px-3",onClick:t[1]||(t[1]=y(m=>e.is_summary_open=!e.is_summary_open,["stop"]))},[L(e.IClock,{class:"h-5"}),o("span",O0,p(e.weekRemaining),1)]),L(u,{is_open:e.is_summary_open,"onUpdate:is_open":t[2]||(t[2]=m=>e.is_summary_open=m)},null,8,["is_open"]),o("button",{type:"button",class:"inline-flex h-10 w-10 flex-shrink-0 items-center justify-center rounded bg-primary-500 bg-cover font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 dark:text-slate-800 dark:ring-slate-600",style:t1({backgroundImage:`url('${(d=e.user)==null?void 0:d.photo_url}')`}),onClick:t[3]||(t[3]=y(m=>e.is_user_menu_open=!e.is_user_menu_open,["stop"]))},[(C=e.user)!=null&&C.photo_url?M("",!0):(r(),g(e.IUser,{key:0,class:"h-6"}))],4),L(_,{is_open:e.is_user_menu_open,"onUpdate:is_open":t[4]||(t[4]=m=>e.is_user_menu_open=m)},null,8,["is_open"]),o("button",{type:"button",class:"inline-flex h-10 w-10 flex-shrink-0 items-center justify-center rounded bg-primary-500 font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 dark:text-slate-800 dark:ring-slate-600 xl:hidden",onClick:t[5]||(t[5]=y(m=>e.menuOpened=!e.menuOpened,["stop"]))},[e.menuOpened?(r(),g(e.IClose,{key:1,class:"h-6 w-6"})):(r(),g(e.IHamburger,{key:0,class:"h-4 w-4"}))])])])])}const T0=f($0,[["render",B0],["__file","AppHeader.vue"]]),z0={},A0={class:"flex min-h-screen pt-16"};function P0(n,t){const s=T0;return r(),i(v,null,[L(s),o("main",A0,[P(n.$slots,"default")])],64)}const N0=f(z0,[["render",P0],["__file","default.vue"]]);export{N0 as default}; diff --git a/_nuxt/D6msgEZY.js b/_nuxt/CeaNXkwu.js similarity index 98% rename from _nuxt/D6msgEZY.js rename to _nuxt/CeaNXkwu.js index ce969e5..5121ee0 100644 --- a/_nuxt/D6msgEZY.js +++ b/_nuxt/CeaNXkwu.js @@ -1 +1 @@ -import{_ as c,ac as h}from"./S9EjZaWQ.js";const a={},v=h('',2);function l(s,t){return v}const e=c(a,[["render",l],["__scopeId","data-v-1ff604f4"],["__file","Logo.vue"]]);export{e as _}; +import{_ as c,ac as h}from"./ewmvwxW7.js";const a={},v=h('',2);function l(s,t){return v}const e=c(a,[["render",l],["__scopeId","data-v-1ff604f4"],["__file","Logo.vue"]]);export{e as _}; diff --git a/_nuxt/FTbH54h0.js b/_nuxt/Czusa6IX.js similarity index 97% rename from _nuxt/FTbH54h0.js rename to _nuxt/Czusa6IX.js index 3c8c4b2..f8aa5e8 100644 --- a/_nuxt/FTbH54h0.js +++ b/_nuxt/Czusa6IX.js @@ -1 +1 @@ -import{_ as i,t as o,v as u,x as c,y as n,z as a,D as l,E as d}from"./S9EjZaWQ.js";const p={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t,{expose:s}){s();const e=t;o({title:`${e.statusCode} - ${e.statusMessage} | ${e.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]});const r={props:e,get useHead(){return o}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}},b=t=>(l("data-v-2c66185b"),t=t(),d(),t),g={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=b(()=>n("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},x=["textContent"],m=["textContent"];function _(t,s,e,r,y,k){return u(),c("div",g,[h,n("div",f,[n("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:a(e.statusCode)},null,8,x),n("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:a(e.description)},null,8,m)])])}const v=i(p,[["render",_],["__scopeId","data-v-2c66185b"],["__file","error-500.vue"]]);export{v as default}; +import{_ as i,t as o,v as u,x as c,y as n,z as a,D as l,E as d}from"./ewmvwxW7.js";const p={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t,{expose:s}){s();const e=t;o({title:`${e.statusCode} - ${e.statusMessage} | ${e.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]});const r={props:e,get useHead(){return o}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}},b=t=>(l("data-v-2c66185b"),t=t(),d(),t),g={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=b(()=>n("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},x=["textContent"],m=["textContent"];function _(t,s,e,r,y,k){return u(),c("div",g,[h,n("div",f,[n("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:a(e.statusCode)},null,8,x),n("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:a(e.description)},null,8,m)])])}const v=i(p,[["render",_],["__scopeId","data-v-2c66185b"],["__file","error-500.vue"]]);export{v as default}; diff --git a/_nuxt/D8Dzc6nF.js b/_nuxt/DOkcDheY.js similarity index 80% rename from _nuxt/D8Dzc6nF.js rename to _nuxt/DOkcDheY.js index f27db47..5e03df4 100644 --- a/_nuxt/D8Dzc6nF.js +++ b/_nuxt/DOkcDheY.js @@ -1 +1 @@ -import{_ as s}from"./D6msgEZY.js";import{_ as n,x as r,y as e,A as a,b7 as c,M as l,v as _}from"./S9EjZaWQ.js";const i={},d={class:"fixed top-0 z-40 w-full border-b bg-stone-50 dark:border-slate-800 dark:bg-slate-900"},f={class:"flex h-16 items-center justify-between px-4 lg:px-8"},u={type:"button",class:"-m-2 flex rounded p-2 text-2xl font-black ring-primary-200 focus:outline-none focus-visible:ring dark:ring-slate-600"},m={class:"flex min-h-screen pt-16"};function p(t,x){const o=s;return _(),r(l,null,[e("header",d,[e("div",f,[e("button",u,[a(o)])])]),e("main",m,[c(t.$slots,"default")])],64)}const h=n(i,[["render",p],["__file","login.vue"]]);export{h as default}; +import{_ as s}from"./CeaNXkwu.js";import{_ as n,x as r,y as e,A as a,b7 as c,M as l,v as _}from"./ewmvwxW7.js";const i={},d={class:"fixed top-0 z-40 w-full border-b bg-stone-50 dark:border-slate-800 dark:bg-slate-900"},f={class:"flex h-16 items-center justify-between px-4 lg:px-8"},u={type:"button",class:"-m-2 flex rounded p-2 text-2xl font-black ring-primary-200 focus:outline-none focus-visible:ring dark:ring-slate-600"},m={class:"flex min-h-screen pt-16"};function p(t,x){const o=s;return _(),r(l,null,[e("header",d,[e("div",f,[e("button",u,[a(o)])])]),e("main",m,[c(t.$slots,"default")])],64)}const h=n(i,[["render",p],["__file","login.vue"]]);export{h as default}; diff --git a/_nuxt/DPmltWRH.js b/_nuxt/DXKa0e7G.js similarity index 97% rename from _nuxt/DPmltWRH.js rename to _nuxt/DXKa0e7G.js index 8697548..dd10ffe 100644 --- a/_nuxt/DPmltWRH.js +++ b/_nuxt/DXKa0e7G.js @@ -1 +1 @@ -import{d as m,r as c,a as f,j as h,o as v,_ as C,v as u,x as d,y as s}from"./S9EjZaWQ.js";const w=m({__name:"TimeInput",props:{type:{default:"datetime"},mask:{default:""},modelValue:{default:""},placeholder:{default:"HH:MM"}},emits:["update:modelValue"],setup(o,{expose:e,emit:r}){e();const t=o,l=r,n=c(null),{$inputmask:a}=f(),_=h({get(){return t.modelValue},set(p){l("update:modelValue",p)}});v(()=>{t.mask?new a({mask:t.mask,insertModeVisual:!1,placeholder:"HH:MM"}).mask(n.value):new a("datetime",{inputFormat:"HH:MM",insertModeVisual:!1}).mask(n.value)});const i={props:t,emit:l,timeInput:n,$inputmask:a,value:_};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),g=["value","placeholder"];function x(o,e,r,t,l,n){return u(),d("input",{ref:"timeInput",class:"form-control form-input-bordered form-input w-full",type:"text",value:t.value,placeholder:r.placeholder,onBlur:e[0]||(e[0]=a=>o.$emit("update:modelValue",a.target.value))},null,40,g)}const b=C(w,[["render",x],["__file","TimeInput.vue"]]),L={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},M=s("g",{id:"edit_svg__Page-1","stroke-width":"1","fill-rule":"evenodd"},[s("g",{id:"edit_svg__edit",transform:"translate(0.000000, 0.475349)","fill-rule":"nonzero"},[s("path",{d:"M8,2.02465077 C8.55228475,2.02465077 9,2.47236602 9,3.02465077 C9,3.57693552 8.55228475,4.02465077 8,4.02465077 L3,4.02465077 C2.44771525,4.02465077 2,4.47236602 2,5.02465077 L2,16.0246508 C2,16.5769355 2.44771525,17.0246508 3,17.0246508 L14,17.0246508 C14.5522847,17.0246508 15,16.5769355 15,16.0246508 L15,11.0246508 C15,10.472366 15.4477153,10.0246508 16,10.0246508 C16.5522847,10.0246508 17,10.472366 17,11.0246508 L17,16.0246508 C17,17.681505 15.6568542,19.0246508 14,19.0246508 L3,19.0246508 C1.34314575,19.0246508 0,17.681505 0,16.0246508 L0,5.02465077 C0,3.36779652 1.34314575,2.02465077 3,2.02465077 L8,2.02465077 Z M13.8667118,0.91593898 C14.6199352,0.136069227 15.7353455,-0.176698812 16.7842338,0.0978475103 C17.8331221,0.372393832 18.6522569,1.19152871 18.9268033,2.24041701 C19.2013496,3.2893053 18.8885815,4.40471557 18.1211068,5.14575756 L9.53510678,13.7317576 C9.3475704,13.9192939 9.09321649,14.0246508 8.828,14.0246508 L6,14.0246508 C5.44771525,14.0246508 5,13.5769355 5,13.0246508 L5,10.1966508 C5,9.93143428 5.10535684,9.67708037 5.29289322,9.48954399 Z M16.2777955,2.03266541 C15.9281661,1.94114997 15.5563627,2.04540598 15.2931068,2.31775756 L7,10.6100248 L7,12.0240248 L8.413,12.0240248 L16.7192882,3.71936257 C16.9503607,3.49618526 17.0584106,3.17761718 17.0152947,2.86402362 L16.9919854,2.74685524 C16.9004699,2.39722581 16.627425,2.12418085 16.2777955,2.03266541 Z",id:"edit_svg__Combined-Shape"})])],-1),k=[M];function H(o,e){return u(),d("svg",L,[...k])}const y={render:H},$={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 12"},V=s("path",{d:"M0 1a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H1a1 1 0 0 1-1-1Zm0 5a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H1a1 1 0 0 1-1-1Zm0 5a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H1a1 1 0 0 1-1-1Z","fill-rule":"nonzero"},null,-1),I=[V];function B(o,e){return u(),d("svg",$,[...I])}const S={render:B};export{y as I,b as _,S as a}; +import{d as m,r as c,a as f,j as h,o as v,_ as C,v as u,x as d,y as s}from"./ewmvwxW7.js";const w=m({__name:"TimeInput",props:{type:{default:"datetime"},mask:{default:""},modelValue:{default:""},placeholder:{default:"HH:MM"}},emits:["update:modelValue"],setup(o,{expose:e,emit:r}){e();const t=o,l=r,n=c(null),{$inputmask:a}=f(),_=h({get(){return t.modelValue},set(p){l("update:modelValue",p)}});v(()=>{t.mask?new a({mask:t.mask,insertModeVisual:!1,placeholder:"HH:MM"}).mask(n.value):new a("datetime",{inputFormat:"HH:MM",insertModeVisual:!1}).mask(n.value)});const i={props:t,emit:l,timeInput:n,$inputmask:a,value:_};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),g=["value","placeholder"];function x(o,e,r,t,l,n){return u(),d("input",{ref:"timeInput",class:"form-control form-input-bordered form-input w-full",type:"text",value:t.value,placeholder:r.placeholder,onBlur:e[0]||(e[0]=a=>o.$emit("update:modelValue",a.target.value))},null,40,g)}const b=C(w,[["render",x],["__file","TimeInput.vue"]]),L={viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},M=s("g",{id:"edit_svg__Page-1","stroke-width":"1","fill-rule":"evenodd"},[s("g",{id:"edit_svg__edit",transform:"translate(0.000000, 0.475349)","fill-rule":"nonzero"},[s("path",{d:"M8,2.02465077 C8.55228475,2.02465077 9,2.47236602 9,3.02465077 C9,3.57693552 8.55228475,4.02465077 8,4.02465077 L3,4.02465077 C2.44771525,4.02465077 2,4.47236602 2,5.02465077 L2,16.0246508 C2,16.5769355 2.44771525,17.0246508 3,17.0246508 L14,17.0246508 C14.5522847,17.0246508 15,16.5769355 15,16.0246508 L15,11.0246508 C15,10.472366 15.4477153,10.0246508 16,10.0246508 C16.5522847,10.0246508 17,10.472366 17,11.0246508 L17,16.0246508 C17,17.681505 15.6568542,19.0246508 14,19.0246508 L3,19.0246508 C1.34314575,19.0246508 0,17.681505 0,16.0246508 L0,5.02465077 C0,3.36779652 1.34314575,2.02465077 3,2.02465077 L8,2.02465077 Z M13.8667118,0.91593898 C14.6199352,0.136069227 15.7353455,-0.176698812 16.7842338,0.0978475103 C17.8331221,0.372393832 18.6522569,1.19152871 18.9268033,2.24041701 C19.2013496,3.2893053 18.8885815,4.40471557 18.1211068,5.14575756 L9.53510678,13.7317576 C9.3475704,13.9192939 9.09321649,14.0246508 8.828,14.0246508 L6,14.0246508 C5.44771525,14.0246508 5,13.5769355 5,13.0246508 L5,10.1966508 C5,9.93143428 5.10535684,9.67708037 5.29289322,9.48954399 Z M16.2777955,2.03266541 C15.9281661,1.94114997 15.5563627,2.04540598 15.2931068,2.31775756 L7,10.6100248 L7,12.0240248 L8.413,12.0240248 L16.7192882,3.71936257 C16.9503607,3.49618526 17.0584106,3.17761718 17.0152947,2.86402362 L16.9919854,2.74685524 C16.9004699,2.39722581 16.627425,2.12418085 16.2777955,2.03266541 Z",id:"edit_svg__Combined-Shape"})])],-1),k=[M];function H(o,e){return u(),d("svg",L,[...k])}const y={render:H},$={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 12"},V=s("path",{d:"M0 1a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H1a1 1 0 0 1-1-1Zm0 5a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H1a1 1 0 0 1-1-1Zm0 5a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H1a1 1 0 0 1-1-1Z","fill-rule":"nonzero"},null,-1),I=[V];function B(o,e){return u(),d("svg",$,[...I])}const S={render:B};export{y as I,b as _,S as a}; diff --git a/_nuxt/CofIfSQX.js b/_nuxt/Dh_qWEXu.js similarity index 60% rename from _nuxt/CofIfSQX.js rename to _nuxt/Dh_qWEXu.js index 378a72a..55bcc20 100644 --- a/_nuxt/CofIfSQX.js +++ b/_nuxt/Dh_qWEXu.js @@ -1 +1 @@ -import{d as s,_ as a,x as l,y as p,z as c,v as u}from"./S9EjZaWQ.js";import{u as d}from"./fDKSXIzk.js";import"./B3EG_2Du.js";const _=s({__name:"login",setup(r,{expose:e}){e();const o=d(),{login:t}=o,n={auth:o,login:t};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),f={class:"flex w-full items-center justify-center px-4 py-6 lg:px-8"};function m(r,e,o,t,n,g){return u(),l("div",f,[p("button",{type:"button",class:"inline-flex h-9 cursor-pointer items-center justify-center gap-2 rounded bg-primary-500 px-3 text-sm font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:text-slate-900 dark:ring-slate-600",onClick:e[0]||(e[0]=(...i)=>t.login&&t.login(...i))},c(r.$t("Connexion avec Google")),1)])}const v=a(_,[["render",m],["__file","login.vue"]]);export{v as default}; +import{u as s}from"./C7OjwfWT.js";import{d as a,_ as l,x as p,y as c,z as u,v as d}from"./ewmvwxW7.js";import"./DnyUcCWV.js";const _=a({__name:"login",setup(r,{expose:e}){e();const o=s(),{login:t}=o,n={auth:o,login:t};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),f={class:"flex w-full items-center justify-center px-4 py-6 lg:px-8"};function m(r,e,o,t,n,g){return d(),p("div",f,[c("button",{type:"button",class:"inline-flex h-9 cursor-pointer items-center justify-center gap-2 rounded bg-primary-500 px-3 text-sm font-bold text-white shadow ring-primary-200 transition hover:bg-primary-400 focus:outline-none focus-visible:ring active:bg-primary-600 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:text-slate-900 dark:ring-slate-600",onClick:e[0]||(e[0]=(...i)=>t.login&&t.login(...i))},u(r.$t("Connexion avec Google")),1)])}const v=l(_,[["render",m],["__file","login.vue"]]);export{v as default}; diff --git a/_nuxt/B3EG_2Du.js b/_nuxt/DnyUcCWV.js similarity index 99% rename from _nuxt/B3EG_2Du.js rename to _nuxt/DnyUcCWV.js index bc5914f..9ffb5bb 100644 --- a/_nuxt/B3EG_2Du.js +++ b/_nuxt/DnyUcCWV.js @@ -1 +1 @@ -import{j as m,c7 as Se,c8 as ke,bJ as Ee,c9 as Me,ca as Y,cb as se,r as x,bK as _e,cc as Oe,bh as De,cd as xe,ce as He,o as Ce,aM as Ye,aq as Ae,c5 as $e,cf as Be,cg as Ne,a as Pe,ch as Le,ci as c,cj as O,ck as P,cl as L,cm as G,cn as C,co as q,cp as M,cq as re,cr as ne,cs as T,ct as Te,cu as Re,cv as Ke,cw as We,cx as qe}from"./S9EjZaWQ.js";function Je(e){var n;const a=Y(e);return(n=a==null?void 0:a.$el)!=null?n:a}const A=Se?window:void 0;function Z(...e){let n,a,s,d;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,s,d]=e,n=A):[n,a,s,d]=e,!n)return ke;Array.isArray(a)||(a=[a]),Array.isArray(s)||(s=[s]);const f=[],w=()=>{f.forEach(i=>i()),f.length=0},g=(i,u,h,S)=>(i.addEventListener(u,h,S),()=>i.removeEventListener(u,h,S)),b=Ee(()=>[Je(n),Y(d)],([i,u])=>{if(w(),!i)return;const h=Me(u)?{...u}:u;f.push(...a.flatMap(S=>s.map(D=>g(i,S,D,h))))},{immediate:!0,flush:"post"}),v=()=>{b(),w()};return se(v),v}function Ie(e){return typeof e=="function"?e:typeof e=="string"?n=>n.key===e:Array.isArray(e)?n=>e.includes(n.key):()=>!0}function tt(...e){let n,a,s={};e.length===3?(n=e[0],a=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(n=!0,a=e[0],s=e[1]):(n=e[0],a=e[1]):(n=!0,a=e[0]);const{target:d=A,eventName:f="keydown",passive:w=!1,dedupe:g=!1}=s,b=Ie(n);return Z(d,f,i=>{i.repeat&&Y(g)||b(i)&&a(i)},w)}function Ue(){const e=x(!1),n=Ae();return n&&Ce(()=>{e.value=!0},n),e}function Ve(e){const n=Ue();return m(()=>(n.value,!!e()))}function R(e,n={}){const{window:a=A}=n,s=Ve(()=>a&&"matchMedia"in a&&typeof a.matchMedia=="function");let d;const f=x(!1),w=v=>{f.value=v.matches},g=()=>{d&&("removeEventListener"in d?d.removeEventListener("change",w):d.removeListener(w))},b=_e(()=>{s.value&&(g(),d=a.matchMedia(Y(e)),"addEventListener"in d?d.addEventListener("change",w):d.addListener(w),f.value=d.matches)});return se(()=>{b(),g(),d=void 0}),f}const rt={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function nt(e,n={}){function a(i,u){let h=Y(e[Y(i)]);return u!=null&&(h=Oe(h,u)),typeof h=="number"&&(h=`${h}px`),h}const{window:s=A,strategy:d="min-width"}=n;function f(i){return s?s.matchMedia(i).matches:!1}const w=i=>R(()=>`(min-width: ${a(i)})`,n),g=i=>R(()=>`(max-width: ${a(i)})`,n),b=Object.keys(e).reduce((i,u)=>(Object.defineProperty(i,u,{get:()=>d==="min-width"?w(u):g(u),enumerable:!0,configurable:!0}),i),{});function v(){const i=Object.keys(e).map(u=>[u,w(u)]);return m(()=>i.filter(([,u])=>u.value).map(([u])=>u))}return Object.assign(b,{greaterOrEqual:w,smallerOrEqual:g,greater(i){return R(()=>`(min-width: ${a(i,.1)})`,n)},smaller(i){return R(()=>`(max-width: ${a(i,-.1)})`,n)},between(i,u){return R(()=>`(min-width: ${a(i)}) and (max-width: ${a(u,-.1)})`,n)},isGreater(i){return f(`(min-width: ${a(i,.1)})`)},isGreaterOrEqual(i){return f(`(min-width: ${a(i)})`)},isSmaller(i){return f(`(max-width: ${a(i,-.1)})`)},isSmallerOrEqual(i){return f(`(max-width: ${a(i)})`)},isInBetween(i,u){return f(`(min-width: ${a(i)}) and (max-width: ${a(u,-.1)})`)},current:v,active(){const i=v();return m(()=>i.value.length===0?"":i.value.at(-1))}})}const J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},I="__vueuse_ssr_handlers__",ze=Fe();function Fe(){return I in J||(J[I]=J[I]||{}),J[I]}function Ge(e,n){return ze[e]||n}function Qe(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ze={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ae="vueuse-storage";function Xe(e,n,a,s={}){var d;const{flush:f="pre",deep:w=!0,listenToStorageChanges:g=!0,writeDefaults:b=!0,mergeDefaults:v=!1,shallow:i,window:u=A,eventFilter:h,onError:S=l=>{console.error(l)},initOnMounted:D}=s,_=(i?De:x)(typeof n=="function"?n():n);if(!a)try{a=Ge("getDefaultStorage",()=>{var l;return(l=A)==null?void 0:l.localStorage})()}catch(l){S(l)}if(!a)return _;const k=Y(n),j=Qe(k),H=(d=s.serializer)!=null?d:Ze[j],{pause:K,resume:W}=xe(_,()=>V(_.value),{flush:f,deep:w,eventFilter:h});u&&g&&He(()=>{Z(u,"storage",$),Z(u,ae,F),D&&$()}),D||$();function B(l,y){u&&u.dispatchEvent(new CustomEvent(ae,{detail:{key:e,oldValue:l,newValue:y,storageArea:a}}))}function V(l){try{const y=a.getItem(e);if(l==null)B(y,null),a.removeItem(e);else{const E=H.write(l);y!==E&&(a.setItem(e,E),B(y,E))}}catch(y){S(y)}}function z(l){const y=l?l.newValue:a.getItem(e);if(y==null)return b&&k!=null&&a.setItem(e,H.write(k)),k;if(!l&&v){const E=H.read(y);return typeof v=="function"?v(E,k):j==="object"&&!Array.isArray(E)?{...k,...E}:E}else return typeof y!="string"?y:H.read(y)}function $(l){if(!(l&&l.storageArea!==a)){if(l&&l.key==null){_.value=k;return}if(!(l&&l.key!==e)){K();try{(l==null?void 0:l.newValue)!==H.write(_.value)&&(_.value=z(l))}catch(y){S(y)}finally{l?Ye(W):W()}}}}function F(l){$(l.detail)}return _}function Q(e,n,a={}){const{window:s=A}=a;return Xe(e,n,s==null?void 0:s.localStorage,a)}const U={toFirestore(e){return{created_at:We(),...e}},fromFirestore:qe.fromFirestore},at=$e("store",()=>{const e=Be(),n=Ne(),a=Pe(),{$moment:s}=a,{t:d}=a.$i18n,f=x(s().format("YYYY-MM-DD")),w=Q("filter",x("daily")),g=Q("selectedTabIndex",x(0)),b=Q("sort",x("creation")),v=Le(m(()=>{var t;return(t=n.value)!=null&&t.uid?c(O(e,"users"),n.value.uid):null})),i=x(!1),u=m(()=>{var t;return((t=v.value)==null?void 0:t.weekly_target)||"40:00"}),h=m(()=>s(f.value).startOf("week").format("YYYY-MM-DD")),S=m(()=>s(f.value).endOf("week").format("YYYY-MM-DD")),D=P(m(()=>n.value?L(O(e,"projects"),C("user","==",c(e,"users",n.value.uid)),G("created_at")):null),{wait:!0,ssrKey:"projects"}),_=P(m(()=>n.value?L(O(e,"bookmarks"),C("user","==",c(e,"users",n.value.uid)),G("created_at")):null),{wait:!0,ssrKey:"bookmarks"}),k=P(m(()=>v.value?L(O(e,"priorities"),C("user","==",c(e,"users",n.value.uid)),G("created_at")):null),{wait:!0,ssrKey:"priorities"}),j=P(m(()=>n.value?L(O(e,"entries"),C("user","==",c(e,"users",n.value.uid)),C("date",">=",h.value),C("date","<=",S.value)):null),{wait:!0,ssrKey:"entries"}),H=m(()=>[...j.value].sort((t,r)=>{const o=s(t.date+" "+t.start_time,"YYYY-M-D HH:mm");return s(r.date+" "+r.start_time,"YYYY-M-D HH:mm").isBefore(o)?1:-1}).filter(t=>s(f.value).isSame(t.date,"day"))),K=m(()=>{const t=Object.values(B.value).reduce((r,o)=>(r=s.duration(r).add(s.duration(o)),r),s.duration());return s.duration(t).format("HH:mm",{trim:!1})}),W=m(()=>s.duration(u.value).subtract(s.duration(K.value)).format("HH:mm",{trim:!1})),B=m(()=>j.value.filter(t=>!t.is_creating).reduce((t,r)=>{const o=s(r.date).locale("en").format("dddd").toLowerCase();return t[o]=s.duration(t[o]).add(s.duration(r.duration)).format("HH:mm",{trim:!1}),t},{sunday:"00:00",monday:"00:00",tuesday:"00:00",wednesday:"00:00",thursday:"00:00",friday:"00:00",saturday:"00:00"})),V=m(()=>{const t=[...j.value].filter(r=>!r.is_creating).reduce((r,o)=>{const p=o.project;return r[p.name]?r[p.name]=s.duration(r[p.name]).add(o.duration).format("HH:mm",{trim:!1}):r[p.name]=o.duration,r},{});return Object.entries(t).sort((r,o)=>s.duration(o[1]).asMilliseconds()-s.duration(r[1]).asMilliseconds())}),z=m(()=>{const t=[...j.value].filter(r=>!r.is_creating).filter(r=>s(r.date).isSame(f.value)).reduce((r,o)=>{const p=o.project;return r[p.name]?r[p.name]=s.duration(r[p.name]).add(o.duration).format("HH:mm",{trim:!1}):r[p.name]=o.duration,r},{});return Object.entries(t).sort((r,o)=>s.duration(o[1]).asMilliseconds()-s.duration(r[1]).asMilliseconds())}),$=m(()=>{const t=D.value.map(r=>[r,te(r)]);return b.value==="name"?t.sort((r,o)=>r[0].name.localeCompare(o[0].name)):t});async function F(t){const r=await q(O(e,"priorities").withConverter(U),{name:t,completed:!1,user:c(e,"users",n.value.uid)});await M(c(e,"users",n.value.uid),{priorities:re(r)})}async function l(t){const r=t.map(o=>c(e,"priorities",o.id));await M(c(e,"users",n.value.uid),{priorities:r})}async function y(t){await M(c(e,"priorities",t.id),{completed:!t.completed,user:c(e,"users",n.value.uid)})}async function E(t,r=!1){if(r||confirm(d("Êtes vous certain de vouloir supprimer cette priorité ?"))){const o=c(e,"priorities",t.id);await M(c(e,"users",n.value.uid),{priorities:ne(o)}),await T(o)}}function ie(){const t=k.value.filter(r=>r.completed);t.length!==0?confirm(d("Êtes vous certain de vouloir supprimer les priorités complétées ?"))&&t.forEach(r=>E(r,!0)):alert(d("Aucune priorité complétée à supprimer"))}const X=m(()=>!!j.value.find(t=>t.is_live_clocking)),ee=m(()=>!!j.value.find(t=>t.is_creating)),oe=m(()=>!X.value&&!ee.value),ue=t=>{const r=s.duration(t).asHours()===0,o=s.duration(t).asHours()===s.duration(u.value).asHours()/5,p=s.duration(t).asHours()>s.duration(u.value).asHours()/5,N=s.duration(t).asHours()>=s.duration(u.value).asHours()/5-.5;return r?"text-slate-400 dark:text-slate-600":p?"text-lime-500":o?"text-green-500":N?"text-yellow-500":"text-red-500"},te=t=>j.value.filter(r=>{var o;return((o=r==null?void 0:r.project)==null?void 0:o.id)===t.id}).length;async function ce(t){var r;await q(O(e,"entries").withConverter(U),{...t,user:c(e,"users",n.value.uid),project:(r=t.project)!=null&&r.id?c(e,"projects",t.project.id):null})}async function le(t){var r;await M(c(e,"entries",t.id),{...t,user:c(e,"users",n.value.uid),project:(r=t.project)!=null&&r.id?c(e,"projects",t.project.id):null})}async function de(t,r=!1){(r||confirm(d("Êtes vous certain de vouloir supprimer cette entrée ?")))&&await T(c(e,"entries",t.id))}async function fe(t){await M(c(e,"entries",t.id),{is_synced:!t.is_synced||!0})}async function me(t){return{id:(await q(O(e,"projects").withConverter(U),{name:t.name,user:c(e,"users",n.value.uid)})).id,name:t.name}}async function pe(t){if(confirm(d("Êtes vous certain de vouloir supprimer ce projet ?"))){const r=c(e,"projects",t.id),{promise:o}=await P(L(O(e,"entries"),C("project","==",r)),{once:!0,wait:!0,ssrKey:"projectEntries"}),p=Te(e),N=await o.value;N.length>0?confirm(d("Cela entrainera la supression de l'entrée liée, êtes-vous certain de vouloir continuer ? | Cela entrainera la supression des {n} entrées liées, êtes-vous certain de vouloir continuer ?",N.length))&&(N.forEach(je=>{p.delete(c(e,"entries",je.id))}),await p.commit(),await T(r)):await T(r)}}async function we(t){const r=p=>(/^(?:f|ht)tps?:\/\//.test(p)||(p="https://"+p),p),o=await q(O(e,"bookmarks").withConverter(U),{...t,url:r(t.url),user:c(e,"users",n.value.uid)});await M(c(e,"users",n.value.uid),{bookmarks:re(o)})}async function ve(t){const r=t.map(o=>c(e,"bookmarks",o.id));await M(c(e,"users",n.value.uid),{bookmarks:r})}async function ye(t,r=!1){if(r||confirm(d("Êtes vous certain de vouloir supprimer ce raccourci ?"))){const o=c(e,"bookmarks",t.id);await M(c(e,"users",n.value.uid),{bookmarks:ne(o)}),await T(o)}}async function he(t){const r=c(e,"users",t.user.uid);(await Re(r)).exists()||await Ke(r,{weekly_target:"40:00"}),await M(r,{display_name:t.user.displayName,email:t.user.email,photo_url:t.user.photoURL})}async function ge(t){await M(c(e,"users",n.value.uid),{weekly_target:t})}function be(){D.value=[],k.value=[],_.value=[],j.value=[],v.value=null}return{user:v,menuOpened:i,selectedDay:f,filter:w,selectedTabIndex:g,sort:b,projects:D,entries:j,priorities:k,bookmarks:_,weekStart:h,weekEnd:S,todaysEntries:H,weekTotal:K,weekRemaining:W,weekSummary:B,weekSummaryColors:ue,weeklySummaryByProjects:V,dailySummaryByProjects:z,sortedProjects:$,projectEntriesTotal:te,isLiveClockingEntry:X,isCreatingEntry:ee,canCreateEntry:oe,addEntry:ce,updateEntry:le,deleteEntry:de,toggleEntrySynced:fe,addProject:me,deleteProject:pe,addPriority:F,reorderPriorities:l,updatePriority:y,deletePriority:E,deleteCompletedPriorities:ie,addBookmark:we,reorderBookmarks:ve,deleteBookmark:ye,createUserInfo:he,updateWeekTarget:ge,$reset:be}});export{nt as a,rt as b,tt as o,at as u}; +import{j as m,c7 as Se,c8 as ke,bJ as Ee,c9 as Me,ca as Y,cb as se,r as x,bK as _e,cc as Oe,bh as De,cd as xe,ce as He,o as Ce,aM as Ye,aq as Ae,c5 as $e,cf as Be,cg as Ne,a as Pe,ch as Le,ci as c,cj as O,ck as P,cl as L,cm as G,cn as C,co as q,cp as M,cq as re,cr as ne,cs as T,ct as Te,cu as Re,cv as Ke,cw as We,cx as qe}from"./ewmvwxW7.js";function Je(e){var n;const a=Y(e);return(n=a==null?void 0:a.$el)!=null?n:a}const A=Se?window:void 0;function Z(...e){let n,a,s,d;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,s,d]=e,n=A):[n,a,s,d]=e,!n)return ke;Array.isArray(a)||(a=[a]),Array.isArray(s)||(s=[s]);const f=[],w=()=>{f.forEach(i=>i()),f.length=0},g=(i,u,h,S)=>(i.addEventListener(u,h,S),()=>i.removeEventListener(u,h,S)),b=Ee(()=>[Je(n),Y(d)],([i,u])=>{if(w(),!i)return;const h=Me(u)?{...u}:u;f.push(...a.flatMap(S=>s.map(D=>g(i,S,D,h))))},{immediate:!0,flush:"post"}),v=()=>{b(),w()};return se(v),v}function Ie(e){return typeof e=="function"?e:typeof e=="string"?n=>n.key===e:Array.isArray(e)?n=>e.includes(n.key):()=>!0}function tt(...e){let n,a,s={};e.length===3?(n=e[0],a=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(n=!0,a=e[0],s=e[1]):(n=e[0],a=e[1]):(n=!0,a=e[0]);const{target:d=A,eventName:f="keydown",passive:w=!1,dedupe:g=!1}=s,b=Ie(n);return Z(d,f,i=>{i.repeat&&Y(g)||b(i)&&a(i)},w)}function Ue(){const e=x(!1),n=Ae();return n&&Ce(()=>{e.value=!0},n),e}function Ve(e){const n=Ue();return m(()=>(n.value,!!e()))}function R(e,n={}){const{window:a=A}=n,s=Ve(()=>a&&"matchMedia"in a&&typeof a.matchMedia=="function");let d;const f=x(!1),w=v=>{f.value=v.matches},g=()=>{d&&("removeEventListener"in d?d.removeEventListener("change",w):d.removeListener(w))},b=_e(()=>{s.value&&(g(),d=a.matchMedia(Y(e)),"addEventListener"in d?d.addEventListener("change",w):d.addListener(w),f.value=d.matches)});return se(()=>{b(),g(),d=void 0}),f}const rt={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function nt(e,n={}){function a(i,u){let h=Y(e[Y(i)]);return u!=null&&(h=Oe(h,u)),typeof h=="number"&&(h=`${h}px`),h}const{window:s=A,strategy:d="min-width"}=n;function f(i){return s?s.matchMedia(i).matches:!1}const w=i=>R(()=>`(min-width: ${a(i)})`,n),g=i=>R(()=>`(max-width: ${a(i)})`,n),b=Object.keys(e).reduce((i,u)=>(Object.defineProperty(i,u,{get:()=>d==="min-width"?w(u):g(u),enumerable:!0,configurable:!0}),i),{});function v(){const i=Object.keys(e).map(u=>[u,w(u)]);return m(()=>i.filter(([,u])=>u.value).map(([u])=>u))}return Object.assign(b,{greaterOrEqual:w,smallerOrEqual:g,greater(i){return R(()=>`(min-width: ${a(i,.1)})`,n)},smaller(i){return R(()=>`(max-width: ${a(i,-.1)})`,n)},between(i,u){return R(()=>`(min-width: ${a(i)}) and (max-width: ${a(u,-.1)})`,n)},isGreater(i){return f(`(min-width: ${a(i,.1)})`)},isGreaterOrEqual(i){return f(`(min-width: ${a(i)})`)},isSmaller(i){return f(`(max-width: ${a(i,-.1)})`)},isSmallerOrEqual(i){return f(`(max-width: ${a(i)})`)},isInBetween(i,u){return f(`(min-width: ${a(i)}) and (max-width: ${a(u,-.1)})`)},current:v,active(){const i=v();return m(()=>i.value.length===0?"":i.value.at(-1))}})}const J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},I="__vueuse_ssr_handlers__",ze=Fe();function Fe(){return I in J||(J[I]=J[I]||{}),J[I]}function Ge(e,n){return ze[e]||n}function Qe(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ze={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ae="vueuse-storage";function Xe(e,n,a,s={}){var d;const{flush:f="pre",deep:w=!0,listenToStorageChanges:g=!0,writeDefaults:b=!0,mergeDefaults:v=!1,shallow:i,window:u=A,eventFilter:h,onError:S=l=>{console.error(l)},initOnMounted:D}=s,_=(i?De:x)(typeof n=="function"?n():n);if(!a)try{a=Ge("getDefaultStorage",()=>{var l;return(l=A)==null?void 0:l.localStorage})()}catch(l){S(l)}if(!a)return _;const k=Y(n),j=Qe(k),H=(d=s.serializer)!=null?d:Ze[j],{pause:K,resume:W}=xe(_,()=>V(_.value),{flush:f,deep:w,eventFilter:h});u&&g&&He(()=>{Z(u,"storage",$),Z(u,ae,F),D&&$()}),D||$();function B(l,y){u&&u.dispatchEvent(new CustomEvent(ae,{detail:{key:e,oldValue:l,newValue:y,storageArea:a}}))}function V(l){try{const y=a.getItem(e);if(l==null)B(y,null),a.removeItem(e);else{const E=H.write(l);y!==E&&(a.setItem(e,E),B(y,E))}}catch(y){S(y)}}function z(l){const y=l?l.newValue:a.getItem(e);if(y==null)return b&&k!=null&&a.setItem(e,H.write(k)),k;if(!l&&v){const E=H.read(y);return typeof v=="function"?v(E,k):j==="object"&&!Array.isArray(E)?{...k,...E}:E}else return typeof y!="string"?y:H.read(y)}function $(l){if(!(l&&l.storageArea!==a)){if(l&&l.key==null){_.value=k;return}if(!(l&&l.key!==e)){K();try{(l==null?void 0:l.newValue)!==H.write(_.value)&&(_.value=z(l))}catch(y){S(y)}finally{l?Ye(W):W()}}}}function F(l){$(l.detail)}return _}function Q(e,n,a={}){const{window:s=A}=a;return Xe(e,n,s==null?void 0:s.localStorage,a)}const U={toFirestore(e){return{created_at:We(),...e}},fromFirestore:qe.fromFirestore},at=$e("store",()=>{const e=Be(),n=Ne(),a=Pe(),{$moment:s}=a,{t:d}=a.$i18n,f=x(s().format("YYYY-MM-DD")),w=Q("filter",x("daily")),g=Q("selectedTabIndex",x(0)),b=Q("sort",x("creation")),v=Le(m(()=>{var t;return(t=n.value)!=null&&t.uid?c(O(e,"users"),n.value.uid):null})),i=x(!1),u=m(()=>{var t;return((t=v.value)==null?void 0:t.weekly_target)||"40:00"}),h=m(()=>s(f.value).startOf("week").format("YYYY-MM-DD")),S=m(()=>s(f.value).endOf("week").format("YYYY-MM-DD")),D=P(m(()=>n.value?L(O(e,"projects"),C("user","==",c(e,"users",n.value.uid)),G("created_at")):null),{wait:!0,ssrKey:"projects"}),_=P(m(()=>n.value?L(O(e,"bookmarks"),C("user","==",c(e,"users",n.value.uid)),G("created_at")):null),{wait:!0,ssrKey:"bookmarks"}),k=P(m(()=>v.value?L(O(e,"priorities"),C("user","==",c(e,"users",n.value.uid)),G("created_at")):null),{wait:!0,ssrKey:"priorities"}),j=P(m(()=>n.value?L(O(e,"entries"),C("user","==",c(e,"users",n.value.uid)),C("date",">=",h.value),C("date","<=",S.value)):null),{wait:!0,ssrKey:"entries"}),H=m(()=>[...j.value].sort((t,r)=>{const o=s(t.date+" "+t.start_time,"YYYY-M-D HH:mm");return s(r.date+" "+r.start_time,"YYYY-M-D HH:mm").isBefore(o)?1:-1}).filter(t=>s(f.value).isSame(t.date,"day"))),K=m(()=>{const t=Object.values(B.value).reduce((r,o)=>(r=s.duration(r).add(s.duration(o)),r),s.duration());return s.duration(t).format("HH:mm",{trim:!1})}),W=m(()=>s.duration(u.value).subtract(s.duration(K.value)).format("HH:mm",{trim:!1})),B=m(()=>j.value.filter(t=>!t.is_creating).reduce((t,r)=>{const o=s(r.date).locale("en").format("dddd").toLowerCase();return t[o]=s.duration(t[o]).add(s.duration(r.duration)).format("HH:mm",{trim:!1}),t},{sunday:"00:00",monday:"00:00",tuesday:"00:00",wednesday:"00:00",thursday:"00:00",friday:"00:00",saturday:"00:00"})),V=m(()=>{const t=[...j.value].filter(r=>!r.is_creating).reduce((r,o)=>{const p=o.project;return r[p.name]?r[p.name]=s.duration(r[p.name]).add(o.duration).format("HH:mm",{trim:!1}):r[p.name]=o.duration,r},{});return Object.entries(t).sort((r,o)=>s.duration(o[1]).asMilliseconds()-s.duration(r[1]).asMilliseconds())}),z=m(()=>{const t=[...j.value].filter(r=>!r.is_creating).filter(r=>s(r.date).isSame(f.value)).reduce((r,o)=>{const p=o.project;return r[p.name]?r[p.name]=s.duration(r[p.name]).add(o.duration).format("HH:mm",{trim:!1}):r[p.name]=o.duration,r},{});return Object.entries(t).sort((r,o)=>s.duration(o[1]).asMilliseconds()-s.duration(r[1]).asMilliseconds())}),$=m(()=>{const t=D.value.map(r=>[r,te(r)]);return b.value==="name"?t.sort((r,o)=>r[0].name.localeCompare(o[0].name)):t});async function F(t){const r=await q(O(e,"priorities").withConverter(U),{name:t,completed:!1,user:c(e,"users",n.value.uid)});await M(c(e,"users",n.value.uid),{priorities:re(r)})}async function l(t){const r=t.map(o=>c(e,"priorities",o.id));await M(c(e,"users",n.value.uid),{priorities:r})}async function y(t){await M(c(e,"priorities",t.id),{completed:!t.completed,user:c(e,"users",n.value.uid)})}async function E(t,r=!1){if(r||confirm(d("Êtes vous certain de vouloir supprimer cette priorité ?"))){const o=c(e,"priorities",t.id);await M(c(e,"users",n.value.uid),{priorities:ne(o)}),await T(o)}}function ie(){const t=k.value.filter(r=>r.completed);t.length!==0?confirm(d("Êtes vous certain de vouloir supprimer les priorités complétées ?"))&&t.forEach(r=>E(r,!0)):alert(d("Aucune priorité complétée à supprimer"))}const X=m(()=>!!j.value.find(t=>t.is_live_clocking)),ee=m(()=>!!j.value.find(t=>t.is_creating)),oe=m(()=>!X.value&&!ee.value),ue=t=>{const r=s.duration(t).asHours()===0,o=s.duration(t).asHours()===s.duration(u.value).asHours()/5,p=s.duration(t).asHours()>s.duration(u.value).asHours()/5,N=s.duration(t).asHours()>=s.duration(u.value).asHours()/5-.5;return r?"text-slate-400 dark:text-slate-600":p?"text-lime-500":o?"text-green-500":N?"text-yellow-500":"text-red-500"},te=t=>j.value.filter(r=>{var o;return((o=r==null?void 0:r.project)==null?void 0:o.id)===t.id}).length;async function ce(t){var r;await q(O(e,"entries").withConverter(U),{...t,user:c(e,"users",n.value.uid),project:(r=t.project)!=null&&r.id?c(e,"projects",t.project.id):null})}async function le(t){var r;await M(c(e,"entries",t.id),{...t,user:c(e,"users",n.value.uid),project:(r=t.project)!=null&&r.id?c(e,"projects",t.project.id):null})}async function de(t,r=!1){(r||confirm(d("Êtes vous certain de vouloir supprimer cette entrée ?")))&&await T(c(e,"entries",t.id))}async function fe(t){await M(c(e,"entries",t.id),{is_synced:!t.is_synced||!0})}async function me(t){return{id:(await q(O(e,"projects").withConverter(U),{name:t.name,user:c(e,"users",n.value.uid)})).id,name:t.name}}async function pe(t){if(confirm(d("Êtes vous certain de vouloir supprimer ce projet ?"))){const r=c(e,"projects",t.id),{promise:o}=await P(L(O(e,"entries"),C("project","==",r)),{once:!0,wait:!0,ssrKey:"projectEntries"}),p=Te(e),N=await o.value;N.length>0?confirm(d("Cela entrainera la supression de l'entrée liée, êtes-vous certain de vouloir continuer ? | Cela entrainera la supression des {n} entrées liées, êtes-vous certain de vouloir continuer ?",N.length))&&(N.forEach(je=>{p.delete(c(e,"entries",je.id))}),await p.commit(),await T(r)):await T(r)}}async function we(t){const r=p=>(/^(?:f|ht)tps?:\/\//.test(p)||(p="https://"+p),p),o=await q(O(e,"bookmarks").withConverter(U),{...t,url:r(t.url),user:c(e,"users",n.value.uid)});await M(c(e,"users",n.value.uid),{bookmarks:re(o)})}async function ve(t){const r=t.map(o=>c(e,"bookmarks",o.id));await M(c(e,"users",n.value.uid),{bookmarks:r})}async function ye(t,r=!1){if(r||confirm(d("Êtes vous certain de vouloir supprimer ce raccourci ?"))){const o=c(e,"bookmarks",t.id);await M(c(e,"users",n.value.uid),{bookmarks:ne(o)}),await T(o)}}async function he(t){const r=c(e,"users",t.user.uid);(await Re(r)).exists()||await Ke(r,{weekly_target:"40:00"}),await M(r,{display_name:t.user.displayName,email:t.user.email,photo_url:t.user.photoURL})}async function ge(t){await M(c(e,"users",n.value.uid),{weekly_target:t})}function be(){D.value=[],k.value=[],_.value=[],j.value=[],v.value=null}return{user:v,menuOpened:i,selectedDay:f,filter:w,selectedTabIndex:g,sort:b,projects:D,entries:j,priorities:k,bookmarks:_,weekStart:h,weekEnd:S,todaysEntries:H,weekTotal:K,weekRemaining:W,weekSummary:B,weekSummaryColors:ue,weeklySummaryByProjects:V,dailySummaryByProjects:z,sortedProjects:$,projectEntriesTotal:te,isLiveClockingEntry:X,isCreatingEntry:ee,canCreateEntry:oe,addEntry:ce,updateEntry:le,deleteEntry:de,toggleEntrySynced:fe,addProject:me,deleteProject:pe,addPriority:F,reorderPriorities:l,updatePriority:y,deletePriority:E,deleteCompletedPriorities:ie,addBookmark:we,reorderBookmarks:ve,deleteBookmark:ye,createUserInfo:he,updateWeekTarget:ge,$reset:be}});export{nt as a,rt as b,tt as o,at as u}; diff --git a/_nuxt/builds/latest.json b/_nuxt/builds/latest.json index 5f93aef..6907274 100644 --- a/_nuxt/builds/latest.json +++ b/_nuxt/builds/latest.json @@ -1 +1 @@ -{"id":"d2969886-3eb0-459d-9ac5-7998b7d85635","timestamp":1722473898032} \ No newline at end of file +{"id":"27bc5d79-f189-4de8-b5f6-7a771522c97a","timestamp":1722474182529} \ No newline at end of file diff --git a/_nuxt/builds/meta/27bc5d79-f189-4de8-b5f6-7a771522c97a.json b/_nuxt/builds/meta/27bc5d79-f189-4de8-b5f6-7a771522c97a.json new file mode 100644 index 0000000..2de88e1 --- /dev/null +++ b/_nuxt/builds/meta/27bc5d79-f189-4de8-b5f6-7a771522c97a.json @@ -0,0 +1 @@ +{"id":"27bc5d79-f189-4de8-b5f6-7a771522c97a","timestamp":1722474182529,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} \ No newline at end of file diff --git a/_nuxt/builds/meta/d2969886-3eb0-459d-9ac5-7998b7d85635.json b/_nuxt/builds/meta/d2969886-3eb0-459d-9ac5-7998b7d85635.json deleted file mode 100644 index 85d6213..0000000 --- a/_nuxt/builds/meta/d2969886-3eb0-459d-9ac5-7998b7d85635.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"d2969886-3eb0-459d-9ac5-7998b7d85635","timestamp":1722473898032,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} \ No newline at end of file diff --git a/_nuxt/S9EjZaWQ.js b/_nuxt/ewmvwxW7.js similarity index 99% rename from _nuxt/S9EjZaWQ.js rename to _nuxt/ewmvwxW7.js index 7ef7b20..9db75a2 100644 --- a/_nuxt/S9EjZaWQ.js +++ b/_nuxt/ewmvwxW7.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CYpUVu9e.js","./B3EG_2Du.js","./DPmltWRH.js","./index.gRQUj9S_.css","./CofIfSQX.js","./fDKSXIzk.js","./MgATE4xf.js","./BNHPXFWj.js","./D6msgEZY.js","./Logo.BouF5mRA.css","./D8Dzc6nF.js","./Dx0QtxMm.js","./error-404.CjTTbIxB.css","./FTbH54h0.js","./error-500.B4KzowuE.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./rH6pHM5P.js","./DnyUcCWV.js","./DXKa0e7G.js","./index.gRQUj9S_.css","./Dh_qWEXu.js","./C7OjwfWT.js","./zw4H8_Zt.js","./Cdv6vk6s.js","./CeaNXkwu.js","./Logo.BouF5mRA.css","./DOkcDheY.js","./BhaLqpCj.js","./error-404.CjTTbIxB.css","./Czusa6IX.js","./error-500.B4KzowuE.css"])))=>i.map(i=>d[i]); /** * @vue/shared v3.4.34 * (c) 2018-present Yuxi (Evan) You and Vue contributors @@ -2061,7 +2061,7 @@ This typically indicates that your device does not have a healthy Internet conne * vue-router v4.4.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const Wi=typeof document<"u";function UB(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const ut=Object.assign;function gm(t,e){const n={};for(const r in e){const i=e[r];n[r]=cr(i)?i.map(t):t(i)}return n}const kc=()=>{},cr=Array.isArray,JA=/#/g,jB=/&/g,BB=/\//g,$B=/=/g,HB=/\?/g,ZA=/\+/g,WB=/%5B/g,GB=/%5D/g,eR=/%5E/g,qB=/%60/g,tR=/%7B/g,YB=/%7C/g,nR=/%7D/g,KB=/%20/g;function rv(t){return encodeURI(""+t).replace(YB,"|").replace(WB,"[").replace(GB,"]")}function zB(t){return rv(t).replace(tR,"{").replace(nR,"}").replace(eR,"^")}function Kg(t){return rv(t).replace(ZA,"%2B").replace(KB,"+").replace(JA,"%23").replace(jB,"%26").replace(qB,"`").replace(tR,"{").replace(nR,"}").replace(eR,"^")}function QB(t){return Kg(t).replace($B,"%3D")}function XB(t){return rv(t).replace(JA,"%23").replace(HB,"%3F")}function JB(t){return t==null?"":XB(t).replace(BB,"%2F")}function pl(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const ZB=/\/$/,e$=t=>t.replace(ZB,"");function _m(t,e,n="/"){let r,i={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(r=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),i=t(s)),a>-1&&(r=r||e.slice(0,a),o=e.slice(a,e.length)),r=i$(r??e,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:pl(o)}}function t$(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function pb(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function n$(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&so(e.matched[r],n.matched[i])&&rR(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function so(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function rR(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!r$(t[n],e[n]))return!1;return!0}function r$(t,e){return cr(t)?mb(t,e):cr(e)?mb(e,t):t===e}function mb(t,e){return cr(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function i$(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let s=n.length-1,o,a;for(o=0;o1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}const Nr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ou;(function(t){t.pop="pop",t.push="push"})(ou||(ou={}));var Cc;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Cc||(Cc={}));function s$(t){if(!t)if(Wi){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),e$(t)}const o$=/^[^#]+#/;function a$(t,e){return t.replace(o$,"#")+e}function l$(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const hp=()=>({left:window.scrollX,top:window.scrollY});function c$(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=l$(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function gb(t,e){return(history.state?history.state.position-e:-1)+t}const zg=new Map;function u$(t,e){zg.set(t,e)}function f$(t){const e=zg.get(t);return zg.delete(t),e}let h$=()=>location.protocol+"//"+location.host;function iR(t,e){const{pathname:n,search:r,hash:i}=e,s=t.indexOf("#");if(s>-1){let a=i.includes(t.slice(s))?t.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),pb(l,"")}return pb(n,t)+r+i}function d$(t,e,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const w=iR(t,location),R=n.value,C=e.value;let P=0;if(d){if(n.value=w,e.value=d,o&&o===R){o=null;return}P=C?d.position-C.position:0}else r(w);i.forEach(N=>{N(n.value,R,{delta:P,type:ou.pop,direction:P?P>0?Cc.forward:Cc.back:Cc.unknown})})};function l(){o=n.value}function c(d){i.push(d);const w=()=>{const R=i.indexOf(d);R>-1&&i.splice(R,1)};return s.push(w),w}function u(){const{history:d}=window;d.state&&d.replaceState(ut({},d.state,{scroll:hp()}),"")}function h(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:h}}function _b(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?hp():null}}function p$(t){const{history:e,location:n}=window,r={value:iR(t,n)},i={value:e.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const h=t.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:h$()+t+l;try{e[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(w){console.error(w),n[u?"replace":"assign"](d)}}function o(l,c){const u=ut({},e.state,_b(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=ut({},i.value,e.state,{forward:l,scroll:hp()});s(u.current,u,!0);const h=ut({},_b(r.value,l,null),{position:u.position+1},c);s(l,h,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function sR(t){t=s$(t);const e=p$(t),n=d$(t,e.state,e.location,e.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=ut({location:"",base:t,go:r,createHref:a$.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function m$(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),sR(t)}function oR(t){return typeof t=="string"||t&&typeof t=="object"}function aR(t){return typeof t=="string"||typeof t=="symbol"}const lR=Symbol("");var yb;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(yb||(yb={}));function ml(t,e){return ut(new Error,{type:t,[lR]:!0},e)}function Di(t,e){return t instanceof Error&&lR in t&&(e==null||!!(t.type&e))}const vb="[^/]+?",g$={sensitive:!1,strict:!1,start:!0,end:!0},_$=/[.+*?^${}()[\]/\\]/g;function y$(t,e){const n=ut({},g$,e),r=[];let i=n.start?"^":"";const s=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let h=0;he.length?e.length===1&&e[0]===80?1:-1:0}function cR(t,e){let n=0;const r=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const w$={type:0,value:""},E$=/[a-zA-Z0-9_]/;function b$(t){if(!t)return[[]];if(t==="/")return[[w$]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(w){throw new Error(`ERR (${n})/"${c}": ${w}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function h(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{o(E)}:kc}function o(h){if(aR(h)){const d=r.get(h);d&&(r.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&r.delete(h.record.name),h.children.forEach(o),h.alias.forEach(o))}}function a(){return n}function l(h){const d=A$(h,n);n.splice(d,0,h),h.record.name&&!bb(h)&&r.set(h.record.name,h)}function c(h,d){let w,R={},C,P;if("name"in h&&h.name){if(w=r.get(h.name),!w)throw ml(1,{location:h});P=w.record.name,R=ut(Eb(d.params,w.keys.filter(E=>!E.optional).concat(w.parent?w.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),h.params&&Eb(h.params,w.keys.map(E=>E.name))),C=w.stringify(R)}else if(h.path!=null)C=h.path,w=n.find(E=>E.re.test(C)),w&&(R=w.parse(C),P=w.record.name);else{if(w=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!w)throw ml(1,{location:h,currentLocation:d});P=w.record.name,R=ut({},d.params,h.params),C=w.stringify(R)}const N=[];let A=w;for(;A;)N.unshift(A.record),A=A.parent;return{name:P,path:C,params:R,matched:N,meta:C$(N)}}t.forEach(h=>s(h));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:i}}function Eb(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function I$(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:k$(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function k$(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="object"?n[r]:n;return e}function bb(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function C$(t){return t.reduce((e,n)=>ut(e,n.meta),{})}function Tb(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function A$(t,e){let n=0,r=e.length;for(;n!==r;){const s=n+r>>1;cR(t,e[s])<0?r=s:n=s+1}const i=R$(t);return i&&(r=e.lastIndexOf(i,r-1)),r}function R$(t){let e=t;for(;e=e.parent;)if(uR(e)&&cR(t,e)===0)return e}function uR({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function P$(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;is&&Kg(s)):[r&&Kg(r)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+n,s!=null&&(e+="="+s))})}return e}function O$(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=cr(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return e}const N$=Symbol(""),Ib=Symbol(""),iv=Symbol(""),sv=Symbol(""),Qg=Symbol("");function ec(){let t=[];function e(r){return t.push(r),()=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function Ns(t,e,n,r,i,s=o=>o()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(ml(4,{from:n,to:e})):d instanceof Error?l(d):oR(d)?l(ml(2,{from:e,to:d})):(o&&r.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),a())},u=s(()=>t.call(r&&r.instances[i],e,n,c));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch(d=>l(d))})}function ym(t,e,n,r,i=s=>s()){const s=[];for(const o of t)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(D$(l)){const u=(l.__vccOpts||l)[e];u&&s.push(Ns(u,n,r,o,a,i))}else{let c=l();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const h=UB(u)?u.default:u;o.components[a]=h;const w=(h.__vccOpts||h)[e];return w&&Ns(w,n,r,o,a,i)()}))}}return s}function D$(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function kb(t){const e=Ht(iv),n=Ht(sv),r=yt(()=>{const l=_t(t.to);return e.resolve(l)}),i=yt(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(so.bind(null,u));if(d>-1)return d;const w=Cb(l[c-2]);return c>1&&Cb(u)===w&&h[h.length-1].path!==w?h.findIndex(so.bind(null,l[c-2])):d}),s=yt(()=>i.value>-1&&V$(n.params,r.value.params)),o=yt(()=>i.value>-1&&i.value===n.matched.length-1&&rR(n.params,r.value.params));function a(l={}){return x$(l)?e[_t(t.replace)?"replace":"push"](_t(t.to)).catch(kc):Promise.resolve()}if(Wi){const l=Vn();if(l){const c={route:r.value,isActive:s.value,isExactActive:o.value,error:null};l.__vrl_devtools=l.__vrl_devtools||[],l.__vrl_devtools.push(c),ZI(()=>{c.route=r.value,c.isActive=s.value,c.isExactActive=o.value,c.error=oR(_t(t.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:yt(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}const L$=fr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:kb,setup(t,{slots:e}){const n=ps(kb(t)),{options:r}=Ht(iv),i=yt(()=>({[Ab(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ab(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=e.default&&e.default(n);return t.custom?s:Nn("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),M$=L$;function x$(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function V$(t,e){for(const n in e){const r=e[n],i=t[n];if(typeof r=="string"){if(r!==i)return!1}else if(!cr(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function Cb(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Ab=(t,e,n)=>t??e??n,F$=fr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=Ht(Qg),i=yt(()=>t.route||r.value),s=Ht(Ib,0),o=yt(()=>{let c=_t(s);const{matched:u}=i.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),a=yt(()=>i.value.matched[o.value]);Gs(Ib,yt(()=>o.value+1)),Gs(N$,a),Gs(Qg,i);const l=ht();return Vt(()=>[l.value,a.value,t.name],([c,u,h],[d,w,R])=>{u&&(u.instances[h]=c,w&&w!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=w.leaveGuards),u.updateGuards.size||(u.updateGuards=w.updateGuards))),c&&u&&(!w||!so(u,w)||!d)&&(u.enterCallbacks[h]||[]).forEach(C=>C(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,h=a.value,d=h&&h.components[u];if(!d)return Rb(n.default,{Component:d,route:c});const w=h.props[u],R=w?w===!0?c.params:typeof w=="function"?w(c):w:null,P=Nn(d,ut({},R,e,{onVnodeUnmounted:N=>{N.component.isUnmounted&&(h.instances[u]=null)},ref:l}));if(Wi&&P.ref){const N={depth:o.value,name:h.name,path:h.path,meta:h.meta};(cr(P.ref)?P.ref.map(E=>E.i):[P.ref.i]).forEach(E=>{E.__vrv_devtools=N})}return Rb(n.default,{Component:P,route:c})||P}}});function Rb(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const fR=F$;function tc(t,e){const n=ut({},t,{matched:t.matched.map(r=>z$(r,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:t.fullPath,tooltip:e,value:n}}}function Rf(t){return{_custom:{display:t}}}let U$=0;function j$(t,e,n){if(e.__hasDevtools)return;e.__hasDevtools=!0;const r=U$++;fp({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:t},i=>{typeof i.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),i.on.inspectComponent((u,h)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:tc(e.currentRoute.value,"Current Route")})}),i.on.visitComponentTree(({treeNode:u,componentInstance:h})=>{if(h.__vrv_devtools){const d=h.__vrv_devtools;u.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:hR})}cr(h.__vrl_devtools)&&(h.__devtoolsApi=i,h.__vrl_devtools.forEach(d=>{let w=d.route.path,R=mR,C="",P=0;d.error?(w=d.error,R=G$,P=q$):d.isExactActive?(R=pR,C="This is exactly active"):d.isActive&&(R=dR,C="This link is active"),u.tags.push({label:w,textColor:P,tooltip:C,backgroundColor:R})}))}),Vt(e.currentRoute,()=>{l(),i.notifyComponentUpdate(),i.sendInspectorTree(a),i.sendInspectorState(a)});const s="router:navigations:"+r;i.addTimelineLayer({id:s,label:`Router${r?" "+r:""} Navigations`,color:4237508}),e.onError((u,h)=>{i.addTimelineEvent({layerId:s,event:{title:"Error during Navigation",subtitle:h.fullPath,logType:"error",time:i.now(),data:{error:u},groupId:h.meta.__navigationId}})});let o=0;e.beforeEach((u,h)=>{const d={guard:Rf("beforeEach"),from:tc(h,"Current Location during this navigation"),to:tc(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:o++}),i.addTimelineEvent({layerId:s,event:{time:i.now(),title:"Start of navigation",subtitle:u.fullPath,data:d,groupId:u.meta.__navigationId}})}),e.afterEach((u,h,d)=>{const w={guard:Rf("afterEach")};d?(w.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},w.status=Rf("❌")):w.status=Rf("✅"),w.from=tc(h,"Current Location during this navigation"),w.to=tc(u,"Target location"),i.addTimelineEvent({layerId:s,event:{title:"End of navigation",subtitle:u.fullPath,time:i.now(),data:w,logType:d?"warning":"default",groupId:u.meta.__navigationId}})});const a="router-inspector:"+r;i.addInspector({id:a,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const u=c;let h=n.getRoutes().filter(d=>!d.parent||!d.parent.record.components);h.forEach(yR),u.filter&&(h=h.filter(d=>Xg(d,u.filter.toLowerCase()))),h.forEach(d=>_R(d,e.currentRoute.value)),u.rootNodes=h.map(gR)}let c;i.on.getInspectorTree(u=>{c=u,u.app===t&&u.inspectorId===a&&l()}),i.on.getInspectorState(u=>{if(u.app===t&&u.inspectorId===a){const d=n.getRoutes().find(w=>w.record.__vd_id===u.nodeId);d&&(u.state={options:$$(d)})}}),i.sendInspectorTree(a),i.sendInspectorState(a)})}function B$(t){return t.optional?t.repeatable?"*":"?":t.repeatable?"+":""}function $$(t){const{record:e}=t,n=[{editable:!1,key:"path",value:e.path}];return e.name!=null&&n.push({editable:!1,key:"name",value:e.name}),n.push({editable:!1,key:"regexp",value:t.re}),t.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:t.keys.map(r=>`${r.name}${B$(r)}`).join(" "),tooltip:"Param keys",value:t.keys}}}),e.redirect!=null&&n.push({editable:!1,key:"redirect",value:e.redirect}),t.alias.length&&n.push({editable:!1,key:"aliases",value:t.alias.map(r=>r.record.path)}),Object.keys(t.record.meta).length&&n.push({editable:!1,key:"meta",value:t.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:t.score.map(r=>r.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:t.score}}}),n}const hR=15485081,dR=2450411,pR=8702998,H$=2282478,mR=16486972,W$=6710886,G$=16704226,q$=12131356;function gR(t){const e=[],{record:n}=t;n.name!=null&&e.push({label:String(n.name),textColor:0,backgroundColor:H$}),n.aliasOf&&e.push({label:"alias",textColor:0,backgroundColor:mR}),t.__vd_match&&e.push({label:"matches",textColor:0,backgroundColor:hR}),t.__vd_exactActive&&e.push({label:"exact",textColor:0,backgroundColor:pR}),t.__vd_active&&e.push({label:"active",textColor:0,backgroundColor:dR}),n.redirect&&e.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:W$});let r=n.__vd_id;return r==null&&(r=String(Y$++),n.__vd_id=r),{id:r,label:n.path,tags:e,children:t.children.map(gR)}}let Y$=0;const K$=/^\/(.*)\/([a-z]*)$/;function _R(t,e){const n=e.matched.length&&so(e.matched[e.matched.length-1],t.record);t.__vd_exactActive=t.__vd_active=n,n||(t.__vd_active=e.matched.some(r=>so(r,t.record))),t.children.forEach(r=>_R(r,e))}function yR(t){t.__vd_match=!1,t.children.forEach(yR)}function Xg(t,e){const n=String(t.re).match(K$);if(t.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(e))return t.children.forEach(o=>Xg(o,e)),t.record.path!=="/"||e==="/"?(t.__vd_match=t.re.test(e),!0):!1;const i=t.record.path.toLowerCase(),s=pl(i);return!e.startsWith("/")&&(s.includes(e)||i.includes(e))||s.startsWith(e)||i.startsWith(e)||t.record.name&&String(t.record.name).includes(e)?!0:t.children.some(o=>Xg(o,e))}function z$(t,e){const n={};for(const r in t)e.includes(r)||(n[r]=t[r]);return n}function Q$(t){const e=S$(t.routes,t),n=t.parseQuery||P$,r=t.stringifyQuery||Sb,i=t.history,s=ec(),o=ec(),a=ec(),l=Wo(Nr);let c=Nr;Wi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=gm.bind(null,U=>""+U),h=gm.bind(null,JB),d=gm.bind(null,pl);function w(U,L){let $,re;return aR(U)?($=e.getRecordMatcher(U),re=L):re=U,e.addRoute(re,$)}function R(U){const L=e.getRecordMatcher(U);L&&e.removeRoute(L)}function C(){return e.getRoutes().map(U=>U.record)}function P(U){return!!e.getRecordMatcher(U)}function N(U,L){if(L=ut({},L||l.value),typeof U=="string"){const F=_m(n,U,L.path),J=e.resolve({path:F.path},L),ae=i.createHref(F.fullPath);return ut(F,J,{params:d(J.params),hash:pl(F.hash),redirectedFrom:void 0,href:ae})}let $;if(U.path!=null)$=ut({},U,{path:_m(n,U.path,L.path).path});else{const F=ut({},U.params);for(const J in F)F[J]==null&&delete F[J];$=ut({},U,{params:h(F)}),L.params=h(L.params)}const re=e.resolve($,L),ie=U.hash||"";re.params=u(d(re.params));const oe=t$(r,ut({},U,{hash:zB(ie),path:re.path})),x=i.createHref(oe);return ut({fullPath:oe,hash:ie,query:r===Sb?O$(U.query):U.query||{}},re,{redirectedFrom:void 0,href:x})}function A(U){return typeof U=="string"?_m(n,U,l.value.path):ut({},U)}function E(U,L){if(c!==U)return ml(8,{from:L,to:U})}function p(U){return y(U)}function T(U){return p(ut(A(U),{replace:!0}))}function v(U){const L=U.matched[U.matched.length-1];if(L&&L.redirect){const{redirect:$}=L;let re=typeof $=="function"?$(U):$;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=A(re):{path:re},re.params={}),ut({query:U.query,hash:U.hash,params:re.path!=null?{}:U.params},re)}}function y(U,L){const $=c=N(U),re=l.value,ie=U.state,oe=U.force,x=U.replace===!0,F=v($);if(F)return y(ut(A(F),{state:typeof F=="object"?ut({},ie,F.state):ie,force:oe,replace:x}),L||$);const J=$;J.redirectedFrom=L;let ae;return!oe&&n$(r,re,$)&&(ae=ml(16,{to:J,from:re}),W(re,re,!0,!1)),(ae?Promise.resolve(ae):_(J,re)).catch(le=>Di(le)?Di(le,2)?le:V(le):Y(le,J,re)).then(le=>{if(le){if(Di(le,2))return y(ut({replace:x},A(le.to),{state:typeof le.to=="object"?ut({},ie,le.to.state):ie,force:oe}),L||J)}else le=S(J,re,!0,x,ie);return b(J,re,le),le})}function g(U,L){const $=E(U,L);return $?Promise.reject($):Promise.resolve()}function m(U){const L=ue.values().next().value;return L&&typeof L.runWithContext=="function"?L.runWithContext(U):U()}function _(U,L){let $;const[re,ie,oe]=X$(U,L);$=ym(re.reverse(),"beforeRouteLeave",U,L);for(const F of re)F.leaveGuards.forEach(J=>{$.push(Ns(J,U,L))});const x=g.bind(null,U,L);return $.push(x),me($).then(()=>{$=[];for(const F of s.list())$.push(Ns(F,U,L));return $.push(x),me($)}).then(()=>{$=ym(ie,"beforeRouteUpdate",U,L);for(const F of ie)F.updateGuards.forEach(J=>{$.push(Ns(J,U,L))});return $.push(x),me($)}).then(()=>{$=[];for(const F of oe)if(F.beforeEnter)if(cr(F.beforeEnter))for(const J of F.beforeEnter)$.push(Ns(J,U,L));else $.push(Ns(F.beforeEnter,U,L));return $.push(x),me($)}).then(()=>(U.matched.forEach(F=>F.enterCallbacks={}),$=ym(oe,"beforeRouteEnter",U,L,m),$.push(x),me($))).then(()=>{$=[];for(const F of o.list())$.push(Ns(F,U,L));return $.push(x),me($)}).catch(F=>Di(F,8)?F:Promise.reject(F))}function b(U,L,$){a.list().forEach(re=>m(()=>re(U,L,$)))}function S(U,L,$,re,ie){const oe=E(U,L);if(oe)return oe;const x=L===Nr,F=Wi?history.state:{};$&&(re||x?i.replace(U.fullPath,ut({scroll:x&&F&&F.scroll},ie)):i.push(U.fullPath,ie)),l.value=U,W(U,L,$,x),V()}let k;function H(){k||(k=i.listen((U,L,$)=>{if(!he.listening)return;const re=N(U),ie=v(re);if(ie){y(ut(ie,{replace:!0}),re).catch(kc);return}c=re;const oe=l.value;Wi&&u$(gb(oe.fullPath,$.delta),hp()),_(re,oe).catch(x=>Di(x,12)?x:Di(x,2)?(y(x.to,re).then(F=>{Di(F,20)&&!$.delta&&$.type===ou.pop&&i.go(-1,!1)}).catch(kc),Promise.reject()):($.delta&&i.go(-$.delta,!1),Y(x,re,oe))).then(x=>{x=x||S(re,oe,!1),x&&($.delta&&!Di(x,8)?i.go(-$.delta,!1):$.type===ou.pop&&Di(x,20)&&i.go(-1,!1)),b(re,oe,x)}).catch(kc)}))}let X=ec(),z=ec(),K;function Y(U,L,$){V(U);const re=z.list();return re.length?re.forEach(ie=>ie(U,L,$)):console.error(U),Promise.reject(U)}function se(){return K&&l.value!==Nr?Promise.resolve():new Promise((U,L)=>{X.add([U,L])})}function V(U){return K||(K=!U,H(),X.list().forEach(([L,$])=>U?$(U):L()),X.reset()),U}function W(U,L,$,re){const{scrollBehavior:ie}=t;if(!Wi||!ie)return Promise.resolve();const oe=!$&&f$(gb(U.fullPath,0))||(re||!$)&&history.state&&history.state.scroll||null;return Qr().then(()=>ie(U,L,oe)).then(x=>x&&c$(x)).catch(x=>Y(x,U,L))}const te=U=>i.go(U);let Q;const ue=new Set,he={currentRoute:l,listening:!0,addRoute:w,removeRoute:R,clearRoutes:e.clearRoutes,hasRoute:P,getRoutes:C,resolve:N,options:t,push:p,replace:T,go:te,back:()=>te(-1),forward:()=>te(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:z.add,isReady:se,install(U){const L=this;U.component("RouterLink",M$),U.component("RouterView",fR),U.config.globalProperties.$router=L,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>_t(l)}),Wi&&!Q&&l.value===Nr&&(Q=!0,p(i.location).catch(ie=>{}));const $={};for(const ie in Nr)Object.defineProperty($,ie,{get:()=>l.value[ie],enumerable:!0});U.provide(iv,L),U.provide(sv,Yi($)),U.provide(Qg,l);const re=U.unmount;ue.add(U),U.unmount=function(){ue.delete(U),ue.size<1&&(c=Nr,k&&k(),k=null,l.value=Nr,Q=!1,K=!1),re()},Wi&&j$(U,L,e)}};function me(U){return U.reduce((L,$)=>L.then(()=>m($)),Promise.resolve())}return he}function X$(t,e){const n=[],r=[],i=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;oso(c,a))?r.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>so(c,l))||i.push(l))}return[n,r,i]}function J$(t){return Ht(sv)}const Z$=(t,e)=>e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=t.params[n.slice(1)])==null?void 0:r.toString())||""}),Jg=(t,e)=>{const n=t.route.matched.find(i=>{var s;return((s=i.components)==null?void 0:s.default)===t.Component.type}),r=e??(n==null?void 0:n.meta.key)??(n&&Z$(t.route,n));return typeof r=="function"?r(t.route):r},eH=(t,e)=>({default:()=>t?Nn(xD,t===!0?{}:t,e):e});function ov(t){return Array.isArray(t)?t:[t]}const tH="modulepreload",nH=function(t,e){return t[0]==="."?new URL(t,e).href:t},Pb={},rH=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=nH(l,r),l in Pb)return;Pb[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let w=s.length-1;w>=0;w--){const R=s[w];if(R.href===l&&(!c||R.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":tH,c||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((w,R)=>{d.addEventListener("load",w),d.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>e()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},Mr=(...t)=>rH(...t).catch(e=>{const n=new Event("nuxt.preloadError");throw n.payload=e,window.dispatchEvent(n),e}),Ob={layout:"login",auth:"guest"},Nb={layout:"login"},Db=[{name:"index___fr",path:"/",component:()=>Mr(()=>import("./CYpUVu9e.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(t=>t.default||t)},{name:"index___en",path:"/en",component:()=>Mr(()=>import("./CYpUVu9e.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(t=>t.default||t)},{name:"login___fr",path:"/connexion",meta:Ob||{},component:()=>Mr(()=>import("./CofIfSQX.js"),__vite__mapDeps([4,5,1]),import.meta.url).then(t=>t.default||t)},{name:"login___en",path:"/en/login",meta:Ob||{},component:()=>Mr(()=>import("./CofIfSQX.js"),__vite__mapDeps([4,5,1]),import.meta.url).then(t=>t.default||t)},{name:"logout___fr",path:"/deconnexion",meta:Nb||{},component:()=>Mr(()=>import("./MgATE4xf.js"),__vite__mapDeps([6,1]),import.meta.url).then(t=>t.default||t)},{name:"logout___en",path:"/en/logout",meta:Nb||{},component:()=>Mr(()=>import("./MgATE4xf.js"),__vite__mapDeps([6,1]),import.meta.url).then(t=>t.default||t)}],vR=(t,e,n)=>(e=e===!0?{}:e,{default:()=>{var r;return e?Nn(t,e,n):(r=n.default)==null?void 0:r.call(n)}});function Lb(t){const e=(t==null?void 0:t.meta.key)??t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=t.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof e=="function"?e(t):e}function iH(t,e){return t===e||e===Nr?!1:Lb(t)!==Lb(e)?!0:!t.matched.every((r,i)=>{var s,o;return r.components&&r.components.default===((o=(s=e.matched[i])==null?void 0:s.components)==null?void 0:o.default)})}const sH={scrollBehavior(t,e,n){var c;const r=it(),i=((c=qn().options)==null?void 0:c.scrollBehaviorType)??"auto";let s=n||void 0;const o=typeof t.meta.scrollToTop=="function"?t.meta.scrollToTop(t,e):t.meta.scrollToTop;if(!s&&e&&t&&o!==!1&&iH(t,e)&&(s={left:0,top:0}),t.path===e.path)return e.hash&&!t.hash?{left:0,top:0}:t.hash?{el:t.hash,top:Mb(t.hash),behavior:i}:!1;const a=u=>!!(u.meta.pageTransition??_g),l=a(e)&&a(t)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(l,async()=>{await new Promise(h=>setTimeout(h,0)),t.hash&&(s={el:t.hash,top:Mb(t.hash),behavior:i}),u(s)})})}};function Mb(t){try{const e=document.querySelector(t);if(e)return Number.parseFloat(getComputedStyle(e).scrollMarginTop)+Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)}catch{}return 0}const oH={hashMode:!1,scrollBehaviorType:"auto"},ir={...oH,...sH},aH=async t=>{var l;let e,n;if(!((l=t.meta)!=null&&l.validate))return;const r=it(),i=qn();if(([e,n]=Fr(()=>Promise.resolve(t.meta.validate(t))),e=await e,n(),e)===!0)return;const o=Hd({statusCode:404,statusMessage:`Page Not Found: ${t.fullPath}`,data:{path:t.fullPath}}),a=i.beforeResolve(c=>{if(a(),c===t){const u=i.afterEach(async()=>{u(),await r.runWithContext(()=>Oo(o)),window.history.pushState({},"",t.fullPath)});return!1}})};function av(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i{},cr=Array.isArray,JA=/#/g,jB=/&/g,BB=/\//g,$B=/=/g,HB=/\?/g,ZA=/\+/g,WB=/%5B/g,GB=/%5D/g,eR=/%5E/g,qB=/%60/g,tR=/%7B/g,YB=/%7C/g,nR=/%7D/g,KB=/%20/g;function rv(t){return encodeURI(""+t).replace(YB,"|").replace(WB,"[").replace(GB,"]")}function zB(t){return rv(t).replace(tR,"{").replace(nR,"}").replace(eR,"^")}function Kg(t){return rv(t).replace(ZA,"%2B").replace(KB,"+").replace(JA,"%23").replace(jB,"%26").replace(qB,"`").replace(tR,"{").replace(nR,"}").replace(eR,"^")}function QB(t){return Kg(t).replace($B,"%3D")}function XB(t){return rv(t).replace(JA,"%23").replace(HB,"%3F")}function JB(t){return t==null?"":XB(t).replace(BB,"%2F")}function pl(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const ZB=/\/$/,e$=t=>t.replace(ZB,"");function _m(t,e,n="/"){let r,i={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(r=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),i=t(s)),a>-1&&(r=r||e.slice(0,a),o=e.slice(a,e.length)),r=i$(r??e,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:pl(o)}}function t$(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function pb(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function n$(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&so(e.matched[r],n.matched[i])&&rR(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function so(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function rR(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!r$(t[n],e[n]))return!1;return!0}function r$(t,e){return cr(t)?mb(t,e):cr(e)?mb(e,t):t===e}function mb(t,e){return cr(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function i$(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let s=n.length-1,o,a;for(o=0;o1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}const Nr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ou;(function(t){t.pop="pop",t.push="push"})(ou||(ou={}));var Cc;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Cc||(Cc={}));function s$(t){if(!t)if(Wi){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),e$(t)}const o$=/^[^#]+#/;function a$(t,e){return t.replace(o$,"#")+e}function l$(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const hp=()=>({left:window.scrollX,top:window.scrollY});function c$(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=l$(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function gb(t,e){return(history.state?history.state.position-e:-1)+t}const zg=new Map;function u$(t,e){zg.set(t,e)}function f$(t){const e=zg.get(t);return zg.delete(t),e}let h$=()=>location.protocol+"//"+location.host;function iR(t,e){const{pathname:n,search:r,hash:i}=e,s=t.indexOf("#");if(s>-1){let a=i.includes(t.slice(s))?t.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),pb(l,"")}return pb(n,t)+r+i}function d$(t,e,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const w=iR(t,location),R=n.value,C=e.value;let P=0;if(d){if(n.value=w,e.value=d,o&&o===R){o=null;return}P=C?d.position-C.position:0}else r(w);i.forEach(N=>{N(n.value,R,{delta:P,type:ou.pop,direction:P?P>0?Cc.forward:Cc.back:Cc.unknown})})};function l(){o=n.value}function c(d){i.push(d);const w=()=>{const R=i.indexOf(d);R>-1&&i.splice(R,1)};return s.push(w),w}function u(){const{history:d}=window;d.state&&d.replaceState(ut({},d.state,{scroll:hp()}),"")}function h(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:h}}function _b(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?hp():null}}function p$(t){const{history:e,location:n}=window,r={value:iR(t,n)},i={value:e.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const h=t.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:h$()+t+l;try{e[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(w){console.error(w),n[u?"replace":"assign"](d)}}function o(l,c){const u=ut({},e.state,_b(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=ut({},i.value,e.state,{forward:l,scroll:hp()});s(u.current,u,!0);const h=ut({},_b(r.value,l,null),{position:u.position+1},c);s(l,h,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function sR(t){t=s$(t);const e=p$(t),n=d$(t,e.state,e.location,e.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=ut({location:"",base:t,go:r,createHref:a$.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function m$(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),sR(t)}function oR(t){return typeof t=="string"||t&&typeof t=="object"}function aR(t){return typeof t=="string"||typeof t=="symbol"}const lR=Symbol("");var yb;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(yb||(yb={}));function ml(t,e){return ut(new Error,{type:t,[lR]:!0},e)}function Di(t,e){return t instanceof Error&&lR in t&&(e==null||!!(t.type&e))}const vb="[^/]+?",g$={sensitive:!1,strict:!1,start:!0,end:!0},_$=/[.+*?^${}()[\]/\\]/g;function y$(t,e){const n=ut({},g$,e),r=[];let i=n.start?"^":"";const s=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let h=0;he.length?e.length===1&&e[0]===80?1:-1:0}function cR(t,e){let n=0;const r=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const w$={type:0,value:""},E$=/[a-zA-Z0-9_]/;function b$(t){if(!t)return[[]];if(t==="/")return[[w$]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(w){throw new Error(`ERR (${n})/"${c}": ${w}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function h(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{o(E)}:kc}function o(h){if(aR(h)){const d=r.get(h);d&&(r.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&r.delete(h.record.name),h.children.forEach(o),h.alias.forEach(o))}}function a(){return n}function l(h){const d=A$(h,n);n.splice(d,0,h),h.record.name&&!bb(h)&&r.set(h.record.name,h)}function c(h,d){let w,R={},C,P;if("name"in h&&h.name){if(w=r.get(h.name),!w)throw ml(1,{location:h});P=w.record.name,R=ut(Eb(d.params,w.keys.filter(E=>!E.optional).concat(w.parent?w.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),h.params&&Eb(h.params,w.keys.map(E=>E.name))),C=w.stringify(R)}else if(h.path!=null)C=h.path,w=n.find(E=>E.re.test(C)),w&&(R=w.parse(C),P=w.record.name);else{if(w=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!w)throw ml(1,{location:h,currentLocation:d});P=w.record.name,R=ut({},d.params,h.params),C=w.stringify(R)}const N=[];let A=w;for(;A;)N.unshift(A.record),A=A.parent;return{name:P,path:C,params:R,matched:N,meta:C$(N)}}t.forEach(h=>s(h));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:i}}function Eb(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function I$(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:k$(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function k$(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="object"?n[r]:n;return e}function bb(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function C$(t){return t.reduce((e,n)=>ut(e,n.meta),{})}function Tb(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function A$(t,e){let n=0,r=e.length;for(;n!==r;){const s=n+r>>1;cR(t,e[s])<0?r=s:n=s+1}const i=R$(t);return i&&(r=e.lastIndexOf(i,r-1)),r}function R$(t){let e=t;for(;e=e.parent;)if(uR(e)&&cR(t,e)===0)return e}function uR({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function P$(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;is&&Kg(s)):[r&&Kg(r)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+n,s!=null&&(e+="="+s))})}return e}function O$(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=cr(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return e}const N$=Symbol(""),Ib=Symbol(""),iv=Symbol(""),sv=Symbol(""),Qg=Symbol("");function ec(){let t=[];function e(r){return t.push(r),()=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function Ns(t,e,n,r,i,s=o=>o()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(ml(4,{from:n,to:e})):d instanceof Error?l(d):oR(d)?l(ml(2,{from:e,to:d})):(o&&r.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),a())},u=s(()=>t.call(r&&r.instances[i],e,n,c));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch(d=>l(d))})}function ym(t,e,n,r,i=s=>s()){const s=[];for(const o of t)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(D$(l)){const u=(l.__vccOpts||l)[e];u&&s.push(Ns(u,n,r,o,a,i))}else{let c=l();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const h=UB(u)?u.default:u;o.components[a]=h;const w=(h.__vccOpts||h)[e];return w&&Ns(w,n,r,o,a,i)()}))}}return s}function D$(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function kb(t){const e=Ht(iv),n=Ht(sv),r=yt(()=>{const l=_t(t.to);return e.resolve(l)}),i=yt(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(so.bind(null,u));if(d>-1)return d;const w=Cb(l[c-2]);return c>1&&Cb(u)===w&&h[h.length-1].path!==w?h.findIndex(so.bind(null,l[c-2])):d}),s=yt(()=>i.value>-1&&V$(n.params,r.value.params)),o=yt(()=>i.value>-1&&i.value===n.matched.length-1&&rR(n.params,r.value.params));function a(l={}){return x$(l)?e[_t(t.replace)?"replace":"push"](_t(t.to)).catch(kc):Promise.resolve()}if(Wi){const l=Vn();if(l){const c={route:r.value,isActive:s.value,isExactActive:o.value,error:null};l.__vrl_devtools=l.__vrl_devtools||[],l.__vrl_devtools.push(c),ZI(()=>{c.route=r.value,c.isActive=s.value,c.isExactActive=o.value,c.error=oR(_t(t.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:yt(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}const L$=fr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:kb,setup(t,{slots:e}){const n=ps(kb(t)),{options:r}=Ht(iv),i=yt(()=>({[Ab(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ab(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=e.default&&e.default(n);return t.custom?s:Nn("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),M$=L$;function x$(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function V$(t,e){for(const n in e){const r=e[n],i=t[n];if(typeof r=="string"){if(r!==i)return!1}else if(!cr(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function Cb(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Ab=(t,e,n)=>t??e??n,F$=fr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=Ht(Qg),i=yt(()=>t.route||r.value),s=Ht(Ib,0),o=yt(()=>{let c=_t(s);const{matched:u}=i.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),a=yt(()=>i.value.matched[o.value]);Gs(Ib,yt(()=>o.value+1)),Gs(N$,a),Gs(Qg,i);const l=ht();return Vt(()=>[l.value,a.value,t.name],([c,u,h],[d,w,R])=>{u&&(u.instances[h]=c,w&&w!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=w.leaveGuards),u.updateGuards.size||(u.updateGuards=w.updateGuards))),c&&u&&(!w||!so(u,w)||!d)&&(u.enterCallbacks[h]||[]).forEach(C=>C(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,h=a.value,d=h&&h.components[u];if(!d)return Rb(n.default,{Component:d,route:c});const w=h.props[u],R=w?w===!0?c.params:typeof w=="function"?w(c):w:null,P=Nn(d,ut({},R,e,{onVnodeUnmounted:N=>{N.component.isUnmounted&&(h.instances[u]=null)},ref:l}));if(Wi&&P.ref){const N={depth:o.value,name:h.name,path:h.path,meta:h.meta};(cr(P.ref)?P.ref.map(E=>E.i):[P.ref.i]).forEach(E=>{E.__vrv_devtools=N})}return Rb(n.default,{Component:P,route:c})||P}}});function Rb(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const fR=F$;function tc(t,e){const n=ut({},t,{matched:t.matched.map(r=>z$(r,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:t.fullPath,tooltip:e,value:n}}}function Rf(t){return{_custom:{display:t}}}let U$=0;function j$(t,e,n){if(e.__hasDevtools)return;e.__hasDevtools=!0;const r=U$++;fp({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:t},i=>{typeof i.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),i.on.inspectComponent((u,h)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:tc(e.currentRoute.value,"Current Route")})}),i.on.visitComponentTree(({treeNode:u,componentInstance:h})=>{if(h.__vrv_devtools){const d=h.__vrv_devtools;u.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:hR})}cr(h.__vrl_devtools)&&(h.__devtoolsApi=i,h.__vrl_devtools.forEach(d=>{let w=d.route.path,R=mR,C="",P=0;d.error?(w=d.error,R=G$,P=q$):d.isExactActive?(R=pR,C="This is exactly active"):d.isActive&&(R=dR,C="This link is active"),u.tags.push({label:w,textColor:P,tooltip:C,backgroundColor:R})}))}),Vt(e.currentRoute,()=>{l(),i.notifyComponentUpdate(),i.sendInspectorTree(a),i.sendInspectorState(a)});const s="router:navigations:"+r;i.addTimelineLayer({id:s,label:`Router${r?" "+r:""} Navigations`,color:4237508}),e.onError((u,h)=>{i.addTimelineEvent({layerId:s,event:{title:"Error during Navigation",subtitle:h.fullPath,logType:"error",time:i.now(),data:{error:u},groupId:h.meta.__navigationId}})});let o=0;e.beforeEach((u,h)=>{const d={guard:Rf("beforeEach"),from:tc(h,"Current Location during this navigation"),to:tc(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:o++}),i.addTimelineEvent({layerId:s,event:{time:i.now(),title:"Start of navigation",subtitle:u.fullPath,data:d,groupId:u.meta.__navigationId}})}),e.afterEach((u,h,d)=>{const w={guard:Rf("afterEach")};d?(w.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},w.status=Rf("❌")):w.status=Rf("✅"),w.from=tc(h,"Current Location during this navigation"),w.to=tc(u,"Target location"),i.addTimelineEvent({layerId:s,event:{title:"End of navigation",subtitle:u.fullPath,time:i.now(),data:w,logType:d?"warning":"default",groupId:u.meta.__navigationId}})});const a="router-inspector:"+r;i.addInspector({id:a,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const u=c;let h=n.getRoutes().filter(d=>!d.parent||!d.parent.record.components);h.forEach(yR),u.filter&&(h=h.filter(d=>Xg(d,u.filter.toLowerCase()))),h.forEach(d=>_R(d,e.currentRoute.value)),u.rootNodes=h.map(gR)}let c;i.on.getInspectorTree(u=>{c=u,u.app===t&&u.inspectorId===a&&l()}),i.on.getInspectorState(u=>{if(u.app===t&&u.inspectorId===a){const d=n.getRoutes().find(w=>w.record.__vd_id===u.nodeId);d&&(u.state={options:$$(d)})}}),i.sendInspectorTree(a),i.sendInspectorState(a)})}function B$(t){return t.optional?t.repeatable?"*":"?":t.repeatable?"+":""}function $$(t){const{record:e}=t,n=[{editable:!1,key:"path",value:e.path}];return e.name!=null&&n.push({editable:!1,key:"name",value:e.name}),n.push({editable:!1,key:"regexp",value:t.re}),t.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:t.keys.map(r=>`${r.name}${B$(r)}`).join(" "),tooltip:"Param keys",value:t.keys}}}),e.redirect!=null&&n.push({editable:!1,key:"redirect",value:e.redirect}),t.alias.length&&n.push({editable:!1,key:"aliases",value:t.alias.map(r=>r.record.path)}),Object.keys(t.record.meta).length&&n.push({editable:!1,key:"meta",value:t.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:t.score.map(r=>r.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:t.score}}}),n}const hR=15485081,dR=2450411,pR=8702998,H$=2282478,mR=16486972,W$=6710886,G$=16704226,q$=12131356;function gR(t){const e=[],{record:n}=t;n.name!=null&&e.push({label:String(n.name),textColor:0,backgroundColor:H$}),n.aliasOf&&e.push({label:"alias",textColor:0,backgroundColor:mR}),t.__vd_match&&e.push({label:"matches",textColor:0,backgroundColor:hR}),t.__vd_exactActive&&e.push({label:"exact",textColor:0,backgroundColor:pR}),t.__vd_active&&e.push({label:"active",textColor:0,backgroundColor:dR}),n.redirect&&e.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:W$});let r=n.__vd_id;return r==null&&(r=String(Y$++),n.__vd_id=r),{id:r,label:n.path,tags:e,children:t.children.map(gR)}}let Y$=0;const K$=/^\/(.*)\/([a-z]*)$/;function _R(t,e){const n=e.matched.length&&so(e.matched[e.matched.length-1],t.record);t.__vd_exactActive=t.__vd_active=n,n||(t.__vd_active=e.matched.some(r=>so(r,t.record))),t.children.forEach(r=>_R(r,e))}function yR(t){t.__vd_match=!1,t.children.forEach(yR)}function Xg(t,e){const n=String(t.re).match(K$);if(t.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(e))return t.children.forEach(o=>Xg(o,e)),t.record.path!=="/"||e==="/"?(t.__vd_match=t.re.test(e),!0):!1;const i=t.record.path.toLowerCase(),s=pl(i);return!e.startsWith("/")&&(s.includes(e)||i.includes(e))||s.startsWith(e)||i.startsWith(e)||t.record.name&&String(t.record.name).includes(e)?!0:t.children.some(o=>Xg(o,e))}function z$(t,e){const n={};for(const r in t)e.includes(r)||(n[r]=t[r]);return n}function Q$(t){const e=S$(t.routes,t),n=t.parseQuery||P$,r=t.stringifyQuery||Sb,i=t.history,s=ec(),o=ec(),a=ec(),l=Wo(Nr);let c=Nr;Wi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=gm.bind(null,U=>""+U),h=gm.bind(null,JB),d=gm.bind(null,pl);function w(U,L){let $,re;return aR(U)?($=e.getRecordMatcher(U),re=L):re=U,e.addRoute(re,$)}function R(U){const L=e.getRecordMatcher(U);L&&e.removeRoute(L)}function C(){return e.getRoutes().map(U=>U.record)}function P(U){return!!e.getRecordMatcher(U)}function N(U,L){if(L=ut({},L||l.value),typeof U=="string"){const F=_m(n,U,L.path),J=e.resolve({path:F.path},L),ae=i.createHref(F.fullPath);return ut(F,J,{params:d(J.params),hash:pl(F.hash),redirectedFrom:void 0,href:ae})}let $;if(U.path!=null)$=ut({},U,{path:_m(n,U.path,L.path).path});else{const F=ut({},U.params);for(const J in F)F[J]==null&&delete F[J];$=ut({},U,{params:h(F)}),L.params=h(L.params)}const re=e.resolve($,L),ie=U.hash||"";re.params=u(d(re.params));const oe=t$(r,ut({},U,{hash:zB(ie),path:re.path})),x=i.createHref(oe);return ut({fullPath:oe,hash:ie,query:r===Sb?O$(U.query):U.query||{}},re,{redirectedFrom:void 0,href:x})}function A(U){return typeof U=="string"?_m(n,U,l.value.path):ut({},U)}function E(U,L){if(c!==U)return ml(8,{from:L,to:U})}function p(U){return y(U)}function T(U){return p(ut(A(U),{replace:!0}))}function v(U){const L=U.matched[U.matched.length-1];if(L&&L.redirect){const{redirect:$}=L;let re=typeof $=="function"?$(U):$;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=A(re):{path:re},re.params={}),ut({query:U.query,hash:U.hash,params:re.path!=null?{}:U.params},re)}}function y(U,L){const $=c=N(U),re=l.value,ie=U.state,oe=U.force,x=U.replace===!0,F=v($);if(F)return y(ut(A(F),{state:typeof F=="object"?ut({},ie,F.state):ie,force:oe,replace:x}),L||$);const J=$;J.redirectedFrom=L;let ae;return!oe&&n$(r,re,$)&&(ae=ml(16,{to:J,from:re}),W(re,re,!0,!1)),(ae?Promise.resolve(ae):_(J,re)).catch(le=>Di(le)?Di(le,2)?le:V(le):Y(le,J,re)).then(le=>{if(le){if(Di(le,2))return y(ut({replace:x},A(le.to),{state:typeof le.to=="object"?ut({},ie,le.to.state):ie,force:oe}),L||J)}else le=S(J,re,!0,x,ie);return b(J,re,le),le})}function g(U,L){const $=E(U,L);return $?Promise.reject($):Promise.resolve()}function m(U){const L=ue.values().next().value;return L&&typeof L.runWithContext=="function"?L.runWithContext(U):U()}function _(U,L){let $;const[re,ie,oe]=X$(U,L);$=ym(re.reverse(),"beforeRouteLeave",U,L);for(const F of re)F.leaveGuards.forEach(J=>{$.push(Ns(J,U,L))});const x=g.bind(null,U,L);return $.push(x),me($).then(()=>{$=[];for(const F of s.list())$.push(Ns(F,U,L));return $.push(x),me($)}).then(()=>{$=ym(ie,"beforeRouteUpdate",U,L);for(const F of ie)F.updateGuards.forEach(J=>{$.push(Ns(J,U,L))});return $.push(x),me($)}).then(()=>{$=[];for(const F of oe)if(F.beforeEnter)if(cr(F.beforeEnter))for(const J of F.beforeEnter)$.push(Ns(J,U,L));else $.push(Ns(F.beforeEnter,U,L));return $.push(x),me($)}).then(()=>(U.matched.forEach(F=>F.enterCallbacks={}),$=ym(oe,"beforeRouteEnter",U,L,m),$.push(x),me($))).then(()=>{$=[];for(const F of o.list())$.push(Ns(F,U,L));return $.push(x),me($)}).catch(F=>Di(F,8)?F:Promise.reject(F))}function b(U,L,$){a.list().forEach(re=>m(()=>re(U,L,$)))}function S(U,L,$,re,ie){const oe=E(U,L);if(oe)return oe;const x=L===Nr,F=Wi?history.state:{};$&&(re||x?i.replace(U.fullPath,ut({scroll:x&&F&&F.scroll},ie)):i.push(U.fullPath,ie)),l.value=U,W(U,L,$,x),V()}let k;function H(){k||(k=i.listen((U,L,$)=>{if(!he.listening)return;const re=N(U),ie=v(re);if(ie){y(ut(ie,{replace:!0}),re).catch(kc);return}c=re;const oe=l.value;Wi&&u$(gb(oe.fullPath,$.delta),hp()),_(re,oe).catch(x=>Di(x,12)?x:Di(x,2)?(y(x.to,re).then(F=>{Di(F,20)&&!$.delta&&$.type===ou.pop&&i.go(-1,!1)}).catch(kc),Promise.reject()):($.delta&&i.go(-$.delta,!1),Y(x,re,oe))).then(x=>{x=x||S(re,oe,!1),x&&($.delta&&!Di(x,8)?i.go(-$.delta,!1):$.type===ou.pop&&Di(x,20)&&i.go(-1,!1)),b(re,oe,x)}).catch(kc)}))}let X=ec(),z=ec(),K;function Y(U,L,$){V(U);const re=z.list();return re.length?re.forEach(ie=>ie(U,L,$)):console.error(U),Promise.reject(U)}function se(){return K&&l.value!==Nr?Promise.resolve():new Promise((U,L)=>{X.add([U,L])})}function V(U){return K||(K=!U,H(),X.list().forEach(([L,$])=>U?$(U):L()),X.reset()),U}function W(U,L,$,re){const{scrollBehavior:ie}=t;if(!Wi||!ie)return Promise.resolve();const oe=!$&&f$(gb(U.fullPath,0))||(re||!$)&&history.state&&history.state.scroll||null;return Qr().then(()=>ie(U,L,oe)).then(x=>x&&c$(x)).catch(x=>Y(x,U,L))}const te=U=>i.go(U);let Q;const ue=new Set,he={currentRoute:l,listening:!0,addRoute:w,removeRoute:R,clearRoutes:e.clearRoutes,hasRoute:P,getRoutes:C,resolve:N,options:t,push:p,replace:T,go:te,back:()=>te(-1),forward:()=>te(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:z.add,isReady:se,install(U){const L=this;U.component("RouterLink",M$),U.component("RouterView",fR),U.config.globalProperties.$router=L,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>_t(l)}),Wi&&!Q&&l.value===Nr&&(Q=!0,p(i.location).catch(ie=>{}));const $={};for(const ie in Nr)Object.defineProperty($,ie,{get:()=>l.value[ie],enumerable:!0});U.provide(iv,L),U.provide(sv,Yi($)),U.provide(Qg,l);const re=U.unmount;ue.add(U),U.unmount=function(){ue.delete(U),ue.size<1&&(c=Nr,k&&k(),k=null,l.value=Nr,Q=!1,K=!1),re()},Wi&&j$(U,L,e)}};function me(U){return U.reduce((L,$)=>L.then(()=>m($)),Promise.resolve())}return he}function X$(t,e){const n=[],r=[],i=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;oso(c,a))?r.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>so(c,l))||i.push(l))}return[n,r,i]}function J$(t){return Ht(sv)}const Z$=(t,e)=>e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=t.params[n.slice(1)])==null?void 0:r.toString())||""}),Jg=(t,e)=>{const n=t.route.matched.find(i=>{var s;return((s=i.components)==null?void 0:s.default)===t.Component.type}),r=e??(n==null?void 0:n.meta.key)??(n&&Z$(t.route,n));return typeof r=="function"?r(t.route):r},eH=(t,e)=>({default:()=>t?Nn(xD,t===!0?{}:t,e):e});function ov(t){return Array.isArray(t)?t:[t]}const tH="modulepreload",nH=function(t,e){return t[0]==="."?new URL(t,e).href:t},Pb={},rH=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=nH(l,r),l in Pb)return;Pb[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let w=s.length-1;w>=0;w--){const R=s[w];if(R.href===l&&(!c||R.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":tH,c||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((w,R)=>{d.addEventListener("load",w),d.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>e()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},Mr=(...t)=>rH(...t).catch(e=>{const n=new Event("nuxt.preloadError");throw n.payload=e,window.dispatchEvent(n),e}),Ob={layout:"login",auth:"guest"},Nb={layout:"login"},Db=[{name:"index___fr",path:"/",component:()=>Mr(()=>import("./rH6pHM5P.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(t=>t.default||t)},{name:"index___en",path:"/en",component:()=>Mr(()=>import("./rH6pHM5P.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(t=>t.default||t)},{name:"login___fr",path:"/connexion",meta:Ob||{},component:()=>Mr(()=>import("./Dh_qWEXu.js"),__vite__mapDeps([4,5,1]),import.meta.url).then(t=>t.default||t)},{name:"login___en",path:"/en/login",meta:Ob||{},component:()=>Mr(()=>import("./Dh_qWEXu.js"),__vite__mapDeps([4,5,1]),import.meta.url).then(t=>t.default||t)},{name:"logout___fr",path:"/deconnexion",meta:Nb||{},component:()=>Mr(()=>import("./zw4H8_Zt.js"),__vite__mapDeps([6,1]),import.meta.url).then(t=>t.default||t)},{name:"logout___en",path:"/en/logout",meta:Nb||{},component:()=>Mr(()=>import("./zw4H8_Zt.js"),__vite__mapDeps([6,1]),import.meta.url).then(t=>t.default||t)}],vR=(t,e,n)=>(e=e===!0?{}:e,{default:()=>{var r;return e?Nn(t,e,n):(r=n.default)==null?void 0:r.call(n)}});function Lb(t){const e=(t==null?void 0:t.meta.key)??t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=t.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof e=="function"?e(t):e}function iH(t,e){return t===e||e===Nr?!1:Lb(t)!==Lb(e)?!0:!t.matched.every((r,i)=>{var s,o;return r.components&&r.components.default===((o=(s=e.matched[i])==null?void 0:s.components)==null?void 0:o.default)})}const sH={scrollBehavior(t,e,n){var c;const r=it(),i=((c=qn().options)==null?void 0:c.scrollBehaviorType)??"auto";let s=n||void 0;const o=typeof t.meta.scrollToTop=="function"?t.meta.scrollToTop(t,e):t.meta.scrollToTop;if(!s&&e&&t&&o!==!1&&iH(t,e)&&(s={left:0,top:0}),t.path===e.path)return e.hash&&!t.hash?{left:0,top:0}:t.hash?{el:t.hash,top:Mb(t.hash),behavior:i}:!1;const a=u=>!!(u.meta.pageTransition??_g),l=a(e)&&a(t)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(l,async()=>{await new Promise(h=>setTimeout(h,0)),t.hash&&(s={el:t.hash,top:Mb(t.hash),behavior:i}),u(s)})})}};function Mb(t){try{const e=document.querySelector(t);if(e)return Number.parseFloat(getComputedStyle(e).scrollMarginTop)+Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)}catch{}return 0}const oH={hashMode:!1,scrollBehaviorType:"auto"},ir={...oH,...sH},aH=async t=>{var l;let e,n;if(!((l=t.meta)!=null&&l.validate))return;const r=it(),i=qn();if(([e,n]=Fr(()=>Promise.resolve(t.meta.validate(t))),e=await e,n(),e)===!0)return;const o=Hd({statusCode:404,statusMessage:`Page Not Found: ${t.fullPath}`,data:{path:t.fullPath}}),a=i.beforeResolve(c=>{if(a(),c===t){const u=i.afterEach(async()=>{u(),await r.runWithContext(()=>Oo(o)),window.history.pushState({},"",t.fullPath)});return!1}})};function av(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);inO=t,rO=Symbol();function O_(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var hi;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(hi||(hi={}));const xc=typeof window<"u",LS=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function LK(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\uFEFF",t],{type:t.type}):t}function r0(t,e,n){const r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){oO(r.response,e,n)},r.onerror=function(){console.error("could not download file")},r.send()}function iO(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function lh(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const ch=typeof navigator=="object"?navigator:{userAgent:""},sO=/Macintosh/.test(ch.userAgent)&&/AppleWebKit/.test(ch.userAgent)&&!/Safari/.test(ch.userAgent),oO=xc?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!sO?MK:"msSaveOrOpenBlob"in ch?xK:VK:()=>{};function MK(t,e="download",n){const r=document.createElement("a");r.download=e,r.rel="noopener",typeof t=="string"?(r.href=t,r.origin!==location.origin?iO(r.href)?r0(t,e,n):(r.target="_blank",lh(r)):lh(r)):(r.href=URL.createObjectURL(t),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){lh(r)},0))}function xK(t,e="download",n){if(typeof t=="string")if(iO(t))r0(t,e,n);else{const r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){lh(r)})}else navigator.msSaveOrOpenBlob(LK(t,n),e)}function VK(t,e,n,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),typeof t=="string")return r0(t,e,n);const i=t.type==="application/octet-stream",s=/constructor/i.test(String(LS.HTMLElement))||"safari"in LS,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&s||sO)&&typeof FileReader<"u"){const a=new FileReader;a.onloadend=function(){let l=a.result;if(typeof l!="string")throw r=null,new Error("Wrong reader.result type");l=o?l:l.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=l:location.assign(l),r=null},a.readAsDataURL(t)}else{const a=URL.createObjectURL(t);r?r.location.assign(a):location.href=a,r=null,setTimeout(function(){URL.revokeObjectURL(a)},4e4)}}function cn(t,e){const n="🍍 "+t;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,e):e==="error"?console.error(n):e==="warn"?console.warn(n):console.log(n)}function i0(t){return"_a"in t&&"install"in t}function aO(){if(!("clipboard"in navigator))return cn("Your browser doesn't support the Clipboard API","error"),!0}function lO(t){return t instanceof Error&&t.message.toLowerCase().includes("document is not focused")?(cn('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function FK(t){if(!aO())try{await navigator.clipboard.writeText(JSON.stringify(t.state.value)),cn("Global state copied to clipboard.")}catch(e){if(lO(e))return;cn("Failed to serialize the state. Check the console for more details.","error"),console.error(e)}}async function UK(t){if(!aO())try{cO(t,JSON.parse(await navigator.clipboard.readText())),cn("Global state pasted from clipboard.")}catch(e){if(lO(e))return;cn("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(e)}}async function jK(t){try{oO(new Blob([JSON.stringify(t.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(e){cn("Failed to export the state as JSON. Check the console for more details.","error"),console.error(e)}}let xi;function BK(){xi||(xi=document.createElement("input"),xi.type="file",xi.accept=".json");function t(){return new Promise((e,n)=>{xi.onchange=async()=>{const r=xi.files;if(!r)return e(null);const i=r.item(0);return e(i?{text:await i.text(),file:i}:null)},xi.oncancel=()=>e(null),xi.onerror=n,xi.click()})}return t}async function $K(t){try{const n=await BK()();if(!n)return;const{text:r,file:i}=n;cO(t,JSON.parse(r)),cn(`Global state imported from "${i.name}".`)}catch(e){cn("Failed to import the state from JSON. Check the console for more details.","error"),console.error(e)}}function cO(t,e){for(const n in e){const r=t.state.value[n];r?Object.assign(r,e[n]):t.state.value[n]=e[n]}}function Or(t){return{_custom:{display:t}}}const uO="🍍 Pinia (root)",uh="_root";function HK(t){return i0(t)?{id:uh,label:uO}:{id:t.$id,label:t.$id}}function WK(t){if(i0(t)){const n=Array.from(t._s.keys()),r=t._s;return{state:n.map(s=>({editable:!0,key:s,value:t.state.value[s]})),getters:n.filter(s=>r.get(s)._getters).map(s=>{const o=r.get(s);return{editable:!1,key:s,value:o._getters.reduce((a,l)=>(a[l]=o[l],a),{})}})}}const e={state:Object.keys(t.$state).map(n=>({editable:!0,key:n,value:t.$state[n]}))};return t._getters&&t._getters.length&&(e.getters=t._getters.map(n=>({editable:!1,key:n,value:t[n]}))),t._customProperties.size&&(e.customProperties=Array.from(t._customProperties).map(n=>({editable:!0,key:n,value:t[n]}))),e}function GK(t){return t?Array.isArray(t)?t.reduce((e,n)=>(e.keys.push(n.key),e.operations.push(n.type),e.oldValue[n.key]=n.oldValue,e.newValue[n.key]=n.newValue,e),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:Or(t.type),key:Or(t.key),oldValue:t.oldValue,newValue:t.newValue}:{}}function qK(t){switch(t){case hi.direct:return"mutation";case hi.patchFunction:return"$patch";case hi.patchObject:return"$patch";default:return"unknown"}}let Na=!0;const fh=[],Ro="pinia:mutations",kn="pinia",{assign:YK}=Object,gd=t=>"🍍 "+t;function KK(t,e){fp({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:fh,app:t},n=>{typeof n.now!="function"&&cn("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:Ro,label:"Pinia 🍍",color:15064968}),n.addInspector({id:kn,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{FK(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await UK(e),n.sendInspectorTree(kn),n.sendInspectorState(kn)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{jK(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await $K(e),n.sendInspectorTree(kn),n.sendInspectorState(kn)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:r=>{const i=e._s.get(r);i?typeof i.$reset!="function"?cn(`Cannot reset "${r}" store because it doesn't have a "$reset" method implemented.`,"warn"):(i.$reset(),cn(`Store "${r}" reset.`)):cn(`Cannot reset "${r}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent((r,i)=>{const s=r.componentInstance&&r.componentInstance.proxy;if(s&&s._pStores){const o=r.componentInstance.proxy._pStores;Object.values(o).forEach(a=>{r.instanceData.state.push({type:gd(a.$id),key:"state",editable:!0,value:a._isOptionsAPI?{_custom:{value:We(a.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>a.$reset()}]}}:Object.keys(a.$state).reduce((l,c)=>(l[c]=a.$state[c],l),{})}),a._getters&&a._getters.length&&r.instanceData.state.push({type:gd(a.$id),key:"getters",editable:!1,value:a._getters.reduce((l,c)=>{try{l[c]=a[c]}catch(u){l[c]=u}return l},{})})})}}),n.on.getInspectorTree(r=>{if(r.app===t&&r.inspectorId===kn){let i=[e];i=i.concat(Array.from(e._s.values())),r.rootNodes=(r.filter?i.filter(s=>"$id"in s?s.$id.toLowerCase().includes(r.filter.toLowerCase()):uO.toLowerCase().includes(r.filter.toLowerCase())):i).map(HK)}}),globalThis.$pinia=e,n.on.getInspectorState(r=>{if(r.app===t&&r.inspectorId===kn){const i=r.nodeId===uh?e:e._s.get(r.nodeId);if(!i)return;i&&(r.nodeId!==uh&&(globalThis.$store=We(i)),r.state=WK(i))}}),n.on.editInspectorState((r,i)=>{if(r.app===t&&r.inspectorId===kn){const s=r.nodeId===uh?e:e._s.get(r.nodeId);if(!s)return cn(`store "${r.nodeId}" not found`,"error");const{path:o}=r;i0(s)?o.unshift("state"):(o.length!==1||!s._customProperties.has(o[0])||o[0]in s.$state)&&o.unshift("$state"),Na=!1,r.set(s,o,r.state.value),Na=!0}}),n.on.editComponentState(r=>{if(r.type.startsWith("🍍")){const i=r.type.replace(/^🍍\s*/,""),s=e._s.get(i);if(!s)return cn(`store "${i}" not found`,"error");const{path:o}=r;if(o[0]!=="state")return cn(`Invalid path for store "${i}": ${o} -Only state can be modified.`);o[0]="$state",Na=!1,r.set(s,o,r.state.value),Na=!0}})})}function zK(t,e){fh.includes(gd(e.$id))||fh.push(gd(e.$id)),fp({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:fh,app:t,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const r=typeof n.now=="function"?n.now.bind(n):Date.now;e.$onAction(({after:o,onError:a,name:l,args:c})=>{const u=fO++;n.addTimelineEvent({layerId:Ro,event:{time:r(),title:"🛫 "+l,subtitle:"start",data:{store:Or(e.$id),action:Or(l),args:c},groupId:u}}),o(h=>{Us=void 0,n.addTimelineEvent({layerId:Ro,event:{time:r(),title:"🛬 "+l,subtitle:"end",data:{store:Or(e.$id),action:Or(l),args:c,result:h},groupId:u}})}),a(h=>{Us=void 0,n.addTimelineEvent({layerId:Ro,event:{time:r(),logType:"error",title:"💥 "+l,subtitle:"end",data:{store:Or(e.$id),action:Or(l),args:c,error:h},groupId:u}})})},!0),e._customProperties.forEach(o=>{Vt(()=>_t(e[o]),(a,l)=>{n.notifyComponentUpdate(),n.sendInspectorState(kn),Na&&n.addTimelineEvent({layerId:Ro,event:{time:r(),title:"Change",subtitle:o,data:{newValue:a,oldValue:l},groupId:Us}})},{deep:!0})}),e.$subscribe(({events:o,type:a},l)=>{if(n.notifyComponentUpdate(),n.sendInspectorState(kn),!Na)return;const c={time:r(),title:qK(a),data:YK({store:Or(e.$id)},GK(o)),groupId:Us};a===hi.patchFunction?c.subtitle="⤵️":a===hi.patchObject?c.subtitle="🧩":o&&!Array.isArray(o)&&(c.subtitle=o.type),o&&(c.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:o}}),n.addTimelineEvent({layerId:Ro,event:c})},{detached:!0,flush:"sync"});const i=e._hotUpdate;e._hotUpdate=eo(o=>{i(o),n.addTimelineEvent({layerId:Ro,event:{time:r(),title:"🔥 "+e.$id,subtitle:"HMR update",data:{store:Or(e.$id),info:Or("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree(kn),n.sendInspectorState(kn)});const{$dispose:s}=e;e.$dispose=()=>{s(),n.notifyComponentUpdate(),n.sendInspectorTree(kn),n.sendInspectorState(kn),n.getSettings().logStoreChanges&&cn(`Disposed "${e.$id}" store 🗑`)},n.notifyComponentUpdate(),n.sendInspectorTree(kn),n.sendInspectorState(kn),n.getSettings().logStoreChanges&&cn(`"${e.$id}" store installed 🆕`)})}let fO=0,Us;function MS(t,e,n){const r=e.reduce((i,s)=>(i[s]=We(t)[s],i),{});for(const i in r)t[i]=function(){const s=fO,o=n?new Proxy(t,{get(...l){return Us=s,Reflect.get(...l)},set(...l){return Us=s,Reflect.set(...l)}}):t;Us=s;const a=r[i].apply(o,arguments);return Us=void 0,a}}function QK({app:t,store:e,options:n}){if(!e.$id.startsWith("__hot:")){if(e._isOptionsAPI=!!n.state,!e._p._testing){MS(e,Object.keys(n.actions),e._isOptionsAPI);const r=e._hotUpdate;We(e)._hotUpdate=function(i){r.apply(this,arguments),MS(e,Object.keys(i._hmrPayload.actions),!!e._isOptionsAPI)}}zK(t,e)}}function XK(){const t=Tl(!0),e=t.run(()=>ht({}));let n=[],r=[];const i=eo({install(s){Hu(i),i._a=s,s.provide(rO,i),s.config.globalProperties.$pinia=i,xc&&KK(s,i),r.forEach(o=>n.push(o)),r=[]},use(s){return!this._a&&!e9?r.push(s):n.push(s),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return typeof Proxy<"u"&&i.use(QK),i}const hO=()=>{};function xS(t,e,n,r=hO){t.push(e);const i=()=>{const s=t.indexOf(e);s>-1&&(t.splice(s,1),r())};return!n&&la()&&Ja(i),i}function Ta(t,...e){t.slice().forEach(n=>{n(...e)})}const JK=t=>t(),VS=Symbol(),Dm=Symbol();function N_(t,e){t instanceof Map&&e instanceof Map?e.forEach((n,r)=>t.set(r,n)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n],i=t[n];O_(i)&&O_(r)&&t.hasOwnProperty(n)&&!Et(r)&&!rs(r)?t[n]=N_(i,r):t[n]=r}return t}const ZK=Symbol();function e5(t){return!O_(t)||!t.hasOwnProperty(ZK)}const{assign:Pr}=Object;function t5(t){return!!(Et(t)&&t.effect)}function n5(t,e,n,r){const{state:i,actions:s,getters:o}=e,a=n.state.value[t];let l;function c(){a||(n.state.value[t]=i?i():{});const u=wD(n.state.value[t]);return Pr(u,s,Object.keys(o||{}).reduce((h,d)=>(h[d]=eo(yt(()=>{Hu(n);const w=n._s.get(t);return o[d].call(w,w)})),h),{}))}return l=dO(t,c,e,n,r,!0),l}function dO(t,e,n={},r,i,s){let o;const a=Pr({actions:{}},n),l={deep:!0};let c,u,h=[],d=[],w;const R=r.state.value[t];!s&&!R&&(r.state.value[t]={});const C=ht({});let P;function N(_){let b;c=u=!1,typeof _=="function"?(_(r.state.value[t]),b={type:hi.patchFunction,storeId:t,events:w}):(N_(r.state.value[t],_),b={type:hi.patchObject,payload:_,storeId:t,events:w});const S=P=Symbol();Qr().then(()=>{P===S&&(c=!0)}),u=!0,Ta(h,b,r.state.value[t])}const A=s?function(){const{state:b}=n,S=b?b():{};this.$patch(k=>{Pr(k,S)})}:hO;function E(){o.stop(),h=[],d=[],r._s.delete(t)}const p=(_,b="")=>{if(VS in _)return _[Dm]=b,_;const S=function(){Hu(r);const k=Array.from(arguments),H=[],X=[];function z(se){H.push(se)}function K(se){X.push(se)}Ta(d,{args:k,name:S[Dm],store:y,after:z,onError:K});let Y;try{Y=_.apply(this&&this.$id===t?this:y,k)}catch(se){throw Ta(X,se),se}return Y instanceof Promise?Y.then(se=>(Ta(H,se),se)).catch(se=>(Ta(X,se),Promise.reject(se))):(Ta(H,Y),Y)};return S[VS]=!0,S[Dm]=b,S},T=eo({actions:{},getters:{},state:[],hotState:C}),v={_p:r,$id:t,$onAction:xS.bind(null,d),$patch:N,$reset:A,$subscribe(_,b={}){const S=xS(h,_,b.detached,()=>k()),k=o.run(()=>Vt(()=>r.state.value[t],H=>{(b.flush==="sync"?u:c)&&_({storeId:t,type:hi.direct,events:w},H)},Pr({},l,b)));return S},$dispose:E},y=ps(xc?Pr({_hmrPayload:T,_customProperties:eo(new Set)},v):v);r._s.set(t,y);const m=(r._a&&r._a.runWithContext||JK)(()=>r._e.run(()=>(o=Tl()).run(()=>e({action:p}))));for(const _ in m){const b=m[_];if(Et(b)&&!t5(b)||rs(b))s||(R&&e5(b)&&(Et(b)?b.value=R[_]:N_(b,R[_])),r.state.value[t][_]=b);else if(typeof b=="function"){const S=p(b,_);m[_]=S,a.actions[_]=b}}if(Pr(y,m),Pr(We(y),m),Object.defineProperty(y,"$state",{get:()=>r.state.value[t],set:_=>{N(b=>{Pr(b,_)})}}),xc){const _={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(b=>{Object.defineProperty(y,b,Pr({value:y[b]},_))})}return r._p.forEach(_=>{if(xc){const b=o.run(()=>_({store:y,app:r._a,pinia:r,options:a}));Object.keys(b||{}).forEach(S=>y._customProperties.add(S)),Pr(y,b)}else Pr(y,o.run(()=>_({store:y,app:r._a,pinia:r,options:a})))}),R&&s&&n.hydrate&&n.hydrate(y.$state,R),c=!0,u=!0,y}function NJ(t,e,n){let r,i;const s=typeof e=="function";typeof t=="string"?(r=t,i=s?n:e):(i=t,r=t.id);function o(a,l){const c=sy();return a=a||(c?Ht(rO,null):null),a&&Hu(a),a=nO,a._s.has(r)||(s?dO(r,e,i,a):n5(r,i,a)),a._s.get(r)}return o.$id=r,o}function DJ(t){{t=We(t);const e={};for(const n in t){const r=t[n];(Et(r)||rs(r))&&(e[n]=Nd(t,n))}return e}}const r5=Xt({name:"pinia",setup(t){const e=XK();return t.vueApp.use(e),Hu(e),t.payload&&t.payload.pinia&&(e.state.value=t.payload.pinia),{provide:{pinia:e}}}}),i5=Xt({name:"nuxt:global-components"}),js={default:()=>Mr(()=>import("./BNHPXFWj.js"),__vite__mapDeps([7,8,9,2,1,5]),import.meta.url).then(t=>t.default||t),login:()=>Mr(()=>import("./D8Dzc6nF.js"),__vite__mapDeps([10,8,9]),import.meta.url).then(t=>t.default||t)},s5=Xt({name:"nuxt:prefetch",setup(t){const e=qn();t.hooks.hook("app:mounted",()=>{e.beforeEach(async n=>{var i;const r=(i=n==null?void 0:n.meta)==null?void 0:i.layout;r&&typeof js[r]=="function"&&await js[r]()})}),t.hooks.hook("link:prefetch",n=>{if(wi(n))return;const r=e.resolve(n);if(!r)return;const i=r.meta.layout;let s=ov(r.meta.middleware);s=s.filter(o=>typeof o=="string");for(const o of s)typeof Mc[o]=="function"&&Mc[o]();i&&typeof js[i]=="function"&&js[i]()})}}),o5=Xt(()=>({provide:{firebaseApp:EC(nr().public.vuefire.config)}})),a5=Xt(t=>{const e=t.$firebaseApp;return lG({initialUser:t.payload.vuefireUser,dependencies:{errorMap:ER,persistence:[o4,YH],popupRedirectResolver:K4}})(e,t.vueApp),{provide:{firebaseAuth:t.vueApp.runWithContext(()=>Ht(Hv))}}}),l5=Xt(t=>{const e=t.$firebaseApp;t.vueApp.use(uG,{firebaseApp:e})}),c5="__NUXT_COLOR_MODE__",LJ="ColorScheme",u5="nuxt-color-mode",Vi=window[c5]||{},f5=Xt(t=>{const e=qv("color-mode",()=>ps({preference:Vi.preference,value:Vi.value,unknown:!1,forced:!1})).value;qn().afterEach(i=>{const s=i.meta.colorMode;s&&s!=="system"?(e.value=s,e.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),e.forced=!1,e.value=e.preference==="system"?Vi.getColorScheme():e.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!e.forced&&e.preference==="system"&&(e.value=Vi.getColorScheme())}))}Vt(()=>e.preference,i=>{var s;e.forced||(i==="system"?(e.value=Vi.getColorScheme(),r()):e.value=i,(s=window.localStorage)==null||s.setItem(u5,i))},{immediate:!0}),Vt(()=>e.value,(i,s)=>{Vi.removeColorScheme(s),Vi.addColorScheme(i)}),e.preference==="system"&&r(),t.hook("app:mounted",()=>{e.unknown&&(e.preference=Vi.preference,e.value=Vi.value,e.unknown=!1)}),t.provide("colorMode",e)}),h5=Xt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(t){if(t.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const e=TK(),n=new RegExp([``,".+?",``].join(""),"g");t.hook("app:rendered",r=>{var i;((i=r.renderResult)==null?void 0:i.html)!=null&&(r.renderResult.html=r.renderResult.html.replaceAll(n,(s,o)=>s.replace(/href="([^"]+)"/,`href="${encodeURI(e(o??""))}"`)))})}});function d5(t,{locales:e=[],localeCodes:n=[],baseUrl:r="",hooks:i={},context:s={}}={}){const o=Tl(),a=t.install;return t.install=(l,...c)=>{const u=g5(c[0])?Gt({},c[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=C=>{const P=vl(t);C.locales=yt(()=>P.locales.value),C.localeCodes=yt(()=>P.localeCodes.value),C.baseUrl=yt(()=>P.baseUrl.value);let N;return ct(h)&&(N=Reflect.apply(h,u,[C])),()=>{N&&N()}},t.mode==="legacy"){const C=u.__vueI18nExtend;u.__vueI18nExtend=P=>{FS(P,i.onExtendVueI18n);let N;return ct(C)&&(N=Reflect.apply(C,u,[P])),()=>{N&&N()}}}c[0]=u,Reflect.apply(a,t,[l,...c]);const d=vl(t);o.run(()=>{p5(d,{locales:e,localeCodes:n,baseUrl:r,hooks:i,context:s}),t.mode==="legacy"&&w1(t.global)&&FS(t.global,i.onExtendVueI18n)});const w=l,R=t.mode==="composition"?w.config.globalProperties.$i18n:null;if(R&&m5(R,d,i.onExtendExportedGlobal),u.inject){const C=zv(t);l.mixin({methods:{getRouteBaseName:Bn(sa,C),resolveRoute:Bn(kp,C),localePath:Bn(Ip,C),localeRoute:Bn(Yv,C),localeLocation:Bn(ZG,C),switchLocalePath:Bn(wl,C),localeHead:Bn(S1,C)}})}if(w.unmount){const C=w.unmount;w.unmount=()=>{o.stop(),C()}}},o}function p5(t,e){const{locales:n,localeCodes:r,baseUrl:i,context:s}=e,o=ht(n),a=ht(r),l=ht("");t.locales=yt(()=>o.value),t.localeCodes=yt(()=>a.value),t.baseUrl=yt(()=>l.value),NG?Vt(t.locale,()=>{l.value=zT(i,s)},{immediate:!0}):l.value=zT(i,s),e.hooks&&e.hooks.onExtendComposer&&e.hooks.onExtendComposer(t)}function pO(t,e,n){const r=[{locales:{get(){return t.locales.value}},localeCodes:{get(){return t.localeCodes.value}},baseUrl:{get(){return t.baseUrl.value}}}];n&&r.push(n(t));for(const i of r)for(const[s,o]of Object.entries(i))Object.defineProperty(e,s,o)}function m5(t,e,n){pO(e,t,n)}function FS(t,e){const n=vl(t);pO(n,t,e)}function g5(t){return Ge(t)&&("inject"in t||"__composerExtend"in t||"__vueI18nExtend"in t)}function _5(){const{routesNameSeparator:t,defaultLocaleRouteNameSuffix:e}=nr().public.i18n,n=`(${ia.join("|")})`,r=`(?:${t}${e})?`,i=new RegExp(`${t}${n}${r}$`,"i"),s=fd(ia);return a=>{if(Ge(a)){if(a.name){const c=(Te(a.name)?a.name:a.name.toString()).match(i);if(c&&c.length>1)return c[1]}else if(a.path){const l=a.path.match(s);if(l&&l.length>1)return l[1]}}else if(Te(a)){const l=a.match(s);if(l&&l.length>1)return l[1]}return""}}const y5=Xt({name:"i18n:plugin",parallel:RG,async setup(t){let e,n;const r=zc(),{vueApp:i}=t,s=t,o={...s.$config.public.i18n};o.baseUrl=gq();const a=$u(),l=([e,n]=Fr(()=>WG(AG,it())),e=await e,n(),e);l.messages=l.messages||{},l.fallbackLocale=l.fallbackLocale??!1;const c=_5(),u=p=>p||l.locale||"en-US",h=yq();let d=JT(r,c,l.locale,u(o.defaultLocale),{ssg:o.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:Uf(h,a,o.defaultLocale)},o);l.messages=([e,n]=Fr(()=>GG(l.messages,ud,{localeCodes:ia,initialLocale:d,lazy:o.lazy,defaultLocale:o.defaultLocale,fallbackLocale:l.fallbackLocale})),e=await e,n(),e),d=u(d);const w=fK({...l,locale:d});let R=!0;const C=p=>d!==p&&R;let P=!0;const N=()=>P;N()&&o.strategy==="no_prefix"&&t.hook("app:mounted",()=>{const{locale:p,stat:T,reason:v,from:y}=a?O1(r,l.locale,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:Uf(h,a,o.defaultLocale)},d):P1;aq(w,p),P=!1}),d5(w,{locales:o.configLocales,localeCodes:ia,baseUrl:o.baseUrl,context:s,hooks:{onExtendComposer(p){p.strategy=o.strategy,p.localeProperties=yt(()=>Tp.find(T=>T.code===p.locale.value)||{code:p.locale.value}),p.setLocale=async T=>{const v=C(T);await XT(T,w,o,v)&&v&&(R=!1);const g=await s.runWithContext(()=>ZT({route:{to:r},targetLocale:T,routeLocaleGetter:c}));await s.runWithContext(async()=>await tS({nuxtApp:s,i18n:w,redirectPath:g,locale:T,route:r},{enableNavigate:!0}))},p.loadLocaleMessages=async T=>{await hd(T,ud,(y,g)=>C1(w,y,g))},p.differentDomains=o.differentDomains,p.defaultLocale=o.defaultLocale,p.getBrowserLocale=()=>R1(),p.getLocaleCookie=()=>Uf(h,a,o.defaultLocale),p.setLocaleCookie=T=>vq(h,T,a),p.onBeforeLanguageSwitch=(T,v,y,g)=>t.callHook("i18n:beforeLocaleSwitch",{oldLocale:T,newLocale:v,initialSetup:y,context:g}),p.onLanguageSwitched=(T,v)=>t.callHook("i18n:localeSwitched",{oldLocale:T,newLocale:v}),p.finalizePendingLocaleChange=async()=>{w.__pendingLocale&&(E1(w,w.__pendingLocale),w.__resolvePendingLocalePromise&&await w.__resolvePendingLocalePromise(),w.__pendingLocale=void 0)},p.waitForPendingLocaleChange=async()=>{w.__pendingLocale&&w.__pendingLocalePromise&&await w.__pendingLocalePromise}},onExtendExportedGlobal(p){return{strategy:{get(){return p.strategy}},localeProperties:{get(){return p.localeProperties.value}},setLocale:{get(){return async T=>Reflect.apply(p.setLocale,p,[T])}},differentDomains:{get(){return p.differentDomains}},defaultLocale:{get(){return p.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(p.getBrowserLocale,p,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(p.getLocaleCookie,p,[])}},setLocaleCookie:{get(){return T=>Reflect.apply(p.setLocaleCookie,p,[T])}},onBeforeLanguageSwitch:{get(){return(T,v,y,g)=>Reflect.apply(p.onBeforeLanguageSwitch,p,[T,v,y,g])}},onLanguageSwitched:{get(){return(T,v)=>Reflect.apply(p.onLanguageSwitched,p,[T,v])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(p.finalizePendingLocaleChange,p,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(p.waitForPendingLocaleChange,p,[])}}}},onExtendVueI18n(p){return{strategy:{get(){return p.strategy}},localeProperties:{get(){return p.localeProperties.value}},setLocale:{get(){return async T=>Reflect.apply(p.setLocale,p,[T])}},loadLocaleMessages:{get(){return async T=>Reflect.apply(p.loadLocaleMessages,p,[T])}},differentDomains:{get(){return p.differentDomains}},defaultLocale:{get(){return p.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(p.getBrowserLocale,p,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(p.getLocaleCookie,p,[])}},setLocaleCookie:{get(){return T=>Reflect.apply(p.setLocaleCookie,p,[T])}},onBeforeLanguageSwitch:{get(){return(T,v,y,g)=>Reflect.apply(p.onBeforeLanguageSwitch,p,[T,v,y,g])}},onLanguageSwitched:{get(){return(T,v)=>Reflect.apply(p.onLanguageSwitched,p,[T,v])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(p.finalizePendingLocaleChange,p,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(p.waitForPendingLocaleChange,p,[])}}}}}});const A={__composerExtend:p=>{const T=vl(w);return p.strategy=T.strategy,p.localeProperties=yt(()=>T.localeProperties.value),p.setLocale=T.setLocale,p.differentDomains=T.differentDomains,p.getBrowserLocale=T.getBrowserLocale,p.getLocaleCookie=T.getLocaleCookie,p.setLocaleCookie=T.setLocaleCookie,p.onBeforeLanguageSwitch=T.onBeforeLanguageSwitch,p.onLanguageSwitched=T.onLanguageSwitched,p.finalizePendingLocaleChange=T.finalizePendingLocaleChange,p.waitForPendingLocaleChange=T.waitForPendingLocaleChange,()=>{}}};i.use(w,A),dq(s,w);let E=0;Zx("locale-changing",async(p,T)=>{let v,y;const g=JT(p,c,l.locale,()=>Sp(w)||u(o.defaultLocale),{ssg:N()&&o.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:E===0,localeCookie:Uf(h,a,o.defaultLocale)},o),m=C(g);([v,y]=Fr(()=>XT(g,w,o,m)),v=await v,y(),v)&&m&&(R=!1);const b=([v,y]=Fr(()=>s.runWithContext(()=>ZT({route:{to:p,from:T},targetLocale:g,routeLocaleGetter:o.strategy==="no_prefix"?()=>g:c,calledWithRouting:!0}))),v=await v,y(),v);return E++,[v,y]=Fr(()=>s.runWithContext(async()=>tS({nuxtApp:s,i18n:w,redirectPath:b,locale:g,route:p}))),v=await v,y(),v},{global:!0})}});var mO=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gO(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function v5(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var _O={exports:{}};/*! +Only state can be modified.`);o[0]="$state",Na=!1,r.set(s,o,r.state.value),Na=!0}})})}function zK(t,e){fh.includes(gd(e.$id))||fh.push(gd(e.$id)),fp({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:fh,app:t,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const r=typeof n.now=="function"?n.now.bind(n):Date.now;e.$onAction(({after:o,onError:a,name:l,args:c})=>{const u=fO++;n.addTimelineEvent({layerId:Ro,event:{time:r(),title:"🛫 "+l,subtitle:"start",data:{store:Or(e.$id),action:Or(l),args:c},groupId:u}}),o(h=>{Us=void 0,n.addTimelineEvent({layerId:Ro,event:{time:r(),title:"🛬 "+l,subtitle:"end",data:{store:Or(e.$id),action:Or(l),args:c,result:h},groupId:u}})}),a(h=>{Us=void 0,n.addTimelineEvent({layerId:Ro,event:{time:r(),logType:"error",title:"💥 "+l,subtitle:"end",data:{store:Or(e.$id),action:Or(l),args:c,error:h},groupId:u}})})},!0),e._customProperties.forEach(o=>{Vt(()=>_t(e[o]),(a,l)=>{n.notifyComponentUpdate(),n.sendInspectorState(kn),Na&&n.addTimelineEvent({layerId:Ro,event:{time:r(),title:"Change",subtitle:o,data:{newValue:a,oldValue:l},groupId:Us}})},{deep:!0})}),e.$subscribe(({events:o,type:a},l)=>{if(n.notifyComponentUpdate(),n.sendInspectorState(kn),!Na)return;const c={time:r(),title:qK(a),data:YK({store:Or(e.$id)},GK(o)),groupId:Us};a===hi.patchFunction?c.subtitle="⤵️":a===hi.patchObject?c.subtitle="🧩":o&&!Array.isArray(o)&&(c.subtitle=o.type),o&&(c.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:o}}),n.addTimelineEvent({layerId:Ro,event:c})},{detached:!0,flush:"sync"});const i=e._hotUpdate;e._hotUpdate=eo(o=>{i(o),n.addTimelineEvent({layerId:Ro,event:{time:r(),title:"🔥 "+e.$id,subtitle:"HMR update",data:{store:Or(e.$id),info:Or("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree(kn),n.sendInspectorState(kn)});const{$dispose:s}=e;e.$dispose=()=>{s(),n.notifyComponentUpdate(),n.sendInspectorTree(kn),n.sendInspectorState(kn),n.getSettings().logStoreChanges&&cn(`Disposed "${e.$id}" store 🗑`)},n.notifyComponentUpdate(),n.sendInspectorTree(kn),n.sendInspectorState(kn),n.getSettings().logStoreChanges&&cn(`"${e.$id}" store installed 🆕`)})}let fO=0,Us;function MS(t,e,n){const r=e.reduce((i,s)=>(i[s]=We(t)[s],i),{});for(const i in r)t[i]=function(){const s=fO,o=n?new Proxy(t,{get(...l){return Us=s,Reflect.get(...l)},set(...l){return Us=s,Reflect.set(...l)}}):t;Us=s;const a=r[i].apply(o,arguments);return Us=void 0,a}}function QK({app:t,store:e,options:n}){if(!e.$id.startsWith("__hot:")){if(e._isOptionsAPI=!!n.state,!e._p._testing){MS(e,Object.keys(n.actions),e._isOptionsAPI);const r=e._hotUpdate;We(e)._hotUpdate=function(i){r.apply(this,arguments),MS(e,Object.keys(i._hmrPayload.actions),!!e._isOptionsAPI)}}zK(t,e)}}function XK(){const t=Tl(!0),e=t.run(()=>ht({}));let n=[],r=[];const i=eo({install(s){Hu(i),i._a=s,s.provide(rO,i),s.config.globalProperties.$pinia=i,xc&&KK(s,i),r.forEach(o=>n.push(o)),r=[]},use(s){return!this._a&&!e9?r.push(s):n.push(s),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return typeof Proxy<"u"&&i.use(QK),i}const hO=()=>{};function xS(t,e,n,r=hO){t.push(e);const i=()=>{const s=t.indexOf(e);s>-1&&(t.splice(s,1),r())};return!n&&la()&&Ja(i),i}function Ta(t,...e){t.slice().forEach(n=>{n(...e)})}const JK=t=>t(),VS=Symbol(),Dm=Symbol();function N_(t,e){t instanceof Map&&e instanceof Map?e.forEach((n,r)=>t.set(r,n)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n],i=t[n];O_(i)&&O_(r)&&t.hasOwnProperty(n)&&!Et(r)&&!rs(r)?t[n]=N_(i,r):t[n]=r}return t}const ZK=Symbol();function e5(t){return!O_(t)||!t.hasOwnProperty(ZK)}const{assign:Pr}=Object;function t5(t){return!!(Et(t)&&t.effect)}function n5(t,e,n,r){const{state:i,actions:s,getters:o}=e,a=n.state.value[t];let l;function c(){a||(n.state.value[t]=i?i():{});const u=wD(n.state.value[t]);return Pr(u,s,Object.keys(o||{}).reduce((h,d)=>(h[d]=eo(yt(()=>{Hu(n);const w=n._s.get(t);return o[d].call(w,w)})),h),{}))}return l=dO(t,c,e,n,r,!0),l}function dO(t,e,n={},r,i,s){let o;const a=Pr({actions:{}},n),l={deep:!0};let c,u,h=[],d=[],w;const R=r.state.value[t];!s&&!R&&(r.state.value[t]={});const C=ht({});let P;function N(_){let b;c=u=!1,typeof _=="function"?(_(r.state.value[t]),b={type:hi.patchFunction,storeId:t,events:w}):(N_(r.state.value[t],_),b={type:hi.patchObject,payload:_,storeId:t,events:w});const S=P=Symbol();Qr().then(()=>{P===S&&(c=!0)}),u=!0,Ta(h,b,r.state.value[t])}const A=s?function(){const{state:b}=n,S=b?b():{};this.$patch(k=>{Pr(k,S)})}:hO;function E(){o.stop(),h=[],d=[],r._s.delete(t)}const p=(_,b="")=>{if(VS in _)return _[Dm]=b,_;const S=function(){Hu(r);const k=Array.from(arguments),H=[],X=[];function z(se){H.push(se)}function K(se){X.push(se)}Ta(d,{args:k,name:S[Dm],store:y,after:z,onError:K});let Y;try{Y=_.apply(this&&this.$id===t?this:y,k)}catch(se){throw Ta(X,se),se}return Y instanceof Promise?Y.then(se=>(Ta(H,se),se)).catch(se=>(Ta(X,se),Promise.reject(se))):(Ta(H,Y),Y)};return S[VS]=!0,S[Dm]=b,S},T=eo({actions:{},getters:{},state:[],hotState:C}),v={_p:r,$id:t,$onAction:xS.bind(null,d),$patch:N,$reset:A,$subscribe(_,b={}){const S=xS(h,_,b.detached,()=>k()),k=o.run(()=>Vt(()=>r.state.value[t],H=>{(b.flush==="sync"?u:c)&&_({storeId:t,type:hi.direct,events:w},H)},Pr({},l,b)));return S},$dispose:E},y=ps(xc?Pr({_hmrPayload:T,_customProperties:eo(new Set)},v):v);r._s.set(t,y);const m=(r._a&&r._a.runWithContext||JK)(()=>r._e.run(()=>(o=Tl()).run(()=>e({action:p}))));for(const _ in m){const b=m[_];if(Et(b)&&!t5(b)||rs(b))s||(R&&e5(b)&&(Et(b)?b.value=R[_]:N_(b,R[_])),r.state.value[t][_]=b);else if(typeof b=="function"){const S=p(b,_);m[_]=S,a.actions[_]=b}}if(Pr(y,m),Pr(We(y),m),Object.defineProperty(y,"$state",{get:()=>r.state.value[t],set:_=>{N(b=>{Pr(b,_)})}}),xc){const _={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(b=>{Object.defineProperty(y,b,Pr({value:y[b]},_))})}return r._p.forEach(_=>{if(xc){const b=o.run(()=>_({store:y,app:r._a,pinia:r,options:a}));Object.keys(b||{}).forEach(S=>y._customProperties.add(S)),Pr(y,b)}else Pr(y,o.run(()=>_({store:y,app:r._a,pinia:r,options:a})))}),R&&s&&n.hydrate&&n.hydrate(y.$state,R),c=!0,u=!0,y}function NJ(t,e,n){let r,i;const s=typeof e=="function";typeof t=="string"?(r=t,i=s?n:e):(i=t,r=t.id);function o(a,l){const c=sy();return a=a||(c?Ht(rO,null):null),a&&Hu(a),a=nO,a._s.has(r)||(s?dO(r,e,i,a):n5(r,i,a)),a._s.get(r)}return o.$id=r,o}function DJ(t){{t=We(t);const e={};for(const n in t){const r=t[n];(Et(r)||rs(r))&&(e[n]=Nd(t,n))}return e}}const r5=Xt({name:"pinia",setup(t){const e=XK();return t.vueApp.use(e),Hu(e),t.payload&&t.payload.pinia&&(e.state.value=t.payload.pinia),{provide:{pinia:e}}}}),i5=Xt({name:"nuxt:global-components"}),js={default:()=>Mr(()=>import("./Cdv6vk6s.js"),__vite__mapDeps([7,8,9,2,1,5]),import.meta.url).then(t=>t.default||t),login:()=>Mr(()=>import("./DOkcDheY.js"),__vite__mapDeps([10,8,9]),import.meta.url).then(t=>t.default||t)},s5=Xt({name:"nuxt:prefetch",setup(t){const e=qn();t.hooks.hook("app:mounted",()=>{e.beforeEach(async n=>{var i;const r=(i=n==null?void 0:n.meta)==null?void 0:i.layout;r&&typeof js[r]=="function"&&await js[r]()})}),t.hooks.hook("link:prefetch",n=>{if(wi(n))return;const r=e.resolve(n);if(!r)return;const i=r.meta.layout;let s=ov(r.meta.middleware);s=s.filter(o=>typeof o=="string");for(const o of s)typeof Mc[o]=="function"&&Mc[o]();i&&typeof js[i]=="function"&&js[i]()})}}),o5=Xt(()=>({provide:{firebaseApp:EC(nr().public.vuefire.config)}})),a5=Xt(t=>{const e=t.$firebaseApp;return lG({initialUser:t.payload.vuefireUser,dependencies:{errorMap:ER,persistence:[o4,YH],popupRedirectResolver:K4}})(e,t.vueApp),{provide:{firebaseAuth:t.vueApp.runWithContext(()=>Ht(Hv))}}}),l5=Xt(t=>{const e=t.$firebaseApp;t.vueApp.use(uG,{firebaseApp:e})}),c5="__NUXT_COLOR_MODE__",LJ="ColorScheme",u5="nuxt-color-mode",Vi=window[c5]||{},f5=Xt(t=>{const e=qv("color-mode",()=>ps({preference:Vi.preference,value:Vi.value,unknown:!1,forced:!1})).value;qn().afterEach(i=>{const s=i.meta.colorMode;s&&s!=="system"?(e.value=s,e.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),e.forced=!1,e.value=e.preference==="system"?Vi.getColorScheme():e.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!e.forced&&e.preference==="system"&&(e.value=Vi.getColorScheme())}))}Vt(()=>e.preference,i=>{var s;e.forced||(i==="system"?(e.value=Vi.getColorScheme(),r()):e.value=i,(s=window.localStorage)==null||s.setItem(u5,i))},{immediate:!0}),Vt(()=>e.value,(i,s)=>{Vi.removeColorScheme(s),Vi.addColorScheme(i)}),e.preference==="system"&&r(),t.hook("app:mounted",()=>{e.unknown&&(e.preference=Vi.preference,e.value=Vi.value,e.unknown=!1)}),t.provide("colorMode",e)}),h5=Xt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(t){if(t.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const e=TK(),n=new RegExp([``,".+?",``].join(""),"g");t.hook("app:rendered",r=>{var i;((i=r.renderResult)==null?void 0:i.html)!=null&&(r.renderResult.html=r.renderResult.html.replaceAll(n,(s,o)=>s.replace(/href="([^"]+)"/,`href="${encodeURI(e(o??""))}"`)))})}});function d5(t,{locales:e=[],localeCodes:n=[],baseUrl:r="",hooks:i={},context:s={}}={}){const o=Tl(),a=t.install;return t.install=(l,...c)=>{const u=g5(c[0])?Gt({},c[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=C=>{const P=vl(t);C.locales=yt(()=>P.locales.value),C.localeCodes=yt(()=>P.localeCodes.value),C.baseUrl=yt(()=>P.baseUrl.value);let N;return ct(h)&&(N=Reflect.apply(h,u,[C])),()=>{N&&N()}},t.mode==="legacy"){const C=u.__vueI18nExtend;u.__vueI18nExtend=P=>{FS(P,i.onExtendVueI18n);let N;return ct(C)&&(N=Reflect.apply(C,u,[P])),()=>{N&&N()}}}c[0]=u,Reflect.apply(a,t,[l,...c]);const d=vl(t);o.run(()=>{p5(d,{locales:e,localeCodes:n,baseUrl:r,hooks:i,context:s}),t.mode==="legacy"&&w1(t.global)&&FS(t.global,i.onExtendVueI18n)});const w=l,R=t.mode==="composition"?w.config.globalProperties.$i18n:null;if(R&&m5(R,d,i.onExtendExportedGlobal),u.inject){const C=zv(t);l.mixin({methods:{getRouteBaseName:Bn(sa,C),resolveRoute:Bn(kp,C),localePath:Bn(Ip,C),localeRoute:Bn(Yv,C),localeLocation:Bn(ZG,C),switchLocalePath:Bn(wl,C),localeHead:Bn(S1,C)}})}if(w.unmount){const C=w.unmount;w.unmount=()=>{o.stop(),C()}}},o}function p5(t,e){const{locales:n,localeCodes:r,baseUrl:i,context:s}=e,o=ht(n),a=ht(r),l=ht("");t.locales=yt(()=>o.value),t.localeCodes=yt(()=>a.value),t.baseUrl=yt(()=>l.value),NG?Vt(t.locale,()=>{l.value=zT(i,s)},{immediate:!0}):l.value=zT(i,s),e.hooks&&e.hooks.onExtendComposer&&e.hooks.onExtendComposer(t)}function pO(t,e,n){const r=[{locales:{get(){return t.locales.value}},localeCodes:{get(){return t.localeCodes.value}},baseUrl:{get(){return t.baseUrl.value}}}];n&&r.push(n(t));for(const i of r)for(const[s,o]of Object.entries(i))Object.defineProperty(e,s,o)}function m5(t,e,n){pO(e,t,n)}function FS(t,e){const n=vl(t);pO(n,t,e)}function g5(t){return Ge(t)&&("inject"in t||"__composerExtend"in t||"__vueI18nExtend"in t)}function _5(){const{routesNameSeparator:t,defaultLocaleRouteNameSuffix:e}=nr().public.i18n,n=`(${ia.join("|")})`,r=`(?:${t}${e})?`,i=new RegExp(`${t}${n}${r}$`,"i"),s=fd(ia);return a=>{if(Ge(a)){if(a.name){const c=(Te(a.name)?a.name:a.name.toString()).match(i);if(c&&c.length>1)return c[1]}else if(a.path){const l=a.path.match(s);if(l&&l.length>1)return l[1]}}else if(Te(a)){const l=a.match(s);if(l&&l.length>1)return l[1]}return""}}const y5=Xt({name:"i18n:plugin",parallel:RG,async setup(t){let e,n;const r=zc(),{vueApp:i}=t,s=t,o={...s.$config.public.i18n};o.baseUrl=gq();const a=$u(),l=([e,n]=Fr(()=>WG(AG,it())),e=await e,n(),e);l.messages=l.messages||{},l.fallbackLocale=l.fallbackLocale??!1;const c=_5(),u=p=>p||l.locale||"en-US",h=yq();let d=JT(r,c,l.locale,u(o.defaultLocale),{ssg:o.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:Uf(h,a,o.defaultLocale)},o);l.messages=([e,n]=Fr(()=>GG(l.messages,ud,{localeCodes:ia,initialLocale:d,lazy:o.lazy,defaultLocale:o.defaultLocale,fallbackLocale:l.fallbackLocale})),e=await e,n(),e),d=u(d);const w=fK({...l,locale:d});let R=!0;const C=p=>d!==p&&R;let P=!0;const N=()=>P;N()&&o.strategy==="no_prefix"&&t.hook("app:mounted",()=>{const{locale:p,stat:T,reason:v,from:y}=a?O1(r,l.locale,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:Uf(h,a,o.defaultLocale)},d):P1;aq(w,p),P=!1}),d5(w,{locales:o.configLocales,localeCodes:ia,baseUrl:o.baseUrl,context:s,hooks:{onExtendComposer(p){p.strategy=o.strategy,p.localeProperties=yt(()=>Tp.find(T=>T.code===p.locale.value)||{code:p.locale.value}),p.setLocale=async T=>{const v=C(T);await XT(T,w,o,v)&&v&&(R=!1);const g=await s.runWithContext(()=>ZT({route:{to:r},targetLocale:T,routeLocaleGetter:c}));await s.runWithContext(async()=>await tS({nuxtApp:s,i18n:w,redirectPath:g,locale:T,route:r},{enableNavigate:!0}))},p.loadLocaleMessages=async T=>{await hd(T,ud,(y,g)=>C1(w,y,g))},p.differentDomains=o.differentDomains,p.defaultLocale=o.defaultLocale,p.getBrowserLocale=()=>R1(),p.getLocaleCookie=()=>Uf(h,a,o.defaultLocale),p.setLocaleCookie=T=>vq(h,T,a),p.onBeforeLanguageSwitch=(T,v,y,g)=>t.callHook("i18n:beforeLocaleSwitch",{oldLocale:T,newLocale:v,initialSetup:y,context:g}),p.onLanguageSwitched=(T,v)=>t.callHook("i18n:localeSwitched",{oldLocale:T,newLocale:v}),p.finalizePendingLocaleChange=async()=>{w.__pendingLocale&&(E1(w,w.__pendingLocale),w.__resolvePendingLocalePromise&&await w.__resolvePendingLocalePromise(),w.__pendingLocale=void 0)},p.waitForPendingLocaleChange=async()=>{w.__pendingLocale&&w.__pendingLocalePromise&&await w.__pendingLocalePromise}},onExtendExportedGlobal(p){return{strategy:{get(){return p.strategy}},localeProperties:{get(){return p.localeProperties.value}},setLocale:{get(){return async T=>Reflect.apply(p.setLocale,p,[T])}},differentDomains:{get(){return p.differentDomains}},defaultLocale:{get(){return p.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(p.getBrowserLocale,p,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(p.getLocaleCookie,p,[])}},setLocaleCookie:{get(){return T=>Reflect.apply(p.setLocaleCookie,p,[T])}},onBeforeLanguageSwitch:{get(){return(T,v,y,g)=>Reflect.apply(p.onBeforeLanguageSwitch,p,[T,v,y,g])}},onLanguageSwitched:{get(){return(T,v)=>Reflect.apply(p.onLanguageSwitched,p,[T,v])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(p.finalizePendingLocaleChange,p,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(p.waitForPendingLocaleChange,p,[])}}}},onExtendVueI18n(p){return{strategy:{get(){return p.strategy}},localeProperties:{get(){return p.localeProperties.value}},setLocale:{get(){return async T=>Reflect.apply(p.setLocale,p,[T])}},loadLocaleMessages:{get(){return async T=>Reflect.apply(p.loadLocaleMessages,p,[T])}},differentDomains:{get(){return p.differentDomains}},defaultLocale:{get(){return p.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(p.getBrowserLocale,p,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(p.getLocaleCookie,p,[])}},setLocaleCookie:{get(){return T=>Reflect.apply(p.setLocaleCookie,p,[T])}},onBeforeLanguageSwitch:{get(){return(T,v,y,g)=>Reflect.apply(p.onBeforeLanguageSwitch,p,[T,v,y,g])}},onLanguageSwitched:{get(){return(T,v)=>Reflect.apply(p.onLanguageSwitched,p,[T,v])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(p.finalizePendingLocaleChange,p,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(p.waitForPendingLocaleChange,p,[])}}}}}});const A={__composerExtend:p=>{const T=vl(w);return p.strategy=T.strategy,p.localeProperties=yt(()=>T.localeProperties.value),p.setLocale=T.setLocale,p.differentDomains=T.differentDomains,p.getBrowserLocale=T.getBrowserLocale,p.getLocaleCookie=T.getLocaleCookie,p.setLocaleCookie=T.setLocaleCookie,p.onBeforeLanguageSwitch=T.onBeforeLanguageSwitch,p.onLanguageSwitched=T.onLanguageSwitched,p.finalizePendingLocaleChange=T.finalizePendingLocaleChange,p.waitForPendingLocaleChange=T.waitForPendingLocaleChange,()=>{}}};i.use(w,A),dq(s,w);let E=0;Zx("locale-changing",async(p,T)=>{let v,y;const g=JT(p,c,l.locale,()=>Sp(w)||u(o.defaultLocale),{ssg:N()&&o.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:E===0,localeCookie:Uf(h,a,o.defaultLocale)},o),m=C(g);([v,y]=Fr(()=>XT(g,w,o,m)),v=await v,y(),v)&&m&&(R=!1);const b=([v,y]=Fr(()=>s.runWithContext(()=>ZT({route:{to:p,from:T},targetLocale:g,routeLocaleGetter:o.strategy==="no_prefix"?()=>g:c,calledWithRouting:!0}))),v=await v,y(),v);return E++,[v,y]=Fr(()=>s.runWithContext(async()=>tS({nuxtApp:s,i18n:w,redirectPath:b,locale:g,route:p}))),v=await v,y(),v},{global:!0})}});var mO=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gO(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function v5(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var _O={exports:{}};/*! * dist/inputmask * https://github.com/RobinHerbots/Inputmask * Copyright (c) 2010 - 2024 Robin Herbots @@ -4404,4 +4404,4 @@ Se.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_ao * Released under the MIT license */(function(t,e){(function(n,r){try{t.exports=r(SQ)}catch{t.exports=r}n&&(n.momentDurationFormatSetup=n.moment?r(n.moment):r)})(mO,function(n){var r=!1,i=!1,s=!1,o=!1,a="escape years months weeks days hours minutes seconds milliseconds general".split(" "),l=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function c(U,L){return L.length>U.length?!1:U.indexOf(L)!==-1}function u(U){for(var L="";U;)L+="0",U-=1;return L}function h(U){for(var L=U.split("").reverse(),$=0,re=!0;re&&$0&&(pe.maximumSignificantDigits=x),s){if(!o){var ge=H({},L);ge.useGrouping=!1,ge.decimalSeparator=".",U=parseFloat(w(U,ge),10)}return d($,pe).format(U)}else{if(!i){var ge=H({},L);ge.useGrouping=!1,ge.decimalSeparator=".",U=parseFloat(w(U,ge),10)}return U.toLocaleString($,pe)}}var j;x?j=U.toPrecision(x+1):j=U.toFixed(J+1);var D,M,G,ne=j.split("e");G=ne[1]||"",ne=ne[0].split("."),M=ne[1]||"",D=ne[0]||"";var Z=D.length,q=M.length,ee=Z+q,_e=D+M;(x&&ee===x+1||!x&&q===J+1)&&(_e=h(_e),_e.length===ee+1&&(Z=Z+1),q&&(_e=_e.slice(0,-1)),D=_e.slice(0,Z),M=_e.slice(Z)),x&&(M=M.replace(/0*$/,""));var ve=parseInt(G,10);ve>0?M.length<=ve?(M=M+u(ve-M.length),D=D+M,M=""):(D=D+M.slice(0,ve),M=M.slice(ve)):ve<0&&(M=u(Math.abs(ve)-D.length)+D+M,D="0"),x||(M=M.slice(0,J),M.lengthL.label.length?-1:U.label.length0,De=He?L.precision:0,Ir=De,nn=L.minValue,Fn=!1,Mt=L.maxValue,bt=!1,En=L.useToLocaleString,vs=L.groupingSeparator,Tt=L.decimalSeparator,dr=L.grouping;En=En&&(r||s);var xt=L.trim;A(xt)&&(xt=xt.join(" ")),xt===null&&(D||Mt||He)&&(xt="all"),(xt===null||xt===!0||xt==="left"||xt==="right")&&(xt="large"),xt===!1&&(xt="");var Ut=function(fe){return fe.test(xt)},dn=/large/,ws=/small/,Jr=/both/,ki=/mid/,Zr=/^all|[^sm]all/,Ku=/final/,pn=D>0||z([dn,Jr,Zr],Ut),zu=z([ws,Jr,Zr],Ut),mo=z([ki,Zr],Ut),go=z([Ku,Zr],Ut),Qu=y(pe.match(le),function(fe,je){var Fe=ae(fe);return fe.slice(0,1)==="*"&&(fe=fe.slice(1),Fe!=="escape"&&Fe!=="general"&&M.push(Fe)),{index:je,length:fe.length,text:"",token:Fe==="escape"?fe.replace(J.escape,"$1"):fe,type:Fe==="escape"||Fe==="general"?null:Fe}}),pr={index:0,length:0,token:"",text:"",type:null},mn=[];Z&&Qu.reverse(),v(Qu,function(fe){if(fe.type){(pr.type||pr.text)&&mn.push(pr),pr=fe;return}Z?pr.text=fe.token+pr.text:pr.text+=fe.token}),(pr.type||pr.text)&&mn.push(pr),Z&&mn.reverse();var Be=b(a,_(m(g(mn,"type"))));if(!Be.length)return g(mn,"text").join("");Be=y(Be,function(fe,je){var Fe=je+1===Be.length,Ot=!je,Cr;fe==="years"||fe==="months"?Cr=x.as(fe):Cr=oe.as(fe);var ei=Math.floor(Cr),Ri=Cr-ei,Pi=T(mn,function(rn){return fe===rn.type});return Ot&&Mt&&Cr>Mt&&(bt=!0),Fe&&nn&&Math.abs(L.duration.as(fe))1&&(_e=!0),oe.subtract(ei,fe),x.subtract(ei,fe),{rawValue:Cr,wholeValue:ei,decimalValue:Fe?Ri:0,isSmallest:Fe,isLargest:Ot,type:fe,tokenLength:Pi.length}});var Xu=ke?Math.floor:Math.round,Ci=function(fe,je){var Fe=Math.pow(10,je);return Xu(fe*Fe)/Fe},_o=!1,Ai=!1,yo=function(fe,je){var Fe={useGrouping:ve,groupingSeparator:vs,decimalSeparator:Tt,grouping:dr,useToLocaleString:En};return He&&(De<=0?(fe.rawValue=0,fe.wholeValue=0,fe.decimalValue=0):(Fe.maximumSignificantDigits=De,fe.significantDigits=De)),bt&&!Ai&&(fe.isLargest?(fe.wholeValue=Mt,fe.decimalValue=0):(fe.wholeValue=0,fe.decimalValue=0)),Fn&&!Ai&&(fe.isSmallest?(fe.wholeValue=nn,fe.decimalValue=0):(fe.wholeValue=0,fe.decimalValue=0)),fe.isSmallest||fe.significantDigits&&fe.significantDigits-fe.wholeValue.toString().length<=0?ee<0?fe.value=Ci(fe.wholeValue,ee):ee===0?fe.value=Xu(fe.wholeValue+fe.decimalValue):He?(ke?fe.value=Ci(fe.rawValue,De-fe.wholeValue.toString().length):fe.value=fe.rawValue,fe.wholeValue&&(De-=fe.wholeValue.toString().length)):(Fe.fractionDigits=ee,ke?fe.value=fe.wholeValue+Ci(fe.decimalValue,ee):fe.value=fe.wholeValue+fe.decimalValue):He&&fe.wholeValue?(fe.value=Math.round(Ci(fe.wholeValue,fe.significantDigits-fe.wholeValue.toString().length)),De-=fe.wholeValue.toString().length):fe.value=fe.wholeValue,fe.tokenLength>1&&(_e||_o)&&(Fe.minimumIntegerDigits=fe.tokenLength,Ai&&Fe.maximumSignificantDigits0||xt===""||T(M,fe.type)||T(ge,fe.type))&&(_o=!0),fe.formattedValue=w(fe.value,Fe,ne),Fe.useGrouping=!1,Fe.decimalSeparator=".",fe.formattedValueEn=w(fe.value,Fe,"en"),fe.tokenLength===2&&fe.type==="milliseconds"&&(fe.formattedValueMS=w(fe.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),fe};if(Be=y(Be,yo),Be=m(Be),Be.length>1){var kr=function(fe){return T(Be,function(je){return je.type===fe})},Ju=function(fe){var je=kr(fe.type);je&&v(fe.targets,function(Fe){var Ot=kr(Fe.type);Ot&&parseInt(je.formattedValueEn,10)===Fe.value&&(je.rawValue=0,je.wholeValue=0,je.decimalValue=0,Ot.rawValue+=1,Ot.wholeValue+=1,Ot.decimalValue=0,Ot.formattedValueEn=Ot.wholeValue.toString(),Ai=!0)})};v(l,Ju)}return Ai&&(_o=!1,De=Ir,Be=y(Be,yo),Be=m(Be)),ge&&!(bt&&!L.trim)?(Be=y(Be,function(fe){return T(ge,function(je){return fe.type===je})?fe:null}),Be=m(Be)):(pn&&(Be=S(Be,function(fe){return!fe.isSmallest&&!fe.wholeValue&&!T(M,fe.type)})),D&&Be.length&&(Be=Be.slice(0,D)),zu&&Be.length>1&&(Be=k(Be,function(fe){return!fe.wholeValue&&!T(M,fe.type)&&!fe.isLargest})),mo&&(Be=y(Be,function(fe,je){return je>0&&je ",bt=!1,Fn=!1),ie&&(je.value>0||xt===""||T(M,je.type)||T(ge,je.type))&&(Fe+="-",ie=!1),fe.type==="milliseconds"&&je.formattedValueMS?Fe+=je.formattedValueMS:Fe+=je.formattedValue,Z||(Fe+=fe.text),Fe}),mn.join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function Q(){var U=this.duration,L=function(oe){return U._data[oe]},$=T(this.types,L),re=p(this.types,L);switch($){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if($===re)return"d __";case"weeks":return $===re?"w __":(this.trim===null&&(this.trim="both"),"w __, d __, h __");case"months":if($===re)return"M __";case"years":return $===re?"y __":(this.trim===null&&(this.trim="both"),"y __, M __, d __");default:return this.trim===null&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function ue(U){if(!U)throw"Moment Duration Format init cannot find moment instance.";U.duration.format=W,U.duration.fn.format=te,U.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:Q,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},U.updateLocale("en",N)}var he=function(U,L,$){return U.toLocaleString(L,$)};r=Y()&&V(he),i=r&&se(he);var me=function(U,L,$){if(typeof window<"u"&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(L,$).format(U)};return s=V(me),o=s&&se(me),ue(n),ue})})(cN);var IQ=cN.exports;const kQ=gO(IQ),CQ=Xt(t=>{var s;const e=t.$i18n,{locale:n,locales:r}=e,i=(s=r.value.find(o=>o.code===n.value))==null?void 0:s.iso;return kQ(Se),Se.locale(i),t.hook("i18n:localeSwitched",({oldLocale:o,newLocale:a})=>{var c;const l=(c=r.value.find(u=>u.code===a))==null?void 0:c.iso;Se.locale(l)}),{provide:{moment:Se}}});function uN(t){return la()?(Ja(t),!0):!1}function Fc(t){return typeof t=="function"?t():_t(t)}const fN=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const AQ=Object.prototype.toString,RQ=t=>AQ.call(t)==="[object Object]",Uc=()=>{},j_=PQ();function PQ(){var t,e;return fN&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function OQ(t,e){function n(...r){return new Promise((i,s)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(i).catch(s)})}return n}const hN=t=>t();function NQ(t=hN){const e=ht(!0);function n(){e.value=!1}function r(){e.value=!0}const i=(...s)=>{e.value&&t(...s)};return{isActive:Pd(e),pause:n,resume:r,eventFilter:i}}const GS={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function MJ(t,e){var n;if(typeof t=="number")return t+e;const r=((n=t.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",i=t.slice(r.length),s=Number.parseFloat(r)+e;return Number.isNaN(s)?t:s+i}function DQ(t){return Vn()}function LQ(...t){if(t.length!==1)return Nd(...t);const e=t[0];return typeof e=="function"?Pd(Q_(()=>({get:e,set:Uc}))):ht(e)}function MQ(t,e,n={}){const{eventFilter:r=hN,...i}=n;return Vt(t,OQ(r,e),i)}function xJ(t,e,n={}){const{eventFilter:r,...i}=n,{eventFilter:s,pause:o,resume:a,isActive:l}=NQ(r);return{stop:MQ(t,e,{...i,eventFilter:s}),pause:o,resume:a,isActive:l}}function VJ(t,e=!0,n){DQ()?Il(t,n):e?t():Qr(t)}function _c(t){var e;const n=Fc(t);return(e=n==null?void 0:n.$el)!=null?e:n}const dN=fN?window:void 0;function mh(...t){let e,n,r,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,i]=t,e=dN):[e,n,r,i]=t,!e)return Uc;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],o=()=>{s.forEach(u=>u()),s.length=0},a=(u,h,d,w)=>(u.addEventListener(h,d,w),()=>u.removeEventListener(h,d,w)),l=Vt(()=>[_c(e),Fc(i)],([u,h])=>{if(o(),!u)return;const d=RQ(h)?{...h}:h;s.push(...n.flatMap(w=>r.map(R=>a(u,w,R,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return uN(c),c}let qS=!1;function YS(t,e,n={}){const{window:r=dN,ignore:i=[],capture:s=!0,detectIframe:o=!1}=n;if(!r)return Uc;j_&&!qS&&(qS=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",Uc)),r.document.documentElement.addEventListener("click",Uc));let a=!0;const l=d=>i.some(w=>{if(typeof w=="string")return Array.from(r.document.querySelectorAll(w)).some(R=>R===d.target||d.composedPath().includes(R));{const R=_c(w);return R&&(d.target===R||d.composedPath().includes(R))}}),u=[mh(r,"click",d=>{const w=_c(t);if(!(!w||w===d.target||d.composedPath().includes(w))){if(d.detail===0&&(a=!l(d)),!a){a=!0;return}e(d)}},{passive:!0,capture:s}),mh(r,"pointerdown",d=>{const w=_c(t);a=!l(d)&&!!(w&&!d.composedPath().includes(w))},{passive:!0}),o&&mh(r,"blur",d=>{setTimeout(()=>{var w;const R=_c(t);((w=r.document.activeElement)==null?void 0:w.tagName)==="IFRAME"&&!(R!=null&&R.contains(r.document.activeElement))&&e(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}const xQ={[GS.mounted](t,e){const n=!e.modifiers.bubble;if(typeof e.value=="function")t.__onClickOutside_stop=YS(t,e.value,{capture:n});else{const[r,i]=e.value;t.__onClickOutside_stop=YS(t,r,Object.assign({capture:n},i))}},[GS.unmounted](t){t.__onClickOutside_stop()}};function Fm(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function pN(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth1?!0:(e.preventDefault&&e.preventDefault(),!1)}const Um=new WeakMap;function FQ(t,e=!1){const n=ht(e);let r=null,i="";Vt(LQ(t),a=>{const l=Fm(Fc(a));if(l){const c=l;if(Um.get(c)||Um.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(i=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const s=()=>{const a=Fm(Fc(t));!a||n.value||(j_&&(r=mh(a,"touchmove",l=>{VQ(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},o=()=>{const a=Fm(Fc(t));!a||!n.value||(j_&&(r==null||r()),a.style.overflow=i,Um.delete(a),n.value=!1)};return uN(o),yt({get(){return n.value},set(a){a?s():o()}})}function UQ(){let t=!1;const e=ht(!1);return(n,r)=>{if(e.value=r.value,t)return;t=!0;const i=FQ(n,r.value);Vt(e,s=>i.value=s)}}UQ();const jQ=Xt(t=>{t.vueApp.directive("on-click-outside",xQ)}),BQ=[AB,RB,OB,AK,RK,PK,OK,DK,r5,i5,s5,o5,a5,l5,f5,h5,y5,b5,CQ,jQ],$Q=fr({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const e=t.renderKey,n=t.route,r={};for(const i in t.route)Object.defineProperty(r,i,{get:()=>e===t.renderKey?t.route[i]:n[i]});return Gs(nl,Yi(r)),()=>Nn(t.vnode,{ref:t.vnodeRef})}}),HQ=fr({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(t,{attrs:e,slots:n,expose:r}){const i=it(),s=ht(),o=Ht(nl,null);let a;r({pageRef:s});const l=Ht(Jk,null);let c;const u=i.deferHydration();if(i.isHydrating){const h=i.hooks.hookOnce("app:error",u);qn().beforeEach(h)}return t.pageKey&&Vt(()=>t.pageKey,(h,d)=>{h!==d&&i.callHook("page:loading:start")}),()=>Nn(fR,{name:t.name,route:t.route,...e},{default:h=>{const d=GQ(o,h.route,h.Component),w=o&&o.matched.length===h.route.matched.length;if(!h.Component){if(c&&!w)return c;u();return}if(c&&l&&!l.isCurrent(h.route))return c;if(d&&o&&(!l||l!=null&&l.isCurrent(o)))return w?c:null;const R=Jg(h,t.pageKey);!i.isHydrating&&!qQ(o,h.route,h.Component)&&a===R&&i.callHook("page:loading:end"),a=R;const C=!!(t.transition??h.route.meta.pageTransition??_g),P=C&&WQ([t.transition,h.route.meta.pageTransition,_g,{onAfterLeave:()=>{i.callHook("page:transition:finish",h.Component)}}].filter(Boolean)),N=t.keepalive??h.route.meta.keepalive??Cx;return c=vR(Bd,C&&P,eH(N,Nn(cy,{suspensible:!0,onPending:()=>i.callHook("page:start",h.Component),onResolve:()=>{Qr(()=>i.callHook("page:finish",h.Component).then(()=>i.callHook("page:loading:end")).finally(u))}},{default:()=>{const A=Nn($Q,{key:R||void 0,vnode:n.default?Nn(Kt,void 0,n.default(h)):h.Component,route:h.route,renderKey:R||void 0,trackRootNodes:C,vnodeRef:s});return N&&(A.type.name=h.Component.type.name||h.Component.type.__name||"RouteProvider"),A}}))).default(),c}})}});function WQ(t){const e=t.map(n=>({...n,onAfterLeave:n.onAfterLeave?ov(n.onAfterLeave):void 0}));return Qk(...e)}function GQ(t,e,n){if(!t)return!1;const r=e.matched.findIndex(i=>{var s;return((s=i.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:e.matched.slice(0,r).some((i,s)=>{var o,a,l;return((o=i.components)==null?void 0:o.default)!==((l=(a=t.matched[s])==null?void 0:a.components)==null?void 0:l.default)})||n&&Jg({route:e,Component:n})!==Jg({route:t,Component:n})}function qQ(t,e,n){return t?e.matched.findIndex(i=>{var s;return((s=i.components)==null?void 0:s.default)===(n==null?void 0:n.type)})r.default||r);return()=>Nn(n,t.layoutProps,e.slots)}}),KQ=fr({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(t,e){const n=it(),r=Ht(nl),i=r===zc()?J$():r,s=yt(()=>{let l=_t(t.name)??i.meta.layout??"default";return l&&!(l in js)&&t.fallback&&(l=_t(t.fallback)),l}),o=ht();e.expose({layoutRef:o});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);qn().beforeEach(l)}return()=>{const l=s.value&&s.value in js,c=i.meta.layoutTransition??kx;return vR(Bd,l&&c,{default:()=>Nn(cy,{suspensible:!0,onResolve:()=>{Qr(a)}},{default:()=>Nn(zQ,{layoutProps:fk(e.attrs,{ref:o}),key:s.value||void 0,name:s.value,shouldProvide:!t.name,hasTransition:!!c},e.slots)})}).default()}}}),zQ=fr({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(t,e){const n=t.name;return t.shouldProvide&&Gs(Jk,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,i;return!n||typeof n=="string"&&!(n in js)?(i=(r=e.slots).default)==null?void 0:i.call(r):Nn(YQ,{key:n,layoutProps:t.layoutProps,name:n},e.slots)}}}),QQ=fr({__name:"app",setup(t,{expose:e}){e(),GV({title:"NeoBigben",meta:[{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0"}],link:[{rel:"icon",href:"/neobigben/favicon.svg",type:"image/svg+xml"},{rel:"manifest",href:"/neobigben/manifest.json"}],bodyAttrs:{class:"antialiased overflow-x-clip text-slate-700 leading-normal bg-stone-50 dark:bg-slate-900 dark:text-slate-300"}});const n={};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),C0=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n};function XQ(t,e,n,r,i,s){const o=HQ,a=KQ;return Lr(),Gi(a,null,{default:xd(()=>[vt(o)]),_:1})}const JQ=C0(QQ,[["render",XQ],["__file","app.vue"]]),ZQ={__name:"nuxt-error-page",props:{error:Object},setup(t,{expose:e}){e();const n=t,r=n.error,i=r.stack?r.stack.split(` `).splice(1).map(R=>({text:R.replace("webpack:/","").replace(".vue",".js").trim(),internal:R.includes("node_modules")&&!R.includes(".cache")||R.includes("internal")||R.includes("new Promise")})).map(R=>`${R.text}`).join(` -`):"",s=Number(r.statusCode||500),o=s===404,a=r.statusMessage??(o?"Page Not Found":"Internal Server Error"),l=r.message||r.toString(),c=void 0,u=Wf(()=>Mr(()=>import("./Dx0QtxMm.js"),__vite__mapDeps([11,12]),import.meta.url).then(R=>R.default||R)),h=Wf(()=>Mr(()=>import("./FTbH54h0.js"),__vite__mapDeps([13,14]),import.meta.url).then(R=>R.default||R)),w={props:n,_error:r,stacktrace:i,statusCode:s,is404:o,statusMessage:a,description:l,stack:c,_Error404:u,_Error:h,ErrorTemplate:o?u:h,defineAsyncComponent:Wf};return Object.defineProperty(w,"__isScriptSetup",{enumerable:!1,value:!0}),w}};function eX(t,e,n,r,i,s){return Lr(),Gi(r.ErrorTemplate,GN(ck({statusCode:r.statusCode,statusMessage:r.statusMessage,description:r.description,stack:r.stack})),null,16)}const tX=C0(ZQ,[["render",eX],["__file","nuxt-error-page.vue"]]),nX={__name:"nuxt-root",setup(t,{expose:e}){e();const n=()=>null,r=it(),i=r.deferHydration();if(r.isHydrating){const d=r.hooks.hookOnce("app:error",i);qn().beforeEach(d)}const s=window.location.pathname,o=!1;Gs(nl,zc());const a=r.hooks.callHookWith(d=>d.map(w=>w()),"vue:setup"),l=Qc(),c=!1;Ym((d,w,R)=>{if(r.hooks.callHook("vue:error",d,w,R).catch(C=>console.error("[nuxt] Error in `vue:error` hook",C)),uE(d)&&(d.fatal||d.unhandled))return r.runWithContext(()=>Oo(d)),!1});const h={IslandRenderer:n,nuxtApp:r,onResolve:i,url:s,SingleRenderer:o,results:a,error:l,abortRender:c,islandContext:!1,defineAsyncComponent:Wf,onErrorCaptured:Ym,onServerPrefetch:DI,provide:Gs,get useNuxtApp(){return it},get isNuxtError(){return uE},get showError(){return Oo},get useError(){return Qc},get useRoute(){return zc},get useRouter(){return qn},get PageRouteSymbol(){return nl},get AppComponent(){return JQ},get ErrorComponent(){return tX},get componentIslands(){return Ax}};return Object.defineProperty(h,"__isScriptSetup",{enumerable:!1,value:!0}),h}},rX={key:0};function iX(t,e,n,r,i,s){return Lr(),Gi(cy,{onResolve:r.onResolve},{default:xd(()=>[r.abortRender?(Lr(),RL("div",rX)):r.error?(Lr(),Gi(r.ErrorComponent,{key:1,error:r.error},null,8,["error"])):r.islandContext?(Lr(),Gi(r.IslandRenderer,{key:2,context:r.islandContext},null,8,["context"])):r.SingleRenderer?(Lr(),Gi(HD(r.SingleRenderer),{key:3})):(Lr(),Gi(r.AppComponent,{key:4}))]),_:1},8,["onResolve"])}const KS=C0(nX,[["render",iX],["__file","nuxt-root.vue"]]);let zS;{let t;zS=async function(){var o,a;if(t)return t;const r=!!((o=window.__NUXT__)!=null&&o.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?bM(KS):EM(KS),i=Nx({vueApp:r});async function s(l){await i.callHook("app:error",l),i.payload.error=i.payload.error||Hd(l)}r.config.errorHandler=s;try{await Mx(i,BQ)}catch(l){s(l)}try{await i.hooks.callHook("app:created",r),await i.hooks.callHook("app:beforeMount",r),r.mount(Px),await i.hooks.callHook("app:mounted",r),await Qr()}catch(l){s(l)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},t=zS().catch(e=>{throw console.error("Error while mounting app:",e),e})}export{Ws as $,vt as A,xd as B,uk as C,dX as D,pX as E,LD as F,CI as G,un as H,JX as I,nI as J,hX as K,qX as L,Kt as M,xD as N,cy as O,is as P,cX as Q,jc as R,Uo as S,xX as T,Bd as U,nJ as V,uX as W,fy as X,fX as Y,vr as Z,C0 as _,it as a,Gs as a$,Hn as a0,Sd as a1,cs as a2,XX as a3,EM as a4,Gi as a5,jX as a6,fL as a7,LX as a8,uL as a9,xL as aA,_I as aB,rs as aC,Zs as aD,Et as aE,$X as aF,Za as aG,Yo as aH,eo as aI,NX as aJ,DX as aK,fk as aL,Qr as aM,kd as aN,GN as aO,Id as aP,PI as aQ,FD as aR,UD as aS,OI as aT,Ym as aU,BD as aV,jD as aW,Ja as aX,DI as aY,Ud as aZ,ty as a_,bM as aa,wX as ab,UX as ac,Q_ as ad,Wf as ae,oM as af,SX as ag,IX as ah,AX as ai,kX as aj,TX as ak,eJ as al,CX as am,YX as an,sX as ao,Tl as ap,Vn as aq,la as ar,ey as as,ck as at,Sl as au,sy as av,wM as aw,HX as ax,sJ as ay,Ht as az,n0 as b,TJ as b$,wI as b0,Wm as b1,ps as b2,Pd as b3,BX as b4,Qw as b5,vX as b6,EX as b7,yX as b8,HD as b9,kI as bA,kk as bB,mM as bC,Ck as bD,pM as bE,ug as bF,GL as bG,ag as bH,GX as bI,Vt as bJ,ZI as bK,mL as bL,gL as bM,MX as bN,RX as bO,gX as bP,iJ as bQ,WX as bR,rJ as bS,mX as bT,DJ as bU,v5 as bV,mO as bW,gO as bX,kJ as bY,PJ as bZ,bK as b_,QX as ba,Gc as bb,Ow as bc,KX as bd,Go as be,Yi as bf,aX as bg,Wo as bh,dL as bi,zX as bj,oX as bk,Hf as bl,bX as bm,We as bn,Nd as bo,wD as bp,Bi as bq,FX as br,lX as bs,_t as bt,OX as bu,tJ as bv,ZX as bw,VX as bx,pL as by,PX as bz,DS as c,zc as c0,t0 as c1,LJ as c2,qv as c3,Ms as c4,NJ as c5,SJ as c6,fN as c7,Uc as c8,RQ as c9,Fc as ca,uN as cb,MJ as cc,xJ as cd,VJ as ce,RJ as cf,IJ as cg,AJ as ch,mB as ci,fJ as cj,CJ as ck,hJ as cl,pJ as cm,dJ as cn,yJ as co,gJ as cp,wJ as cq,EJ as cr,_J as cs,bJ as ct,zA as cu,mJ as cv,vJ as cw,rG as cx,fr as d,tV as e,Fd as f,OJ as g,Nn as h,_X as i,yt as j,wi as k,kl as l,bg as m,oJ as n,Il as o,Mk as p,nr as q,ht as r,$d as s,GV as t,qn as u,Lr as v,Ah as w,RL as x,lk as y,zN as z}; +`):"",s=Number(r.statusCode||500),o=s===404,a=r.statusMessage??(o?"Page Not Found":"Internal Server Error"),l=r.message||r.toString(),c=void 0,u=Wf(()=>Mr(()=>import("./BhaLqpCj.js"),__vite__mapDeps([11,12]),import.meta.url).then(R=>R.default||R)),h=Wf(()=>Mr(()=>import("./Czusa6IX.js"),__vite__mapDeps([13,14]),import.meta.url).then(R=>R.default||R)),w={props:n,_error:r,stacktrace:i,statusCode:s,is404:o,statusMessage:a,description:l,stack:c,_Error404:u,_Error:h,ErrorTemplate:o?u:h,defineAsyncComponent:Wf};return Object.defineProperty(w,"__isScriptSetup",{enumerable:!1,value:!0}),w}};function eX(t,e,n,r,i,s){return Lr(),Gi(r.ErrorTemplate,GN(ck({statusCode:r.statusCode,statusMessage:r.statusMessage,description:r.description,stack:r.stack})),null,16)}const tX=C0(ZQ,[["render",eX],["__file","nuxt-error-page.vue"]]),nX={__name:"nuxt-root",setup(t,{expose:e}){e();const n=()=>null,r=it(),i=r.deferHydration();if(r.isHydrating){const d=r.hooks.hookOnce("app:error",i);qn().beforeEach(d)}const s=window.location.pathname,o=!1;Gs(nl,zc());const a=r.hooks.callHookWith(d=>d.map(w=>w()),"vue:setup"),l=Qc(),c=!1;Ym((d,w,R)=>{if(r.hooks.callHook("vue:error",d,w,R).catch(C=>console.error("[nuxt] Error in `vue:error` hook",C)),uE(d)&&(d.fatal||d.unhandled))return r.runWithContext(()=>Oo(d)),!1});const h={IslandRenderer:n,nuxtApp:r,onResolve:i,url:s,SingleRenderer:o,results:a,error:l,abortRender:c,islandContext:!1,defineAsyncComponent:Wf,onErrorCaptured:Ym,onServerPrefetch:DI,provide:Gs,get useNuxtApp(){return it},get isNuxtError(){return uE},get showError(){return Oo},get useError(){return Qc},get useRoute(){return zc},get useRouter(){return qn},get PageRouteSymbol(){return nl},get AppComponent(){return JQ},get ErrorComponent(){return tX},get componentIslands(){return Ax}};return Object.defineProperty(h,"__isScriptSetup",{enumerable:!1,value:!0}),h}},rX={key:0};function iX(t,e,n,r,i,s){return Lr(),Gi(cy,{onResolve:r.onResolve},{default:xd(()=>[r.abortRender?(Lr(),RL("div",rX)):r.error?(Lr(),Gi(r.ErrorComponent,{key:1,error:r.error},null,8,["error"])):r.islandContext?(Lr(),Gi(r.IslandRenderer,{key:2,context:r.islandContext},null,8,["context"])):r.SingleRenderer?(Lr(),Gi(HD(r.SingleRenderer),{key:3})):(Lr(),Gi(r.AppComponent,{key:4}))]),_:1},8,["onResolve"])}const KS=C0(nX,[["render",iX],["__file","nuxt-root.vue"]]);let zS;{let t;zS=async function(){var o,a;if(t)return t;const r=!!((o=window.__NUXT__)!=null&&o.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?bM(KS):EM(KS),i=Nx({vueApp:r});async function s(l){await i.callHook("app:error",l),i.payload.error=i.payload.error||Hd(l)}r.config.errorHandler=s;try{await Mx(i,BQ)}catch(l){s(l)}try{await i.hooks.callHook("app:created",r),await i.hooks.callHook("app:beforeMount",r),r.mount(Px),await i.hooks.callHook("app:mounted",r),await Qr()}catch(l){s(l)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},t=zS().catch(e=>{throw console.error("Error while mounting app:",e),e})}export{Ws as $,vt as A,xd as B,uk as C,dX as D,pX as E,LD as F,CI as G,un as H,JX as I,nI as J,hX as K,qX as L,Kt as M,xD as N,cy as O,is as P,cX as Q,jc as R,Uo as S,xX as T,Bd as U,nJ as V,uX as W,fy as X,fX as Y,vr as Z,C0 as _,it as a,Gs as a$,Hn as a0,Sd as a1,cs as a2,XX as a3,EM as a4,Gi as a5,jX as a6,fL as a7,LX as a8,uL as a9,xL as aA,_I as aB,rs as aC,Zs as aD,Et as aE,$X as aF,Za as aG,Yo as aH,eo as aI,NX as aJ,DX as aK,fk as aL,Qr as aM,kd as aN,GN as aO,Id as aP,PI as aQ,FD as aR,UD as aS,OI as aT,Ym as aU,BD as aV,jD as aW,Ja as aX,DI as aY,Ud as aZ,ty as a_,bM as aa,wX as ab,UX as ac,Q_ as ad,Wf as ae,oM as af,SX as ag,IX as ah,AX as ai,kX as aj,TX as ak,eJ as al,CX as am,YX as an,sX as ao,Tl as ap,Vn as aq,la as ar,ey as as,ck as at,Sl as au,sy as av,wM as aw,HX as ax,sJ as ay,Ht as az,n0 as b,TJ as b$,wI as b0,Wm as b1,ps as b2,Pd as b3,BX as b4,Qw as b5,vX as b6,EX as b7,yX as b8,HD as b9,kI as bA,kk as bB,mM as bC,Ck as bD,pM as bE,ug as bF,GL as bG,ag as bH,GX as bI,Vt as bJ,ZI as bK,mL as bL,gL as bM,MX as bN,RX as bO,gX as bP,iJ as bQ,WX as bR,rJ as bS,mX as bT,DJ as bU,v5 as bV,mO as bW,gO as bX,kJ as bY,PJ as bZ,bK as b_,QX as ba,Gc as bb,Ow as bc,KX as bd,Go as be,Yi as bf,aX as bg,Wo as bh,dL as bi,zX as bj,oX as bk,Hf as bl,bX as bm,We as bn,Nd as bo,wD as bp,Bi as bq,FX as br,lX as bs,_t as bt,OX as bu,tJ as bv,ZX as bw,VX as bx,pL as by,PX as bz,DS as c,zc as c0,t0 as c1,LJ as c2,qv as c3,Ms as c4,NJ as c5,SJ as c6,fN as c7,Uc as c8,RQ as c9,Fc as ca,uN as cb,MJ as cc,xJ as cd,VJ as ce,RJ as cf,IJ as cg,AJ as ch,mB as ci,fJ as cj,CJ as ck,hJ as cl,pJ as cm,dJ as cn,yJ as co,gJ as cp,wJ as cq,EJ as cr,_J as cs,bJ as ct,zA as cu,mJ as cv,vJ as cw,rG as cx,fr as d,tV as e,Fd as f,OJ as g,Nn as h,_X as i,yt as j,wi as k,kl as l,bg as m,oJ as n,Il as o,Mk as p,nr as q,ht as r,$d as s,GV as t,qn as u,Lr as v,Ah as w,RL as x,lk as y,zN as z}; diff --git a/_nuxt/CYpUVu9e.js b/_nuxt/rH6pHM5P.js similarity index 99% rename from _nuxt/CYpUVu9e.js rename to _nuxt/rH6pHM5P.js index 2dff468..507e38d 100644 --- a/_nuxt/CYpUVu9e.js +++ b/_nuxt/rH6pHM5P.js @@ -1,4 +1,4 @@ -import{F as Gi,G as Ki,H as Wi,I as Vi,J as zi,K as Yi,L as Xi,M as Lt,N as Qi,R as Ji,S as Zi,O as qi,T as Jo,P as _i,Q as el,U as Zo,V as tl,W as rl,X as nl,Y as al,Z as ol,$ as il,a0 as ll,a1 as sl,a2 as ul,a3 as cl,j as ve,a4 as dl,a5 as sr,a6 as fe,x as oe,y as P,a7 as fl,a8 as vl,a9 as pl,aa as hl,ab as gl,ac as ml,C as Yt,A as Te,ad as qo,ae as bl,d as Ar,af as yl,ag as Sl,ah as xl,ai as El,aj as Ol,ak as wl,al as Tl,am as Cl,an as Pl,ao as Il,ap as Al,aq as Dr,ar as Dl,as as Ll,at as Rl,h as kr,au as jl,av as Ml,aw as Nl,ax as kl,ay as Fl,az as Bl,aA as Hl,aB as Ul,aC as $l,aD as Gl,aE as Kl,aF as Wl,aG as Vl,aH as zl,aI as Yl,aJ as Xl,aK as Ql,aL as Sn,aM as Er,aN as he,aO as Jl,aP as Zl,aQ as ql,aR as _l,f as _o,aS as es,aT as ts,aU as rs,o as en,aV as ns,aW as as,aX as os,aY as is,aZ as ls,a_ as ss,v as ee,E as _a,a$ as us,b0 as cs,D as eo,b1 as ds,b2 as fs,b3 as vs,r as ke,b4 as ps,b5 as hs,b6 as Ut,b7 as Ve,i as gs,b8 as ei,b9 as ms,ba as bs,bb as ys,bc as Ss,bd as xs,be as Es,bf as Os,bg as ws,bh as ir,bi as Ts,bj as Cs,bk as Ps,z as te,bl as Is,bm as As,bn as Ds,bo as Ls,bp as it,bq as Rs,br as js,bs as Ms,bt as Ns,bu as ks,bv as Fs,bw as Bs,bx as Hs,by as Us,bz as ti,bA as $s,bB as Gs,bC as Ks,bD as Ws,bE as Fa,bF as ur,bG as Vs,bH as zs,bI as Ys,bJ as Ze,bK as Xs,bL as Qs,bM as Js,bN as ri,B as Bt,bO as Zs,bP as Rt,bQ as Ba,bR as qs,bS as cr,bT as _s,bU as tn,a as Fr,_ as Lr,bV as ni,bW as eu,bX as tu,bY as ru}from"./S9EjZaWQ.js";import{u as rn,o as nu,a as au,b as ou}from"./B3EG_2Du.js";import{I as iu,_ as lu,a as su}from"./DPmltWRH.js";/** +import{F as Gi,G as Ki,H as Wi,I as Vi,J as zi,K as Yi,L as Xi,M as Lt,N as Qi,R as Ji,S as Zi,O as qi,T as Jo,P as _i,Q as el,U as Zo,V as tl,W as rl,X as nl,Y as al,Z as ol,$ as il,a0 as ll,a1 as sl,a2 as ul,a3 as cl,j as ve,a4 as dl,a5 as sr,a6 as fe,x as oe,y as P,a7 as fl,a8 as vl,a9 as pl,aa as hl,ab as gl,ac as ml,C as Yt,A as Te,ad as qo,ae as bl,d as Ar,af as yl,ag as Sl,ah as xl,ai as El,aj as Ol,ak as wl,al as Tl,am as Cl,an as Pl,ao as Il,ap as Al,aq as Dr,ar as Dl,as as Ll,at as Rl,h as kr,au as jl,av as Ml,aw as Nl,ax as kl,ay as Fl,az as Bl,aA as Hl,aB as Ul,aC as $l,aD as Gl,aE as Kl,aF as Wl,aG as Vl,aH as zl,aI as Yl,aJ as Xl,aK as Ql,aL as Sn,aM as Er,aN as he,aO as Jl,aP as Zl,aQ as ql,aR as _l,f as _o,aS as es,aT as ts,aU as rs,o as en,aV as ns,aW as as,aX as os,aY as is,aZ as ls,a_ as ss,v as ee,E as _a,a$ as us,b0 as cs,D as eo,b1 as ds,b2 as fs,b3 as vs,r as ke,b4 as ps,b5 as hs,b6 as Ut,b7 as Ve,i as gs,b8 as ei,b9 as ms,ba as bs,bb as ys,bc as Ss,bd as xs,be as Es,bf as Os,bg as ws,bh as ir,bi as Ts,bj as Cs,bk as Ps,z as te,bl as Is,bm as As,bn as Ds,bo as Ls,bp as it,bq as Rs,br as js,bs as Ms,bt as Ns,bu as ks,bv as Fs,bw as Bs,bx as Hs,by as Us,bz as ti,bA as $s,bB as Gs,bC as Ks,bD as Ws,bE as Fa,bF as ur,bG as Vs,bH as zs,bI as Ys,bJ as Ze,bK as Xs,bL as Qs,bM as Js,bN as ri,B as Bt,bO as Zs,bP as Rt,bQ as Ba,bR as qs,bS as cr,bT as _s,bU as tn,a as Fr,_ as Lr,bV as ni,bW as eu,bX as tu,bY as ru}from"./ewmvwxW7.js";import{u as rn,o as nu,a as au,b as ou}from"./DnyUcCWV.js";import{I as iu,_ as lu,a as su}from"./DXKa0e7G.js";/** * vue v3.4.34 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT diff --git a/_nuxt/MgATE4xf.js b/_nuxt/zw4H8_Zt.js similarity index 80% rename from _nuxt/MgATE4xf.js rename to _nuxt/zw4H8_Zt.js index 85c4b92..247feda 100644 --- a/_nuxt/MgATE4xf.js +++ b/_nuxt/zw4H8_Zt.js @@ -1 +1 @@ -import{d as r,bZ as c,b_ as u,o as i,aM as l,b$ as _,m as p,_ as f,x as d,y as m,z as x,v as g}from"./S9EjZaWQ.js";import{u as h}from"./B3EG_2Du.js";const $=r({__name:"logout",setup(a,{expose:n}){n();const e=c(),t=h(),s=u();i(async()=>{await l(),await _(e),t.$reset(),p(s({name:"login"}))});const o={auth:e,store:t,localePath:s};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),b={class:"flex w-full items-center justify-center px-4 py-6 lg:px-8"};function y(a,n,e,t,s,o){return g(),d("div",b,[m("h1",null,x(a.$t("Déconnexion...")),1)])}const k=f($,[["render",y],["__file","logout.vue"]]);export{k as default}; +import{d as r,bZ as c,b_ as u,o as i,aM as l,b$ as _,m as p,_ as f,x as d,y as m,z as x,v as g}from"./ewmvwxW7.js";import{u as h}from"./DnyUcCWV.js";const $=r({__name:"logout",setup(a,{expose:n}){n();const e=c(),t=h(),s=u();i(async()=>{await l(),await _(e),t.$reset(),p(s({name:"login"}))});const o={auth:e,store:t,localePath:s};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),b={class:"flex w-full items-center justify-center px-4 py-6 lg:px-8"};function y(a,n,e,t,s,o){return g(),d("div",b,[m("h1",null,x(a.$t("Déconnexion...")),1)])}const k=f($,[["render",y],["__file","logout.vue"]]);export{k as default}; diff --git a/connexion/index.html b/connexion/index.html index e192bad..9730e66 100644 --- a/connexion/index.html +++ b/connexion/index.html @@ -1,18 +1,18 @@ - + - - - - - - + + + + + + - + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/deconnexion/index.html b/deconnexion/index.html index e192bad..9730e66 100644 --- a/deconnexion/index.html +++ b/deconnexion/index.html @@ -1,18 +1,18 @@ - + - - - - - - + + + + + + - + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/en/index.html b/en/index.html index e192bad..9730e66 100644 --- a/en/index.html +++ b/en/index.html @@ -1,18 +1,18 @@ - + - - - - - - + + + + + + - + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/en/login/index.html b/en/login/index.html index e192bad..9730e66 100644 --- a/en/login/index.html +++ b/en/login/index.html @@ -1,18 +1,18 @@ - + - - - - - - + + + + + + - + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/en/logout/index.html b/en/logout/index.html index e192bad..9730e66 100644 --- a/en/logout/index.html +++ b/en/logout/index.html @@ -1,18 +1,18 @@ - + - - - - - - + + + + + + - + - -
- \ No newline at end of file + +
+ \ No newline at end of file diff --git a/index.html b/index.html index e192bad..9730e66 100644 --- a/index.html +++ b/index.html @@ -1,18 +1,18 @@ - + - - - - - - + + + + + + - + - -
- \ No newline at end of file + +
+ \ No newline at end of file