PageSourceSearch

https://cloud.hellopebl.com/assets/useCurrentUserPersonas-wIFCNIRw.js

js hellopebl.com collected 2026-09-29 06:10:13 UTC 957 bytes, 2 lines download raw bytes

1import{i as e}from"./_virtual___federation_fn_import-B42vpj-0.js";const{useMemo:r}=await e("react"),{actions:A,isAuthorizedForAll:a,useAuthContext:t}=await e("@velocity-global/react-auth"),n=Object.freeze({WORKER:"worker",INTERNAL_USER:"internal_user",CLIENT_MANAGER:"client_manager",COMPANY_ADMIN:"company_admin",HR_MANAGER:"hr_manager",PARTNER:"partner"}),o=[{userPersona:n.WORKER,iamAction:A.VIEW_AS_WORKER},{userPersona:n.INTERNAL_USER,iamAction:A.VIEW_AS_INTERNAL_USER},{userPersona:n.CLIENT_MANAGER,iamAction:A.VIEW_AS_CLIENT_MANAGER},{userPersona:n.COMPANY_ADMIN,iamAction:A.VIEW_AS_COMPANY_ADMIN},{userPersona:n.HR_MANAGER,iamAction:A.VIEW_AS_HR_MANAGER},{userPersona:n.PARTNER,iamAction:A.VIEW_AS_PARTNER}];function _(){const{authorizedActions:e}=t();return{currentUserPersonas:r((()=>new Set(o.filter((({iamAction:r})=>a(r,e))).map((({userPersona:e})=>e)))),[e])}}export{n as a,_ as u};
2//# sourceMappingURL=useCurrentUserPersonas-wIFCNIRw.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.