(props)
| 6498 | function loadFamilies(id, families) { |
| 6499 | const wanted = families.filter((f2) => f2 && f2 !== FONT_DEFAULT && BY_FAMILY.has(f2)); |
| 6500 | const existing = Array.from(document.querySelectorAll(`link[data-glowify-fonts="${id}"]`)); |
| 6501 | const hrefs = []; |
| 6502 | for (let i2 = 0; i2 < wanted.length; i2 += CHUNK_SIZE) { |
| 6503 | const query = wanted.slice(i2, i2 + CHUNK_SIZE).map((f2) => `family=${encodeURIComponent(f2).replace(/%20/g, "+")}:wght@400;500;700`).join("&"); |
| 6504 | hrefs.push(`https://fonts.googleapis.com/css2?${query}&display=swap`); |
| 6505 | } |
nothing calls this directly
no outgoing calls
no test coverage detected