import $ from "jquery"; import _ from "lodash"; import tippy, {delegate} from "tippy.js"; import render_message_inline_image_tooltip from "../templates/message_inline_image_tooltip.hbs"; import render_narrow_to_compose_recipients_tooltip from "../templates/narrow_to_compose_recipients_tooltip.hbs"; import * as common from "./common"; import * as compose_state from "./compose_state"; import {$t} from "./i18n"; import * as message_lists from "./message_lists"; import * as narrow_state from "./narrow_state"; import * as popover_menus from "./popover_menus"; import * as reactions from "./reactions"; import * as recent_topics_util from "./recent_topics_util"; import * as rows from "./rows"; import * as timerender from "./timerender"; import {parse_html} from "./ui_util"; // For tooltips without data-tippy-content, we use the HTML content of // a