!function(e){"use strict";e(".close-btn").click(function(){if(e(".custom-model-main").length>0){e(".custom-model-main").removeClass("model-open");const t=e(".pop-up-content-wrap iframe");t.attr("src","");const n=t.clone();t.replaceWith(n)}}),document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("video-ss");function t(){const e=document.querySelector(".playButton");e&&e.remove()}function n(){e.paused||e.pause()}function o(){e.paused&&e.play().catch(e=>{console.error("Failed to play video:",e)})}e&&(e&&e.play().catch(n=>{e.muted=!0,e.play().catch(n=>{const o=document.createElement("button");o.className="playButton",o.textContent="Play Video",o.style.position="absolute",o.style.top="50%",o.style.left="50%",o.style.transform="translate(-50%, -50%)",o.style.zIndex="1000",o.addEventListener("click",()=>{e.play(),t()});const c=document.querySelector(".home-media-banner__content-section");c?c.appendChild(o):(console.error('Element with class "home-media-banner__content-section" not found'),document.body.appendChild(o))})}),document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState?n():"visible"===document.visibilityState&&o()}),window.addEventListener("blur",()=>{n()}),window.addEventListener("focus",()=>{o()}),e.addEventListener("play",t))})}(jQuery);; !function(){"use strict";jQuery(document).ready(function(){var o=setInterval(function(){if(!jQuery("form.mktoForm").hasClass("mb-mk-loaded")&&void 0!==window.MktoForms2&&void 0!==window.loadMarketoForm){clearInterval(o);let r=jQuery("form.mktoForm").attr("data-munchkin"),t=jQuery("form.mktoForm").attr("data-formid");window.loadMarketoForm(r,t)}},500)})}(jQuery);;