1import{u,r as g,a as p,j as e,L as s}from"./index-DEvm7ro-.js";import{B as i}from"./button-Bp6Fjnkv.js";import{S as x}from"./shield-check-CDTX9LJk.js";import{X as f}from"./x-D4VoS8jC.js";import{M as j}from"./menu-DdbkrSB8.js";import{C as b}from"./chevron-down-CsijHUAu.js";import{C as v}from"./chromium-Dk86H_v3.js";const c=[{to:"/deidentify",label:"Document de-identifier"},{to:"/scanner",label:"Text leak scanner"},{to:"/limitations",label:"Limitations"}],d=[{to:"/use-cases/legal",label:"Legal work"},{to:"/use-cases/professional-services",label:"Professional services"}];function A(){const{user:r,signOut:n}=u(),[t,a]=g.useState(!1),h=p(),l=async()=>{await n(),a(!1),h({to:"/"})};return e.jsxs("header",{className:"sticky top-0 z-40 border-b bg-background/95 backdrop-blur",children:[e.jsxs("div",{className:"mx-auto flex min-h-16 max-w-6xl items-center justify-between px-4",children:[e.jsxs(s,{to:"/",className:"flex items-center gap-2 font-semibold",children:[e.jsx("span",{className:"inline-flex h-8 w-8 items-center justify-center rounded-md bg-primary text-primary-foreground",children:e.jsx(x,{className:"h-4 w-4"})}),"SoloScripter"]}),e.jsxs("nav",{className:"hidden items-center gap-6 text-sm lg:flex","aria-label":"Primary navigation",children:[e.jsx(m,{label:"Product",items:c}),e.jsx(m,{label:"Use cases",items:d}),e.jsx(s,{to:"/extension",className:"text-muted-foreground hover:text-foreground",children:"Extension"}),e.jsx(s,{to:"/pricing",className:"text-muted-foreground hover:text-foreground",children:"Pricing"}),e.jsx(s,{to:"/trust",className:"text-muted-foreground hover:text-foreground",children:"Trust"})]}),e.jsxs("div",{className:"hidden items-center gap-2 sm:flex",children:[r?e.jsxs(e.Fragment,{children:[e.jsx(i,{asChild:!0,variant:"ghost",size:"sm",children:e.jsx(s,{to:"/app",children:"Account"})}),e.jsx(i,{variant:"ghost",size:"sm",onClick:l,children:"Sign out"})]}):e.jsx(i,{asChild:!0,variant:"ghost",size:"sm",children:e.jsx(s,{to:"/login",children:"Sign in"})}),e.jsx(i,{asChild:!0,size:"sm",children:e.jsx(s,{to:"/deidentify",children:"Scan a document"})})]}),e.jsx(i,{variant:"ghost",size:"icon",className:"lg:hidden",onClick:()=>a(!t),"aria-expanded":t,"aria-label":t?"Close navigation":"Open navigation",children:t?e.jsx(f,{className:"h-5 w-5"}):e.jsx(j,{className:"h-5 w-5"})})]}),t&&e.jsx("nav",{className:"border-t px-4 py-5 lg:hidden","aria-label":"Mobile navigation",children:e.jsxs("div",{className:"mx-auto grid max-w-6xl gap-1",children:[[...c,...d,{to:"/extension",label:"Extension"},{to:"/pricing",label:"Pricing"},{to:"/trust",label:"Trust"}].map(o=>e.jsx(s,{to:o.to,onClick:()=>a(!1),className:"border-b py-3 text-sm",children:o.label},o.to)),e.jsxs("div",{className:"mt-4 flex gap-2",children:[r?e.jsxs(e.Fragment,{children:[e.jsx(i,{asChild:!0,variant:"outline",className:"flex-1",children:e.jsx(s,{to:"/app",onClick:()=>a(!1),children:"Account"})}),e.jsx(i,{variant:"outline",className:"flex-1",onClick:l,children:"Sign out"})]}):e.jsx(i,{asChild:!0,variant:"outline",className:"flex-1",children:e.jsx(s,{to:"/login",children:"Sign in"})}),e.jsx(i,{asChild:!0,className:"flex-1",children:e.jsx(s,{to:"/deidentify",children:"Scan a document"})})]})]})})]})}function m({label:r,items:n}){return e.jsxs("div",{className:"group relative",children:[e.jsxs("button",{className:"inline-flex items-center gap-1 text-muted-foreground hover:text-foreground",type:"button",children:[r,e.jsx(b,{className:"h-3.5 w-3.5"})]}),e.jsx("div",{className:"invisible absolute left-0 top-full w-56 pt-3 opacity-0 transition group-focus-within:visible group-focus-within:opacity-100 group-hover:visible group-hover:opacity-100",children:e.jsx("div",{className:"border bg-popover p-2 shadow-lg",children:n.map(t=>e.jsx(s,{to:t.to,className:"block px-3 py-2 text-sm text-muted-foreground hover:bg-muted hover:text-foreground",children:t.label},t.to))})})]})}const N="https://chromewebstore.google.com/detail/hemegfkhkflamjjmkoafcjoiakghijnd?utm_source=item-share-cb";function T(){return e.jsx("footer",{className:"border-t bg-muted/20",children:e.jsxs("div",{className:"mx-auto max-w-6xl px-4 py-12",children:[e.jsxs("div",{className:"grid gap-10 md:grid-cols-[1.5fr_1fr_1fr]",children:[e.jsxs("div",{children:[e.jsxs(s,{to:"/",className:"inline-flex items-center gap-2 font-semibold",children:[e.jsx(x,{className:"h-5 w-5 text-primary"}),"SoloScripter"]}),e.jsx("p",{className:"mt-3 max-w-sm text-sm leading-6 text-muted-foreground",children:"A browser-local document scanning and de-identification step before you share text with an external AI tool."})]}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-sm font-semibold",children:"Product"}),e.jsxs("nav",{className:"mt-3 grid gap-2 text-sm text-muted-foreground",children:[e.jsx(s,{to:"/deidentify",children:"Document de-identifier"}),e.jsx(s,{to:"/scanner",children:"Text scanner"}),e.jsx(s,{to:"/pricing",children:"Pricing"}),e.jsx(s,{to:"/extension",children:"Gmail extension"}),e.jsxs("a",{href:N,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5",children:[e.jsx(v,{className:"h-3.5 w-3.5"}),"Chrome Web Store"]})]})]}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-sm font-semibold",children:"Trust & support"}),e.jsxs("nav",{className:"mt-3 grid gap-2 text-sm text-muted-foreground",children:[e.jsx(s,{to:"/trust",children:"Data flow"}),e.jsx(s,{to:"/limitations",children:"Limitations"}),e.jsx(s,{to:"/privacy",children:"Privacy"}),e.jsx(s,{to:"/terms",children:"Terms"}),e.jsx(s,{to:"/faq",children:"FAQ"}),e.jsx(s,{to:"/contact",children:"Contact"})]})]})]}),e.jsx("div",{className:"mt-10 border-t pt-5 text-xs text-muted-foreground",children:"Copyright © 2026 SoloScripter. Review every de-identified output before sharing."})]})})}export{A as S,T as a};
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.