export function playSVG(namespace: string): SVGElement { const NS = "http://www.w3.org/2000/svg"; const $svg = document.createElementNS(NS, "svg"); $svg.setAttribute("class", `${namespace}-footer-icon-play`); $svg.setAttribute("viewBox", "0 0 500 500"); const $path = document.createElementNS(NS, "path"); $path.setAttribute("fill", "currentColor"); $path.setAttribute( "d", "M418.158 257.419L174.663 413.33c-6.017 3.919-15.708 3.772-21.291-.29-2.791-2.018-4.295-4.483-4.295-7.084V94.109c0-5.65 6.883-10.289 15.271-10.289 4.298 0 8.391 1.307 11.181 3.332l242.629 155.484c6.016 3.917 6.451 10.292.649 14.491-.216.154-.432.154-.649.292zM170.621 391.288l223.116-141.301L170.71 107.753l-.089 283.535z" ); $svg.appendChild($path); return $svg; }