!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="963d22c2-8bd2-4dd9-b100-c1a4f75ec99e",e._sentryDebugIdIdentifier="sentry-dbid-963d22c2-8bd2-4dd9-b100-c1a4f75ec99e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7581],{79970:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,29340,23)),Promise.resolve().then(s.bind(s,65)),Promise.resolve().then(s.bind(s,77966)),Promise.resolve().then(s.bind(s,28003)),Promise.resolve().then(s.bind(s,82183)),Promise.resolve().then(s.bind(s,68453)),Promise.resolve().then(s.bind(s,41738)),Promise.resolve().then(s.bind(s,74117)),Promise.resolve().then(s.bind(s,69592)),Promise.resolve().then(s.bind(s,84071)),Promise.resolve().then(s.bind(s,95222)),Promise.resolve().then(s.bind(s,81609))},95164:(e,t,s)=>{"use strict";var r=s(88492);s.o(r,"useParams")&&s.d(t,{useParams:function(){return r.useParams}}),s.o(r,"usePathname")&&s.d(t,{usePathname:function(){return r.usePathname}}),s.o(r,"useRouter")&&s.d(t,{useRouter:function(){return r.useRouter}}),s.o(r,"useSearchParams")&&s.d(t,{useSearchParams:function(){return r.useSearchParams}})},71902:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var s in t)Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}(t,{callServer:function(){return r.callServer},createServerReference:function(){return l},findSourceMapURL:function(){return a.findSourceMapURL}});let r=s(18153),a=s(18065),l=s(13061).createServerReference},65:(e,t,s)=>{"use strict";s.d(t,{ErrorBoundary:()=>o});var r=s(78293);let a=(0,r.createContext)(null),l={didCatch:!1,error:null};class o extends r.Component{static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,s,r=arguments.length,a=Array(r),o=0;o0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,s)=>!Object.is(e,t[s]))}(e.resetKeys,r)){var a,o;null===(a=(o=this.props).onReset)||void 0===a||a.call(o,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(l)}}render(){let{children:e,fallbackRender:t,FallbackComponent:s,fallback:l}=this.props,{didCatch:o,error:n}=this.state,i=e;if(o){let e={error:n,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)i=t(e);else if(s)i=(0,r.createElement)(s,e);else if(void 0!==l)i=l;else throw n}return(0,r.createElement)(a.Provider,{value:{didCatch:o,error:n,resetErrorBoundary:this.resetErrorBoundary}},i)}constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=l}}},53002:(e,t,s)=>{"use strict";s.d(t,{z:()=>c});var r=s(55057),a=s(67073),l=s(21585),o=s(48884),n=s(66267),i=s.n(n);let c=e=>{let{posts:t,style:s="cards",forceSubscribeInvite:n=!1}=e,c=n||t.length<3;return(0,r.jsxs)("div",{className:"flex flex-col gap-4 justify-center",children:[(0,r.jsx)("div",{className:"container mx-4 ".concat("cards"===s?"my-4":"my-0"," mx-auto flex flex-wrap gap-4 justify-center"),children:"cards"===s?t.map((e,t)=>(0,r.jsx)(o.default,{post:e,index:t},e.slug)):(0,r.jsx)("div",{className:"flex flex-col gap-2",children:t.map(e=>(0,r.jsxs)("div",{className:"flex flex-row items-center my-0",children:[e.stars>1&&(0,r.jsx)(a.A,{className:"w-4 h-4 mr-2 text-yellow-500 fill-yellow-500"}),(0,r.jsxs)(i(),{href:"/posts/".concat(e.slug),className:"flex flex-row items-center text-gray-600 hover:scale-100 no-underline",children:[e.title,(0,r.jsx)(l.A,{className:"w-4 h-4 ml-2 text-gray-600"})]})]},e.slug))})}),(0,r.jsxs)("footer",{className:"flex flex-col gap-2",children:[c&&(0,r.jsxs)("p",{className:"text-tiny text-gray-400 text-center text-balance !my-0",children:["I will add more posts soon (subscribe to"," ",(0,r.jsx)(i(),{href:"/newsletter",children:"my newsletter"})," to be notified)."]}),(0,r.jsxs)("p",{className:"text-tiny text-gray-400 text-center text-balance !my-0",children:["Click ",(0,r.jsx)(i(),{href:"/blog",children:"here"})," to view all of my posts."]})]})]})}},48884:(e,t,s)=>{"use strict";s.d(t,{default:()=>f});var r=s(55057),a=s(4645),l=s(14909),o=s(88041),n=s(14719),i=s(6636),c=s(78293);let d="text-tiny text-nowrap rounded-md px-1 py-0.5",m=(e,t)=>e>=2?{text:"Most popular",className:"".concat(d," text-rose-600 border border-rose-600")}:e>=1||0===t&&e>0?{text:"Popular",className:"".concat(d," text-orange-500 border border-orange-500")}:0===e&&0===t?{text:"Most recent",className:"".concat(d," text-orange-500 border border-orange-500")}:null,u=(0,c.memo)(e=>{let{stars:t,index:s}=e,a=m(t,s);return a?(0,r.jsx)("span",{className:a.className,children:a.text}):null});u.displayName="BlogpostCardTitle";let h={container:"mx-auto w-full md:max-w-[48%] 2xl:max-w-[31%]",card:"no-button-style z-0 p-2 w-full min-w-64 cursor-pointer",header:"py-1 md:py-2 lg:py-3",headerContent:"w-full flex justify-between items-start",title:"text-left text-balance font-semibold",chipContainer:"flex justify-end mt-1 ml-2",body:"py-2",description:"text-sm text-gray-500",footer:"flex justify-between items-center py-1 md:py-2 lg:py-3",date:"text-tiny text-gray-400 min-w-20",tagContainer:"flex flex-wrap space-x-1 justify-end",tag:"text-tiny text-gray-400"},x=(0,c.memo)(e=>{let{tags:t}=e;return(0,r.jsx)("div",{className:h.tagContainer,children:t.map(e=>(0,r.jsxs)("span",{className:h.tag,children:["#",e]},e))})});x.displayName="Tags";let p=(0,c.memo)(e=>{let{post:t,index:s}=e,{title:c,slug:d,stars:m,description:p,date:f,tags:b}=t;return(0,r.jsx)("div",{className:h.container,children:(0,r.jsxs)(a.Z,{as:l.h,href:"/posts/".concat(d),classNames:{base:h.card},children:[(0,r.jsx)(o.d,{className:h.header,children:(0,r.jsxs)("div",{className:h.headerContent,children:[(0,r.jsx)("span",{className:h.title,children:c}),(0,r.jsx)("div",{className:h.chipContainer,children:(0,r.jsx)(u,{stars:m,index:s})})]})}),(0,r.jsx)(n.U,{className:h.body,children:(0,r.jsx)("span",{className:h.description,children:p})}),(0,r.jsxs)(i.Z,{className:h.footer,children:[(0,r.jsx)("span",{className:h.date,children:f}),(0,r.jsx)(x,{tags:b})]})]})})});p.displayName="BlogpostCard";let f=p},77966:(e,t,s)=>{"use strict";s.d(t,{AboutTheBook:()=>m});var r=s(55057),a=s(4974),l=s(53800),o=s(68453),n=s(78293),i=s(55361);let c=(0,n.memo)(function(e){let{onClick:t}=e;return(0,r.jsxs)("section",{className:"section-separator mx-auto my-6 p-2 rounded-lg max-w-3xl overflow-hidden bg-white relative","aria-labelledby":"stores-heading",onClick:t,children:[(0,r.jsx)("h2",{id:"stores-heading",className:"text-sm text-center font-semibold mb-4",children:"Available at these stores:"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(o.LogoReel,{logos:i.K}),(0,r.jsx)(l.A,{width:"w-24"})]})]})});var d=s(95186);let m=(0,n.memo)(function(e){let{book:t,className:s=""}=e,{isOpen:l,onOpen:o,onOpenChange:n}=(0,d.j)();return(0,r.jsxs)("section",{id:"about",className:"section-separator \n flex flex-col gap-6 ".concat(s),"aria-labelledby":"about-heading",children:[(0,r.jsx)("h3",{id:"about-heading",className:"text-2xl font-bold",children:"About the book"}),(0,r.jsx)("div",{className:"prose max-w-none",children:t.aboutText}),(0,r.jsx)(a.B,{book:t,isOpen:l,onOpenChange:n}),(0,r.jsx)(c,{onClick:o})]})})},28003:(e,t,s)=>{"use strict";s.d(t,{default:()=>x});var r=s(55057),a=s(78293),l=s(84071),o=s(60413),n=s(66267),i=s.n(n),c=s(91351),d=s(42867);let m=e=>{let{src:t,alt:s,className:a="",zIndex:l=1}=e;return(0,r.jsx)(o.W,{as:c.default,src:t,alt:s,width:300,height:450,className:"border border-slate-400 rounded-sm ".concat(a),style:{width:"auto",height:"auto",maxWidth:"300px",zIndex:l}})},u=(0,a.memo)(function(e){let{book:t,isPriority:s}=e;return(0,r.jsx)(i(),{href:"#".concat(t.slug),onClick:e=>{e.preventDefault();let s=document.getElementById(t.slug);s&&s.scrollIntoView({behavior:"smooth"})},children:(0,r.jsx)(o.W,{src:t.coverSrc,alt:t.title,width:400,height:600,className:"border border-black rounded-sm shadow-md transition-transform hover:scale-105 z-10",loading:s?"eager":"lazy"})})}),h=(0,a.memo)(function(e){let{book:t}=e,[s,o]=(0,a.useState)(!1),n=.75*(0,d.A)({maxWidth:800});(0,a.useEffect)(()=>{o(!0)},[]);let i=t.page1src&&t.page2src;return(0,r.jsxs)("section",{className:"section-separator text-center text-balance mt-2",children:[(0,r.jsxs)("div",{className:"mx-auto px-4 mb-4",children:[(0,r.jsx)("h1",{className:"mt-0 mb-4",children:t.title}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 justify-center items-center",children:[(0,r.jsx)("p",{className:"text-sm",children:t.shortDescription}),t.edition&&(0,r.jsxs)("p",{className:"text-tiny italic",children:["(",t.edition,")"]})]})]}),(0,r.jsx)("div",{className:"w-full overflow-visible",children:(0,r.jsx)("div",{className:"max-w-[".concat(800,"px] mx-auto"),style:{zoom:n,transformOrigin:"top left"},children:(0,r.jsxs)("div",{className:"flex justify-center items-center relative",children:[i&&s&&(0,r.jsx)(m,{src:t.page1src,alt:"".concat(t.title," page 1"),className:"-mr-4",zIndex:1}),(0,r.jsx)(u,{book:t,isPriority:!0}),i&&s&&(0,r.jsx)(m,{src:t.page2src,alt:"".concat(t.title," page 2"),className:"-ml-4",zIndex:2})]})})}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-8 mt-6 px-4",children:[(0,r.jsx)(l.BuyBookButton,{book:t}),(0,r.jsx)("p",{className:"italic mb-0 text-sm",children:"or"}),(0,r.jsx)("button",{onClick:()=>{var e;null===(e=document.getElementById("about"))||void 0===e||e.scrollIntoView({behavior:"smooth"})},className:"underline underline-offset-8",children:"Learn more →"})]})]})});h.displayName="BookHero";let x=h},82183:(e,t,s)=>{"use strict";s.d(t,{default:()=>n});var r=s(55057),a=s(84621),l=s(66267),o=s.n(l);let n=(0,s(78293).memo)(function(e){let{excerptUrl:t}=e;return t?(0,r.jsxs)("section",{id:"excerpt",className:"section-separator flex flex-col gap-4 p-4 sm:p-6 lg:p-8 border border-black rounded-lg shadow-md",children:[(0,r.jsx)("h3",{className:"m-0",children:"Read an excerpt"}),(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)("p",{className:"text-gray-700",children:"Here is an excerpt from the book. If you like it, you can buy the book from Amazon or my store."}),(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(o(),{href:t,target:"_blank",rel:"noopener noreferrer",className:"inline-block",children:(0,r.jsx)(a.T,{color:"primary",className:"min-w-[160px]",children:"Read the excerpt"})})})]})]}):null})},41738:(e,t,s)=>{"use strict";s.d(t,{default:()=>n});var r=s(55057),a=s(78293),l=s(53002),o=s(6462);let n=(0,a.memo)(function(e){let{tag:t}=e,[s,n]=(0,a.useState)([]),[i,c]=(0,a.useState)(!0),[d,m]=(0,a.useState)(null),u=(0,a.useCallback)(async()=>{try{c(!0),m(null);let e=await (0,o.K)([t],4);n(e)}catch(e){console.error("Failed to fetch related posts:",e),m("Failed to load related posts. Please try again later.")}finally{c(!1)}},[t]);return((0,a.useEffect)(()=>{t&&u()},[u,t]),i)?(0,r.jsx)("div",{role:"status",className:"animate-pulse",children:"Loading related posts..."}):d?(0,r.jsx)("div",{className:"text-red-600",children:d}):0===s.length?null:(0,r.jsxs)("section",{className:"section-separator flex flex-col gap-4","aria-labelledby":"related-posts-heading",children:[(0,r.jsx)("h3",{id:"related-posts-heading",children:"Top related posts"}),(0,r.jsx)(l.z,{posts:s})]})})},69592:(e,t,s)=>{"use strict";s.d(t,{ReviewsCarousel:()=>d});var r=s(55057),a=s(78293),l=s(74117);let o=e=>{let[t,s]=(0,a.useState)(!1),r=(0,a.useRef)({x:0,scrollLeft:0}),l=(0,a.useCallback)(t=>{if(!e.current)return;s(!0);let a="touches"in t?t.touches[0].clientX:t.clientX;r.current={x:a,scrollLeft:e.current.scrollLeft}},[e]),o=(0,a.useCallback)(()=>{s(!1)},[]),n=(0,a.useCallback)(s=>{if(!t||!e.current)return;s.preventDefault();let a="touches"in s?s.touches[0].clientX:s.clientX,l=r.current.x-a;e.current.scrollLeft=r.current.scrollLeft+l},[t,e]);return{isDragging:t,handleDragStart:l,handleDragEnd:o,handleDragMove:n}},n={SCROLL_AMOUNT:300},i=(0,a.memo)(function(e){let{review:t,showRating:s,isLast:a}=e;return(0,r.jsx)("div",{className:"w-48 md:w-64 flex-shrink-0 ".concat(a?"":"mr-4 md:mr-8"),children:(0,r.jsx)(l.ReviewCard,{review:t,showRating:s})})}),c=(0,a.memo)(function(e){let{direction:t,show:s,onClick:a}=e;return(0,r.jsx)("button",{onClick:a,className:"absolute ".concat(t,"-0 top-0 bottom-0 w-16 bg-transparent\n no-button-style shadow-none focus:ring-0 focus:outline-none active:bg-transparent \n border-none focus:border-none outline-none\n ").concat(s?"bg-gradient-".concat("left"===t?"to-r":"to-l"," from-white to-transparent"):"pointer-events-none"),"aria-label":"Scroll ".concat(t)})}),d=(0,a.memo)(function(e){let{reviews:t,showRatings:s,title:l="Some reviews",width:d,height:m}=e,u=(0,a.useRef)(null),[h,x]=(0,a.useState)(!1),[p,f]=(0,a.useState)(!0),b=(0,a.useCallback)(()=>{let e=u.current;if(!e)return;let{scrollLeft:t,scrollWidth:s,clientWidth:r}=e;x(t>0),f(t{let t=u.current;if(!t)return;let s="left"===e?-n.SCROLL_AMOUNT:n.SCROLL_AMOUNT;t.scrollBy({left:s,behavior:"smooth"})},[]),{isDragging:y,handleDragStart:v,handleDragEnd:j,handleDragMove:w}=o(u),N=(0,a.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),w(e))},[w]),k=(0,a.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),v(e))},[v]),C=(0,a.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),j())},[j]),B=t.length<2,P=t.length<3&&"lg"===d;return(0,r.jsxs)("section",{className:"".concat("sm"===m?"mt-0 mb-0 p-0":""," section-separator"),children:[(0,r.jsx)("h3",{className:"text-2xl font-bold mb-4",children:l}),(0,r.jsxs)("div",{className:"w-full relative",children:[(0,r.jsx)("div",{className:"mx-auto mb-4 relative overflow-x-auto scrollbar-hide select-none\n max-w-[300px] sm:max-w-[380px] md:max-w-[420px] ".concat("lg"===d?"lg:max-w-[600px]":"","\n cursor-grab active:cursor-grabbing ").concat(B?"flex justify-center":""),ref:u,onScroll:b,onMouseDown:k,onMouseUp:C,onMouseLeave:C,onMouseMove:N,onTouchStart:k,onTouchEnd:C,onTouchMove:N,children:(0,r.jsx)("div",{className:"flex ".concat(P?"md:justify-center":""),children:t.map((e,a)=>(0,r.jsx)(i,{review:e,showRating:s,isLast:a===t.length-1},"review-".concat(a)))})}),(0,r.jsx)(c,{direction:"left",show:h,onClick:()=>g("left")}),(0,r.jsx)(c,{direction:"right",show:p,onClick:()=>g("right")})]})]})})},84071:(e,t,s)=>{"use strict";s.d(t,{BuyBookButton:()=>c});var r=s(55057),a=s(86222),l=s(95186),o=s(84621),n=s(78293),i=s(4974);let c=(0,n.memo)(e=>{let{book:t,className:s}=e,{isOpen:n,onOpen:c,onOpenChange:d}=(0,l.j)();return t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.T,{color:"primary",onPress:c,"aria-label":"Buy ".concat(t.title),className:s,children:"Buy Now"}),(0,r.jsx)(i.B,{book:t,isOpen:n,onOpenChange:d})]}):(function(){let e="BuyBookButton: No book provided";console.warn(e),a.wd(e,{level:"warning",extra:{component:"BuyBookButton"}})}(),null)});c.displayName="BuyBookButton"},4974:(e,t,s)=>{"use strict";s.d(t,{B:()=>x});var r=s(55057),a=s(86222),l=s(20968),o=s(16482),n=s(75635),i=s(51806),c=s(84621),d=s(14909),m=s(78991),u=s(78293);let h="/books/preorder",x=u.memo(e=>{let{book:t,isOpen:s,onOpenChange:x}=e;if(!(null==t?void 0:t.title)){let e=Error("BuyBookModal: Book or book title is missing");return console.error(e),a.Cp(e),null}let p=(0,u.useMemo)(()=>{let e=[];return(t.amazonLink||h)&&e.push({type:"Paperback",href:t.amazonLink||h}),(t.myStoreLink||h)&&e.push({type:"eBook",href:t.myStoreLink||h}),t.hasAudiobook&&t.myStoreLink&&e.push({type:"Audiobook",href:t.myStoreLink}),e},[t.amazonLink,t.myStoreLink,t.hasAudiobook]),f=(0,u.useCallback)(e=>{"function"==typeof x&&x(e)},[x]);if(0===p.length){let e=Error("BuyBookModal: No purchase options available for book: ".concat(t.title));return console.warn(e),a.wd(e.message,{level:"warning"}),null}return(0,r.jsx)(l.Y,{isOpen:s,onOpenChange:f,size:"sm",hideCloseButton:!0,children:(0,r.jsx)(o.g,{className:"pb-0",children:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.c,{className:"flex flex-col gap-1",children:["Buy ",t.title]}),(0,r.jsx)(i.h,{children:p.map(e=>{let{type:s,href:a}=e;return(0,r.jsx)(c.T,{as:d.h,href:a,color:"primary",className:"w-full mb-2",isExternal:a.startsWith("http"),"aria-label":"Buy ".concat(s," version of ").concat(t.title),onPress:()=>{a&&a.startsWith("http")&&window.open(a,"_blank","noopener,noreferrer")},children:s},s)})}),(0,r.jsx)(m.q,{children:(0,r.jsx)(c.T,{color:"primary",variant:"light",onPress:e,className:"shadow-none text-white","aria-label":"Close purchase options modal",children:"Close"})})]})})})});x.displayName="BuyBookModal"},95222:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>y});var r=s(55057),a=s(98552),l=s(84621),o=s(78293),n=s(91351),i=s(68453),c=s(69592),d=s(55361),m=s(68732),u=s(86298),h=s(95164),x=s(63418),p=s(14202);let f=x.z.object({email:x.z.string().email("Please enter a valid email address")}),b=()=>(0,r.jsxs)("div",{className:"mt-8 rounded-lg p-2 small-text",children:[(0,r.jsx)("p",{className:"font-semibold",children:"In the welcome email, you will find:"}),(0,r.jsxs)("ul",{className:"no-disc",children:[(0,r.jsx)("li",{children:"✔ A guide on how to bring clarity to your teams"}),(0,r.jsx)("li",{children:'✔ A 33% discount code for my book "Best Practices For Operational Excellence"'}),(0,r.jsx)("li",{children:"✔ An archive of my top Twitter threads, including the ones market with a ⭐️ that are my favorite"}),(0,r.jsx)("li",{children:'✔ A digital copy of my book "The Employee Engagement Handbook," with plenty of concrete advice to increase talent retention and commitment'})]})]}),g=()=>(0,r.jsxs)("div",{id:"logo-reel",children:[(0,r.jsx)("p",{className:"text-center text-[10px] leading-3 my-4",children:"Part of my portfolio / trusted by leaders at"}),(0,r.jsx)(i.LogoReel,{logos:d.c})]}),y=e=>{var t;let{size:s="lg"}=e,i=(0,h.useRouter)(),{handleSubmit:d,formState:{errors:x,isSubmitting:y},register:v,setError:j}=(0,u.mN)({resolver:(0,p.u)(f),defaultValues:{email:""}}),w=(0,o.useCallback)(async e=>{try{if((await fetch("https://app.convertkit.com/forms/1862996/subscriptions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email_address:e.email})})).ok)i.push("https://luca-dellanna.com/welcome");else throw Error("Subscription failed")}catch(e){console.error("Error:",e),j("email",{type:"manual",message:e instanceof Error?e.message:"An error occurred. Please try again later."})}},[i,j]),N=m.Y.filter(e=>e.object.includes("Luca"));return(0,r.jsxs)("section",{className:"section-separator max-w-2xl lg:max-w-3xl p-4 md:p-8 my-12 border border-black rounded-lg shadow-lg",children:[(0,r.jsx)("form",{onSubmit:d(w),className:"mx-auto flex mb-8 items-center justify-center",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsxs)("div",{id:"headline-and-form",children:["lg"===s?(0,r.jsx)("h2",{className:"mb-2",children:"Luca's newsletter"}):(0,r.jsx)("h3",{className:"mt-0 sm:mt-2 md:mt-4 mb-2",children:"Luca's newsletter"}),(0,r.jsx)("p",{className:"text-tiny text-center italic",children:"You can expect 1-2 emails a month. Unsubscribe at any time."}),(0,r.jsxs)("div",{id:"ck-form",className:"flex flex-col items-center sm:flex-row gap-4 mt-6",children:[(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(a.r,{...v("email"),type:"email",placeholder:"Enter your email",isRequired:!0,className:"flex-grow",isDisabled:y,errorMessage:null===(t=x.email)||void 0===t?void 0:t.message,isInvalid:!!x.email,onFocus:e=>e.stopPropagation(),onBlur:e=>e.stopPropagation()})}),(0,r.jsx)(l.T,{type:"submit",className:"primary !px-6 py-2 w-[fit-content]",isLoading:y,isDisabled:y,children:(0,r.jsx)("span",{className:"mx-6 whitespace-nowrap",children:"Join 25,000+ readers"})})]})]}),(0,r.jsx)(n.default,{src:"/luca-portrait.jpg",alt:"Luca Dellanna",height:150,width:100,className:"ml-8 border border-black rounded-lg hidden md:block"})]})}),(0,r.jsx)(c.ReviewsCarousel,{width:"lg",height:"sm",reviews:N,showRatings:!1,title:"They say about Luca"}),"lg"===s&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b,{}),(0,r.jsx)(g,{})]})]})}},81609:(e,t,s)=>{"use strict";s.d(t,{default:()=>o});var r=s(55057),a=s(78293),l=s(84621);let o=(0,a.memo)(function(e){let{error:t,resetErrorBoundary:s,message:a="We're sorry, a problem occurred. Please try again later."}=e;return(0,r.jsxs)("div",{role:"alert",className:"p-4 border border-red-500 rounded-lg bg-red-50 max-w-xl mx-auto my-8",children:[(0,r.jsx)("h2",{className:"text-lg font-semibold text-red-800 mb-2",children:"Oops! Something went wrong"}),(0,r.jsx)("p",{className:"text-red-700 mb-4",children:a}),!1,(0,r.jsx)(l.T,{onPress:s,color:"danger",className:"w-full sm:w-auto",children:"Try again"})]})})},88041:(e,t,s)=>{"use strict";s.d(t,{d:()=>c});var r=s(28878),a=s(47794),l=s(1968),o=s(45095),n=s(55057),i=(0,a.Rf)((e,t)=>{var s;let{as:a,className:i,children:c,...d}=e,m=(0,l.zD)(t),{slots:u,classNames:h}=(0,r.f)(),x=(0,o.$)(null==h?void 0:h.header,i);return(0,n.jsx)(a||"div",{ref:m,className:null==(s=u.header)?void 0:s.call(u,{class:x}),...d,children:c})});i.displayName="HeroUI.CardHeader";var c=i},6636:(e,t,s)=>{"use strict";s.d(t,{Z:()=>c});var r=s(28878),a=s(47794),l=s(1968),o=s(45095),n=s(55057),i=(0,a.Rf)((e,t)=>{var s;let{as:a,className:i,children:c,...d}=e,m=(0,l.zD)(t),{slots:u,classNames:h}=(0,r.f)(),x=(0,o.$)(null==h?void 0:h.footer,i);return(0,n.jsx)(a||"div",{ref:m,className:null==(s=u.footer)?void 0:s.call(u,{class:x}),...d,children:c})});i.displayName="HeroUI.CardFooter";var c=i},21585:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(73453).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"}]])}},e=>{var t=t=>e(e.s=t);e.O(0,[1410,9340,2783,4621,8552,6029,2515,3253,5903,4106,6467,7358],()=>t(79970)),_N_E=e.O()}]);