define(["exports", "vs/nls.messages-loader!", "../yaml.contribution.e4094a58", "../language/css/monaco.contribution", "../language/html/monaco.contribution", "../language/json/monaco.contribution", "../language/typescript/monaco.contribution", "require", "../editor.api.07af73bb"], function(exports, nls_messagesLoader_, yaml_contribution, language_css_monaco_contribution, language_html_monaco_contribution, language_json_monaco_contribution, language_typescript_monaco_contribution, require_, editor_api) {
  "use strict";
  function _interopNamespace(e) {
    if (e && e.__esModule)
      return e;
    const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
    if (e) {
      for (const k in e) {
        if (k !== "default") {
          const d = Object.getOwnPropertyDescriptor(e, k);
          Object.defineProperty(n, k, d.get ? d : {
            enumerable: true,
            get: () => e[k]
          });
        }
      }
    }
    n.default = e;
    return Object.freeze(n);
  }
  const require___namespace = /* @__PURE__ */ _interopNamespace(require_);
  const editor_main = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
    __proto__: null,
    CancellationTokenSource: editor_api.CancellationTokenSource,
    Emitter: editor_api.Emitter,
    KeyCode: editor_api.KeyCode,
    KeyMod: editor_api.KeyMod,
    Position: editor_api.Position,
    Range: editor_api.Range,
    Selection: editor_api.Selection,
    SelectionDirection: editor_api.SelectionDirection,
    MarkerSeverity: editor_api.MarkerSeverity,
    MarkerTag: editor_api.MarkerTag,
    Uri: editor_api.Uri,
    Token: editor_api.Token,
    editor: editor_api.editor,
    languages: editor_api.languages
  }, Symbol.toStringTag, { value: "Module" }));
  self.MonacoEnvironment = {
    getWorker: function(_moduleId, label) {
      if (label === "json") {
        return new Worker(new URL("" + new URL(require.toUrl("../assets/json.worker.b8fcf27f.js"), document.baseURI).href, self.location), {
          type: "module"
        });
      }
      if (label === "css" || label === "scss" || label === "less") {
        return new Worker(new URL("" + new URL(require.toUrl("../assets/css.worker.e8e75fcf.js"), document.baseURI).href, self.location), {
          type: "module"
        });
      }
      if (label === "html" || label === "handlebars" || label === "razor") {
        return new Worker(new URL("" + new URL(require.toUrl("../assets/html.worker.83a3adff.js"), document.baseURI).href, self.location), {
          type: "module"
        });
      }
      if (label === "typescript" || label === "javascript") {
        return new Worker(new URL("" + new URL(require.toUrl("../assets/ts.worker.73798343.js"), document.baseURI).href, self.location), {
          type: "module"
        });
      }
      return new Worker(new URL("" + new URL(require.toUrl("../assets/editor.worker.6851c6f6.js"), document.baseURI).href, self.location), {
        type: "module"
      });
    }
  };
  const styleSheetUrl = require___namespace.toUrl("vs/style.css");
  const link = document.createElement("link");
  link.rel = "stylesheet";
  link.href = styleSheetUrl;
  document.head.appendChild(link);
  exports.m = editor_main;
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
});
