/**
 * DevExtreme (cjs/ui/html_editor/themes/base.js)
 * Version: 23.2.6 (build 24140-0112)
 * Build date: Sun May 19 2024
 *
 * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
 * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
 */
"use strict";
exports.default = void 0;
var _devextremeQuill = _interopRequireDefault(require("devextreme-quill"));

function _interopRequireDefault(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    }
}

function _inheritsLoose(subClass, superClass) {
    subClass.prototype = Object.create(superClass.prototype);
    subClass.prototype.constructor = subClass;
    _setPrototypeOf(subClass, superClass)
}

function _setPrototypeOf(o, p) {
    _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, p) {
        o.__proto__ = p;
        return o
    };
    return _setPrototypeOf(o, p)
}
let BaseTheme;
if (_devextremeQuill.default) {
    const Theme = _devextremeQuill.default.import("core/theme");
    BaseTheme = function(_Theme) {
        _inheritsLoose(BaseTheme, _Theme);

        function BaseTheme(quill, options) {
            var _this;
            _this = _Theme.call(this, quill, options) || this;
            _this.quill.root.classList.add("dx-htmleditor-content");
            _this.quill.root.setAttribute("role", "textbox");
            _this.quill.root.setAttribute("aria-label", "Editor content");
            return _this
        }
        return BaseTheme
    }(Theme)
} else {
    BaseTheme = {}
}
var _default = BaseTheme;
exports.default = _default;
module.exports = exports.default;
module.exports.default = exports.default;
