/* Scoped to: ss-technology-template-testimonial_experience */
(function() {
  'use strict';
  var componentRoots = document.querySelectorAll('[data-component-slug="ss-technology-template-testimonial_experience"]');
  componentRoots.forEach(function(componentRoot) {
    // Helper to query within component, with fallback to document for sibling elements
    var $ = function(sel) { 
      return componentRoot.querySelector(sel) || document.querySelector('[data-component-slug="ss-technology-template-testimonial_experience"] ~ ' + sel) || document.querySelector(sel);
    };
    var $$ = function(sel) { 
      var results = componentRoot.querySelectorAll(sel);
      return results.length ? results : document.querySelectorAll(sel);
    };
    // Original component JS runs in this scope
    (function() { setTimeout(function() { const track = document.getElementById("testimonialTrack"); if(!track) return; const slides = track.querySelectorAll(".testimonial-slide"); if(slides.length < 2) return; let index = 0; const intervalTime = 3000; function nextSlide() { index = (index + 1) % slides.length; track.style.transform = `translateX(-${index * 100}%)`; } let slideInterval = setInterval(nextSlide, intervalTime); track.parentElement.addEventListener('mouseenter', () => { clearInterval(slideInterval); }); track.parentElement.addEventListener('mouseleave', () => { slideInterval = setInterval(nextSlide, intervalTime); }); }, 100); })();
  });
})();