try{let 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]="c515444f-84d8-499c-adc9-fafcae91c555",e._sentryDebugIdIdentifier="sentry-dbid-c515444f-84d8-499c-adc9-fafcae91c555")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5111,7177],{7566:(e,t,r)=>{Promise.resolve().then(r.bind(r,19323)),Promise.resolve().then(r.bind(r,2471)),Promise.resolve().then(r.bind(r,42730)),Promise.resolve().then(r.bind(r,86340)),Promise.resolve().then(r.bind(r,76180)),Promise.resolve().then(r.t.bind(r,84119,23)),Promise.resolve().then(r.t.bind(r,65528,23)),Promise.resolve().then(r.t.bind(r,92976,23)),Promise.resolve().then(r.t.bind(r,6712,23)),Promise.resolve().then(r.t.bind(r,64437,23)),Promise.resolve().then(r.t.bind(r,93249,23)),Promise.resolve().then(r.t.bind(r,25784,23)),Promise.resolve().then(r.bind(r,98301)),Promise.resolve().then(r.bind(r,83989)),Promise.resolve().then(r.bind(r,31586)),Promise.resolve().then(r.bind(r,74017)),Promise.resolve().then(r.bind(r,94965)),Promise.resolve().then(r.bind(r,70054)),Promise.resolve().then(r.bind(r,85111)),Promise.resolve().then(r.bind(r,45194)),Promise.resolve().then(r.t.bind(r,79849,23)),Promise.resolve().then(r.t.bind(r,69645,23)),Promise.resolve().then(r.t.bind(r,77196,23)),Promise.resolve().then(r.bind(r,62857))},8302:(e,t,r)=>{"use strict";r.d(t,{LogoReel:()=>d});var n=r(36685),s=r(18937),a=r(68621),l=r(44446),o=r(16020);let i={width:100,height:50},c=(0,s.memo)(function(e){let{logo:t,index:r}=e;return(0,n.jsx)("div",{className:"flex-shrink-0 mx-4",children:(0,n.jsx)(l.default,{src:t.src,alt:t.alt,width:i.width,height:i.height,className:"h-12 w-auto object-contain",onError:e=>{e.target.style.display="none"}})})}),d=(0,s.memo)(function(e){let{logos:t}=e,r=(0,s.useRef)(null),l=Array.isArray(t)&&t.length>0,d=l?Array.from({length:4},()=>t).flat():[],m=l?i.width*t.length*4:0,u=(0,o.A)({maxWidth:m}),h=(0,s.useCallback)(()=>{let e=r.current;if(!e)return;let t=e.scrollWidth;e.style.setProperty("--scroll-width","".concat(t,"px"))},[]);return((0,s.useEffect)(()=>{var e;if(!l)return;h();let t=()=>{requestAnimationFrame(h)};window.addEventListener("resize",t);let n=null==(e=r.current)?void 0:e.getElementsByTagName("img");return n&&Promise.all(Array.from(n).map(e=>e.complete||new Promise(t=>{e.onload=t,e.onerror=t}))).then(h),()=>window.removeEventListener("resize",t)},[h,l]),l)?(0,n.jsxs)("div",{className:"w-[95vw] max-w-full overflow-hidden bg-white mt-4 relative",children:[(0,n.jsx)("div",{className:"flex animate-scroll max-w-full",ref:r,style:{transform:"scale(".concat(u,")"),transformOrigin:"left center"},role:"marquee","aria-label":"Logo reel",children:d.map((e,t)=>(0,n.jsx)(c,{logo:e,index:t},"logo-".concat(e.alt,"-").concat(t)))}),(0,n.jsx)(a.A,{width:"w-24"})]}):null})},14141:(e,t,r)=>{"use strict";r.d(t,{ReviewsCarousel:()=>d});var n=r(36685),s=r(18937),a=r(9052);let l=e=>{let[t,r]=(0,s.useState)(!1),n=(0,s.useRef)({x:0,scrollLeft:0}),a=(0,s.useCallback)(t=>{e.current&&(r(!0),n.current={x:"touches"in t?t.touches[0].clientX:t.clientX,scrollLeft:e.current.scrollLeft})},[e]),l=(0,s.useCallback)(()=>{r(!1)},[]),o=(0,s.useCallback)(r=>{if(!t||!e.current)return;r.preventDefault();let s="touches"in r?r.touches[0].clientX:r.clientX,a=n.current.x-s;e.current.scrollLeft=n.current.scrollLeft+a},[t,e]);return{isDragging:t,handleDragStart:a,handleDragEnd:l,handleDragMove:o}},o={SCROLL_AMOUNT:300},i=(0,s.memo)(function(e){let{review:t,showRating:r,isLast:s}=e;return(0,n.jsx)("div",{className:"w-48 md:w-64 flex-shrink-0 ".concat(s?"":"mr-4 md:mr-8"),children:(0,n.jsx)(a.ReviewCard,{review:t,showRating:r})})}),c=(0,s.memo)(function(e){let{direction:t,show:r,onClick:s}=e;return(0,n.jsx)("button",{onClick:s,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(r?"bg-gradient-".concat("left"===t?"to-r":"to-l"," from-white to-transparent"):"pointer-events-none"),"aria-label":"Scroll ".concat(t)})}),d=(0,s.memo)(function(e){let{reviews:t,showRatings:r,title:a="Some reviews",width:d,height:m}=e,u=(0,s.useRef)(null),[h,f]=(0,s.useState)(!1),[x,g]=(0,s.useState)(!0),p=(0,s.useCallback)(()=>{let e=u.current;if(!e)return;let{scrollLeft:t,scrollWidth:r,clientWidth:n}=e;f(t>0),g(t{let t=u.current;if(!t)return;let r="left"===e?-o.SCROLL_AMOUNT:o.SCROLL_AMOUNT;t.scrollBy({left:r,behavior:"smooth"})},[]),{isDragging:b,handleDragStart:w,handleDragEnd:y,handleDragMove:j}=l(u),k=(0,s.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),j(e))},[j]),N=(0,s.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),w(e))},[w]),L=(0,s.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),y())},[y]),C=t.length<2,E=t.length<3&&"lg"===d;return(0,n.jsxs)("section",{className:"".concat("sm"===m?"mt-0 mb-0 p-0":""," section-separator"),children:[(0,n.jsx)("h3",{className:"text-2xl font-bold mb-4",children:a}),(0,n.jsxs)("div",{className:"w-full relative",children:[(0,n.jsx)("div",{className:"mx-auto mb-4 relative overflow-x-auto scrollbar-hide select-none\n max-w-[280px] sm:max-w-[380px] md:max-w-[420px] ".concat("lg"===d?"lg:max-w-[600px]":"","\n cursor-grab active:cursor-grabbing ").concat(C?"flex justify-center":""),ref:u,onScroll:p,onMouseDown:N,onMouseUp:L,onMouseLeave:L,onMouseMove:k,onTouchStart:N,onTouchEnd:L,onTouchMove:k,children:(0,n.jsx)("div",{className:"flex ".concat(E?"md:justify-center":""),children:t.map((e,s)=>(0,n.jsx)(i,{review:e,showRating:r,isLast:s===t.length-1},"review-".concat(s)))})}),(0,n.jsx)(c,{direction:"left",show:h,onClick:()=>v("left")}),(0,n.jsx)(c,{direction:"right",show:x,onClick:()=>v("right")})]})]})})},16020:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(18937);function s(e){let{maxWidth:t,minScale:r=.1,debounceMs:s=100}=e,[a,l]=(0,n.useState)(1),o=(0,n.useRef)(void 0),i=(0,n.useCallback)(()=>{l(Math.min(.95,Math.max(r,window.innerWidth/t)))},[t,r]);return(0,n.useEffect)(()=>{let e=()=>o.current&&clearTimeout(o.current),t=()=>{e(),o.current=setTimeout(i,s)};return i(),window.addEventListener("resize",t,{passive:!0}),()=>{e(),window.removeEventListener("resize",t)}},[i,s]),a}},31586:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var n=r(36685),s=r(18937),a=r(99807);let l="exitPopupShown",o=e=>{let{children:t,delayMs:r=15e3,onClose:o}=e,[i,c]=(0,s.useState)(!1),[d,m]=(0,s.useState)(!1),u=(0,a.useRouter)(),h=(0,a.usePathname)(),f=(0,s.useCallback)(()=>{c(!1),null==o||o()},[o]),x=(0,s.useCallback)(e=>{e.target===e.currentTarget&&f()},[f]),g=(0,s.useCallback)(()=>{c(!0);try{localStorage.setItem(l,"true")}catch(e){console.warn("Unable to access localStorage:",e)}},[]);return((0,s.useEffect)(()=>{try{if(localStorage.getItem(l))return}catch(e){console.warn("Unable to access localStorage:",e)}let e=!1,t=0,n=setTimeout(()=>m(!0),r),s=t=>{t.clientY<=0&&!e&&d&&(e=!0,g())},a=()=>{!e&&d&&(e=!0,g(),h&&u.push(h))},o=()=>{let r=window.scrollY;r>t&&r>300&&!e&&d&&(e=!0,g()),t=r<=0?0:r},i=t=>{t.touches[0].clientY<10&&!e&&d&&(e=!0,g())};return document.addEventListener("mouseleave",s),window.addEventListener("popstate",a),document.addEventListener("scroll",o),document.addEventListener("touchmove",i),()=>{clearTimeout(n),document.removeEventListener("mouseleave",s),window.removeEventListener("popstate",a),document.removeEventListener("scroll",o),document.removeEventListener("touchmove",i)}},[d,r,h,u,g]),i)?(0,n.jsx)("div",{id:"exit-popup",className:"fixed inset-0 bg-black bg-opacity-60 flex items-center justify-center z-50",onClick:x,role:"dialog","aria-modal":"true","aria-label":"Exit popup",children:(0,n.jsxs)("div",{className:"relative bg-white p-4 sm:p-6 lg:p-8 rounded-lg max-h-[90vh] max-w-2xl w-full",children:[(0,n.jsx)("button",{onClick:f,className:"absolute top-2 right-2 text-gray-500 hover:text-gray-700 transition-colors","aria-label":"Close popup",children:(0,n.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),t]})}):null}},41938:(e,t,r)=>{"use strict";r.d(t,{K:()=>s,c:()=>n});let n=[{src:"/societe-generale.png",alt:"Soci\xe9t\xe9 G\xe9nerale"},{src:"/shopify.png",alt:"Shopify"},{src:"/dupont.png",alt:"DuPont"},{src:"/mckinsey.png",alt:"McKinsey and Company"},{src:"/markel.png",alt:"Markel Group"},{src:"/standard-chartered.png",alt:"Standard Chartered"},{src:"/shopify.png",alt:"Shopify"},{src:"/marriott.png",alt:"Marriott"},{src:"/genova-university.png",alt:"Genova University"},{src:"/mises-institute.png",alt:"Mises Institute"},{src:"/upstart-wealth-management.png",alt:"Upstart Wealth Management"}],s=[{src:"/amazon.png",alt:"Amazon"},{src:"/barnes-noble.png",alt:"Barnes&Noble"},{src:"/apple-books.png",alt:"Apple Books"},{src:"/google-play.png",alt:"Google Play Books"}]},45194:(e,t,r)=>{"use strict";r.d(t,{RandomSelector:()=>a});var n=r(36685),s=r(18937);function a(e){let{children:t}=e,r=(0,s.useMemo)(()=>{let e=s.Children.toArray(t),r=Math.floor(Math.random()*e.length);return e[r]},[t]);return(0,n.jsx)(n.Fragment,{children:r})}},62857:(e,t,r)=>{"use strict";r.d(t,{Providers:()=>l});var n=r(36685),s=r(32951),a=r(76966);function l(e){let{children:t}=e;return(0,a.V)("GlobalProviders"),(0,n.jsx)(s.M,{children:t})}},68621:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(36685),s=r(18937);let a=e=>{let{side:t,className:r,width:s}=e;return(0,n.jsx)("div",{className:"".concat(r," ").concat(s," ").concat(t,"-0 bg-gradient-to-").concat("left"===t?"r":"l"," from-white to-transparent"),"aria-hidden":"true"})},l=(0,s.memo)(function(e){let{width:t}=e,r="absolute top-0 bottom-0 pointer-events-none";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a,{side:"left",className:r,width:t}),(0,n.jsx)(a,{side:"right",className:r,width:t})]})})},69645:()=>{},70054:(e,t,r)=>{"use strict";r.d(t,{default:()=>E});var n=r(36685),s=r(57977),a=r(59976),l=r(18937),o=r(92586),i=r.n(o);let c=[{href:"/books",name:"Books",links:[{href:"/books",name:"My bestselling books",isBold:!0},{href:"/audiobooks",name:"Audiobooks"},{href:"/teachers",name:"For teachers"}]},{href:"/consulting",name:"Services",links:[{href:"/consulting/business-leaders",name:"For business leaders"},{href:"/consulting/fund-managers",name:"For fund managers"},{href:"/consulting/individuals",name:"For individuals"},{href:"/ai",name:"Nail your AI initiative"},{href:"/courses",name:"Courses"},{href:"/coaching",name:"Coaching"},{href:"https://calendly.com/lucadellanna/one-on-one",name:"Book a one-on-one consultation",isBold:!0}]},{href:"/blog",name:"Blog",links:[{href:"/blog",name:"All posts",isBold:!0},{href:"/podcasts",name:"Podcasts"},{href:"https://www.youtube.com/c/LucaDellannaChannel",name:"YouTube"}]},{href:"/newsletter",name:"Newsletter"},{href:"/contact",name:"Contact",links:[{href:"/about",name:"About Luca"},{href:"/media",name:"Media"},{href:"/contact",name:"Contact",isBold:!0}]}],d=(0,l.memo)(e=>{let{item:t,isLast:r}=e;return(0,n.jsx)(i(),{href:t.href,className:"".concat(r?"bg-primary text-white hover:text-white px-4 py-2 rounded-md font-bold":"group-hover:text-focus"," transition-colors duration-300 ").concat(t.isBold?"font-bold":""),children:t.name})}),m=(0,l.memo)(e=>{let{links:t}=e;return(0,n.jsx)("div",{className:"absolute left-0 mt-2 w-48 bg-white border border-black rounded-md shadow-lg opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-300",children:t.map(e=>(0,n.jsx)(i(),{href:e.href,className:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 ".concat(e.isBold?"font-bold":""),children:e.name},e.name))})}),u=(0,l.memo)(()=>(0,n.jsx)("nav",{className:"hidden md:flex space-x-4","aria-label":"Desktop navigation",children:c.map((e,t)=>(0,n.jsxs)("div",{className:"group relative",children:[(0,n.jsx)(d,{item:e,isLast:t===c.length-1}),e.links&&(0,n.jsx)(m,{links:e.links})]},e.name))}));d.displayName="NavLink",m.displayName="DropdownMenu",u.displayName="DesktopMenu";var h=r(16237),f=r(32560);let x=(0,l.memo)(e=>{let{showExpandButton:t,isAtBottom:r}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"absolute bottom-2 right-2 text-gray-400 ".concat(t&&!r?"":"hidden"),children:(0,n.jsx)(h.A,{})}),(0,n.jsx)("div",{className:"absolute top-2 right-2 text-gray-400 ".concat(t&&r?"":"hidden"),children:(0,n.jsx)(f.A,{})})]})}),g=(0,l.memo)(e=>{let{item:t,onLinkClick:r}=e;return(0,n.jsxs)("div",{children:[(0,n.jsx)(i(),{href:t.href,className:"block px-3 py-2 rounded-md font-extrabold ".concat(t===c[c.length-1]?"bg-primary text-white hover:bg-primary-dark":""),onClick:r,children:t.name}),t.links&&(0,n.jsx)("div",{className:"pl-4",children:t.links.map(e=>(0,n.jsx)(i(),{href:e.href,className:"block px-3 py-2 rounded-md text-sm ".concat(e.isBold?"font-semibold":""),onClick:r,children:e.name},e.name))})]})}),p=(0,l.memo)(e=>{let{onLinkClick:t,isOpen:r}=e,[s,a]=(0,l.useState)(!1),[o,i]=(0,l.useState)(!1),d=(0,l.useRef)(null),m=(0,l.useCallback)(()=>{if(!d.current)return;let e=d.current.scrollHeight;a(e>window.innerHeight-64)},[]),u=(0,l.useCallback)(()=>{if(!d.current)return;let{scrollTop:e,scrollHeight:t,clientHeight:r}=d.current;i(1>Math.abs(t-r-e))},[]);return(0,l.useEffect)(()=>{if(!r)return;let e=setTimeout(()=>{m(),u()},100);return()=>clearTimeout(e)},[r,m,u]),(0,l.useEffect)(()=>(window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)),[m]),(0,l.useEffect)(()=>{let e=d.current;if(e)return e.addEventListener("scroll",u),()=>e.removeEventListener("scroll",u)},[u]),(0,n.jsxs)("div",{className:"relative md:hidden",children:[(0,n.jsx)(x,{showExpandButton:s,isAtBottom:o}),(0,n.jsx)("div",{ref:d,className:"px-2 pt-2 pb-3 space-y-1 sm:px-3 shadow-lg max-h-[calc(100vh-64px)] overflow-y-auto",children:c.map(e=>(0,n.jsx)(g,{item:e,onLinkClick:t},e.name))})]})});x.displayName="ScrollIndicator",g.displayName="MenuItem",p.displayName="MobileMenu";var v=r(99807);let b=e=>{let{href:t,label:r,isLast:s}=e;return(0,n.jsx)("li",{className:"list-none my-1",children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("svg",{className:"w-2 h-2 text-gray-400 mx-1","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10",children:(0,n.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m1 9 4-4-4-4"})}),s?(0,n.jsx)("span",{className:"ml-1 text-tiny font-medium text-gray-500",children:r}):(0,n.jsx)(i(),{href:t||"#",className:"ml-1 text-tiny font-medium text-gray-700 hover:text-focus",children:r})]})})},w=()=>{let e=(0,v.usePathname)(),t=null==e?void 0:e.split("/").filter(Boolean);return!t||t.length<2?null:(0,n.jsx)("nav",{className:"flex ".concat("hidden md:block"),"aria-label":"Breadcrumb",children:(0,n.jsxs)("ul",{className:"inline-flex items-center space-x-1 md:space-x-3",children:[!1,t.map((e,r)=>{let s="/".concat(t.slice(0,r+1).join("/")),a=r===t.length-1;return(0,n.jsx)(b,{href:s,label:e,isLast:a},e)})]})})};var y=r(44446);let j="Luca Dellanna",k=(0,l.memo)(()=>(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsxs)(i(),{href:"/",className:"flex items-center font-bold text-xl","aria-label":"".concat(j," home page"),children:[(0,n.jsx)(y.default,{src:"/luca.png",alt:j,width:32,height:32,className:"rounded-full mr-2",priority:!0}),(0,n.jsx)("span",{children:j})]}),(0,n.jsx)(w,{})]}));k.displayName="NavBarLogo";let N="h-16",L=(0,l.memo)(e=>{let{isOpen:t,onClick:r}=e;return(0,n.jsx)("div",{className:"md:hidden",children:(0,n.jsx)("button",{onClick:r,className:"no-button-style focus:outline-none focus:ring-0 w-6 h-6 rounded-full bg-white shadow-none","aria-label":t?"Close menu":"Open menu","aria-expanded":t,children:t?(0,n.jsx)(s.A,{size:24}):(0,n.jsx)(a.A,{size:24})})})}),C=(0,l.memo)(()=>{let[e,t]=(0,l.useState)(!1),r=(0,l.useCallback)(()=>{t(e=>!e)},[]),s=(0,l.useCallback)(()=>{t(!1)},[]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("nav",{className:"fixed top-0 left-0 right-0 bg-white z-50",role:"navigation",children:[(0,n.jsx)("div",{className:"w-full max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,n.jsxs)("div",{className:"flex justify-between items-center ".concat(N),children:[(0,n.jsx)(k,{}),(0,n.jsx)(u,{}),(0,n.jsx)(L,{isOpen:e,onClick:r})]})}),e&&(0,n.jsx)(p,{onLinkClick:s,isOpen:e})]}),(0,n.jsx)("div",{className:N,"aria-hidden":"true"})]})});L.displayName="MobileMenuButton",C.displayName="Navbar";let E=C},71889:(e,t,r)=>{"use strict";r.d(t,{s:()=>a});var n=r(80493),s=r(18937);function a(){return{sendEvent:(0,s.useCallback)(e=>{let{name:t,params:r}=e;{let e={event:t};if(r)for(let t in r)e[t]=r[t];(0,n.sendGAEvent)(e)}},[])}}},74017:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var n=r(36685),s=r(18937),a=r(92586),l=r.n(a);let o={website:[{name:"Books",href:"/books",links:[{name:"Excerpts",href:"/excerpts"}]},{name:"Blog",href:"/blog"},{name:"Newsletter",href:"/newsletter"},{name:"Contact",href:"/contact"},{name:"Privacy Policy",href:"/privacy-policy"},{name:"Terms and Conditions",href:"/terms-and-conditions"},{name:"Disclaimer",href:"/disclaimer"}],services:[{name:"Luca's consulting",href:"/consulting",links:[{name:"– for business leaders",href:"/consulting/business-leaders"},{name:"– for fund managers",href:"/consulting/fund-managers"},{name:"– for individuals",href:"/consulting/individuals"}]},{name:"Luca's coaching",href:"/coaching"}],social:[{name:"Twitter",href:"https://twitter.com/DellAnnaLuca"},{name:"LinkedIn",href:"https://www.linkedin.com/in/dellannaluca"},{name:"YouTube",href:"https://www.youtube.com/c/LucaDellannaChannel"},{name:"Instagram",href:"https://www.instagram.com/lucadellanna/"}]},i=(0,s.memo)(function(e){let{header:t,links:r}=e;return(0,n.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,n.jsx)("h3",{className:"text-base font-bold text-white",children:t}),r.map(e=>(0,n.jsxs)("div",{children:[(0,n.jsx)(l(),{href:e.href,className:"mx-2 text-small no-underline text-gray-400 hover:text-white transition-colors",children:e.name}),e.links&&(0,n.jsx)("div",{className:"flex flex-col mt-2 space-y-2",children:e.links.map(e=>(0,n.jsx)(l(),{href:e.href,className:"mx-2 text-tiny no-underline text-gray-500 hover:text-white transition-colors",children:e.name},e.href))})]},e.href))]})}),c=(0,s.memo)(function(){let e=new Date().getFullYear();return(0,n.jsxs)("footer",{className:"bg-gray-800 text-white py-12 mt-12",children:[(0,n.jsxs)("div",{className:"container mx-auto flex flex-col md:flex-row space-y-8 md:space-y-0 justify-around text-center",children:[(0,n.jsx)(i,{header:"Links",links:o.website}),(0,n.jsx)(i,{header:"Luca's services",links:o.services}),(0,n.jsx)(i,{header:"Luca's socials",links:o.social})]}),(0,n.jsxs)("div",{className:"text-gray-400 text-tiny text-center mt-8",children:["\xa9 ",e," Luca Dell'Anna. All rights reserved."]})]})})},76966:(e,t,r)=>{"use strict";r.d(t,{V:()=>o});var n=r(40463),s=r(18937);let a=e=>{if(!e)return!1;let t="string"==typeof e?e:e instanceof Error?e.message:String(e);return t.includes("Object Not Found Matching Id")||t.includes("unhandledrejection")||t.includes("/_vercel/speed-insights/vitals")||e instanceof CustomEvent&&"unhandledrejection"===e.type&&!e.reason},l=e=>e instanceof Error?{message:e.message,type:e.name}:e instanceof CustomEvent?{message:e.reason instanceof Error?e.reason.message:String(e.reason)||"Custom Event Error",type:"CustomEvent:".concat(e.type)}:"string"==typeof e?{message:e,type:"StringError"}:{message:String(e),type:"UnknownError"},o=e=>{(0,s.useEffect)(()=>{let t=t=>{if(a(t.error))return void console.debug("Suppressed non-critical error:",t.error);let r=l(t.error);n.Cp(t.error,{extra:{componentName:e,timestamp:new Date().toISOString(),errorDetails:r},tags:{location:e,errorType:r.type}})},r=t=>{let r="reason"in t?t.reason:t;if(a(r))return void console.debug("Suppressed non-critical promise rejection:",r);let s=l(r);n.Cp(r,{extra:{componentName:e,promiseError:!0,timestamp:new Date().toISOString(),errorDetails:s},tags:{location:e,errorType:s.type}})};return window.addEventListener("error",t),window.addEventListener("unhandledrejection",r),()=>{window.removeEventListener("error",t),window.removeEventListener("unhandledrejection",r)}},[e])}},77196:()=>{},79849:()=>{},83989:(e,t,r)=>{"use strict";r.d(t,{ConvertkitForm:()=>h});var n=r(36685),s=r(62861),a=r(86944),l=r(18937),o=r(71889),i=r(89694),c=r(99807),d=r(35783),m=r(67184);let u=d.z.object({email:d.z.string().email("Please enter a valid email address")});function h(e){var t;let{buttonText:r="Join 25,000+ readers"}=e,d=(0,c.useRouter)(),{sendEvent:h}=(0,o.s)(),{handleSubmit:f,formState:{errors:x,isSubmitting:g},register:p,setError:v}=(0,i.mN)({resolver:(0,m.u)(u),defaultValues:{email:""}}),b=(0,l.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)h({name:"subscribed_to_newsletter"}),d.push("https://luca-dellanna.com/welcome");else throw Error("Subscription failed")}catch(e){console.error("Error:",e),v("email",{type:"manual",message:e instanceof Error?e.message:"An error occurred. Please try again later."})}},[d,v,h]);return(0,n.jsxs)("form",{onSubmit:f(b),className:"flex flex-col items-center sm:flex-row gap-4 mt-6",children:[(0,n.jsx)("div",{className:"w-full",children:(0,n.jsx)(s.r,{...p("email"),type:"email",placeholder:"Enter your email",isRequired:!0,className:"flex-grow",isDisabled:g,errorMessage:null==(t=x.email)?void 0:t.message,isInvalid:!!x.email,onFocus:e=>e.stopPropagation(),onBlur:e=>e.stopPropagation()})}),(0,n.jsx)(a.T,{type:"submit",className:"primary !px-6 py-2 w-[fit-content]",isLoading:g,isDisabled:g,children:(0,n.jsx)("span",{className:"mx-6 whitespace-nowrap",children:r})})]})}},85111:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(36685),s=r(83989),a=r(44446),l=r(8302);r(18937);var o=r(14141),i=r(41938),c=r(30491);let d=()=>(0,n.jsxs)("div",{className:"mt-8 rounded-lg p-2 small-text",children:[(0,n.jsx)("p",{className:"font-semibold",children:"In the welcome email, you will find:"}),(0,n.jsxs)("ul",{className:"no-disc",children:[(0,n.jsx)("li",{children:"✔ A guide on how to bring clarity to your teams"}),(0,n.jsx)("li",{children:'✔ A 33% discount code for my book "Best Practices For Operational Excellence"'}),(0,n.jsx)("li",{children:"✔ An archive of my top Twitter threads, including the ones market with a ⭐️ that are my favorite"}),(0,n.jsx)("li",{children:'✔ A digital copy of my book "The Employee Engagement Handbook", with plenty of concrete advice to increase talent retention and commitment'})]})]}),m=()=>(0,n.jsxs)("div",{id:"logo-reel",children:[(0,n.jsx)("p",{className:"text-center text-[10px] leading-3 my-4",children:"Part of my portfolio / trusted by leaders at"}),(0,n.jsx)(l.LogoReel,{logos:i.c})]}),u=e=>{let{size:t="lg",border:r=!0}=e,l=c.Y.filter(e=>e.object.includes("Luca"));return(0,n.jsxs)("section",{className:"section-separator max-w-2xl lg:max-w-3xl p-4 md:p-8 my-12 ".concat(r?"border border-black rounded-lg shadow-lg":""),children:[(0,n.jsx)("div",{className:"mx-auto flex mb-8 items-center justify-center",children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsxs)("div",{id:"headline-and-form",children:["lg"===t?(0,n.jsx)("h2",{className:"mb-2",children:"Luca's newsletter"}):(0,n.jsx)("h3",{className:"mt-0 sm:mt-2 md:mt-4 mb-2",children:"Luca's newsletter"}),(0,n.jsx)("p",{className:"text-tiny text-center italic",children:"You can expect 1-2 emails a month. Unsubscribe at any time."}),(0,n.jsx)("div",{id:"ck-form",children:(0,n.jsx)(s.ConvertkitForm,{buttonText:"Join 25,000+ readers"})})]}),(0,n.jsx)(a.default,{src:"/luca-portrait.jpg",alt:"Luca Dellanna",height:150,width:100,className:"ml-8 border border-black rounded-lg hidden md:block"})]})}),(0,n.jsx)(o.ReviewsCarousel,{width:"lg",height:"sm",reviews:l,showRatings:!1,title:"They say about Luca"}),"lg"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(m,{})]})]})}},94965:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var n=r(40463),s=r(18937);let a=function(){let e=(0,s.useRef)(new Set),t=(0,s.useCallback)(async t=>{if(!e.current.has(t.src)&&0===t.naturalWidth&&0===t.naturalHeight)try{let r=await fetch(t.src,{method:"HEAD"});if(404!==r.status)return;let s={src:t.src,message:"Image returned 404",timestamp:new Date().toISOString(),elementId:t.id||void 0,altText:t.alt||void 0,loadingStrategy:t.loading||void 0,viewport:{width:window.innerWidth,height:window.innerHeight}};e.current.add(t.src),n.wd("Image 404: ".concat(t.src),{level:"error",extra:{...s},tags:{imageHost:new URL(t.src).hostname,imageSize:"".concat(t.width,"x").concat(t.height),errorType:"404"}})}catch(e){console.debug("Could not verify image status:",t.src)}},[]);return(0,s.useEffect)(()=>{let r=e=>{let r=e.target;r instanceof HTMLImageElement&&t(r)},n=e.current;return document.addEventListener("error",r,{capture:!0,passive:!0}),()=>{document.removeEventListener("error",r,!0),n.clear()}},[t]),null}},98301:(e,t,r)=>{"use strict";r.d(t,{ContactCallout:()=>m});var n=r(36685),s=r(18937),a=r(92586),l=r.n(a),o=r(44446),i=r(69867);let c=(0,s.memo)(e=>{let{children:t,className:r,border:s=!1}=e;return(0,n.jsxs)("div",{className:(0,i.QP)("block md:flex md:flex-row md:justify-around items-center space-x-8",s&&"border border-gray-400 p-4 rounded-lg shadow-md",r),children:[(0,n.jsx)("div",{className:"max-w-3xl flex-2 mx-0 text-center md:text-justify prose",children:t}),(0,n.jsx)(o.default,{src:"/luca-no-bg.png",alt:"Luca Dellanna",width:200,height:300,className:"hidden md:block flex-1 shrink-0 w-auto h-full max-h-[300px]"})]})});c.displayName="BoxWithLuca";let d=(0,s.memo)(e=>{let{className:t=""}=e;return(0,n.jsxs)("div",{className:"mx-auto flex items-center justify-center gap-4 md:gap-8 mt-6 px-4 ".concat(t),role:"group","aria-label":"Contact options",children:[(0,n.jsx)(l(),{href:"/contact",className:"inline-flex no-underline items-center justify-center min-w-[110px] px-2 py-2 text-sm font-medium text-white bg-focus] rounded-md hover:bg-focus]/90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-focus] transition-colors","aria-label":"Send email to Luca",children:"Email Luca"}),(0,n.jsx)("span",{className:"italic mb-0 text-sm text-gray-600","aria-hidden":"true",children:"or"}),(0,n.jsx)(l(),{href:"https://calendly.com/lucadellanna/15min",className:"text-sm hover:text-gray-600 transition-colors text-nowrap",target:"_blank",rel:"noopener noreferrer","aria-label":"Schedule a 15-minute call with Luca",children:"Schedule a call"})]})});d.displayName="ContactActions";let m=(0,s.memo)(e=>{let{className:t=""}=e;return(0,n.jsx)("section",{className:"flex flex-col items-center ".concat(t),"aria-labelledby":"contact-heading",children:(0,n.jsxs)(c,{border:!0,className:"items-center",children:[(0,n.jsx)("h2",{id:"contact-heading",className:"text-2xl !my-0 font-bold text-gray-900",children:"Contact Luca"}),(0,n.jsx)("p",{className:"text-lg text-gray-700 max-w-prose",children:"Talk with Luca to see if he can help you"}),(0,n.jsx)(d,{})]})})});m.displayName="ContactCallout"}},e=>{var t=t=>e(e.s=t);e.O(0,[5342,2568,4916,4173,9867,2326,4119,6944,6115,8780,493,2861,1236,5720,4628,8299,7913,7358],()=>t(7566)),_N_E=e.O()}]);