import { computed as i, toValue as r } from "vue";
function l(s, u) {
  return i(() => {
    const t = r(s);
    if (!t) return "";
    const o = r(u), e = t.messageId, n = typeof e == "number" ? e.toString() : e ?? "";
    return (n ? o == null ? void 0 : o[n] : void 0) ?? t.subText ?? "";
  });
}
export {
  l as useSubtextTooltip
};
