Dribbble.TeaserStats={init(e){const t=$("#main ol.dribbbles>li");$(e).each((n,i)=>{const s=$(`ol.dribbbles li#screenshot-${i.id}`);i.rebounds_count>0?s.find(".has-rebounds").html(numberWithDelimiter(i.rebounds_count)).closest("a").show():i.is_rebound&&s.find(".is-rebound").closest("a").show(),i.attachments_count>0&&s.find(".attachments-mark").show(),i.likeCount=new Dribbble.TeaserStats.LikeCount(i,s),i.likeCount.render()}),t.find(".js-shot-details-container").css({visibility:"visible"})}};Dribbble.TeaserStats.LikeCount=function(e,t){let n;return{initialized:!1,init(){this.initialized||(n=t.find(".js-shot-likes-container"),User.loggedIn()||t.find("a.like-shot").attr({"data-signup-trigger":"","data-context":"like-shot"}),this.initialized=!0)},render(){this.init(),n.find(".js-shot-likes-count").html(numberWithDelimiter(e.likes_count)),n.toggleClass("marked",e.liked)}}};typeof newShots<"u"&&(Dribbble.Shots.add(newShots),Dribbble.TeaserStats.init(newShots)); //# sourceMappingURL=teaser-stats-496115f2.js.map