const s=(e,r)=>{const i=()=>window.innerHeight||document.documentElement.clientHeight,t=r||0,o=e.getBoundingClientRect();return o.top===0&&o.bottom===0?!1:o.top>t*-1&&o.bottom{clearTimeout(e),e=setTimeout(()=>{this.considerShotsViewed()},500)}),setTimeout(this.considerShotsViewed.bind(this),1e3)},getScreenshotsInViewPort(){return $(".js-thumbnail[id^=screenshot-]").filter(function(){return s(this,30)})},considerShotsViewed(){this.getScreenshotsInViewPort().each((r,i)=>{const t=parseInt(i.id.split("-")[1],10);Dribbble.Shots.logView(t)})}};Dribbble.LargeShotViewRecorder.start(); //# sourceMappingURL=large-shot-view-recorder-e20cbed5.js.map