1(()=>{"use strict";var t={987:(t,e,r)=>{function o(t){if(!t)return"";const e=t.includes("?")?"&":"?";return`${t}${e}utm_campaign=areapremium&utm_source=card&utm_medium=card`}function n(t){return"eventi-esterni"===t.tipo?t.evento_esterno_link_esterno||"":o(t.url)}function i(t){if(null==t||""===t)return"";if("number"==typeof t||/^\d+$/.test(String(t))){const e=Number(t);return new Date(e<1e12?1e3*e:e).toISOString()}const e=new Date(t);return isNaN(e.getTime())?"":e.toISOString()}function a(t,e){const r=new Date(i(t.endsAt)).getTime();return isNaN(r)||r>=e?"upcoming":t.vod||t.primoroundURL?"available":"soon"}function s(t,e){const r=t||{};return r[e]||r.whitepaper||""}function c(t,e){return t._occhiello?t._occhiello:s(e.wpType,t.type_service)}function l(t,e){return s(e.wpFrase,t.type_service)}function u(t,e){const r=new Date(i(t));if(isNaN(r.getTime()))return"";const o=e.months||[];return`${String(r.getDate()).padStart(2,"0")} ${o[r.getMonth()]||""} ${r.getFullYear()}`}function d(t){return String(null==t?"":t).replace(/"/g,""")}function p(t,e){const r=t.event_image||t.copertina_servizi_correlati||{},o="whitepaper"===t.tipo,n=o?"card-whitepaper_image":"card-eventi__image",i=o?e.imgSizes?.vertical:e.imgSizes?.horizontal,a=o?e.placeholder?.whitepaper:e.placeholder?.eventi,s=d(r.src||a||""),c=r.srcset?` srcset="${d(r.srcset)}"`:"",l=r.srcset&&i?` sizes="${d(i)}"`:"";return`<picture>${r.srcset_webp?`<source srcset="${d(r.srcset_webp)}" type="image/webp">`:""}<img class="${n}" src="${s}"${c}${l} alt="${d(t.alt_image||t.titolo)}" loading="lazy" data-skip-autoscale></picture>`}function m(t,e){if("eventi-esterni"===t.tipo)return""!==(t.evento_esterno_link_esterno||"");const r=e||""!==(t.hbFormId||"");return"webinar"===t.tipo?r&&""!==i(t.endsAt):r}r.d(e,{$B:()=>p,$j:()=>i,OY:()=>n,U3:()=>u,Wr:()=>o,_R:()=>a,bv:()=>l,fk:()=>m,k6:()=>c})}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var o=r(987);function n(t,e,r){if(!t||!e)return;const n=function(t,e){const r="whitepaper"===(s=t.tipo)?"whitepaper":"webinar"===s?"webinar":"eventi",n=document.getElementById(`ctsc-tpl-${r}`);var s;if(!n)return null;const c=n.content.cloneNode(!0),l=window.correlatiStrings||{};c.querySelectorAll("a").forEach((t=>{if(e)return t.setAttribute("target","_blank"),void t.setAttribute("rel","noopener noreferrer");t.removeAttribute("target"),t.removeAttribute("rel")}));const u=(0,o.Wr)(t.url);c.querySelectorAll('[data-slot="link"]').forEach((t=>t.setAttribute("href",u))),i(c,"title",t.titolo);const d=c.querySelector('[data-slot="image"]');d&&(d.innerHTML=(0,o.$B)(t,l));const p=(0,o.fk)(t,e);return"whitepaper"===r?function(t,e,r,n){if(i(t,"occhiello",(0,o.k6)(e,r)),i(t,"date",(0,o.U3)(e.data_creazione,r)),!n){const e=t.querySelector('[data-slot="ctablock"]');return void(e&&(e.classList.add("card-ctablock--empty"),e.innerHTML=""))}i(t,"frase",(0,o.bv)(e,r));const a=t.querySelector('[data-slot="cta"]');a&&(a.setAttribute("href",(0,o.OY)(e)),a.textContent=r.cta?.whitepaper||"")}(c,t,l,p):"webinar"===r?function(t,e,r,n){i(t,"occhiello",r.tipo?.webinar);const s=t.querySelectorAll("[data-state]");if(!n)return void s.forEach(((t,e)=>{0===e?(t.removeAttribute("data-state"),t.removeAttribute("data-slot"),t.classList.remove("countdown"),t.innerHTML=""):t.remove()}));const c=(0,o._R)(e,Date.now());if(s.forEach((t=>{t.getAttribute("data-state")!==c&&t.remove()})),"upcoming"===c){const o=t.querySelector('[data-slot="countdown"]');o&&a(o,e,r.cta?.webinar)}else if("available"===c){i(t,"webcast-msg",r.webcast?.available);const n=t.querySelector('[data-slot="cta-guarda"]');n&&(n.setAttribute("href",(0,o.Wr)(e.url)),n.textContent=r.cta?.guarda||"")}else i(t,"webcast-msg",r.webcast?.soon)}(c,t,l,p):function(t,e,r,o){i(t,"occhiello",r.tipo?.eventi);const n=t.querySelector('[data-slot="countdown"]');n&&(o?(n.setAttribute("data-isesterno","eventi-esterni"===e.tipo?"true":"false"),n.setAttribute("data-isforges",e.vod?"false":"true"),a(n,e,r.cta?.eventi)):n.remove())}(c,t,l,p),c.firstElementChild}(e,r);n&&(t.firstElementChild&&t.removeChild(t.firstElementChild),t.appendChild(n))}function i(t,e,r){const o=t.querySelector(`[data-slot="${e}"]`);o&&(o.textContent=r||"")}function a(t,e,r){const n=(0,o.OY)(e);t.setAttribute("data-begins",(0,o.$j)(e.beginsAt)),t.setAttribute("data-ends",(0,o.$j)(e.endsAt)),t.setAttribute("data-permalink",n);const i=t.querySelector('[data-slot="cta"]');i&&(i.setAttribute("href",n),"eventi-esterni"===e.tipo&&i.setAttribute("rel","nofollow noopener noreferrer"),i.textContent=r||"")}document.addEventListener("DOMContentLoaded",(()=>{const t=datiServiziCorrelati,e={top:document.getElementById(`correlato_top_${t.postId}`),bottom:document.getElementById(`correlato_bottom_${t.postId}`),tablet:document.getElementById(`correlato_bottom_tablet_${t.postId}`)},r=Boolean(""!==t.repositoryName&&t.endpointUrl);!async function(t,e,r,o){let i=[];try{const t=await fetch(r,{method:"GET",headers:{"Content-Type":"application/json"}}),e=await t.json();i=200===t.status?function(t){return Array.isArray(t)?t:t&&Array.isArray(t.data)?t.data:(console.warn("Correlati: risposta in formato inatteso, pool vuoto."),[])}(e):[]}catch(t){return void console.error("Errore recupero correlati: ",t)}const a=new Set(t.usedIds||[]),s=i.filter((t=>!a.has(t.id_post))).sort((()=>Math.random()-.5)).slice(0,2);n(e.top,s[0],o),n(e.bottom,s[1],o),n(e.tablet,s[1],o),t.usedIds=(t.usedIds||[]).concat(s.map((t=>t.id_post))),[e.top,e.bottom,e.tablet].forEach((t=>t&&window.ServiceTimersInit&&window.ServiceTimersInit(t)))}(t,e,r?`${t.endpointUrl}/all/${t.repositoryName}/${t.postId}`:`${t.ajaxIds}?postId=${encodeURIComponent(t.postId)}`,r)}))})();
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.