const html = require('choo/html'); const assets = require('../../common/assets'); const { copyToClipboard } = require('../utils'); module.exports = function(url) { return function(state, emit, close) { return html`