<% const has = p => parts.includes(p); %> <% if (has('alerts')) { %> <% } %> <% if (has('chat')) { %><% } %> <% if (has('poll')) { %><% } %> <% if (has('hypebar')) { %><% } %> <% if (has('raid')) { %><% } %> <% if (has('video')) { %><% } %> <%# Now playing (Feishin) is switched off for now. To bring it back: add 'nowplaying' to PARTS in src/routers/overlay.js, uncomment the /nowplaying route in src/app.js and restore the NOWPLAYING lines here: (inside an if (has('nowplaying'))) (same) the nowplaying line in ws.onmessage below %> <% if (has('chat')) { %>
style="--chat-left:<%= chatBox.left %>px; --chat-top:<%= chatBox.top %>px; --chat-width:<%= chatBox.width %>px; --chat-height:<%= chatBox.height %>px;"<% } %>>
<% } %> <% if (has('alerts')) { %>
<% } %> <% if (has('chat')) { %><% } %> <% if (has('alerts')) { %> <% } %> <% if (has('poll')) { %><% } %> <% if (has('hypebar')) { %><% } %> <% if (has('raid')) { %><% } %> <% if (has('video')) { %><% } %> <% const extSrc = (n, v) => `/ext/${settings.overlay_id}/${n}?vol=${v}`; %> <% if (ext.on.includes('hudfx')) { %> <% } %> <% if (ext.on.includes('blerp')) { const b = ext.blerp; %> <% } %>