1import{i as e,t}from"./jsx-runtime-DUAcabCT.js";import{t as n}from"./react-DEX2qfRi.js";import{n as r,t as i}from"./router-compat-Dt6oAflo.js";import{t as a}from"./createLucideIcon-CVBeLAq1.js";import{t as o}from"./x-BjE_aFJS.js";import{t as s}from"./button-D0ZexXs1.js";import{t as c}from"./zerogpu-logo-dark-mWn-CI7B.js";var l=a(`github`,[[`path`,{d:`M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4`,key:`tonef`}],[`path`,{d:`M9 18c-4.51 2-5-2-7-2`,key:`9comsn`}]]),u=a(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),d=e(n(),1),f=`/assets/zerogpu-logo-light-CLStZe8z.webp`,p=t(),m=()=>{let e=r(),[t,n]=(0,d.useState)(!1),[a,m]=(0,d.useState)(0);(0,d.useEffect)(()=>{let e=0,t=()=>{let t=document.documentElement.scrollHeight-window.innerHeight,n=t>0?Math.min(1,Math.max(0,window.scrollY/t)):0;m(n),e=0},n=()=>{e||=requestAnimationFrame(t)};return window.addEventListener(`scroll`,n,{passive:!0}),t(),()=>{window.removeEventListener(`scroll`,n),e&&cancelAnimationFrame(e)}},[]);let h=e.pathname.startsWith(`/monetize`)||e.pathname.startsWith(`/edge`),g=[{label:`Home`,path:`/`},{label:`Use Cases`,path:`/use-cases`},{label:`Benchmarks`,path:`/benchmarks`},{label:`Case Studies`,path:`/case-studies`},{label:`Docs`,path:`https://docs.zerogpu.ai/`,external:!0},{label:`Contact`,path:`/contactus`}];return(0,p.jsxs)(`nav`,{className:`sticky top-0 z-50 w-full border-b border-border/40 bg-background/95 dark:bg-background/90 backdrop-blur-md supp
1orts-[backdrop-filter]:bg-background/85`,children:[(0,p.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8`,children:[(0,p.jsxs)(`div`,{className:`flex items-center justify-between h-16`,children:[(0,p.jsxs)(i,{to:`/`,className:`flex items-center hover:opacity-80 transition-opacity`,children:[(0,p.jsx)(`img`,{src:f,alt:`ZeroGPU logo`,width:139,height:32,fetchPriority:`high`,decoding:`async`,className:`h-8 w-auto dark:hidden`}),(0,p.jsx)(`img`,{src:c,alt:`ZeroGPU logo`,width:139,height:32,fetchPriority:`high`,decoding:`async`,className:`h-8 w-auto hidden dark:block`})]}),(0,p.jsxs)(`div`,{className:`hidden md:flex items-center gap-6`,children:[g.map(t=>t.external?(0,p.jsx)(`a`,{href:t.path,target:`_blank`,rel:`noopener noreferrer`,className:`text-sm font-medium transition-colors hover:text-primary text-foreground/85`,children:t.label},t.path):(0,p.jsx)(i,{to:t.path,className:`relative text-sm font-medium transition-colors hover:text-primary ${e.pathname===t.path||t.path===`/case-studies`&&e.pathname.startsWith(`/case-study/`)?`text-primary`:`text-foreground/85`}`,children:(0,p.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[t.label,t.badge&&(0,p.jsx)(`span`,{className:`inline-flex items-center rounded-full border border-primary/30 bg-primary/10 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-primary leading-none`,children:t.badge})]})},t.path)),(0,p.jsx)(`a`,{href:`https://github.com/zerogpu`,target:`_blank`,rel:`noopener noreferrer`,className:`text-foreground/85 hover:text-foreground transition-colors`,"aria-label":`GitHub`,children:(0,p.jsx)(l,{className:`h-5 w-5`})}),(0,p.jsx)(`a`,{href:`https://www.producthunt.com/products/zerogpu?embed=true&utm_source=badge-top-post-badge&utm_medium=badge&utm_campaign=badge-zerogpu`,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`ZeroGPU on Product Hunt`,children:(0,p.jsx)(`img`,{alt:`ZeroGPU - The compute efficient layer for AI inference | Product Hunt`,width:`180`,height:`39`,src:`https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=1164545&theme=neutral&period=daily&t=1781105170419`})}),h?(0,p.jsx)(`a`,{href:`https://edge.zerogpu.ai/auth/sign-up`,className:`inline-flex items-center justify-center h-9 rounded-md px-3 text-sm font-semibold bg-primary text-primary-foreground hover:bg-primary/90 transition-colors`,children:`Start earning`}):(0,p.jsx)(`a`,{href:`https://platform.zerogpu.ai/auth/sign-up`,className:`inline-flex items-center justify-center h-9 rounded-md px-3 text-sm font-semibold bg-primary text-primary-foreground hover:bg-primary/90 transition-colors`,children:`Start building`})]}),(0,p.jsx)(`div`,{className:`md:hidden`,children:(0,p.jsx)(s,{variant:`ghost`,size:`icon`,onClick:()=>n(!t),"aria-label":`Toggle menu`,children:t?(0,p.jsx)(o,{className:`h-5 w-5`}):(0,p.jsx)(u,{className:`h-5 w-5`})})})]}),t&&(0,p.jsxs)(`div`,{className:`md:hidden py-4 space-y-2 border-t border-border/40 animate-fade-in`,children:[g.map(e=>e.external?(0,p.jsx)(`a`,{href:e.path,target:`_blank`,rel:`noopener noreferrer`,onClick:()=>n(!1),className:`block px-3 py-2 rounded-md text-base font-medium text-foreground/85 hover:bg-muted hover:text-foreground transition-colors`,children:e.label},e.path):(0,p.jsxs)(i,{to:e.path,onClick:()=>n(!1),className:`flex items-center gap-2 px-3 py-2 rounded-md text-base font-medium text-foreground/85 hover:bg-muted hover:text-foreground transition-colors`,children:[e.label,e.badge&&(0,p.jsx)(`span`,{className:`inline-flex items-center rounded-full border border-primary/30 bg-primary/10 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-primary leading-none`,children:e.badge})]},e.path)),(0,p.jsxs)(`a`,{href:`https://github.com/zerogpu`,target:`_blank`,rel:`noopener noreferrer`,onClick:()=>n(!1),className:`flex items-center gap-2 px-3 py-2 rounded-md text-base font-medium text-foreground/85 hover:bg-muted hover:text-foreground transition-colors`,children:[(0,p.jsx)(l,{className:`h-5 w-5`}),`GitHub`]}),(0,p.jsx)(`div`,{className:`px-3 pt-2`,children:h?(0,p.jsx)(`a`,{href:`https://edge.zerogpu.ai/auth/sign-up`,onClick:()=>n(!1),className:`block w-full text-center rounded-md py-2 text-sm font-semibold bg-primary text-primary-foreground hover:bg-primary/90 transition-colors`,children:`Start earning`}):(0,p.jsx)(`a`,{href:`https://platform.zerogpu.ai/auth/sign-up`,onClick:()=>n(!1),className:`block w-full text-center rounded-md py-2 text-sm font-semibold bg-primary text-primary-foreground hover:bg-primary/90 transition-colors`,children:`Start building`})})]})]}),(0,p.jsx)(`div`,{className:`absolute bottom-0 left-0 right-0 h-[2px] bg-transparent pointer-events-none`,children:(0,p.jsx)(`div`,{className:`h-full origin-left will-change-transform`,style:{transform:`scaleX(${a})`,background:`var(--gradient-primary)`,transition:`transform 80ms linear`}})})]})};export{m as t};
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.