import { TemplateResult, html } from "lit"; export function iconToDataURI(icon: TemplateResult) { const svg = iconToString(icon); return `data:image/svg+xml;base64,${btoa(svg)}`; } export function iconToString(icon: TemplateResult) { return icon.strings.join("").replace(/\s+/g, " ").replace(/"/g, "'"); } export const faPlus = html` `; export const biPerson = html` `; export const biHdd = html` `; export const biShare = html` `; export const biDiagram3 = html` `; export const biPcDisplayHorizontal = html` `; export const biPhone = html` `; export const biRouter = html` `; export const biBroadcastPin = html` `; export const iHub = html` Layer 1 `; export const iBridge = html` Layer 1 `; export const iSwitch = html` Layer 1 `; export const biTrash = html` `; export const biAlphabet = html` `; export const biPlusSquare = html` `; export const biDashSquare = html` `; export const biEthernet = html` `; export const biWifi = html` `; export const biPCICardNetwork = html` `; export const biCloudCheck = html` `; export const biCloudPlus = html` `; export const biCloudArrowUp = html` `; export const biPencil = html` `; export const biBoxes = html` `; export const biFullscreenMaximize = html` `; export const biFullscreenMinimize = html` `;