PageSourceSearch

https://www.danstarner.com/_next/static/chunks/pages/index-40768dde09dad896.js

js danstarner.com collected 2026-10-08 00:34:07 UTC 12,992 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{6448:function(e,t,r){"use strict";var n=r(5318);t.Z=void 0;var i=n(r(4938)),o=r(5893),s=(0,i.default)((0,o.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"}),"Mail");t.Z=s},5728:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(236)}])},236:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return B},default:function(){return W}});var n=r(5893),i=r(9603),o=r(1523),s=r(6448),a=r(3366),l=r(7462),c=r(7294),d=r(6010),m=r(7192),u=r(1496),h=r(7623),x=(0,r(8169).Z)((0,n.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),p=r(8979),f=r(6087);function g(e){return(0,p.Z)("MuiAvatar",e)}(0,f.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const j=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],v=(0,u.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})((({theme:e,ownerState:t})=>(0,l.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:e.shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&{color:e.palette.background.default,backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]}))),Z=(0,u.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),y=(0,u.ZP)(x,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});var w=c.forwardRef((function(e,t){const r=(0,h.Z)({props:e,name:"MuiAvatar"}),{alt:i,children:o,className:s,component:u="div",imgProps:x,sizes:p,src:f,srcSet:w,variant:b="circular"}=r,S=(0,a.Z)(r,j);let k=null;const I=function({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){const[i,o]=c.useState(!1);return c.useEffect((()=>{if(!r&&!n)return;o(!1);let i=!0;const s=new Image;return s.onload=()=>{i&&o("loaded")},s.onerror=()=>{i&&o("error")},s.crossOrigin=e,s.referrerPolicy=t,s.src=r,n&&(s.srcset=n),()=>{i=!1}}),[e,t,r,n]),i}((0,l.Z)({},x,{src:f,srcSet:w})),R=f||w,D=R&&"error"!==I,P=(0,l.Z)({},r,{colorDefault:!D,component:u,variant:b}),_=(e=>{const{classes:t,variant:r,colorDefault:n}=e,i={root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,m.Z)(i,g,t)})(P);return k=D?(0,n.jsx)(Z,(0,l.Z)({alt:i,src:f,srcSet:w,sizes:p,ownerState:P,className:_.img},x)):null!=o?o:R&&i?i[0]:(0,n.jsx)(y,{className:_.fallback}),(0,n.jsx)(v,(0,l.Z)({as:u,ownerState:P,className:(0,d.Z)(_.root,s),ref:t},S,{children:k}))})),b=r(7357),S=r(3321),k=r(7948),I=r(1519),R=r(122),D=r(8462),P=r(891);function _(e){return(0,p.Z)("MuiListItemIcon",e)}(0,f.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);var z=r(9773);const M=["className"],C=(0,u.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>(0,l.Z)({minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})));var N=c.forwardRef((function(e,t){const r=(0,h.Z)({props:e,name:"MuiListItemIcon"}),{className:i}=r,o=(0,a.Z)(r,M),s=c.useContext(z.Z),u=(0,l.Z)({},r,{alignItems:s.alignItems}),x=(e=>{const{alignItems:t,classes:r}=e,n={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,m.Z)(n,_,r)})(u);return(0,n.jsx)(C,(0,l.Z)({className:(0,d.Z)(x.root,i),ownerState:u,ref:t},o))})),E=r(684),L=r(6886),T=r(5861),A=r(9008),F=r.n(A),H=r(8225),O=r(7561),G=r(7699),B=!0;function W(e){var t=e.posts;return(0,n.jsxs)(k.Z,{maxWidth:"md",children:[(0,n.jsxs)(F(),{children:[(0,n.jsx)("title",{children:"Dan Starner"}),(0,n.jsx)("meta",{name:"description",content:"My Head is in the Clouds 24/7"}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:url",content:"https://danstarner.com/"}),(0,n.jsx)("meta",{name:"twitter:title",content:"Dan Starner"},"twitter:title"),(0,n.jsx)("meta",{name:"twitter:description",content:"My Head is in the Clouds 24/7"},"twitter:description"),(0,n.jsx)("meta",{name:"twitter:image",content:"https://danstarner.com/img/twitter-card.webp"}),(0,n.jsx)("meta",{name:"twitter:creator",content:"@dan_starner"}),(0,n.jsx)("meta",{property:"og:image",content:"https://danstarner.com/img/og-card.webp"}),(0,n.jsx)("meta",{property:"og:title",content:"Dan Starner"},"og:title"),(0,n.jsx)("meta",{property:"og:description",content:"My Head is in the Clouds 24/7"},"og:description")]}),(0,n.jsx)(b.Z,{id:"header",mt:10,children:(0,n.jsxs)(b.Z,{id:"title",children:[(0,n.jsx)(w,{src:"/img/profile.webp",alt:"Dan Starner",sx:{width:150,height:150,mr:2,border:2,borderColor:"primary.main"},children:"DS"}),(0,n.jsxs)(T.Z,{variant:"h1",textAlign:"center",children:["Hi, I'm ",(0,n.jsx)(T.Z,{component:"span",variant:"inherit",color:"primary",children:"Dan"}),(0,n.jsxs)(b.Z,{sx:{display:"flex",justifyContent:"space-around"},children:[(0,n.jsx)(E.Z,{title:"I code",children:(0,n.jsx)("div",{children:"\ud83d\udcbb"})}),(0,n.jsx)(E.Z,{title:"I play iRacing",children:(0,n.jsx)("div",{children:"\ud83c\udfce"})}),(0,n.jsx)(E.Z,{title:"I bike",children:(0,n.jsx)("div",{children:"\ud83d\udeb4\ud83c\udffc\u200d\u2642\ufe0f"})})]})]})]})}),(0,n.jsx)(I.Z,{sx:{width:"80%",display:"block",margin:"16px auto"}}),(0,n.jsx)(b.Z,{my:2,children:(0,n.jsxs)(L.ZP,{container:!0,spacing:4,children:[(0,n.jsxs)(L.ZP,{xs:12,sm:6,item:!0,children:[(0,n.jsxs)(T.Z,{textAlign:"justify",children:["Hi there! \ud83d\udc4b\ud83c\udffc  I'm someone who's just trying to get through this crazy world while having some fun and learning a thing or two along the way. I'm a software engineer by profession, but my interests and goals are much larger than just code. I want to make a positive impact in the world, and code is just one avenue that I use to achieve that. Outside of work, I enjoy hiking \ud83e\udd7e,\xa0",(0,n.jsx)(T.Z,{component:"a",color:"primary",href:"https://www.strava.com/athletes/41276691",children:"road cycling \ud83d\udeb4\u200d\u2642\ufe0f"}),",\xa0",(0,n.jsx)(T.Z,{component:"a",color:"primary",href:"https://www.strava.com/athletes/41276691",children:"snowboarding \ud83c\udfc2"}),", and\xa0",(0,n.jsx)(T.Z,{component:"a",color:"primary",href:"https://alumiboti5590.com/",children:"mentoring FIRST Robotics \ud83e\udd16"})," ."]}
1),(0,n.jsxs)(b.Z,{my:2,sx:{display:"flex",justifyContent:"center"},children:[(0,n.jsx)(S.Z,{component:"a",size:"small",href:"https://newsletter.danstarner.com",variant:"outlined",sx:{mr:1},startIcon:(0,n.jsx)(s.Z,{}),children:"SUBSCRIBE"}),(0,n.jsx)(S.Z,{component:"a",size:"small",href:"https://newsletter.danstarner.com/archive",startIcon:(0,n.jsx)(o.Z,{}),variant:"contained",children:"READ NEWSLETTER"})]})]}),(0,n.jsx)(L.ZP,{xs:12,sm:6,item:!0,children:(0,n.jsx)(D.Z,{disablePadding:!0,children:G.K.map((function(e,t){return(0,n.jsxs)(P.ZP,{disablePadding:!0,sx:{py:1,borderBottom:1,borderBottomColor:"common.black","&:last-child":{borderBottom:0}},children:[(0,n.jsx)(N,{sx:{minWidth:30,maxWidth:"1em"},children:c.isValidElement(e.icon)?c.cloneElement(e.icon,{fontSize:"20px",sx:{marginLeft:-.1}}):(0,n.jsx)(i.G,{size:"sm",style:{maxWidth:30},icon:e.icon})}),(0,n.jsxs)(b.Z,{sx:{display:"flex",flexGrow:1,justifyContent:"space-between"},children:[(0,n.jsx)(T.Z,{sx:{fontWeight:500},children:e.title}),(0,n.jsx)(R.Z,{sx:{fontWeight:500,color:"primary.main"},underline:"none",href:e.href,children:e.username})]})]},t)}))})})]})}),(0,n.jsx)(H.Z,{title:"My Writing",posts:t}),(0,n.jsx)(O.Z,{links:G.K})]})}},8225:function(e,t,r){"use strict";r.d(t,{Z:function(){return M}});var n=r(5893),i=r(6130),o=r(5709),s=r(7357),a=r(8445),l=r(6886),c=r(8462),d=r(6420),m=r(3454),u=r(7294),h=r(3321),x=r(4073),p=r(2023),f=r(4267),g=r(3965),j=r(7918),v=r(122),Z=r(5861),y=r(120),w={dev:"Dev.to",hackernoon:"Hackernoon",medium:"Medium"};function b(e){var t=e.post,r=e.slug;return(0,n.jsxs)(x.Z,{sx:{height:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:[(0,n.jsx)(g.Z,{component:"img",height:"160",image:t.coverSrc||"/img/default-blog-image.webp",alt:t.title}),(0,n.jsx)(s.Z,{sx:{background:"#FFF",position:"absolute",borderBottomRightRadius:5,py:.3,px:1},children:(0,n.jsx)(Z.Z,{variant:"caption",children:y.ou.fromISO(t.date).toLocaleString({month:"long",day:"numeric",year:"numeric"})})}),(0,n.jsxs)(f.Z,{sx:{display:"flex",flexDirection:"column",flexGrow:1},children:[(0,n.jsx)(v.Z,{gutterBottom:!0,href:r,underline:"hover",color:"inherit",variant:"h5",children:t.title}),(0,n.jsx)(Z.Z,{variant:"body2",color:"text.secondary",sx:{flexGrow:1},children:t.description||"There is no description, so I guess you will just have to trust it's a good one!"}),(0,n.jsx)(s.Z,{mt:1,children:t.tags.map((function(e){return(0,n.jsx)(j.Z,{label:"#".concat(e),component:"a",href:"/posts/tags/".concat(e),clickable:!0,size:"small",sx:{mr:.5}},e)}))})]}),t.extLinks&&(0,n.jsx)(p.Z,{children:["dev","hackernoon","medium"].filter((function(e){return Boolean(t.extLinks[e])})).map((function(e){return(0,n.jsx)(h.Z,{component:"a",href:t.extLinks[e],size:"small",children:w[e]},e)}))})]})}var S=r(3024),k=r(9603),I=r(3946),R=r(891),D=r(9953),P=r(684);var _=function(e){var t=e.meta,r=e.slug,i=e.divider;return(0,n.jsxs)(R.ZP,{href:r,divider:i,children:[(0,n.jsx)(D.Z,{primary:t.title,primaryTypographyProps:{component:v.Z,href:r,color:"inherit",underline:"hover"},secondary:y.ou.fromISO(t.date).toLocaleString({month:"long",day:"numeric",year:"numeric"})}),(0,n.jsx)(s.Z,{sx:{ml:1,display:"flex",flexDirection:"row"},children:Object.keys(t.extLinks||{}).map((function(e){return(0,n.jsx)(P.Z,{title:"Read on ".concat({dev:"Dev.to",medium:"Medium",hackernoon:"Hackernoon"}[e]),children:(0,n.jsx)(I.Z,{component:"a",href:t.extLinks[e],children:{dev:(0,n.jsx)(k.G,{size:"sm",icon:S.zOJ}),medium:(0,n.jsx)(k.G,{size:"sm",icon:S.$tD})}[e]})},e)}))})]})},z="blog-list-view";var M=function(e){var t=e.posts,r=e.title,h=(0,u.useState)("comfort"),x=h[0],p=h[1];return(0,u.useEffect)((function(){var e=window.localStorage.getItem(z);e&&p(e)}),[]),(0,n.jsxs)(s.Z,{sx:{my:3},children:[(0,n.jsx)(a.Z,{title:r,titleTypographyProps:{variant:"h4"},sx:{py:1,px:0},action:(0,n.jsxs)(m.Z,{value:x,onChange:function(e,t){var r=t||x;window.localStorage.setItem(z,r),p(r)},exclusive:!0,size:"small","aria-label":"determine blog list layout",children:[(0,n.jsx)(d.Z,{value:"dense","aria-label":"dense",children:(0,n.jsx)(i.Z,{})}),(0,n.jsx)(d.Z,{value:"comfort","aria-label":"comfortable",children:(0,n.jsx)(o.Z,{})})]})}),"comfort"===x?(0,n.jsx)(l.ZP,{container:!0,spacing:2,children:t.map((function(e,t){var r=e.meta,i=e.slug;return(0,n.jsx)(l.ZP,{xs:12,sm:6,item:!0,children:(0,n.jsx)(b,{post:r,slug:i})},t)}))}):(0,n.jsx)(c.Z,{children:t.map((function(e,r){var i=e.meta,o=e.slug;return(0,n.jsx)(_,{divider:r!==t.length-1,meta:i,slug:o},r)}))})]})}},7561:function(e,t,r){"use strict";var n=r(5893),i=r(9603),o=r(7357),s=r(3946),a=r(122),l=r(684),c=r(5861),d=r(7294);t.Z=function(e){var t=e.links;return(0,n.jsxs)(o.Z,{mb:15,children:[(0,n.jsx)(o.Z,{component:"footer",sx:{justifyContent:"center",alignItems:"center",display:"flex",flex:1,mt:2,py:2,paddingX:2,borderTop:"1px solid #eaeaea"},children:t.map((function(e,t){return(0,n.jsx)(l.Z,{title:e.title,children:(0,n.jsx)(s.Z,{component:"a",href:e.href,sx:{mr:.5},children:d.isValidElement(e.icon)?e.icon:(0,n.jsx)(i.G,{icon:e.icon})})},t)}))}),(0,n.jsxs)(c.Z,{textAlign:"center",component:"p",variant:"caption",children:["Made by Dan using ",(0,n.jsx)(a.Z,{href:"https://mui.com/",children:"MUI"})," and ",(0,n.jsx)(a.Z,{href:"https://nextjs.org/",children:"Nextjs"})]})]})}},7699:function(e,t,r){"use strict";r.d(t,{K:function(){return s}});var n=r(5893),i=r(3024),o=r(1523),s=[{icon:(0,n.jsx)(o.Z,{}),title:"Resume",href:"/Dan_Starner_Resume.pdf",username:"View Resume"},{icon:i.zOJ,title:"Dev Profile",href:"https://dev.to/dan_starner",username:"@dan_starner"},{icon:i.zhw,title:"GitHub",href:"https://github.com/dstarner/",username:"@dstarner"},{icon:i.D9H,title:"LinkedIn",href:"https://www.linkedin.com/in/danstarner/",username:"danstarner"},{icon:i.pqv,title:"BlueSky",href:"https://bsky.app/profile/danstarner.com",username:"@danstarner.com"},{icon:i.mGT,title:"Stack Overflow",href:"https://stackoverflow.com/users/17758344/dan-starner",username:"@dan_starner"}]}},function(e){e.O(0,[948,999,469,774,888,179],(function(){return t=5728,e(e.s=t);var t}));var t=e.O();_N_E=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.