${profile(state)}
${template(state, emit)}
${fileList(state)}
const choo = require('choo'); const html = require('choo/html'); const nanotiming = require('nanotiming'); const download = require('./download'); const footer = require('../templates/footer'); const fxPromo = require('../templates/fxPromo'); const signupPromo = require('../templates/signupPromo'); const activeBackground = require('../templates/activeBackground'); const fileList = require('../templates/fileList'); const profile = require('../templates/userAccount'); nanotiming.disabled = true; const app = choo(); function banner(state, emit) { if (state.promo && !state.route.startsWith('/unsupported/')) { return fxPromo(state, emit); } } function body(template) { return function(state, emit) { const b = html`
${banner(state, emit)}