({categories:p1(),friends:mk(),inventories:y1(),items:b1(),routes:w1(),settings:_1(),trips:Ak(),users:ea()}),Lk=Y({id:String,...yi(ca({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:Zg}}),["absolute"])},"VMenu"),Pk=fe()({name:"VMenu",props:Lk(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=Ft(e,"modelValue"),{scopeId:s}=ki(),i=Rr(),o=A(()=>e.id||`v-menu-${i}`),a=N(),l=Se(Zl,null),u=le(0);Ye(Zl,{register(){++u.value},unregister(){--u.value},closeParents(m){setTimeout(()=>{!u.value&&(m==null||m&&!q2(m,a.value.contentEl))&&(r.value=!1,l==null||l.closeParents())},40)}});async function c(m){var y,g,_;const p=m.relatedTarget,S=m.target;await Ke(),r.value&&p!==S&&((y=a.value)!=null&&y.contentEl)&&((g=a.value)!=null&&g.globalTop)&&![document,a.value.contentEl].includes(S)&&!a.value.contentEl.contains(S)&&((_=So(a.value.contentEl)[0])==null||_.focus())}se(r,m=>{m?(l==null||l.register(),document.addEventListener("focusin",c,{once:!0})):(l==null||l.unregister(),document.removeEventListener("focusin",c))});function d(m){l==null||l.closeParents(m)}function f(m){var p,S,y;e.disabled||(m.key==="Tab"||m.key==="Enter"&&!e.closeOnContentClick?(m.key==="Enter"&&m.preventDefault(),Tv(So((p=a.value)==null?void 0:p.contentEl,!1),m.shiftKey?"prev":"next",_=>_.tabIndex>=0)||(r.value=!1,(y=(S=a.value)==null?void 0:S.activatorEl)==null||y.focus())):["Enter"," "].includes(m.key)&&e.closeOnContentClick&&(r.value=!1,l==null||l.closeParents()))}function h(m){var S;if(e.disabled)return;const p=(S=a.value)==null?void 0:S.contentEl;p&&r.value?m.key==="ArrowDown"?(m.preventDefault(),Co(p,"next")):m.key==="ArrowUp"&&(m.preventDefault(),Co(p,"prev")):["ArrowDown","ArrowUp"].includes(m.key)&&(r.value=!0,m.preventDefault(),setTimeout(()=>setTimeout(()=>h(m))))}const v=A(()=>Te({"aria-haspopup":"menu","aria-expanded":String(r.value),"aria-owns":o.value,onKeydown:h},e.activatorProps));return ye(()=>{const m=fs.filterProps(e);return b(fs,Te({ref:a,id:o.value,class:["v-menu",e.class],style:e.style},m,{modelValue:r.value,"onUpdate:modelValue":p=>r.value=p,absolute:!0,activatorProps:v.value,"onClick:outside":d,onKeydown:f},s),{activator:n.activator,default:function(){for(var p=arguments.length,S=new Array(p),y=0;y{var g;return[(g=n.default)==null?void 0:g.call(n,...S)]}})}})}),fu({id:o,ΨopenChildren:u},a)}}),Ok=Y({id:String,text:String,...yi(ca({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),Ik=fe()({name:"VTooltip",props:Ok(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=Ft(e,"modelValue"),{scopeId:s}=ki(),i=Rr(),o=A(()=>e.id||`v-tooltip-${i}`),a=N(),l=A(()=>e.location.split(" ").length>1?e.location:e.location+" center"),u=A(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),c=A(()=>e.transition?e.transition:r.value?"scale-transition":"fade-transition"),d=A(()=>Te({"aria-describedby":o.value},e.activatorProps));return ye(()=>{const f=fs.filterProps(e);return b(fs,Te({ref:a,class:["v-tooltip",e.class],style:e.style,id:o.value},f,{modelValue:r.value,"onUpdate:modelValue":h=>r.value=h,transition:c.value,absolute:!0,location:l.value,origin:u.value,persistent:!0,role:"tooltip",activatorProps:d.value,_disableGlobalStack:!0},s),{activator:n.activator,default:function(){var p;for(var h=arguments.length,v=new Array(h),m=0;m{t.value=r.user,n.value=r.loggedIn});const s=async function(){await r.signOut()};return(i,o)=>(ce(),Me(Pk,{location:"bottom"},{activator:Re(({props:a})=>[b(Ik,{location:"bottom"},{activator:Re(({props:l})=>[b(ds,Te({icon:"",large:""},Te(a,l),{class:"ml-1"}),{default:Re(()=>[Z(n)?(ce(),Me(ci,{key:1,color:"primary",size:"36"},{default:Re(()=>[Z(t)?(ce(),Me(ws,{key:0,src:`https://github.com/${Z(t).name}.png`},null,8,["src"])):bt("",!0)]),_:1})):(ce(),Me(Qt,{key:0,icon:"M12,19.2C9.5,19.2 7.29,17.92 6,16C6.03,14 10,12.9 12,12.9C14,12.9 17.97,14 18,16C16.71,17.92 14.5,19.2 12,19.2M12,5A3,3 0 0,1 15,8A3,3 0 0,1 12,11A3,3 0 0,1 9,8A3,3 0 0,1 12,5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z",size:"36"}))]),_:2},1040)]),default:Re(()=>[tn("span",null,H1(Z(n)?Z(t)&&Z(t).name:"User"),1)]),_:2},1024)]),default:Re(()=>[b(tc,null,{default:Re(()=>[Z(n)?(ce(),Me(Gn,{key:0,active:(i._.provides[wr]||i.$route).path==="/profile",title:"Profile","prepend-icon":"M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z",to:""},null,8,["active"])):bt("",!0),Z(n)?(ce(),Me(Gn,{key:1,active:(i._.provides[wr]||i.$route).path==="/settings",title:"Settings","prepend-icon":"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",to:"/settings"},null,8,["active"])):bt("",!0),Z(n)?(ce(),Me(Gn,{key:2,active:(i._.provides[wr]||i.$route).path==="/settings",title:"Logout","prepend-icon":"M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",onClick:s},null,8,["active"])):bt("",!0),Z(n)?bt("",!0):(ce(),Me(Gn,{key:3,title:"Login","prepend-icon":"M11 7L9.6 8.4L12.2 11H2V13H12.2L9.6 15.6L11 17L16 12L11 7M20 19H12V21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3H12V5H20V19Z",to:"/login"}))]),_:1})]),_:1}))}}),Mk=Y({text:String,...ke(),...We()},"VToolbarTitle"),$k=fe()({name:"VToolbarTitle",props:Mk(),setup(e,t){let{slots:n}=t;return ye(()=>{const r=!!(n.default||n.text||e.text);return b(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var s;return[r&&b("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,(s=n.default)==null?void 0:s.call(n)])]}})}),{}}}),Vk=[null,"prominent","default","comfortable","compact"],S1=Y({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>Vk.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...nr(),...ke(),...Pn(),...Ut(),...We({tag:"header"}),...at()},"VToolbar"),vh=fe()({name:"VToolbar",props:S1(),setup(e,t){var h;let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:s}=Xt(ie(e,"color")),{borderClasses:i}=rr(e),{elevationClasses:o}=On(e),{roundedClasses:a}=zt(e),{themeClasses:l}=lt(e),{rtlClasses:u}=Vr(),c=le(!!(e.extended||(h=n.extension)!=null&&h.call(n))),d=A(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),f=A(()=>c.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return Ir({VBtn:{variant:"text"}}),ye(()=>{var S;const v=!!(e.title||n.title),m=!!(n.image||e.image),p=(S=n.extension)==null?void 0:S.call(n);return c.value=!!(e.extended||p),b(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},r.value,i.value,o.value,a.value,l.value,u.value,e.class],style:[s.value,e.style]},{default:()=>[m&&b("div",{key:"image",class:"v-toolbar__image"},[n.image?b(ze,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):b(ws,{key:"image-img",cover:!0,src:e.image},null)]),b(ze,{defaults:{VTabs:{height:ue(d.value)}}},{default:()=>{var y,g,_;return[b("div",{class:"v-toolbar__content",style:{height:ue(d.value)}},[n.prepend&&b("div",{class:"v-toolbar__prepend"},[(y=n.prepend)==null?void 0:y.call(n)]),v&&b($k,{key:"title",text:e.title},{text:n.title}),(g=n.default)==null?void 0:g.call(n),n.append&&b("div",{class:"v-toolbar__append"},[(_=n.append)==null?void 0:_.call(n)])])]}}),b(ze,{defaults:{VTabs:{height:ue(f.value)}}},{default:()=>[b(Xg,null,{default:()=>[c.value&&b("div",{class:"v-toolbar__extension",style:{height:ue(f.value)}},[p])]})]})]})}),{contentHeight:d,extensionHeight:f}}}),Hk=Y({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function Dk(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:n}=t;let r=0;const s=N(null),i=le(0),o=le(0),a=le(0),l=le(!1),u=le(!1),c=A(()=>Number(e.scrollThreshold)),d=A(()=>xr((c.value-i.value)/c.value||0)),f=()=>{const h=s.value;!h||n&&!n.value||(r=i.value,i.value="window"in h?h.pageYOffset:h.scrollTop,u.value=i.value{o.value=o.value||i.value}),se(l,()=>{o.value=0}),rn(()=>{se(()=>e.scrollTarget,h=>{var m;const v=h?document.querySelector(h):window;v&&v!==s.value&&((m=s.value)==null||m.removeEventListener("scroll",f),s.value=v,s.value.addEventListener("scroll",f,{passive:!0}))},{immediate:!0})}),it(()=>{var h;(h=s.value)==null||h.removeEventListener("scroll",f)}),n&&se(n,f,{immediate:!0}),{scrollThreshold:c,currentScroll:i,currentThreshold:a,isScrollActive:l,scrollRatio:d,isScrollingUp:u,savedScroll:o}}const jk=Y({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...S1(),...uu(),...Hk(),height:{type:[Number,String],default:64}},"VAppBar"),Nk=fe()({name:"VAppBar",props:jk(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=N(),s=Ft(e,"modelValue"),i=A(()=>{var _;const g=new Set(((_=e.scrollBehavior)==null?void 0:_.split(" "))??[]);return{hide:g.has("hide"),fullyHide:g.has("fully-hide"),inverted:g.has("inverted"),collapse:g.has("collapse"),elevate:g.has("elevate"),fadeImage:g.has("fade-image")}}),o=A(()=>{const g=i.value;return g.hide||g.fullyHide||g.inverted||g.collapse||g.elevate||g.fadeImage||!s.value}),{currentScroll:a,scrollThreshold:l,isScrollingUp:u,scrollRatio:c}=Dk(e,{canScroll:o}),d=A(()=>i.value.hide||i.value.fullyHide),f=A(()=>e.collapse||i.value.collapse&&(i.value.inverted?c.value>0:c.value===0)),h=A(()=>e.flat||i.value.fullyHide&&!s.value||i.value.elevate&&(i.value.inverted?a.value>0:a.value===0)),v=A(()=>i.value.fadeImage?i.value.inverted?1-c.value:c.value:void 0),m=A(()=>{var T,E;const g=Number(((T=r.value)==null?void 0:T.contentHeight)??e.height),_=Number(((E=r.value)==null?void 0:E.extensionHeight)??0);return d.value?a.value!!e.scrollBehavior),()=>{nn(()=>{d.value?i.value.inverted?s.value=a.value>l.value:s.value=u.value||a.valueparseInt(e.order,10)),position:ie(e,"location"),layoutSize:m,elementSize:le(void 0),active:s,absolute:ie(e,"absolute")});return ye(()=>{const g=vh.filterProps(e);return b(vh,Te({ref:r,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...S.value,"--v-toolbar-image-opacity":v.value,height:void 0,...p.value},e.style]},g,{collapse:f.value,flat:h.value}),n)}),y}}),Bk=Y({...Vg({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),Fk=fe()({name:"VAppBarNavIcon",props:Bk(),setup(e,t){let{slots:n}=t;return ye(()=>b(ds,Te(e,{class:["v-app-bar-nav-icon"]}),n)),{}}}),Uk=Y({divider:[Number,String],...ke()},"VBreadcrumbsDivider"),zk=fe()({name:"VBreadcrumbsDivider",props:Uk(),setup(e,t){let{slots:n}=t;return ye(()=>{var r;return b("li",{class:["v-breadcrumbs-divider",e.class],style:e.style},[((r=n==null?void 0:n.default)==null?void 0:r.call(n))??e.divider])}),{}}}),Wk=Y({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...ke(),...aa(),...We({tag:"li"})},"VBreadcrumbsItem"),qk=fe()({name:"VBreadcrumbsItem",props:Wk(),setup(e,t){let{slots:n,attrs:r}=t;const s=oa(e,r),i=A(()=>{var u;return e.active||((u=s.isActive)==null?void 0:u.value)}),o=A(()=>i.value?e.activeColor:e.color),{textColorClasses:a,textColorStyles:l}=Xn(o);return ye(()=>b(e.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":i.value,"v-breadcrumbs-item--disabled":e.disabled,[`${e.activeClass}`]:i.value&&e.activeClass},a.value,e.class],style:[l.value,e.style],"aria-current":i.value?"page":void 0},{default:()=>{var u,c;return[s.isLink.value?b("a",{class:"v-breadcrumbs-item--link",href:s.href.value,"aria-current":i.value?"page":void 0,onClick:s.navigate},[((c=n.default)==null?void 0:c.call(n))??e.title]):((u=n.default)==null?void 0:u.call(n))??e.title]}})),{}}}),Kk=Y({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:et,items:{type:Array,default:()=>[]},...ke(),...Ln(),...Ut(),...We({tag:"ul"})},"VBreadcrumbs"),Gk=fe()({name:"VBreadcrumbs",props:Kk(),setup(e,t){let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:s}=Xt(ie(e,"bgColor")),{densityClasses:i}=sr(e),{roundedClasses:o}=zt(e);Ir({VBreadcrumbsDivider:{divider:ie(e,"divider")},VBreadcrumbsItem:{activeClass:ie(e,"activeClass"),activeColor:ie(e,"activeColor"),color:ie(e,"color"),disabled:ie(e,"disabled")}});const a=A(()=>e.items.map(l=>typeof l=="string"?{item:{title:l},raw:l}:{item:l,raw:l}));return ye(()=>{const l=!!(n.prepend||e.icon);return b(e.tag,{class:["v-breadcrumbs",r.value,i.value,o.value,e.class],style:[s.value,e.style]},{default:()=>{var u;return[l&&b("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[n.prepend?b(ze,{key:"prepend-defaults",disabled:!e.icon,defaults:{VIcon:{icon:e.icon,start:!0}}},n.prepend):b(Qt,{key:"prepend-icon",start:!0,icon:e.icon},null)]),a.value.map((c,d,f)=>{var m;let{item:h,raw:v}=c;return b(ge,null,[((m=n.item)==null?void 0:m.call(n,{item:h,index:d}))??b(qk,Te({key:d,disabled:d>=f.length-1},typeof h=="string"?{title:h}:h),{default:n.title?()=>{var p;return(p=n.title)==null?void 0:p.call(n,{item:h,index:d})}:void 0}),d{var p;return(p=n.divider)==null?void 0:p.call(n,{item:v,index:d})}:void 0})])}),(u=n.default)==null?void 0:u.call(n)]}})}),{}}}),Yk=tn("div",{id:"app-bar"},null,-1),Jk=ht({__name:"AppBar",setup(e){const t=Zc("drawer"),n=qo(),r=A(()=>n.matched.filter(s=>{var i;return s.meta&&s.meta.title&&((i=s.meta)==null?void 0:i.breadcrumb)!=="hidden"}).map(s=>{var i;return{title:s.meta.title,disabled:((i=s.meta)==null?void 0:i.breadcrumb)==="disabled"||s.path===n.path||!1,to:s.path}}));return(s,i)=>{const o=Rk,a=h3;return ce(),Me(Nk,{flat:""},{default:Re(()=>[b(Fk,{onClick:i[0]||(i[0]=l=>t.value=!Z(t))}),b(Gk,{items:Z(r)},null,8,["items"]),b(vu),Yk,b(a,null,{default:Re(()=>[b(o)]),_:1})]),_:1})}}}),Zk=Zo("v-alert-title"),Xk=["success","info","warning","error"],Qk=Y({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:et,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>Xk.includes(e)},...ke(),...Ln(),...In(),...Pn(),...sa(),...ou(),...Ut(),...We(),...at(),...$r({variant:"flat"})},"VAlert"),e7=fe()({name:"VAlert",props:Qk(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{emit:n,slots:r}=t;const s=Ft(e,"modelValue"),i=A(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),o=A(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:a}=lt(e),{colorClasses:l,colorStyles:u,variantClasses:c}=Si(o),{densityClasses:d}=sr(e),{dimensionStyles:f}=Rn(e),{elevationClasses:h}=On(e),{locationStyles:v}=ia(e),{positionClasses:m}=au(e),{roundedClasses:p}=zt(e),{textColorClasses:S,textColorStyles:y}=Xn(ie(e,"borderColor")),{t:g}=hS(),_=A(()=>({"aria-label":g(e.closeLabel),onClick(T){s.value=!1,n("click:close",T)}}));return()=>{const T=!!(r.prepend||i.value),E=!!(r.title||e.title),C=!!(r.close||e.closable);return s.value&&b(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},a.value,l.value,d.value,h.value,m.value,p.value,c.value,e.class],style:[u.value,f.value,v.value,e.style],role:"alert"},{default:()=>{var x,P;return[_i(!1,"v-alert"),e.border&&b("div",{key:"border",class:["v-alert__border",S.value],style:y.value},null),T&&b("div",{key:"prepend",class:"v-alert__prepend"},[r.prepend?b(ze,{key:"prepend-defaults",disabled:!i.value,defaults:{VIcon:{density:e.density,icon:i.value,size:e.prominent?44:28}}},r.prepend):b(Qt,{key:"prepend-icon",density:e.density,icon:i.value,size:e.prominent?44:28},null)]),b("div",{class:"v-alert__content"},[E&&b(Zk,{key:"title"},{default:()=>{var O;return[((O=r.title)==null?void 0:O.call(r))??e.title]}}),((x=r.text)==null?void 0:x.call(r))??e.text,(P=r.default)==null?void 0:P.call(r)]),r.append&&b("div",{key:"append",class:"v-alert__append"},[r.append()]),C&&b("div",{key:"close",class:"v-alert__close"},[r.close?b(ze,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var O;return[(O=r.close)==null?void 0:O.call(r,{props:_.value})]}}):b(ds,Te({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},_.value),null)])]}})}}}),t7={class:"notification-wrapper"},n7=ht({__name:"notification-area",setup(e){const t=rg(),{entities:n}=vi(t);return(r,s)=>(ce(),Qe("div",t7,[b(Uo,{name:"list",tag:"div"},{default:Re(()=>[(ce(!0),Qe(ge,null,Xs(Z(n),i=>(ce(),Me(e7,{key:i.id,text:i.text,type:i.type,onClick:o=>Z(t).remove(i.id)},null,8,["text","type","onClick"]))),128))]),_:1})]))}}),r7=Ei(n7,[["__scopeId","data-v-0b961b91"]]),s7=ht({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return Ye(wr,mi(r)),()=>gt(e.vnode,{ref:e.vnodeRef})}}),i7=ht({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(e,{attrs:t,expose:n}){const r=Ue(),s=N(),i=Se(wr,null);let o;n({pageRef:s});const a=Se(Eb,null);let l;const u=r.deferHydration();if(r.isHydrating){const c=r.hooks.hookOnce("app:error",u);pn().beforeEach(c)}return e.pageKey&&se(()=>e.pageKey,(c,d)=>{c!==d&&r.callHook("page:loading:start")}),()=>gt(Jv,{name:e.name,route:e.route,...t},{default:c=>{const d=a7(i,c.route,c.Component),f=i&&i.matched.length===c.route.matched.length;if(!c.Component){if(l&&!f)return l;u();return}if(l&&a&&!a.isCurrent(c.route))return l;if(d&&i&&(!a||a!=null&&a.isCurrent(i)))return f?l:null;const h=Ml(c,e.pageKey);!r.isHydrating&&!l7(i,c.route,c.Component)&&o===h&&r.callHook("page:loading:end"),o=h;const v=!!(e.transition??c.route.meta.pageTransition??Cl),m=v&&o7([e.transition,c.route.meta.pageTransition,Cl,{onAfterLeave:()=>{r.callHook("page:transition:finish",c.Component)}}].filter(Boolean)),p=e.keepalive??c.route.meta.keepalive??C2;return l=z_(un,v&&m,N_(p,gt(wc,{suspensible:!0,onPending:()=>r.callHook("page:start",c.Component),onResolve:()=>{Ke(()=>r.callHook("page:finish",c.Component).then(()=>r.callHook("page:loading:end")).finally(u))}},{default:()=>{const S=gt(s7,{key:h||void 0,vnode:c.Component,route:c.route,renderKey:h||void 0,trackRootNodes:v,vnodeRef:s});return p&&(S.type.name=c.Component.type.name||c.Component.type.__name||"RouteProvider"),S}}))).default(),l}})}});function o7(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Jc(n.onAfterLeave):void 0}));return ev(...t)}function a7(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var i;return((i=s.components)==null?void 0:i.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,i)=>{var o,a,l;return((o=s.components)==null?void 0:o.default)!==((l=(a=e.matched[i])==null?void 0:a.components)==null?void 0:l.default)})||n&&Ml({route:t,Component:n})!==Ml({route:e,Component:n})}function l7(e,t,n){return e?t.matched.findIndex(s=>{var i;return((i=s.components)==null?void 0:i.default)===(n==null?void 0:n.type)})XS