!function(){function t(){document.querySelectorAll(".fb-marquee-slider-container").forEach(function(t){if(!t.dataset.blockId)return;const e=t.dataset.swiperSettings;if(!e)return;let n={};try{n=JSON.parse(e)}catch(t){return void console.error("Invalid Swiper settings JSON",t)}const o=t.querySelector(".fb-marquee-swiper");if(!o)return;const i=new Swiper(o,{...n});if(o.addEventListener("click",()=>{i.autoplay&&i.autoplay.start()}),o.addEventListener("touchstart",()=>{i.autoplay&&i.autoplay.start()}),n.navigation?.nextEl){const t=n.navigation.nextEl.match(/\.([^ ]+)/);if(t){const e=t[1],n=document.querySelector(`.${e}`);if(n){const t=n.querySelector(".fb-news-ticker-pause-btn");t&&t.addEventListener("click",function(){i.autoplay?.running?(i.autoplay.stop(),t.classList.add("paused")):(i.autoplay.start(),t.classList.remove("paused"))})}}}})}var e=!1;!function(){if(!e&&(e=!0,"complete"===document.readyState||"interactive"===document.readyState?setTimeout(t,100):document.addEventListener("DOMContentLoaded",function(){setTimeout(t,100)}),"undefined"!=typeof window)){var n=window.location.href;new MutationObserver(function(){n!==window.location.href&&(n=window.location.href,setTimeout(t,300))}).observe(document.body,{childList:!0,subtree:!0})}}(),window.reinitSliders=t}();