@zjlab-frontier/markdown 1.0.17 → 1.0.18
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/{arc-BjPzcPGr.mjs → arc-B8UMP-AJ.mjs} +1 -1
- package/dist/{blockDiagram-c4efeb88-CF7cv0po.mjs → blockDiagram-c4efeb88-r24kd2hu.mjs} +5 -5
- package/dist/{c4Diagram-c83219d4-BERRbSr-.mjs → c4Diagram-c83219d4-z9w7uVen.mjs} +2 -2
- package/dist/{channel-CyPkXXxC.mjs → channel-dqqq-K_U.mjs} +1 -1
- package/dist/{classDiagram-beda092f-BjoXUQBq.mjs → classDiagram-beda092f-BtqoBPMR.mjs} +5 -5
- package/dist/{classDiagram-v2-2358418a-D6QjfH_7.mjs → classDiagram-v2-2358418a-DHVohr92.mjs} +5 -5
- package/dist/{clone-DX5vJwAT.mjs → clone-B4QiX4zR.mjs} +1 -1
- package/dist/{createText-1719965b-CMA05nPn.mjs → createText-1719965b-Bb5L57vX.mjs} +1 -1
- package/dist/{edges-96097737-DDCADa6_.mjs → edges-96097737-DoF5f5fc.mjs} +3 -3
- package/dist/{erDiagram-0228fc6a-DovQSTYk.mjs → erDiagram-0228fc6a-Dm1WEsjD.mjs} +4 -4
- package/dist/{flowDb-c6c81e3f-CRG2IrpR.mjs → flowDb-c6c81e3f-BIABGGNT.mjs} +1 -1
- package/dist/{flowDiagram-50d868cf-CfwPCnST.mjs → flowDiagram-50d868cf-Drlbs6TR.mjs} +6 -6
- package/dist/{flowDiagram-v2-4f6560a1-CUOqo5JF.mjs → flowDiagram-v2-4f6560a1-CJ8JOGIA.mjs} +5 -5
- package/dist/{flowchart-elk-definition-6af322e1-1BgZl9nw.mjs → flowchart-elk-definition-6af322e1-foE7GSGg.mjs} +4 -4
- package/dist/{ganttDiagram-a2739b55-BR4CPr9q.mjs → ganttDiagram-a2739b55-CcFduPwA.mjs} +2 -2
- package/dist/{gitGraphDiagram-82fe8481-CITiUTqP.mjs → gitGraphDiagram-82fe8481-CkpuANf-.mjs} +1 -1
- package/dist/{graph-C23uBOqf.mjs → graph-3GmqmA5U.mjs} +1 -1
- package/dist/{index-5325376f-CVwQyG0O.mjs → index-5325376f-D4WVCpip.mjs} +6 -6
- package/dist/{index-CH7DSWtv.mjs → index-Bi55S4bg.mjs} +34 -27
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/{infoDiagram-8eee0895-D0JcV5UO.mjs → infoDiagram-8eee0895-C4U6pGyU.mjs} +1 -1
- package/dist/{journeyDiagram-c64418c1-Bzjja0DB.mjs → journeyDiagram-c64418c1-CWb1kxw2.mjs} +3 -3
- package/dist/{layout-BZWe5gOt.mjs → layout-lIExPCso.mjs} +2 -2
- package/dist/{line-oDxIWdFG.mjs → line-q3FYPVlY.mjs} +1 -1
- package/dist/{linear-BZpz6DKS.mjs → linear-CYxN76vj.mjs} +1 -1
- package/dist/{mindmap-definition-8da855dc-Bj7bvLcz.mjs → mindmap-definition-8da855dc-DcZLqRm2.mjs} +2 -2
- package/dist/{pieDiagram-a8764435-DqrpmRdi.mjs → pieDiagram-a8764435-BTXLny3M.mjs} +2 -2
- package/dist/{quadrantDiagram-1e28029f-CCKVF-eC.mjs → quadrantDiagram-1e28029f-DTLBVQir.mjs} +2 -2
- package/dist/{requirementDiagram-08caed73-C6ZYcPpl.mjs → requirementDiagram-08caed73-B482Rm0K.mjs} +4 -4
- package/dist/{sankeyDiagram-a04cb91d-CvRSHP-3.mjs → sankeyDiagram-a04cb91d-D3mZ2QuD.mjs} +1 -1
- package/dist/{sequenceDiagram-c5b8d532-CJyRPy1h.mjs → sequenceDiagram-c5b8d532-D64tmcjg.mjs} +2 -2
- package/dist/{stateDiagram-1ecb1508-B9wNYQ-E.mjs → stateDiagram-1ecb1508-DLa5IHb-.mjs} +5 -5
- package/dist/{stateDiagram-v2-c2b004d7-CGXJVMqB.mjs → stateDiagram-v2-c2b004d7-C7CtacUk.mjs} +5 -5
- package/dist/{styles-b4e223ce-C-yG_-rk.mjs → styles-b4e223ce-Bz0Hg9uA.mjs} +1 -1
- package/dist/{styles-ca3715f6-DAbEM90t.mjs → styles-ca3715f6-puXwKPZV.mjs} +1 -1
- package/dist/{styles-d45a18b0-d-wy3dve.mjs → styles-d45a18b0-DzSpNYE7.mjs} +4 -4
- package/dist/{svgDrawCommon-b86b1483-BEcVAilx.mjs → svgDrawCommon-b86b1483-_kxEU-iH.mjs} +1 -1
- package/dist/{timeline-definition-faaaa080-CHG25BHg.mjs → timeline-definition-faaaa080-BGFJV1pG.mjs} +2 -2
- package/dist/{xychartDiagram-f5964ef8-CIHgxdZJ.mjs → xychartDiagram-f5964ef8-Bkojct23.mjs} +4 -4
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1202,7 +1202,7 @@ still code?
|
|
|
1202
1202
|
- 检查**安全过滤机制**(如 XSS 防护)
|
|
1203
1203
|
- 对比不同引擎(如 CommonMark、GitHub、Typora、Obsidian、Marked.js 等)的行为差异
|
|
1204
1204
|
|
|
1205
|
-
> 提示:将此文件使用 Markdown 渲染器打开,观察各部分是否按预期显示。`;Jb.initialize({startOnLoad:!1,theme:"default",securityLevel:"loose",logLevel:3,deterministicIds:!0,flowchart:{useMaxWidth:!0,htmlLabels:!0}});function R0n(n){try{navigator.clipboard.writeText(n)}catch(r){console.error("[Markdown] 复制失败:",r)}}function LUe(n){const r=Zl.useRef(null),[a,o]=Zl.useState(!1),u=Zl.useRef(""),d=Zl.useMemo(()=>`mermaid-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,[]);Zl.useEffect(()=>{if(!(!n.code||!r.current)&&n.code!==u.current){u.current=n.code;try{o(!1),r.current.innerHTML="",Jb.render(d,n.code.trim()).then(({svg:b})=>{r.current&&(r.current.innerHTML=b)}).catch(b=>{o(!0),console.error("[Markdown] Mermaid 渲染失败:",b.message)})}catch(b){o(!0),console.error("[Markdown] Mermaid 渲染失败:",b.message)}}},[n.code,d]);function h(){r.current?.querySelector("svg")}return Gu.jsx("div",{className:bue("no-dark"),style:{cursor:"pointer",overflow:"auto",minHeight:"50px",backgroundColor:a?"#fee":"#f8f8f8",padding:"10px",border:a?"1px solid #fcc":"none",borderRadius:a?"4px":"0"},ref:r,onClick:()=>h(),children:a?Gu.jsx("div",{style:{textAlign:"center",padding:"10px",color:"#c33",fontSize:"14px"},children:"Mermaid 图表渲染失败,请检查代码语法"}):null})}function OUe(n){const r=Zl.useRef(null),[a,o]=Zl.useState(""),[u,d]=Zl.useState(null);return Zl.useEffect(()=>{if(!r.current)return;const h=r.current.querySelector("code");if(!h)return;const b=h.className.match(/language-(\w+)/),v=b?b[1]:"text";if(o(v),["","md","markdown","text","txt","plaintext","tex","latex"].includes(v)&&(h.style.whiteSpace="pre-wrap"),v==="mermaid"){const E=h.innerText.trim();d(T=>T===E?T:E)}},[n.children]),Gu.jsxs(Gu.Fragment,{children:[Gu.jsx("div",{style:{position:"relative"},children:Gu.jsxs("pre",{ref:r,children:[a&&Gu.jsx("div",{style:{padding:"10px",backgroundColor:"#3f3f3f",fontSize:"12px",color:"#fff",zIndex:1},children:a}),Gu.jsx("span",{className:"copy-code-button",onClick:()=>{r.current&&R0n(r.current.querySelector("code")?.innerText||r.current.innerText||"")}}),n.children]})}),u&&Gu.jsx(LUe,{code:u})]})}function P0n(n){const a=Zl.useRef(null),[o,u]=Zl.useState(!0),[d,h]=Zl.useState(!1);Zl.useEffect(()=>{if(a.current){const y=a.current.scrollHeight;h(y>400),a.current.scrollTop=a.current.scrollHeight}},[n.children]);const b=()=>{u(y=>!y)},v=()=>d&&o?Gu.jsx("div",{className:bue("show-hide-button",{collapsed:o,expanded:!o}),children:Gu.jsx("button",{type:"button",onClick:b,children:"查看全部"})}):null;return Gu.jsxs(Gu.Fragment,{children:[Gu.jsx("code",{className:bue(n?.className),ref:a,style:{maxHeight:o?"400px":"none",overflowY:"hidden",width:"100%"},children:n.children}),v()]})}function B0n(n){const r=/\\\[([\s\S]*?[^\\])\\\]|\\\((.*?)\\\)/g;n=n.replace(r,(b,v,y)=>v?`$$${v}$$`:y?`$${y}$`:b);const a=[],o=/```[\s\S]*?```|`[^`]+`|\$\$[\s\S]*?\$\$|\$[^$\n]+?\$|\\\[[\s\S]*?\\\]|\\begin\{[^}]+\}[\s\S]*?\\end\{[^}]+\}/g;n=n.replace(o,b=>{const v=`__PROTECTED_${a.length}__`;return a.push(b),v});const u=/\\boxed\{((?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*)\}/g;n=n.replace(u,"$$\\boxed{$1}$$");const d=/\\mathbb\{([^}]*)\}|\\mathcal\{([^}]*)\}|\\mathbf\{([^}]*)\}|\\mathit\{([^}]*)\}|\\mathrm\{([^}]*)\}|\\frac\{([^}]*)\}\{([^}]*)\}|\\sqrt\[([^}]*)\]\{([^}]*)\}|\\sqrt\{([^}]*)\}|\\sum_\{([^}]*)\}\^\{([^}]*)\}|\\prod_\{([^}]*)\}\^\{([^}]*)\}|\\int_\{([^}]*)\}\^\{([^}]*)\}|\\lim_\{([^}]*)\}|\\\(([\s\S]*?[^\\])\\\)/g;n=n.replace(d,(b,v,y,E,T,C,k,A,M,I,R,P,$,G,U,q,H,W,z)=>v?`$\\mathbb{${v}}$`:y?`$\\mathcal{${y}}$`:E?`$\\mathbf{${E}}$`:T?`$\\mathit{${T}}$`:C?`$\\mathrm{${C}}$`:k&&A?`$\\frac{${k}}{${A}}$`:M&&I?`$\\sqrt[${M}]{${I}}$`:R?`$\\sqrt{${R}}$`:P&&$?`$\\sum_{${P}}^{${$}}$`:G&&U?`$\\prod_{${G}}^{${U}}$`:q&&H?`$\\int_{${q}}^{${H}}$`:W?`$\\lim_{${W}}$`:z?`$${z}$`:b);const h=/(\$)([^$\n]+?)(?=\s|$|\.|,|;|:|\?|!|\)|\]|\})/g;return n=n.replace(h,"$$$2$"),n=n.replace(/__PROTECTED_(\d+)__/g,(b,v)=>a[v]),n}function F0n(n){const r=Zl.useMemo(()=>B0n(n.content),[n.content]);return Gu.jsx(rje,{remarkPlugins:[I0n,x0n,zhn],rehypePlugins:[Rhn,H1n,[Lln,{detect:!1,ignoreMissing:!0}]],components:{pre:OUe,code:P0n,p:a=>Gu.jsx("p",{...a,dir:"auto"}),a:a=>{const o=a.href||"";if(/\.(aac|mp3|opus|wav)$/.test(o))return Gu.jsx("figure",{children:Gu.jsx("audio",{controls:!0,src:o})});if(/\.(3gp|3g2|webm|ogv|mpeg|mp4|avi)$/.test(o))return Gu.jsx("video",{controls:!0,width:"99.9%",children:Gu.jsx("source",{src:o})});const d=/^\/#/i.test(o)?"_self":a.target??"_blank";return Gu.jsx("a",{...a,target:d})}},children:r})}const IUe=Zl.memo(F0n);function d0e(n){const r=Zl.useRef(null);return Gu.jsx("div",{dir:"auto",className:"markdown-body",style:{fontSize:`${n.fontSize??16}px`,fontFamily:n.fontFamily||"inherit"},onContextMenu:n.onContextMenu,onDoubleClickCapture:n.onDoubleClickCapture,ref:r,children:Gu.jsx(IUe,{content:n.content})})}const $0n=n=>Gu.jsx(d0e,{content:n.content||D0n}),FW=(n,r)=>{const a=n.append("rect");if(a.attr("x",r.x),a.attr("y",r.y),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("width",r.width),a.attr("height",r.height),r.name&&a.attr("name",r.name),r.rx!==void 0&&a.attr("rx",r.rx),r.ry!==void 0&&a.attr("ry",r.ry),r.attrs!==void 0)for(const o in r.attrs)a.attr(o,r.attrs[o]);return r.class!==void 0&&a.attr("class",r.class),a},DUe=(n,r)=>{const a={x:r.startx,y:r.starty,width:r.stopx-r.startx,height:r.stopy-r.starty,fill:r.fill,stroke:r.stroke,class:"rect"};FW(n,a).lower()},j0n=(n,r)=>{const a=r.text.replace(RN," "),o=n.append("text");o.attr("x",r.x),o.attr("y",r.y),o.attr("class","legend"),o.style("text-anchor",r.anchor),r.class!==void 0&&o.attr("class",r.class);const u=o.append("tspan");return u.attr("x",r.x+r.textMargin*2),u.text(a),o},z0n=(n,r,a,o)=>{const u=n.append("image");u.attr("x",r),u.attr("y",a);const d=VT.sanitizeUrl(o);u.attr("xlink:href",d)},H0n=(n,r,a,o)=>{const u=n.append("use");u.attr("x",r),u.attr("y",a);const d=VT.sanitizeUrl(o);u.attr("xlink:href",`#${d}`)},Ak=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),g0e=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0});var $W=(function(){var n=function(sn,At,Kt,qt){for(Kt=Kt||{},qt=sn.length;qt--;Kt[sn[qt]]=At);return Kt},r=[1,24],a=[1,25],o=[1,26],u=[1,27],d=[1,28],h=[1,63],b=[1,64],v=[1,65],y=[1,66],E=[1,67],T=[1,68],C=[1,69],k=[1,29],A=[1,30],M=[1,31],I=[1,32],R=[1,33],P=[1,34],$=[1,35],G=[1,36],U=[1,37],q=[1,38],H=[1,39],W=[1,40],z=[1,41],V=[1,42],F=[1,43],Q=[1,44],B=[1,45],te=[1,46],se=[1,47],le=[1,48],ie=[1,50],ae=[1,51],ue=[1,52],Z=[1,53],oe=[1,54],Ce=[1,55],ge=[1,56],He=[1,57],Me=[1,58],Le=[1,59],$e=[1,60],et=[14,42],Ne=[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],Ae=[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],Te=[1,82],Se=[1,83],De=[1,84],rt=[1,85],Fe=[12,14,42],Tn=[12,14,33,42],at=[12,14,33,42,76,77,79,80],ln=[12,33],mn=[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],Rn={trace:function(){},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:function(At,Kt,qt,st,We,bt,wt){var Ct=bt.length-1;switch(We){case 3:st.setDirection("TB");break;case 4:st.setDirection("BT");break;case 5:st.setDirection("RL");break;case 6:st.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:st.setC4Type(bt[Ct-3]);break;case 19:st.setTitle(bt[Ct].substring(6)),this.$=bt[Ct].substring(6);break;case 20:st.setAccDescription(bt[Ct].substring(15)),this.$=bt[Ct].substring(15);break;case 21:this.$=bt[Ct].trim(),st.setTitle(this.$);break;case 22:case 23:this.$=bt[Ct].trim(),st.setAccDescription(this.$);break;case 28:case 29:bt[Ct].splice(2,0,"ENTERPRISE"),st.addPersonOrSystemBoundary(...bt[Ct]),this.$=bt[Ct];break;case 30:st.addPersonOrSystemBoundary(...bt[Ct]),this.$=bt[Ct];break;case 31:bt[Ct].splice(2,0,"CONTAINER"),st.addContainerBoundary(...bt[Ct]),this.$=bt[Ct];break;case 32:st.addDeploymentNode("node",...bt[Ct]),this.$=bt[Ct];break;case 33:st.addDeploymentNode("nodeL",...bt[Ct]),this.$=bt[Ct];break;case 34:st.addDeploymentNode("nodeR",...bt[Ct]),this.$=bt[Ct];break;case 35:st.popBoundaryParseStack();break;case 39:st.addPersonOrSystem("person",...bt[Ct]),this.$=bt[Ct];break;case 40:st.addPersonOrSystem("external_person",...bt[Ct]),this.$=bt[Ct];break;case 41:st.addPersonOrSystem("system",...bt[Ct]),this.$=bt[Ct];break;case 42:st.addPersonOrSystem("system_db",...bt[Ct]),this.$=bt[Ct];break;case 43:st.addPersonOrSystem("system_queue",...bt[Ct]),this.$=bt[Ct];break;case 44:st.addPersonOrSystem("external_system",...bt[Ct]),this.$=bt[Ct];break;case 45:st.addPersonOrSystem("external_system_db",...bt[Ct]),this.$=bt[Ct];break;case 46:st.addPersonOrSystem("external_system_queue",...bt[Ct]),this.$=bt[Ct];break;case 47:st.addContainer("container",...bt[Ct]),this.$=bt[Ct];break;case 48:st.addContainer("container_db",...bt[Ct]),this.$=bt[Ct];break;case 49:st.addContainer("container_queue",...bt[Ct]),this.$=bt[Ct];break;case 50:st.addContainer("external_container",...bt[Ct]),this.$=bt[Ct];break;case 51:st.addContainer("external_container_db",...bt[Ct]),this.$=bt[Ct];break;case 52:st.addContainer("external_container_queue",...bt[Ct]),this.$=bt[Ct];break;case 53:st.addComponent("component",...bt[Ct]),this.$=bt[Ct];break;case 54:st.addComponent("component_db",...bt[Ct]),this.$=bt[Ct];break;case 55:st.addComponent("component_queue",...bt[Ct]),this.$=bt[Ct];break;case 56:st.addComponent("external_component",...bt[Ct]),this.$=bt[Ct];break;case 57:st.addComponent("external_component_db",...bt[Ct]),this.$=bt[Ct];break;case 58:st.addComponent("external_component_queue",...bt[Ct]),this.$=bt[Ct];break;case 60:st.addRel("rel",...bt[Ct]),this.$=bt[Ct];break;case 61:st.addRel("birel",...bt[Ct]),this.$=bt[Ct];break;case 62:st.addRel("rel_u",...bt[Ct]),this.$=bt[Ct];break;case 63:st.addRel("rel_d",...bt[Ct]),this.$=bt[Ct];break;case 64:st.addRel("rel_l",...bt[Ct]),this.$=bt[Ct];break;case 65:st.addRel("rel_r",...bt[Ct]),this.$=bt[Ct];break;case 66:st.addRel("rel_b",...bt[Ct]),this.$=bt[Ct];break;case 67:bt[Ct].splice(0,1),st.addRel("rel",...bt[Ct]),this.$=bt[Ct];break;case 68:st.updateElStyle("update_el_style",...bt[Ct]),this.$=bt[Ct];break;case 69:st.updateRelStyle("update_rel_style",...bt[Ct]),this.$=bt[Ct];break;case 70:st.updateLayoutConfig("update_layout_config",...bt[Ct]),this.$=bt[Ct];break;case 71:this.$=[bt[Ct]];break;case 72:bt[Ct].unshift(bt[Ct-1]),this.$=bt[Ct];break;case 73:case 75:this.$=bt[Ct].trim();break;case 74:let hn={};hn[bt[Ct-1].trim()]=bt[Ct].trim(),this.$=hn;break;case 76:this.$="";break}},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:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{13:70,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{13:71,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{13:72,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{13:73,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{14:[1,74]},n(et,[2,13],{43:23,29:49,30:61,32:62,20:75,34:h,36:b,37:v,38:y,39:E,40:T,41:C,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e}),n(et,[2,14]),n(Ne,[2,16],{12:[1,76]}),n(et,[2,36],{12:[1,77]}),n(Ae,[2,19]),n(Ae,[2,20]),{25:[1,78]},{27:[1,79]},n(Ae,[2,23]),{35:80,75:81,76:Te,77:Se,79:De,80:rt},{35:86,75:81,76:Te,77:Se,79:De,80:rt},{35:87,75:81,76:Te,77:Se,79:De,80:rt},{35:88,75:81,76:Te,77:Se,79:De,80:rt},{35:89,75:81,76:Te,77:Se,79:De,80:rt},{35:90,75:81,76:Te,77:Se,79:De,80:rt},{35:91,75:81,76:Te,77:Se,79:De,80:rt},{35:92,75:81,76:Te,77:Se,79:De,80:rt},{35:93,75:81,76:Te,77:Se,79:De,80:rt},{35:94,75:81,76:Te,77:Se,79:De,80:rt},{35:95,75:81,76:Te,77:Se,79:De,80:rt},{35:96,75:81,76:Te,77:Se,79:De,80:rt},{35:97,75:81,76:Te,77:Se,79:De,80:rt},{35:98,75:81,76:Te,77:Se,79:De,80:rt},{35:99,75:81,76:Te,77:Se,79:De,80:rt},{35:100,75:81,76:Te,77:Se,79:De,80:rt},{35:101,75:81,76:Te,77:Se,79:De,80:rt},{35:102,75:81,76:Te,77:Se,79:De,80:rt},{35:103,75:81,76:Te,77:Se,79:De,80:rt},{35:104,75:81,76:Te,77:Se,79:De,80:rt},n(Fe,[2,59]),{35:105,75:81,76:Te,77:Se,79:De,80:rt},{35:106,75:81,76:Te,77:Se,79:De,80:rt},{35:107,75:81,76:Te,77:Se,79:De,80:rt},{35:108,75:81,76:Te,77:Se,79:De,80:rt},{35:109,75:81,76:Te,77:Se,79:De,80:rt},{35:110,75:81,76:Te,77:Se,79:De,80:rt},{35:111,75:81,76:Te,77:Se,79:De,80:rt},{35:112,75:81,76:Te,77:Se,79:De,80:rt},{35:113,75:81,76:Te,77:Se,79:De,80:rt},{35:114,75:81,76:Te,77:Se,79:De,80:rt},{35:115,75:81,76:Te,77:Se,79:De,80:rt},{20:116,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{12:[1,118],33:[1,117]},{35:119,75:81,76:Te,77:Se,79:De,80:rt},{35:120,75:81,76:Te,77:Se,79:De,80:rt},{35:121,75:81,76:Te,77:Se,79:De,80:rt},{35:122,75:81,76:Te,77:Se,79:De,80:rt},{35:123,75:81,76:Te,77:Se,79:De,80:rt},{35:124,75:81,76:Te,77:Se,79:De,80:rt},{35:125,75:81,76:Te,77:Se,79:De,80:rt},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},n(et,[2,15]),n(Ne,[2,17],{21:22,19:130,22:r,23:a,24:o,26:u,28:d}),n(et,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:r,23:a,24:o,26:u,28:d,34:h,36:b,37:v,38:y,39:E,40:T,41:C,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e}),n(Ae,[2,21]),n(Ae,[2,22]),n(Fe,[2,39]),n(Tn,[2,71],{75:81,35:132,76:Te,77:Se,79:De,80:rt}),n(at,[2,73]),{78:[1,133]},n(at,[2,75]),n(at,[2,76]),n(Fe,[2,40]),n(Fe,[2,41]),n(Fe,[2,42]),n(Fe,[2,43]),n(Fe,[2,44]),n(Fe,[2,45]),n(Fe,[2,46]),n(Fe,[2,47]),n(Fe,[2,48]),n(Fe,[2,49]),n(Fe,[2,50]),n(Fe,[2,51]),n(Fe,[2,52]),n(Fe,[2,53]),n(Fe,[2,54]),n(Fe,[2,55]),n(Fe,[2,56]),n(Fe,[2,57]),n(Fe,[2,58]),n(Fe,[2,60]),n(Fe,[2,61]),n(Fe,[2,62]),n(Fe,[2,63]),n(Fe,[2,64]),n(Fe,[2,65]),n(Fe,[2,66]),n(Fe,[2,67]),n(Fe,[2,68]),n(Fe,[2,69]),n(Fe,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},n(ln,[2,28]),n(ln,[2,29]),n(ln,[2,30]),n(ln,[2,31]),n(ln,[2,32]),n(ln,[2,33]),n(ln,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},n(Ne,[2,18]),n(et,[2,38]),n(Tn,[2,72]),n(at,[2,74]),n(Fe,[2,24]),n(Fe,[2,35]),n(mn,[2,25]),n(mn,[2,26],{12:[1,138]}),n(mn,[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:function(At,Kt){if(Kt.recoverable)this.trace(At);else{var qt=new Error(At);throw qt.hash=Kt,qt}},parse:function(At){var Kt=this,qt=[0],st=[],We=[null],bt=[],wt=this.table,Ct="",hn=0,ze=0,Gt=2,Wt=1,un=bt.slice.call(arguments,1),nn=Object.create(this.lexer),yr={yy:{}};for(var Ln in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ln)&&(yr.yy[Ln]=this.yy[Ln]);nn.setInput(At,yr.yy),yr.yy.lexer=nn,yr.yy.parser=this,typeof nn.yylloc>"u"&&(nn.yylloc={});var li=nn.yylloc;bt.push(li);var ai=nn.options&&nn.options.ranges;typeof yr.yy.parseError=="function"?this.parseError=yr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Hr(){var na;return na=st.pop()||nn.lex()||Wt,typeof na!="number"&&(na instanceof Array&&(st=na,na=st.pop()),na=Kt.symbols_[na]||na),na}for(var ii,ft,Nt,gn,On={},wi,di,Xn,Hn;;){if(ft=qt[qt.length-1],this.defaultActions[ft]?Nt=this.defaultActions[ft]:((ii===null||typeof ii>"u")&&(ii=Hr()),Nt=wt[ft]&&wt[ft][ii]),typeof Nt>"u"||!Nt.length||!Nt[0]){var er="";Hn=[];for(wi in wt[ft])this.terminals_[wi]&&wi>Gt&&Hn.push("'"+this.terminals_[wi]+"'");nn.showPosition?er="Parse error on line "+(hn+1)+`:
|
|
1205
|
+
> 提示:将此文件使用 Markdown 渲染器打开,观察各部分是否按预期显示。`;Jb.initialize({startOnLoad:!1,theme:"default",securityLevel:"loose",logLevel:3,deterministicIds:!0,flowchart:{useMaxWidth:!0,htmlLabels:!0}});function R0n(n){try{navigator.clipboard.writeText(n)}catch(r){console.error("[Markdown] 复制失败:",r)}}function LUe(n){const r=Zl.useRef(null),[a,o]=Zl.useState(!1),u=Zl.useRef(""),d=Zl.useMemo(()=>`mermaid-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,[]);Zl.useEffect(()=>{if(!(!n.code||!r.current)&&n.code!==u.current){u.current=n.code;try{o(!1),r.current.innerHTML="",Jb.render(d,n.code.trim()).then(({svg:b})=>{r.current&&(r.current.innerHTML=b)}).catch(b=>{o(!0),console.error("[Markdown] Mermaid 渲染失败:",b.message)})}catch(b){o(!0),console.error("[Markdown] Mermaid 渲染失败:",b.message)}}},[n.code,d]);function h(){r.current?.querySelector("svg")}return Gu.jsx("div",{className:bue("no-dark"),style:{cursor:"pointer",overflow:"auto",minHeight:"50px",backgroundColor:a?"#fee":"#f8f8f8",padding:"10px",border:a?"1px solid #fcc":"none",borderRadius:a?"4px":"0"},ref:r,onClick:()=>h(),children:a?Gu.jsx("div",{style:{textAlign:"center",padding:"10px",color:"#c33",fontSize:"14px"},children:"Mermaid 图表渲染失败,请检查代码语法"}):null})}function OUe(n){const r=Zl.useRef(null),[a,o]=Zl.useState(""),[u,d]=Zl.useState(null);return Zl.useEffect(()=>{if(!r.current)return;const h=r.current.querySelector("code");if(!h)return;const b=h.className.match(/language-(\w+)/),v=b?b[1]:"text";if(o(v),["","md","markdown","text","txt","plaintext","tex","latex"].includes(v)&&(h.style.whiteSpace="pre-wrap"),v==="mermaid"){const E=h.innerText.trim();d(T=>T===E?T:E)}},[n.children]),Gu.jsxs(Gu.Fragment,{children:[Gu.jsx("div",{style:{position:"relative"},children:Gu.jsxs("pre",{ref:r,children:[a&&Gu.jsx("div",{style:{padding:"10px",backgroundColor:"#3f3f3f",fontSize:"12px",color:"#fff",zIndex:1},children:a}),Gu.jsx("span",{className:"copy-code-button",onClick:()=>{r.current&&R0n(r.current.querySelector("code")?.innerText||r.current.innerText||"")}}),n.children]})}),u&&Gu.jsx(LUe,{code:u})]})}function P0n(n){const a=Zl.useRef(null),[o,u]=Zl.useState(!0),[d,h]=Zl.useState(!1);Zl.useEffect(()=>{if(a.current){const y=a.current.scrollHeight;h(y>400),a.current.scrollTop=a.current.scrollHeight}},[n.children]);const b=()=>{u(y=>!y)},v=()=>d&&o?Gu.jsx("div",{className:bue("show-hide-button",{collapsed:o,expanded:!o}),children:Gu.jsx("button",{type:"button",onClick:b,children:"查看全部"})}):null;return Gu.jsxs(Gu.Fragment,{children:[Gu.jsx("code",{className:bue(n?.className),ref:a,style:{maxHeight:o?"400px":"none",overflowY:"hidden",width:"100%"},children:n.children}),v()]})}function B0n(n){const r=/\\\[([\s\S]*?[^\\])\\\]|\\\((.*?)\\\)/g;n=n.replace(r,(b,v,y)=>v?`$$${v}$$`:y?`$${y}$`:b);const a=[],o=/```[\s\S]*?```|`[^`]+`|\$\$[\s\S]*?\$\$|\$[^$\n]+?\$|\\\[[\s\S]*?\\\]|\\begin\{[^}]+\}[\s\S]*?\\end\{[^}]+\}/g;n=n.replace(o,b=>{const v=`__PROTECTED_${a.length}__`;return a.push(b),v});const u=/\\boxed\{((?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*)\}/g;n=n.replace(u,"$$\\boxed{$1}$$");const d=/\\mathbb\{([^}]*)\}|\\mathcal\{([^}]*)\}|\\mathbf\{([^}]*)\}|\\mathit\{([^}]*)\}|\\mathrm\{([^}]*)\}|\\frac\{([^}]*)\}\{([^}]*)\}|\\sqrt\[([^}]*)\]\{([^}]*)\}|\\sqrt\{([^}]*)\}|\\sum_\{([^}]*)\}\^\{([^}]*)\}|\\prod_\{([^}]*)\}\^\{([^}]*)\}|\\int_\{([^}]*)\}\^\{([^}]*)\}|\\lim_\{([^}]*)\}|\\\(([\s\S]*?[^\\])\\\)/g;n=n.replace(d,(b,v,y,E,T,C,k,A,M,I,R,P,$,G,U,q,H,W,z)=>v?`$\\mathbb{${v}}$`:y?`$\\mathcal{${y}}$`:E?`$\\mathbf{${E}}$`:T?`$\\mathit{${T}}$`:C?`$\\mathrm{${C}}$`:k&&A?`$\\frac{${k}}{${A}}$`:M&&I?`$\\sqrt[${M}]{${I}}$`:R?`$\\sqrt{${R}}$`:P&&$?`$\\sum_{${P}}^{${$}}$`:G&&U?`$\\prod_{${G}}^{${U}}$`:q&&H?`$\\int_{${q}}^{${H}}$`:W?`$\\lim_{${W}}$`:z?`$${z}$`:b);const h=/(\$)([^$\n]+?)(?=\s|$|\.|,|;|:|\?|!|\)|\]|\})/g;return n=n.replace(h,"$$$2$"),n=n.replace(/__PROTECTED_(\d+)__/g,(b,v)=>a[v]),n}function F0n(n){const r=Zl.useMemo(()=>B0n(n.content),[n.content]);return Gu.jsx(rje,{remarkPlugins:[I0n,x0n,zhn],rehypePlugins:[Rhn,[H1n,{strict:!1,trust:!0,macros:{"\\cdotp":"‧"},errorColor:"#686868"}],[Lln,{detect:!1,ignoreMissing:!0}]],components:{pre:OUe,code:P0n,p:a=>Gu.jsx("p",{...a,dir:"auto"}),a:a=>{const o=a.href||"";if(/\.(aac|mp3|opus|wav)$/.test(o))return Gu.jsx("figure",{children:Gu.jsx("audio",{controls:!0,src:o})});if(/\.(3gp|3g2|webm|ogv|mpeg|mp4|avi)$/.test(o))return Gu.jsx("video",{controls:!0,width:"99.9%",children:Gu.jsx("source",{src:o})});const d=/^\/#/i.test(o)?"_self":a.target??"_blank";return Gu.jsx("a",{...a,target:d})}},children:r})}const IUe=Zl.memo(F0n);function d0e(n){const r=Zl.useRef(null);return Gu.jsx("div",{dir:"auto",className:"markdown-body",style:{fontSize:`${n.fontSize??16}px`,fontFamily:n.fontFamily||"inherit"},onContextMenu:n.onContextMenu,onDoubleClickCapture:n.onDoubleClickCapture,ref:r,children:Gu.jsx(IUe,{content:n.content})})}const $0n=n=>Gu.jsx(d0e,{content:n.content||D0n}),FW=(n,r)=>{const a=n.append("rect");if(a.attr("x",r.x),a.attr("y",r.y),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("width",r.width),a.attr("height",r.height),r.name&&a.attr("name",r.name),r.rx!==void 0&&a.attr("rx",r.rx),r.ry!==void 0&&a.attr("ry",r.ry),r.attrs!==void 0)for(const o in r.attrs)a.attr(o,r.attrs[o]);return r.class!==void 0&&a.attr("class",r.class),a},DUe=(n,r)=>{const a={x:r.startx,y:r.starty,width:r.stopx-r.startx,height:r.stopy-r.starty,fill:r.fill,stroke:r.stroke,class:"rect"};FW(n,a).lower()},j0n=(n,r)=>{const a=r.text.replace(RN," "),o=n.append("text");o.attr("x",r.x),o.attr("y",r.y),o.attr("class","legend"),o.style("text-anchor",r.anchor),r.class!==void 0&&o.attr("class",r.class);const u=o.append("tspan");return u.attr("x",r.x+r.textMargin*2),u.text(a),o},z0n=(n,r,a,o)=>{const u=n.append("image");u.attr("x",r),u.attr("y",a);const d=VT.sanitizeUrl(o);u.attr("xlink:href",d)},H0n=(n,r,a,o)=>{const u=n.append("use");u.attr("x",r),u.attr("y",a);const d=VT.sanitizeUrl(o);u.attr("xlink:href",`#${d}`)},Ak=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),g0e=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0});var $W=(function(){var n=function(sn,At,Kt,qt){for(Kt=Kt||{},qt=sn.length;qt--;Kt[sn[qt]]=At);return Kt},r=[1,24],a=[1,25],o=[1,26],u=[1,27],d=[1,28],h=[1,63],b=[1,64],v=[1,65],y=[1,66],E=[1,67],T=[1,68],C=[1,69],k=[1,29],A=[1,30],M=[1,31],I=[1,32],R=[1,33],P=[1,34],$=[1,35],G=[1,36],U=[1,37],q=[1,38],H=[1,39],W=[1,40],z=[1,41],V=[1,42],F=[1,43],Q=[1,44],B=[1,45],te=[1,46],se=[1,47],le=[1,48],ie=[1,50],ae=[1,51],ue=[1,52],Z=[1,53],oe=[1,54],Ce=[1,55],ge=[1,56],He=[1,57],Me=[1,58],Le=[1,59],$e=[1,60],et=[14,42],Ne=[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],Ae=[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],Te=[1,82],Se=[1,83],De=[1,84],rt=[1,85],Fe=[12,14,42],Tn=[12,14,33,42],at=[12,14,33,42,76,77,79,80],ln=[12,33],mn=[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],Rn={trace:function(){},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:function(At,Kt,qt,st,We,bt,wt){var Ct=bt.length-1;switch(We){case 3:st.setDirection("TB");break;case 4:st.setDirection("BT");break;case 5:st.setDirection("RL");break;case 6:st.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:st.setC4Type(bt[Ct-3]);break;case 19:st.setTitle(bt[Ct].substring(6)),this.$=bt[Ct].substring(6);break;case 20:st.setAccDescription(bt[Ct].substring(15)),this.$=bt[Ct].substring(15);break;case 21:this.$=bt[Ct].trim(),st.setTitle(this.$);break;case 22:case 23:this.$=bt[Ct].trim(),st.setAccDescription(this.$);break;case 28:case 29:bt[Ct].splice(2,0,"ENTERPRISE"),st.addPersonOrSystemBoundary(...bt[Ct]),this.$=bt[Ct];break;case 30:st.addPersonOrSystemBoundary(...bt[Ct]),this.$=bt[Ct];break;case 31:bt[Ct].splice(2,0,"CONTAINER"),st.addContainerBoundary(...bt[Ct]),this.$=bt[Ct];break;case 32:st.addDeploymentNode("node",...bt[Ct]),this.$=bt[Ct];break;case 33:st.addDeploymentNode("nodeL",...bt[Ct]),this.$=bt[Ct];break;case 34:st.addDeploymentNode("nodeR",...bt[Ct]),this.$=bt[Ct];break;case 35:st.popBoundaryParseStack();break;case 39:st.addPersonOrSystem("person",...bt[Ct]),this.$=bt[Ct];break;case 40:st.addPersonOrSystem("external_person",...bt[Ct]),this.$=bt[Ct];break;case 41:st.addPersonOrSystem("system",...bt[Ct]),this.$=bt[Ct];break;case 42:st.addPersonOrSystem("system_db",...bt[Ct]),this.$=bt[Ct];break;case 43:st.addPersonOrSystem("system_queue",...bt[Ct]),this.$=bt[Ct];break;case 44:st.addPersonOrSystem("external_system",...bt[Ct]),this.$=bt[Ct];break;case 45:st.addPersonOrSystem("external_system_db",...bt[Ct]),this.$=bt[Ct];break;case 46:st.addPersonOrSystem("external_system_queue",...bt[Ct]),this.$=bt[Ct];break;case 47:st.addContainer("container",...bt[Ct]),this.$=bt[Ct];break;case 48:st.addContainer("container_db",...bt[Ct]),this.$=bt[Ct];break;case 49:st.addContainer("container_queue",...bt[Ct]),this.$=bt[Ct];break;case 50:st.addContainer("external_container",...bt[Ct]),this.$=bt[Ct];break;case 51:st.addContainer("external_container_db",...bt[Ct]),this.$=bt[Ct];break;case 52:st.addContainer("external_container_queue",...bt[Ct]),this.$=bt[Ct];break;case 53:st.addComponent("component",...bt[Ct]),this.$=bt[Ct];break;case 54:st.addComponent("component_db",...bt[Ct]),this.$=bt[Ct];break;case 55:st.addComponent("component_queue",...bt[Ct]),this.$=bt[Ct];break;case 56:st.addComponent("external_component",...bt[Ct]),this.$=bt[Ct];break;case 57:st.addComponent("external_component_db",...bt[Ct]),this.$=bt[Ct];break;case 58:st.addComponent("external_component_queue",...bt[Ct]),this.$=bt[Ct];break;case 60:st.addRel("rel",...bt[Ct]),this.$=bt[Ct];break;case 61:st.addRel("birel",...bt[Ct]),this.$=bt[Ct];break;case 62:st.addRel("rel_u",...bt[Ct]),this.$=bt[Ct];break;case 63:st.addRel("rel_d",...bt[Ct]),this.$=bt[Ct];break;case 64:st.addRel("rel_l",...bt[Ct]),this.$=bt[Ct];break;case 65:st.addRel("rel_r",...bt[Ct]),this.$=bt[Ct];break;case 66:st.addRel("rel_b",...bt[Ct]),this.$=bt[Ct];break;case 67:bt[Ct].splice(0,1),st.addRel("rel",...bt[Ct]),this.$=bt[Ct];break;case 68:st.updateElStyle("update_el_style",...bt[Ct]),this.$=bt[Ct];break;case 69:st.updateRelStyle("update_rel_style",...bt[Ct]),this.$=bt[Ct];break;case 70:st.updateLayoutConfig("update_layout_config",...bt[Ct]),this.$=bt[Ct];break;case 71:this.$=[bt[Ct]];break;case 72:bt[Ct].unshift(bt[Ct-1]),this.$=bt[Ct];break;case 73:case 75:this.$=bt[Ct].trim();break;case 74:let hn={};hn[bt[Ct-1].trim()]=bt[Ct].trim(),this.$=hn;break;case 76:this.$="";break}},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:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{13:70,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{13:71,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{13:72,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{13:73,19:20,20:21,21:22,22:r,23:a,24:o,26:u,28:d,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{14:[1,74]},n(et,[2,13],{43:23,29:49,30:61,32:62,20:75,34:h,36:b,37:v,38:y,39:E,40:T,41:C,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e}),n(et,[2,14]),n(Ne,[2,16],{12:[1,76]}),n(et,[2,36],{12:[1,77]}),n(Ae,[2,19]),n(Ae,[2,20]),{25:[1,78]},{27:[1,79]},n(Ae,[2,23]),{35:80,75:81,76:Te,77:Se,79:De,80:rt},{35:86,75:81,76:Te,77:Se,79:De,80:rt},{35:87,75:81,76:Te,77:Se,79:De,80:rt},{35:88,75:81,76:Te,77:Se,79:De,80:rt},{35:89,75:81,76:Te,77:Se,79:De,80:rt},{35:90,75:81,76:Te,77:Se,79:De,80:rt},{35:91,75:81,76:Te,77:Se,79:De,80:rt},{35:92,75:81,76:Te,77:Se,79:De,80:rt},{35:93,75:81,76:Te,77:Se,79:De,80:rt},{35:94,75:81,76:Te,77:Se,79:De,80:rt},{35:95,75:81,76:Te,77:Se,79:De,80:rt},{35:96,75:81,76:Te,77:Se,79:De,80:rt},{35:97,75:81,76:Te,77:Se,79:De,80:rt},{35:98,75:81,76:Te,77:Se,79:De,80:rt},{35:99,75:81,76:Te,77:Se,79:De,80:rt},{35:100,75:81,76:Te,77:Se,79:De,80:rt},{35:101,75:81,76:Te,77:Se,79:De,80:rt},{35:102,75:81,76:Te,77:Se,79:De,80:rt},{35:103,75:81,76:Te,77:Se,79:De,80:rt},{35:104,75:81,76:Te,77:Se,79:De,80:rt},n(Fe,[2,59]),{35:105,75:81,76:Te,77:Se,79:De,80:rt},{35:106,75:81,76:Te,77:Se,79:De,80:rt},{35:107,75:81,76:Te,77:Se,79:De,80:rt},{35:108,75:81,76:Te,77:Se,79:De,80:rt},{35:109,75:81,76:Te,77:Se,79:De,80:rt},{35:110,75:81,76:Te,77:Se,79:De,80:rt},{35:111,75:81,76:Te,77:Se,79:De,80:rt},{35:112,75:81,76:Te,77:Se,79:De,80:rt},{35:113,75:81,76:Te,77:Se,79:De,80:rt},{35:114,75:81,76:Te,77:Se,79:De,80:rt},{35:115,75:81,76:Te,77:Se,79:De,80:rt},{20:116,29:49,30:61,32:62,34:h,36:b,37:v,38:y,39:E,40:T,41:C,43:23,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e},{12:[1,118],33:[1,117]},{35:119,75:81,76:Te,77:Se,79:De,80:rt},{35:120,75:81,76:Te,77:Se,79:De,80:rt},{35:121,75:81,76:Te,77:Se,79:De,80:rt},{35:122,75:81,76:Te,77:Se,79:De,80:rt},{35:123,75:81,76:Te,77:Se,79:De,80:rt},{35:124,75:81,76:Te,77:Se,79:De,80:rt},{35:125,75:81,76:Te,77:Se,79:De,80:rt},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},n(et,[2,15]),n(Ne,[2,17],{21:22,19:130,22:r,23:a,24:o,26:u,28:d}),n(et,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:r,23:a,24:o,26:u,28:d,34:h,36:b,37:v,38:y,39:E,40:T,41:C,44:k,45:A,46:M,47:I,48:R,49:P,50:$,51:G,52:U,53:q,54:H,55:W,56:z,57:V,58:F,59:Q,60:B,61:te,62:se,63:le,64:ie,65:ae,66:ue,67:Z,68:oe,69:Ce,70:ge,71:He,72:Me,73:Le,74:$e}),n(Ae,[2,21]),n(Ae,[2,22]),n(Fe,[2,39]),n(Tn,[2,71],{75:81,35:132,76:Te,77:Se,79:De,80:rt}),n(at,[2,73]),{78:[1,133]},n(at,[2,75]),n(at,[2,76]),n(Fe,[2,40]),n(Fe,[2,41]),n(Fe,[2,42]),n(Fe,[2,43]),n(Fe,[2,44]),n(Fe,[2,45]),n(Fe,[2,46]),n(Fe,[2,47]),n(Fe,[2,48]),n(Fe,[2,49]),n(Fe,[2,50]),n(Fe,[2,51]),n(Fe,[2,52]),n(Fe,[2,53]),n(Fe,[2,54]),n(Fe,[2,55]),n(Fe,[2,56]),n(Fe,[2,57]),n(Fe,[2,58]),n(Fe,[2,60]),n(Fe,[2,61]),n(Fe,[2,62]),n(Fe,[2,63]),n(Fe,[2,64]),n(Fe,[2,65]),n(Fe,[2,66]),n(Fe,[2,67]),n(Fe,[2,68]),n(Fe,[2,69]),n(Fe,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},n(ln,[2,28]),n(ln,[2,29]),n(ln,[2,30]),n(ln,[2,31]),n(ln,[2,32]),n(ln,[2,33]),n(ln,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},n(Ne,[2,18]),n(et,[2,38]),n(Tn,[2,72]),n(at,[2,74]),n(Fe,[2,24]),n(Fe,[2,35]),n(mn,[2,25]),n(mn,[2,26],{12:[1,138]}),n(mn,[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:function(At,Kt){if(Kt.recoverable)this.trace(At);else{var qt=new Error(At);throw qt.hash=Kt,qt}},parse:function(At){var Kt=this,qt=[0],st=[],We=[null],bt=[],wt=this.table,Ct="",hn=0,ze=0,Gt=2,Wt=1,un=bt.slice.call(arguments,1),nn=Object.create(this.lexer),yr={yy:{}};for(var Ln in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ln)&&(yr.yy[Ln]=this.yy[Ln]);nn.setInput(At,yr.yy),yr.yy.lexer=nn,yr.yy.parser=this,typeof nn.yylloc>"u"&&(nn.yylloc={});var li=nn.yylloc;bt.push(li);var ai=nn.options&&nn.options.ranges;typeof yr.yy.parseError=="function"?this.parseError=yr.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Hr(){var na;return na=st.pop()||nn.lex()||Wt,typeof na!="number"&&(na instanceof Array&&(st=na,na=st.pop()),na=Kt.symbols_[na]||na),na}for(var ii,ft,Nt,gn,On={},wi,di,Xn,Hn;;){if(ft=qt[qt.length-1],this.defaultActions[ft]?Nt=this.defaultActions[ft]:((ii===null||typeof ii>"u")&&(ii=Hr()),Nt=wt[ft]&&wt[ft][ii]),typeof Nt>"u"||!Nt.length||!Nt[0]){var er="";Hn=[];for(wi in wt[ft])this.terminals_[wi]&&wi>Gt&&Hn.push("'"+this.terminals_[wi]+"'");nn.showPosition?er="Parse error on line "+(hn+1)+`:
|
|
1206
1206
|
`+nn.showPosition()+`
|
|
1207
1207
|
Expecting `+Hn.join(", ")+", got '"+(this.terminals_[ii]||ii)+"'":er="Parse error on line "+(hn+1)+": Unexpected "+(ii==Wt?"end of input":"'"+(this.terminals_[ii]||ii)+"'"),this.parseError(er,{text:nn.match,token:this.terminals_[ii]||ii,line:nn.yylineno,loc:li,expected:Hn})}if(Nt[0]instanceof Array&&Nt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ft+", token: "+ii);switch(Nt[0]){case 1:qt.push(ii),We.push(nn.yytext),bt.push(nn.yylloc),qt.push(Nt[1]),ii=null,ze=nn.yyleng,Ct=nn.yytext,hn=nn.yylineno,li=nn.yylloc;break;case 2:if(di=this.productions_[Nt[1]][1],On.$=We[We.length-di],On._$={first_line:bt[bt.length-(di||1)].first_line,last_line:bt[bt.length-1].last_line,first_column:bt[bt.length-(di||1)].first_column,last_column:bt[bt.length-1].last_column},ai&&(On._$.range=[bt[bt.length-(di||1)].range[0],bt[bt.length-1].range[1]]),gn=this.performAction.apply(On,[Ct,ze,hn,yr.yy,Nt[1],We,bt].concat(un)),typeof gn<"u")return gn;di&&(qt=qt.slice(0,-1*di*2),We=We.slice(0,-1*di),bt=bt.slice(0,-1*di)),qt.push(this.productions_[Nt[1]][0]),We.push(On.$),bt.push(On._$),Xn=wt[qt[qt.length-2]][qt[qt.length-1]],qt.push(Xn);break;case 3:return!0}}return!0}},rr=(function(){var sn={EOF:1,parseError:function(Kt,qt){if(this.yy.parser)this.yy.parser.parseError(Kt,qt);else throw new Error(Kt)},setInput:function(At,Kt){return this.yy=Kt||this.yy||{},this._input=At,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},input:function(){var At=this._input[0];this.yytext+=At,this.yyleng++,this.offset++,this.match+=At,this.matched+=At;var Kt=At.match(/(?:\r\n?|\n).*/g);return Kt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),At},unput:function(At){var Kt=At.length,qt=At.split(/(?:\r\n?|\n)/g);this._input=At+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Kt),this.offset-=Kt;var st=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),qt.length-1&&(this.yylineno-=qt.length-1);var We=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:qt?(qt.length===st.length?this.yylloc.first_column:0)+st[st.length-qt.length].length-qt[0].length:this.yylloc.first_column-Kt},this.options.ranges&&(this.yylloc.range=[We[0],We[0]+this.yyleng-Kt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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).
|
|
1208
1208
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(At){this.unput(this.match.slice(At))},pastInput:function(){var At=this.matched.substr(0,this.matched.length-this.match.length);return(At.length>20?"...":"")+At.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var At=this.match;return At.length<20&&(At+=this._input.substr(0,20-At.length)),(At.substr(0,20)+(At.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var At=this.pastInput(),Kt=new Array(At.length+1).join("-");return At+this.upcomingInput()+`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as yt, s as ft, b as dt, c as pt, C as gt, D as mt, g as C, d as H, e as xt, E as kt } from "./index-
|
|
2
|
-
import { a as _t, g as it, f as bt, d as vt } from "./svgDrawCommon-b86b1483-
|
|
3
|
-
import { a as Q } from "./arc-
|
|
1
|
+
import { a as yt, s as ft, b as dt, c as pt, C as gt, D as mt, g as C, d as H, e as xt, E as kt } from "./index-Bi55S4bg.mjs";
|
|
2
|
+
import { a as _t, g as it, f as bt, d as vt } from "./svgDrawCommon-b86b1483-_kxEU-iH.mjs";
|
|
3
|
+
import { a as Q } from "./arc-B8UMP-AJ.mjs";
|
|
4
4
|
var X = (function() {
|
|
5
5
|
var t = function(p, s, r, a) {
|
|
6
6
|
for (r = r || {}, a = p.length; a--; r[p[a]] = s)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as S, b as be, c as qe, d as O, k as We, e as ze, f as Xe, g as T, h as me, j as ge, l as He, m as ye, t as Ue, n as xe, o as Je, p as Ke, G as g, q as s, i as m, r as I, v as E, s as G } from "./graph-
|
|
2
|
-
import { a7 as F, a8 as Ze, a9 as Qe, aa as Ee, ab as A, ac as ke, ad as en, ae as Oe, af as U, ag as nn, ah as rn, ai as J, aj as tn, ak as Ne, al as an, am as on, an as X } from "./index-
|
|
1
|
+
import { a as S, b as be, c as qe, d as O, k as We, e as ze, f as Xe, g as T, h as me, j as ge, l as He, m as ye, t as Ue, n as xe, o as Je, p as Ke, G as g, q as s, i as m, r as I, v as E, s as G } from "./graph-3GmqmA5U.mjs";
|
|
2
|
+
import { a7 as F, a8 as Ze, a9 as Qe, aa as Ee, ab as A, ac as ke, ad as en, ae as Oe, af as U, ag as nn, ah as rn, ai as J, aj as tn, ak as Ne, al as an, am as on, an as X } from "./index-Bi55S4bg.mjs";
|
|
3
3
|
var un = /\s/;
|
|
4
4
|
function dn(e) {
|
|
5
5
|
for (var n = e.length; n-- && un.test(e.charAt(n)); )
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as un, $ as I, a0 as U, a1 as fn, a2 as Y } from "./index-
|
|
1
|
+
import { _ as un, $ as I, a0 as U, a1 as fn, a2 as Y } from "./index-Bi55S4bg.mjs";
|
|
2
2
|
import { i as cn } from "./init-DjUOC4st.mjs";
|
|
3
3
|
function F(n, t) {
|
|
4
4
|
return n == null || t == null ? NaN : n < t ? -1 : n > t ? 1 : n >= t ? 0 : NaN;
|
package/dist/{mindmap-definition-8da855dc-Bj7bvLcz.mjs → mindmap-definition-8da855dc-DcZLqRm2.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as yv, l as Nr, ar as mv, as as bv, at as wv, g as ao, T as Ev, o as xv, X as Cn, i as Dn, d as Tv, W as Cv } from "./index-
|
|
2
|
-
import { a as Dv } from "./createText-1719965b-
|
|
1
|
+
import { P as yv, l as Nr, ar as mv, as as bv, at as wv, g as ao, T as Ev, o as xv, X as Cn, i as Dn, d as Tv, W as Cv } from "./index-Bi55S4bg.mjs";
|
|
2
|
+
import { a as Dv } from "./createText-1719965b-Bb5L57vX.mjs";
|
|
3
3
|
function Bs(t, e) {
|
|
4
4
|
(e == null || e > t.length) && (e = t.length);
|
|
5
5
|
for (var r = 0, a = Array(e); r < e; r++) a[r] = t[r];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as H, a as rt, s as at, b as lt, c as ot, C as ct, D as ht, l as et, g as it, V as ut, T as yt, W as ft, e as pt, i as gt, E as dt, X as mt } from "./index-
|
|
2
|
-
import { a as tt } from "./arc-
|
|
1
|
+
import { U as H, a as rt, s as at, b as lt, c as ot, C as ct, D as ht, l as et, g as it, V as ut, T as yt, W as ft, e as pt, i as gt, E as dt, X as mt } from "./index-Bi55S4bg.mjs";
|
|
2
|
+
import { a as tt } from "./arc-B8UMP-AJ.mjs";
|
|
3
3
|
import { o as _t } from "./ordinal-C0oynhte.mjs";
|
|
4
4
|
import { a as xt } from "./array-CqVTtuYm.mjs";
|
|
5
5
|
import { c as F } from "./path-DLwuMfdd.mjs";
|
package/dist/{quadrantDiagram-1e28029f-CCKVF-eC.mjs → quadrantDiagram-1e28029f-DTLBVQir.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as vt, a as Lt, C as bt, D as Ct, b as zt, c as Et, g as yt, l as ot, d as gt, e as Dt, E as It, X as D, Y as Bt, i as wt } from "./index-
|
|
2
|
-
import { l as mt } from "./linear-
|
|
1
|
+
import { s as vt, a as Lt, C as bt, D as Ct, b as zt, c as Et, g as yt, l as ot, d as gt, e as Dt, E as It, X as D, Y as Bt, i as wt } from "./index-Bi55S4bg.mjs";
|
|
2
|
+
import { l as mt } from "./linear-CYxN76vj.mjs";
|
|
3
3
|
var pt = (function() {
|
|
4
4
|
var e = function(K, n, r, l) {
|
|
5
5
|
for (r = r || {}, l = K.length; l--; r[K[l]] = n)
|
package/dist/{requirementDiagram-08caed73-C6ZYcPpl.mjs → requirementDiagram-08caed73-B482Rm0K.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as Ce, s as Fe, b as Me, c as De, g as Te, d as oe, e as Pe, E as Ye, l as Ne, k as ke } from "./index-
|
|
2
|
-
import { G as Ue } from "./graph-
|
|
3
|
-
import { l as Be } from "./layout-
|
|
4
|
-
import { l as Qe } from "./line-
|
|
1
|
+
import { a as Ce, s as Fe, b as Me, c as De, g as Te, d as oe, e as Pe, E as Ye, l as Ne, k as ke } from "./index-Bi55S4bg.mjs";
|
|
2
|
+
import { G as Ue } from "./graph-3GmqmA5U.mjs";
|
|
3
|
+
import { l as Be } from "./layout-lIExPCso.mjs";
|
|
4
|
+
import { l as Qe } from "./line-q3FYPVlY.mjs";
|
|
5
5
|
var ce = (function() {
|
|
6
6
|
var e = function(V, i, r, a) {
|
|
7
7
|
for (r = r || {}, a = V.length; a--; r[V[a]] = i)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as mt, C as kt, s as _t, a as xt, c as vt, b as bt, g as rt, aq as wt, d as G, o as St, E as Lt, k as Et } from "./index-
|
|
1
|
+
import { D as mt, C as kt, s as _t, a as xt, c as vt, b as bt, g as rt, aq as wt, d as G, o as St, E as Lt, k as Et } from "./index-Bi55S4bg.mjs";
|
|
2
2
|
import { o as At } from "./ordinal-C0oynhte.mjs";
|
|
3
3
|
import { s as Tt } from "./Tableau10-D7jGxypv.mjs";
|
|
4
4
|
function ot(t, n) {
|
package/dist/{sequenceDiagram-c5b8d532-CJyRPy1h.mjs → sequenceDiagram-c5b8d532-D64tmcjg.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as we, s as ve, c as $t, g as st, D as _e, C as ke, b as Pe, d as Lt, l as X, j as te, e as Le, f as Ie, k as v, i as At, E as Ae, B, a3 as nt, a4 as wt, W as ee, a5 as Ne, t as se, Z as Bt } from "./index-
|
|
2
|
-
import { a as Se, b as zt, d as Me, g as Nt, c as Re, e as Ce } from "./svgDrawCommon-b86b1483-
|
|
1
|
+
import { a as we, s as ve, c as $t, g as st, D as _e, C as ke, b as Pe, d as Lt, l as X, j as te, e as Le, f as Ie, k as v, i as At, E as Ae, B, a3 as nt, a4 as wt, W as ee, a5 as Ne, t as se, Z as Bt } from "./index-Bi55S4bg.mjs";
|
|
2
|
+
import { a as Se, b as zt, d as Me, g as Nt, c as Re, e as Ce } from "./svgDrawCommon-b86b1483-_kxEU-iH.mjs";
|
|
3
3
|
var Yt = (function() {
|
|
4
4
|
var t = function(dt, w, k, L) {
|
|
5
5
|
for (k = k || {}, L = dt.length; L--; k[dt[L]] = w)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as P, d as N, p as W } from "./styles-ca3715f6-
|
|
2
|
-
import { g as t, d as H, l as b, e as R, k as T, F as v, B as U } from "./index-
|
|
3
|
-
import { G as C } from "./graph-
|
|
4
|
-
import { l as F } from "./layout-
|
|
5
|
-
import { l as $ } from "./line-
|
|
1
|
+
import { s as P, d as N, p as W } from "./styles-ca3715f6-puXwKPZV.mjs";
|
|
2
|
+
import { g as t, d as H, l as b, e as R, k as T, F as v, B as U } from "./index-Bi55S4bg.mjs";
|
|
3
|
+
import { G as C } from "./graph-3GmqmA5U.mjs";
|
|
4
|
+
import { l as F } from "./layout-lIExPCso.mjs";
|
|
5
|
+
import { l as $ } from "./line-q3FYPVlY.mjs";
|
|
6
6
|
const O = (e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), X = (e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), J = (e, i) => {
|
|
7
7
|
const o = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = o.node().getBBox();
|
|
8
8
|
return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), o;
|
package/dist/{stateDiagram-v2-c2b004d7-CGXJVMqB.mjs → stateDiagram-v2-c2b004d7-C7CtacUk.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as Q, d as B, p as X, D as Z, a as H, b as F, S as m, c as I } from "./styles-ca3715f6-
|
|
2
|
-
import { G as tt } from "./graph-
|
|
3
|
-
import { l as E, g, d as x, B as et, e as ot, k as w } from "./index-
|
|
4
|
-
import { r as st } from "./index-5325376f-
|
|
5
|
-
import "./layout-
|
|
1
|
+
import { s as Q, d as B, p as X, D as Z, a as H, b as F, S as m, c as I } from "./styles-ca3715f6-puXwKPZV.mjs";
|
|
2
|
+
import { G as tt } from "./graph-3GmqmA5U.mjs";
|
|
3
|
+
import { l as E, g, d as x, B as et, e as ot, k as w } from "./index-Bi55S4bg.mjs";
|
|
4
|
+
import { r as st } from "./index-5325376f-D4WVCpip.mjs";
|
|
5
|
+
import "./layout-lIExPCso.mjs";
|
|
6
6
|
const h = "rect", C = "rectWithTitle", nt = "start", ct = "end", it = "divider", rt = "roundedWithTitle", lt = "note", at = "noteGroup", p = "statediagram", dt = "state", Et = `${p}-${dt}`, U = "transition", St = "note", Tt = "note-edge", _t = `${U} ${Tt}`, pt = `${p}-${St}`, ut = "cluster", Dt = `${p}-${ut}`, bt = "cluster-alt", ft = `${p}-${bt}`, V = "parent", Y = "note", At = "state", N = "----", ht = `${N}${Y}`, M = `${N}${V}`, W = "fill:none", z = "fill: #333", q = "c", K = "text", j = "normal";
|
|
7
7
|
let y = {}, d = 0;
|
|
8
8
|
const yt = function(t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ut, D as rt, g as F, s as at, a as lt, b as ct, c as ot, k as v, B as We, l as ht, E as At, i as pt, G as Re, d as z } from "./index-
|
|
1
|
+
import { C as ut, D as rt, g as F, s as at, a as lt, b as ct, c as ot, k as v, B as We, l as ht, E as At, i as pt, G as Re, d as z } from "./index-Bi55S4bg.mjs";
|
|
2
2
|
var Ve = (function() {
|
|
3
3
|
var e = function(x, u, a, h) {
|
|
4
4
|
for (a = a || {}, h = x.length; h--; a[x[h]] = u)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Ut, D as zt, s as Mt, a as Ht, c as Xt, b as Kt, g as Y, k as ot, l as D, E as Wt, a6 as Jt } from "./index-
|
|
1
|
+
import { C as Ut, D as zt, s as Mt, a as Ht, c as Xt, b as Kt, g as Y, k as ot, l as D, E as Wt, a6 as Jt } from "./index-Bi55S4bg.mjs";
|
|
2
2
|
var gt = (function() {
|
|
3
3
|
var t = function(C, r, n, i) {
|
|
4
4
|
for (n = n || {}, i = C.length; i--; n[C[i]] = r)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as z, v as R, x as F, y as U, z as j, A as H, l as g, g as S, d as C, B as K, o as W, p as N, q as E, n as L, t as G, k as q, r as X } from "./index-
|
|
2
|
-
import { G as J } from "./graph-
|
|
3
|
-
import { r as Q } from "./index-5325376f-
|
|
4
|
-
import { c as Y } from "./channel-
|
|
1
|
+
import { S as z, v as R, x as F, y as U, z as j, A as H, l as g, g as S, d as C, B as K, o as W, p as N, q as E, n as L, t as G, k as q, r as X } from "./index-Bi55S4bg.mjs";
|
|
2
|
+
import { G as J } from "./graph-3GmqmA5U.mjs";
|
|
3
|
+
import { r as Q } from "./index-5325376f-D4WVCpip.mjs";
|
|
4
|
+
import { c as Y } from "./channel-dqqq-K_U.mjs";
|
|
5
5
|
function Z(e) {
|
|
6
6
|
return typeof e == "string" ? new z([document.querySelectorAll(e)], [document.documentElement]) : new z([F(e)], R);
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ao as o, j as i } from "./index-
|
|
1
|
+
import { ao as o, j as i } from "./index-Bi55S4bg.mjs";
|
|
2
2
|
const l = (s, t) => {
|
|
3
3
|
const e = s.append("rect");
|
|
4
4
|
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 !== void 0 && e.attr("rx", t.rx), t.ry !== void 0 && e.attr("ry", t.ry), t.attrs !== void 0)
|
package/dist/{timeline-definition-faaaa080-CHG25BHg.mjs → timeline-definition-faaaa080-BGFJV1pG.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ar as gt, as as ft, at as mt, g as xt, l as E, d as G, o as _t, au as bt, E as kt } from "./index-
|
|
2
|
-
import { a as D } from "./arc-
|
|
1
|
+
import { ar as gt, as as ft, at as mt, g as xt, l as E, d as G, o as _t, au as bt, E as kt } from "./index-Bi55S4bg.mjs";
|
|
2
|
+
import { a as D } from "./arc-B8UMP-AJ.mjs";
|
|
3
3
|
var K = (function() {
|
|
4
4
|
var n = function(f, i, r, c) {
|
|
5
5
|
for (r = r || {}, c = f.length; c--; r[f[c]] = i)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as zt, a as Ft, C as wt, D as Nt, b as Xt, c as Yt, l as St, T as Ht, e as $t, E as Ut, Z as ot, V as Ct, X as qt, Y as jt, i as Gt } from "./index-
|
|
2
|
-
import { c as Qt } from "./createText-1719965b-
|
|
1
|
+
import { s as zt, a as Ft, C as wt, D as Nt, b as Xt, c as Yt, l as St, T as Ht, e as $t, E as Ut, Z as ot, V as Ct, X as qt, Y as jt, i as Gt } from "./index-Bi55S4bg.mjs";
|
|
2
|
+
import { c as Qt } from "./createText-1719965b-Bb5L57vX.mjs";
|
|
3
3
|
import { i as Kt } from "./init-DjUOC4st.mjs";
|
|
4
4
|
import { o as Zt } from "./ordinal-C0oynhte.mjs";
|
|
5
|
-
import { l as ft } from "./linear-
|
|
6
|
-
import { l as pt } from "./line-
|
|
5
|
+
import { l as ft } from "./linear-CYxN76vj.mjs";
|
|
6
|
+
import { l as pt } from "./line-q3FYPVlY.mjs";
|
|
7
7
|
function Jt(e, t, i) {
|
|
8
8
|
e = +e, t = +t, i = (n = arguments.length) < 2 ? (t = e, e = 0, 1) : n < 3 ? 1 : +i;
|
|
9
9
|
for (var s = -1, n = Math.max(0, Math.ceil((t - e) / i)) | 0, o = new Array(n); ++s < n; )
|
package/package.json
CHANGED