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]="40ad0aae-6c47-43c0-b9b6-52a1650e0505",e._sentryDebugIdIdentifier="sentry-dbid-40ad0aae-6c47-43c0-b9b6-52a1650e0505")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1464,3746],{70977:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,67873,23)),Promise.resolve().then(r.t.bind(r,62933,23)),Promise.resolve().then(r.bind(r,71592)),Promise.resolve().then(r.bind(r,3746))},71592:(e,t,r)=>{"use strict";r.d(t,{WorkWithLuca:()=>m});var a=r(3896),s=r(6643),n=r(60157),l=r(70744),i=r.n(l),o=r(52308);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:n}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("p",{className:c.review.text,children:['"',t,'"']}),(0,a.jsx)("div",{className:c.review.author.wrapper,children:(0,a.jsxs)("div",{className:c.review.author.container,children:[(0,a.jsxs)("span",{className:c.review.author.name,children:["– ",r]}),(0,a.jsx)(s.W,{src:n,alt:r,width:20,height:20,className:c.review.author.image})]})})]})});d.displayName="Review";let m=(0,o.memo)(()=>(0,a.jsx)("section",{className:c.section,children:(0,a.jsxs)("div",{className:c.content.wrapper,children:[(0,a.jsxs)("div",{className:c.content.text,children:[(0,a.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,a.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,a.jsx)("div",{className:c.content.buttonWrapper,children:(0,a.jsx)(i(),{href:"/contact",children:(0,a.jsx)(n.T,{color:"primary",size:"sm",className:"mx-auto",children:"Email Luca"})})})]}),(0,a.jsx)("div",{className:c.content.image,children:(0,a.jsx)(s.W,{src:"/luca-no-bg.png",alt:"Luca Dellanna",width:140,height:210})})]})}));m.displayName="WorkWithLuca"},86524:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(3896),s=r(52308);let n=e=>{let{side:t,className:r,width:s}=e;return(0,a.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,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n,{side:"left",className:r,width:t}),(0,a.jsx)(n,{side:"right",className:r,width:t})]})})},87041:(e,t,r)=>{"use strict";r.d(t,{LogoReel:()=>d});var a=r(3896),s=r(52308),n=r(86524),l=r(32944),i=r(70607);let o={width:100,height:50},c=(0,s.memo)(function(e){let{logo:t,index:r}=e;return(0,a.jsx)("div",{className:"flex-shrink-0 mx-4",children:(0,a.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);if(!Array.isArray(t)||0===t.length)return null;let l=Array.from({length:4},()=>t).flat(),d=o.width*t.length*4,m=(0,i.A)({maxWidth:d}),u=(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;u();let t=()=>{requestAnimationFrame(u)};window.addEventListener("resize",t);let a=null===(e=r.current)||void 0===e?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(u),()=>window.removeEventListener("resize",t)},[u]),(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:r,style:{transform:"scale(".concat(m,")"),transformOrigin:"left center"},role:"marquee","aria-label":"Logo reel",children:l.map((e,t)=>(0,a.jsx)(c,{logo:e,index:t},"logo-".concat(e.alt,"-").concat(t)))}),(0,a.jsx)(n.A,{width:"w-24"})]})})},87054:(e,t,r)=>{"use strict";r.d(t,{ReviewsCarousel:()=>d});var a=r(3896),s=r(52308),n=r(99500);let l=e=>{let[t,r]=(0,s.useState)(!1),a=(0,s.useRef)({x:0,scrollLeft:0}),n=(0,s.useCallback)(t=>{if(!e.current)return;r(!0);let s="touches"in t?t.touches[0].clientX:t.clientX;a.current={x:s,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,n=a.current.x-s;e.current.scrollLeft=a.current.scrollLeft+n},[t,e]);return{isDragging:t,handleDragStart:n,handleDragEnd:l,handleDragMove:i}},i={SCROLL_AMOUNT:300},o=(0,s.memo)(function(e){let{review:t,showRating:r,isLast:s}=e;return(0,a.jsx)("div",{className:"w-48 md:w-64 flex-shrink-0 ".concat(s?"":"mr-4 md:mr-8"),children:(0,a.jsx)(n.ReviewCard,{review:t,showRating:r})})}),c=(0,s.memo)(function(e){let{direction:t,show:r,onClick:s}=e;return(0,a.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:n="Some reviews",width:d,height:m}=e,u=(0,s.useRef)(null),[h,p]=(0,s.useState)(!1),[g,x]=(0,s.useState)(!0),f=(0,s.useCallback)(()=>{let e=u.current;if(!e)return;let{scrollLeft:t,scrollWidth:r,clientWidth:a}=e;p(t>0),x(t{let t=u.current;if(!t)return;let r="left"===e?-i.SCROLL_AMOUNT:i.SCROLL_AMOUNT;t.scrollBy({left:r,behavior:"smooth"})},[]),{isDragging:b,handleDragStart:v,handleDragEnd:y,handleDragMove:j}=l(u),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(),v(e))},[v]),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,S=t.length<3&&"lg"===d;return(0,a.jsxs)("section",{className:"".concat("sm"===m?"mt-0 mb-0 p-0":""," section-separator"),children:[(0,a.jsx)("h3",{className:"text-2xl font-bold mb-4",children:n}),(0,a.jsxs)("div",{className:"w-full relative",children:[(0,a.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(C?"flex justify-center":""),ref:u,onScroll:f,onMouseDown:k,onMouseUp:L,onMouseLeave:L,onMouseMove:N,onTouchStart:k,onTouchEnd:L,onTouchMove:N,children:(0,a.jsx)("div",{className:"flex ".concat(S?"md:justify-center":""),children:t.map((e,s)=>(0,a.jsx)(o,{review:e,showRating:r,isLast:s===t.length-1},"review-".concat(s)))})}),(0,a.jsx)(c,{direction:"left",show:h,onClick:()=>w("left")}),(0,a.jsx)(c,{direction:"right",show:g,onClick:()=>w("right")})]})]})})},3746:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var a=r(3896),s=r(80890),n=r(60157),l=r(52308),i=r(32944),o=r(87041),c=r(87054),d=r(70957),m=r(58744),u=r(88166),h=r(57613),p=r(75403),g=r(29515);let x=p.z.object({email:p.z.string().email("Please enter a valid email address")}),f=()=>(0,a.jsxs)("div",{className:"mt-8 rounded-lg p-2 small-text",children:[(0,a.jsx)("p",{className:"font-semibold",children:"In the welcome email, you will find:"}),(0,a.jsxs)("ul",{className:"no-disc",children:[(0,a.jsx)("li",{children:"✔ A guide on how to bring clarity to your teams"}),(0,a.jsx)("li",{children:'✔ A 33% discount code for my book "Best Practices For Operational Excellence"'}),(0,a.jsx)("li",{children:"✔ An archive of my top Twitter threads, including the ones market with a ⭐️ that are my favorite"}),(0,a.jsx)("li",{children:'✔ A digital copy of my book "The Employee Engagement Handbook," with plenty of concrete advice to increase talent retention and commitment'})]})]}),w=()=>(0,a.jsxs)("div",{id:"logo-reel",children:[(0,a.jsx)("p",{className:"text-center text-[10px] leading-3 my-4",children:"Part of my portfolio / trusted by leaders at"}),(0,a.jsx)(o.LogoReel,{logos:d.c})]}),b=e=>{var t;let{size:r="lg"}=e,o=(0,h.useRouter)(),{handleSubmit:d,formState:{errors:p,isSubmitting:b},register:v,setError:y}=(0,u.mN)({resolver:(0,g.u)(x),defaultValues:{email:""}}),j=(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)o.push("https://luca-dellanna.com/welcome");else throw Error("Subscription failed")}catch(e){console.error("Error:",e),y("email",{type:"manual",message:e instanceof Error?e.message:"An error occurred. Please try again later."})}},[o,y]),N=m.Y.filter(e=>e.object.includes("Luca"));return(0,a.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,a.jsx)("form",{onSubmit:d(j),className:"mx-auto flex mb-8 items-center justify-center",children:(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsxs)("div",{id:"headline-and-form",children:["lg"===r?(0,a.jsx)("h2",{className:"mb-2",children:"Luca's newsletter"}):(0,a.jsx)("h3",{className:"mt-0 sm:mt-2 md:mt-4 mb-2",children:"Luca's newsletter"}),(0,a.jsx)("p",{className:"text-tiny text-center italic",children:"You can expect 1-2 emails a month. Unsubscribe at any time."}),(0,a.jsxs)("div",{id:"ck-form",className:"flex flex-col items-center sm:flex-row gap-4 mt-6",children:[(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(s.r,{...v("email"),type:"email",placeholder:"Enter your email",isRequired:!0,className:"flex-grow",isDisabled:b,errorMessage:null===(t=p.email)||void 0===t?void 0:t.message,isInvalid:!!p.email,onFocus:e=>e.stopPropagation(),onBlur:e=>e.stopPropagation()})}),(0,a.jsx)(n.T,{type:"submit",className:"primary !px-6 py-2 w-[fit-content]",isLoading:b,isDisabled:b,children:(0,a.jsx)("span",{className:"mx-6 whitespace-nowrap",children:"Join 25,000+ readers"})})]})]}),(0,a.jsx)(i.default,{src:"/luca-portrait.jpg",alt:"Luca Dellanna",height:150,width:100,className:"ml-8 border border-black rounded-lg hidden md:block"})]})}),(0,a.jsx)(c.ReviewsCarousel,{width:"lg",height:"sm",reviews:N,showRatings:!1,title:"They say about Luca"}),"lg"===r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{}),(0,a.jsx)(w,{})]})]})}},70957:(e,t,r)=>{"use strict";r.d(t,{K:()=>s,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"}],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"}]},70607:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(52308);function s(e){let{maxWidth:t,minScale:r=.1,debounceMs:s=100}=e,[n,l]=(0,a.useState)(1),i=(0,a.useRef)(void 0),o=(0,a.useCallback)(()=>{l(Math.min(.95,Math.max(r,window.innerWidth/t)))},[t,r]);return(0,a.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]),n}}},e=>{var t=t=>e(e.s=t);e.O(0,[1796,4555,7873,157,7931,890,9509,74,3519,8016,7410,7358],()=>t(70977)),_N_E=e.O()}]);