<% if (!tab) { %>
Videos
<% if (Array.isArray(shorts.videos)) { %>
<% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %>
Shorts
<% } %>
<% } %>
<% if (Array.isArray(stream.videos)) { %>
<% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %>
Live
<% } %>
<% } %>
<% if (Array.isArray(c.comments)) { %>
<% if (c.comments.length != "0") { %>
Community
<% } %>
<% } %>
About
<% } %>
<% if (tab === "about") { %>
Videos
<% if (Array.isArray(shorts.videos)) { %>
<% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %>
Shorts
<% } %>
<% } %>
<% if (Array.isArray(stream.videos)) { %>
<% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %>
Live
<% } %>
<% } %>
<% if (Array.isArray(c.comments)) { %>
<% if (c.comments.length != "0") { %>
Community
<% } %>
<% } %>
About
<% } %>
<% if (tab === "community") { %>
Videos
<% if (Array.isArray(shorts.videos)) { %>
<% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %>
Shorts
<% } %>
<% } %>
<% if (Array.isArray(stream.videos)) { %>
<% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %>
Live
<% } %>
<% } %>
Community
About
<% } %>
<% if (tab === "shorts") { %>
Videos
<% if (Array.isArray(shorts.videos)) { %>
Shorts
<% } %>
<% if (Array.isArray(stream.videos)) { %>
<% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %>
Live
<% } %>
<% } %>
<% if (Array.isArray(c.comments)) { %>
<% if (c.comments.length != "0") { %>
Community
<% } %>
<% } %>
About
<% } %>
<% if (tab === "live") { %>
Videos
<% if (Array.isArray(shorts.videos)) { %>
<% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %>
Shorts
<% } %>
<% } %>
<% if (Array.isArray(stream.videos)) { %>
Live
<% } %>
<% if (Array.isArray(c.comments)) { %>
<% if (c.comments.length != "0") { %>
Community
<% } %>
<% } %>
About
<% } %>
<% } %>