import*as t from"../../third_party/lit/lit.js";export{Decorators,Directive,Directives,LitElement,StaticHtml,html,noChange,nothing,render,svg}from"../../third_party/lit/lit.js";import*as e from"../../core/i18n/i18n.js";const{html:o}=t.StaticHtml;function r(t,r,i){const l=t.getLocalizedStringSetFor(e.DevToolsLocale.DevToolsLocale.instance().locale).getMessageFormatterFor(r);let n=o``;for(const t of l.getAst())if(1===t.type){const e=i[t.value];e&&(n=o`${n}${e}`)}else"value"in t&&(n=o`${n}${t.value}`);return n}export{r as i18nTemplate};
