const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/info-VBDWY6EO-CGO0EO1-.js","assets/chunk-TCCFYFTB-D8fT1Sn9.js","assets/rolldown-runtime-BgcJHyDD.js","assets/isEmpty-D6mGZo7B.js","assets/isArrayLikeObject-fBL6V3e8.js","assets/_baseUniq-C8FjClyy.js","assets/_basePickBy-Cw7imS8d.js","assets/clone-DXPfBvlw.js","assets/chunk-FRFDVMJY-CZfoaoMG.js","assets/packet-DYOGHKS2-Ct56PG5h.js","assets/chunk-SJTYNZTY-hMKG413w.js","assets/pie-VRWISCQL-DP4augAB.js","assets/chunk-PL6DKKU2-uijhESSy.js","assets/architecture-7HQA4BMR-C0H75P0P.js","assets/chunk-UMXZTB3W-CasEVQjv.js","assets/gitGraph-G5XIXVHT-DrwKz1TT.js","assets/chunk-4F5CHEZ2-SlFiqk-h.js","assets/radar-ZZBFDIW7-DOOG20W_.js","assets/chunk-TQ3KTPDO-tyVcqMEc.js","assets/treemap-GDKQZRPO-Be4gBfa-.js","assets/chunk-B2363JML-BVFT3QDG.js"])))=>i.map(i=>d[i]);
import{t as r}from"./index-BYiVQTb4.js";import{f as e}from"./chunk-TCCFYFTB-D8fT1Sn9.js";import"./chunk-UMXZTB3W-CasEVQjv.js";import"./chunk-4F5CHEZ2-SlFiqk-h.js";import"./chunk-FRFDVMJY-CZfoaoMG.js";import"./chunk-SJTYNZTY-hMKG413w.js";import"./chunk-PL6DKKU2-uijhESSy.js";import"./chunk-TQ3KTPDO-tyVcqMEc.js";import"./chunk-B2363JML-BVFT3QDG.js";var a={},t={info:e(async()=>{const{createInfoServices:e}=await r(async()=>{const{createInfoServices:r}=await import("./info-VBDWY6EO-CGO0EO1-.js");return{createInfoServices:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8]));a.info=e().Info.parser.LangiumParser},"info"),packet:e(async()=>{const{createPacketServices:e}=await r(async()=>{const{createPacketServices:r}=await import("./packet-DYOGHKS2-Ct56PG5h.js");return{createPacketServices:r}},__vite__mapDeps([9,1,2,3,4,5,6,7,10]));a.packet=e().Packet.parser.LangiumParser},"packet"),pie:e(async()=>{const{createPieServices:e}=await r(async()=>{const{createPieServices:r}=await import("./pie-VRWISCQL-DP4augAB.js");return{createPieServices:r}},__vite__mapDeps([11,1,2,3,4,5,6,7,12]));a.pie=e().Pie.parser.LangiumParser},"pie"),architecture:e(async()=>{const{createArchitectureServices:e}=await r(async()=>{const{createArchitectureServices:r}=await import("./architecture-7HQA4BMR-C0H75P0P.js");return{createArchitectureServices:r}},__vite__mapDeps([13,1,2,3,4,5,6,7,14]));a.architecture=e().Architecture.parser.LangiumParser},"architecture"),gitGraph:e(async()=>{const{createGitGraphServices:e}=await r(async()=>{const{createGitGraphServices:r}=await import("./gitGraph-G5XIXVHT-DrwKz1TT.js");return{createGitGraphServices:r}},__vite__mapDeps([15,1,2,3,4,5,6,7,16]));a.gitGraph=e().GitGraph.parser.LangiumParser},"gitGraph"),radar:e(async()=>{const{createRadarServices:e}=await r(async()=>{const{createRadarServices:r}=await import("./radar-ZZBFDIW7-DOOG20W_.js");return{createRadarServices:r}},__vite__mapDeps([17,1,2,3,4,5,6,7,18]));a.radar=e().Radar.parser.LangiumParser},"radar"),treemap:e(async()=>{const{createTreemapServices:e}=await r(async()=>{const{createTreemapServices:r}=await import("./treemap-GDKQZRPO-Be4gBfa-.js");return{createTreemapServices:r}},__vite__mapDeps([19,1,2,3,4,5,6,7,20]));a.treemap=e().Treemap.parser.LangiumParser},"treemap")};async function c(r,e){const c=t[r];if(!c)throw new Error(`Unknown diagram type: ${r}`);a[r]||await c();const i=a[r].parse(e);if(i.lexerErrors.length>0||i.parserErrors.length>0)throw new s(i);return i.value}e(c,"parse");var s=class extends Error{constructor(r){super(`Parsing failed: ${r.lexerErrors.map(r=>r.message).join("\n")} ${r.parserErrors.map(r=>r.message).join("\n")}`),this.result=r}static{e(this,"MermaidParseError")}};export{c as t};