export const __rspack_esm_id="7535";export const __rspack_esm_ids=["7535"];export const __webpack_modules__={8306(e,t,i){i.d(t,{diagram:()=>H});var r=i(51093),s=i(73825),o=i(26820),n=i(72903),a=i(90047),l=i(76338),d=i(45617),c=i(86632),h=i(92765),f=i(79723),g={L:"left",R:"right",T:"top",B:"bottom"},p={L:(0,l.K2)(e=>`${e},${e/2} 0,${e} 0,0`,"L"),R:(0,l.K2)(e=>`0,${e/2} ${e},0 ${e},${e}`,"R"),T:(0,l.K2)(e=>`0,0 ${e},0 ${e/2},${e}`,"T"),B:(0,l.K2)(e=>`${e/2},0 ${e},${e} 0,${e}`,"B")},u={L:(0,l.K2)((e,t)=>e-t+2,"L"),R:(0,l.K2)((e,t)=>e-2,"R"),T:(0,l.K2)((e,t)=>e-t+2,"T"),B:(0,l.K2)((e,t)=>e-2,"B")},m=(0,l.K2)(function(e){return k(e)?"L"===e?"R":"L":"T"===e?"B":"T"},"getOppositeArchitectureDirection"),y=(0,l.K2)(function(e){return"L"===e||"R"===e||"T"===e||"B"===e},"isArchitectureDirection"),k=(0,l.K2)(function(e){return"L"===e||"R"===e},"isArchitectureDirectionX"),x=(0,l.K2)(function(e){return"T"===e||"B"===e},"isArchitectureDirectionY"),w=(0,l.K2)(function(e,t){let i=k(e)&&x(t),r=x(e)&&k(t);return i||r},"isArchitectureDirectionXY"),b=(0,l.K2)(function(e){let t=e[0],i=e[1],r=k(t)&&x(i),s=x(t)&&k(i);return r||s},"isArchitecturePairXY"),$=(0,l.K2)(function(e){return"LL"!==e&&"RR"!==e&&"TT"!==e&&"BB"!==e},"isValidArchitectureDirectionPair"),v=(0,l.K2)(function(e,t){let i=`${e}${t}`;return $(i)?i:void 0},"getArchitectureDirectionPair"),E=(0,l.K2)(function([e,t],i){let r=i[0],s=i[1];if(k(r))if(x(s))return[e+("L"===r?-1:1),t+("T"===s?1:-1)];else return[e+("L"===r?-1:1),t];return k(s)?[e+("L"===s?1:-1),t+("T"===r?1:-1)]:[e,t+("T"===r?1:-1)]},"shiftPositionByArchitectureDirectionPair"),T=(0,l.K2)(function(e){return"LT"===e||"TL"===e?[1,1]:"BL"===e||"LB"===e?[1,-1]:"BR"===e||"RB"===e?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),I=(0,l.K2)(function(e,t){return w(e,t)?"bend":k(e)?"horizontal":"vertical"},"getArchitectureDirectionAlignment"),K=(0,l.K2)(function(e){return"service"===e.type},"isArchitectureService"),D=(0,l.K2)(function(e){return"junction"===e.type},"isArchitectureJunction"),j=(0,l.K2)(e=>e.data(),"edgeData"),L=(0,l.K2)(e=>e.data(),"nodeData"),S=a.UI.architecture,B=class{constructor(){this.nodes={},this.groups={},this.edges=[],this.registeredIds={},this.elements={},this.diagramId="",this.setAccTitle=a.SV,this.getAccTitle=a.iN,this.setDiagramTitle=a.ke,this.getDiagramTitle=a.ab,this.getAccDescription=a.m7,this.setAccDescription=a.EI,this.clear()}static{(0,l.K2)(this,"ArchitectureDB")}setDiagramId(e){this.diagramId=e}getDiagramId(){return this.diagramId}clear(){this.nodes={},this.groups={},this.edges=[],this.registeredIds={},this.dataStructures=void 0,this.elements={},this.diagramId="",(0,a.IU)()}addService({id:e,icon:t,in:i,title:r,iconText:s}){if(void 0!==this.registeredIds[e])throw Error(`The service id [${e}] is already in use by another ${this.registeredIds[e]}`);if(void 0!==i){if(e===i)throw Error(`The service [${e}] cannot be placed within itself`);if(void 0===this.registeredIds[i])throw Error(`The service [${e}]'s parent does not exist. Please make sure the parent is created before this service`);if("node"===this.registeredIds[i])throw Error(`The service [${e}]'s parent is not a group`)}this.registeredIds[e]="node",this.nodes[e]={id:e,type:"service",icon:t,iconText:s,title:r,edges:[],in:i}}getServices(){return Object.values(this.nodes).filter(K)}addJunction({id:e,in:t}){if(void 0!==this.registeredIds[e])throw Error(`The junction id [${e}] is already in use by another ${this.registeredIds[e]}`);if(void 0!==t){if(e===t)throw Error(`The junction [${e}] cannot be placed within itself`);if(void 0===this.registeredIds[t])throw Error(`The junction [${e}]'s parent does not exist. Please make sure the parent is created before this junction`);if("node"===this.registeredIds[t])throw Error(`The junction [${e}]'s parent is not a group`)}this.registeredIds[e]="node",this.nodes[e]={id:e,type:"junction",edges:[],in:t}}getJunctions(){return Object.values(this.nodes).filter(D)}getNodes(){return Object.values(this.nodes)}getNode(e){return this.nodes[e]??null}addGroup({id:e,icon:t,in:i,title:r}){if(this.registeredIds?.[e]!==void 0)throw Error(`The group id [${e}] is already in use by another ${this.registeredIds[e]}`);if(void 0!==i){if(e===i)throw Error(`The group [${e}] cannot be placed within itself`);if(this.registeredIds?.[i]===void 0)throw Error(`The group [${e}]'s parent does not exist. Please make sure the parent is created before this group`);if(this.registeredIds?.[i]==="node")throw Error(`The group [${e}]'s parent is not a group`)}this.registeredIds[e]="group",this.groups[e]={id:e,icon:t,title:r,in:i}}getGroups(){return Object.values(this.groups)}addEdge({lhsId:e,rhsId:t,lhsDir:i,rhsDir:r,lhsInto:s,rhsInto:o,lhsGroup:n,rhsGroup:a,title:l}){if(!y(i))throw Error(`Invalid direction given for left hand side of edge ${e}--${t}. Expected (L,R,T,B) got ${String(i)}`);if(!y(r))throw Error(`Invalid direction given for right hand side of edge ${e}--${t}. Expected (L,R,T,B) got ${String(r)}`);if(void 0===this.nodes[e]&&void 0===this.groups[e])throw Error(`The left-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(void 0===this.nodes[t]&&void 0===this.groups[t])throw Error(`The right-hand id [${t}] does not yet exist. Please create the service/group before declaring an edge to it.`);let d=this.nodes[e].in,c=this.nodes[t].in;if(n&&d&&c&&d==c)throw Error(`The left-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(a&&d&&c&&d==c)throw Error(`The right-hand id [${t}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);this.edges.push({lhsId:e,lhsDir:i,lhsInto:s,lhsGroup:n,rhsId:t,rhsDir:r,rhsInto:o,rhsGroup:a,title:l}),this.nodes[e]&&this.nodes[t]&&(this.nodes[e].edges.push(this.edges[this.edges.length-1]),this.nodes[t].edges.push(this.edges[this.edges.length-1]))}getEdges(){return this.edges}getDataStructures(){if(void 0===this.dataStructures){let e={},t=Object.entries(this.nodes).reduce((t,[i,r])=>(t[i]=r.edges.reduce((t,r)=>{let s=this.getNode(r.lhsId)?.in,o=this.getNode(r.rhsId)?.in;if(s&&o&&s!==o){let t=I(r.lhsDir,r.rhsDir);"bend"!==t&&(e[s]??={},e[s][o]=t,e[o]??={},e[o][s]=t)}if(r.lhsId===i){let e=v(r.lhsDir,r.rhsDir);e&&(t[e]=r.rhsId)}else{let e=v(r.rhsDir,r.lhsDir);e&&(t[e]=r.lhsId)}return t},{}),t),{}),i=Object.keys(t)[0],r={[i]:1},s=Object.keys(t).reduce((e,t)=>t===i?e:{...e,[t]:1},{}),o=(0,l.K2)(e=>{let i={[e]:[0,0]},o=[e];for(;o.length>0;){let e=o.shift();if(e){r[e]=1,delete s[e];let n=t[e],[a,l]=i[e];Object.entries(n).forEach(([e,t])=>{r[t]||(i[t]=E([a,l],e),o.push(t))})}}return i},"BFS"),n=[o(i)];for(;Object.keys(s).length>0;)n.push(o(Object.keys(s)[0]));this.dataStructures={adjList:t,spatialMaps:n,groupAlignments:e}}return this.dataStructures}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}getConfig(){return(0,n.$t)({...S,...(0,a.zj)().architecture})}getConfigField(e){return this.getConfig()[e]}},C=(0,l.K2)((e,t)=>{(0,o.S)(e,t),e.groups.map(e=>t.addGroup(e)),e.services.map(e=>t.addService({...e,type:"service"})),e.junctions.map(e=>t.addJunction({...e,type:"junction"})),e.edges.map(e=>t.addEdge(e))},"populateDb"),A={parser:{yy:void 0},parse:(0,l.K2)(async e=>{let t=await (0,d.qg)("architecture",e);l.Rm.debug(t);let i=A.parser?.yy;if(!(i instanceof B))throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");C(t,i)},"parse")},F=(0,l.K2)(e=>` .edge { stroke-width: ${e.archEdgeWidth}; stroke: ${e.archEdgeColor}; fill: none; } .arrow { fill: ${e.archEdgeArrowColor}; } .node-bkg { fill: none; stroke: ${e.archGroupBorderColor}; stroke-width: ${e.archGroupBorderWidth}; stroke-dasharray: 8; } .node-icon-text { display: flex; align-items: center; } .node-icon-text > div { color: #fff; margin: 1px; height: fit-content; text-align: center; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; } `,"getStyles"),R=(0,l.K2)(e=>`${e}`,"wrapIcon"),z={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:R('')},server:{body:R('')},disk:{body:R('')},internet:{body:R('')},cloud:{body:R('')},unknown:s.Gc,blank:{body:R("")}}},O=(0,l.K2)(async function(e,t,i,r){let o=i.getConfigField("padding"),l=i.getConfigField("iconSize"),d=l/2,c=l/6,h=c/2;await Promise.all(t.edges().map(async t=>{let{source:l,sourceDir:f,sourceArrow:g,sourceGroup:m,target:y,targetDir:$,targetArrow:E,targetGroup:I,label:K}=j(t),{x:D,y:L}=t[0].sourceEndpoint(),{x:S,y:B}=t[0].midpoint(),{x:C,y:A}=t[0].targetEndpoint(),F=o+4;if(m&&(k(f)?D+="L"===f?-F:F:L+="T"===f?-F:F+18),I&&(k($)?C+="L"===$?-F:F:A+="T"===$?-F:F+18),m||i.getNode(l)?.type!=="junction"||(k(f)?D+="L"===f?d:-d:L+="T"===f?d:-d),I||i.getNode(y)?.type!=="junction"||(k($)?C+="L"===$?d:-d:A+="T"===$?d:-d),t[0]._private.rscratch){let t=e.insert("g");if(t.insert("path").attr("d",`M ${D},${L} L ${S},${B} L${C},${A} `).attr("class","edge").attr("id",`${r}-${(0,n.rY)(l,y,{prefix:"L"})}`),g){let e=k(f)?u[f](D,c):D-h,i=x(f)?u[f](L,c):L-h;t.insert("polygon").attr("points",p[f](c)).attr("transform",`translate(${e},${i})`).attr("class","arrow")}if(E){let e=k($)?u[$](C,c):C-h,i=x($)?u[$](A,c):A-h;t.insert("polygon").attr("points",p[$](c)).attr("transform",`translate(${e},${i})`).attr("class","arrow")}if(K){let e=w(f,$)?"XY":k(f)?"X":"Y",i=0;i="X"===e?Math.abs(D-C):"Y"===e?Math.abs(L-A)/1.5:Math.abs(D-C)/2;let r=t.append("g");if(await (0,s.GZ)(r,K,{useHtmlLabels:!1,width:i,classes:"architecture-service-label"},(0,a.D7)()),r.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),"X"===e)r.attr("transform","translate("+S+", "+B+")");else if("Y"===e)r.attr("transform","translate("+S+", "+B+") rotate(-90)");else if("XY"===e){let e=v(f,$);if(e&&b(e)){let t=r.node().getBoundingClientRect(),[i,s]=T(e);r.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*i*s*45})`);let o=r.node().getBoundingClientRect();r.attr("transform",` translate(${S}, ${B-t.height/2}) translate(${i*o.width/2}, ${s*o.height/2}) rotate(${-1*i*s*45}, 0, ${t.height/2}) `)}}}}}))},"drawEdges"),M=(0,l.K2)(async function(e,t,i,r){let o=.75*i.getConfigField("padding"),n=i.getConfigField("fontSize"),l=i.getConfigField("iconSize")/2;await Promise.all(t.nodes().map(async t=>{let d=L(t);if("group"===d.type){let{h:c,w:h,x1:f,y1:g}=t.boundingBox(),p=e.append("rect");p.attr("id",`${r}-group-${d.id}`).attr("x",f+l).attr("y",g+l).attr("width",h).attr("height",c).attr("class","node-bkg");let u=e.append("g"),m=f,y=g;if(d.icon){let e=u.append("g");e.html(`${await (0,s.WY)(d.icon,{height:o,width:o,fallbackPrefix:z.prefix})}`),e.attr("transform","translate("+(m+l+1)+", "+(y+l+1)+")"),m+=o,y+=n/2-1-2}if(d.label){let e=u.append("g");await (0,s.GZ)(e,d.label,{useHtmlLabels:!1,width:h,classes:"architecture-service-label"},(0,a.D7)()),e.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),e.attr("transform","translate("+(m+l+4)+", "+(y+l+2)+")")}i.setElementForId(d.id,p)}}))},"drawGroups"),P=(0,l.K2)(async function(e,t,i,r){let o=(0,a.D7)();for(let n of i){let i=t.append("g"),l=e.getConfigField("iconSize");if(n.title){let e=i.append("g");await (0,s.GZ)(e,n.title,{useHtmlLabels:!1,width:1.5*l,classes:"architecture-service-label"},o),e.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),e.attr("transform","translate("+l/2+", "+l+")")}let d=i.append("g");if(n.icon)d.html(`${await (0,s.WY)(n.icon,{height:l,width:l,fallbackPrefix:z.prefix})}`);else if(n.iconText){d.html(`${await (0,s.WY)("blank",{height:l,width:l,fallbackPrefix:z.prefix})}`);let e=d.append("g").append("foreignObject").attr("width",l).attr("height",l).append("div").attr("class","node-icon-text").attr("style",`height: ${l}px;`).append("div").html((0,a.jZ)(n.iconText,o)),t=parseInt(window.getComputedStyle(e.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;e.attr("style",`-webkit-line-clamp: ${Math.floor((l-2)/t)};`)}else d.append("path").attr("class","node-bkg").attr("id",`${r}-node-${n.id}`).attr("d",`M0,${l} V5 Q0,0 5,0 H${l-5} Q${l},0 ${l},5 V${l} Z`);i.attr("id",`${r}-service-${n.id}`).attr("class","architecture-service");let{width:c,height:h}=i.node().getBBox();n.width=c,n.height=h,e.setElementForId(n.id,i)}return 0},"drawServices"),_=(0,l.K2)(function(e,t,i,r){i.forEach(i=>{let s=t.append("g"),o=e.getConfigField("iconSize");s.append("g").append("rect").attr("id",`${r}-node-${i.id}`).attr("fill-opacity","0").attr("width",o).attr("height",o),s.attr("class","architecture-junction");let{width:n,height:a}=s._groups[0][0].getBBox();s.width=n,s.height=a,e.setElementForId(i.id,s)})},"drawJunctions");function G(e,t,i){e.forEach(e=>{t.add({group:"nodes",data:{type:"service",id:e.id,icon:e.icon,label:e.title,parent:e.in,width:i.getConfigField("iconSize"),height:i.getConfigField("iconSize")},classes:"node-service"})})}function Y(e,t,i){e.forEach(e=>{t.add({group:"nodes",data:{type:"junction",id:e.id,parent:e.in,width:i.getConfigField("iconSize"),height:i.getConfigField("iconSize")},classes:"node-junction"})})}function Z(e,t){t.nodes().map(t=>{let i=L(t);"group"===i.type||(i.x=t.position().x,i.y=t.position().y,e.getElementById(i.id).attr("transform","translate("+(i.x||0)+","+(i.y||0)+")"))})}function N(e,t){e.forEach(e=>{t.add({group:"nodes",data:{type:"group",id:e.id,icon:e.icon,label:e.title,parent:e.in},classes:"node-group"})})}function X(e,t){e.forEach(e=>{let{lhsId:i,rhsId:r,lhsInto:s,lhsGroup:o,rhsInto:n,lhsDir:a,rhsDir:l,rhsGroup:d,title:c}=e,h=w(e.lhsDir,e.rhsDir)?"segments":"straight",f={id:`${i}-${r}`,label:c,source:i,sourceDir:a,sourceArrow:s,sourceGroup:o,sourceEndpoint:"L"===a?"0 50%":"R"===a?"100% 50%":"T"===a?"50% 0":"50% 100%",target:r,targetDir:l,targetArrow:n,targetGroup:d,targetEndpoint:"L"===l?"0 50%":"R"===l?"100% 50%":"T"===l?"50% 0":"50% 100%"};t.add({group:"edges",data:f,classes:h})})}function J(e,t,i){let r=(0,l.K2)((e,t)=>Object.entries(e).reduce((e,[r,s])=>{let o=0,n=Object.entries(s);if(1===n.length)return e[r]=n[0][1],e;for(let s=0;s{let i={},s={};return Object.entries(t).forEach(([t,[r,o]])=>{let n=e.getNode(t)?.in??"default";i[o]??={},i[o][n]??=[],i[o][n].push(t),s[r]??={},s[r][n]??=[],s[r][n].push(t)}),{horiz:Object.values(r(i,"horizontal")).filter(e=>e.length>1),vert:Object.values(r(s,"vertical")).filter(e=>e.length>1)}}).reduce(([e,t],{horiz:i,vert:r})=>[[...e,...i],[...t,...r]],[[],[]]);return{horizontal:s,vertical:o}}function W(e,t){let i=[],r=(0,l.K2)(e=>`${e[0]},${e[1]}`,"posToStr"),s=(0,l.K2)(e=>e.split(",").map(e=>parseInt(e)),"strToPos");return e.forEach(e=>{let o=Object.fromEntries(Object.entries(e).map(([e,t])=>[r(t),e])),n=[r([0,0])],a={},l={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};for(;n.length>0;){let e=n.shift();if(e){a[e]=1;let d=o[e];if(d){let c=s(e);Object.entries(l).forEach(([e,s])=>{let l=r([c[0]+s[0],c[1]+s[1]]),h=o[l];h&&!a[l]&&(n.push(l),i.push({[g[e]]:h,[g[m(e)]]:d,gap:1.5*t.getConfigField("iconSize")}))})}}}}),i}function q(e,t,i,r,s,{spatialMaps:o,groupAlignments:n}){return new Promise(a=>{let d=(0,f.Ltv)("body").append("div").attr("id","cy").attr("style","display:none"),h=(0,c.A)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge[label]",style:{label:"data(label)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${s.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${s.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});d.remove(),N(i,h),G(e,h,s),Y(t,h,s),X(r,h);let g=J(s,o,n),p=W(o,s),u=s.getConfigField("iconSize"),m=s.getConfigField("idealEdgeLengthMultiplier")*u,y=.5*u,k=s.getConfigField("edgeElasticity"),w=h.layout({name:"fcose",quality:"proof",randomize:s.getConfigField("randomize"),nodeSeparation:s.getConfigField("nodeSeparation"),numIter:s.getConfigField("numIter"),styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(e){let[t,i]=e.connectedNodes(),{parent:r}=L(t),{parent:s}=L(i);return r===s?m:y},edgeElasticity(e){let[t,i]=e.connectedNodes(),{parent:r}=L(t),{parent:s}=L(i);return r===s?k:.001},alignmentConstraint:g,relativePlacementConstraint:p});w.one("layoutstop",()=>{function e(e,t,i,r){let s,o,{x:n,y:a}=e,{x:l,y:d}=t;o=(r-a+(n-i)*(a-d)/(n-l))/Math.sqrt(1+Math.pow((a-d)/(n-l),2)),s=Math.sqrt(Math.pow(r-a,2)+Math.pow(i-n,2)-Math.pow(o,2))/Math.sqrt(Math.pow(l-n,2)+Math.pow(d-a,2));let c=(l-n)*(r-a)-(d-a)*(i-n);switch(!0){case c>=0:c=1;break;case c<0:c=-1}let h=(l-n)*(i-n)+(d-a)*(r-a);switch(!0){case h>=0:h=1;break;case h<0:h=-1}return{distances:o=Math.abs(o)*c,weights:s*=h}}for(let t of((0,l.K2)(e,"getSegmentWeights"),h.startBatch(),Object.values(h.edges())))if(t.data?.()){let{x:i,y:r}=t.source().position(),{x:s,y:o}=t.target().position();if(i!==s&&r!==o){let i=t.sourceEndpoint(),r=t.targetEndpoint(),{sourceDir:s}=j(t),[o,n]=x(s)?[i.x,r.y]:[r.x,i.y],{weights:a,distances:l}=e(i,r,o,n);t.style("segment-distances",l),t.style("segment-weights",a)}}h.endBatch(),w.run()}),w.run(),h.ready(e=>{l.Rm.info("Ready",e),a(h)})})}(0,s.pC)([{name:z.prefix,icons:z}]),c.A.use(h),(0,l.K2)(G,"addServices"),(0,l.K2)(Y,"addJunctions"),(0,l.K2)(Z,"positionNodes"),(0,l.K2)(N,"addGroups"),(0,l.K2)(X,"addEdges"),(0,l.K2)(J,"getAlignments"),(0,l.K2)(W,"getRelativeConstraints"),(0,l.K2)(q,"layoutArchitecture");var H={parser:A,get db(){return new B},renderer:{draw:(0,l.K2)(async(e,t,i,s)=>{let o=s.db;o.setDiagramId(t);let n=o.getServices(),l=o.getJunctions(),d=o.getGroups(),c=o.getEdges(),h=o.getDataStructures(),f=(0,r.D)(t),g=f.append("g");g.attr("class","architecture-edges");let p=f.append("g");p.attr("class","architecture-services");let u=f.append("g");u.attr("class","architecture-groups"),await P(o,p,n,t),_(o,p,l,t);let m=await q(n,l,d,c,o,h);await O(g,m,o,t),await M(u,m,o,t),Z(o,m),(0,a.ot)(void 0,f,o.getConfigField("padding"),o.getConfigField("useMaxWidth"))},"draw")},styles:F}},26820(e,t,i){function r(e,t){e.accDescr&&t.setAccDescription?.(e.accDescr),e.accTitle&&t.setAccTitle?.(e.accTitle),e.title&&t.setDiagramTitle?.(e.title)}i.d(t,{S:()=>r}),(0,i(76338).K2)(r,"populateCommonDb")}};