import React from "react"; import { css, cx } from "@emotion/css"; import { intersperse, sleep } from "../util"; const tripleBlink = async (el: HTMLElement) => { const delay = 150; await sleep(1000); el.style.opacity = "0.5"; await sleep(delay); el.style.opacity = "1"; await sleep(delay); el.style.opacity = "0.5"; await sleep(delay); el.style.opacity = "1"; await sleep(delay); el.style.opacity = "0.5"; await sleep(delay * 2); el.style.opacity = "1"; }; const Flicker: React.FC<{ children: React.ReactNode; index: number; description: string; }> = ({ children, index, description }) => { return ( {description} ); }; const FlickerList: React.FC<{ list: { text: string; description: string }[]; }> = ({ list }) => { return (