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]="f9371a98-5345-457a-9ffc-bc7ab66958d4",e._sentryDebugIdIdentifier="sentry-dbid-f9371a98-5345-457a-9ffc-bc7ab66958d4")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1393],{173:(e,t,s)=>{"use strict";function a(e,t){let s=function(e,t){try{if(e.startsWith("http://")||e.startsWith("https://"))return new URL(e),e;if(e.startsWith("/"))return new URL(e,window.location.origin).href;if(e.startsWith("//"))return new URL(e,window.location.protocol).href;if(!e.startsWith("/")&&!e.startsWith("http"))return new URL("/".concat(e),window.location.origin).href;return null}catch(t){return console.warn("Invalid URL detected:",e,t),null}}(t);if(!s)return console.warn("Attempted to navigate to invalid URL:",t),!1;try{return e.push(s),!0}catch(e){return console.error("Navigation failed:",e),!1}}s.d(t,{LI:()=>a})},14916:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var a=s(83982);function l(e){let{maxWidth:t,minScale:s=.1,debounceMs:l=100}=e,[r,n]=(0,a.useState)(1),i=(0,a.useRef)(void 0),o=(0,a.useCallback)(()=>{n(Math.min(.95,Math.max(s,window.innerWidth/t)))},[t,s]);return(0,a.useEffect)(()=>{let e=()=>i.current&&clearTimeout(i.current),t=()=>{e(),i.current=setTimeout(o,l)};return o(),window.addEventListener("resize",t,{passive:!0}),()=>{e(),window.removeEventListener("resize",t)}},[o,l]),r}},41440:(e,t,s)=>{Promise.resolve().then(s.bind(s,72547))},44094:(e,t,s)=>{"use strict";s.d(t,{LogoReel:()=>d});var a=s(48958),l=s(83982),r=s(46173),n=s(62467),i=s(14916);let o={width:100,height:50},c=(0,l.memo)(function(e){let{logo:t,index:s}=e;return(0,a.jsx)("div",{className:"shrink-0 mx-4",children:(0,a.jsx)(n.default,{src:t.src,alt:t.alt,width:o.width,height:o.height,className:"h-12 w-auto object-contain",onError:e=>{e.target.style.display="none"}})})}),d=(0,l.memo)(function(e){let{logos:t}=e,s=(0,l.useRef)(null),n=Array.isArray(t)&&t.length>0,d=n?Array.from({length:4},()=>t).flat():[],m=n?o.width*t.length*4:0,u=(0,i.A)({maxWidth:m}),h=(0,l.useCallback)(()=>{let e=s.current;if(!e)return;let t=e.scrollWidth;e.style.setProperty("--scroll-width","".concat(t,"px"))},[]);return((0,l.useEffect)(()=>{var e;if(!n)return;h();let t=()=>{requestAnimationFrame(h)};window.addEventListener("resize",t);let a=null==(e=s.current)?void 0:e.getElementsByTagName("img");return a&&Promise.all(Array.from(a).map(e=>e.complete||new Promise(t=>{e.onload=t,e.onerror=t}))).then(h),()=>window.removeEventListener("resize",t)},[h,n]),n)?(0,a.jsxs)("div",{className:"w-[95vw] max-w-full overflow-hidden bg-white mt-4 relative",children:[(0,a.jsx)("div",{className:"flex animate-scroll max-w-full",ref:s,style:{transform:"scale(".concat(u,")"),transformOrigin:"left center"},role:"marquee","aria-label":"Logo reel",children:d.map((e,t)=>(0,a.jsx)(c,{logo:e,index:t},"logo-".concat(e.alt,"-").concat(t)))}),(0,a.jsx)(r.A,{width:"w-24"})]}):null})},46173:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var a=s(48958),l=s(83982);let r=e=>{let{side:t,className:s,width:l}=e;return(0,a.jsx)("div",{className:"".concat(s," ").concat(l," ").concat(t,"-0 bg-gradient-to-").concat("left"===t?"r":"l"," from-white to-transparent"),"aria-hidden":"true"})},n=(0,l.memo)(function(e){let{width:t}=e,s="absolute top-0 bottom-0 pointer-events-none";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r,{side:"left",className:s,width:t}),(0,a.jsx)(r,{side:"right",className:s,width:t})]})})},71298:(e,t,s)=>{"use strict";s.d(t,{K:()=>l,c:()=>a});let a=[{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"}],l=[{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"}]},72547:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>H});var a=s(48958),l=s(68030),r=s(62467);function n(e){let{book:t,width:s=60,height:l=90,className:n}=e;return(0,a.jsx)(r.default,{src:t.coverSrc,alt:t.title,width:s,height:l,className:"rounded-xs object-cover border border-slate-500 ".concat(null!=n?n:""),loading:"lazy",draggable:!1})}var i=s(83982);let o=(0,i.memo)(function(e){let{count:t,width:s=60,height:r=90,className:i}=e;return(0,a.jsx)("div",{className:i,children:l.b.slice(0,t).map(e=>(0,a.jsx)(n,{book:e,width:s,height:r},e.slug))})});var c=s(85631),d=s(72807),m=s.n(d);let u={vertical:9,small:3,large:10},h={title:"Check out my 10+ books",subtitle:"I published over ten books"},x=(0,i.memo)(function(e){let{children:t}=e;return(0,a.jsx)(m(),{href:"/books",className:"no-underline hover:opacity-80 transition-opacity",children:t})}),p=(0,i.memo)(function(){return(0,a.jsxs)("div",{className:"max-w-72 p-4 mx-auto border border-slate-400 shadow-md rounded-lg",children:[(0,a.jsx)("h3",{className:"text-base no-underline mt-0",children:h.subtitle}),(0,a.jsx)(x,{children:(0,a.jsx)(o,{count:u.vertical,className:"flex flex-wrap items-center justify-center gap-2 m-4"})})]})}),f=(0,i.memo)(function(){return(0,a.jsx)(x,{children:(0,a.jsxs)(c.a,{orientation:"vertical",children:[(0,a.jsx)("p",{className:"text-xs font-bold text-center text-balance",children:h.title}),(0,a.jsx)(o,{count:u.small,width:50,height:75,className:"mx-auto flex overflow-hidden gap-2 justify-around"})]})})}),g=(0,i.memo)(function(){return(0,a.jsx)(x,{children:(0,a.jsxs)("div",{className:"flex-1 border border-slate-400 shadow-md rounded-lg p-2",children:[(0,a.jsx)("h3",{className:"text-xl",children:h.title}),(0,a.jsx)(o,{count:u.large,className:"grid grid-cols-5 gap-2 justify-around max-w-lg"})]})})});var j=s(46173),y=s(44094),w=s(71298),b=s(20802);let v=e=>{let{height:t="lg"}=e,s=(0,b.A)("mx-auto w-full max-w-full overflow-hidden bg-white py-2 relative rounded-lg","lg"===t&&"px-4"),l=(0,b.A)("mx-auto text-xs md:text-sm text-center mb-4","lg"===t&&"font-semibold");return(0,a.jsxs)("div",{className:s,children:[(0,a.jsx)("p",{className:l,children:"Part of Luca's portfolio / trusted by leaders at…"}),(0,a.jsxs)("div",{className:"relative w-full",children:[(0,a.jsx)(y.LogoReel,{logos:w.c}),(0,a.jsx)(j.A,{width:"w-24"})]}),"lg"===t&&(0,a.jsx)("p",{className:"text-[10px] leading-3 text-center mt-4 mb-0 max-w-[95vw] mx-auto",children:"Luca is fluent in EN, IT, FR, ES, and has experience in the following industries: automotive, chemical, pharmaceutical, logistics, agricultural, fast-moving consumer goods, food, finance, fintech, tech, software, electronics, retail, hospitality, and consulting."})]})},N={title:"Hi! I'm Luca Dellanna",description:{primary:"I grow & de-risk businesses and careers",secondary:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{href:"/consulting",className:"no-underline font-normal",children:"consultant"})," ","•"," ",(0,a.jsx)(m(),{href:"/books",className:"no-underline font-normal",children:"author"})," ","• lecturer"]})},images:{desktop:{src:"/luca-no-bg.png",width:140,height:210},mobile:{src:"/luca-landscape.jpg",width:900,height:600}}};function k(e){let{src:t,alt:s="Luca Dellanna",...l}=e;return(0,a.jsx)(r.default,{src:t,alt:s,priority:!0,itemProp:"image","data-testid":"author-photo",...l})}let L={viewAll:"View all my posts"},A=(0,i.memo)(function(){return(0,a.jsx)(m(),{href:"/blog",className:"no-underline hover:opacity-80 transition-opacity",children:(0,a.jsx)("p",{className:"text-xs text-center italic text-gray-400 mt-2",children:L.viewAll})})});function S(e){let{post:t}=e;return(0,a.jsx)(m(),{href:"/posts/".concat(t.slug),children:(0,a.jsx)("p",{className:"text-[0.8rem] leading-4 my-1",children:t.title})})}function E(e){let{posts:t}=e;return t&&0!==t.length?(0,a.jsxs)("nav",{"aria-label":"Blog posts list",children:[t.map(e=>(0,a.jsx)("div",{className:"mb-2",children:(0,a.jsx)(S,{post:e})},e.slug)),(0,a.jsx)(A,{})]}):(0,a.jsx)("p",{className:"text-gray-500","aria-label":"No posts available",children:"No posts available."})}var C=s(77356);let R={title:"My top posts",loading:"Loading..."},P=(0,i.memo)(function(){let[e,t]=(0,i.useState)([]),[s,l]=(0,i.useState)(!0),[r,n]=(0,i.useState)(null);return((0,i.useEffect)(()=>{!async function(){try{let e=await (0,C.K)(void 0,4);t(e),n(null)}catch(e){console.error("Error fetching posts:",e),n(e instanceof Error?e:Error("Failed to fetch posts"))}finally{l(!1)}}()},[]),r)?(0,a.jsxs)(c.a,{orientation:"vertical",className:"w-full md:max-w-72 content-start",children:[(0,a.jsx)("h3",{className:"text-xl font-bold mt-0 mb-4",children:R.title}),(0,a.jsx)("p",{className:"text-sm text-gray-600",children:"Unable to load posts at this time."})]}):(0,a.jsxs)(c.a,{orientation:"vertical",className:"w-full md:max-w-72 content-start",children:[(0,a.jsx)("h3",{className:"text-xl font-bold mt-0 mb-4",children:R.title}),s?(0,a.jsx)("p",{children:R.loading}):(0,a.jsx)(E,{posts:e})]})}),T=["business leaders","entrepreneurs","investors"],B=(0,i.memo)(function(){return(0,a.jsx)(m(),{href:"/consulting",className:"no-underline hover:no-underline hover:opacity-80 transition-opacity",children:(0,a.jsxs)(c.a,{orientation:"vertical",className:"sm:w-48 h-full md:h-auto flex-1",children:[(0,a.jsx)("p",{className:"text-xs font-bold text-center text-balance",children:"Check out my consulting services"}),(0,a.jsx)("ul",{className:"ml-1 list-inside",children:T.map(e=>(0,a.jsxs)("li",{className:"text-xs m-0 p-0",children:["For ",e]},e))})]})})});var I=s(85671),W=s(52642),D=s(173),_=s(45368);let M=(0,i.memo)(function(){let[e,t]=(0,i.useState)(""),[s,l]=(0,i.useState)(!1),r=(0,_.useRouter)(),n=async t=>{if(t.preventDefault(),!s){l(!0);try{let t=await fetch("https://app.convertkit.com/forms/1862996/subscriptions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email_address:e})}),s={ok:t.ok,error:t.ok?void 0:await t.text()};s.ok?(0,D.LI)(r,"https://luca-dellanna.com/welcome"):(console.error("Subscription failed:",s.error),alert("Subscription failed. Please try again."))}catch(e){console.error("Error:",e),alert("An error occurred. Please try again later.")}finally{l(!1)}}};return(0,a.jsx)("form",{onSubmit:n,className:"mx-auto md:max-w-none flex px-2 my-2 md:my-4 items-center justify-center","aria-label":"Newsletter subscription form",children:(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsxs)("div",{id:"ck-form",className:"flex flex-col sm:flex-row gap-2 items-center sm:items-center",children:[(0,a.jsx)("input",{type:"email",value:e,onChange:e=>t(e.target.value),placeholder:"Your email",required:!0,className:"small-ck-input w-full min-h-10 sm:h-8 max-w-none sm:max-w-xs shrink text-sm px-2 py-2 sm:py-1 rounded-md border border-gray-300 focus:outline-hidden focus:ring-2 focus:ring-focus","aria-label":"Email address",disabled:s}),(0,a.jsx)(W.T,{type:"submit",color:"primary",className:"min-w-max min-h-10 sm:h-8 btn-primary flex-1 px-4 py-2 sm:py-0 text-sm font-semibold rounded-md",disabled:s,children:s?"Joining...":"Join 25,000+ readers"})]})})})});var O=s(78251);let U={title:"Subscribe to my newsletter",description:"Expect 1-2 emails per month. No spam. Subscribe anytime."},z=()=>(0,a.jsxs)("div",{className:"mx-auto",children:[(0,a.jsx)("h4",{className:"mb-2",children:U.title}),(0,a.jsx)(M,{}),(0,a.jsx)("p",{className:"text-center text-xs",children:U.description})]}),F=(0,i.memo)(function(){let e=O.Y.find(e=>e.object.includes("Luca"))||null,[t,s]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{s(!0)},[]),(0,a.jsxs)(c.a,{orientation:"horizontal",children:[(0,a.jsx)(z,{}),e&&t&&(0,a.jsx)("div",{className:"hidden md:block",children:(0,a.jsx)(I.ReviewCard,{review:e,showRating:!1,showBorder:!1})})]})}),G=(0,i.memo)(function(){return(0,a.jsxs)("div",{id:"left-section",className:"flex flex-col space-y-6",children:[(0,a.jsxs)("div",{className:"max-w-3xl mx-auto flex flex-row items-center justify-center",children:[(0,a.jsxs)("div",{className:"flex-1 flex flex-col space-y-2",children:[(0,a.jsx)("h1",{className:"hero-title !mt-0 mb-4",children:N.title}),(0,a.jsx)("p",{className:"text-center text-balance text-lg font-bold",children:N.description.primary}),(0,a.jsx)("p",{className:"text-center text-balance text-sm",children:N.description.secondary})]}),(0,a.jsx)(k,{...N.images.desktop})]}),(0,a.jsx)(F,{}),(0,a.jsxs)("div",{className:"flex xl:hidden flex-row space-x-4 my-4 justify-center",children:[(0,a.jsx)(g,{}),(0,a.jsx)(P,{})]}),(0,a.jsxs)("div",{className:"max-w-3xl flex flex-row space-x-4 justify-center items-center",children:[(0,a.jsx)(v,{}),(0,a.jsx)(B,{})]})]})}),J=(0,i.memo)(function(){return(0,a.jsxs)("div",{className:"hidden xl:block space-y-6",children:[(0,a.jsx)(p,{}),(0,a.jsx)(P,{})]})}),K=(0,i.memo)(function(){return(0,a.jsx)("div",{className:"flex-col space-y-4",children:(0,a.jsxs)("div",{className:"container flex flex-row space-x-4 items-center justify-around content-between",children:[(0,a.jsx)("div",{className:"space-y-8",children:(0,a.jsx)(G,{})}),(0,a.jsx)(J,{})]})})}),q=(0,i.memo)(function(){return(0,a.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"hero-title hero-title--mobile",children:N.title}),(0,a.jsx)("p",{className:"text-center text-sm mb-2",children:N.description.primary}),(0,a.jsx)("p",{className:"text-center text-sm",children:N.description.secondary})]}),(0,a.jsx)("div",{className:"w-full max-w-2xl mx-auto my-4 px-4 aspect-3/2 relative",children:(0,a.jsx)(k,{...N.images.mobile,className:"bordered",style:{width:"100%",height:"100%"}})}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2 my-2",children:[(0,a.jsx)(f,{}),(0,a.jsx)(B,{})]}),(0,a.jsx)(F,{}),(0,a.jsx)(P,{}),(0,a.jsx)(v,{})]})}),Q={"@context":"https://schema.org","@type":"Person",name:"Luca Dellanna",url:"https://lucadellanna.com",image:"https://luca-dellanna.com/luca-portrait.jpg",sameAs:["https://linkedin.com/in/dellannaluca","https://twitter.com/DellAnnaLuca"],twitter:"https://twitter.com/DellAnnaLuca",linkedin:"https://linkedin.com/in/dellannaluca",hasOccupation:[{"@type":"Occupation",name:"Author",occupationCategory:"http://www.wikidata.org/entity/Q36180"},{"@type":"Occupation",name:"Consultant",occupationCategory:"http://www.wikidata.org/entity/Q15978655"}],jobTitle:"Author and Consultant",knowsLanguage:["en","it","es","fr"],nationality:{"@type":"Country",name:"Italy"},author:[{"@type":"Book",name:"The Control Heuristic",url:"https://lucadellanna.com/books/the-control-heuristic"},{"@type":"Book",name:"Ergodicity",url:"https://lucadellanna.com/books/ergodicity"},{"@type":"Book",name:"Teams Are Adaptive Systems",url:"https://lucadellanna.com/books/teams-are-adaptive-systems"},{"@type":"Book",name:"The World Through a Magnifying Glass",url:"https://lucadellanna.com/books/the-world-through-a-magnifying-glass"},{"@type":"Book",name:"Winning Long-Term Games",url:"https://lucadellanna.com/books/winning-long-term-games"},{"@type":"Book",name:"Best Practices for Operational Excellence",url:"https://lucadellanna.com/books/best-practices-for-operational-excellence"}]},H=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("script",{id:"structured-data",type:"application/ld+json",children:JSON.stringify(Q)}),(0,a.jsx)("div",{id:"laptop-hero",className:"hidden lg:block",children:(0,a.jsx)(K,{})}),(0,a.jsx)("div",{id:"mobile-hero",className:"block lg:hidden ".concat("mb-16"),children:(0,a.jsx)(q,{})})]})},77356:(e,t,s)=>{"use strict";s.d(t,{K:()=>l});var a=s(4906);let l=(0,a.createServerReference)("70daee8f057b9a8d2ce4767a26aa3837a469a03880",a.callServer,void 0,a.findSourceMapURL,"getPosts")},85631:(e,t,s)=>{"use strict";s.d(t,{a:()=>o});var a=s(48958),l=s(83982),r=s(78262);let n={normal:"border-slate-400 shadow-md",strong:"border-black shadow-lg"},i={horizontal:"flex-row",vertical:"flex-col"},o=(0,l.memo)(e=>{let{orientation:t,children:s,className:l,id:o,style:c="normal"}=e;return(0,a.jsx)("div",{id:o,className:(0,r.QP)("max-w-3xl flex-1 mx-auto flex gap-4 items-center justify-center p-4 border rounded-lg",n[c],i[t],l),children:s})});o.displayName="Box"}},e=>{e.O(0,[8262,3758,4320,2642,2300,485,8030,7942,6293,7358],()=>e(e.s=41440)),_N_E=e.O()}]);