"use strict";
var _a;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const chunk4KMFLZZN = require("./dist-chunks-mermaid-parser.core-chunk-4KMFLZZN.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 GitGraphTokenBuilder = (_a = class extends chunk4KMFLZZN.AbstractMermaidTokenBuilder {
  constructor() {
    super(["gitGraph"]);
  }
}, chunk4KMFLZZN.__name(_a, "GitGraphTokenBuilder"), _a);
var GitGraphModule = {
  parser: {
    TokenBuilder: /* @__PURE__ */ chunk4KMFLZZN.__name(() => new GitGraphTokenBuilder(), "TokenBuilder"),
    ValueConverter: /* @__PURE__ */ chunk4KMFLZZN.__name(() => new chunk4KMFLZZN.CommonValueConverter(), "ValueConverter")
  }
};
function createGitGraphServices(context = fileSystemProvider.EmptyFileSystem) {
  const shared = dependencyInjection.inject(
    defaultModule.createDefaultSharedCoreModule(context),
    chunk4KMFLZZN.MermaidGeneratedSharedModule
  );
  const GitGraph = dependencyInjection.inject(
    defaultModule.createDefaultCoreModule({ shared }),
    chunk4KMFLZZN.GitGraphGeneratedModule,
    GitGraphModule
  );
  shared.ServiceRegistry.register(GitGraph);
  return { shared, GitGraph };
}
chunk4KMFLZZN.__name(createGitGraphServices, "createGitGraphServices");
exports.GitGraphModule = GitGraphModule;
exports.createGitGraphServices = createGitGraphServices;
//# sourceMappingURL=dist-chunks-mermaid-parser.core-chunk-BN7GFLIU.cjs.map
