try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="baf954bd-ea07-4dde-add4-3a61c8f3cc28",e._sentryDebugIdIdentifier="sentry-dbid-baf954bd-ea07-4dde-add4-3a61c8f3cc28")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4241,5610,7529],{1809:(e,t,r)=>{"use strict";r.d(t,{default:()=>p});var n=r(65183),s=r(66009),a=r(89289),l=r(82212),o=r.n(l),i=r(71307),d=r(43834),c=r(24375);let u=(0,c.memo)(e=>{let{episode:t,index:r}=e,s=t.stars>=2.5,a=t.stars>=1.5&&t.stars<2.5||0===r&&t.stars<1&&t.stars>0,l=t.stars<2&&0===r;return(0,n.jsx)("div",{className:"mx-auto w-full max-w-full md:max-w-[48%] 2xl:max-w-[31%]",children:(0,n.jsxs)(i.Zp,{variant:"shadow",className:"cursor-pointer min-h-48 h-full hover:shadow-lg transition-shadow",children:[(0,n.jsx)(i.aR,{children:(0,n.jsxs)("div",{className:"w-full flex justify-between items-start gap-2",children:[(0,n.jsx)("h3",{className:"text-left text-balance font-semibold text-gray-900 text-sm md:text-base flex-1 min-w-0",children:t.title}),(0,n.jsx)("div",{className:"flex-shrink-0",children:(s||a||l)&&(0,n.jsx)(d.E,{variant:s?"danger":a||l?"warning":"secondary",size:"sm",children:s?"Most popular":a?"Popular":l?"Most recent":""})})]})}),(0,n.jsxs)(i.bw,{children:[(0,n.jsx)("p",{className:"text-sm text-gray-500 line-clamp-3",children:t.description}),(0,n.jsxs)("div",{className:"flex justify-between items-center mt-1",children:[(0,n.jsx)("span",{className:"text-xs text-gray-500 flex-shrink-0",children:t.date}),(0,n.jsx)("div",{className:"flex gap-1 justify-end",children:t.links.map((e,r)=>(0,n.jsxs)("span",{children:[(0,n.jsx)(o(),{href:e.url,className:"text-xs text-primary no-underline hover:underline focus:outline-none",target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),children:e.name}),r{let{episode:t}=e,r=t.links[0];return r?(0,n.jsxs)("div",{className:"flex flex-row items-center my-0",children:[t.stars>2&&(0,n.jsx)(s.A,{className:"w-4 h-4 mr-2 text-yellow-500 fill-yellow-500"}),(0,n.jsxs)(o(),{href:r.url,className:"flex flex-row items-center text-muted hover:scale-100 no-underline",children:[t.title,(0,n.jsx)(a.A,{className:"w-4 h-4 ml-2 text-muted"})]})]},(0,f.Y)(t.title)):null});m.displayName="NakedEpisode";let p=(0,c.memo)(e=>{let{episodes:t,style:r="cards",forceSubscribeInvite:s=!1}=e,a=s||t.length<3;return(0,n.jsxs)("div",{className:"flex flex-col gap-4 justify-center",children:[(0,n.jsx)("div",{className:"container mx-4 ".concat("cards"===r?"my-4":"my-0"," mx-auto flex flex-wrap gap-4 justify-center"),children:"cards"===r?t.map((e,t)=>(0,n.jsx)(u,{episode:e,index:t},(0,f.Y)(e.title))):(0,n.jsx)("div",{className:"flex flex-col gap-2",children:t.map(e=>(0,n.jsx)(m,{episode:e},(0,f.Y)(e.title)))})}),(0,n.jsxs)("footer",{className:"flex flex-col gap-2",children:[a&&(0,n.jsxs)("p",{className:"text-xs text-muted text-center text-balance my-0!",children:["Subscribe to ",(0,n.jsx)("a",{href:"/newsletter",children:"my newsletter"})," to be notified of new episodes."]}),(0,n.jsxs)("p",{className:"text-xs text-muted text-center text-balance my-0!",children:["Click ",(0,n.jsx)("a",{href:"/blog",children:"here"})," to view all of my podcast episodes."]})]})]})})},14371:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(24375);let s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},a=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:s=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:d="",children:c,iconNode:u,...f}=e;return(0,n.createElement)("svg",{ref:t,...l,width:s,height:s,stroke:r,strokeWidth:i?24*Number(o)/Number(s):o,className:a("lucide",d),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(f)&&{"aria-hidden":"true"},...f},[...u.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),i=(e,t)=>{let r=(0,n.forwardRef)((r,l)=>{let{className:i,...d}=r;return(0,n.createElement)(o,{ref:l,iconNode:t,className:a("lucide-".concat(s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),i),...d})});return r.displayName=s(e),r}},19170:(e,t,r)=>{"use strict";function n(e){if(!(null==e?void 0:e.trim()))throw Error("Non-empty string is required for slugify");return e.trim().toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}r.d(t,{Y:()=>n})},32812:(e,t,r)=>{"use strict";r.d(t,{default:()=>s.a});var n=r(91347),s=r.n(n)},39590:(e,t,r)=>{"use strict";r.d(t,{PodcastImageClient:()=>l});var n=r(65183),s=r(32812);let a={src:"/figures/lucas-podcasts.png",alt:"Some of the podcasts where Luca has spoken at",width:640,height:360};function l(){return(0,n.jsx)("div",{className:"w-full",children:(0,n.jsx)(s.default,{...a,className:"mx-auto",priority:!0,alt:a.alt})})}},41641:(e,t,r)=>{Promise.resolve().then(r.bind(r,1809)),Promise.resolve().then(r.bind(r,53922)),Promise.resolve().then(r.bind(r,39590))},43834:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(65183);r(24375);var s=r(92382);let a={default:"bg-gray-100 text-gray-800 border border-gray-200",primary:"bg-primary text-white border border-primary",secondary:"bg-gray-200 text-gray-700 border border-gray-400",success:"bg-success-light text-green-800 border border-success-border",warning:"bg-warning-light text-yellow-800 border border-warning-border",danger:"bg-error-light text-red-800 border border-error-border",info:"bg-info-light text-blue-800 border border-info-border",bordered:"bg-white text-gray-700 border-2 border-gray-400"},l={sm:"px-2 py-1 text-xs",md:"px-3 py-1.5 text-sm",lg:"px-4 py-2 text-base"},o={none:"",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"};function i(e){let{children:t,className:r,variant:i="default",size:d="md",rounded:c="md"}=e,u=(0,s.QP)("inline-flex items-center font-medium",a[i],l[d],o[c],r);return(0,n.jsx)("span",{className:u,children:t})}},47410:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},53922:(e,t,r)=>{"use strict";r.d(t,{PodcastHeaderClient:()=>l});var n=r(65183),s=r(82212),a=r.n(s);function l(){return(0,n.jsxs)("div",{className:"max-w-3xl mx-auto",children:[(0,n.jsx)("h1",{className:"text-3xl font-bold mb-2",children:"Luca's Podcasts"}),(0,n.jsxs)("p",{className:"text-muted text-center text-sm italic mb-4",children:["Make sure you're subscribed to"," ",(0,n.jsx)(a(),{href:"/newsletter",className:"text-focus hover:underline",children:"my newsletter"})," ","to get the latest podcasts!"]})]})}},66009:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(14371).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},71307:(e,t,r)=>{"use strict";r.d(t,{Zp:()=>d,aR:()=>c,bw:()=>u,wL:()=>f});var n=r(65183),s=r(24375),a=r(92382);let l={default:"bg-white",bordered:"bg-white border border-gray-300",shadow:"bg-white shadow-md border border-gray-300",elevated:"bg-white shadow-lg border border-gray-300"},o={none:"",sm:"p-2",md:"p-4",lg:"p-6"},i={none:"",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl"},d=s.forwardRef(function(e,t){let{children:r,className:s,as:d="div",href:c,onClick:u,variant:f="default",padding:m="md",rounded:p="lg",style:x}=e,h={className:(0,a.QP)("transition-all duration-200",l[f],o[m],i[p],s),...u&&{onClick:u},...c&&{href:c},...x&&{style:x},ref:t};return(0,n.jsx)(d,{...h,children:r})});function c(e){let{children:t,className:r,padding:s="md"}=e;return(0,n.jsx)("div",{className:(0,a.QP)("flex flex-col gap-1",o[s],r),children:t})}function u(e){let{children:t,className:r,padding:s="md",style:l}=e;return(0,n.jsx)("div",{className:(0,a.QP)("flex flex-col gap-2",o[s],r),style:l,children:t})}function f(e){let{children:t,className:r,padding:s="md"}=e;return(0,n.jsx)("div",{className:(0,a.QP)("flex items-center justify-between",o[s],r),children:t})}},82212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return h},useLinkStatus:function(){return b}});let n=r(34716),s=r(65183),a=n._(r(24375)),l=r(89243),o=r(1757),i=r(50008),d=r(11380),c=r(33033),u=r(79823);r(8020);let f=r(63564),m=r(11070),p=r(96748);function x(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function h(e){let t,r,n,[l,h]=(0,a.useOptimistic)(f.IDLE_LINK_STATUS),b=(0,a.useRef)(null),{href:y,as:w,children:v,prefetch:j=null,passHref:N,replace:k,shallow:_,scroll:P,onClick:C,onMouseEnter:A,onTouchStart:L,legacyBehavior:E=!1,onNavigate:I,ref:M,unstable_dynamicOnHover:T,...O}=e;t=v,E&&("string"==typeof t||"number"==typeof t)&&(t=(0,s.jsx)("a",{children:t}));let S=a.default.useContext(o.AppRouterContext),U=!1!==j,D=null===j||"auto"===j?i.PrefetchKind.AUTO:i.PrefetchKind.FULL,{href:R,as:z}=a.default.useMemo(()=>{let e=x(y);return{href:e,as:w?x(w):e}},[y,w]);E&&(r=a.default.Children.only(t));let K=E?r&&"object"==typeof r&&r.ref:M,Q=a.default.useCallback(e=>(null!==S&&(b.current=(0,f.mountLinkInstance)(e,R,S,D,U,h)),()=>{b.current&&((0,f.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,f.unmountPrefetchableInstance)(e)}),[U,R,S,D,h]),Y={ref:(0,d.useMergedRef)(Q,K),onClick(e){E||"function"!=typeof C||C(e),E&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),S&&(e.defaultPrevented||function(e,t,r,n,s,l,o){let{nodeName:i}=e.currentTarget;if(!("A"===i.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,m.isLocalURL)(t)){s&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}a.default.startTransition(()=>{(0,p.dispatchNavigateAction)(r||t,s?"replace":"push",null==l||l,n.current)})}}(e,R,z,b,k,P,I))},onMouseEnter(e){E||"function"!=typeof A||A(e),E&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),S&&U&&(0,f.onNavigationIntent)(e.currentTarget,!0===T)},onTouchStart:function(e){E||"function"!=typeof L||L(e),E&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),S&&U&&(0,f.onNavigationIntent)(e.currentTarget,!0===T)}};return(0,c.isAbsoluteUrl)(z)?Y.href=z:E&&!N&&("a"!==r.type||"href"in r.props)||(Y.href=(0,u.addBasePath)(z)),n=E?a.default.cloneElement(r,Y):(0,s.jsx)("a",{...O,...Y,children:t}),(0,s.jsx)(g.Provider,{value:l,children:n})}r(47410);let g=(0,a.createContext)(f.IDLE_LINK_STATUS),b=()=>(0,a.useContext)(g);("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)},89289:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(14371).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},91347:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return i},getImageProps:function(){return o}});let n=r(40031),s=r(53973),a=r(91045),l=n._(r(26175));function o(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{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}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let i=a.Image}},e=>{e.O(0,[2382,1045,435,3675,7358],()=>e(e.s=41641)),_N_E=e.O()}]);