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]="90c71002-b59d-4fe2-a139-6fbbbb5b1066",e._sentryDebugIdIdentifier="sentry-dbid-90c71002-b59d-4fe2-a139-6fbbbb5b1066")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5610],{2263:(e,t,r)=>{"use strict";r.d(t,{default:()=>f});var s=r(90947),a=r(58024),l=r(75952),n=r(93384),d=r.n(n),i=r(68799),o=r(30646),c=r(6627);let u=(0,c.memo)(e=>{let{episode:t,index:r}=e,a=t.stars>=2.5,l=t.stars>=1.5&&t.stars<2.5||0===r&&t.stars<1&&t.stars>0,n=t.stars<2&&0===r;return(0,s.jsx)("div",{className:"mx-auto w-full max-w-full md:max-w-[48%] 2xl:max-w-[31%]",children:(0,s.jsxs)(i.Zp,{variant:"shadow",className:"cursor-pointer min-h-48 h-full hover:shadow-lg transition-shadow",children:[(0,s.jsx)(i.aR,{children:(0,s.jsxs)("div",{className:"w-full flex justify-between items-start gap-2",children:[(0,s.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,s.jsx)("div",{className:"flex-shrink-0",children:(a||l||n)&&(0,s.jsx)(o.E,{variant:a?"danger":l||n?"warning":"secondary",size:"sm",children:a?"Most popular":l?"Popular":n?"Most recent":""})})]})}),(0,s.jsxs)(i.bw,{children:[(0,s.jsx)("p",{className:"text-sm text-gray-500 line-clamp-3",children:t.description}),(0,s.jsxs)("div",{className:"flex justify-between items-center mt-1",children:[(0,s.jsx)("span",{className:"text-xs text-gray-500 flex-shrink-0",children:t.date}),(0,s.jsx)("div",{className:"flex gap-1 justify-end",children:t.links.map((e,r)=>(0,s.jsxs)("span",{children:[(0,s.jsx)(d(),{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,s.jsxs)("div",{className:"flex flex-row items-center my-0",children:[t.stars>2&&(0,s.jsx)(a.A,{className:"w-4 h-4 mr-2 text-yellow-500 fill-yellow-500"}),(0,s.jsxs)(d(),{href:r.url,className:"flex flex-row items-center text-muted hover:scale-100 no-underline",children:[t.title,(0,s.jsx)(l.A,{className:"w-4 h-4 ml-2 text-muted"})]})]},(0,m.Y)(t.title)):null});x.displayName="NakedEpisode";let f=(0,c.memo)(e=>{let{episodes:t,style:r="cards",forceSubscribeInvite:a=!1}=e,l=a||t.length<3;return(0,s.jsxs)("div",{className:"flex flex-col gap-4 justify-center",children:[(0,s.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,s.jsx)(u,{episode:e,index:t},(0,m.Y)(e.title))):(0,s.jsx)("div",{className:"flex flex-col gap-2",children:t.map(e=>(0,s.jsx)(x,{episode:e},(0,m.Y)(e.title)))})}),(0,s.jsxs)("footer",{className:"flex flex-col gap-2",children:[l&&(0,s.jsxs)("p",{className:"text-xs text-muted text-center text-balance my-0!",children:["Subscribe to ",(0,s.jsx)("a",{href:"/newsletter",children:"my newsletter"})," to be notified of new episodes."]}),(0,s.jsxs)("p",{className:"text-xs text-muted text-center text-balance my-0!",children:["Click ",(0,s.jsx)("a",{href:"/blog",children:"here"})," to view all of my podcast episodes."]})]})]})})},6101:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(6627);let a=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)},l=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var n={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 d=(0,s.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:d=2,absoluteStrokeWidth:i,className:o="",children:c,iconNode:u,...m}=e;return(0,s.createElement)("svg",{ref:t,...n,width:a,height:a,stroke:r,strokeWidth:i?24*Number(d)/Number(a):d,className:l("lucide",o),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(m)&&{"aria-hidden":"true"},...m},[...u.map(e=>{let[t,r]=e;return(0,s.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),i=(e,t)=>{let r=(0,s.forwardRef)((r,n)=>{let{className:i,...o}=r;return(0,s.createElement)(d,{ref:n,iconNode:t,className:l("lucide-".concat(a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),i),...o})});return r.displayName=a(e),r}},30646:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var s=r(90947);r(6627);var a=r(77570);let l={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-error-heading 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"},n={sm:"px-2 py-1 text-xs",md:"px-3 py-1.5 text-sm",lg:"px-4 py-2 text-base"},d={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:o="md",rounded:c="md"}=e,u=(0,a.QP)("inline-flex items-center font-medium",l[i],n[o],d[c],r);return(0,s.jsx)("span",{className:u,children:t})}},34215:(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 d}});let s=r(75443),a=r(44313),l=r(29713),n=s._(r(30539));function d(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],qualities:[25,50,75,85,100],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=l.Image},45978:(e,t,r)=>{"use strict";r.d(t,{PodcastImageClient:()=>n});var s=r(90947),a=r(83680);let l={src:"/figures/lucas-podcasts.png",alt:"Some of the podcasts where Luca has spoken at",width:640,height:360};function n(){return(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(a.default,{...l,className:"mx-auto",priority:!0,alt:l.alt})})}},48565:(e,t,r)=>{Promise.resolve().then(r.bind(r,2263)),Promise.resolve().then(r.bind(r,75694)),Promise.resolve().then(r.bind(r,45978))},58024:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(6101).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"}]])},68799:(e,t,r)=>{"use strict";r.d(t,{Zp:()=>o,aR:()=>c,bw:()=>u,wL:()=>m});var s=r(90947),a=r(6627),l=r(77570);let n={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"},d={none:"",sm:"p-2",md:"p-4",lg:"p-6"},i={none:"",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl"},o=a.forwardRef(function(e,t){let{children:r,className:a,as:o="div",href:c,onClick:u,variant:m="default",padding:x="md",rounded:f="lg",style:h}=e,g={className:(0,l.QP)("transition-all duration-200",n[m],d[x],i[f],a),...u&&{onClick:u},...c&&{href:c},...h&&{style:h},ref:t};return(0,s.jsx)(o,{...g,children:r})});function c(e){let{children:t,className:r,padding:a="md"}=e;return(0,s.jsx)("div",{className:(0,l.QP)("flex flex-col gap-1",d[a],r),children:t})}function u(e){let{children:t,className:r,padding:a="md",style:n}=e;return(0,s.jsx)("div",{className:(0,l.QP)("flex flex-col gap-2",d[a],r),style:n,children:t})}function m(e){let{children:t,className:r,padding:a="md"}=e;return(0,s.jsx)("div",{className:(0,l.QP)("flex items-center justify-between",d[a],r),children:t})}},72830:(e,t,r)=>{"use strict";function s(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:()=>s})},75694:(e,t,r)=>{"use strict";r.d(t,{PodcastHeaderClient:()=>n});var s=r(90947),a=r(93384),l=r.n(a);function n(){return(0,s.jsxs)("div",{className:"max-w-3xl mx-auto",children:[(0,s.jsx)("h1",{className:"text-3xl font-bold mb-2",children:"Luca's Podcasts"}),(0,s.jsxs)("p",{className:"text-muted text-center text-sm italic mb-4",children:["Make sure you're subscribed to"," ",(0,s.jsx)(l(),{href:"/newsletter",className:"text-focus hover:underline",children:"my newsletter"})," ","to get the latest podcasts!"]})]})}},75952:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(6101).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"}]])},83680:(e,t,r)=>{"use strict";r.d(t,{default:()=>a.a});var s=r(34215),a=r.n(s)}},e=>{e.O(0,[3384,7570,9713,9926,6282,7358],()=>e(e.s=48565)),_N_E=e.O()}]);