PageSourceSearch

https://kylegillen.com/_next/static/chunks/app/layout-f808b6b53c335646.js

js kylegillen.com collected 2026-10-09 21:34:08 UTC 9,854 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{628:()=>{},1478:(e,t,r)=>{"use strict";r.d(t,{ThemeProviders:()=>i});var a=r(5155),s=r(9288),l=r(9327),n=r.n(l);function i(e){let{children:t}=e;return(0,a.jsx)(s.N,{attribute:"class",defaultTheme:n().theme,enableSystem:!0,children:t})}},1564:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var a,s,l=r(2115);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}let i=function(e){return l.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",width:40,height:40,fill:"currentColor",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:2},viewBox:"0 0 50 50"},e),l.createElement("path",{d:"M.688 0h50v50h-50z",style:{fill:"none"}}),a||(a=l.createElement("clipPath",{id:"logo_svg__a"},l.createElement("path",{d:"M.688 0h50v50h-50z"}))),s||(s=l.createElement("g",{clipPath:"url(#logo_svg__a)"},l.createElement("path",{d:"M.688 37.517V12.504l6.757-3.923v12.623l8.108-4.682V3.901L22.309 0v20.423l-6.756 3.901 6.756 3.901V50l-6.756-3.901V32.126l-6.757-3.901-1.351.781v12.413zM29.066 0l21.622 12.483v8.463l-6.757.004.002-4.565-8.11-4.649v26.561l8.108-4.682v-5.39l-5.395-3.901h12.149l.003 13.163L29.066 50z"}))))}},1762:(e,t,r)=>{"use strict";r.d(t,{default:()=>u});var a=r(5155),s=r(2115),l=r(9288),n=r(3937),i=r(7522),o=r(9218);let c=()=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"group:hover:text-gray-100 h-6 w-6",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z",clipRule:"evenodd"})}),d=()=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"group:hover:text-gray-100 h-6 w-6",children:(0,a.jsx)("path",{d:"M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"})}),h=()=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"group:hover:text-gray-100 h-6 w-6",children:[(0,a.jsx)("rect",{x:"3",y:"3",width:"14",height:"10",rx:"2",ry:"2"}),(0,a.jsx)("line",{x1:"7",y1:"17",x2:"13",y2:"17"}),(0,a.jsx)("line",{x1:"10",y1:"13",x2:"10",y2:"17"})]}),m=()=>(0,a.jsx)("svg",{className:"h-6 w-6"}),u=()=>{let[e,t]=(0,s.useState)(!1),{theme:r,setTheme:u,resolvedTheme:x}=(0,l.D)();return(0,s.useEffect)(()=>t(!0),[]),(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsxs)(n.W1,{as:"div",className:"relative inline-block text-left",children:[(0,a.jsx)("div",{className:"hover:text-primary-500 dark:hover:text-primary-400 flex items-center justify-center",children:(0,a.jsx)(n.IU,{"aria-label":"Theme switcher",children:e?"dark"===x?(0,a.jsx)(d,{}):(0,a.jsx)(c,{}):(0,a.jsx)(m,{})})}),(0,a.jsx)(i.e,{as:s.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(n.c,{className:"ring-opacity-5 absolute right-0 z-50 mt-2 w-32 origin-top-right divide-y divide-gray-100 rounded-md bg-white ring-1 shadow-lg ring-black focus:outline-hidden dark:bg-gray-800",children:(0,a.jsx)(o.z6,{value:r,onChange:u,children:(0,a.jsxs)("div",{className:"p-1",children:[(0,a.jsx)(o.sx,{value:"light",children:(0,a.jsx)(n.Dr,{children:e=>{let{focus:t}=e;return(0,a.jsxs)("button",{className:"".concat(t?"bg-primary-600 text-white":""," group flex w-full items-center rounded-md px-2 py-2 text-sm"),children:[(0,a.jsx)("div",{className:"mr-2",children:(0,a.jsx)(c,{})}),"Light"]})}})}),(0,a.jsx)(o.sx,{value:"dark",children:(0,a.jsx)(n.Dr,{children:e=>{let{focus:t}=e;return(0,a.jsxs)("button",{className:"".concat(t?"bg-primary-600 text-white":""," group flex w-full items-center rounded-md px-2 py-2 text-sm"),children:[(0,a.jsx)("div",{className:"mr-2",children:(0,a.jsx)(d,{})}),"Dark"]}
1)}})}),(0,a.jsx)(o.sx,{value:"system",children:(0,a.jsx)(n.Dr,{children:e=>{let{focus:t}=e;return(0,a.jsxs)("button",{className:"".concat(t?"bg-primary-600 text-white":""," group flex w-full items-center rounded-md px-2 py-2 text-sm"),children:[(0,a.jsx)("div",{className:"mr-2",children:(0,a.jsx)(h,{})}),"System"]})}})})]})})})})]})})}},3236:(e,t,r)=>{Promise.resolve().then(r.bind(r,1478)),Promise.resolve().then(r.bind(r,7298)),Promise.resolve().then(r.bind(r,1762)),Promise.resolve().then(r.t.bind(r,628,23)),Promise.resolve().then(r.bind(r,1564)),Promise.resolve().then(r.t.bind(r,6874,23)),Promise.resolve().then(r.t.bind(r,9243,23)),Promise.resolve().then(r.t.bind(r,2692,23)),Promise.resolve().then(r.bind(r,5633)),Promise.resolve().then(r.bind(r,8536)),Promise.resolve().then(r.bind(r,7392)),Promise.resolve().then(r.t.bind(r,8928,23)),Promise.resolve().then(r.bind(r,2012)),Promise.resolve().then(r.bind(r,4159)),Promise.resolve().then(r.t.bind(r,5103,23))},7298:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var a=r(5155),s=r(7522),l=r(2845),n=r(7281),i=r(2115),o=r(9147);let c=[{href:"/",title:"Home"},{href:"/blog",title:"Blog"},{href:"/tags",title:"Tags"},{href:"/projects",title:"Projects"},{href:"/about",title:"About"}],d=()=>{let[e,t]=(0,i.useState)(!1),r=(0,i.useRef)(null),d=()=>{t(e=>(e?(0,n.fY)(r.current):(0,n.mh)(r.current),!e))};return(0,i.useEffect)(()=>n.qY),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{"aria-label":"Toggle Menu",onClick:d,className:"sm:hidden",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"hover:text-primary-500 dark:hover:text-primary-400 h-8 w-8 text-gray-900 dark:text-gray-100",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"})})}),(0,a.jsx)(s.e,{appear:!0,show:e,as:i.Fragment,unmount:!1,children:(0,a.jsxs)(l.lG,{as:"div",onClose:d,unmount:!1,children:[(0,a.jsx)(s._,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",unmount:!1,children:(0,a.jsx)("div",{className:"fixed inset-0 z-60 bg-black/25"})}),(0,a.jsx)(s._,{as:i.Fragment,enter:"transition ease-in-out duration-300 transform",enterFrom:"translate-x-full opacity-0",enterTo:"translate-x-0 opacity-95",leave:"transition ease-in duration-200 transform",leaveFrom:"translate-x-0 opacity-95",leaveTo:"translate-x-full opacity-0",unmount:!1,children:(0,a.jsxs)(l.Lj,{className:"fixed top-0 left-0 z-70 h-full w-full bg-white/95 duration-300 dark:bg-gray-950/98",children:[(0,a.jsx)("nav",{ref:r,className:"mt-8 flex h-full basis-0 flex-col items-start overflow-y-auto pt-2 pl-12 text-left",children:c.map(e=>(0,a.jsx)(o.A,{href:e.href,className:"hover:text-primary-500 dark:hover:text-primary-400 mb-4 py-2 pr-4 text-2xl font-bold tracking-widest text-gray-900 outline outline-0 dark:text-gray-100",onClick:d,children:e.title},e.title))}),(0,a.jsx)("button",{className:"hover:text-primary-500 dark:hover:text-primary-400 fixed top-7 right-4 z-80 h-16 w-16 p-4 text-gray-900 dark:text-gray-100","aria-label":"Toggle Menu",onClick:d,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]})})]})})]})}},9147:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5155),s=r(6874),l=r.n(s);let n=e=>{let{href:t,...r}=e,s=t&&t.startsWith("/"),n=t&&t.startsWith("#");return s?(0,a.jsx)(l(),{className:"break-words",href:t,...r}):n?(0,a.jsx)("a",{className:"break-words",href:t,...r}):(0,a.jsx)("a",{className:"break-words",target:"_blank",rel:"noopener noreferrer",href:t,...r})}},9327:(e,t,r)=>{"use strict";var a=r(9509);e.exports={title:"Kyle Gillen's personal website and blog",author:"Kyle Gillen",headerTitle:"Kyle's Blog",description:"My musings & lessons on coding, programming, and development.",language:"en-us",theme:"system",siteUrl:"https://kylegillen.com",siteRepo:"",siteLogo:"".concat(a.env.BASE_PATH||"","/static/images/logo.png"),socialBanner:"".concat(a.env.BASE_PATH||"","/static/images/twitter-card.png"),email:"[email protected]",github:"https://github.com/kylegillen",linkedin:"https://www.linkedin.com",locale:"en-US",stickyNav:!1,analytics:{umamiAnalytics:{umamiWebsiteId:a.env.NEXT_UMAMI_ID}},newsletter:{},comments:{provider:"giscus",giscusConfig:{repo:a.env.NEXT_PUBLIC_GISCUS_REPO,repositoryId:a.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,category:a.env.NEXT_PUBLIC_GISCUS_CATEGORY,categoryId:a.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,mapping:"pathname",reactions:"1",metadata:"0",theme:"light",darkTheme:"transparent_dark",themeURL:"",lang:"en"}},search:{provider:"kbar",kbarConfig:{searchDocumentsPath:"".concat(a.env.BASE_PATH||"","/search.json")}}}}},e=>{var t=t=>e(e.s=t);e.O(0,[498,701,545,874,430,441,684,358],()=>t(3236)),_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.