"use strict";
var _a;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const chunkFPAJGGOC = require("./dist-chunks-mermaid-parser.core-chunk-FPAJGGOC.cjs");
const fileSystemProvider = require("../../langium/lib-workspace-file-system-provider.cjs");
const dependencyInjection = require("../../langium/lib-dependency-injection.cjs");
const defaultModule = require("../../langium/lib-default-module.cjs");
var RadarTokenBuilder = (_a = class extends chunkFPAJGGOC.AbstractMermaidTokenBuilder {
  constructor() {
    super(["radar-beta"]);
  }
}, chunkFPAJGGOC.__name(_a, "RadarTokenBuilder"), _a);
var RadarModule = {
  parser: {
    TokenBuilder: /* @__PURE__ */ chunkFPAJGGOC.__name(() => new RadarTokenBuilder(), "TokenBuilder"),
    ValueConverter: /* @__PURE__ */ chunkFPAJGGOC.__name(() => new chunkFPAJGGOC.CommonValueConverter(), "ValueConverter")
  }
};
function createRadarServices(context = fileSystemProvider.EmptyFileSystem) {
  const shared = dependencyInjection.inject(
    defaultModule.createDefaultSharedCoreModule(context),
    chunkFPAJGGOC.MermaidGeneratedSharedModule
  );
  const Radar = dependencyInjection.inject(
    defaultModule.createDefaultCoreModule({ shared }),
    chunkFPAJGGOC.RadarGeneratedModule,
    RadarModule
  );
  shared.ServiceRegistry.register(Radar);
  return { shared, Radar };
}
chunkFPAJGGOC.__name(createRadarServices, "createRadarServices");
exports.RadarModule = RadarModule;
exports.createRadarServices = createRadarServices;
//# sourceMappingURL=dist-chunks-mermaid-parser.core-chunk-LHMN2FUI.cjs.map
