1import{g,y as x,x as C,s as b,b as y,j as S,w as t,D as e,F as i,t as u,e as _,bw as P,i as v,bx as k,Y as B,K as U,h as f,J as A,V,T as I}from"./app-BV_MRGiY.js";import{V as R,a as h,b as w,c as E}from"./VList-DMgWQMMo.js";import{V as L}from"./VAvatar-DsqQT6G4.js";import{V as O,a as $}from"./VCard-Dq9ovDQ1.js";import{V as D}from"./VDivider-DsDIMz2A.js";import{V as N}from"./VSpacer-BDYNWQQy.js";import"./_commonjsHelpers-DaWZu8wl.js";import"./createSimpleFunctional-B9jd2Nfg.js";import"./VImg-BCkp8k9d.js";import"./index-Bk9Q9kfu.js";const H={__name:"BsUserTile",setup(T){const p=g(),a=x(p),{t:o}=C(),{loggedIn:s,email:c,fullname:m}=b(a),n=v(()=>s.value?m.value:o("async.menu.login.title")),d=v(()=>s.value?c.value:o("async.menu.login.teaser"));return(r,l)=>(y(),S(w,{tag:"span",onClick:l[0]||(l[0]=j=>r.$emit("tileClick"))},{prepend:t(()=>[e(L,null,{default:t(()=>[e(P)]),_:1})]),default:t(()=>[e(R,null,{default:t(()=>[i(u(n.value),1)]),_:1}),e(h,null,{default:t(()=>[_("span",null,u(d.value),1),l[1]||(l[1]=_("br",null,null,-1))]),_:1})]),_:1}))}},X={__name:"BsUserPopover",setup(T){const p=g(),a=k(),{t:o}=C(),s=B(p),{getComponentVisibility:c}=b(s),m=()=>{s.hideAllComponents(),a.push({path:"/logout"}).catch(()=>{})},n=()=>{s.hideAllComponents(),a.push({path:"/profile"})};return(d,r)=>(y(),S(I,{mode:"out-in",name:"user-popover__trans"},{default:t(()=>[e(O,{id:"USER_POPOVER",class:U([{active:f(c)("USER_POPOVER")},"user-popover overflow-visible"]),role:"menu"},{default:t(()=>[e(A,{class:"user-popover__connection"},{default:t(()=>[...r[0]||(r[0]=[i(" bs:$vuetify.icons.mdiMenuUp ",-1)])]),_:1}),e(E,null,{default:t(()=>[e(H,{onTileClick:n})]),_:1}),e(D),e($,null,{default:t(()=>[e(N),e(V,{class:"user-popover__settings-btn",color:"primary",variant:"text",onClick:n},{default:t(()=>[i(u(f(o)("async.menu.profile")),1)]),_:1}),e(V,{color:"primary",variant:"text",onClick:m},{default:t(()=>[i(u(f(o)("async.menu.logout")),1)]),_:1})]),_:1})]),_:1},8,["class"])]),_:1}))}};export{X as default}; 2//# sourceMappingURL=BsUserPopover-BpQorJCV.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.