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]="19453a8d-aff4-46e3-a680-29db18aa6761",e._sentryDebugIdIdentifier="sentry-dbid-19453a8d-aff4-46e3-a680-29db18aa6761")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1393],{8302:(e,t,a)=>{"use strict";a.d(t,{LogoReel:()=>d});var s=a(36685),l=a(18937),n=a(68621),r=a(44446),i=a(16020);let o={width:100,height:50},c=(0,l.memo)(function(e){let{logo:t,index:a}=e;return(0,s.jsx)("div",{className:"flex-shrink-0 mx-4",children:(0,s.jsx)(r.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,a=(0,l.useRef)(null),r=Array.isArray(t)&&t.length>0,d=r?Array.from({length:4},()=>t).flat():[],m=r?o.width*t.length*4:0,u=(0,i.A)({maxWidth:m}),h=(0,l.useCallback)(()=>{let e=a.current;if(!e)return;let t=e.scrollWidth;e.style.setProperty("--scroll-width","".concat(t,"px"))},[]);return((0,l.useEffect)(()=>{var e;if(!r)return;h();let t=()=>{requestAnimationFrame(h)};window.addEventListener("resize",t);let s=null==(e=a.current)?void 0:e.getElementsByTagName("img");return s&&Promise.all(Array.from(s).map(e=>e.complete||new Promise(t=>{e.onload=t,e.onerror=t}))).then(h),()=>window.removeEventListener("resize",t)},[h,r]),r)?(0,s.jsxs)("div",{className:"w-[95vw] max-w-full overflow-hidden bg-white mt-4 relative",children:[(0,s.jsx)("div",{className:"flex animate-scroll max-w-full",ref:a,style:{transform:"scale(".concat(u,")"),transformOrigin:"left center"},role:"marquee","aria-label":"Logo reel",children:d.map((e,t)=>(0,s.jsx)(c,{logo:e,index:t},"logo-".concat(e.alt,"-").concat(t)))}),(0,s.jsx)(n.A,{width:"w-24"})]}):null})},16020:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(18937);function l(e){let{maxWidth:t,minScale:a=.1,debounceMs:l=100}=e,[n,r]=(0,s.useState)(1),i=(0,s.useRef)(void 0),o=(0,s.useCallback)(()=>{r(Math.min(.95,Math.max(a,window.innerWidth/t)))},[t,a]);return(0,s.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]),n}},17533:(e,t,a)=>{"use strict";function s(e,t){let a=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(!a)return console.warn("Attempted to navigate to invalid URL:",t),!1;try{return e.push(a),!0}catch(e){return console.error("Navigation failed:",e),!1}}a.d(t,{LI:()=>s})},28719:(e,t,a)=>{"use strict";a.d(t,{a:()=>o});var s=a(36685),l=a(18937),n=a(69867);let r={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:a,className:l,id:o,style:c="normal"}=e;return(0,s.jsx)("div",{id:o,className:(0,n.QP)("max-w-3xl flex-1 mx-auto flex gap-4 items-center justify-center p-4 border rounded-lg",r[c],i[t],l),children:a})});o.displayName="Box"},41938:(e,t,a)=>{"use strict";a.d(t,{K:()=>l,c:()=>s});let s=[{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"}]},56383:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>Y});var s=a(36685),l=a(92586),n=a.n(l),r=a(28719),i=a(18937),o=a(87160),c=a(44446);function d(e){let{book:t,width:a=60,height:l=90,className:n}=e;return(0,s.jsx)(c.default,{src:t.coverSrc,alt:t.title,width:a,height:l,className:"rounded-sm object-cover border border-slate-500 ".concat(null!=n?n:""),loading:"lazy",draggable:!1})}let m=(0,i.memo)(function(e){let{count:t,width:a=60,height:l=90,className:n}=e;return(0,s.jsx)("div",{className:n,children:o.b.slice(0,t).map(e=>(0,s.jsx)(d,{book:e,width:a,height:l},e.slug))})}),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,s.jsx)(n(),{href:"/books",className:"no-underline hover:opacity-80 transition-opacity",children:t})}),p=(0,i.memo)(function(){return(0,s.jsxs)("div",{className:"max-w-72 p-4 mx-auto border border-slate-400 shadow-md rounded-lg",children:[(0,s.jsx)("h3",{className:"text-base no-underline mt-0",children:h.subtitle}),(0,s.jsx)(x,{children:(0,s.jsx)(m,{count:u.vertical,className:"flex flex-wrap items-center justify-center gap-2 m-4"})})]})}),f=(0,i.memo)(function(){return(0,s.jsx)(x,{children:(0,s.jsxs)(r.a,{orientation:"vertical",children:[(0,s.jsx)("p",{className:"text-tiny font-bold text-center text-balance",children:h.title}),(0,s.jsx)(m,{count:u.small,width:50,height:75,className:"mx-auto flex overflow-hidden gap-2 justify-around"})]})})}),g=(0,i.memo)(function(){return(0,s.jsx)(x,{children:(0,s.jsxs)("div",{className:"flex-1 border border-slate-400 shadow-md rounded-lg p-2",children:[(0,s.jsx)("h3",{className:"text-xl",children:h.title}),(0,s.jsx)(m,{count:u.large,className:"grid grid-cols-5 gap-2 justify-around max-w-128"})]})})});var y=a(68621),j=a(8302),w=a(41938),b=a(76178);let v=e=>{let{height:t="lg"}=e,a=(0,b.A)("mx-auto w-full max-w-[100vw] overflow-hidden bg-white py-2 relative rounded-lg","lg"===t&&"px-4"),l=(0,b.A)("mx-auto text-tiny md:text-sm text-center mb-4","lg"===t&&"font-semibold");return(0,s.jsxs)("div",{className:a,children:[(0,s.jsx)("p",{className:l,children:"Part of Luca's portfolio / trusted by leaders at…"}),(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)(j.LogoReel,{logos:w.c}),(0,s.jsx)(y.A,{width:"w-24"})]}),"lg"===t&&(0,s.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,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("a",{href:"/consulting",className:"no-underline font-normal",children:"consultant"})," ","•"," ",(0,s.jsx)(n(),{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:a="Luca Dellanna",...l}=e;return(0,s.jsx)(c.default,{src:t,alt:a,priority:!0,...l})}let L={viewAll:"View all my posts"},A=(0,i.memo)(function(){return(0,s.jsx)(n(),{href:"/blog",className:"no-underline hover:opacity-80 transition-opacity",children:(0,s.jsx)("p",{className:"text-tiny text-center italic text-gray-400 mt-2",children:L.viewAll})})});function S(e){let{post:t}=e;return(0,s.jsx)(n(),{href:"/posts/".concat(t.slug),children:(0,s.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,s.jsxs)("nav",{"aria-label":"Blog posts list",children:[t.map(e=>(0,s.jsx)("div",{className:"mb-2",children:(0,s.jsx)(S,{post:e})},e.slug)),(0,s.jsx)(A,{})]}):(0,s.jsx)("p",{className:"text-gray-500","aria-label":"No posts available",children:"No posts available."})}var C=a(95288);let R={title:"My top posts",loading:"Loading..."},T=(0,i.memo)(function(){let[e,t]=(0,i.useState)([]),[a,l]=(0,i.useState)(!0),[n,o]=(0,i.useState)(null);return((0,i.useEffect)(()=>{!async function(){try{let e=await (0,C.K)(void 0,4);t(e),o(null)}catch(e){console.error("Error fetching posts:",e),o(e instanceof Error?e:Error("Failed to fetch posts"))}finally{l(!1)}}()},[]),n)?(0,s.jsxs)(r.a,{orientation:"vertical",className:"w-full md:max-w-72 content-start",children:[(0,s.jsx)("h3",{className:"text-xl font-bold mt-0 mb-4",children:R.title}),(0,s.jsx)("p",{className:"text-sm text-gray-600",children:"Unable to load posts at this time."})]}):(0,s.jsxs)(r.a,{orientation:"vertical",className:"w-full md:max-w-72 content-start",children:[(0,s.jsx)("h3",{className:"text-xl font-bold mt-0 mb-4",children:R.title}),a?(0,s.jsx)("p",{children:R.loading}):(0,s.jsx)(E,{posts:e})]})}),B=["business leaders","entrepreneurs","investors"],I=(0,i.memo)(function(){return(0,s.jsx)(n(),{href:"/consulting",className:"no-underline hover:no-underline hover:opacity-80 transition-opacity",children:(0,s.jsxs)(r.a,{orientation:"vertical",className:"sm:w-48 h-full md:h-auto flex-1",children:[(0,s.jsx)("p",{className:"text-tiny font-bold text-center text-balance",children:"Check out my consulting services"}),(0,s.jsx)("ul",{className:"ml-1 list-inside",children:B.map(e=>(0,s.jsxs)("li",{className:"text-tiny m-0 p-0",children:["For ",e]},e))})]})})});var P=a(9052),W=a(94003),D=a(17533),_=a(99807);let M=(0,i.memo)(function(){let[e,t]=(0,i.useState)(""),[a,l]=(0,i.useState)(!1),n=(0,_.useRouter)(),r=async t=>{if(t.preventDefault(),!a){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})}),a={ok:t.ok,error:t.ok?void 0:await t.text()};a.ok?(0,D.LI)(n,"https://luca-dellanna.com/welcome"):(console.error("Subscription failed:",a.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,s.jsx)("form",{onSubmit:r,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,s.jsx)("div",{className:"flex items-center",children:(0,s.jsxs)("div",{id:"ck-form",className:"flex sm:flex-row gap-2 items-center",children:[(0,s.jsx)("input",{type:"email",value:e,onChange:e=>t(e.target.value),placeholder:"Your email",required:!0,className:"w-full h-8 max-w-xs flex-shrink text-sm px-2 py-1","aria-label":"Email address",disabled:a}),(0,s.jsx)(W.T,{type:"submit",color:"primary",className:"min-w-max h-8 primary flex-1 px-4 py-0 text-sm rounded-md",disabled:a,children:a?"Joining...":"Join 25,000+ readers"})]})})})});var O=a(30491);let U={title:"Subscribe to my newsletter",description:"Expect 1-2 emails per month. No spam. Subscribe anytime."},z=()=>O.Y.find(e=>e.object.includes("Luca"))||null,F=()=>(0,s.jsxs)("div",{className:"mx-auto",children:[(0,s.jsx)("h4",{className:"mb-2",children:U.title}),(0,s.jsx)(M,{}),(0,s.jsx)("p",{className:"text-center text-tiny",children:U.description})]}),G=(0,i.memo)(function(){let e=z(),[t,a]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{a(!0)},[]),(0,s.jsxs)(r.a,{orientation:"horizontal",children:[(0,s.jsx)(F,{}),e&&t&&(0,s.jsx)("div",{className:"hidden md:block",children:(0,s.jsx)(P.ReviewCard,{review:e,showRating:!1,showBorder:!1})})]})}),J=(0,i.memo)(function(){return(0,s.jsxs)("div",{id:"left-section",className:"flex flex-col space-y-6",children:[(0,s.jsxs)("div",{className:"max-w-3xl mx-auto flex flex-row items-center justify-center",children:[(0,s.jsxs)("div",{className:"flex-1 flex flex-col space-y-2",children:[(0,s.jsx)("h1",{className:"!mt-0 mb-4",children:N.title}),(0,s.jsx)("p",{className:"text-center text-balance text-lg font-bold",children:N.description.primary}),(0,s.jsx)("p",{className:"text-center text-balance text-small",children:N.description.secondary})]}),(0,s.jsx)(k,{...N.images.desktop})]}),(0,s.jsx)(G,{}),(0,s.jsxs)("div",{className:"flex xl:hidden flex-row space-x-4 my-4 justify-center",children:[(0,s.jsx)(g,{}),(0,s.jsx)(T,{})]}),(0,s.jsxs)("div",{className:"max-w-3xl flex flex-row space-x-4 justify-center items-center",children:[(0,s.jsx)(v,{}),(0,s.jsx)(I,{})]})]})}),K=(0,i.memo)(function(){return(0,s.jsxs)("div",{className:"hidden xl:block space-y-6",children:[(0,s.jsx)(p,{}),(0,s.jsx)(T,{})]})}),q=(0,i.memo)(function(){return(0,s.jsx)("div",{id:"laptop-hero",className:"flex-col space-y-4",children:(0,s.jsxs)("div",{className:"container flex flex-row space-x-4 items-center justify-around content-between",children:[(0,s.jsx)("div",{className:"space-y-8",children:(0,s.jsx)(J,{})}),(0,s.jsx)(K,{})]})})}),Q=(0,i.memo)(function(){return(0,s.jsxs)("div",{id:"mobile-hero",className:"flex flex-col space-y-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"!my-3 text-xl sm:text-2xl",children:N.title}),(0,s.jsx)("p",{className:"text-center text-sm mb-2",children:N.description.primary}),(0,s.jsx)("p",{className:"text-center text-sm",children:N.description.secondary})]}),(0,s.jsx)("div",{className:"w-full max-w-sm mx-auto my-4 aspect-[3/2] relative",children:(0,s.jsx)(k,{...N.images.mobile,className:"bordered",style:{width:"100%",height:"100%"}})}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-2 my-2",children:[(0,s.jsx)(f,{}),(0,s.jsx)(I,{})]}),(0,s.jsx)(G,{}),(0,s.jsx)(T,{}),(0,s.jsx)(v,{})]})}),H={"@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"}]},Y=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("script",{id:"structured-data",type:"application/ld+json",children:JSON.stringify(H)}),(0,s.jsx)("div",{id:"laptop-hero",className:"hidden lg:block",children:(0,s.jsx)(q,{})}),(0,s.jsx)("div",{id:"mobile-hero",className:"block lg:hidden ".concat("mb-16"),children:(0,s.jsx)(Q,{})})]})},68621:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(36685),l=a(18937);let n=e=>{let{side:t,className:a,width:l}=e;return(0,s.jsx)("div",{className:"".concat(a," ").concat(l," ").concat(t,"-0 bg-gradient-to-").concat("left"===t?"r":"l"," from-white to-transparent"),"aria-hidden":"true"})},r=(0,l.memo)(function(e){let{width:t}=e,a="absolute top-0 bottom-0 pointer-events-none";return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n,{side:"left",className:a,width:t}),(0,s.jsx)(n,{side:"right",className:a,width:t})]})})},74819:(e,t,a)=>{Promise.resolve().then(a.bind(a,56383))},95288:(e,t,a)=>{"use strict";a.d(t,{K:()=>l});var s=a(57629);let l=(0,s.createServerReference)("70c6a4d22b92d43b9475924ceedce41faff1641e3c",s.callServer,void 0,s.findSourceMapURL,"getPosts")}},e=>{var t=t=>e(e.s=t);e.O(0,[9867,1838,4119,4003,3919,2829,4628,7160,8299,7913,7358],()=>t(74819)),_N_E=e.O()}]);