1import{r as e}from"./rolldown-runtime-C60lm6uB.js";import{i as t,r as n}from"./framework-D_rUT4EX.js";import{t as r}from"./index-BIpnns-i.js";import{t as i}from"./createLucideIcon-CLApvFWr.js";import{i as a,n as o,r as s,t as c}from"./site-CqAFsmS6.js";var l=i(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),u=e(t(),1),d=n();function f(){let e=r(),[t,n]=(0,u.useState)(!1);return(0,d.jsx)(`header`,{className:`site-header`,children:(0,d.jsxs)(`div`,{className:`header-inner`,children:[(0,d.jsxs)(`a`,{className:`wordmark`,href:s(`/`),onClick:()=>n(!1),children:[(0,d.jsx)(`span`,{className:`wordmark-mark`,"aria-hidden":`true`,children:(0,d.jsx)(`svg`,{viewBox:`0 0 40 40`,"aria-hidden":`true`,focusable:`false`,children:(0,d.jsx)(`path`,{d:`M4 20c4.5-10 9-10 13.5 0s9 10 18.5 0`})})}),(0,d.jsx)(`span`,{children:o.shortName})]}),(0,d.jsx)(`button`,{className:`nav-toggle`,type:`button`,"aria-label":t?`Close navigation`:`Open navigation`,"aria-expanded":t,onClick:()=>n(e=>!e),children:t?(0,d.jsx)(a,{}):(0,d.jsx)(l,{})}),(0,d.jsx)(`nav`,{className:t?`main-nav is-open`:`main-nav`,"aria-label":`Main navigation`,children:c.map(t=>{let r=t.href===`/`?e===`/`:e.startsWith(t.href);return(0,d.jsx)(`a`,{className:r?`nav-link is-active`:`nav-link`,href:s(t.href),"aria-current":r?`page`:void 0,onClick:()=>n(!1),children:t.label},t.href)})})]})})}export{f as SiteHeader};
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.