1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];if(null!=t)for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:laborability-website-corporate":!0});var a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b82db6b3-b601-46de-92af-c9dafbd2e588",e._sentryDebugIdIdentifier="sentry-dbid-b82db6b3-b601-46de-92af-c9dafbd2e588")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[578],{1107:function(e,a,t){"use strict";t.d(a,{Z:function(){return Slider}});var i=t(85893),n=t(34805),l=t.n(n),o=t(67294),r=t(46433),d=t(28120);function Slider(e){let[a,t]=(0,o.useState)(0),[n,s]=(0,o.useState)(0),[c,u]=(0,o.useState)(0),[h,m]=(0,o.useState)(0),[v,g]=(0,o.useState)([]),[p,_]=(0,o.useState)(!1),[f,b]=(0,o.useState)(0),[y,x]=(0,o.useState)(0),[w,C]=(0,o.useState)(!1),j=(0,o.useRef)(),I=[...Array(v.length).keys()];return(0,o.useEffect)(()=>{window.addEventListener("resize",()=>{t(window.innerWidth)}),t(window.innerWidth)},[]),(0,o.useEffect)(()=>{var a;m(null===(a=j.current)||void 0===a?void 0:a.getBoundingClientRect().width);let t=e.children.map((e,a)=>o.cloneElement(e,{className:"".concat(l().sliderCard," ").concat(p?l().inTransition:null),style:{transform:"translateX(-".concat(0!==n?n*h*.9+2*n*10+c-(n===I.length-1?.1*h:.05*h):0+c,"px)")},key:a}));e.more&&t.push(o.cloneElement((0,i.jsxs)("div",{children:[(0,i.jsx)(d.Z,{className:l().moreImage,src:"/images/more-image.jpg",alt:"More image background",layout:"fill"}),(0,i.jsxs)("a",{className:l().moreText,href:e.more,children:["Vedi altro",(0,i.jsx)("svg",{className:l().leftArrow,viewBox:"0 0 320 512",children:(0,i.jsx)("path",{fill:"currentColor",d:"M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"})})]})]}),{className:"".concat(l().sliderCard," ").concat(l().shade," ").concat(p?l().inTransition:null," d-md-none"),style:{transform:"translateX(-".concat(0!==n?n*h*.9+2*n*10+c-(n===I.length-1?.1*h:.05*h):0+c,"px)")},key:t.length})),g(t)},[a,n,c]),(0,o.useEffect)(()=>{w?r.Z.on():r.Z.off()},[w]),(0,o.useEffect)(()=>{n>v.length-1&&0!==n&&s(v.length-1)},[n]),(0,o.useEffect)(()=>{n>=I.length-1&&f-y>=0||0===n&&f-y<=0?u(0):u(f-y)},[y]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"d-block ".concat(!e.showMobileViewInDesktop&&"d-md-none"),children:(0,i.jsxs)("div",{className:l().container,children:[(0,i.jsx)("div",{className:"".concat(l().cardContainer," ").concat(e.importedClasses?e.importedClasses:""),onTouchStart:e=>{b(e.targetTouches[0].clientX),_(!0)},onTouchMove:e=>{p&&x(e.targetTouches[0].clientX),Math.abs(c)>100&&C(!0)},onTouchEnd:e=>void(C(!1),_(!1),Math.abs(c/h)>.2&&(c/h>0?s(n+Math.ceil(c/h)):s(n+Math.floor(c/h))),u(0)),children:v}),(0,i.jsx)("div",{className:"".concat(l().indicatorContainer," ").concat("light"==e.paginationStyle?l().light:""),ref:j,children:I.map(e=>(0,i.jsx)("div",{className:"".concat(l().indicator," ").concat(e===n?l().active:null),onClick:()=>s(e)},e))})]})}),!e.showMobileViewInDesktop&&(0,i.jsx)("div",{className:"d-none d-md-block",children:(0,i.jsx)("div",{className:e.className,children:e.children})})]})}},39765:function(e,a,t){"use strict";t.d(a,{Z:function(){return SmallCardHorizontal}});var i=t(85893),n=t(73017),l=t.n(n),o=t(45589),r=t(28120);t(96486);var d=t(53989);function SmallCardHorizontal(e){var a,t,n,s,c,u,h,m,v,g,p,_,f,b,y;return(0,i.jsx)("div",{className:"position-relative smallHorizontalCard",children:(0,i.jsxs)("div",{className:l().cardContainer,children:[(0,i.jsx)("a",{href:e.data.standardFullURL||"https://laborability-staging.vercel.app"+e.data.uri,className:l().imageContainer,children:(0,i.jsx)("div",{className:l().thumbnailWrapImage,children:(e.data.standardFeaturedImageURL||e.data.featuredImage)&&(0,i.jsx)(r.Z,{className:l().image,src:e.data.standardFeaturedImageURL||(null===(t=e.data.featuredImage)||void 0===t?void 0:null===(a=t.node)||void 0===a?void 0:a.sourceUrl),alt:null===(s=e.data.featuredImage)||void 0===s?void 0:null===(n=s.node)||void 0===n?void 0:n.altText,height:(0,o.$)(null===(u=e.data.featuredImage)||void 0===u?void 0:null===(c=u.node.mediaDetails)||void 0===c?void 0:c.sizes).height,width:(0,o.$)(null===(m=e.data.featuredImage)||void 0===m?void 0:null===(h=m.node.mediaDetails)||void 0===h?void 0:h.sizes).width,layout:"responsive"})})}),(0,i.jsxs)("div",{className:l().cardContent,children:[(0,i.jsxs)("div",{className:l().cardVideoIcon,children:[null!==e.data.VideoMeta.videoId&&(0,i.jsxs)("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M18 0.822168V17.6222C18 17.9536 17.7314 18.2222 17.4 18.2222H0.6C0.26863 18.2222 0 17.9536 0 17.6222V0.822168C0 0.490798 0.26863 0.222168 0.6 0.222168H17.4C17.7314 0.222168 18 0.490798 18 0.822168Z",fill:"#E9B623"}),(0,i.jsx)("path",{d:"M6.89768 5.73509C6.49769 5.50652 6 5.79534 6 6.25604V12.1882C6 12.6489 6.49769 12.9377 6.89768 12.7091L12.0883 9.74303C12.4914 9.51273 12.4914 8.93153 12.0883 8.70123L6.89768 5.73509Z",fill:"white"})]}),(0,i.jsx)("div",{className:l().data,children:(0,i.jsx)("a",{className:l().category,href:"".concat("https://laborability-staging.vercel.app").concat((null===(p=e.data)||void 0===p?void 0:null===(g=p.contentType)||void 0===g?void 0:null===(v=g.node)||void 0===v?void 0:v.name)=="video"?"/video"+(null===(_=(0,o.FP)(e.data.categories))||void 0===_?void 0:_.uri):null===(f=(0,o.FP)(e.data.categories))||void 0===f?void 0:f.uri),children:null===(b=(0,o.FP)(e.data.categories))||void 0===b?void 0:b.name})})]}),(0,i.jsx)("a",{className:l().title,href:e.data.standardFullURL||"https://laborability-staging.vercel.app"+e.data.uri,children:e.data.title}),(0,i.jsx)(d.Z,{postId:e.data.databaseId,postSlug:e.data.uri,postReadingTime:null===(y=e.data)||void 0===y?void 0:y.readingTime,postUri:e.data.standardFullURL||"https://laborability-staging.vercel.app"+e.data.uri})]})]})})}},70164:function(e,a,t){"use strict";t.d(a,{Z:function(){return HeadSeo}});var i=t(85893),n=t(2962);t(41609);
1var l=t(45697),o=t.n(l),r=t(11163);let Seo=e=>{let{seo:a,uri:t,showCanonical:l,showCurrentLocation:o}=e,d=(0,r.useRouter)(),{title:s,metaDesc:c,metaRobotsNoindex:u,metaRobotsNofollow:h,opengraphDescription:m,opengraphTitle:v,opengraphImage:g,opengraphSiteName:p,canonical:_,metaKeywords:f}=a,b=d.asPath.replace("/index",""),y="".concat("https://laborability-staging.vercel.app").concat(b),x=(null==a?void 0:a.canonical)||y;return o&&(x=y),x.endsWith("/")&&(x=x.slice(0,-1)),!1===l&&(x=null),(0,i.jsx)(n.PB,{title:s,description:c||m,canonical:x,index:"index",follow:"follow",additionalMetaTags:[{property:"keywords",content:f||""},{property:"robots",content:(null==g?void 0:g.sourceUrl)?"max-image-preview:large":""}],openGraph:{type:"website",locale:"it_IT",url:x,title:v,description:m,images:[{url:null==g?void 0:g.sourceUrl,width:1280,height:720}],site_name:p},twitter:{handle:"@laborability",site:"@laborability",cardType:"summary_large_image"}})};Seo.propTypes={seo:o().object},Seo.defaultProps={seo:{canonical:"",title:"",metaDesc:"",metaRobotsNoindex:"",metaRobotsNofollow:"",opengraphDescription:"",opengraphTitle:"",opengraphImage:{sourceUrl:""},opengraphUrl:"",opengraphSiteName:""}};var d=t(9008),s=t.n(d);function HeadSeo(e){var a,t,n,l,o;let r=null!==(l=null==e?void 0:null===(a=e.seo)||void 0===a?void 0:a.schemaDetails)&&void 0!==l?l:null==e?void 0:null===(n=e.seo)||void 0===n?void 0:null===(t=n.schema)||void 0===t?void 0:t.raw;r&&r.length&&(r=r.split("".concat("https://staging.backend.laborability.com")).join("https://laborability.com"));let d=null!==(o=null==e?void 0:e.customSchema)&&void 0!==o?o:null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Seo,{seo:e.seo,uri:e.uri,showCanonical:e.showCanonical,showCurrentLocation:e.showCurrentLocation}),(0,i.jsx)(s(),{children:d?(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:d}}):r?(0,i.jsx)("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:r}},"yoastSchema"):null})]})}t(73935)},34805:function(e){e.exports={cardContainer:"slider_cardContainer__8M1Z4",sliderCard:"slider_sliderCard__sCAQE",inTransition:"slider_inTransition___hhJ4",shade:"slider_shade__rycfa",moreText:"slider_moreText__7WhwE",moreImage:"slider_moreImage__xvJzh",indicatorContainer:"slider_indicatorContainer__M_4z5",indicator:"slider_indicator__eud3u",active:"slider_active__H9QeP",light:"slider_light__E6xkD"}},73017:function(e){e.exports={cardContainer:"small-card-horizontal_cardContainer__PxHIN",cardVideoIcon:"small-card-horizontal_cardVideoIcon__pWKr_",imageContainer:"small-card-horizontal_imageContainer__TsVGO",thumbnailWrapImage:"small-card-horizontal_thumbnailWrapImage__cFTM4",cardContent:"small-card-horizontal_cardContent__B0ZPj",category:"small-card-horizontal_category__Xt7NK",data:"small-card-horizontal_data__ZzQNm",date:"small-card-horizontal_date__KvXXv",title:"small-card-horizontal_title__1nalD",bookmarkIconContainer:"small-card-horizontal_bookmarkIconContainer__t_v7d"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.