PageSourceSearch

https://app.squirrels.ai/assets/AccessDenied-hUAjMS_J.js

js squirrels.ai collected 2026-10-05 13:53:08 UTC 1,152 bytes, 1 lines download raw bytes

1import{s as n,j as s,r as c,u as r}from"./index-DbbrNrzR.js";import{B as g}from"./BaseErrorPage-cwG7vdbc.js";import"./WestRounded-BuddvoX8.js";const d=n(s.jsx("path",{d:"M10.3 7.7c-.39.39-.39 1.01 0 1.4l1.9 1.9H3c-.55 0-1 .45-1 1s.45 1 1 1h9.2l-1.9 1.9c-.39.39-.39 1.01 0 1.4s1.01.39 1.4 0l3.59-3.59c.39-.39.39-1.02 0-1.41L11.7 7.7a.984.984 0 0 0-1.4 0M20 19h-7c-.55 0-1 .45-1 1s.45 1 1 1h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-7c-.55 0-1 .45-1 1s.45 1 1 1h7z"}),"LoginRounded"),h="/assets/accessDenied--a_oG_4a.svg",m=()=>{const[o,t]=c.useState(!1),a=r(),i=()=>{try{t(!0);const e=window.location.pathname+window.location.search+window.location.hash;e.startsWith("/login")||sessionStorage.setItem("redirectAfterLogin",e),a("/login")}catch(e){console.error("Navigation failed:",e),t(!1)}};return s.jsx(g,{imageSrc:h,title:"Access Restricted",description:"Oops! You don't have permission to access this page. The squirrels are on guard! Try logging in with the right credentials or head back before they start throwing acorns!",imageAlt:"Access Denied",buttonLabel:o?"Redirecting to Login...":"Login",IconComponent:d,onButtonClick:i})};export{m as default};

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.