/* ToolTalk samples viewer. One page per set (a static Space pinned to a set) or one page for every set (the copy inside the dataset repository, with a set switch). Every form of a call on one time axis: the studio tracks (agent mic, customer mic, and the ambient noise bed where there is one) and the combined stereo (processed or plain), grouped and labeled, with an exclusive "listen to" switch so only one group is audible; a tool-call marker strip with hairlines through every row; and beside the waveforms, when the window is wide enough, the current tool call as its function signature with the result, and the log. Plain JS, no dependencies. Data: /sets.json, then //data/metadata.jsonl, .../derived/peaks/.json and .../derived/websafe/_{agent,customer,noise,combined}.mp3 (falls back to the wavs named in the metadata row). All text via textContent. Playback: four