var _a;
import { Markup } from "@bokehjs/models/widgets/markup";
import { PanelMarkupView } from "./layout";
class MathJaxView extends PanelMarkupView {
    render() {
        super.render();
        this.container.innerHTML = this.has_math_disabled() ? this.model.text : this.process_tex(this.model.text);
    }
}
MathJaxView.__name__ = "MathJaxView";
export { MathJaxView };
class MathJax extends Markup {
    constructor(attrs) {
        super(attrs);
    }
}
_a = MathJax;
MathJax.__name__ = "MathJax";
MathJax.__module__ = "panel.models.mathjax";
(() => {
    _a.prototype.default_view = MathJaxView;
})();
export { MathJax };
//# sourceMappingURL=mathjax.js.map