import{_ as n,d as l,n as o,j as d}from"./mermaid.core-BMua9uWp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"66e9b849450b819e11683314a547a341cb57f7d0"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="75937454-8d77-4b9b-b669-9e18fa37de25",e._sentryDebugIdIdentifier="sentry-dbid-75937454-8d77-4b9b-b669-9e18fa37de25")}catch{}})();var y=n((e,t)=>{const r=e.append("rect");if(r.attr("x",t.x),r.attr("y",t.y),r.attr("fill",t.fill),r.attr("stroke",t.stroke),r.attr("width",t.width),r.attr("height",t.height),t.name&&r.attr("name",t.name),t.rx&&r.attr("rx",t.rx),t.ry&&r.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)r.attr(s,t.attrs[s]);return t.class&&r.attr("class",t.class),r},"drawRect"),p=n((e,t)=>{const r={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};y(e,r).lower()},"drawBackgroundRect"),x=n((e,t)=>{const r=t.text.replace(o," "),s=e.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(r),s},"drawText"),f=n((e,t,r,s)=>{const a=e.append("image");a.attr("x",t),a.attr("y",r);const i=d.sanitizeUrl(s);a.attr("xlink:href",i)},"drawImage"),g=n((e,t,r,s)=>{const a=e.append("use");a.attr("x",t),a.attr("y",r);const i=d.sanitizeUrl(s);a.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),m=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),h=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),b=n(()=>{let e=l(".mermaidTooltip");return e.empty()&&(e=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),e},"createTooltip");export{p as a,h as b,b as c,y as d,g as e,f,m as g,x as h};
//# sourceMappingURL=chunk-YZCP3GAM-BIXpV5VM.js.map
