export function bindData(text, data) { return text.replace(/{{(.*?)}}/g, (_, key) => { return data[key.trim()] ?? ""; }); }