@shaohui_jin/git-cockpit-mcp-server 0.1.28 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-HXRA3DSL.js → chunk-DGQHHNPC.js} +3 -3
- package/dist/{chunk-OSTBV522.js → chunk-ML64BPIL.js} +104 -8
- package/dist/chunk-ML64BPIL.js.map +1 -0
- package/dist/{chunk-DK7VEJFY.js → chunk-WT4GTWHD.js} +2 -2
- package/dist/{chunk-DK7VEJFY.js.map → chunk-WT4GTWHD.js.map} +1 -1
- package/dist/cli-entry.js +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/{mcpServer-5C8WQYy6.d.ts → mcpServer-D_ee0o_0.d.ts} +1 -1
- package/dist/mcpServer.d.ts +2 -2
- package/dist/mcpServer.js +1 -1
- package/dist/{runtime-BHX-b-Hx.d.ts → runtime-jfih-vGV.d.ts} +2 -1
- package/dist/web/assets/{abnfDiagram-O67JEVCF-BxKTIPvt.js → abnfDiagram-O67JEVCF-BvLOOVMp.js} +1 -1
- package/dist/web/assets/{arc-BFKkJjPp.js → arc-BTJdMR9U.js} +1 -1
- package/dist/web/assets/{architectureDiagram-NJMV4G6O-DwuGbjcP.js → architectureDiagram-NJMV4G6O-Cuu0BD8t.js} +1 -1
- package/dist/web/assets/{blockDiagram-BEXU5L5S-DQtfpBon.js → blockDiagram-BEXU5L5S-jSaqNPDC.js} +1 -1
- package/dist/web/assets/{c4Diagram-YGBWAQC7-DQEx6b-X.js → c4Diagram-YGBWAQC7-0PABaygh.js} +1 -1
- package/dist/web/assets/channel-CH0mBqDy.js +1 -0
- package/dist/web/assets/{chunk-2Q5K7J3B-BZZAc8A2.js → chunk-2Q5K7J3B-Bx3ShJLs.js} +1 -1
- package/dist/web/assets/{chunk-3FUC2YCW-BKsUOX0P.js → chunk-3FUC2YCW-npJuWQgM.js} +2 -2
- package/dist/web/assets/{chunk-5VM5RSS4-DS8_TMNo.js → chunk-5VM5RSS4-sUx0MLUK.js} +1 -1
- package/dist/web/assets/{chunk-GTNCS2PH-upTfZMjS.js → chunk-GTNCS2PH-BO6MsgyZ.js} +1 -1
- package/dist/web/assets/{chunk-GWA4HPMP-BKqnDCMe.js → chunk-GWA4HPMP-CS_7AIEI.js} +1 -1
- package/dist/web/assets/{chunk-JWPE2WC7-DRg2DW5G.js → chunk-JWPE2WC7-BIEqnMSy.js} +1 -1
- package/dist/web/assets/{chunk-NETBCI7D-D-NIf3Jh.js → chunk-NETBCI7D-DWDPVhzE.js} +1 -1
- package/dist/web/assets/{chunk-WEXAMYUT-C-ODRuff.js → chunk-WEXAMYUT-CZmF6ztf.js} +1 -1
- package/dist/web/assets/{chunk-XXDRQBXY-CyL5e2d_.js → chunk-XXDRQBXY-C7ux97rA.js} +1 -1
- package/dist/web/assets/{classDiagram-v2-NBCMYWYE-CK5THZs3.js → classDiagram-v2-NBCMYWYE-DMFHgo6y.js} +1 -1
- package/dist/web/assets/{cose-bilkent-JH36ORCC-02-3CpJi.js → cose-bilkent-JH36ORCC-CHcf0ChD.js} +1 -1
- package/dist/web/assets/{cynefin-OW5HDTMX-CAexhoXe.js → cynefin-OW5HDTMX-BVOPFxoX.js} +1 -1
- package/dist/web/assets/{cynefinDiagram-VND7K2PF-BJF_eeoU.js → cynefinDiagram-VND7K2PF-D3MWGh5_.js} +1 -1
- package/dist/web/assets/{dagre-6A5THRUB-C6GL7ERH.js → dagre-6A5THRUB-BBXhvs_s.js} +1 -1
- package/dist/web/assets/{diagram-22UHCM2B-Ds8n2rH1.js → diagram-22UHCM2B-BpXFmuft.js} +1 -1
- package/dist/web/assets/{diagram-3UASUU5V-Dqf7ZoXN.js → diagram-3UASUU5V-BQvfr6_4.js} +1 -1
- package/dist/web/assets/{diagram-ATOU4E4O-m7aUBWki.js → diagram-ATOU4E4O-DpVGu2ct.js} +1 -1
- package/dist/web/assets/{diagram-CDSNMT55-DRH4aoMQ.js → diagram-CDSNMT55-CMhnvQ9p.js} +1 -1
- package/dist/web/assets/{diagram-MLGK6HIB-BcpYvpQA.js → diagram-MLGK6HIB-CMUiUB5V.js} +1 -1
- package/dist/web/assets/{diagram-MPIPVDR6-Bi0PAW2v.js → diagram-MPIPVDR6-DAEDT1M_.js} +1 -1
- package/dist/web/assets/{ebnfDiagram-ZINNZB2B-qlPQrozl.js → ebnfDiagram-ZINNZB2B--teB4gEh.js} +1 -1
- package/dist/web/assets/{elk-276RUBZZ-DMAkKBgQ.js → elk-276RUBZZ-DTJ8porF.js} +1 -1
- package/dist/web/assets/{erDiagram-OPXOYQCR-Twfp1387.js → erDiagram-OPXOYQCR-Cu8sQHj7.js} +1 -1
- package/dist/web/assets/{flowDiagram-KWPJA3E3-C2dUfvWx.js → flowDiagram-KWPJA3E3-C3YlGYFe.js} +1 -1
- package/dist/web/assets/{ganttDiagram-FUAMR5RP-BaPxeXq3.js → ganttDiagram-FUAMR5RP-InE3Qjdk.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-X574FWY7-_hPb8CT4.js → gitGraphDiagram-X574FWY7-W9cDxWIt.js} +1 -1
- package/dist/web/assets/{index-DYyaZxyF.css → index-D6wYxAVF.css} +1 -1
- package/dist/web/assets/{index-BFkHoNBz.js → index-z64JVqEI.js} +155 -155
- package/dist/web/assets/{infoDiagram-VRGFBTTK-Du4dCYJ4.js → infoDiagram-VRGFBTTK-Cs_MZzVX.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-OU5B5YK6-DDKBcmep.js → ishikawaDiagram-OU5B5YK6-CYNBwCgu.js} +1 -1
- package/dist/web/assets/{journeyDiagram-ZHPQQLJL-CL0kUw14.js → journeyDiagram-ZHPQQLJL-M_8xlDc6.js} +1 -1
- package/dist/web/assets/{kanban-definition-PNTS6WVX-BEE1vcNj.js → kanban-definition-PNTS6WVX-DJM9NnPd.js} +1 -1
- package/dist/web/assets/{linear-Dub9pXXw.js → linear-D2pugD8L.js} +1 -1
- package/dist/web/assets/{mindmap-definition-NLK3R4M7-DoKDp1pJ.js → mindmap-definition-NLK3R4M7-Ej_zTWtJ.js} +1 -1
- package/dist/web/assets/{pegDiagram-GJSIUBJH-ODJ_Yd0b.js → pegDiagram-GJSIUBJH-C1eyhBDj.js} +1 -1
- package/dist/web/assets/{pieDiagram-5QR66LMP-Cmyperfp.js → pieDiagram-5QR66LMP-ciGhrblI.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-O4NWA36T-aypd2R_C.js → quadrantDiagram-O4NWA36T-8MJ_CUFe.js} +1 -1
- package/dist/web/assets/{railroadDiagram-XR7U4H2S-BI36mUxb.js → railroadDiagram-XR7U4H2S-CrBQOwD0.js} +1 -1
- package/dist/web/assets/{requirementDiagram-PLB6GJNP-DMp_AH1O.js → requirementDiagram-PLB6GJNP-glZ4Tl5M.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-IPEJSGJF-CYcGOg3G.js → sankeyDiagram-IPEJSGJF-C87eVSmR.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-PO4LG4MO-ChZB8RbV.js → sequenceDiagram-PO4LG4MO-C4kD0n6_.js} +1 -1
- package/dist/web/assets/{sizeCapture-INFHLROL-BqqVL3Rt.js → sizeCapture-INFHLROL-C3egfWS7.js} +1 -1
- package/dist/web/assets/{stateDiagram-v2-GCMORJYK-DZvh8NA2.js → stateDiagram-v2-GCMORJYK-miD15x9p.js} +1 -1
- package/dist/web/assets/{swimlanes-2SLR337P-B2UuTxFK.js → swimlanes-2SLR337P-RFbVR5iD.js} +1 -1
- package/dist/web/assets/swimlanesDiagram-TC7HE7FX-DQeW6-o5.js +8 -0
- package/dist/web/assets/{timeline-definition-EJHVYXUP-C_eH7hMc.js → timeline-definition-EJHVYXUP-DjpYQNiI.js} +1 -1
- package/dist/web/assets/{usecaseDiagram-POWQR4AR-yPvynT6u.js → usecaseDiagram-POWQR4AR-BIo58LtF.js} +1 -1
- package/dist/web/assets/{vennDiagram-UO4OBE2U-8NH9xysg.js → vennDiagram-UO4OBE2U-D7wQezYC.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-VNRHLVJA-8YoREFYM.js → wardleyDiagram-VNRHLVJA-DwhQUOY8.js} +1 -1
- package/dist/web/assets/{xychartDiagram-PMCCYNJV-Bjj7znot.js → xychartDiagram-PMCCYNJV-B0cVFGsf.js} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/webServer.d.ts +1 -1
- package/dist/webServer.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-OSTBV522.js.map +0 -1
- package/dist/web/assets/channel-SnOBxP58.js +0 -1
- package/dist/web/assets/swimlanesDiagram-TC7HE7FX-BoTo_Fcu.js +0 -8
- /package/dist/{chunk-HXRA3DSL.js.map → chunk-DGQHHNPC.js.map} +0 -0
package/dist/web/assets/{blockDiagram-BEXU5L5S-DQtfpBon.js → blockDiagram-BEXU5L5S-jSaqNPDC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Fe}from"./chunk-5VM5RSS4-DS8_TMNo.js";import{aJ as Me,aK as me,aL as Ke,aM as Ye,aN as We,aO as Ve,aP as Ue,aQ as He,aR as Xe,aS as Ge,aT as je,aU as qe,aV as Je,aW as Ze,aX as Qe,aY as $e,aZ as et,a_ as tt,a$ as st,b0 as rt,b1 as it,b2 as at,b3 as nt,b4 as ot,b5 as ct,_ as h,L as U,k as J,b6 as lt,av as ut,d as gt,l as y,A as ht,C as dt,D as pt,E as ft,F as St,G as xt,c as ye,az as Lt,aC as mt,b7 as yt,m as bt,b8 as wt,am as be,b9 as Et,an as _t}from"./index-BFkHoNBz.js";import{G as Dt}from"./graph-DcfhsBxO.js";import{c as Tt}from"./channel-SnOBxP58.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";function Nt(e){return Array.isArray(e)}function It(e){if(Me(e))return e;const a=me(e);if(!Ot(e))return{};if(Nt(e)){const r=Array.from(e);return e.length>0&&typeof e[0]=="string"&&Object.hasOwn(e,"index")&&(r.index=e.index,r.input=e.input),r}if(Ke(e)){const r=e,l=r.constructor;return new l(r.buffer,r.byteOffset,r.length)}if(a==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(a==="[object DataView]"){const r=e,l=r.buffer,p=r.byteOffset,s=r.byteLength,g=new ArrayBuffer(s),x=new Uint8Array(l,p,s);return new Uint8Array(g).set(x),new DataView(g)}if(a==="[object Boolean]"||a==="[object Number]"||a==="[object String]"){const r=e.constructor,l=new r(e.valueOf());return a==="[object String]"?vt(l,e):re(l,e),l}if(a==="[object Date]")return new Date(Number(e));if(a==="[object RegExp]"){const r=e,l=new RegExp(r.source,r.flags);return l.lastIndex=r.lastIndex,l}if(a==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(a==="[object Map]"){const r=e,l=new Map;return r.forEach((p,s)=>{l.set(s,p)}),l}if(a==="[object Set]"){const r=e,l=new Set;return r.forEach(p=>{l.add(p)}),l}if(a==="[object Arguments]"){const r=e,l={};return re(l,r),l.length=r.length,l[Symbol.iterator]=r[Symbol.iterator],l}const c={};return At(c,e),re(c,e),Ct(c,e),c}function Ot(e){switch(me(e)){case ct:case ot:case nt:case at:case it:case rt:case st:case tt:case et:case $e:case Qe:case Ze:case Je:case qe:case je:case Ge:case Xe:case He:case Ue:case Ve:case We:case Ye:return!0;default:return!1}}function re(e,a){for(const c in a)Object.hasOwn(a,c)&&(e[c]=a[c])}function Ct(e,a){const c=Object.getOwnPropertySymbols(a);for(let r=0;r<c.length;r++){const l=c[r];Object.prototype.propertyIsEnumerable.call(a,l)&&(e[l]=a[l])}}function vt(e,a){const c=a.valueOf().length;for(const r in a)Object.hasOwn(a,r)&&(Number.isNaN(Number(r))||Number(r)>=c)&&(e[r]=a[r])}function At(e,a){const c=Object.getPrototypeOf(a);c!==null&&typeof a.constructor=="function"&&Object.setPrototypeOf(e,c)}var ae=(function(){var e=h(function(T,d,i,o){for(i=i||{},o=T.length;o--;i[T[o]]=d);return i},"o"),a=[1,15],c=[1,7],r=[1,13],l=[1,14],p=[1,19],s=[1,16],g=[1,17],x=[1,18],L=[8,30],S=[8,10,21,28,29,30,31,39,43,46],E=[1,23],A=[1,24],z=[8,10,15,16,21,28,29,30,31,39,43,46],_=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],I={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:h(function(d,i,o,u,m,t,O){var n=t.length-1;switch(m){case 4:u.getLogger().debug("Rule: separator (NL) ");break;case 5:u.getLogger().debug("Rule: separator (Space) ");break;case 6:u.getLogger().debug("Rule: separator (EOF) ");break;case 7:u.getLogger().debug("Rule: hierarchy: ",t[n-1]),u.setHierarchy(t[n-1]);break;case 8:u.getLogger().debug("Stop NL ");break;case 9:u.getLogger().debug("Stop EOF ");break;case 10:u.getLogger().debug("Stop NL2 ");break;case 11:u.getLogger().debug("Stop EOF2 ");break;case 12:u.getLogger().debug("Rule: statement: ",t[n]),typeof t[n].length=="number"?this.$=t[n]:this.$=[t[n]];break;case 13:u.getLogger().debug("Rule: statement #2: ",t[n-1]),this.$=[t[n-1]].concat(t[n]);break;case 14:u.getLogger().debug("Rule: link: ",t[n],d),this.$={edgeTypeStr:t[n],label:""};break;case 15:u.getLogger().debug("Rule: LABEL link: ",t[n-3],t[n-1],t[n]),this.$={edgeTypeStr:t[n],label:t[n-1]};break;case 18:const f=parseInt(t[n]),w=u.generateId();this.$={id:w,type:"space",label:"",width:f,children:[]};break;case 23:u.getLogger().debug("Rule: (nodeStatement link node) ",t[n-2],t[n-1],t[n]," typestr: ",t[n-1].edgeTypeStr);const C=u.edgeStrToEdgeData(t[n-1].edgeTypeStr),M=u.edgeStrToEdgeStartData(t[n-1].edgeTypeStr),K=u.edgeStrToThickness(t[n-1].edgeTypeStr),b=u.edgeStrToPattern(t[n-1].edgeTypeStr);this.$=[{id:t[n-2].id,label:t[n-2].label,type:t[n-2].type,directions:t[n-2].directions},{id:t[n-2].id+"-"+t[n].id,start:t[n-2].id,end:t[n].id,label:t[n-1].label,type:"edge",thickness:K,pattern:b,directions:t[n].directions,arrowTypeEnd:C,arrowTypeStart:M},{id:t[n].id,label:t[n].label,type:u.typeStr2Type(t[n].typeStr),directions:t[n].directions}];break;case 24:u.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[n-1],t[n]),this.$={id:t[n-1].id,label:t[n-1].label,type:u.typeStr2Type(t[n-1].typeStr),directions:t[n-1].directions,widthInColumns:parseInt(t[n],10)};break;case 25:u.getLogger().debug("Rule: nodeStatement (node) ",t[n]),this.$={id:t[n].id,label:t[n].label,type:u.typeStr2Type(t[n].typeStr),directions:t[n].directions,widthInColumns:1};break;case 26:u.getLogger().debug("APA123",this?this:"na"),u.getLogger().debug("COLUMNS: ",t[n]),this.$={type:"column-setting",columns:t[n]==="auto"?-1:parseInt(t[n])};break;case 27:u.getLogger().debug("Rule: id-block statement : ",t[n-2],t[n-1]),u.generateId(),this.$={...t[n-2],type:"composite",children:t[n-1]};break;case 28:u.getLogger().debug("Rule: blockStatement : ",t[n-2],t[n-1],t[n]);const B=u.generateId();this.$={id:B,type:"composite",label:"",children:t[n-1]};break;case 29:u.getLogger().debug("Rule: node (NODE_ID separator): ",t[n]),this.$={id:t[n]};break;case 30:u.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[n-1],t[n]),this.$={id:t[n-1],label:t[n].label,typeStr:t[n].typeStr,directions:t[n].directions};break;case 31:u.getLogger().debug("Rule: dirList: ",t[n]),this.$=[t[n]];break;case 32:u.getLogger().debug("Rule: dirList: ",t[n-1],t[n]),this.$=[t[n-1]].concat(t[n]);break;case 33:u.getLogger().debug("Rule: nodeShapeNLabel: ",t[n-2],t[n-1],t[n]),this.$={typeStr:t[n-2]+t[n],label:t[n-1]};break;case 34:u.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[n-3],t[n-2]," #3:",t[n-1],t[n]),this.$={typeStr:t[n-3]+t[n],label:t[n-2],directions:t[n-1]};break;case 35:case 36:this.$={type:"classDef",id:t[n-1].trim(),css:t[n].trim()};break;case 37:this.$={type:"applyClass",id:t[n-1].trim(),styleClass:t[n].trim()};break;case 38:this.$={type:"applyStyles",id:t[n-1].trim(),stylesStr:t[n].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:a,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:p,39:s,43:g,46:x},{8:[1,20]},e(L,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:a,21:c,28:r,29:l,31:p,39:s,43:g,46:x}),e(S,[2,16],{14:22,15:E,16:A}),e(S,[2,17]),e(S,[2,18]),e(S,[2,19]),e(S,[2,20]),e(S,[2,21]),e(S,[2,22]),e(z,[2,25],{27:[1,25]}),e(S,[2,26]),{19:26,26:12,31:p},{10:a,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:p,39:s,43:g,46:x},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(_,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(L,[2,13]),{26:35,31:p},{31:[2,14]},{17:[1,36]},e(z,[2,24]),{10:a,11:37,13:4,14:22,15:E,16:A,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:p,39:s,43:g,46:x},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(_,[2,30]),{18:[1,43]},{18:[1,44]},e(z,[2,23]),{18:[1,45]},{30:[1,46]},e(S,[2,28]),e(S,[2,35]),e(S,[2,36]),e(S,[2,37]),e(S,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(S,[2,27]),e(_,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(_,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:h(function(d,i){if(i.recoverable)this.trace(d);else{var o=new Error(d);throw o.hash=i,o}},"parseError"),parse:h(function(d){var i=this,o=[0],u=[],m=[null],t=[],O=this.table,n="",f=0,w=0,C=2,M=1,K=t.slice.call(arguments,1),b=Object.create(this.lexer),B={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(B.yy[Y]=this.yy[Y]);b.setInput(d,B.yy),B.yy.lexer=b,B.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var X=b.yylloc;t.push(X);var ee=b.options&&b.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pe(R){o.length=o.length-2*R,m.length=m.length-R,t.length=t.length-R}h(Pe,"popStack");function pe(){var R;return R=u.pop()||b.lex()||M,typeof R!="number"&&(R instanceof Array&&(u=R,R=u.pop()),R=i.symbols_[R]||R),R}h(pe,"lex");for(var k,V,P,te,H={},j,W,fe,q;;){if(V=o[o.length-1],this.defaultActions[V]?P=this.defaultActions[V]:((k===null||typeof k>"u")&&(k=pe()),P=O[V]&&O[V][k]),typeof P>"u"||!P.length||!P[0]){var se="";q=[];for(j in O[V])this.terminals_[j]&&j>C&&q.push("'"+this.terminals_[j]+"'");b.showPosition?se="Parse error on line "+(f+1)+`:
|
|
1
|
+
import{g as Fe}from"./chunk-5VM5RSS4-sUx0MLUK.js";import{aJ as Me,aK as me,aL as Ke,aM as Ye,aN as We,aO as Ve,aP as Ue,aQ as He,aR as Xe,aS as Ge,aT as je,aU as qe,aV as Je,aW as Ze,aX as Qe,aY as $e,aZ as et,a_ as tt,a$ as st,b0 as rt,b1 as it,b2 as at,b3 as nt,b4 as ot,b5 as ct,_ as h,L as U,k as J,b6 as lt,av as ut,d as gt,l as y,A as ht,C as dt,D as pt,E as ft,F as St,G as xt,c as ye,az as Lt,aC as mt,b7 as yt,m as bt,b8 as wt,am as be,b9 as Et,an as _t}from"./index-z64JVqEI.js";import{G as Dt}from"./graph-DcfhsBxO.js";import{c as Tt}from"./channel-CH0mBqDy.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";function Nt(e){return Array.isArray(e)}function It(e){if(Me(e))return e;const a=me(e);if(!Ot(e))return{};if(Nt(e)){const r=Array.from(e);return e.length>0&&typeof e[0]=="string"&&Object.hasOwn(e,"index")&&(r.index=e.index,r.input=e.input),r}if(Ke(e)){const r=e,l=r.constructor;return new l(r.buffer,r.byteOffset,r.length)}if(a==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(a==="[object DataView]"){const r=e,l=r.buffer,p=r.byteOffset,s=r.byteLength,g=new ArrayBuffer(s),x=new Uint8Array(l,p,s);return new Uint8Array(g).set(x),new DataView(g)}if(a==="[object Boolean]"||a==="[object Number]"||a==="[object String]"){const r=e.constructor,l=new r(e.valueOf());return a==="[object String]"?vt(l,e):re(l,e),l}if(a==="[object Date]")return new Date(Number(e));if(a==="[object RegExp]"){const r=e,l=new RegExp(r.source,r.flags);return l.lastIndex=r.lastIndex,l}if(a==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(a==="[object Map]"){const r=e,l=new Map;return r.forEach((p,s)=>{l.set(s,p)}),l}if(a==="[object Set]"){const r=e,l=new Set;return r.forEach(p=>{l.add(p)}),l}if(a==="[object Arguments]"){const r=e,l={};return re(l,r),l.length=r.length,l[Symbol.iterator]=r[Symbol.iterator],l}const c={};return At(c,e),re(c,e),Ct(c,e),c}function Ot(e){switch(me(e)){case ct:case ot:case nt:case at:case it:case rt:case st:case tt:case et:case $e:case Qe:case Ze:case Je:case qe:case je:case Ge:case Xe:case He:case Ue:case Ve:case We:case Ye:return!0;default:return!1}}function re(e,a){for(const c in a)Object.hasOwn(a,c)&&(e[c]=a[c])}function Ct(e,a){const c=Object.getOwnPropertySymbols(a);for(let r=0;r<c.length;r++){const l=c[r];Object.prototype.propertyIsEnumerable.call(a,l)&&(e[l]=a[l])}}function vt(e,a){const c=a.valueOf().length;for(const r in a)Object.hasOwn(a,r)&&(Number.isNaN(Number(r))||Number(r)>=c)&&(e[r]=a[r])}function At(e,a){const c=Object.getPrototypeOf(a);c!==null&&typeof a.constructor=="function"&&Object.setPrototypeOf(e,c)}var ae=(function(){var e=h(function(T,d,i,o){for(i=i||{},o=T.length;o--;i[T[o]]=d);return i},"o"),a=[1,15],c=[1,7],r=[1,13],l=[1,14],p=[1,19],s=[1,16],g=[1,17],x=[1,18],L=[8,30],S=[8,10,21,28,29,30,31,39,43,46],E=[1,23],A=[1,24],z=[8,10,15,16,21,28,29,30,31,39,43,46],_=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],I={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:h(function(d,i,o,u,m,t,O){var n=t.length-1;switch(m){case 4:u.getLogger().debug("Rule: separator (NL) ");break;case 5:u.getLogger().debug("Rule: separator (Space) ");break;case 6:u.getLogger().debug("Rule: separator (EOF) ");break;case 7:u.getLogger().debug("Rule: hierarchy: ",t[n-1]),u.setHierarchy(t[n-1]);break;case 8:u.getLogger().debug("Stop NL ");break;case 9:u.getLogger().debug("Stop EOF ");break;case 10:u.getLogger().debug("Stop NL2 ");break;case 11:u.getLogger().debug("Stop EOF2 ");break;case 12:u.getLogger().debug("Rule: statement: ",t[n]),typeof t[n].length=="number"?this.$=t[n]:this.$=[t[n]];break;case 13:u.getLogger().debug("Rule: statement #2: ",t[n-1]),this.$=[t[n-1]].concat(t[n]);break;case 14:u.getLogger().debug("Rule: link: ",t[n],d),this.$={edgeTypeStr:t[n],label:""};break;case 15:u.getLogger().debug("Rule: LABEL link: ",t[n-3],t[n-1],t[n]),this.$={edgeTypeStr:t[n],label:t[n-1]};break;case 18:const f=parseInt(t[n]),w=u.generateId();this.$={id:w,type:"space",label:"",width:f,children:[]};break;case 23:u.getLogger().debug("Rule: (nodeStatement link node) ",t[n-2],t[n-1],t[n]," typestr: ",t[n-1].edgeTypeStr);const C=u.edgeStrToEdgeData(t[n-1].edgeTypeStr),M=u.edgeStrToEdgeStartData(t[n-1].edgeTypeStr),K=u.edgeStrToThickness(t[n-1].edgeTypeStr),b=u.edgeStrToPattern(t[n-1].edgeTypeStr);this.$=[{id:t[n-2].id,label:t[n-2].label,type:t[n-2].type,directions:t[n-2].directions},{id:t[n-2].id+"-"+t[n].id,start:t[n-2].id,end:t[n].id,label:t[n-1].label,type:"edge",thickness:K,pattern:b,directions:t[n].directions,arrowTypeEnd:C,arrowTypeStart:M},{id:t[n].id,label:t[n].label,type:u.typeStr2Type(t[n].typeStr),directions:t[n].directions}];break;case 24:u.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[n-1],t[n]),this.$={id:t[n-1].id,label:t[n-1].label,type:u.typeStr2Type(t[n-1].typeStr),directions:t[n-1].directions,widthInColumns:parseInt(t[n],10)};break;case 25:u.getLogger().debug("Rule: nodeStatement (node) ",t[n]),this.$={id:t[n].id,label:t[n].label,type:u.typeStr2Type(t[n].typeStr),directions:t[n].directions,widthInColumns:1};break;case 26:u.getLogger().debug("APA123",this?this:"na"),u.getLogger().debug("COLUMNS: ",t[n]),this.$={type:"column-setting",columns:t[n]==="auto"?-1:parseInt(t[n])};break;case 27:u.getLogger().debug("Rule: id-block statement : ",t[n-2],t[n-1]),u.generateId(),this.$={...t[n-2],type:"composite",children:t[n-1]};break;case 28:u.getLogger().debug("Rule: blockStatement : ",t[n-2],t[n-1],t[n]);const B=u.generateId();this.$={id:B,type:"composite",label:"",children:t[n-1]};break;case 29:u.getLogger().debug("Rule: node (NODE_ID separator): ",t[n]),this.$={id:t[n]};break;case 30:u.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[n-1],t[n]),this.$={id:t[n-1],label:t[n].label,typeStr:t[n].typeStr,directions:t[n].directions};break;case 31:u.getLogger().debug("Rule: dirList: ",t[n]),this.$=[t[n]];break;case 32:u.getLogger().debug("Rule: dirList: ",t[n-1],t[n]),this.$=[t[n-1]].concat(t[n]);break;case 33:u.getLogger().debug("Rule: nodeShapeNLabel: ",t[n-2],t[n-1],t[n]),this.$={typeStr:t[n-2]+t[n],label:t[n-1]};break;case 34:u.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[n-3],t[n-2]," #3:",t[n-1],t[n]),this.$={typeStr:t[n-3]+t[n],label:t[n-2],directions:t[n-1]};break;case 35:case 36:this.$={type:"classDef",id:t[n-1].trim(),css:t[n].trim()};break;case 37:this.$={type:"applyClass",id:t[n-1].trim(),styleClass:t[n].trim()};break;case 38:this.$={type:"applyStyles",id:t[n-1].trim(),stylesStr:t[n].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:a,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:p,39:s,43:g,46:x},{8:[1,20]},e(L,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:a,21:c,28:r,29:l,31:p,39:s,43:g,46:x}),e(S,[2,16],{14:22,15:E,16:A}),e(S,[2,17]),e(S,[2,18]),e(S,[2,19]),e(S,[2,20]),e(S,[2,21]),e(S,[2,22]),e(z,[2,25],{27:[1,25]}),e(S,[2,26]),{19:26,26:12,31:p},{10:a,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:p,39:s,43:g,46:x},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(_,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(L,[2,13]),{26:35,31:p},{31:[2,14]},{17:[1,36]},e(z,[2,24]),{10:a,11:37,13:4,14:22,15:E,16:A,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:p,39:s,43:g,46:x},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(_,[2,30]),{18:[1,43]},{18:[1,44]},e(z,[2,23]),{18:[1,45]},{30:[1,46]},e(S,[2,28]),e(S,[2,35]),e(S,[2,36]),e(S,[2,37]),e(S,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(S,[2,27]),e(_,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(_,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:h(function(d,i){if(i.recoverable)this.trace(d);else{var o=new Error(d);throw o.hash=i,o}},"parseError"),parse:h(function(d){var i=this,o=[0],u=[],m=[null],t=[],O=this.table,n="",f=0,w=0,C=2,M=1,K=t.slice.call(arguments,1),b=Object.create(this.lexer),B={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(B.yy[Y]=this.yy[Y]);b.setInput(d,B.yy),B.yy.lexer=b,B.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var X=b.yylloc;t.push(X);var ee=b.options&&b.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pe(R){o.length=o.length-2*R,m.length=m.length-R,t.length=t.length-R}h(Pe,"popStack");function pe(){var R;return R=u.pop()||b.lex()||M,typeof R!="number"&&(R instanceof Array&&(u=R,R=u.pop()),R=i.symbols_[R]||R),R}h(pe,"lex");for(var k,V,P,te,H={},j,W,fe,q;;){if(V=o[o.length-1],this.defaultActions[V]?P=this.defaultActions[V]:((k===null||typeof k>"u")&&(k=pe()),P=O[V]&&O[V][k]),typeof P>"u"||!P.length||!P[0]){var se="";q=[];for(j in O[V])this.terminals_[j]&&j>C&&q.push("'"+this.terminals_[j]+"'");b.showPosition?se="Parse error on line "+(f+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+q.join(", ")+", got '"+(this.terminals_[k]||k)+"'":se="Parse error on line "+(f+1)+": Unexpected "+(k==M?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(se,{text:b.match,token:this.terminals_[k]||k,line:b.yylineno,loc:X,expected:q})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+V+", token: "+k);switch(P[0]){case 1:o.push(k),m.push(b.yytext),t.push(b.yylloc),o.push(P[1]),k=null,w=b.yyleng,n=b.yytext,f=b.yylineno,X=b.yylloc;break;case 2:if(W=this.productions_[P[1]][1],H.$=m[m.length-W],H._$={first_line:t[t.length-(W||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(W||1)].first_column,last_column:t[t.length-1].last_column},ee&&(H._$.range=[t[t.length-(W||1)].range[0],t[t.length-1].range[1]]),te=this.performAction.apply(H,[n,w,f,B.yy,P[1],m,t].concat(K)),typeof te<"u")return te;W&&(o=o.slice(0,-1*W*2),m=m.slice(0,-1*W),t=t.slice(0,-1*W)),o.push(this.productions_[P[1]][0]),m.push(H.$),t.push(H._$),fe=O[o[o.length-2]][o[o.length-1]],o.push(fe);break;case 3:return!0}}return!0},"parse")},D=(function(){var T={EOF:1,parseError:h(function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw new Error(i)},"parseError"),setInput:h(function(d,i){return this.yy=i||this.yy||{},this._input=d,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:h(function(){var d=this._input[0];this.yytext+=d,this.yyleng++,this.offset++,this.match+=d,this.matched+=d;var i=d.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),d},"input"),unput:h(function(d){var i=d.length,o=d.split(/(?:\r\n?|\n)/g);this._input=d+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var m=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===u.length?this.yylloc.first_column:0)+u[u.length-o.length].length-o[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:h(function(d){this.unput(this.match.slice(d))},"less"),pastInput:h(function(){var d=this.matched.substr(0,this.matched.length-this.match.length);return(d.length>20?"...":"")+d.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:h(function(){var d=this.match;return d.length<20&&(d+=this._input.substr(0,20-d.length)),(d.substr(0,20)+(d.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:h(function(){var d=this.pastInput(),i=new Array(d.length+1).join("-");return d+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as Ie}from"./chunk-GWA4HPMP-BKqnDCMe.js";import{s as Me,g as Be,a as Ve,b as Ye,_ as d,c as Ot,l as de,d as Fe,e as Ue,i as je,f as Nt,h as ze,j as me,k as Zt,w as We,m as te,n as pe}from"./index-BFkHoNBz.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],l=[1,26],u=[1,27],r=[1,28],n=[1,63],o=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],J=[1,41],Z=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,i,Dt){var f=i.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(i[f-3]);break;case 19:_.setTitle(i[f].substring(6)),this.$=i[f].substring(6);break;case 20:_.setAccDescription(i[f].substring(15)),this.$=i[f].substring(15);break;case 21:this.$=i[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=i[f].trim(),_.setAccDescription(this.$);break;case 28:i[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...i[f]),this.$=i[f];break;case 29:i[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...i[f]),this.$=i[f];break;case 30:_.addPersonOrSystemBoundary(...i[f]),this.$=i[f];break;case 31:i[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...i[f]),this.$=i[f];break;case 32:_.addDeploymentNode("node",...i[f]),this.$=i[f];break;case 33:_.addDeploymentNode("nodeL",...i[f]),this.$=i[f];break;case 34:_.addDeploymentNode("nodeR",...i[f]),this.$=i[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...i[f]),this.$=i[f];break;case 40:_.addPersonOrSystem("external_person",...i[f]),this.$=i[f];break;case 41:_.addPersonOrSystem("system",...i[f]),this.$=i[f];break;case 42:_.addPersonOrSystem("system_db",...i[f]),this.$=i[f];break;case 43:_.addPersonOrSystem("system_queue",...i[f]),this.$=i[f];break;case 44:_.addPersonOrSystem("external_system",...i[f]),this.$=i[f];break;case 45:_.addPersonOrSystem("external_system_db",...i[f]),this.$=i[f];break;case 46:_.addPersonOrSystem("external_system_queue",...i[f]),this.$=i[f];break;case 47:_.addContainer("container",...i[f]),this.$=i[f];break;case 48:_.addContainer("container_db",...i[f]),this.$=i[f];break;case 49:_.addContainer("container_queue",...i[f]),this.$=i[f];break;case 50:_.addContainer("external_container",...i[f]),this.$=i[f];break;case 51:_.addContainer("external_container_db",...i[f]),this.$=i[f];break;case 52:_.addContainer("external_container_queue",...i[f]),this.$=i[f];break;case 53:_.addComponent("component",...i[f]),this.$=i[f];break;case 54:_.addComponent("component_db",...i[f]),this.$=i[f];break;case 55:_.addComponent("component_queue",...i[f]),this.$=i[f];break;case 56:_.addComponent("external_component",...i[f]),this.$=i[f];break;case 57:_.addComponent("external_component_db",...i[f]),this.$=i[f];break;case 58:_.addComponent("external_component_queue",...i[f]),this.$=i[f];break;case 60:_.addRel("rel",...i[f]),this.$=i[f];break;case 61:_.addRel("birel",...i[f]),this.$=i[f];break;case 62:_.addRel("rel_u",...i[f]),this.$=i[f];break;case 63:_.addRel("rel_d",...i[f]),this.$=i[f];break;case 64:_.addRel("rel_l",...i[f]),this.$=i[f];break;case 65:_.addRel("rel_r",...i[f]),this.$=i[f];break;case 66:_.addRel("rel_b",...i[f]),this.$=i[f];break;case 67:i[f].splice(0,1),_.addRel("rel",...i[f]),this.$=i[f];break;case 68:_.updateElStyle("update_el_style",...i[f]),this.$=i[f];break;case 69:_.updateRelStyle("update_rel_style",...i[f]),this.$=i[f];break;case 70:_.updateLayoutConfig("update_layout_config",...i[f]),this.$=i[f];break;case 71:this.$=[i[f]];break;case 72:i[f].unshift(i[f-1]),this.$=i[f];break;case 73:case 75:this.$=i[f].trim();break;case 74:let vt={};vt[i[f-1].trim()]=i[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:l,26:u,28:r,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:l,26:u,28:r,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:l,26:u,28:r,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:l,26:u,28:r,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:l,26:u,28:r,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:o,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:l,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:l,26:u,28:r,34:n,36:o,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],i=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=i.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;i.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,i.length=i.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Jt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Jt="Parse error on line "+(vt+1)+`:
|
|
1
|
+
import{d as Ie}from"./chunk-GWA4HPMP-CS_7AIEI.js";import{s as Me,g as Be,a as Ve,b as Ye,_ as d,c as Ot,l as de,d as Fe,e as Ue,i as je,f as Nt,h as ze,j as me,k as Zt,w as We,m as te,n as pe}from"./index-z64JVqEI.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],l=[1,26],u=[1,27],r=[1,28],n=[1,63],o=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],J=[1,41],Z=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,i,Dt){var f=i.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(i[f-3]);break;case 19:_.setTitle(i[f].substring(6)),this.$=i[f].substring(6);break;case 20:_.setAccDescription(i[f].substring(15)),this.$=i[f].substring(15);break;case 21:this.$=i[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=i[f].trim(),_.setAccDescription(this.$);break;case 28:i[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...i[f]),this.$=i[f];break;case 29:i[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...i[f]),this.$=i[f];break;case 30:_.addPersonOrSystemBoundary(...i[f]),this.$=i[f];break;case 31:i[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...i[f]),this.$=i[f];break;case 32:_.addDeploymentNode("node",...i[f]),this.$=i[f];break;case 33:_.addDeploymentNode("nodeL",...i[f]),this.$=i[f];break;case 34:_.addDeploymentNode("nodeR",...i[f]),this.$=i[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...i[f]),this.$=i[f];break;case 40:_.addPersonOrSystem("external_person",...i[f]),this.$=i[f];break;case 41:_.addPersonOrSystem("system",...i[f]),this.$=i[f];break;case 42:_.addPersonOrSystem("system_db",...i[f]),this.$=i[f];break;case 43:_.addPersonOrSystem("system_queue",...i[f]),this.$=i[f];break;case 44:_.addPersonOrSystem("external_system",...i[f]),this.$=i[f];break;case 45:_.addPersonOrSystem("external_system_db",...i[f]),this.$=i[f];break;case 46:_.addPersonOrSystem("external_system_queue",...i[f]),this.$=i[f];break;case 47:_.addContainer("container",...i[f]),this.$=i[f];break;case 48:_.addContainer("container_db",...i[f]),this.$=i[f];break;case 49:_.addContainer("container_queue",...i[f]),this.$=i[f];break;case 50:_.addContainer("external_container",...i[f]),this.$=i[f];break;case 51:_.addContainer("external_container_db",...i[f]),this.$=i[f];break;case 52:_.addContainer("external_container_queue",...i[f]),this.$=i[f];break;case 53:_.addComponent("component",...i[f]),this.$=i[f];break;case 54:_.addComponent("component_db",...i[f]),this.$=i[f];break;case 55:_.addComponent("component_queue",...i[f]),this.$=i[f];break;case 56:_.addComponent("external_component",...i[f]),this.$=i[f];break;case 57:_.addComponent("external_component_db",...i[f]),this.$=i[f];break;case 58:_.addComponent("external_component_queue",...i[f]),this.$=i[f];break;case 60:_.addRel("rel",...i[f]),this.$=i[f];break;case 61:_.addRel("birel",...i[f]),this.$=i[f];break;case 62:_.addRel("rel_u",...i[f]),this.$=i[f];break;case 63:_.addRel("rel_d",...i[f]),this.$=i[f];break;case 64:_.addRel("rel_l",...i[f]),this.$=i[f];break;case 65:_.addRel("rel_r",...i[f]),this.$=i[f];break;case 66:_.addRel("rel_b",...i[f]),this.$=i[f];break;case 67:i[f].splice(0,1),_.addRel("rel",...i[f]),this.$=i[f];break;case 68:_.updateElStyle("update_el_style",...i[f]),this.$=i[f];break;case 69:_.updateRelStyle("update_rel_style",...i[f]),this.$=i[f];break;case 70:_.updateLayoutConfig("update_layout_config",...i[f]),this.$=i[f];break;case 71:this.$=[i[f]];break;case 72:i[f].unshift(i[f-1]),this.$=i[f];break;case 73:case 75:this.$=i[f].trim();break;case 74:let vt={};vt[i[f-1].trim()]=i[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:l,26:u,28:r,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:l,26:u,28:r,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:l,26:u,28:r,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:l,26:u,28:r,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:l,26:u,28:r,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:o,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:o,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:l,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:l,26:u,28:r,34:n,36:o,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],i=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=i.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;i.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,i.length=i.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Jt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Jt="Parse error on line "+(vt+1)+`:
|
|
2
2
|
`+A.showPosition()+`
|
|
3
3
|
Expecting `+Ft.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Jt="Parse error on line "+(vt+1)+": Unexpected "+(M==ce?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Jt,{text:A.match,token:this.terminals_[M]||M,line:A.yylineno,loc:Kt,expected:Ft})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+St+", token: "+M);switch(V[0]){case 1:E.push(M),D.push(A.yytext),i.push(A.yylloc),E.push(V[1]),M=null,le=A.yyleng,f=A.yytext,vt=A.yylineno,Kt=A.yylloc;break;case 2:if(z=this.productions_[V[1]][1],Ct.$=D[D.length-z],Ct._$={first_line:i[i.length-(z||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(z||1)].first_column,last_column:i[i.length-1].last_column},Ae&&(Ct._$.range=[i[i.length-(z||1)].range[0],i[i.length-1].range[1]]),Gt=this.performAction.apply(Ct,[f,le,vt,Et.yy,V[1],D,i].concat(Ne)),typeof Gt<"u")return Gt;z&&(E=E.slice(0,-1*z*2),D=D.slice(0,-1*z),i=i.slice(0,-1*z)),E.push(this.productions_[V[1]][0]),D.push(Ct.$),i.push(Ct._$),he=Dt[E[E.length-2]][E[E.length-1]],E.push(he);break;case 3:return!0}}return!0},"parse")},Pe=(function(){var _t={EOF:1,parseError:d(function(x,E){if(this.yy.parser)this.yy.parser.parseError(x,E);else throw new Error(x)},"parseError"),setInput:d(function(m,x){return this.yy=x||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var x=m.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:d(function(m){var x=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(m){this.unput(this.match.slice(m))},"less"),pastInput:d(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var m=this.pastInput(),x=new Array(m.length+1).join("-");return m+this.upcomingInput()+`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ao as r,ap as n}from"./index-z64JVqEI.js";const t=(a,o)=>r.lang.round(n.parse(a)[o]);export{t as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as s}from"./index-
|
|
1
|
+
import{_ as s}from"./index-z64JVqEI.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/sizeCapture-INFHLROL-
|
|
2
|
-
import{_ as f,l,av as I,am as ee,aw as te,ax as ne,ay as se,an as S,al as re,az as ie,aA as T,aB as P,aC as R,c as ae,aD as oe,L as ce,aE as le,u as h,aF as C,aG as ue}from"./index-BFkHoNBz.js";import{G as _}from"./graph-DcfhsBxO.js";function B(e,{edgePathsClass:n="edges edgePaths"}={}){const s=e.insert("g").attr("class","root"),t=s.insert("g").attr("class","clusters"),o=s.insert("g").attr("class",n),a=s.insert("g").attr("class","edgeLabels"),r=s.insert("g").attr("class","nodes");return{clusters:t,edgePaths:o,edgeLabels:a,nodes:r,rootGroups:s}}f(B,"createLayoutElementGroups");async function M(e,n,s){if(n.label){const{shapeSvg:t,bbox:o}=await ue(e,s===void 0?n:{...n,width:s});n.labelBBox={width:o.width,height:o.height},t.remove()}else n.labelBBox={width:0,height:0}}f(M,"measureGroupLabel");async function G(e,n,s){var a;const t=await ee(e,n,s),o=((a=t.node())==null?void 0:a.getBBox())??{width:0,height:0};return n.width=o.width,n.height=o.height,t}f(G,"insertMeasuredNode");function X(e,n,s){let t=e;const o=new Set;for(;t;){if(t.dir)return t.dir;if(!t.parentId||o.has(t.parentId))break;o.add(t.parentId),t=n.get(t.parentId)}return s}f(X,"resolveNodeDir");async function $(e,n,s={}){const t=new _({multigraph:!0,compound:!0}),o=[...n.edges],a=ae(),r=B(e),{edgeLabels:c,nodes:i}=r,g=new Map,b=new Map(n.nodes.map(d=>[d.id,d])),N=n.direction,v=e.node()!=null;await Promise.all(n.nodes.map(async d=>{if(d.isGroup){if(v){const w=s.unwrapGroupLabels&&d.labelType!=="markdown";await M(i,d,w?Number.POSITIVE_INFINITY:void 0)}t.setNode(d.id,{...d})}else{if(v){const w=await G(i,d,{config:a,dir:X(d,b,N)});g.set(d.id,w)}t.setNode(d.id,{...d})}}));for(const d of o)v&&T(d)&&await R(c,d),t.setEdge(d.start,d.end,{...d},d.id),n.edges.some(y=>y.id===d.id)||n.edges.push(d);if(globalThis.mermaidCaptureSizes){const{captureNodeSizes:d}=await oe(async()=>{const{captureNodeSizes:w}=await import("./sizeCapture-INFHLROL-BqqVL3Rt.js");return{captureNodeSizes:w}},__vite__mapDeps([0,1,2,3,4]));d(e,n)}return{graph:t,groups:r,nodeElements:g}}f($,"createGraphWithElements");var u=new Map,m=new Map,A=new Map,fe=f(()=>{m.clear(),A.clear(),u.clear()},"clear"),E=f((e,n)=>{const s=m.get(n)||[];return l.trace("In isDescendant",n," ",e," = ",s.includes(e)),s.includes(e)},"isDescendant"),de=f((e,n)=>{const s=m.get(n)||[];return l.info("Descendants of ",n," is ",s),l.info("Edge is ",e),e.v===n||e.w===n?!1:s?s.includes(e.v)||E(e.v,n)||E(e.w,n)||s.includes(e.w):(l.debug("Tilt, ",n,",not in descendants"),!1)},"edgeInCluster"),p=f((e,n,s,t)=>{l.debug("Copying children of ",e,"root",t,"data",n.node(e),t);const o=n.children(e)||[];e!==t&&o.push(e),l.debug("Copying (nodes) clusterId",e,"nodes",o),o.forEach(a=>{if(n.children(a).length>0)p(a,n,s,t);else{const r=n.node(a);l.info("cp ",a," to ",t," with parent ",e),s.setNode(a,r),t!==n.parent(a)&&(l.debug("Setting parent",a,n.parent(a)),s.setParent(a,n.parent(a))),e!==t&&a!==e?(l.debug("Setting parent",a,e),s.setParent(a,e)):(l.info("In copy ",e,"root",t,"data",n.node(e),t),l.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==t,"node!==clusterId",a!==e));const c=n.edges(a);l.debug("Copying Edges",c),c.forEach(i=>{l.info("Edge",i);const g=n.edge(i.v,i.w,i.name);l.info("Edge data",g,t);try{de(i,t)?(l.info("Copying as ",i.v,i.w,g,i.name),s.setEdge(i.v,i.w,g,i.name),l.info("newGraph edges ",s.edges(),s.edge(s.edges()[0]))):l.info("Skipping copy of edge ",i.v,"-->",i.w," rootId: ",t," clusterId:",e)}catch(b){l.error(b)}})}l.debug("Removing node",a),n.removeNode(a)})},"copy"),O=f((e,n)=>{const s=n.children(e);let t=[...s];for(const o of s)A.set(o,e),t=[...t,...O(o,n)];return t},"extractDescendants"),ge=f((e,n,s)=>{const t=e.edges().filter(i=>i.v===n||i.w===n),o=e.edges().filter(i=>i.v===s||i.w===s),a=t.map(i=>({v:i.v===n?s:i.v,w:i.w===n?n:i.w})),r=o.map(i=>({v:i.v,w:i.w}));return a.filter(i=>r.some(g=>i.v===g.v&&i.w===g.w))},"findCommonEdges"),x=f((e,n,s)=>{const t=n.children(e);if(l.trace("Searching children of id ",e,t),t.length<1)return e;let o;for(const a of t){const r=x(a,n,s),c=ge(n,s,r);if(r)if(c.length>0)o=r;else return r}return o},"findNonClusterChild"),k=f(e=>!u.has(e)||!u.get(e).externalConnections?e:u.has(e)?u.get(e).id:e,"getAnchorId"),he=f((e,n)=>{var s;if(!e||n>10){l.debug("Opting out, no graph ");return}else l.debug("Opting in, graph ");e.nodes().forEach(function(t){e.children(t).length>0&&(l.debug("Cluster identified",t," Replacement id in edges: ",x(t,e,t)),m.set(t,O(t,e)),u.set(t,{id:x(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){const o=e.children(t),a=e.edges();o.length>0?(l.debug("Cluster identified",t,m),a.forEach(r=>{const c=E(r.v,t),i=E(r.w,t);c^i&&(l.debug("Edge: ",r," leaves cluster ",t),l.debug("Descendants of XXX ",t,": ",m.get(t)),u.get(t).externalConnections=!0)})):l.debug("Not a cluster ",t,m)});for(let t of u.keys()){const o=u.get(t).id,a=e.parent(o);a!==t&&u.has(a)&&!u.get(a).externalConnections&&(u.get(t).id=a);const r=e.edges().some(c=>c.v===t);if(o&&((s=u.get(t))!=null&&s.externalConnections)&&r&&j(e,o,t)){const c=be(e,t,e.parent(o));c&&(u.get(t).id=c)}}e.edges().forEach(function(t){const o=e.edge(t);l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let a=t.v,r=t.w;if(l.debug("Fix XXX",u,"ids:",t.v,t.w,"Translating: ",u.get(t.v)," --- ",u.get(t.w)),u.get(t.v)||u.get(t.w)){if(l.debug("Fixing and trying - removing XXX",t.v,t.w,t.name),a=k(t.v),r=k(t.w),e.removeEdge(t.v,t.w,t.name),a!==t.v){const c=e.parent(a);u.get(c).externalConnections=!0,o.fromCluster=t.v}if(r!==t.w){const c=e.parent(r);u.get(c).externalConnections=!0,o.toCluster=t.w}l.debug("Fix Replacing with XXX",a,r,t.name),e.setEdge(a,r,o,t.name)}}),F(e,0),l.trace(u)},"adjustClustersAndEdges"),F=f((e,n)=>{var o,a;if(n>10){l.error("Bailing out");return}let s=e.nodes(),t=!1;for(const r of s){const c=e.children(r);t=t||c.length>0}if(!t){l.debug("Done, no node has children",e.nodes());return}l.debug("Nodes = ",s,n);for(const r of s)if(l.debug("Extracting node",r,u,u.has(r)&&!u.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",n),!u.has(r))l.debug("Not a cluster",r,n);else if(!u.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){l.debug("Cluster without external connections, without a parent and with children",r,n);let i=e.graph().rankdir==="TB"?"LR":"TB";(a=(o=u.get(r))==null?void 0:o.clusterData)!=null&&a.dir&&(i=u.get(r).clusterData.dir,l.debug("Fixing dir",u.get(r).clusterData.dir,i));const g=new _({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});p(r,e,g,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:u.get(r).clusterData,label:u.get(r).label,graph:g})}else l.debug("Cluster ** ",r," **not meeting the criteria !externalConnections:",!u.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),n),l.debug(u);s=e.nodes(),l.debug("New list of nodes",s);for(const r of s){const c=e.node(r);l.debug(" Now next level",r,c),c!=null&&c.clusterNode&&F(c.graph,n+1)}},"extractor"),z=f((e,n)=>{if(n.length===0)return[];let s=Object.assign([],n);return n.forEach(t=>{const o=e.children(t),a=z(e,o);s=[...s,...a]}),s},"sorter"),Ee=f(e=>z(e,e.children()),"sortNodesByHierarchy"),j=f((e,n,s)=>{let t=e.parent(n);for(;t&&t!==s;){const o=u.get(t);if(o&&!o.externalConnections)return!0;t=e.parent(t)}return!1},"isNodeInExtractableCluster"),be=f((e,n,s)=>{const t=e.children(n)??[];for(const o of t){if(o===s||E(o,s))continue;const a=x(o,e,n);if(a&&!j(e,a,n))return a}return null},"findSafeAnchorNode");function we({prepareLayout:e,measureLayout:n,runLayoutCore:s,paintLayout:t,afterPaint:o,paintOptions:a}){const r=n??J;return f(async function(i,g,b,N){const v=g.select("g");((b==null?void 0:b.insertMarkers)??I)(v,i.markers,i.type,i.diagramId),H();const d={element:v,helpers:b,options:N};d.preparedLayout=await(e==null?void 0:e(i,d));const w=await r(i,d),y=await s(i,d),D={...d,measure:w};t?await t(i,D,y):await V(i,D,a),await(o==null?void 0:o(i,D,y))},"render")}f(we,"createCommonLayoutRenderer");function H(){te(),ne(),se(),fe()}f(H,"clearLayoutRenderState");async function J(e,{element:n},s){return await $(n,e,s)}f(J,"defaultMeasureLayout");async function V(e,n,s={}){var r,c;const{measure:t}=n,{groups:o}=t;for(const i of((r=s.getNodes)==null?void 0:r.call(s,e,n))??e.nodes)(c=s.skipNode)!=null&&c.call(s,i,n)||await W(o,i,n,s);const a=q(e.nodes);for(const i of e.edges)K(i,s)||await Q(o,i,a,e,s,n)}f(V,"paintLayoutData");async function W(e,n,s,t){n.clusterNode?S(n):Y(n,s,t)?await re(e.clusters,n):S(n)}f(W,"paintLayoutNode");function Y(e,n,s){var t;return e.isGroup===!0&&(((t=s.isCluster)==null?void 0:t.call(s,e,n))??!0)}f(Y,"shouldPaintAsCluster");function q(e){const n=new Map;for(const s of e)s!=null&&s.id&&n.set(s.id,s);return n}f(q,"buildNodeLookup");function K(e,n){var s;return e.isLayoutOnly||!!((s=n.skipEdge)!=null&&s.call(n,e))}f(K,"shouldSkipPaintEdge");async function Q(e,n,s,t,o,a){const r=ie(e.edgePaths,{...n},o.clusterDb??new Map,t.type,L(n.start,n,s,a,o),L(n.end,n,s,a,o),t.diagramId,U(n,o));T(n)&&(P.has(n.id)||await R(e.edgeLabels,n),Z(n,r))}f(Q,"paintLayoutEdge");function L(e,n,s,t,o){var a;return((a=o.getEdgeNode)==null?void 0:a.call(o,e,n,t))??(e?s.get(e)??{}:{})}f(L,"getRenderedNode");function U(e,n){return typeof n.skipIntersect=="function"?n.skipIntersect(e):n.skipIntersect??!1}f(U,"shouldSkipIntersect");function Z(e,n){const s=(n==null?void 0:n.updatedPath)??(n==null?void 0:n.originalPath),t=ce(),{subGraphTitleTotalMargin:o}=le({flowchart:t.flowchart??{}});if(e.label){const a=P.get(e.id);let r=e.x,c=e.y;if(s){const i=h.calcLabelPosition(s);l.debug("Moving label "+e.label+" from (",r,",",c,") to (",i.x,",",i.y,") abc88"),n!=null&&n.updatedPath&&(r=i.x,c=i.y)}a.attr("transform",`translate(${r}, ${c+o/2})`)}if(e!=null&&e.startLabelLeft){const a=C.get(e.id).startLeft;let r=e==null?void 0:e.x,c=e==null?void 0:e.y;if(s){const i=h.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_left",s);r=i.x,c=i.y}a.attr("transform",`translate(${r}, ${c})`)}if(e.startLabelRight){const a=C.get(e.id).startRight;let r=e.x,c=e.y;if(s){const i=h.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_right",s);r=i.x,c=i.y}a.attr("transform",`translate(${r}, ${c})`)}if(e.endLabelLeft){const a=C.get(e.id).endLeft;let r=e.x,c=e.y;if(s){const i=h.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_left",s);r=i.x,c=i.y}a.attr("transform",`translate(${r}, ${c})`)}if(e.endLabelRight){const a=C.get(e.id).endRight;let r=e.x,c=e.y;if(s){const i=h.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_right",s);r=i.x,c=i.y}a.attr("transform",`translate(${r}, ${c})`)}}f(Z,"positionRenderedEdgeLabel");export{he as a,B as b,we as c,J as d,u as e,x as f,G as i,Ee as s};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/sizeCapture-INFHLROL-C3egfWS7.js","assets/index-z64JVqEI.js","assets/vue-BhwNxZ68.js","assets/element-plus-IBMLLhb-.js","assets/index-D6wYxAVF.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as f,l,av as I,am as ee,aw as te,ax as ne,ay as se,an as S,al as re,az as ie,aA as T,aB as P,aC as R,c as ae,aD as oe,L as ce,aE as le,u as h,aF as C,aG as ue}from"./index-z64JVqEI.js";import{G as _}from"./graph-DcfhsBxO.js";function B(e,{edgePathsClass:n="edges edgePaths"}={}){const s=e.insert("g").attr("class","root"),t=s.insert("g").attr("class","clusters"),o=s.insert("g").attr("class",n),a=s.insert("g").attr("class","edgeLabels"),r=s.insert("g").attr("class","nodes");return{clusters:t,edgePaths:o,edgeLabels:a,nodes:r,rootGroups:s}}f(B,"createLayoutElementGroups");async function M(e,n,s){if(n.label){const{shapeSvg:t,bbox:o}=await ue(e,s===void 0?n:{...n,width:s});n.labelBBox={width:o.width,height:o.height},t.remove()}else n.labelBBox={width:0,height:0}}f(M,"measureGroupLabel");async function G(e,n,s){var a;const t=await ee(e,n,s),o=((a=t.node())==null?void 0:a.getBBox())??{width:0,height:0};return n.width=o.width,n.height=o.height,t}f(G,"insertMeasuredNode");function X(e,n,s){let t=e;const o=new Set;for(;t;){if(t.dir)return t.dir;if(!t.parentId||o.has(t.parentId))break;o.add(t.parentId),t=n.get(t.parentId)}return s}f(X,"resolveNodeDir");async function $(e,n,s={}){const t=new _({multigraph:!0,compound:!0}),o=[...n.edges],a=ae(),r=B(e),{edgeLabels:c,nodes:i}=r,g=new Map,b=new Map(n.nodes.map(d=>[d.id,d])),N=n.direction,v=e.node()!=null;await Promise.all(n.nodes.map(async d=>{if(d.isGroup){if(v){const w=s.unwrapGroupLabels&&d.labelType!=="markdown";await M(i,d,w?Number.POSITIVE_INFINITY:void 0)}t.setNode(d.id,{...d})}else{if(v){const w=await G(i,d,{config:a,dir:X(d,b,N)});g.set(d.id,w)}t.setNode(d.id,{...d})}}));for(const d of o)v&&T(d)&&await R(c,d),t.setEdge(d.start,d.end,{...d},d.id),n.edges.some(y=>y.id===d.id)||n.edges.push(d);if(globalThis.mermaidCaptureSizes){const{captureNodeSizes:d}=await oe(async()=>{const{captureNodeSizes:w}=await import("./sizeCapture-INFHLROL-C3egfWS7.js");return{captureNodeSizes:w}},__vite__mapDeps([0,1,2,3,4]));d(e,n)}return{graph:t,groups:r,nodeElements:g}}f($,"createGraphWithElements");var u=new Map,m=new Map,A=new Map,fe=f(()=>{m.clear(),A.clear(),u.clear()},"clear"),E=f((e,n)=>{const s=m.get(n)||[];return l.trace("In isDescendant",n," ",e," = ",s.includes(e)),s.includes(e)},"isDescendant"),de=f((e,n)=>{const s=m.get(n)||[];return l.info("Descendants of ",n," is ",s),l.info("Edge is ",e),e.v===n||e.w===n?!1:s?s.includes(e.v)||E(e.v,n)||E(e.w,n)||s.includes(e.w):(l.debug("Tilt, ",n,",not in descendants"),!1)},"edgeInCluster"),p=f((e,n,s,t)=>{l.debug("Copying children of ",e,"root",t,"data",n.node(e),t);const o=n.children(e)||[];e!==t&&o.push(e),l.debug("Copying (nodes) clusterId",e,"nodes",o),o.forEach(a=>{if(n.children(a).length>0)p(a,n,s,t);else{const r=n.node(a);l.info("cp ",a," to ",t," with parent ",e),s.setNode(a,r),t!==n.parent(a)&&(l.debug("Setting parent",a,n.parent(a)),s.setParent(a,n.parent(a))),e!==t&&a!==e?(l.debug("Setting parent",a,e),s.setParent(a,e)):(l.info("In copy ",e,"root",t,"data",n.node(e),t),l.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==t,"node!==clusterId",a!==e));const c=n.edges(a);l.debug("Copying Edges",c),c.forEach(i=>{l.info("Edge",i);const g=n.edge(i.v,i.w,i.name);l.info("Edge data",g,t);try{de(i,t)?(l.info("Copying as ",i.v,i.w,g,i.name),s.setEdge(i.v,i.w,g,i.name),l.info("newGraph edges ",s.edges(),s.edge(s.edges()[0]))):l.info("Skipping copy of edge ",i.v,"-->",i.w," rootId: ",t," clusterId:",e)}catch(b){l.error(b)}})}l.debug("Removing node",a),n.removeNode(a)})},"copy"),O=f((e,n)=>{const s=n.children(e);let t=[...s];for(const o of s)A.set(o,e),t=[...t,...O(o,n)];return t},"extractDescendants"),ge=f((e,n,s)=>{const t=e.edges().filter(i=>i.v===n||i.w===n),o=e.edges().filter(i=>i.v===s||i.w===s),a=t.map(i=>({v:i.v===n?s:i.v,w:i.w===n?n:i.w})),r=o.map(i=>({v:i.v,w:i.w}));return a.filter(i=>r.some(g=>i.v===g.v&&i.w===g.w))},"findCommonEdges"),x=f((e,n,s)=>{const t=n.children(e);if(l.trace("Searching children of id ",e,t),t.length<1)return e;let o;for(const a of t){const r=x(a,n,s),c=ge(n,s,r);if(r)if(c.length>0)o=r;else return r}return o},"findNonClusterChild"),k=f(e=>!u.has(e)||!u.get(e).externalConnections?e:u.has(e)?u.get(e).id:e,"getAnchorId"),he=f((e,n)=>{var s;if(!e||n>10){l.debug("Opting out, no graph ");return}else l.debug("Opting in, graph ");e.nodes().forEach(function(t){e.children(t).length>0&&(l.debug("Cluster identified",t," Replacement id in edges: ",x(t,e,t)),m.set(t,O(t,e)),u.set(t,{id:x(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){const o=e.children(t),a=e.edges();o.length>0?(l.debug("Cluster identified",t,m),a.forEach(r=>{const c=E(r.v,t),i=E(r.w,t);c^i&&(l.debug("Edge: ",r," leaves cluster ",t),l.debug("Descendants of XXX ",t,": ",m.get(t)),u.get(t).externalConnections=!0)})):l.debug("Not a cluster ",t,m)});for(let t of u.keys()){const o=u.get(t).id,a=e.parent(o);a!==t&&u.has(a)&&!u.get(a).externalConnections&&(u.get(t).id=a);const r=e.edges().some(c=>c.v===t);if(o&&((s=u.get(t))!=null&&s.externalConnections)&&r&&j(e,o,t)){const c=be(e,t,e.parent(o));c&&(u.get(t).id=c)}}e.edges().forEach(function(t){const o=e.edge(t);l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let a=t.v,r=t.w;if(l.debug("Fix XXX",u,"ids:",t.v,t.w,"Translating: ",u.get(t.v)," --- ",u.get(t.w)),u.get(t.v)||u.get(t.w)){if(l.debug("Fixing and trying - removing XXX",t.v,t.w,t.name),a=k(t.v),r=k(t.w),e.removeEdge(t.v,t.w,t.name),a!==t.v){const c=e.parent(a);u.get(c).externalConnections=!0,o.fromCluster=t.v}if(r!==t.w){const c=e.parent(r);u.get(c).externalConnections=!0,o.toCluster=t.w}l.debug("Fix Replacing with XXX",a,r,t.name),e.setEdge(a,r,o,t.name)}}),F(e,0),l.trace(u)},"adjustClustersAndEdges"),F=f((e,n)=>{var o,a;if(n>10){l.error("Bailing out");return}let s=e.nodes(),t=!1;for(const r of s){const c=e.children(r);t=t||c.length>0}if(!t){l.debug("Done, no node has children",e.nodes());return}l.debug("Nodes = ",s,n);for(const r of s)if(l.debug("Extracting node",r,u,u.has(r)&&!u.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",n),!u.has(r))l.debug("Not a cluster",r,n);else if(!u.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){l.debug("Cluster without external connections, without a parent and with children",r,n);let i=e.graph().rankdir==="TB"?"LR":"TB";(a=(o=u.get(r))==null?void 0:o.clusterData)!=null&&a.dir&&(i=u.get(r).clusterData.dir,l.debug("Fixing dir",u.get(r).clusterData.dir,i));const g=new _({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});p(r,e,g,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:u.get(r).clusterData,label:u.get(r).label,graph:g})}else l.debug("Cluster ** ",r," **not meeting the criteria !externalConnections:",!u.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),n),l.debug(u);s=e.nodes(),l.debug("New list of nodes",s);for(const r of s){const c=e.node(r);l.debug(" Now next level",r,c),c!=null&&c.clusterNode&&F(c.graph,n+1)}},"extractor"),z=f((e,n)=>{if(n.length===0)return[];let s=Object.assign([],n);return n.forEach(t=>{const o=e.children(t),a=z(e,o);s=[...s,...a]}),s},"sorter"),Ee=f(e=>z(e,e.children()),"sortNodesByHierarchy"),j=f((e,n,s)=>{let t=e.parent(n);for(;t&&t!==s;){const o=u.get(t);if(o&&!o.externalConnections)return!0;t=e.parent(t)}return!1},"isNodeInExtractableCluster"),be=f((e,n,s)=>{const t=e.children(n)??[];for(const o of t){if(o===s||E(o,s))continue;const a=x(o,e,n);if(a&&!j(e,a,n))return a}return null},"findSafeAnchorNode");function we({prepareLayout:e,measureLayout:n,runLayoutCore:s,paintLayout:t,afterPaint:o,paintOptions:a}){const r=n??J;return f(async function(i,g,b,N){const v=g.select("g");((b==null?void 0:b.insertMarkers)??I)(v,i.markers,i.type,i.diagramId),H();const d={element:v,helpers:b,options:N};d.preparedLayout=await(e==null?void 0:e(i,d));const w=await r(i,d),y=await s(i,d),D={...d,measure:w};t?await t(i,D,y):await V(i,D,a),await(o==null?void 0:o(i,D,y))},"render")}f(we,"createCommonLayoutRenderer");function H(){te(),ne(),se(),fe()}f(H,"clearLayoutRenderState");async function J(e,{element:n},s){return await $(n,e,s)}f(J,"defaultMeasureLayout");async function V(e,n,s={}){var r,c;const{measure:t}=n,{groups:o}=t;for(const i of((r=s.getNodes)==null?void 0:r.call(s,e,n))??e.nodes)(c=s.skipNode)!=null&&c.call(s,i,n)||await W(o,i,n,s);const a=q(e.nodes);for(const i of e.edges)K(i,s)||await Q(o,i,a,e,s,n)}f(V,"paintLayoutData");async function W(e,n,s,t){n.clusterNode?S(n):Y(n,s,t)?await re(e.clusters,n):S(n)}f(W,"paintLayoutNode");function Y(e,n,s){var t;return e.isGroup===!0&&(((t=s.isCluster)==null?void 0:t.call(s,e,n))??!0)}f(Y,"shouldPaintAsCluster");function q(e){const n=new Map;for(const s of e)s!=null&&s.id&&n.set(s.id,s);return n}f(q,"buildNodeLookup");function K(e,n){var s;return e.isLayoutOnly||!!((s=n.skipEdge)!=null&&s.call(n,e))}f(K,"shouldSkipPaintEdge");async function Q(e,n,s,t,o,a){const r=ie(e.edgePaths,{...n},o.clusterDb??new Map,t.type,L(n.start,n,s,a,o),L(n.end,n,s,a,o),t.diagramId,U(n,o));T(n)&&(P.has(n.id)||await R(e.edgeLabels,n),Z(n,r))}f(Q,"paintLayoutEdge");function L(e,n,s,t,o){var a;return((a=o.getEdgeNode)==null?void 0:a.call(o,e,n,t))??(e?s.get(e)??{}:{})}f(L,"getRenderedNode");function U(e,n){return typeof n.skipIntersect=="function"?n.skipIntersect(e):n.skipIntersect??!1}f(U,"shouldSkipIntersect");function Z(e,n){const s=(n==null?void 0:n.updatedPath)??(n==null?void 0:n.originalPath),t=ce(),{subGraphTitleTotalMargin:o}=le({flowchart:t.flowchart??{}});if(e.label){const a=P.get(e.id);let r=e.x,c=e.y;if(s){const i=h.calcLabelPosition(s);l.debug("Moving label "+e.label+" from (",r,",",c,") to (",i.x,",",i.y,") abc88"),n!=null&&n.updatedPath&&(r=i.x,c=i.y)}a.attr("transform",`translate(${r}, ${c+o/2})`)}if(e!=null&&e.startLabelLeft){const a=C.get(e.id).startLeft;let r=e==null?void 0:e.x,c=e==null?void 0:e.y;if(s){const i=h.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_left",s);r=i.x,c=i.y}a.attr("transform",`translate(${r}, ${c})`)}if(e.startLabelRight){const a=C.get(e.id).startRight;let r=e.x,c=e.y;if(s){const i=h.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_right",s);r=i.x,c=i.y}a.attr("transform",`translate(${r}, ${c})`)}if(e.endLabelLeft){const a=C.get(e.id).endLeft;let r=e.x,c=e.y;if(s){const i=h.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_left",s);r=i.x,c=i.y}a.attr("transform",`translate(${r}, ${c})`)}if(e.endLabelRight){const a=C.get(e.id).endRight;let r=e.x,c=e.y;if(s){const i=h.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_right",s);r=i.x,c=i.y}a.attr("transform",`translate(${r}, ${c})`)}}f(Z,"positionRenderedEdgeLabel");export{he as a,B as b,we as c,J as d,u as e,x as f,G as i,Ee as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as p,l as k,Q as H,L as B,A as q,R as G,d as U,j,c as K}from"./index-
|
|
1
|
+
import{_ as p,l as k,Q as H,L as B,A as q,R as G,d as U,j,c as K}from"./index-z64JVqEI.js";var A="",M="",O="",D=[],b=new Map,v=p(e=>j(e,K()),"sanitizeText"),y=p(e=>{switch(e.type){case"terminal":return{...e,value:v(e.value)};case"nonterminal":return{...e,name:v(e.name)};case"sequence":return{...e,elements:e.elements.map(y)};case"choice":return{...e,alternatives:e.alternatives.map(y)};case"optional":return{...e,element:y(e.element)};case"repetition":return{...e,element:y(e.element),separator:e.separator?y(e.separator):void 0};case"special":return{...e,text:v(e.text)}}},"sanitizeAstNode"),Q=p(()=>{A="",M="",O="",D.length=0,b.clear(),q(),k.debug("[Railroad] Database cleared")},"clear"),Y=p(e=>{A=v(e),k.debug("[Railroad] Title set:",e)},"setTitle"),P=p(()=>A,"getTitle"),J=p(e=>{const i={...e,name:v(e.name),definition:y(e.definition),comment:e.comment?v(e.comment):void 0};k.debug("[Railroad] Adding rule:",i.name),b.has(i.name)&&k.warn(`[Railroad] Rule '${i.name}' is already defined. Overwriting.`),D.push(i),b.set(i.name,i)},"addRule"),Z=p(()=>D,"getRules"),V=p(e=>b.get(e),"getRule"),ee=p(e=>{M=v(e).replace(/^\s+/g,""),k.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),te=p(()=>M,"getAccTitle"),re=p(e=>{O=v(e).replace(/\n\s+/g,`
|
|
2
2
|
`),k.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),ie=p(()=>O,"getAccDescription"),ne=Y,ae=P,oe={clear:Q,setTitle:Y,getTitle:P,addRule:J,getRules:Z,getRule:V,setAccTitle:ee,getAccTitle:te,setAccDescription:re,getAccDescription:ie,setDiagramTitle:ne,getDiagramTitle:ae},f={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},le=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,se=/^[\w "',.-]+$/,de=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),L=p(e=>e?Object.keys(e).every(i=>i==="railroad"||de.has(i)):!1,"isRailroadStyleOptions"),ce=p(e=>e?"railroad"in e&&e.railroad?e.railroad:L(e)?e:{}:{},"extractRailroadOverrides"),me=p(e=>{if(!e||L(e))return{};const{railroad:i,svgId:a,theme:n,look:t,...r}=e;return r},"extractThemeOverrides"),m=p((e,i)=>{if(typeof e!="string")return i;const a=e.trim();return le.test(a)?a:i},"sanitizeColorValue"),I=p((e,i)=>{if(typeof e!="string")return i;const a=e.trim();return se.test(a)?a:i},"sanitizeFontFamilyValue"),F=p((e,i)=>{const a=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(a)&&a>=0?a:i},"sanitizeNumberValue"),he=p(e=>{const i=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(i)&&i>0?i:void 0},"parseThemeFontSize"),pe=p(e=>{const i=I(e.fontFamily,f.fontFamily),a=he(e.fontSize)??f.fontSize;return{...f,fontFamily:i,fontSize:a,terminalFill:m(e.secondBkg??e.secondaryColor,f.terminalFill),terminalStroke:m(e.secondaryBorderColor??e.lineColor,f.terminalStroke),terminalTextColor:m(e.secondaryTextColor??e.textColor,f.terminalTextColor),nonTerminalFill:m(e.mainBkg??e.background,f.nonTerminalFill),nonTerminalStroke:m(e.primaryBorderColor??e.lineColor,f.nonTerminalStroke),nonTerminalTextColor:m(e.primaryTextColor??e.textColor,f.nonTerminalTextColor),lineColor:m(e.lineColor,f.lineColor),markerFill:m(e.lineColor,f.markerFill),commentFill:m(e.labelBackground??e.tertiaryColor,f.commentFill),commentStroke:m(e.tertiaryBorderColor??e.lineColor,f.commentStroke),commentTextColor:m(e.tertiaryTextColor??e.textColor,f.commentTextColor),specialFill:m(e.tertiaryColor??e.secondaryColor,f.specialFill),specialStroke:m(e.tertiaryBorderColor??e.secondaryBorderColor,f.specialStroke),ruleNameColor:m(e.titleColor??e.textColor,f.ruleNameColor)}},"buildThemeDefaults"),E=p(e=>{const i=B(),a={...G(),...i.themeVariables??{},...me(e)},n=pe(a),t={...i.railroad??{},...ce(e)};return{compactMode:t.compactMode??n.compactMode,padding:F(t.padding,n.padding),verticalSeparation:F(t.verticalSeparation,n.verticalSeparation),horizontalSeparation:F(t.horizontalSeparation,n.horizontalSeparation),arcRadius:F(t.arcRadius,n.arcRadius),fontSize:F(t.fontSize,n.fontSize),fontFamily:I(t.fontFamily,n.fontFamily),terminalFill:m(t.terminalFill,n.terminalFill),terminalStroke:m(t.terminalStroke,n.terminalStroke),terminalTextColor:m(t.terminalTextColor,n.terminalTextColor),nonTerminalFill:m(t.nonTerminalFill,n.nonTerminalFill),nonTerminalStroke:m(t.nonTerminalStroke,n.nonTerminalStroke),nonTerminalTextColor:m(t.nonTerminalTextColor,n.nonTerminalTextColor),lineColor:m(t.lineColor,n.lineColor),strokeWidth:F(t.strokeWidth,n.strokeWidth),markerFill:m(t.markerFill,n.markerFill),commentFill:m(t.commentFill,n.commentFill),commentStroke:m(t.commentStroke,n.commentStroke),commentTextColor:m(t.commentTextColor,n.commentTextColor),specialFill:m(t.specialFill,n.specialFill),specialStroke:m(t.specialStroke,n.specialStroke),ruleNameColor:m(t.ruleNameColor,n.ruleNameColor),showMarkers:t.showMarkers??n.showMarkers,markerRadius:F(t.markerRadius,n.markerRadius)}},"buildRailroadStyleOptions"),Te=p(e=>{const{fontFamily:i,fontSize:a,terminalFill:n,terminalStroke:t,terminalTextColor:r,nonTerminalFill:o,nonTerminalStroke:g,nonTerminalTextColor:l,lineColor:s,strokeWidth:h,markerFill:u,commentFill:c,commentStroke:w,commentTextColor:d,specialFill:T,specialStroke:z,ruleNameColor:S}=E(e);return`
|
|
3
3
|
.railroad-diagram {
|
|
4
4
|
font-family: ${i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as i,k as l,a0 as d,S as o}from"./index-
|
|
1
|
+
import{_ as i,k as l,a0 as d,S as o}from"./index-z64JVqEI.js";var x=i((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),p=i((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),y=i((r,t)=>{const e=t.text.replace(d," "),s=r.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(e),s},"drawText"),m=i((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",n)},"drawImage"),g=i((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),h=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),w=i(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=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")),r},"createTooltip");export{p as a,h as b,w as c,x as d,g as e,m as f,f as g,y as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as l}from"./index-
|
|
1
|
+
import{_ as l}from"./index-z64JVqEI.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{au as B,_ as y}from"./index-
|
|
1
|
+
import{au as B,_ as y}from"./index-z64JVqEI.js";var w=5,O=1e-5,X=2,Y=.6,R=1e-6;function N(t){const e=[];for(let s=0;s<t.length-1;s++)e.push({a:t[s],b:t[s+1]});return e}y(N,"buildSegmentList");function T(t,e,s,a){const r=e.x-t.x,o=e.y-t.y,i=a.x-s.x,d=a.y-s.y,u=r*d-o*i;if(u===0)return null;const n=s.x-t.x,c=s.y-t.y,l=(n*d-c*i)/u,p=(n*o-c*r)/u;return l<=R||l>=1-R||p<=R||p>=1-R?null:{point:{x:t.x+l*r,y:t.y+l*o},tA:l,tB:p}}y(T,"segmentIntersection");function P(t){return Math.abs(t.b.x-t.a.x)>=Math.abs(t.b.y-t.a.y)}y(P,"isHorizontalSeg");function v(t,e,s){if(t.curve!=="rounded")return!1;const a=t.points,r=a[e],o=a[e+1];if(!r||!o)return!1;const i=Math.hypot(o.x-r.x,o.y-r.y),d=s*i,u=e>0?L(a[e-1],r,o,w):null;if(u&&d<u.cutLen)return!0;const n=e+2<a.length?L(r,o,a[e+2],w):null;return n!==null&&i-d<n.cutLen}y(v,"crossingSitsInRoundedCorner");function _(t){const e=[];for(let s=0;s<t.length;s++){const a=t[s],r=N(a.points);for(let o=s+1;o<t.length;o++){const i=t[o],d=N(i.points);for(const[u,n]of r.entries())for(const[c,l]of d.entries()){const p=T(n.a,n.b,l.a,l.b);if(!p||v(a,u,p.tA)||v(i,c,p.tB))continue;const g=P(n),S=P(l);(g!==S?g:!1)?e.push({jumpEdgeId:a.id,otherEdgeId:i.id,segIndex:u,t:p.tA,point:p.point}):e.push({jumpEdgeId:i.id,otherEdgeId:a.id,segIndex:c,t:p.tB,point:p.point})}}}return e}y(_,"findEdgeIntersections");function M(t){const e=Math.round(t*1e3)/1e3;return Number.isInteger(e)?`${e}`:`${e}`}y(M,"fmt");function A(t){return`${M(t.x)},${M(t.y)}`}y(A,"pointToString");function C(t){const e=t.b.x-t.a.x,s=t.b.y-t.a.y;return Math.abs(e)>=Math.abs(s)?e>=0?1:0:s>=0?1:0}y(C,"getArcSweepFlag");function D(t,e){if(t.length<2)return t.map(o=>({...o}));const s=t.map(o=>({...o})),a=e.arrowTypeStart&&B[e.arrowTypeStart];if(a){const o=t[0],i=t[1],d=Math.atan2(i.y-o.y,i.x-o.x);s[0].x=o.x+a*Math.cos(d),s[0].y=o.y+a*Math.sin(d)}const r=e.arrowTypeEnd&&B[e.arrowTypeEnd];if(r){const o=t.length,i=t[o-2],d=t[o-1],u=Math.atan2(d.y-i.y,d.x-i.x);s[o-1].x=d.x-r*Math.cos(u),s[o-1].y=d.y-r*Math.sin(u)}return s}y(D,"applyMarkerOffsets");function k(t,e,s,a,r){const o=t.point.x,i=t.point.y,d={x:o-e*t.r,y:i-s*t.r},u={x:o+e*t.r,y:i+s*t.r},n=[`L${A(d)}`];return r==="arc"?n.push(`A${M(t.r)},${M(t.r)} 0 0 ${a} ${A(u)}`):n.push(`M${A(u)}`),n}y(k,"emitJump");function L(t,e,s,a){const r=e.x-t.x,o=e.y-t.y,i=s.x-e.x,d=s.y-e.y,u=Math.hypot(r,o),n=Math.hypot(i,d);if(u<O||n<O)return null;const c=r/u,l=o/u,p=i/n,g=d/n,S=c*p+l*g,b=Math.max(-1,Math.min(1,S)),m=Math.acos(b);if(m<O||Math.abs(Math.PI-m)<O)return null;const h=Math.min(a/Math.sin(m/2),u/2,n/2);return{startX:e.x-c*h,startY:e.y-l*h,endX:e.x+p*h,endY:e.y+g*h,ctrlX:e.x,ctrlY:e.y,cutLen:h}}y(L,"computeRoundedCorner");function H(t,e,s){const a=t.points;if(a.length<2)return"";const r=D(a,t),o=t.curve==="rounded",i=N(r),d=new Map;for(const n of e){const c=i[n.segIndex];if(!c)continue;const l=Math.hypot(c.b.x-c.a.x,c.b.y-c.a.y),p=d.get(n.segIndex)??[];p.push({t:n.t,point:n.point,d:n.t*l,r:s.jumpRadius}),d.set(n.segIndex,p)}const u=[`M${A(r[0])}`];for(let n=0;n<i.length;n++){const c=i[n],l=Math.hypot(c.b.x-c.a.x,c.b.y-c.a.y),p=l===0?0:(c.b.x-c.a.x)/l,g=l===0?0:(c.b.y-c.a.y)/l,S=C(c);let b=0;if(o&&n>0){const f=L(r[n-1],r[n],r[n+1]??r[n],w);f&&(b=f.cutLen)}let m=l,h=null;o&&n<i.length-1&&(h=L(r[n],r[n+1],r[n+2]??r[n+1],w),h&&(m=l-h.cutLen));const $=s.jumpRadius*Y,x=[...d.get(n)??[]].sort((f,E)=>f.t-E.t).filter(f=>{const E=Math.min(f.d-b,m-f.d)-X;return f.r=Math.min(f.r,E),f.r>=$});for(let f=0;f<x.length-1;f++){const E=x[f+1].d-x[f].d;if(x[f].r+x[f+1].r>E){const I=E/2;x[f].r=Math.min(x[f].r,I),x[f+1].r=Math.min(x[f+1].r,I)}}for(const f of x)f.r<$||u.push(...k(f,p,g,S,s.jumpStyle));o&&h?(u.push(`L${M(h.startX)},${M(h.startY)}`),u.push(`Q${M(h.ctrlX)},${M(h.ctrlY)} ${M(h.endX)},${M(h.endY)}`)):u.push(`L${A(c.b)}`)}return u.join(" ")}y(H,"rewriteEdgePath");function J(t){return/^[\d\s+,.LMelm-]*$/.test(t)}y(J,"isStraightPath");function U(t){return t?t==="linear"||t==="rounded"||t==="step"||t==="stepBefore"||t==="stepAfter":!0}y(U,"curveSupportsLineHops");function j(t){if(!t)return null;try{const e=typeof atob=="function"?atob(t):Buffer.from(t,"base64").toString(),s=JSON.parse(e);if(!Array.isArray(s))return null;const a=[];for(const r of s)r&&typeof r.x=="number"&&typeof r.y=="number"&&a.push({x:r.x,y:r.y});return a.length>=2?a:null}catch{return null}}y(j,"decodeDataPoints");function F(t,e,s){if(!s.enabled)return;const a=t.node();if(!a)return;const r=new Map;for(const n of e)r.set(n.id,n);const o=new Map;for(const n of a.querySelectorAll("path[data-id]")){const c=n.getAttribute("data-id");c!==null&&!o.has(c)&&o.set(c,n)}const i=[];for(const n of e){const c=o.get(n.id);if(!c)continue;const p=j(c.getAttribute("data-points"))??n.points;i.push({...n,points:p})}const d=_(i);if(d.length===0)return;const u=new Map;for(const n of d){const c=u.get(n.jumpEdgeId)??[];c.push(n),u.set(n.jumpEdgeId,c)}for(const n of i){const c=u.get(n.id);if(!c||c.length===0)continue;const l=r.get(n.id),p=l==null?void 0:l.curve;if(p!==void 0&&!U(p))continue;const g=o.get(n.id);if(!g)continue;if(p===void 0){const x=g.getAttribute("d")??"";if(!J(x))continue}const S=g.getAttribute("style")??"",b=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(S),m=b?Number.parseFloat(b[1]):null,h=b?Number.parseFloat(b[2]):null,$=H(n,c,s);if(g.setAttribute("d",$),m!==null&&h!==null&&typeof g.getTotalLength=="function"){const x=g.getTotalLength(),f=Math.max(0,x-m-h),E=`0 ${m} ${f} ${h}`,I=S.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${E};`).replace(/;\s*;+/g,";");g.setAttribute("style",I)}}}y(F,"applyLineJumpsToSvg");export{F as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as a,d as w,l as x}from"./index-
|
|
1
|
+
import{_ as a,d as w,l as x}from"./index-z64JVqEI.js";var B=a((e,t,i,o)=>{e.attr("class",i);const{width:r,height:h,x:n,y:c}=u(e,t);w(e,h,r,o);const s=d(n,c,r,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{var o;const i=((o=e.node())==null?void 0:o.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),d=a((e,t,i,o,r)=>`${e-r} ${t-r} ${i} ${o}`,"createViewBox");export{B as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as a,k as o}from"./index-
|
|
1
|
+
import{_ as a,k as o}from"./index-z64JVqEI.js";var g=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as st}from"./chunk-5VM5RSS4-DS8_TMNo.js";import{g as it}from"./chunk-XXDRQBXY-CyL5e2d_.js";import{s as at}from"./chunk-WEXAMYUT-C-ODRuff.js";import{_ as g,l as we,c as B,p as rt,r as nt,u as Me,k as ge,z as lt,b as ut,a as ot,s as ct,g as ht,q as dt,t as pt,m as I,A as At,y as ft,C as gt,D as mt,E as Ct,F as bt,j as kt,Y as z}from"./index-BFkHoNBz.js";import{c as Et}from"./chunk-GWA4HPMP-BKqnDCMe.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";var Ve=(function(){var t=g(function(O,c,d,A){for(d=d||{},A=O.length;A--;d[O[A]]=c);return d},"o"),i=[1,18],a=[1,19],r=[1,20],n=[1,41],l=[1,26],h=[1,42],p=[1,24],m=[1,25],o=[1,32],y=[1,33],M=[1,34],b=[1,45],K=[1,35],Ce=[1,36],be=[1,37],ke=[1,38],Ee=[1,27],Te=[1,28],ye=[1,29],De=[1,30],Fe=[1,31],k=[1,44],E=[1,46],T=[1,43],D=[1,47],Be=[1,9],f=[1,8,9],se=[1,58],ie=[1,59],ae=[1,60],re=[1,61],ne=[1,62],_e=[1,63],Se=[1,64],S=[1,8,9,41],Pe=[1,77],G=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],le=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ue=[13,60,86,100,102,103],W=[13,60,73,74,86,100,102,103],Re=[13,60,68,69,70,71,72,86,100,102,103],oe=[1,103],Q=[1,121],j=[1,117],X=[1,113],q=[1,119],H=[1,114],J=[1,115],Z=[1,116],$=[1,118],ee=[1,120],Ge=[22,50,60,61,82,86,87,88,89,90],Ue=[1,128],ce=[12,39],Ne=[1,8,9,39,41,44,46],he=[1,8,9,22],ze=[1,153],Ye=[1,8,9,61],x=[1,8,9,22,50,60,61,82,86,87,88,89,90],Le={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:g(function(c,d,A,u,C,e,te){var s=e.length-1;switch(C){case 8:this.$=e[s-1];break;case 9:case 10:case 13:case 15:this.$=e[s];break;case 11:case 14:this.$=e[s-2]+"."+e[s];break;case 12:case 16:this.$=e[s-1]+e[s];break;case 17:case 18:this.$=e[s-1]+"~"+e[s]+"~";break;case 19:u.addRelation(e[s]);break;case 20:e[s-1].title=u.cleanupLabel(e[s]),u.addRelation(e[s-1]);break;case 31:this.$=e[s].trim(),u.setAccTitle(this.$);break;case 32:case 33:this.$=e[s].trim(),u.setAccDescription(this.$);break;case 34:u.addClassesToNamespace(e[s-3],e[s-1][0],e[s-1][1]),u.popNamespace();break;case 35:u.addClassesToNamespace(e[s-4],e[s-1][0],e[s-1][1]),u.popNamespace();break;case 36:this.$=u.addNamespace(e[s]);break;case 37:this.$=u.addNamespace(e[s-1],e[s]);break;case 38:this.$=[[e[s]],[]];break;case 39:this.$=[[e[s-1]],[]];break;case 40:e[s][0].unshift(e[s-2]),this.$=e[s];break;case 41:this.$=[[],[e[s]]];break;case 42:this.$=[[],[e[s-1]]];break;case 43:e[s][1].unshift(e[s-2]),this.$=e[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[s];break;case 48:u.setCssClass(e[s-2],e[s]);break;case 49:u.addMembers(e[s-3],e[s-1]);break;case 51:u.setCssClass(e[s-5],e[s-3]),u.addMembers(e[s-5],e[s-1]);break;case 52:u.addAnnotation(e[s-3],e[s-1]);break;case 53:u.addAnnotation(e[s-6],e[s-4]),u.addMembers(e[s-6],e[s-1]);break;case 54:u.addAnnotation(e[s-5],e[s-3]);break;case 55:this.$=e[s],u.addClass(e[s]);break;case 56:this.$=e[s-1],u.addClass(e[s-1]),u.setClassLabel(e[s-1],e[s]);break;case 60:u.addAnnotation(e[s],e[s-2]);break;case 61:case 74:this.$=[e[s]];break;case 62:e[s].push(e[s-1]),this.$=e[s];break;case 63:break;case 64:u.addMember(e[s-1],u.cleanupLabel(e[s]));break;case 65:break;case 66:break;case 67:this.$={id1:e[s-2],id2:e[s],relation:e[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[s-3],id2:e[s],relation:e[s-1],relationTitle1:e[s-2],relationTitle2:"none"};break;case 69:this.$={id1:e[s-3],id2:e[s],relation:e[s-2],relationTitle1:"none",relationTitle2:e[s-1]};break;case 70:this.$={id1:e[s-4],id2:e[s],relation:e[s-2],relationTitle1:e[s-3],relationTitle2:e[s-1]};break;case 71:this.$=u.addNote(e[s],e[s-1]);break;case 72:this.$=u.addNote(e[s]);break;case 73:this.$=e[s-2],u.defineClass(e[s-1],e[s]);break;case 75:this.$=e[s-2].concat([e[s]]);break;case 76:u.setDirection("TB");break;case 77:u.setDirection("BT");break;case 78:u.setDirection("RL");break;case 79:u.setDirection("LR");break;case 80:this.$={type1:e[s-2],type2:e[s],lineType:e[s-1]};break;case 81:this.$={type1:"none",type2:e[s],lineType:e[s-1]};break;case 82:this.$={type1:e[s-1],type2:"none",lineType:e[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[s]};break;case 84:this.$=u.relationType.AGGREGATION;break;case 85:this.$=u.relationType.EXTENSION;break;case 86:this.$=u.relationType.COMPOSITION;break;case 87:this.$=u.relationType.DEPENDENCY;break;case 88:this.$=u.relationType.LOLLIPOP;break;case 89:this.$=u.lineType.LINE;break;case 90:this.$=u.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[s-2],u.setClickEvent(e[s-1],e[s]);break;case 92:case 98:this.$=e[s-3],u.setClickEvent(e[s-2],e[s-1]),u.setTooltip(e[s-2],e[s]);break;case 93:this.$=e[s-2],u.setLink(e[s-1],e[s]);break;case 94:this.$=e[s-3],u.setLink(e[s-2],e[s-1],e[s]);break;case 95:this.$=e[s-3],u.setLink(e[s-2],e[s-1]),u.setTooltip(e[s-2],e[s]);break;case 96:this.$=e[s-4],u.setLink(e[s-3],e[s-2],e[s]),u.setTooltip(e[s-3],e[s-1]);break;case 99:this.$=e[s-3],u.setClickEvent(e[s-2],e[s-1],e[s]);break;case 100:this.$=e[s-4],u.setClickEvent(e[s-3],e[s-2],e[s-1]),u.setTooltip(e[s-3],e[s]);break;case 101:this.$=e[s-3],u.setLink(e[s-2],e[s]);break;case 102:this.$=e[s-4],u.setLink(e[s-3],e[s-1],e[s]);break;case 103:this.$=e[s-4],u.setLink(e[s-3],e[s-1]),u.setTooltip(e[s-3],e[s]);break;case 104:this.$=e[s-5],u.setLink(e[s-4],e[s-2],e[s]),u.setTooltip(e[s-4],e[s-1]);break;case 105:this.$=e[s-2],u.setCssStyle(e[s-1],e[s]);break;case 106:u.setCssClass(e[s-1],e[s]);break;case 107:this.$=[e[s]];break;case 108:e[s-2].push(e[s]),this.$=e[s-2];break;case 110:this.$=e[s-1]+e[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:l,48:h,51:p,52:m,54:o,56:y,57:M,60:b,62:K,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:D},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(Be,[2,5],{8:[1,48]}),{8:[1,49]},t(f,[2,19],{22:[1,50]}),t(f,[2,21]),t(f,[2,22]),t(f,[2,23]),t(f,[2,24]),t(f,[2,25]),t(f,[2,26]),t(f,[2,27]),t(f,[2,28]),t(f,[2,29]),t(f,[2,30]),{34:[1,51]},{36:[1,52]},t(f,[2,33]),t(f,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:se,69:ie,70:ae,71:re,72:ne,73:_e,74:Se}),{39:[1,65]},t(S,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(f,[2,65]),t(f,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:D},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:D},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:D},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:D},{13:Pe,55:76},{58:78,60:[1,79]},t(f,[2,76]),t(f,[2,77]),t(f,[2,78]),t(f,[2,79]),t(G,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:D}),t(G,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:D},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:D},t(le,[2,133]),t(le,[2,134]),t(le,[2,135]),t(le,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(Be,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:r,42:n,46:l,48:h,51:p,52:m,54:o,56:y,57:M,60:b,62:K,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:D}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:l,48:h,51:p,52:m,54:o,56:y,57:M,60:b,62:K,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:D},t(f,[2,20]),t(f,[2,31]),t(f,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:D},{53:92,66:56,67:57,68:se,69:ie,70:ae,71:re,72:ne,73:_e,74:Se},t(f,[2,64]),{67:93,73:_e,74:Se},t(ue,[2,83],{66:94,68:se,69:ie,70:ae,71:re,72:ne}),t(W,[2,84]),t(W,[2,85]),t(W,[2,86]),t(W,[2,87]),t(W,[2,88]),t(Re,[2,89]),t(Re,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:o,56:y},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:oe},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:Q,50:j,59:110,60:X,82:q,84:111,85:112,86:H,87:J,88:Z,89:$,90:ee},{60:[1,122]},{13:Pe,55:123},t(S,[2,72]),t(S,[2,138]),{22:Q,50:j,59:124,60:X,61:[1,125],82:q,84:111,85:112,86:H,87:J,88:Z,89:$,90:ee},t(Ge,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:D},t(G,[2,16]),t(G,[2,17]),t(G,[2,18]),{11:127,12:Ue,39:[2,36]},t(ce,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:D}),t(ce,[2,10]),t(Ne,[2,55],{11:131,12:Ue}),t(Be,[2,7]),{9:[1,132]},t(he,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:D},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:D},t(ue,[2,82],{66:136,68:se,69:ie,70:ae,71:re,72:ne}),t(ue,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:o,56:y},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(S,[2,48],{39:[1,142]}),{41:[1,143]},t(S,[2,50]),{41:[2,61],45:144,51:oe},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:D},t(f,[2,91],{13:[1,147]}),t(f,[2,93],{13:[1,149],77:[1,148]}),t(f,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(f,[2,105],{61:ze}),t(Ye,[2,107],{85:154,22:Q,50:j,60:X,82:q,86:H,87:J,88:Z,89:$,90:ee}),t(x,[2,109]),t(x,[2,111]),t(x,[2,112]),t(x,[2,113]),t(x,[2,114]),t(x,[2,115]),t(x,[2,116]),t(x,[2,117]),t(x,[2,118]),t(x,[2,119]),t(f,[2,106]),t(S,[2,71]),t(f,[2,73],{61:ze}),{60:[1,155]},t(G,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:D},t(ce,[2,12]),t(Ne,[2,56]),{1:[2,4]},t(he,[2,69]),t(he,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:D},t(ue,[2,80]),t(S,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:o,56:y},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:o,56:y},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:o,56:y},{45:163,51:oe},t(S,[2,49]),{41:[2,62]},t(S,[2,52],{39:[1,164]}),t(f,[2,60]),t(f,[2,92]),t(f,[2,94]),t(f,[2,95],{77:[1,165]}),t(f,[2,98]),t(f,[2,99],{13:[1,166]}),t(f,[2,101],{13:[1,168],77:[1,167]}),{22:Q,50:j,60:X,82:q,84:169,85:112,86:H,87:J,88:Z,89:$,90:ee},t(x,[2,110]),t(Ge,[2,75]),{14:[1,170]},t(ce,[2,11]),t(he,[2,70]),t(S,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:oe},t(f,[2,96]),t(f,[2,100]),t(f,[2,102]),t(f,[2,103],{77:[1,174]}),t(Ye,[2,108],{85:154,22:Q,50:j,60:X,82:q,86:H,87:J,88:Z,89:$,90:ee}),t(Ne,[2,8]),t(S,[2,51]),{41:[1,175]},t(S,[2,54]),t(f,[2,104]),t(S,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:g(function(c,d){if(d.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=d,A}},"parseError"),parse:g(function(c){var d=this,A=[0],u=[],C=[null],e=[],te=this.table,s="",pe=0,Ke=0,Ze=2,We=1,$e=e.slice.call(arguments,1),F=Object.create(this.lexer),V={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(V.yy[xe]=this.yy[xe]);F.setInput(c,V.yy),V.yy.lexer=F,V.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var ve=F.yylloc;e.push(ve);var et=F.options&&F.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function tt(N){A.length=A.length-2*N,C.length=C.length-N,e.length=e.length-N}g(tt,"popStack");function Qe(){var N;return N=u.pop()||F.lex()||We,typeof N!="number"&&(N instanceof Array&&(u=N,N=u.pop()),N=d.symbols_[N]||N),N}g(Qe,"lex");for(var _,P,L,Ie,U={},Ae,v,je,fe;;){if(P=A[A.length-1],this.defaultActions[P]?L=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=Qe()),L=te[P]&&te[P][_]),typeof L>"u"||!L.length||!L[0]){var Oe="";fe=[];for(Ae in te[P])this.terminals_[Ae]&&Ae>Ze&&fe.push("'"+this.terminals_[Ae]+"'");F.showPosition?Oe="Parse error on line "+(pe+1)+`:
|
|
1
|
+
import{g as st}from"./chunk-5VM5RSS4-sUx0MLUK.js";import{g as it}from"./chunk-XXDRQBXY-C7ux97rA.js";import{s as at}from"./chunk-WEXAMYUT-CZmF6ztf.js";import{_ as g,l as we,c as B,p as rt,r as nt,u as Me,k as ge,z as lt,b as ut,a as ot,s as ct,g as ht,q as dt,t as pt,m as I,A as At,y as ft,C as gt,D as mt,E as Ct,F as bt,j as kt,Y as z}from"./index-z64JVqEI.js";import{c as Et}from"./chunk-GWA4HPMP-CS_7AIEI.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";var Ve=(function(){var t=g(function(O,c,d,A){for(d=d||{},A=O.length;A--;d[O[A]]=c);return d},"o"),i=[1,18],a=[1,19],r=[1,20],n=[1,41],l=[1,26],h=[1,42],p=[1,24],m=[1,25],o=[1,32],y=[1,33],M=[1,34],b=[1,45],K=[1,35],Ce=[1,36],be=[1,37],ke=[1,38],Ee=[1,27],Te=[1,28],ye=[1,29],De=[1,30],Fe=[1,31],k=[1,44],E=[1,46],T=[1,43],D=[1,47],Be=[1,9],f=[1,8,9],se=[1,58],ie=[1,59],ae=[1,60],re=[1,61],ne=[1,62],_e=[1,63],Se=[1,64],S=[1,8,9,41],Pe=[1,77],G=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],le=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ue=[13,60,86,100,102,103],W=[13,60,73,74,86,100,102,103],Re=[13,60,68,69,70,71,72,86,100,102,103],oe=[1,103],Q=[1,121],j=[1,117],X=[1,113],q=[1,119],H=[1,114],J=[1,115],Z=[1,116],$=[1,118],ee=[1,120],Ge=[22,50,60,61,82,86,87,88,89,90],Ue=[1,128],ce=[12,39],Ne=[1,8,9,39,41,44,46],he=[1,8,9,22],ze=[1,153],Ye=[1,8,9,61],x=[1,8,9,22,50,60,61,82,86,87,88,89,90],Le={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:g(function(c,d,A,u,C,e,te){var s=e.length-1;switch(C){case 8:this.$=e[s-1];break;case 9:case 10:case 13:case 15:this.$=e[s];break;case 11:case 14:this.$=e[s-2]+"."+e[s];break;case 12:case 16:this.$=e[s-1]+e[s];break;case 17:case 18:this.$=e[s-1]+"~"+e[s]+"~";break;case 19:u.addRelation(e[s]);break;case 20:e[s-1].title=u.cleanupLabel(e[s]),u.addRelation(e[s-1]);break;case 31:this.$=e[s].trim(),u.setAccTitle(this.$);break;case 32:case 33:this.$=e[s].trim(),u.setAccDescription(this.$);break;case 34:u.addClassesToNamespace(e[s-3],e[s-1][0],e[s-1][1]),u.popNamespace();break;case 35:u.addClassesToNamespace(e[s-4],e[s-1][0],e[s-1][1]),u.popNamespace();break;case 36:this.$=u.addNamespace(e[s]);break;case 37:this.$=u.addNamespace(e[s-1],e[s]);break;case 38:this.$=[[e[s]],[]];break;case 39:this.$=[[e[s-1]],[]];break;case 40:e[s][0].unshift(e[s-2]),this.$=e[s];break;case 41:this.$=[[],[e[s]]];break;case 42:this.$=[[],[e[s-1]]];break;case 43:e[s][1].unshift(e[s-2]),this.$=e[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[s];break;case 48:u.setCssClass(e[s-2],e[s]);break;case 49:u.addMembers(e[s-3],e[s-1]);break;case 51:u.setCssClass(e[s-5],e[s-3]),u.addMembers(e[s-5],e[s-1]);break;case 52:u.addAnnotation(e[s-3],e[s-1]);break;case 53:u.addAnnotation(e[s-6],e[s-4]),u.addMembers(e[s-6],e[s-1]);break;case 54:u.addAnnotation(e[s-5],e[s-3]);break;case 55:this.$=e[s],u.addClass(e[s]);break;case 56:this.$=e[s-1],u.addClass(e[s-1]),u.setClassLabel(e[s-1],e[s]);break;case 60:u.addAnnotation(e[s],e[s-2]);break;case 61:case 74:this.$=[e[s]];break;case 62:e[s].push(e[s-1]),this.$=e[s];break;case 63:break;case 64:u.addMember(e[s-1],u.cleanupLabel(e[s]));break;case 65:break;case 66:break;case 67:this.$={id1:e[s-2],id2:e[s],relation:e[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[s-3],id2:e[s],relation:e[s-1],relationTitle1:e[s-2],relationTitle2:"none"};break;case 69:this.$={id1:e[s-3],id2:e[s],relation:e[s-2],relationTitle1:"none",relationTitle2:e[s-1]};break;case 70:this.$={id1:e[s-4],id2:e[s],relation:e[s-2],relationTitle1:e[s-3],relationTitle2:e[s-1]};break;case 71:this.$=u.addNote(e[s],e[s-1]);break;case 72:this.$=u.addNote(e[s]);break;case 73:this.$=e[s-2],u.defineClass(e[s-1],e[s]);break;case 75:this.$=e[s-2].concat([e[s]]);break;case 76:u.setDirection("TB");break;case 77:u.setDirection("BT");break;case 78:u.setDirection("RL");break;case 79:u.setDirection("LR");break;case 80:this.$={type1:e[s-2],type2:e[s],lineType:e[s-1]};break;case 81:this.$={type1:"none",type2:e[s],lineType:e[s-1]};break;case 82:this.$={type1:e[s-1],type2:"none",lineType:e[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[s]};break;case 84:this.$=u.relationType.AGGREGATION;break;case 85:this.$=u.relationType.EXTENSION;break;case 86:this.$=u.relationType.COMPOSITION;break;case 87:this.$=u.relationType.DEPENDENCY;break;case 88:this.$=u.relationType.LOLLIPOP;break;case 89:this.$=u.lineType.LINE;break;case 90:this.$=u.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[s-2],u.setClickEvent(e[s-1],e[s]);break;case 92:case 98:this.$=e[s-3],u.setClickEvent(e[s-2],e[s-1]),u.setTooltip(e[s-2],e[s]);break;case 93:this.$=e[s-2],u.setLink(e[s-1],e[s]);break;case 94:this.$=e[s-3],u.setLink(e[s-2],e[s-1],e[s]);break;case 95:this.$=e[s-3],u.setLink(e[s-2],e[s-1]),u.setTooltip(e[s-2],e[s]);break;case 96:this.$=e[s-4],u.setLink(e[s-3],e[s-2],e[s]),u.setTooltip(e[s-3],e[s-1]);break;case 99:this.$=e[s-3],u.setClickEvent(e[s-2],e[s-1],e[s]);break;case 100:this.$=e[s-4],u.setClickEvent(e[s-3],e[s-2],e[s-1]),u.setTooltip(e[s-3],e[s]);break;case 101:this.$=e[s-3],u.setLink(e[s-2],e[s]);break;case 102:this.$=e[s-4],u.setLink(e[s-3],e[s-1],e[s]);break;case 103:this.$=e[s-4],u.setLink(e[s-3],e[s-1]),u.setTooltip(e[s-3],e[s]);break;case 104:this.$=e[s-5],u.setLink(e[s-4],e[s-2],e[s]),u.setTooltip(e[s-4],e[s-1]);break;case 105:this.$=e[s-2],u.setCssStyle(e[s-1],e[s]);break;case 106:u.setCssClass(e[s-1],e[s]);break;case 107:this.$=[e[s]];break;case 108:e[s-2].push(e[s]),this.$=e[s-2];break;case 110:this.$=e[s-1]+e[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:l,48:h,51:p,52:m,54:o,56:y,57:M,60:b,62:K,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:D},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(Be,[2,5],{8:[1,48]}),{8:[1,49]},t(f,[2,19],{22:[1,50]}),t(f,[2,21]),t(f,[2,22]),t(f,[2,23]),t(f,[2,24]),t(f,[2,25]),t(f,[2,26]),t(f,[2,27]),t(f,[2,28]),t(f,[2,29]),t(f,[2,30]),{34:[1,51]},{36:[1,52]},t(f,[2,33]),t(f,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:se,69:ie,70:ae,71:re,72:ne,73:_e,74:Se}),{39:[1,65]},t(S,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(f,[2,65]),t(f,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:D},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:D},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:D},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:D},{13:Pe,55:76},{58:78,60:[1,79]},t(f,[2,76]),t(f,[2,77]),t(f,[2,78]),t(f,[2,79]),t(G,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:D}),t(G,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:D},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:D},t(le,[2,133]),t(le,[2,134]),t(le,[2,135]),t(le,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(Be,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:r,42:n,46:l,48:h,51:p,52:m,54:o,56:y,57:M,60:b,62:K,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:D}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:l,48:h,51:p,52:m,54:o,56:y,57:M,60:b,62:K,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:D},t(f,[2,20]),t(f,[2,31]),t(f,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:D},{53:92,66:56,67:57,68:se,69:ie,70:ae,71:re,72:ne,73:_e,74:Se},t(f,[2,64]),{67:93,73:_e,74:Se},t(ue,[2,83],{66:94,68:se,69:ie,70:ae,71:re,72:ne}),t(W,[2,84]),t(W,[2,85]),t(W,[2,86]),t(W,[2,87]),t(W,[2,88]),t(Re,[2,89]),t(Re,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:o,56:y},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:oe},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:Q,50:j,59:110,60:X,82:q,84:111,85:112,86:H,87:J,88:Z,89:$,90:ee},{60:[1,122]},{13:Pe,55:123},t(S,[2,72]),t(S,[2,138]),{22:Q,50:j,59:124,60:X,61:[1,125],82:q,84:111,85:112,86:H,87:J,88:Z,89:$,90:ee},t(Ge,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:D},t(G,[2,16]),t(G,[2,17]),t(G,[2,18]),{11:127,12:Ue,39:[2,36]},t(ce,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:D}),t(ce,[2,10]),t(Ne,[2,55],{11:131,12:Ue}),t(Be,[2,7]),{9:[1,132]},t(he,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:D},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:D},t(ue,[2,82],{66:136,68:se,69:ie,70:ae,71:re,72:ne}),t(ue,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:o,56:y},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(S,[2,48],{39:[1,142]}),{41:[1,143]},t(S,[2,50]),{41:[2,61],45:144,51:oe},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:D},t(f,[2,91],{13:[1,147]}),t(f,[2,93],{13:[1,149],77:[1,148]}),t(f,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(f,[2,105],{61:ze}),t(Ye,[2,107],{85:154,22:Q,50:j,60:X,82:q,86:H,87:J,88:Z,89:$,90:ee}),t(x,[2,109]),t(x,[2,111]),t(x,[2,112]),t(x,[2,113]),t(x,[2,114]),t(x,[2,115]),t(x,[2,116]),t(x,[2,117]),t(x,[2,118]),t(x,[2,119]),t(f,[2,106]),t(S,[2,71]),t(f,[2,73],{61:ze}),{60:[1,155]},t(G,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:D},t(ce,[2,12]),t(Ne,[2,56]),{1:[2,4]},t(he,[2,69]),t(he,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:D},t(ue,[2,80]),t(S,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:o,56:y},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:o,56:y},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:o,56:y},{45:163,51:oe},t(S,[2,49]),{41:[2,62]},t(S,[2,52],{39:[1,164]}),t(f,[2,60]),t(f,[2,92]),t(f,[2,94]),t(f,[2,95],{77:[1,165]}),t(f,[2,98]),t(f,[2,99],{13:[1,166]}),t(f,[2,101],{13:[1,168],77:[1,167]}),{22:Q,50:j,60:X,82:q,84:169,85:112,86:H,87:J,88:Z,89:$,90:ee},t(x,[2,110]),t(Ge,[2,75]),{14:[1,170]},t(ce,[2,11]),t(he,[2,70]),t(S,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:oe},t(f,[2,96]),t(f,[2,100]),t(f,[2,102]),t(f,[2,103],{77:[1,174]}),t(Ye,[2,108],{85:154,22:Q,50:j,60:X,82:q,86:H,87:J,88:Z,89:$,90:ee}),t(Ne,[2,8]),t(S,[2,51]),{41:[1,175]},t(S,[2,54]),t(f,[2,104]),t(S,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:g(function(c,d){if(d.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=d,A}},"parseError"),parse:g(function(c){var d=this,A=[0],u=[],C=[null],e=[],te=this.table,s="",pe=0,Ke=0,Ze=2,We=1,$e=e.slice.call(arguments,1),F=Object.create(this.lexer),V={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(V.yy[xe]=this.yy[xe]);F.setInput(c,V.yy),V.yy.lexer=F,V.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var ve=F.yylloc;e.push(ve);var et=F.options&&F.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function tt(N){A.length=A.length-2*N,C.length=C.length-N,e.length=e.length-N}g(tt,"popStack");function Qe(){var N;return N=u.pop()||F.lex()||We,typeof N!="number"&&(N instanceof Array&&(u=N,N=u.pop()),N=d.symbols_[N]||N),N}g(Qe,"lex");for(var _,P,L,Ie,U={},Ae,v,je,fe;;){if(P=A[A.length-1],this.defaultActions[P]?L=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=Qe()),L=te[P]&&te[P][_]),typeof L>"u"||!L.length||!L[0]){var Oe="";fe=[];for(Ae in te[P])this.terminals_[Ae]&&Ae>Ze&&fe.push("'"+this.terminals_[Ae]+"'");F.showPosition?Oe="Parse error on line "+(pe+1)+`:
|
|
2
2
|
`+F.showPosition()+`
|
|
3
3
|
Expecting `+fe.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Oe="Parse error on line "+(pe+1)+": Unexpected "+(_==We?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Oe,{text:F.match,token:this.terminals_[_]||_,line:F.yylineno,loc:ve,expected:fe})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(L[0]){case 1:A.push(_),C.push(F.yytext),e.push(F.yylloc),A.push(L[1]),_=null,Ke=F.yyleng,s=F.yytext,pe=F.yylineno,ve=F.yylloc;break;case 2:if(v=this.productions_[L[1]][1],U.$=C[C.length-v],U._$={first_line:e[e.length-(v||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(v||1)].first_column,last_column:e[e.length-1].last_column},et&&(U._$.range=[e[e.length-(v||1)].range[0],e[e.length-1].range[1]]),Ie=this.performAction.apply(U,[s,Ke,pe,V.yy,L[1],C,e].concat($e)),typeof Ie<"u")return Ie;v&&(A=A.slice(0,-1*v*2),C=C.slice(0,-1*v),e=e.slice(0,-1*v)),A.push(this.productions_[L[1]][0]),C.push(U.$),e.push(U._$),je=te[A[A.length-2]][A[A.length-1]],A.push(je);break;case 3:return!0}}return!0},"parse")},Je=(function(){var O={EOF:1,parseError:g(function(d,A){if(this.yy.parser)this.yy.parser.parseError(d,A);else throw new Error(d)},"parseError"),setInput:g(function(c,d){return this.yy=d||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:g(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:g(function(c){var d=c.length,A=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),A.length-1&&(this.yylineno-=A.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:A?(A.length===u.length?this.yylloc.first_column:0)+u[u.length-A.length].length-A[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:g(function(){return this._more=!0,this},"more"),reject:g(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:g(function(c){this.unput(this.match.slice(c))},"less"),pastInput:g(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:g(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:g(function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
|