PageSourceSearch

https://app.ustechautomations.com/assets/AdminRoute-YaPmKRZJ.js

js ustechautomations.com collected 2026-09-26 00:53:06 UTC 1,739 bytes, 1 lines download raw bytes

1import{C as e,p as n,J as s}from"./chunk-6CSD65Y2-xYubHBmU.js";import{u as t}from"./overlayFocus-BmDVzTk_.js";import{aJ as i}from"./voiceStore-D_K9cjIr.js";const r="_loadingContainer_8tu3w_8",a="_loadingContent_8tu3w_16",o="_spinner_8tu3w_23",c="_loadingText_8tu3w_32",u="_unauthorizedContainer_8tu3w_44",d="_unauthorizedContent_8tu3w_53",l="_iconContainer_8tu3w_58",h="_icon_8tu3w_58",_="_unauthorizedTitle_8tu3w_70",m="_unauthorizedText_8tu3w_77",j="_backLink_8tu3w_84";function x(){return n.jsx("div",{className:r,children:n.jsxs("div",{className:a,children:[n.jsx("div",{className:o}),n.jsx("p",{className:c,children:"Verifying authentication..."})]})})}function p(){return n.jsx("div",{className:u,children:n.jsxs("div",{className:d,children:[n.jsx("div",{className:l,children:n.jsx("svg",{className:h,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),n.jsx("h1",{className:_,children:"Access Denied"}),n.jsxs("p",{className:m,children:["You do not have permission to access the admin panel.",n.jsx("br",{}),"This area is restricted to authorized administrators only."]}),n.jsx("a",{href:"/core/flows",className:j,children:"Return to Dashboard"})]})})}function f({children:r}){const{isAuthenticated:a,isLoading:o,user:c}=t(),u=e();if(o)return n.jsx(x,{});if(!a){const e=encodeURIComponent(u.pathname+u.search);return n.jsx(s,{to:`/login?return=${e}`,replace:!0})}return i(c)?n.jsx(n.Fragment,{children:r}):n.jsx(p,{})}function w(){const{user:e,isAuthenticated:n}=t();return n&&i(e)}export{f as A,w as u};

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.