{"size": 666, "ext": "js", "max_stars_repo_path": "min/trending-videos.min.js", "max_stars_repo_name": "ChyiThinkingLab/Bilibili-Evolved", "max_stars_repo_stars_event_min_datetime": "2021-03-04T01:46:30.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-03T14:56:07.000Z", "max_issues_repo_path": "min/trending-videos.min.js", "max_issues_repo_name": "ateekamori/Bilibili-Evolved", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "min/trending-videos.min.js", "max_forks_repo_name": "ateekamori/Bilibili-Evolved", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 666.0, "max_line_length": 666, "alphanum_fraction": 0.7777777778}
(()=>{return(t,e)=>{const a=()=>{if(!unsafeWindow.__INITIAL_STATE__){throw new Error("unsafeWindow.__INITIAL_STATE__ not available")}return unsafeWindow.__INITIAL_STATE__.recommendList.map(t=>{return{id:t.aid,aid:t.aid,bvid:t.bvid,timestamp:t.ctime*1e3,time:new Date(t.ctime*1e3),description:t.desc,duration:t.duration,durationText:formatDuration(t.duration),coverUrl:t.pic.replace("http:","https:"),title:t.title,coins:formatCount(t.stat.coin),danmakuCount:formatCount(t.stat.danmaku),like:formatCount(t.stat.like),playCount:formatCount(t.stat.view),upName:t.owner.name,upFaceUrl:t.owner.face.replace("http:","https:")}})};return{export:{getTrendingVideos:a}}}})();