PageSourceSearch

https://www.andrewherzog.com/_next/static/chunks/236-1c1452094ea25945.js

js andrewherzog.com collected 2026-10-05 07:17:18 UTC 12,810 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[236],{400:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});let r=i(4252),n=i(8365),o=i(7876),s=n._(i(4232)),a=n._(i(8477)),l=r._(i(9269)),d=i(9161),c=i(3786),u=i(9263);i(6201);let h=i(9783);function f(e){return"/"===e[0]?e.slice(1):e}let p="function"==typeof a.preload,g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},b=new Set,v="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",m=new Map([["default",function(e){var t;let{config:i,src:r,width:n,quality:o}=e,s=o||(null==(t=i.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return!i.dangerouslyAllowSVG&&r.split("?",1)[0].endsWith(".svg")?r:(0,h.normalizePathTrailingSlash)(i.path)+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+s}],["imgix",function(e){let{config:t,src:i,width:r,quality:n}=e,o=new URL(""+t.path+f(i)),s=o.searchParams;return s.set("auto",s.getAll("auto").join(",")||"format"),s.set("fit",s.get("fit")||"max"),s.set("w",s.get("w")||r.toString()),n&&s.set("q",n.toString()),o.href}],["cloudinary",function(e){let{config:t,src:i,width:r,quality:n}=e,o=["f_auto","c_limit","w_"+r,"q_"+(n||"auto")].join(",")+"/";return""+t.path+o+f(i)}],["akamai",function(e){let{config:t,src:i,width:r}=e;return""+t.path+f(i)+"?imwidth="+r}],["custom",function(e){let{src:t}=e;throw Object.defineProperty(Error('Image with src "'+t+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}]]);function y(e){return void 0!==e.default}function w(e){let{config:t,src:i,unoptimized:r,layout:n,width:o,quality:s,sizes:a,loader:l}=e;if(r)return{src:i,srcSet:void 0,sizes:void 0};let{widths:d,kind:c}=function(e,t,i,r){let{deviceSizes:n,allSizes:o}=e;if(r&&("fill"===i||"responsive"===i)){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let i;i=e.exec(r);)t.push(parseInt(i[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t||"fill"===i||"responsive"===i?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,n,a),u=d.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:d.map((e,r)=>l({config:t,src:i,quality:s,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:l({config:t,src:i,quality:s,width:d[u]})}}function k(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function _(e){var t;let i=(null==(t=e.config)?void 0:t.loader)||"default",r=m.get(i);if(r)return r(e);throw Object.defineProperty(Error('Unknown "loader" found in "next.config.js". Expected: '+d.VALID_LOADERS.join(", ")+". Received: "+i),"__NEXT_ERROR_CODE",{value:"E338",enumerable:!1,configurable:!0})}function x(e,t,i,r,n,o){e&&e.src!==v&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentNode&&(b.add(t),"blur"===r&&o(!0),null==n?void 0:n.current)){let{naturalWidth:t,naturalHeight:i}=e;n.current({naturalWidth:t,naturalHeight:i})}}))}let A=e=>{let{imgAttributes:t,heightInt:i,widthInt:r,qualityInt:n,layout:a,className:l,imgStyle:d,blurStyle:c,isLazy:u,placeholder:h,loading:f,srcString:p,config:g,unoptimized:b,loader:v,onLoadingCompleteRef:m,setBlurComplete:y,setIntersection:k,onLoad:_,onError:A,isVisible:O,noscriptSizes:j,...S}=e;return f=u?"lazy":f,(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("img",{...S,...t,decoding:"async","data-nimg":a,className:l,style:{...d,...c},ref:(0,s.useCallback)(e=>{k(e),(null==e?void 0:e.complete)&&x(e,p,a,h,m,y)},[k,p,a,h,m,y]),onLoad:e=>{x(e.currentTarget,p,a,h,m,y),_&&_(e)},onError:e=>{"blur"===h&&y(!0),A&&A(e)}}),(u||"blur"===h)&&(0,o.jsx)("noscript",{children:(0,o.jsx)("img",{...S,loading:f,decoding:"async","data-nimg":a,style:d,className:l,...w({config:g,src:p,unoptimized:b,layout:a,width:r,quality:n,sizes:j,loader:v})})})]})};function O(e){var t;let i,{src:r,sizes:n,unoptimized:a=!1,priority:h=!1,loading:f,lazyRoot:m=null,lazyBoundary:x,className:O,quality:j,width:S,height:E,style:V,objectFit:R,objectPosition:C,onLoadingComplete:I,placeholder:z="empty",blurDataURL:N,...M}=e,P=(0,s.useContext)(u.ImageConfigContext),W=(0,s.useMemo)(()=>{var e;let t=g||P||d.imageConfigDefault,i=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
1e-t),r=t.deviceSizes.sort((e,t)=>e-t),n=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:i,deviceSizes:r,qualities:n}},[P]),D=n?"responsive":"intrinsic";"layout"in M&&(M.layout&&(D=M.layout),delete M.layout);let q=_;if("loader"in M){if(M.loader){let e=M.loader;q=t=>{let{config:i,...r}=t;return e(r)}}delete M.loader}let L="";if("object"==typeof(t=r)&&(y(t)||void 0!==t.src)){let e=y(r)?r.default:r;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(N=N||e.blurDataURL,L=e.src,(!D||"fill"!==D)&&(E=E||e.height,S=S||e.width,!e.height||!e.width))throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0})}let T=!h&&("lazy"===f||void 0===f);((r="string"==typeof r?r:L).startsWith("data:")||r.startsWith("blob:"))&&(a=!0,T=!1),b.has(r)&&(T=!1),W.unoptimized&&(a=!0);let[B,U]=(0,s.useState)(!1),[X,G,H]=(0,c.useIntersection)({rootRef:m,rootMargin:x||"200px",disabled:!T}),F=!T||G,J={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},Q={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},K=!1,Y=k(S),Z=k(E),$=k(j),ee=Object.assign({},V,{position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:R,objectPosition:C}),et="blur"!==z||B?{}:{backgroundSize:R||"cover",backgroundPosition:C||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'+N+'")'};if("fill"===D)J.display="block",J.position="absolute",J.top=0,J.left=0,J.bottom=0,J.right=0;else if(void 0!==Y&&void 0!==Z){let e=Z/Y,t=isNaN(e)?"100%":""+100*e+"%";"responsive"===D?(J.display="block",J.position="relative",K=!0,Q.paddingTop=t):"intrinsic"===D?(J.display="inline-block",J.position="relative",J.maxWidth="100%",K=!0,Q.maxWidth="100%",i="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27"+Y+"%27%20height=%27"+Z+"%27/%3e"):"fixed"===D&&(J.display="inline-block",J.position="relative",J.width=Y,J.height=Z)}let ei={src:v,srcSet:void 0,sizes:void 0};F&&(ei=w({config:W,src:r,unoptimized:a,layout:D,width:Y,quality:$,sizes:n,loader:q}));let er=r,en=p?void 0:{imageSrcSet:ei.srcSet,imageSizes:ei.sizes,crossOrigin:M.crossOrigin,referrerPolicy:M.referrerPolicy},eo=s.default.useLayoutEffect,es=(0,s.useRef)(I),ea=(0,s.useRef)(r);(0,s.useEffect)(()=>{es.current=I},[I]),eo(()=>{ea.current!==r&&(H(),ea.current=r)},[H,r]);let el={isLazy:T,imgAttributes:ei,heightInt:Z,widthInt:Y,qualityInt:$,layout:D,className:O,imgStyle:ee,blurStyle:et,loading:f,config:W,unoptimized:a,placeholder:z,loader:q,srcString:er,onLoadingCompleteRef:es,setBlurComplete:U,setIntersection:X,isVisible:F,noscriptSizes:n,...M};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("span",{style:J,children:[K?(0,o.jsx)("span",{style:Q,children:i?(0,o.jsx)("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:i}):null}):null,(0,o.jsx)(A,{...el})]}),!p&&h?(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",as:"image",href:ei.srcSet?void 0:ei.src,...en},"__nimg-"+ei.src+ei.srcSet+ei.sizes)}):null]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5398:(e,t,i)=>{"use strict";i.d(t,{Wx:()=>p});var r=i(4232);function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e}).apply(this,arguments)}
1function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new Map,a=new WeakMap,l=0,d=void 0;function c(e,t,i,r){if(void 0===i&&(i={}),void 0===r&&(r=d),void 0===window.IntersectionObserver&&void 0!==r){var n=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof i.threshold?i.threshold:0,time:0,boundingClientRect:n,intersectionRect:n,rootBounds:n}),function(){}}var o=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var i;return t+"_"+("root"===t?(i=e.root)?(a.has(i)||(l+=1,a.set(i,l.toString())),a.get(i)):"0":e[t])}).toString(),i=s.get(t);if(!i){var r,n=new Map,o=new IntersectionObserver(function(t){t.forEach(function(t){var i,o=t.isIntersecting&&r.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(i=n.get(t.target))||i.forEach(function(e){e(o,t)})})},e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),i={id:t,observer:o,elements:n},s.set(t,i)}return i}(i),c=o.id,u=o.observer,h=o.elements,f=h.get(e)||[];return h.has(e)||h.set(e,f),f.push(t),u.observe(e),function(){f.splice(f.indexOf(t),1),0===f.length&&(h.delete(e),u.unobserve(e)),0===h.size&&(u.disconnect(),s.delete(c))}}var u=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function h(e){return"function"!=typeof e.children}var f=function(e){function t(t){var i;return(i=e.call(this,t)||this).node=null,i._unobserveCb=null,i.handleNode=function(e){i.node&&(i.unobserve(),e||i.props.triggerOnce||i.props.skip||i.setState({inView:!!i.props.initialInView,entry:void 0})),i.node=e||null,i.observeNode()},i.handleChange=function(e,t){e&&i.props.triggerOnce&&i.unobserve(),h(i.props)||i.setState({inView:e,entry:t}),i.props.onChange&&i.props.onChange(e,t)},i.state={inView:!!t.initialInView,entry:void 0},i}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var i=t.prototype;return i.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},i.componentWillUnmount=function(){this.unobserve(),this.node=null},i.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,i=e.root,r=e.rootMargin,n=e.trackVisibility,o=e.delay,s=e.fallbackInView;this._unobserveCb=c(this.node,this.handleChange,{threshold:t,root:i,rootMargin:r,trackVisibility:n,delay:o},s)}},i.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},i.render=function(){if(!h(this.props)){var e=this.state,t=e.inView,i=e.entry;return this.props.children({inView:t,entry:i,ref:this.handleNode})}var o=this.props,s=o.children,a=o.as,l=function(e,t){if(null==e)return{};var i,r,n={},o=Object.keys(e);for(r=0;r<o.length;r++)i=o[r],t.indexOf(i)>=0||(n[i]=e[i]);return n}(o,u);return r.createElement(a||"div",n({ref:this.handleNode},l),s)},t}(r.Component);function p(e){var t=void 0===e?{}:e,i=t.threshold,n=t.delay,o=t.trackVisibility,s=t.rootMargin,a=t.root,l=t.triggerOnce,d=t.skip,u=t.initialInView,h=t.fallbackInView,f=r.useRef(),p=r.useState({inView:!!u}),g=p[0],b=p[1],v=r.useCallback(function(e){void 0!==f.current&&(f.current(),f.current=void 0),!d&&e&&(f.current=c(e,function(e,t){b({inView:e,entry:t}),t.isIntersecting&&l&&f.current&&(f.current(),f.current=void 0)},{root:a,rootMargin:s,threshold:i,trackVisibility:o,delay:n},h))},[Array.isArray(i)?i.toString():i,a,s,l,d,o,h,n]);(0,r.useEffect)(function(){f.current||!g.entry||l||d||b({inView:!!u})});var m=[v,g.inView,g.entry];return m.ref=m[0],m.inView=m[1],m.entry=m[2],m}f.displayName="InView",f.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},8827:(e,t,i)=>{e.exports=i(400)}}]);

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.