Generates an inline SVG string encoding the given URL.
On first call, lazy-loads qrcode-generator (~4 KB chunk). The QR uses
type-number 0 (auto) and error-correction level "M" — a balanced choice
for URLs up to ~360 chars while staying scannable at small sizes.
Parameters
url: string
URL to encode. Caller is responsible for length checks.
Returns Promise<string>
SVG markup, safe to inject via DOMSecurity.setSafeHTML.
Generates an inline SVG string encoding the given URL.
On first call, lazy-loads
qrcode-generator(~4 KB chunk). The QR uses type-number 0 (auto) and error-correction level "M" — a balanced choice for URLs up to ~360 chars while staying scannable at small sizes.