(()=>{function N(){let L=new URLSearchParams(window.location.search).get("dev")==="true",H=Array.from(document.scripts).some((h)=>h.src.includes("http://localhost:8080/main.js"));return L&&!H}function Y(){console.log("\uD83D\uDEA7 Development mode");let L=document.createElement("script");L.src="http://localhost:8080/main.js",L.async=!1,L.defer=!0,document.head.appendChild(L)}function $(){try{let L=document.querySelectorAll('[cmslp="sponsor-logo"]');if(!L.length)return!1;if(L.length===1)L[0].style.maxHeight="10rem",L[0].style.aspectRatio="2 / 1";return!0}catch(L){return console.error("Error parsing sponsors:",L),!1}}function f(){let L=document.querySelector("[lp-form]"),H=document.querySelector("[lp-header]"),h=document.querySelector("[lp-form-container]");function x(){if(window.innerWidth>767){let M=H.getBoundingClientRect(),v=h.getBoundingClientRect().top-M.top,C=parseFloat(getComputedStyle(document.documentElement).fontSize),_=v/C;L.style.marginTop=`${-_}rem`}else L.style.marginTop="0px"}x(),window.addEventListener("resize",function(){x()})}var G='';function c(){let H=document.querySelector('[cmslp="about"]').querySelectorAll("ul");if(!H.length)return!1;return X(H),!0}function X(L){for(let H=0;H${L[H].innerHTML}`}}function Q(L){L.outerHTML=`
${G}
${L.innerHTML}
`}function O(){W();let L=document.querySelector('[cmslp="sessions"]'),H=z(),h=L.querySelectorAll("session");if(!h.length)return!1;h[0].parentElement?.classList.add("lp_sessions");for(let x=0;x${h.innerHTML}`;if(T)T.outerHTML=`

${T.innerHTML}

`;if(H&&M){if(M.outerHTML=`
${M.innerHTML}
`,x)x.remove()}else if(M&&x)M.outerHTML=`
${M.innerHTML} - ${x.innerHTML}
`,x.remove();else if(M)M.outerHTML=`
${M.innerHTML}
`;if(q)q.outerHTML=`
${q.innerHTML}
`;L.outerHTML=`
${L.innerHTML}
`}function W(){let H=document.createElement("style");H.innerHTML="name, eyebrow, description, sponsor {display:block}",document.head.appendChild(H)}function z(){let L=document.querySelector('[cmslp="watchnow"]');if(window.getComputedStyle(L).display==="none")return!1;return!0}function Z(){let L=document.querySelector('[cmslp="speakers"]'),H=document.querySelector('[cmslp="speaker-target"]');if(!L||!H)return!1;let h=L.querySelectorAll("figure");for(let x=0;x{v.appendChild(V)}),M.appendChild(q),M.appendChild(v),T.appendChild(M),h.appendChild(T)}function j(L,H,h){let x=L.shift()?.trim();if(!x)return;let T=document.createElement("div");T.classList.add("lp_speaker");let M=K(H,x);T.appendChild(M);let q=J(x);T.appendChild(q),U(L).forEach((C)=>{T.appendChild(C)}),h.appendChild(T)}function J(L,H){let h=document.createElement("div");if(h.classList.add("lp_speaker-name"),H)h.classList.add("is-featured");return h.innerText=L,h}function K(L,H,h){let x=document.createElement("img");if(x.src=L.src,x.alt=H,x.classList.add("lp_speaker_img"),h)x.classList.add("is-featured");return x.loading="lazy",x}function U(L,H){return L.map((h)=>{let{parsedDetail:x,isSpecial:T}=F(h),M=document.createElement("div");if(M.classList.add("lp_speaker-detail"),H)M.classList.add("is-featured");if(T)M.classList.add("is-special");return M.innerText=x,M})}function F(L){let H,h;if(L.trim().startsWith("{{")&&L.trim().endsWith("}}"))H=!0,h=L.trim().slice(2,-2);else H=!1,h=L.trim();return{isSpecial:H,parsedDetail:h}}function A(){let L=document.getElementById("sponsor-contact");if(!L)return!1;let H=L.getAttribute("data-title"),x=`${"https://events.industrydive.com/?utm_source=ID_editorial_events&utm_medium=web&utm_campaign=sponsorship_outreach"}&title=${encodeURIComponent(H)}#form`;return L.setAttribute("href",x),!0}function P(){let L=O(),H=c(),h=Z(),x=A(),T=$();document.addEventListener("DOMContentLoaded",async()=>{if(!L)O();if(!H)c();if(!x)A();if(!h)Z();if(!T)$();f()})}N()?Y():P();})();