1import{c as a,j as e}from"./index-BlJVdQjU.js";import{$ as c}from"./App-UKDK7pVK.js";import"./PublicSiteHeader-BUJ6F-Hv.js";function x({children:r}){const{profile:t}=a(),{hasCap:s}=c();return(!t||t.kind==="carer")&&!s("carer.portal.access")?e.jsx("div",{className:"fixed inset-0 flex items-center justify-center bg-white z-50 px-6",children:e.jsxs("div",{className:"max-w-md text-center",children:[e.jsx("span",{className:"text-5xl mb-4 block",children:"ð"}),e.jsx("h1",{className:"text-xl font-medium text-granite mb-2",children:"Your account is currently restricted"}),e.jsx("p",{className:"text-sm text-gray mb-6",children:"Access to the carer portal has been temporarily disabled. Please contact PrimeCarers for more information."}),e.jsx("a",{href:"mailto:[email protected]",className:"inline-block bg-granite text-white hover:bg-opacity-90 px-6 py-3 rounded-lg font-medium text-sm transition-colors",children:"Contact support"})]})}):e.jsx(e.Fragment,{children:r})}export{x as CarerPortalAccessGate};
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.