1import{vt as e,z as t}from"./Dcac53EY.js";import{Jc as n,Qc as r,f as i,m as a,t as o}from"./PaunhVbl.js";t();var s=n(`userStore`,()=>{let{api:t}=i(),{user:n}=o(),{loadRoles:s}=r(),c=a(),l=async({attrs:e})=>{if(!n.value)throw Error(`User is not defined`);await t.userProfile.update(e),n.value={...n.value,...e},c.clearBasesUser()},u=s;return e(()=>n.value?.id,(e,t)=>{e&&e!==t&&u()},{immediate:!0}),{loadCurrentUser:u,updateUserProfile:l}});export{s 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.