(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".telex-masonry-carousel").forEach((function(t){const e=parseInt(t.getAttribute("data-scroll-speed"))||5,n="true"===t.getAttribute("data-pause-on-hover"),a=t.querySelectorAll(".telex-masonry-track"),o=60-45*(e-1)/9;a.forEach((function(t){t.style.animationDuration=o+"s"})),n&&(t.addEventListener("mouseenter",(function(){a.forEach((function(t){t.style.animationPlayState="paused"}))})),t.addEventListener("mouseleave",(function(){a.forEach((function(t){t.style.animationPlayState="running"}))})))}))}))})();