This page embeds widget.js the way a tenant's site would. Chat goes to the
gateway's web webhook and streams replies over SSE; voice mints a LiveKit token from the
gateway and talks to the voice worker over WebRTC. Keep this tab visible during a call:
browsers mute the microphone of background tabs.
Query parameters work too: ?gateway=https://gw.example&tenant=slt&lang=ta&accent=%23ffd500&position=left
<script src="https://<your-vercel-domain>/widget.js"
data-gateway="https://<gateway domain>"
data-tenant="slt" data-lang="si"
data-accent="#0e6f73" data-radius="16"
data-avatar="https://www.slt.lk/img/nimali.png"
data-position="right" data-title="Nimali"></script>