const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/info-VBDWY6EO-DQh89EYE.js","assets/chunk-TCCFYFTB-mEr1sK7s.js","assets/rolldown-runtime-BgcJHyDD.js","assets/isEmpty-CjOgaJwP.js","assets/isArrayLikeObject-Dp8YuccB.js","assets/_baseUniq-CI5xu_8h.js","assets/_basePickBy-B6gG3Trn.js","assets/clone-D2cJod13.js","assets/chunk-FRFDVMJY-DfQ9vfEO.js","assets/packet-DYOGHKS2-BczaGvvK.js","assets/chunk-SJTYNZTY-CL6xSD83.js","assets/pie-VRWISCQL-D9IYDi5N.js","assets/chunk-PL6DKKU2-CFMRug_R.js","assets/architecture-7HQA4BMR-CPVxp8tt.js","assets/chunk-UMXZTB3W-CJTUp_g2.js","assets/gitGraph-G5XIXVHT-BFaw0hLx.js","assets/chunk-4F5CHEZ2-Cr59LrcQ.js","assets/radar-ZZBFDIW7-DbUwX8ds.js","assets/chunk-TQ3KTPDO-Du0-FWwu.js","assets/treemap-GDKQZRPO-BU3rel6B.js","assets/chunk-B2363JML-DmeIgp23.js"])))=>i.map(i=>d[i]);
import{H as r}from"./index-Bhc7Xumz.js";import{f as e}from"./chunk-TCCFYFTB-mEr1sK7s.js";import"./chunk-UMXZTB3W-CJTUp_g2.js";import"./chunk-4F5CHEZ2-Cr59LrcQ.js";import"./chunk-FRFDVMJY-DfQ9vfEO.js";import"./chunk-SJTYNZTY-CL6xSD83.js";import"./chunk-PL6DKKU2-CFMRug_R.js";import"./chunk-TQ3KTPDO-Du0-FWwu.js";import"./chunk-B2363JML-DmeIgp23.js";var a={},t={info:e(async()=>{const{createInfoServices:e}=await r(async()=>{const{createInfoServices:r}=await import("./info-VBDWY6EO-DQh89EYE.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-BczaGvvK.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-D9IYDi5N.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-CPVxp8tt.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-BFaw0hLx.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-DbUwX8ds.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-BU3rel6B.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};