1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23,118,678,343],{2290:function(e,s,t){Promise.resolve().then(t.t.bind(t,5878,23)),Promise.resolve().then(t.bind(t,1683))},1683:function(e,s,t){"use strict";var n=t(7437),l=t(7648),a=t(2265);s.default=()=>{let[e,s]=(0,a.useState)(!1),t=(0,a.useRef)(null);return(0,a.useEffect)(()=>{function e(e){t.current&&!t.current.contains(e.target)&&s(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,n.jsxs)("header",{className:"flex justify-between items-center mb-20 mt-8 px-4 relative",children:[(0,n.jsx)("h2",{className:"text-2xl md:text-4xl font-bold tracking-tight md:tracking-tighter leading-tight",children:(0,n.jsx)(l.default,{href:"/",className:"hover:underline",children:"Nat Eliason"})}),(0,n.jsxs)("button",{className:"block md:hidden flex flex-col justify-center items-center w-8 h-8 space-y-1.5",onClick:()=>{s(!e)},"aria-label":"Toggle menu",children:[(0,n.jsx)("span",{className:"block w-6 h-0.5 bg-black transition-transform duration-300 ease-in-out ".concat(e?"transform rotate-45 translate-y-2":"")}),(0,n.jsx)("span",{className:"block w-6 h-0.5 bg-black transition-opacity duration-300 ease-in-out ".concat(e?"opacity-0":"opacity-100")}),(0,n.jsx)("span",{className:"block w-6 h-0.5 bg-black transition-transform duration-300 ease-in-out ".concat(e?"transform -rotate-45 -translate-y-2":"")})]}),(0,n.jsx)("nav",{className:"hidden md:block",children:(0,n.jsxs)("ul",{className:"flex space-x-6",children:[(0,n.jsx)("li",{children:(0,n.jsx)(l.default,{href:"https://blog.nateliason.com/",className:"hover:underline",children:"Newsletter"})}),(0,n.jsx)("li",{children:(0,n.jsx)(l.default,{href:"/books",className:"hover:underline",children:"Books"})}),(0,n.jsx)("li",{children:(0,n.jsx)(l.default,{href:"/blog",className:"hover:underline",children:"Articles"})}),(0,n.jsx)("li",{children:(0,n.jsx)(l.default,{href:"/notes",className:"hover:underline",children:"Notes"})}),(0,n.jsx)("li",{children:(0,n.jsx)(l.default,{href:"/courses",className:"hover:underline",children:"Courses"})})]})}),(0,n.jsx)("div",{ref:t,className:"absolute top-20 right-0 left-0 bg-white shadow-md z-10 md:hidden transition-all duration-300 ease-in-out ".concat(e?"opacity-100 translate-y-0":"opacity-0 -translate-y-2 pointer-events-none"),children:(0,n.jsxs)("ul",{className:"flex flex-col py-4",children:[(0,n.jsx)("li",{className:"py-2 text-center",children:(0,n.jsx)(l.default,{href:"https://blog.nateliason.com/",className:"hover:underline",children:"Newsletter"})}),(0,n.jsx)("li",{className:"py-2 text-center",children:(0,n.jsx)(l.default,{href:"/books",className:"hover:underline",children:"Books"})}),(0,n.jsx)("li",{className:"py-2 text-center",children:(0,n.jsx)(l.default,{href:"/blog",className:"hover:underline",children:"Articles"})}),(0,n.jsx)("li",{className:"py-2 text-center",children:(0,n.jsx)(l.default,{href:"/notes",className:"hover:underline",children:"Notes"})}),(0,n.jsx)("li",{className:"py-2 text-center",children:(0,n.jsx)(l.default,{href:"/courses",className:"hover:underline",children:"Courses"})})]})})]})}}},function(e){e.O(0,[648,878,971,117,744],function(){return e(e.s=2290)}),_N_E=e.O()}]);
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.