"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
Object.defineProperty(exports, "CodeMirror", {
  enumerable: true,
  get: function () {
    return _codemirror.default;
  }
});
var _codemirror = _interopRequireDefault(require("codemirror"));
require("codemirror/addon/edit/matchbrackets");
require("codemirror/addon/edit/matchtags");
require("codemirror/mode/meta");
require("codemirror/addon/dialog/dialog.js");
require("codemirror/addon/search/searchcursor.js");
require("codemirror/addon/search/search.js");
require("codemirror/addon/display/autorefresh");
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.

const importAll = r => {
  r.keys().forEach(r);
};
importAll(require.context('codemirror/mode/', true, /\.js$/));
_codemirror.default.loadMode = function (instance, mode) {
  instance.setOption('mode', mode);
};