1import{_n as e,gn as t,mi as n}from"./BaLoVrIZw.js";var r=e(`userAccount`,{state:()=>({userAccount:null,sidebarNavigation:[],headerNavigation:[],isSidebarVisible:!1,recentNotificationsVisible:!!t().siteNotice,clientNotifications:[],queuedClientNotifications:[]}),actions:{async getUserAccountData(){let e=await this.$webServiceApi({domain:`user`,action:`getUserAccountData`});this.userAccount=e},async getNavigation(e){let t=e.query.context===n.qc,r={};t&&(r.context=n.qc);let[i,a]=await Promise.all([this.$webServiceApi({component:`userAccountNavigation`,action:`getItems`,query:r}),this.$webServiceApi({component:`userAccountHeader`,action:`getNavigation`})]);this.sidebarNavigation=i,this.headerNavigation=a},addClientNotification(e){this.clientNotifications.push({...e,id:e.id?e.id:crypto.randomUUID()})},queueClientNotification(e){this.queuedClientNotifications.push({...e,id:e.id?e.id:crypto.randomUUID()})},removeClientNotification(e){this.clientNotifications=this.clientNotifications.filter(t=>t.id!==e)},removeAllClientNotifications(){this.clientNotifications=[]},showQueuedClientNotifications(){this.clientNotifications.push(...this.queuedClientNotifications),this.queuedClientNotifications=[]}}});export{r as t};
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.