"use strict";const gspbInviewObserves=document.getElementsByClassName("gspb-inview"),gspbInviewMotionObserves=document.getElementsByClassName("gs-motion-inview"),gspbInviewMotionChildObserves=document.querySelectorAll(".gs-motion-inview-child > *");function GSgreenThrottle(e,n){let t;return function(){let i=arguments;t||(e.apply(this,i),t=!0,setTimeout(()=>t=!1,n))}}function GSgreenIsElementInViewport(e){let n=e.getBoundingClientRect();return n.top<=(window.innerHeight||document.documentElement.clientHeight)&&n.bottom>=0&&n.left<=(window.innerWidth||document.documentElement.clientWidth)&&n.right>=0}function GSgreenHandleScroll(){[...gspbInviewObserves,...gspbInviewMotionObserves,...gspbInviewMotionChildObserves].forEach(e=>{GSgreenIsElementInViewport(e)&&!e.classList.contains("gspb-inview-active")&&setTimeout(()=>{e.classList.add("gspb-inview-active")},10)})}const GSgreenThrottledHandleScroll=GSgreenThrottle(GSgreenHandleScroll,100);GSgreenHandleScroll(),window.addEventListener("scroll",GSgreenThrottledHandleScroll),window.addEventListener("resize",GSgreenThrottledHandleScroll);