/******/ (() => { // webpackBootstrap
/*!************************************************************************!*\
  !*** ./assets/src/filters/animation-control/animation-view-control.js ***!
  \************************************************************************/
document.addEventListener('DOMContentLoaded', () => {
  const els = document.querySelectorAll('.thim-animated');
  const observer = new IntersectionObserver((entries, obs) => {
    entries.forEach(entry => {
      if (entry.isIntersecting) {
        entry.target.classList.add('in-view');
        obs.unobserve(entry.target);
      }
    });
  }, {
    threshold: 0.2
  });
  els.forEach(el => {
    el.classList.remove('in-view');
    observer.observe(el);
  });
});
/******/ })()
;
//# sourceMappingURL=animation-view-control.js.map