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]="01aed121-bdd6-461f-8b1f-a34b46cca35e",e._sentryDebugIdIdentifier="sentry-dbid-01aed121-bdd6-461f-8b1f-a34b46cca35e")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,4070,9962],{2987:(e,t,r)=>{"use strict";r.d(t,{default:()=>l.a});var a=r(30080),l=r.n(a)},15554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{callServer:function(){return a.callServer},createServerReference:function(){return n.createServerReference},findSourceMapURL:function(){return l.findSourceMapURL}});let a=r(56789),l=r(40093),n=r(85108)},17581:(e,t,r)=>{"use strict";r.d(t,{$:()=>i});var a=r(99702);r(26294);var l=r(6466);let n={primary:"bg-primary !text-white hover:bg-primary-hover shadow-md hover:shadow-lg font-semibold focus:ring-2 focus:ring-primary focus:ring-offset-2",secondary:"bg-transparent !text-primary border border-primary hover:bg-primary hover:text-white hover:shadow-md focus:ring-2 focus:ring-primary focus:ring-offset-2",outline:"bg-transparent text-gray-700 border border-gray-300 hover:bg-gray-50 focus:ring-2 focus:ring-gray-300 focus:ring-offset-2",ghost:"bg-transparent text-gray-700 hover:bg-gray-100 focus:ring-2 focus:ring-gray-300 focus:ring-offset-2",danger:"bg-error !text-white hover:bg-error-hover shadow-md hover:shadow-lg font-semibold focus:ring-2 focus:ring-error focus:ring-offset-2"},s={sm:"px-3 py-1.5 text-sm rounded-md min-h-[32px]",md:"px-4 py-2 text-base rounded-md min-h-[40px]",lg:"px-6 py-3 text-lg rounded-lg min-h-[48px]"},o=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin","aria-hidden":"true"}),(0,a.jsx)("span",{children:"Loading..."})]});function i(e){let{children:t,className:r,variant:i="primary",size:c="md",disabled:d=!1,loading:u=!1,"aria-label":m}=e,f=(0,l.QP)("inline-flex items-center justify-center gap-2 transition-all duration-200","focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed","hover:scale-105 active:scale-95 disabled:hover:scale-100","font-medium leading-none",n[i],s[c],r),h=d||u;if("href"in e){let{children:r,className:l,variant:n,size:s,disabled:i,loading:c,"aria-label":d,href:x,target:g,rel:b,onClick:p,...v}=e,w="_blank"===g?[...new Set(["noopener","noreferrer",...(b||"").split(" ")])].filter(Boolean).join(" "):b;return(0,a.jsx)("a",{href:h?void 0:x,className:f,target:h?void 0:g,rel:h?void 0:w,tabIndex:h?-1:void 0,onClick:h?e=>e.preventDefault():p,"aria-label":m,"aria-disabled":h,...v,children:u?o:t})}let{children:x,className:g,variant:b,size:p,disabled:v,loading:w,"aria-label":y,type:j="button",onClick:k,...N}=e;return(0,a.jsx)("button",{className:f,disabled:h,type:j,onClick:h?void 0:k,"aria-label":m,"aria-disabled":h,...N,children:u?o:t})}},29191:(e,t,r)=>{"use strict";r.d(t,{Zp:()=>c,aR:()=>d,bw:()=>u,wL:()=>m});var a=r(99702),l=r(26294),n=r(6466);let s={default:"bg-white",bordered:"bg-white border border-gray-300",shadow:"bg-white shadow-md border border-gray-300",elevated:"bg-white shadow-lg border border-gray-300"},o={none:"",sm:"p-2",md:"p-4",lg:"p-6"},i={none:"",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl"},c=l.forwardRef(function(e,t){let{children:r,className:l,as:c="div",href:d,onClick:u,variant:m="default",padding:f="md",rounded:h="lg",style:x}=e,g={className:(0,n.QP)("transition-all duration-200",s[m],o[f],i[h],l),...u&&{onClick:u},...d&&{href:d},...x&&{style:x},ref:t};return(0,a.jsx)(c,{...g,children:r})});function d(e){let{children:t,className:r,padding:l="md"}=e;return(0,a.jsx)("div",{className:(0,n.QP)("flex flex-col gap-1",o[l],r),children:t})}function u(e){let{children:t,className:r,padding:l="md",style:s}=e;return(0,a.jsx)("div",{className:(0,n.QP)("flex flex-col gap-2",o[l],r),style:s,children:t})}function m(e){let{children:t,className:r,padding:l="md"}=e;return(0,a.jsx)("div",{className:(0,n.QP)("flex items-center justify-between",o[l],r),children:t})}},30080:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return i},getImageProps:function(){return o}});let a=r(93971),l=r(19108),n=r(84792),s=a._(r(144));function o(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],qualities:[25,50,75,85,100],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let i=n.Image},30414:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(26294);let l=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},n=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:c="",children:d,iconNode:u,...m}=e;return(0,a.createElement)("svg",{ref:t,...s,width:l,height:l,stroke:r,strokeWidth:i?24*Number(o)/Number(l):o,className:n("lucide",c),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(m)&&{"aria-hidden":"true"},...m},[...u.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),i=(e,t)=>{let r=(0,a.forwardRef)((r,s)=>{let{className:i,...c}=r;return(0,a.createElement)(o,{ref:s,iconNode:t,className:n("lucide-".concat(l(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),i),...c})});return r.displayName=l(e),r}},32704:(e,t,r)=>{"use strict";r.d(t,{ReviewCard:()=>d});var a=r(99702),l=r(29191),n=r(2987);let s=(0,r(26294).memo)(function(e){var t;let{author:r}=e;if(!r)return null;let l=null==(t=r.image)?void 0:t.trim(),s=(null==l?void 0:l.startsWith("/"))?l:l?"/".concat(l):void 0;return(0,a.jsxs)("div",{className:"flex items-center flex-shrink-0 h-8 text-center",children:[s&&(0,a.jsx)("div",{className:"w-8 h-8 rounded-full border border-slate-400 overflow-hidden shrink-0",children:(0,a.jsx)(n.default,{src:s,alt:"Avatar of ".concat(r.name),width:32,height:32,sizes:"32px",quality:85,className:"w-full h-full object-cover"})}),(0,a.jsxs)("div",{className:"".concat(s?"ml-2":""," flex flex-col justify-center"),children:[(0,a.jsx)("p",{className:"my-0 text-xs leading-none",children:r.name}),r.description&&(0,a.jsx)("p",{className:"my-0 text-[10px] leading-3 text-muted mt-0.5",children:r.description})]})]})});var o=r(43744),i=r(6466);let c={carousel:{base:"w-52 md:w-72 h-48 cursor-pointer",bordered:"border border-border shadow-sm",borderless:"shadow-none"},books:{base:"w-48 md:w-64 h-40",bordered:"border border-border-strong shadow-md",borderless:"shadow-none"}};function d(e){let{review:t,showRating:r=!1,showBorder:n=!0,variant:d="carousel",className:u,onClick:m}=e,f=c[d],h="".concat(f.base," ").concat(n?f.bordered:f.borderless),x=t.content.length,g=(()=>{let e=Math.max(9,Math.min(16,16-(x-60)/8));return{className:"leading-tight tracking-tight",style:{fontSize:"".concat(e,"px"),lineHeight:"1.1"}}})();return(0,a.jsxs)(l.Zp,{variant:n?"bordered":"default",className:(0,i.QP)(h,"py-4 px-6 flex flex-col gap-3 h-full",u),onClick:m,children:[r&&t.rating&&(0,a.jsxs)("div",{className:"flex items-center justify-center gap-1 flex-shrink-0","aria-label":"Rating: ".concat(t.rating," out of 5 stars"),children:[[void 0,void 0,void 0,void 0,void 0].map((e,r)=>(0,a.jsx)(o.A,{className:"w-5 h-5 ".concat(r{"use strict";r.d(t,{A:()=>a});let a=function(){for(var e,t,r=0,a="",l=arguments.length;r{"use strict";r.r(t),r.d(t,{default:()=>f});var a=r(99702),l=r(34084),n=r(31372),s=r(2987),o=r(76739),i=r(74902),c=r(30863);let d=()=>(0,a.jsxs)("div",{className:"mt-8 rounded-lg p-6 bg-muted/10 border border-muted/20",children:[(0,a.jsx)("p",{className:"font-semibold text-lg mb-6 text-center text-foreground",children:"In the welcome email, you will find:"}),(0,a.jsxs)("ul",{className:"space-y-4 w-full",children:[(0,a.jsxs)("li",{className:"flex items-start gap-4",children:[(0,a.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,a.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:"A guide on how to bring clarity to your teams"})]}),(0,a.jsxs)("li",{className:"flex items-start gap-4",children:[(0,a.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,a.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:'A 33% discount code for my book "Best Practices For Operational Excellence"'})]}),(0,a.jsxs)("li",{className:"flex items-start gap-4",children:[(0,a.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,a.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:"An archive of my top Twitter threads, including the ones marked with a ⭐️ that are my favorite"})]}),(0,a.jsxs)("li",{className:"flex items-start gap-4",children:[(0,a.jsx)("span",{className:"text-success text-xl flex-shrink-0 mt-0.5",children:"✔"}),(0,a.jsx)("span",{className:"text-base leading-relaxed text-foreground",children:'A digital copy of my book "The Employee Engagement Handbook", with plenty of concrete advice to increase talent retention and commitment'})]})]})]}),u=()=>(0,a.jsxs)("div",{id:"logo-reel",className:"mt-8",children:[(0,a.jsx)("p",{className:"text-center text-sm text-muted mb-4",children:"Part of my portfolio / trusted by leaders at"}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)(l.ClientsGrid,{logos:i.c4})})]}),m=e=>{let{size:t}=e;return(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-6 lg:gap-8 w-full max-w-2xl",children:[(0,a.jsxs)("div",{id:"headline-and-form",className:"flex-1 text-center lg:text-left",children:["lg"===t?(0,a.jsx)("h2",{className:"mb-3 text-2xl lg:text-3xl xl:text-4xl font-bold text-foreground",children:"Luca's newsletter"}):(0,a.jsx)("h3",{className:"mt-0 sm:mt-2 lg:mt-4 mb-3 text-xl lg:text-2xl font-bold text-foreground",children:"Luca's newsletter"}),(0,a.jsx)("p",{className:"text-sm text-muted mb-6 leading-relaxed",children:"You can expect 1-2 emails a month. Unsubscribe at any time."}),(0,a.jsx)("div",{id:"ck-form",className:"flex justify-center lg:justify-start",children:(0,a.jsx)(n.ConvertkitForm,{buttonText:"Join 25,000+ readers"})})]}),(0,a.jsx)(s.default,{src:"/luca-portrait.jpg",alt:"Luca Dellanna",height:180,width:120,className:"border border-border-strong rounded-lg hidden lg:block flex-shrink-0 shadow-md hover:shadow-lg transition-shadow duration-300",priority:"lg"===t})]})},f=function(e){let{size:t="lg",border:r=!0}=e,l=c.Y.filter(e=>e.object.includes("Luca"));return(0,a.jsxs)("section",{className:"w-full max-w-[calc(100vw-1rem)] sm:max-w-lg md:max-w-2xl lg:max-w-3xl mx-auto p-4 sm:p-6 lg:p-8 mt-4 mb-12 bg-white ".concat(r?"border widget-border rounded-lg shadow-lg hover:shadow-xl transition-shadow duration-300":""),children:[(0,a.jsx)("div",{className:"flex flex-col items-center justify-center mb-8",children:(0,a.jsx)(m,{size:t})}),(0,a.jsx)(o.ReviewsCarousel,{width:"lg",height:"sm",reviews:l,showRatings:!1,title:"They say about Luca"}),"lg"===t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d,{}),(0,a.jsx)(u,{})]})]})}},43744:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(30414).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},44528:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(30414).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},76739:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ReviewsCarousel:()=>o});var a=r(99702),l=r(26294),n=r(32704);let s=(0,l.memo)(function(e){var t;let{review:r,showRating:s,showBorder:o,index:i,onCardClick:c}=e,d=(0,l.useCallback)(()=>c(i),[c,i]),u=(0,l.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),c(i))},[c,i]);return(0,a.jsx)("div",{className:"w-52 md:w-72 h-48 shrink-0 flex snap-center","data-index":i,onClick:d,onKeyDown:u,role:"button",tabIndex:0,"aria-label":"Center review ".concat(i+1," of ").concat((null==(t=r.author)?void 0:t.name)||"anonymous"),children:(0,a.jsx)(n.ReviewCard,{review:r,showRating:s,showBorder:o,className:"h-full"})})}),o=(0,l.memo)(function(e){let{reviews:t,showRatings:r,title:n="Some reviews",width:o,height:i,showBorder:c=!0}=e,d=(0,l.useRef)(null),{isDragging:u,handleDragStart:m,handleDragEnd:f,handleDragMove:h}=(e=>{let[t,r]=(0,l.useState)(!1),a=(0,l.useRef)({x:0,scrollLeft:0}),n=(0,l.useCallback)(t=>{var l,n;e.current&&(r(!0),a.current={x:"touches"in t&&t.touches&&t.touches.length>0&&null!=(n=null==(l=t.touches[0])?void 0:l.clientX)?n:t.clientX,scrollLeft:e.current.scrollLeft})},[e]),s=(0,l.useCallback)(()=>{r(!1)},[]),o=(0,l.useCallback)(r=>{var l,n;if(!t||!e.current)return;r.preventDefault();let s="touches"in r&&r.touches&&r.touches.length>0&&null!=(n=null==(l=r.touches[0])?void 0:l.clientX)?n:r.clientX,o=a.current.x-s;e.current.scrollLeft=a.current.scrollLeft+o},[t,e]);return{isDragging:t,handleDragStart:n,handleDragEnd:s,handleDragMove:o}})(d),x=(0,l.useCallback)(e=>{if(d.current){let t=d.current.children[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}},[d]),g=(0,l.useCallback)(e=>{if(!d.current)return;let t=d.current;t.scrollLeft;let r=t.clientWidth,a=t.querySelector(".carousel-item");if(!a)return;let l=a.getBoundingClientRect().width,n=(r-l*Math.floor(r/l))/(Math.floor(r/l)-1||1),s=l+n;"ArrowRight"===e.key?t.scrollBy({left:s,behavior:"smooth"}):"ArrowLeft"===e.key&&t.scrollBy({left:-s,behavior:"smooth"})},[]),b=(0,l.useCallback)(e=>t=>{(null==t?void 0:t.currentTarget)&&(null==t?void 0:t.target)&&(t.persist(),e(t))},[]),p=t.length<2,v=t.length<3&&"lg"===o;return(0,a.jsxs)("div",{className:"".concat("sm"===i?"mt-0 mb-0 p-0":"")+" p-4",children:[(0,a.jsx)("h3",{className:"text-xl font-semibold mb-4",children:n}),(0,a.jsx)("div",{className:"w-full relative",children:(0,a.jsx)("div",{className:"relative",onKeyDown:g,role:"region",tabIndex:0,"aria-label":"Reviews carousel - use arrow keys to navigate, or drag to scroll",children:(0,a.jsx)("div",{className:"mx-auto mb-4 relative overflow-x-scroll select-none\n max-w-[280px] sm:max-w-[380px] md:max-w-[420px] ".concat("lg"===o?"lg:max-w-[600px]":"","\n cursor-grab active:cursor-grabbing ").concat(p?"flex justify-center":"","\n scrollbar-hide h-48\n scroll-smooth snap-x snap-mandatory"),ref:d,onMouseDown:b(m),onMouseUp:b(f),onMouseLeave:b(f),onMouseMove:b(h),onTouchStart:b(m),onTouchEnd:b(f),onTouchMove:b(h),role:"region","aria-label":"Reviews carousel - drag to scroll or click on a review to center it","aria-live":"polite",children:(0,a.jsx)("div",{className:"flex space-x-4 md:space-x-6 h-full ".concat(v?"md:justify-center":""),children:t.map((e,t)=>(0,a.jsx)(s,{review:e,showRating:r,showBorder:c,index:t,onCardClick:x},"review-".concat(t)))})})})})]})})},79052:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,43231,23)),Promise.resolve().then(r.bind(r,41035))},84506:(e,t,r)=>{"use strict";r.d(t,{Nh:()=>i,jU:()=>n,qk:()=>s,r2:()=>o});var a=r(11377);function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"user",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",l=arguments.length>3?arguments[3]:void 0;a.Z({message:e,category:t,level:r,data:l?{...l,timestamp:Date.now()}:{timestamp:Date.now()}})}let n={pageView:(e,t)=>{l("Page viewed: ".concat(e),"navigation","info",{path:e,title:t,type:"page_view"})},routeChange:(e,t)=>{l("Route changed from ".concat(e," to ").concat(t),"navigation","info",{from:e,to:t,type:"route_change"})},externalLink:(e,t)=>{l("External link clicked: ".concat(e),"navigation","info",{url:e,context:t,type:"external_link"})}},s={buttonClick:(e,t)=>{l("Button clicked: ".concat(e),"ui","info",{buttonName:e,context:t,type:"button_click"})},formSubmit:(e,t,r)=>{l("Form ".concat(t?"successfully submitted":"submission failed",": ").concat(e),"user",t?"info":"warning",{formName:e,success:t,type:"form_submit",...r})},modalOpen:e=>{l("Modal opened: ".concat(e),"ui","info",{modalName:e,type:"modal_open"})},modalClose:e=>{l("Modal closed: ".concat(e),"ui","info",{modalName:e,type:"modal_close"})},searchQuery:(e,t)=>{l('Search performed: "'.concat(e,'"'),"user","info",{query:e,resultsCount:t,type:"search"})},fileDownload:(e,t)=>{l("File downloaded: ".concat(e),"user","info",{fileName:e,fileType:t,type:"file_download"})},emailSignup:(e,t,r)=>{l("Email signup ".concat(t?"successful":"failed",": ").concat(e),"user",t?"info":"warning",{formType:e,success:t,hasEmail:!!r,type:"email_signup"})}},o={bookView:(e,t)=>{l("Book viewed: ".concat(e),"user","info",{bookTitle:e,bookId:t,type:"book_view"})},buyButtonClick:(e,t)=>{l("Buy button clicked: ".concat(e),"user","info",{bookTitle:e,platform:t,type:"buy_button_click"})},courseEnrollment:(e,t)=>{l("Course enrollment ".concat(t?"successful":"failed",": ").concat(e),"user",t?"info":"warning",{courseName:e,success:t,type:"course_enrollment"})}},i={gameStart:e=>{l("Game started: ".concat(e),"user","info",{gameName:e,type:"game_start"})},gameEnd:(e,t,r)=>{l("Game ended: ".concat(e),"user","info",{gameName:e,score:t,duration:r,type:"game_end"})},gameAction:(e,t,r)=>{l("Game action: ".concat(t," in ").concat(e),"user","info",{gameName:e,action:t,...r,type:"game_action"})}}},89910:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(30414).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])}},e=>{e.O(0,[3231,6466,4792,2809,4850,2360,4442,863,1677,9110,3947,7358],()=>e(e.s=79052)),_N_E=e.O()}]);