(()=>{"use strict";window.dataLayer=window.dataLayer||[],document.addEventListener("DOMContentLoaded",()=>{window.pageData&&window.pageData.postTerms.forEach(a=>{window.dataLayer.push({event:"pageTerm",pageTerm:a})})})})(); //# sourceMappingURL=PageData.js.map; (()=>{"use strict";const e=function(e){return e.classList.contains("gform_wrapper")?"gravity-forms":e.classList.contains("hs-form")?"hubspot":"loginform"===e.id||"wp-login-form"===e.id?"log-in":e.classList.contains("search-form")||e.querySelector('input[type="search"]')?"search":"other"};document.addEventListener("DOMContentLoaded",()=>{!function(){const t=new Set,n=n=>{const{form:r}=n.target;if(!r)return;const o=r.id||r.name;if(t.has(o))return;t.add(o);const a=window.location.href,s=n.target.name||"Unnamed Element";let i=r.name||r.id||"Unnamed Form";if(r.classList.contains("gform_wrapper")){const e=r.querySelector(".gform_title");e&&(i=e.textContent||e.innerText)}window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"form_start",form_location:a,form_element:s,form_name:i,form_type:e(r)})};document.querySelectorAll("form").forEach(e=>{e.addEventListener("input",n),e.addEventListener("change",n)})}(),function(){function t(e){const t=[];return e.querySelectorAll(".validation_message").forEach(e=>{const n=e.textContent.trim();if(n){const r=e.parentElement.querySelector("label")?.textContent,o=e.parentElement.querySelector("legend")?.textContent;t.push({field:o||r,message:n})}}),t}function n(e){const t=[];for(const n of e.elements)n.willValidate&&!n.validity.valid&&t.push({field:n.name,message:n.validationMessage});return t}const r=r=>{console.log("errors");const o=r.closest(".gform_wrapper"),a=window.location.href,s=r.name||"Unnamed Element",i=(e=>{if(e.closest(".gform_wrapper")){const t=e.querySelector(".gform_title");return t?t.textContent.trim():e.name||e.id||"Unnamed Form"}return e.name||e.id||"Unnamed Form"})(r);window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"form_fails",form_name:i,form_location:a,form_element:s,form_errors:o?t(r):n(r),form_type:e(r)})},o=e=>{const t=e.target;t.closest(".gform_wrapper")||r(t)};jQuery(document).on("gform_post_render",(e,t,n)=>{var o;(o=document.getElementById(`gform_${t}`)).querySelectorAll(".gfield_error").length>0&&r(o)}),document.querySelectorAll("form").forEach(e=>{e.addEventListener("submit",o)})}()})})(); //# sourceMappingURL=Forms.js.map; (()=>{const e=function(e){const t=document.querySelector(".site-header");if(!t)return;let n;try{n=JSON.parse(e)}catch(e){return}const s=n?.title.length?n.title:"Live Stream",i=document.createElement("a");i.href="/live/",i.classList.add("live-now");const o=document.createElement("span");o.classList.add("live-now__ticker");const a=document.createElement("span");a.textContent=s,a.classList.add("live-now__item");const c=document.createElement("span");c.textContent="Watch Now",c.classList.add("live-now__pill"),a.appendChild(c),o.appendChild(a),i.appendChild(o),t.prepend(i);const d=Math.ceil(1920/o.offsetWidth)-1;for(let e=0;e6e4&&t(e)}}else t()})();; !function(){document.body.setAttribute("id","top");let e=0;const t=()=>{const t=window.innerWidth-document.documentElement.clientWidth;e=Math.max(e,t),document.body.style.setProperty("--wh-scrollbar-width-max",`${e}px`),document.body.style.setProperty("--wh-scrollbar-width",`${t}px`)};window.addEventListener("resize",t),new MutationObserver(t).observe(document.body,{attributes:!0,attributeFilter:["class"]}),t();const n="has-keyboard-focus";let o=!1;window.addEventListener("keydown",(e=>{e.defaultPrevented||o||("Tab"===e.key||"Enter"===e.key||e.altKey)&&(o=!0,document.body.classList.add(n))})),window.addEventListener("mousedown",(e=>{!e.defaultPrevented&&o&&(o=!1,document.body.classList.remove(n))})),document.addEventListener("DOMContentLoaded",(()=>{const e="has-format-animated-highlight",t=document.querySelectorAll(`.${e}`);if(!t.length)return;const n=[];let o=!1;const s=t=>{if(o&&!t)return;const d=n.shift();d?(d.classList.add(`${e}--visible`),o=setTimeout(s,100,!0)):o=!1},d=new IntersectionObserver((t=>{t.forEach((t=>{var o;t.isIntersecting&&(o=t.target,n.includes(o)||o.classList.contains(`${e}--visible`)||(n.push(o),s(!1)))}))}),{root:null,rootMargin:"0px 0px -25% 0px",threshold:0});t.forEach((e=>d.observe(e)))}))}();;