1import{n as e}from"./rolldown-runtime-CbXtAM7H.js";import{H as t,a as n,g as r,n as i,t as a}from"./router-compat-DCVMAyUL.js";import{t as o}from"./button-O03lERaA.js";import{t as s}from"./x-D2YUaGff.js";import{t as c}from"./l4s-brand-white.webp.asset-DOpLYx6L.js";var l=n(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),u=e(t(),1),d=r(),f=[{label:`L4S`,href:`/`},{label:`L4S Portais`,href:`/portais`},{label:`LeadControl`,href:`/leadcontrol`},{label:`L4S Tools`,href:`/tools`},{label:`Blog`,href:`/blog`}],p=()=>{let{pathname:e}=i(),[t,n]=(0,u.useState)(!1),[r,p]=(0,u.useState)(!1);(0,u.useEffect)(()=>{let e=()=>p(window.scrollY>10);return window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),(0,u.useEffect)(()=>{n(!1)},[e]);let m=t=>t===`/`?e===`/`:e.startsWith(t);return(0,d.jsxs)(`header`,{className:`sticky top-0 z-50 w-full border-b transition-all duration-300 ${r?`bg-background/90 backdrop-blur-xl border-border/60 shadow-soft`:`bg-transparent border-transparent`}`,children:[(0,d.jsxs)(`div`,{className:`container mx-auto px-4 md:px-6 h-16 flex items-center justify-between`,children:[(0,d.jsx)(a,{to:`/`,"aria-current":e===`/`?`page`:void 0,className:`flex h-12 w-[116px] shrink-0 items-center rounded-md p-2 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background md:w-[130px]`,"aria-label":`L4S - Página inicial`,children:(0,d.jsx)(`img`,{src:c.url,alt:``,"aria-hidden":`true`,className:`h-auto w-full max-w-[114px] object-contain md:max-w-[126px]`,width:`1920`,height:`682`,loading:`eager`,decoding:`sync`,fetchPriority:`high`})}),(0,d.jsx)(`nav`,{className:`hidden md:flex items-center justify-center flex-1 gap-1 lg:gap-2 px-2`,"aria-label":`Navegação principal`,children:f.map(e=>(0,d.jsx)(a,{to:e.href,"aria-current":m(e.href)?`page`:void 0,className:`relative flex h-10 items-center px-3 lg:px-4 text-sm font-medium whitespace-nowrap rounded-md transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background after:absolute after:left-3 after:right-3 lg:after:left-4 lg:after:right-4 after:-bottom-0.5 after:h-0.5 after:rounded-full after:bg-primary after:transition-transform after:duration-300 after:origin-left ${m(e.href)?`text-foreground after:scale-x-100`:`text-muted-foreground hover:text-foreground after:scale-x-0`}`,children:e.label},e.href))}),(0,d.jsx)(`div`,{className:`hidden md:flex items-center justify-end shrink-0 gap-3 h-12`,children:(0,d.jsx)(o,{asChild:!0,variant:`ghost`,size:`sm`,className:`h-10 px-4 text-sm font-medium whitespace-nowrap text-muted-foreground hover:text-foreground leading-none`,children:(0,d.jsx)(a,{to:`/acessar_plataforma`,children:`Acessar plataformas`})})}),(0,d.jsx)(o,{variant:`ghost`,size:`icon`,className:`md:hidden h-12 w-12 text-foreground`,onClick:()=>n(e=>!e),"aria-label":t?`Fechar menu`:`Abrir menu`,"aria-expanded":t,"aria-controls":`mobile-nav`,children:t?(0,d.jsx)(s,{className:`h-6 w-6`,"aria-hidden":`true`}):(0,d.jsx)(l,{className:`h-6 w-6`,"aria-hidden":`true`})})]}),t&&(0,d.jsx)(`div`,{id:`mobile-nav`,className:`md:hidden border-t border-border/60 bg-background/95 backdrop-blur-xl`,children:(0,d.jsxs)(`nav`,{className:`container mx-auto px-4 py-4 flex flex-col gap-2`,"aria-label":`Navegação mobile`,children:[f.map(e=>(0,d.jsx)(a,{to:e.href,"aria-current":m(e.href)?`page`:void 0,className:`relative flex h-12 items-center px-4 rounded-lg text-base font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background ${m(e.href)?`text-foreground bg-surface before:absolute before:left-0 before:top-2 before:bottom-2 before:w-0.5 before:rounded-full before:bg-primary`:`text-muted-foreground hover:text-foreground hover:bg-surface`}`,children:e.label},e.href)),(0,d.jsx)(`div`,{className:`pt-3 mt-2 border-t border-border/60 flex flex-col gap-2`,children:(0,d.jsx)(o,{asChild:!0,variant:`ghost`,className:`h-12 w-full justify-start px-4 text-base font-medium text-muted-foreground hover:text-foreground`,children:(0,d.jsx)(a,{to:`/acessar_plataforma`,children:`Acessar plataformas`})})})]})})]})};export{p 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.