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]="2c0d6e72-be8d-462a-8909-b2c8d32d3e8c",e._sentryDebugIdIdentifier="sentry-dbid-2c0d6e72-be8d-462a-8909-b2c8d32d3e8c")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1464,5111],{8302:(e,t,r)=>{"use strict";r.d(t,{LogoReel:()=>d});var n=r(36685),s=r(18937),a=r(68621),l=r(44446),i=r(16020);let o={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:o.width,height:o.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():[],u=l?o.width*t.length*4:0,m=(0,i.A)({maxWidth:u}),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(m,")"),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)},[]),i=(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:i}},i={SCROLL_AMOUNT:300},o=(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:u}=e,m=(0,s.useRef)(null),[h,p]=(0,s.useState)(!1),[f,g]=(0,s.useState)(!0),x=(0,s.useCallback)(()=>{let e=m.current;if(!e)return;let{scrollLeft:t,scrollWidth:r,clientWidth:n}=e;p(t>0),g(t{let t=m.current;if(!t)return;let r="left"===e?-i.SCROLL_AMOUNT:i.SCROLL_AMOUNT;t.scrollBy({left:r,behavior:"smooth"})},[]),{isDragging:v,handleDragStart:b,handleDragEnd:y,handleDragMove:j}=l(m),N=(0,s.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),j(e))},[j]),k=(0,s.useCallback)(e=>{(null==e?void 0:e.currentTarget)&&(null==e?void 0:e.target)&&(e.persist(),b(e))},[b]),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,R=t.length<3&&"lg"===d;return(0,n.jsxs)("section",{className:"".concat("sm"===u?"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:m,onScroll:x,onMouseDown:k,onMouseUp:L,onMouseLeave:L,onMouseMove:N,onTouchStart:k,onTouchEnd:L,onTouchMove:N,children:(0,n.jsx)("div",{className:"flex ".concat(R?"md:justify-center":""),children:t.map((e,s)=>(0,n.jsx)(o,{review:e,showRating:r,isLast:s===t.length-1},"review-".concat(s)))})}),(0,n.jsx)(c,{direction:"left",show:h,onClick:()=>w("left")}),(0,n.jsx)(c,{direction:"right",show:f,onClick:()=>w("right")})]})]})})},15120:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,92586,23)),Promise.resolve().then(r.t.bind(r,84119,23)),Promise.resolve().then(r.t.bind(r,65528,23)),Promise.resolve().then(r.bind(r,43849)),Promise.resolve().then(r.bind(r,85111))},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),i=(0,n.useRef)(void 0),o=(0,n.useCallback)(()=>{l(Math.min(.95,Math.max(r,window.innerWidth/t)))},[t,r]);return(0,n.useEffect)(()=>{let e=()=>i.current&&clearTimeout(i.current),t=()=>{e(),i.current=setTimeout(o,s)};return o(),window.addEventListener("resize",t,{passive:!0}),()=>{e(),window.removeEventListener("resize",t)}},[o,s]),a}},17533:(e,t,r)=>{"use strict";function n(e,t){let r=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(!r)return console.warn("Attempted to navigate to invalid URL:",t),!1;try{return e.push(r),!0}catch(e){return console.error("Navigation failed:",e),!1}}r.d(t,{LI:()=>n})},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"}]},43849:(e,t,r)=>{"use strict";r.d(t,{WorkWithLuca:()=>u});var n=r(36685),s=r(37720),a=r(94003),l=r(92586),i=r.n(l),o=r(18937);let c={section:"max-w-2xl mx-auto my-12 p-4 gap-8 border border-gray-400 rounded-lg shadow-lg",review:{text:"text-tiny text-center mb-0",author:{wrapper:"w-full flex justify-center",container:"flex items-center gap-2",name:"text-tiny italic",image:"rounded-full"}},content:{wrapper:"flex items-center justify-center",text:"space-y-4 md:space-y-8",description:"text-sm text-center",buttonWrapper:"flex justify-center",image:"shrink-0"}},d=(0,o.memo)(e=>{let{quote:t,author:r,imageSrc:a}=e;return(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsxs)("p",{className:c.review.text,children:['"',t,'"']}),(0,n.jsx)("div",{className:c.review.author.wrapper,children:(0,n.jsxs)("div",{className:c.review.author.container,children:[(0,n.jsxs)("span",{className:c.review.author.name,children:["– ",r]}),(0,n.jsx)(s.W,{src:a,alt:r,width:20,height:20,className:c.review.author.image})]})})]})});d.displayName="Review";let u=(0,o.memo)(()=>(0,n.jsx)("section",{className:c.section,children:(0,n.jsxs)("div",{className:c.content.wrapper,children:[(0,n.jsxs)("div",{className:c.content.text,children:[(0,n.jsx)(d,{quote:"Working with Luca was fantastic! He was straightforward and well-prepared, pinpointing numerous opportunities I had overlooked in my business plan. I wholeheartedly recommend him.",author:"Christopher Samiullah",imageSrc:"/christopher-samiullah.jpg"}),(0,n.jsx)("p",{className:c.content.description,children:"I have helped dozens of business leaders change their organization's operational culture. If you're interested in working with me, send me an email."}),(0,n.jsx)("div",{className:c.content.buttonWrapper,children:(0,n.jsx)(i(),{href:"/contact",children:(0,n.jsx)(a.T,{color:"primary",size:"sm",className:"mx-auto",children:"Email Luca"})})})]}),(0,n.jsx)("div",{className:c.content.image,children:(0,n.jsx)(s.W,{src:"/luca-no-bg.png",alt:"Luca Dellanna",width:140,height:210})})]})}));u.displayName="WorkWithLuca"},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})]})})},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)}},[])}}},83989:(e,t,r)=>{"use strict";r.d(t,{ConvertkitForm:()=>p});var n=r(36685),s=r(46620),a=r(94003),l=r(18937),i=r(17533),o=r(71889),c=r(89694),d=r(99807),u=r(35783),m=r(67184);let h=u.z.object({email:u.z.string().email("Please enter a valid email address")});function p(e){var t;let{buttonText:r="Join 25,000+ readers"}=e,u=(0,d.useRouter)(),{sendEvent:p}=(0,o.s)(),{handleSubmit:f,formState:{errors:g,isSubmitting:x},register:w,setError:v}=(0,c.mN)({resolver:(0,m.u)(h),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)p({name:"subscribed_to_newsletter"}),(0,i.LI)(u,"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."})}},[u,v,p]);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,{...w("email"),type:"email",placeholder:"Enter your email",isRequired:!0,className:"flex-grow",isDisabled:x,errorMessage:null==(t=g.email)?void 0:t.message,isInvalid:!!g.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:x,isDisabled:x,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:()=>m});var n=r(36685),s=r(83989),a=r(44446),l=r(8302);r(18937);var i=r(14141),o=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'})]})]}),u=()=>(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:o.c})]}),m=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)(i.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)(u,{})]})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[9867,1838,4119,4003,3919,5578,6620,1236,2221,4628,8299,7913,7358],()=>t(15120)),_N_E=e.O()}]);