try{!function(){var 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]="5eb3dbc3-4434-46fb-abee-c817883c1f53",e._sentryDebugIdIdentifier="sentry-dbid-5eb3dbc3-4434-46fb-abee-c817883c1f53")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6295],{15376:(e,t,s)=>{s.r(t),s.d(t,{ClientLogoReel:()=>m,ClientsGrid:()=>c,LogoReel:()=>d});var r=s(65183),a=s(24375),l=s(32812),i=s(69266),n=s(77242);let o=(0,a.memo)(function(e){let{logo:t}=e;return(0,r.jsx)("div",{className:"shrink-0",children:(0,r.jsx)(l.default,{src:t.src,alt:t.alt,width:80,height:40,sizes:"(max-width: 768px) 80px, 80px",quality:85,className:"h-8 md:h-10 w-auto object-contain",style:{width:"auto"},onError:e=>{e.target.style.display="none"}})})}),c=(0,a.memo)(function(e){var t;let{height:s="lg",logos:a=i.c4}=e;if(!(Array.isArray(a)&&a.length>0))return null;let{sm:l,lg:c}=(t=a.length)<=4?{sm:t,lg:t}:t>=10?{sm:2,lg:5}:t>=6?{sm:2,lg:4}:{sm:t,lg:t},d=(0,n.A)("mx-auto w-full bg-white py-2 rounded-lg","lg"===s&&"px-4"),m=(0,n.A)("mx-auto text-xs md:text-sm text-center mb-4 text-gray-600","lg"===s&&"font-semibold");return(0,r.jsxs)("div",{className:d,children:[(0,r.jsx)("p",{className:m,children:"Part of Luca's portfolio / trusted by leaders at…"}),(0,r.jsx)("div",{className:"grid gap-3 md:gap-4 lg:gap-6 justify-items-center justify-center ".concat(2===l?"grid-cols-2":3===l?"grid-cols-3":4===l?"grid-cols-4":5===l?"grid-cols-5":"grid-cols-1"," ").concat(2===c?"lg:grid-cols-2":3===c?"lg:grid-cols-3":4===c?"lg:grid-cols-4":5===c?"lg:grid-cols-5":"lg:grid-cols-1"),children:a.map((e,t)=>(0,r.jsx)(o,{logo:e},"logo-".concat(e.alt,"-").concat(t)))}),"lg"===s&&(0,r.jsx)("p",{className:"text-[10px] leading-3 text-center text-balance mt-4 mb-0 max-w-[95vw] mx-auto text-gray-500",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."})]})}),d=c,m=c},36047:(e,t,s)=>{s.d(t,{ConvertkitForm:()=>u});var r=s(65183),a=s(24375),l=s(50849);function i(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}}var n=s(56275),o=s(28681),c=s(71390),d=s(43998);let m=d.Ik({email:d.Yj().min(1,"Please enter a valid email address").regex(/^[^\s@]+@[^\s@]+\.[^\s@]+$/,"Please enter a valid email address")}),u=(0,a.memo)(function(e){let{buttonText:t="Join 25,000+ readers",className:d=""}=e,{email:u,isSubmitting:x,error:g,isPending:h,handleSubmit:f,updateEmail:p}=function(){let[e,t]=(0,a.useState)({email:"",isSubmitting:!1,error:null}),[r,l]=(0,a.useTransition)(),d=(0,o.useRouter)(),{sendEvent:u}=(0,n.s)(),x=(0,a.useCallback)(async e=>{try{c.qk.formSubmit("ConvertKit Newsletter",!0,{email:e});let{config:t}=await Promise.resolve().then(s.bind(s,44301));if(!t.convertkit.formUrl)throw Error("ConvertKit form URL not configured");let r=new URLSearchParams;r.append("email_address",e);let a=await fetch(t.convertkit.formUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:r,mode:"cors",credentials:"omit"});if(a.ok||302===a.status)return c.qk.emailSignup("ConvertKit Newsletter",!0,e),u({name:"subscribed_to_newsletter"}),{success:!0};return{success:!1,error:"Subscription failed. Please try again."}}catch(t){if(c.qk.emailSignup("ConvertKit Newsletter",!1,e),t instanceof TypeError&&t.message.includes("Failed to fetch"))return c.qk.emailSignup("ConvertKit Newsletter",!0,e),u({name:"subscribed_to_newsletter"}),{success:!0};return{success:!1,error:"An error occurred. Please try again later."}}},[u]),g=(0,a.useCallback)(async r=>{r.preventDefault();let a=m.safeParse({email:e.email});if(!a.success)return void t(e=>{var t;return{...e,error:(null==(t=a.error.issues[0])?void 0:t.message)||"Please enter a valid email address"}});!e.isSubmitting&&e.email.trim()&&(t(e=>({...e,isSubmitting:!0,error:null})),l(async()=>{let r=await x(e.email);if(r.success)try{let{config:e}=await Promise.resolve().then(s.bind(s,44301));i(d,e.site.welcomePage||"/welcome")}catch(e){i(d,"/welcome")}else t(e=>({...e,isSubmitting:!1,error:r.error||"An error occurred. Please try again later."}))}))},[e.email,e.isSubmitting,x,d]),h=(0,a.useCallback)(e=>{t(t=>({...t,email:e,error:null}))},[]);return{...e,isPending:r,handleSubmit:g,updateEmail:h}}(),b=(0,a.useId)(),w="".concat(b,"-newsletter-email"),y="".concat(b,"-newsletter-error"),v="".concat(b,"-newsletter-submitting"),j="".concat(b,"-newsletter-tooltip"),N=x||h;return(0,r.jsxs)("form",{onSubmit:f,className:"w-full ".concat(d),"aria-label":"Newsletter subscription form",noValidate:!0,children:[(0,r.jsxs)("div",{className:"flex flex-col gap-3 w-full items-center",children:[(0,r.jsx)("label",{htmlFor:w,className:"sr-only",children:"Email address"}),(0,r.jsx)("input",{id:w,type:"email",value:u,onChange:e=>p(e.target.value),placeholder:"Your email",required:!0,className:"w-full h-11 text-sm px-4 py-2 rounded-md border border-gray-300 focus:outline-none focus:ring-2 focus:ring-focus focus:border-focus transition-colors duration-200 bg-white","aria-label":"Email address","aria-describedby":g?y:void 0,"aria-invalid":!!g,disabled:N,autoComplete:"email"}),(0,r.jsxs)("div",{className:"relative group w-full",children:[(0,r.jsx)(l.$,{type:"submit",variant:"primary",size:"md",disabled:N,loading:N,className:"w-full h-11 px-6 py-0 text-sm font-semibold disabled:opacity-100 disabled:cursor-not-allowed min-w-[140px]","aria-describedby":N?v:N?j:void 0,children:N?"Joining...":t}),N&&!N&&(0,r.jsxs)("div",{id:j,className:"absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-3 py-2 bg-gray-900 text-white text-xs rounded-md opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none z-10 sm:block hidden",role:"tooltip","aria-hidden":"true",children:["Enter an email first",(0,r.jsx)("div",{className:"absolute top-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-l-4 border-r-4 border-t-4 border-transparent border-t-gray-900"})]})]})]}),g&&(0,r.jsx)("div",{id:y,className:"mt-2 text-sm text-red-600 text-center",role:"alert",children:g}),N&&(0,r.jsx)("div",{id:v,className:"sr-only",children:"Submitting newsletter subscription..."})]})})},66295:(e,t,s)=>{s.r(t),s.d(t,{default:()=>x});var r=s(65183),a=s(15376),l=s(36047),i=s(32812);s(24375);var n=s(10142),o=s(69266),c=s(49275);let d=()=>(0,r.jsxs)("div",{className:"mt-8 rounded-lg p-6 bg-gray-50",children:[(0,r.jsx)("p",{className:"font-semibold text-lg mb-6 text-center",children:"In the welcome email, you will find:"}),(0,r.jsxs)("ul",{className:"space-y-4 w-full",children:[(0,r.jsxs)("li",{className:"flex items-start gap-4",children:[(0,r.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,r.jsx)("span",{className:"text-base leading-relaxed",children:"A guide on how to bring clarity to your teams"})]}),(0,r.jsxs)("li",{className:"flex items-start gap-4",children:[(0,r.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,r.jsx)("span",{className:"text-base leading-relaxed",children:'A 33% discount code for my book "Best Practices For Operational Excellence"'})]}),(0,r.jsxs)("li",{className:"flex items-start gap-4",children:[(0,r.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,r.jsx)("span",{className:"text-base leading-relaxed",children:"An archive of my top Twitter threads, including the ones marked with a ⭐️ that are my favorite"})]}),(0,r.jsxs)("li",{className:"flex items-start gap-4",children:[(0,r.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,r.jsx)("span",{className:"text-base leading-relaxed",children:'A digital copy of my book "The Employee Engagement Handbook", with plenty of concrete advice to increase talent retention and commitment'})]})]})]}),m=()=>(0,r.jsxs)("div",{id:"logo-reel",className:"mt-8",children:[(0,r.jsx)("p",{className:"text-center text-sm text-muted mb-4",children:"Part of my portfolio / trusted by leaders at"}),(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)(a.ClientsGrid,{logos:o.c4})})]}),u=e=>{let{size:t}=e;return(0,r.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-6 md:gap-8 w-full max-w-2xl",children:[(0,r.jsxs)("div",{id:"headline-and-form",className:"flex-1 text-center md:text-left",children:["lg"===t?(0,r.jsx)("h2",{className:"mb-3 text-2xl md:text-3xl font-bold",children:"Luca's newsletter"}):(0,r.jsx)("h3",{className:"mt-0 sm:mt-2 md:mt-4 mb-3 text-xl md:text-2xl font-bold",children:"Luca's newsletter"}),(0,r.jsx)("p",{className:"text-sm text-muted mb-6",children:"You can expect 1-2 emails a month. Unsubscribe at any time."}),(0,r.jsx)("div",{id:"ck-form",className:"flex justify-center md:justify-start",children:(0,r.jsx)(l.ConvertkitForm,{buttonText:"Join 25,000+ readers"})})]}),(0,r.jsx)(i.default,{src:"/luca-portrait.jpg",alt:"Luca Dellanna",height:180,width:120,className:"border border-black rounded-lg hidden md:block flex-shrink-0",priority:"lg"===t})]})},x=e=>{let{size:t="lg",border:s=!0}=e,a=c.Y.filter(e=>e.object.includes("Luca"));return(0,r.jsxs)("section",{className:"w-full max-w-[calc(100vw-0.5rem)] sm:max-w-lg md:max-w-2xl lg:max-w-3xl mx-auto p-4 sm:p-6 md:p-8 mt-4 mb-12 ".concat(s?"border border-black rounded-lg shadow-lg":""),children:[(0,r.jsx)("div",{className:"flex flex-col items-center justify-center mb-8",children:(0,r.jsx)(u,{size:t})}),(0,r.jsx)(n.ReviewsCarousel,{width:"lg",height:"sm",reviews:a,showRatings:!1,title:"They say about Luca"}),"lg"===t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{}),(0,r.jsx)(m,{})]})]})}},69266:(e,t,s)=>{s.d(t,{KT:()=>l,c4:()=>a});var r=s(89493);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:"/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"}];(0,r.$J)(a),(0,r.$J)(l)}}]);