PageSourceSearch

https://cssstudio.ai/assets/AccountLayout-CgOEbq5k.js

js cssstudio.ai collected 2026-10-04 21:07:58 UTC 2,269 bytes, 1 lines download raw bytes

1import{w as m,a as e,t as p,z as v,p as s,v as o,O as f}from"./chunk-6CSD65Y2-B9EdUb7a.js";import{supabase as c}from"./supabase-y7-6yKvl.js";import{u as g}from"./use-team-q6rcJU7N.js";const C=m(function(){const[i,r]=e.useState(null),[u,l]=e.useState(!0),[d]=g(),t=p(),n=v();e.useEffect(()=>{c.auth.getSession().then(({data:{session:a}})=>{a?r(a):n("/login"),l(!1)})},[n]);async function h(){await c.auth.signOut(),n("/")}if(u||!i)return null;const x=t.pathname==="/account"||t.pathname==="/account/password",j=t.pathname==="/account/seats";return s.jsxs("div",{className:"account-layout",children:[s.jsx("nav",{className:"account-sidebar",children:s.jsx("div",{className:"account-nav-section",children:s.jsxs("ul",{className:"account-nav-list",children:[s.jsx("li",{children:s.jsxs(o,{to:"/account/password",className:`account-nav-link ${x?"active":""}`,children:[s.jsx(k,{}),"Password"]})}),d.isTeamAdmin&&s.jsx("li",{children:s.jsxs(o,{to:"/account/seats",className:`account-nav-link ${j?"active":""}`,children:[s.jsx(w,{}),"Team Seats"]})}),s.jsx("li",{children:s.jsxs("button",{onClick:h,className:"account-nav-link",children:[s.jsx(L,{}),"Log out"]})})]})})}),s.jsx("main",{className:"account-content",children:s.jsx(f,{})})]})});function k(){return s.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2"}),s.jsx("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]})}function w(){return s.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}),s.jsx("circle",{cx:"9",cy:"7",r:"4"}),s.jsx("path",{d:"M22 21v-2a4 4 0 0 0-3-3.87"}),s.jsx("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]})}function L(){return s.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),s.jsx("polyline",{points:"16 17 21 12 16 7"}),s.jsx("line",{x1:"21",x2:"9",y1:"12",y2:"12"})]})}export{C 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.