<% try { %> <% if (ID === "UCFAiFyGs6oDiF1Nf-rRJpZA") { %> Technoblade Never Dies! - PokeTube <% } %> <%=j.Channel?.Metadata.Name%> - PokeTube <% if (j.Channel?.Metadata.Banners.Thumbnail) { %> <% } %> <% if(!isMobile) { %> <% } %> <% if (isMobile) { %> <% } %> <% if (!isMobile) { %> <% } %> <% if (isMobile) { %> <% } %> <% if (cinv.error) { %>

<%- cinv.error %> - literally 1984 lmao

<% } %>
<% if (!cinv.error) { %> <% if (!isMobile) { %>
<% if (j?.Channel?.Metadata?.Banners.Thumbnail) { %> <% } %>
" class="avatar"> " alt="Channel Avatar"> <% if (cinv?.authorVerified) { %> <% } %>

<%=j.Channel?.Metadata.Name%> <% if (cinv?.authorVerified) { %> <% } %> @<%- cinv.authorId %>@youtube.com

<%=subs%> subscribers

<% try { %> <%- getFirstLine(cinv.description).slice(0, 60) || "More from this channel (soon)"%> <% } catch (error) { %>

Error: <%= error.message %>

<% } %>

<% if (!isMobile) { %>
<% if (!tab) { %> Videos <% if (Array.isArray(shorts?.videos)) { %> <% if (shorts.videos[0]) { %> <% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> <% } %> <% if (Array.isArray(stream?.videos)) { %> <% if (stream.videos[0]) { %> <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> <% } %> <% if (Array.isArray(c?.comments)) { %> <% if (c.comments.length != "0") { %> Community <% } %> <% } %> <% if (Array.isArray(playlist?.playlists)) { %> <% if (playlist.playlists.length != "0") { %> Playlists <% } %> <% } %> <% } %> <% if (tab === "playlist") { %> Videos <% if (Array.isArray(shorts?.videos)) { %> <% if (shorts.videos[0]) { %> <% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> <% } %> <% if (Array.isArray(stream?.videos)) { %> <% if (stream.videos[0]) { %> <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> <% } %> <% if (Array.isArray(c?.comments)) { %> <% if (c.comments.length != "0") { %> Community <% } %> <% } %> <% if (Array.isArray(playlist?.playlists)) { %> <% if (playlist.playlists.length != "0") { %> Playlists <% } %> <% } %> <% } %> <% if (tab === "about") { %> Videos <% if (Array.isArray(shorts?.videos)) { %> <% if (shorts.videos[0]) { %> <% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> <% } %> <% if (Array?.isArray(stream?.videos)) { %> <% if (stream?.videos[0]) { %> <% if (turntomins(stream?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> <% } %> <% if (Array?.isArray(c?.comments)) { %> <% if (c?.comments?.length != "0") { %> Community <% } %> <% } %> <% } %> <% if (tab === "community") { %> Videos <% if (Array?.isArray(shorts?.videos)) { %> <% if (turntomins(shorts?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> <% if (Array?.isArray(stream?.videos)) { %> <% if (stream?.videos[0]) { %> <% if (turntomins(stream?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> <% } %> Community <% if (Array.isArray(playlist?.playlists)) { %> <% if (playlist.playlists.length != "0") { %> Playlists <% } %> <% } %> <% } %> <% if (tab === "shorts") { %> Videos <% if (Array?.isArray(shorts?.videos)) { %> Shorts <% } %> <% if (Array?.isArray(stream?.videos)) { %> <% if (stream?.videos[0]) { %> <% if (turntomins(stream?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> <% } %> <% if (Array?.isArray(c?.comments)) { %> <% if (c?.comments?.length != "0") { %> Community <% } %> <% } %> <% if (Array.isArray(playlist?.playlists)) { %> <% if (playlist.playlists.length != "0") { %> Playlists <% } %> <% } %> <% } %> <% 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 <% } %> <% } %> <% } %>
<% } %>
<% } %> <% if (isMobile) { %>
<% if (j.Channel?.Metadata.Banners.Thumbnail) { %> <% } %>
Channel Avatar

<%=j.Channel?.Metadata.Name%>

<%=subs%> subscribers

<%-getFirstLine(cinv.description)%>

<% if (isMobile) { %>
<% if (!tab) { %> Videos <% if (turntomins(shorts?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% if (Array.isArray(c.comments)) { %> <% if (c.comments.length != "0") { %> Community <% } %> <% } %> <% if (Array?.isArray(shorts?.videos)) { %> <% } %> <% } %> <% if (tab ==="about") { %> Videos <% if (Array?.isArray(shorts?.videos)) { %> <% if (turntomins(shorts?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> Community <% } %> <% if (tab ==="community") { %> Videos <% if (Array?.isArray(shorts?.videos)) { %> <% if (turntomins(shorts?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> Community <% } %> <% if (tab ==="shorts") { %> Videos <% if (Array?.isArray(shorts?.videos)) { %> <% if (turntomins(shorts?.videos[0]?.lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> <% } %> Community <% } %>
<% } %>
<% } %>
<% if (!tab) { %>
<% if (!isMobile) { %>
<% if (sort == "newest") { %> Recently Uploaded Popular Oldest <% } %> <% if (sort) { %> <% if (sort === "popular") { %> Recently Uploaded Popular Oldest <% } %> <% if (sort === "oldest") { %> Recently Uploaded Popular Oldest <% } %> <% } %>
<% } %> <% if (isMobile) { %>
Sort by
<% if (sort == "newest") { %> Recently Uploaded Popular Oldest <% } %> <% if (sort) { %> <% if (sort === "popular") { %> Recently Uploaded Popular Oldest <% } %> <% if (sort === "oldest") { %> Recently Uploaded Popular Oldest <% } %> <% } %>
<% } %>
<% if (Array.isArray( tj?.videos)) { %> <% tj.videos.forEach (x => { %>
<%- turntomins(x.lengthSeconds) %>
<%- x.title %>
<% }) %> <% } %>
<% if (tj?.continuation) { %> <% } %> <% } %> <% if (tab === "shorts") { %>
<% if (!isMobile) { %>
<% } %>
<% if (Array?.isArray( shorts.videos)) { %> <% shorts.videos.forEach (x => { %> <%- x.title %> <% }) %> <% } %>
<% if (shorts?.continuation) { %> <% } %> <% } %> <% if (tab === "live") { %>
<% if (isMobile) { %>
<% if (!sort) { %> Recently Uploaded Popular <% } %> <% if (sort) { %> Recently Uploaded Popular <% } %>
<% } %>
<% if (Array.isArray( stream.videos)) { %> <% stream.videos.forEach (x => { %>
<%- turntomins(x.lengthSeconds) %>
<%- x.title %>
<% }) %> <% } %>
<% if (stream?.continuation) { %> <% } %> <% } %> <% if (tab === "playlist") { %>
<% if (Array.isArray(playlist.playlists)) { %> <% playlist.playlists.forEach (x => { %>
<%- x.videoCount %> Videos
<%- x.title %>
<% }) %> <% } %>
<% } %> <% if (tab === "community") { %> <% if (Array?.isArray( c?.comments)) { %>
<% c?.comments?.forEach (x => { %>

<%=j.Channel?.Metadata.Name%>
<%- x.publishedText %> - <%- convert(x.likeCount) %> likes

<%- x.contentHtml %>

<% if (x.attachment) { %> <% if (x.attachment.type === "video") { %>
<% } %> <% if (x.attachment.type === "image") { %> <% if (x.attachment.imageThumbnails[4] ) { %> <% } %> <% } %> <% } %>
<% }) %> <% } %> <% } %> <% if (tab === "about") { %> <% if (!isMobile) { %>

About

<% if (cinv.descriptionHtml) { %>

<%-cinv.descriptionHtml%>

<% } %>
<% } %> <% if (isMobile) { %>

About

<% if (cinv.descriptionHtml) { %>

<%-cinv.descriptionHtml%>

<% } %> <% } %>
<% } %> <% if (!isMobile) { %> <% } %> <% } %> <% } %> <% } catch (error) { %> <% } %>