@marimo-team/frontend 0.14.11-dev50 → 0.14.11-dev7

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.
Files changed (138) hide show
  1. package/dist/assets/{ConnectedDataExplorerComponent-CUoL500U.js → ConnectedDataExplorerComponent-C0P31a5y.js} +3 -3
  2. package/dist/assets/{ImageComparisonComponent-DDHwIJ8Q.js → ImageComparisonComponent-DXDeGx2f.js} +1 -1
  3. package/dist/assets/{VegaLite-Czmx_ECO.js → VegaLite-CUqFyetE.js} +1 -1
  4. package/dist/assets/_baseEach-BHb51vC7.js +1 -0
  5. package/dist/assets/_baseMap--rH4lBFQ.js +1 -0
  6. package/dist/assets/_baseUniq-CABXtSlj.js +1 -0
  7. package/dist/assets/{_createAggregator-CcihYROi.js → _createAggregator-SoA2y5HH.js} +1 -1
  8. package/dist/assets/{any-language-editor-bqVsHwiH.js → any-language-editor-Bw2cdBsS.js} +1 -1
  9. package/dist/assets/architectureDiagram-IEHRJDOE-rGoAHYH8.js +36 -0
  10. package/dist/assets/blockDiagram-JOT3LUYC-ZBJWq8Z_.js +121 -0
  11. package/dist/assets/{c4Diagram-6F6E4RAY-m6sAlCzp.js → c4Diagram-VJAJSXHY-BHtN7uMz.js} +2 -2
  12. package/dist/assets/channel-C96bdTqW.js +1 -0
  13. package/dist/assets/{chunk-353BL4L5-CnAx5AF0.js → chunk-4BMEZGHF-BO5DiwLV.js} +1 -1
  14. package/dist/assets/{chunk-QEP2MXWD-BxExN6Lp.js → chunk-A2AXSNBT-B07L-F60.js} +3 -4
  15. package/dist/assets/chunk-AEK57VVT-DN2-tsCz.js +220 -0
  16. package/dist/assets/{chunk-67H74DCK-Cto_4Bir.js → chunk-D6G4REZN-CbYGlbyQ.js} +1 -1
  17. package/dist/assets/chunk-RZ5BOZE2-DVex9AD8.js +1 -0
  18. package/dist/assets/{chunk-AACKK3MU-B_HaHcJu.js → chunk-XZIHB7SX-COKmet6t.js} +1 -1
  19. package/dist/assets/{circle-play-8nMu2iYy.js → circle-play-DSXPiHO0.js} +2 -2
  20. package/dist/assets/classDiagram-GIVACNV2-CehC5H1T.js +1 -0
  21. package/dist/assets/classDiagram-v2-COTLJTTW-CehC5H1T.js +1 -0
  22. package/dist/assets/clone-H0gxlZXI.js +1 -0
  23. package/dist/assets/compile-DEz1Y6_F.js +10 -0
  24. package/dist/assets/dagre-OKDRZEBW-CymbL2JX.js +4 -0
  25. package/dist/assets/{data-editor-BeWagiEI.js → data-editor-CTGVBJdC.js} +22 -22
  26. package/dist/assets/diagram-SSKATNLV-DY5vs_Bj.js +43 -0
  27. package/dist/assets/diagram-VNBRO52H-ZuQiOKh8.js +24 -0
  28. package/dist/assets/edit-page-DcQ6ZhfW.js +144 -0
  29. package/dist/assets/{erDiagram-R3QVA2FD-3xyAvrIh.js → erDiagram-Q7BY3M3F-l-V_9Yws.js} +1 -1
  30. package/dist/assets/flowDiagram-4HSFHLVR-BsHIJJTe.js +161 -0
  31. package/dist/assets/ganttDiagram-APWFNJXF-2gy5YbWU.js +257 -0
  32. package/dist/assets/gitGraphDiagram-7IBYFJ6S-B_ELHLbw.js +65 -0
  33. package/dist/assets/{graph-C4PkZZxf.js → graph-DpLAfWzk.js} +1 -1
  34. package/dist/assets/home-page-6auHzaGk.js +9 -0
  35. package/dist/assets/index-8IZtaDUn.css +1 -0
  36. package/dist/assets/index-B-mClP__.js +1 -0
  37. package/dist/assets/{index-DjJ-bG6v.js → index-BuqjbKw0.js} +1 -1
  38. package/dist/assets/{index-B-zQMBKJ.js → index-Bz3Lb65G.js} +1 -1
  39. package/dist/assets/{index-CKQeO2Lm.js → index-C9EPiaCd.js} +1 -1
  40. package/dist/assets/{index-DjpcQgUn.js → index-C9EbJL5c.js} +1 -1
  41. package/dist/assets/{index--PV_n6OT.js → index-Cig6xGYH.js} +1 -1
  42. package/dist/assets/{index-CEEx86Vd.js → index-CmVTfWOx.js} +1 -1
  43. package/dist/assets/{index-DnxVQzYt.js → index-Cs9jrmWP.js} +1 -1
  44. package/dist/assets/{index-BGwXzM6i.js → index-CxQo8Qlm.js} +1 -1
  45. package/dist/assets/{index-DGXmlIKQ.js → index-Czo055fo.js} +1 -1
  46. package/dist/assets/{index-tWtqwKDR.js → index-DAMc4rP9.js} +1 -1
  47. package/dist/assets/index-DDVWq6NK.js +501 -0
  48. package/dist/assets/{index-CqGB7278.js → index-DP4HiwTU.js} +1 -1
  49. package/dist/assets/{index-CtmLvKwt.js → index-DQwFB8dN.js} +1 -1
  50. package/dist/assets/{index-hzUC1b41.js → index-DZWCSqpf.js} +1 -1
  51. package/dist/assets/{index-Dx9C9kBl.js → index-DbunLlvf.js} +1 -1
  52. package/dist/assets/{index-grhOS4NZ.js → index-FYYNNs_X.js} +1 -1
  53. package/dist/assets/{index-TLD151he.js → index-N67HDT2u.js} +1 -1
  54. package/dist/assets/{index-BU0kTvje.js → index-kmp97oxc.js} +1 -1
  55. package/dist/assets/infoDiagram-PH2N3AL5-BwbaSo89.js +2 -0
  56. package/dist/assets/journeyDiagram-U35MCT3I-NKSvtlZA.js +138 -0
  57. package/dist/assets/{kanban-definition-ILFWEQ3N-CcX8Odhv.js → kanban-definition-NDS4AKOZ-Cw4Vh4wD.js} +8 -9
  58. package/dist/assets/{layout-CMZskpMv.js → layout-DodQLUx6.js} +1 -1
  59. package/dist/assets/linear-B_OPGLLI.js +1 -0
  60. package/dist/assets/loro_wasm_bg-DHBNbovs.wasm +0 -0
  61. package/dist/assets/mermaid-CVRC4Ruz.js +152 -0
  62. package/dist/assets/min-VmgWsmJ_.js +1 -0
  63. package/dist/assets/{mindmap-definition-CZNETY7S-CxqCAn65.js → mindmap-definition-ALO5MXBD-C0KGo_i_.js} +4 -4
  64. package/dist/assets/{pieDiagram-NIOCPIFQ-PRsPDCUf.js → pieDiagram-IB7DONF6-DCnELF9y.js} +1 -1
  65. package/dist/assets/{quadrantDiagram-2OG54O6I-pLLKFYFN.js → quadrantDiagram-7GDLP6J5-D0cP5ixt.js} +1 -1
  66. package/dist/assets/radar-MK3ICKWK-D8LhkSau.js +126 -0
  67. package/dist/assets/{react-plotly-O8CNh3yr.js → react-plotly-BmDAcz3M.js} +1 -1
  68. package/dist/assets/{requirementDiagram-SO3GGRV7-yjxijDDw.js → requirementDiagram-KVF5MWMF-BTksN04O.js} +3 -3
  69. package/dist/assets/run-page-17VQxU3e.js +1 -0
  70. package/dist/assets/{sankeyDiagram-4UZDY2LN-7AVzF911.js → sankeyDiagram-QLVOVGJD-DECOJIMC.js} +1 -1
  71. package/dist/assets/save-worker-DZnx0AG9.js +1 -0
  72. package/dist/assets/sequenceDiagram-X6HHIX6F-C5eDWwoH.js +122 -0
  73. package/dist/assets/shutdown-button-QvkERkPd.js +17 -0
  74. package/dist/assets/slides-component-DchvPU9C.js +1 -0
  75. package/dist/assets/sortBy-7ke7bFD2.js +1 -0
  76. package/dist/assets/stateDiagram-DGXRK772-D6Kwy963.js +1 -0
  77. package/dist/assets/stateDiagram-v2-YXO3MK2T-Bk10XR94.js +1 -0
  78. package/dist/assets/storage-BeNhlsrY.js +27 -0
  79. package/dist/assets/{terminal-Dxa0NUTG.js → terminal-MtCDBvKs.js} +1 -1
  80. package/dist/assets/{time-D69fB1YD.js → time-BoP93jle.js} +1 -1
  81. package/dist/assets/timeline-definition-BDJGKUSR-T1la59d1.js +61 -0
  82. package/dist/assets/tracing-CCltm96L.js +2 -0
  83. package/dist/assets/vega-component-j1BDb2QJ.js +1 -0
  84. package/dist/assets/worker-BbdB3qWL.js +1 -0
  85. package/dist/assets/worker-CnoOKJWk.js +1 -0
  86. package/dist/assets/xychartDiagram-VJFVF3MP-CoJqer7_.js +7 -0
  87. package/dist/index.html +2 -2
  88. package/package.json +42 -42
  89. package/dist/assets/_baseEach-C52A37kN.js +0 -1
  90. package/dist/assets/_baseMap-CErDCA3r.js +0 -1
  91. package/dist/assets/_baseUniq-hliKyzdp.js +0 -1
  92. package/dist/assets/architectureDiagram-NQ2NVSRB-BLiKdlfK.js +0 -36
  93. package/dist/assets/blockDiagram-PHRCVELO-Dj7uU_bm.js +0 -122
  94. package/dist/assets/channel-eH-Wxlwg.js +0 -1
  95. package/dist/assets/chunk-6OLS64BW-CrFJnDjp.js +0 -220
  96. package/dist/assets/chunk-BFAMUDN2-Di38VBDn.js +0 -1
  97. package/dist/assets/chunk-E2GYISFI-CPwLrORh.js +0 -15
  98. package/dist/assets/chunk-SKB7J2MH-CZ1cNiyn.js +0 -1
  99. package/dist/assets/classDiagram-BGRH5UQR-BnjY0hFP.js +0 -1
  100. package/dist/assets/classDiagram-v2-O24JOBDK-BnjY0hFP.js +0 -1
  101. package/dist/assets/clone-BqBqvZp5.js +0 -1
  102. package/dist/assets/compile-BFoHfP_H.js +0 -10
  103. package/dist/assets/dagre-FFZHY6LT-B2xtEGm4.js +0 -4
  104. package/dist/assets/diagram-3EMPZRKU-DSUnwT8T.js +0 -24
  105. package/dist/assets/diagram-5UYTHUR4-BKm2hW4S.js +0 -24
  106. package/dist/assets/diagram-ZTM2IBQH-BQuWD834.js +0 -43
  107. package/dist/assets/edit-page-Dp71Rq_B.js +0 -144
  108. package/dist/assets/flowDiagram-PKI6S5ZS-ZMlsBCaU.js +0 -162
  109. package/dist/assets/ganttDiagram-EK5VF46D-BCKhVKFb.js +0 -267
  110. package/dist/assets/gitGraphDiagram-GW3U2K7C-pHdDh1du.js +0 -65
  111. package/dist/assets/home-page-CmEC47AR.js +0 -9
  112. package/dist/assets/index-BEQfoZiP.js +0 -1
  113. package/dist/assets/index-D2Z1hqrf.js +0 -1
  114. package/dist/assets/index-DDdlzLJw.js +0 -503
  115. package/dist/assets/index-DnCBJYuC.css +0 -1
  116. package/dist/assets/infoDiagram-RLU2ROGC-CQRQmWBF.js +0 -2
  117. package/dist/assets/journeyDiagram-EWQZEKCU-DoTMV7Ld.js +0 -139
  118. package/dist/assets/linear-RD9P-hfS.js +0 -1
  119. package/dist/assets/links-BddFPrre.js +0 -17
  120. package/dist/assets/loro_wasm_bg-bPYKkGLG.wasm +0 -0
  121. package/dist/assets/mermaid-CjHlE8Co.js +0 -152
  122. package/dist/assets/min-DrLXTftx.js +0 -1
  123. package/dist/assets/run-page-CxZg57Ra.js +0 -1
  124. package/dist/assets/save-worker-B8gk1S9x.js +0 -1
  125. package/dist/assets/sequenceDiagram-ZIKVLSP4-CYsC6JlV.js +0 -122
  126. package/dist/assets/slides-component-t8hWAw30.js +0 -1
  127. package/dist/assets/sortBy-6rZ1GeDf.js +0 -1
  128. package/dist/assets/stateDiagram-XX37X6EN-DkOa47Ba.js +0 -1
  129. package/dist/assets/stateDiagram-v2-GD6S3NHB-CtNUX2HF.js +0 -1
  130. package/dist/assets/storage-DFM0grbQ.js +0 -25
  131. package/dist/assets/timeline-definition-RI47OAVP-Cv4RoOGw.js +0 -61
  132. package/dist/assets/tracing-CYcKBnLY.js +0 -2
  133. package/dist/assets/treemap-FKARHQ26-DIAQw-dY.js +0 -126
  134. package/dist/assets/vega-component-CzIbLUf6.js +0 -1
  135. package/dist/assets/worker-BYA2ASe8.js +0 -1
  136. package/dist/assets/worker-Ch6cKXnI.js +0 -1
  137. package/dist/assets/xychartDiagram-H2YORKM3-pYUlM72N.js +0 -7
  138. /package/dist/assets/{links-C1rhMrxo.css → shutdown-button-C1rhMrxo.css} +0 -0
@@ -1,4 +1,4 @@
1
- var D;import{g as It}from"./chunk-BFAMUDN2-Di38VBDn.js";import{s as Ct}from"./chunk-SKB7J2MH-CZ1cNiyn.js";import{_ as h,b as xt,a as Dt,s as $t,g as vt,p as wt,q as Lt,c as V,l as x,y as Mt,x as Bt,A as Ft,B as Yt,o as Pt,r as zt,u as Gt}from"./mermaid-CjHlE8Co.js";import{s as Kt}from"./transform-DetRMEbJ.js";import{c as Zt}from"./channel-eH-Wxlwg.js";import"./index-DDdlzLJw.js";import"./step-BwsUM5iJ.js";import"./timer-Bqd5yn_a.js";var lt=function(){var s=h(function(a,u,o,n){for(o=o||{},n=a.length;n--;o[a[n]]=u);return o},"o"),i=[6,8,10,22,24,26,28,33,34,35,36,37,40,43,44,50],l=[1,10],y=[1,11],c=[1,12],r=[1,13],_=[1,20],g=[1,21],E=[1,22],$=[1,23],v=[1,24],N=[1,19],w=[1,25],Z=[1,26],L=[1,18],tt=[1,33],et=[1,34],st=[1,35],it=[1,36],nt=[1,37],ht=[6,8,10,13,15,17,20,21,22,24,26,28,33,34,35,36,37,40,43,44,50,63,64,65,66,67],O=[1,42],T=[1,43],M=[1,52],B=[40,50,68,69],F=[1,63],Y=[1,61],S=[1,58],P=[1,62],z=[1,64],U=[6,8,10,13,17,22,24,26,28,33,34,35,36,37,40,41,42,43,44,48,49,50,63,64,65,66,67],yt=[63,64,65,66,67],ut=[1,81],dt=[1,80],pt=[1,78],_t=[1,79],gt=[6,10,42,47],I=[6,10,13,41,42,47,48,49],j=[1,89],W=[1,88],Q=[1,87],G=[19,56],mt=[1,98],ft=[1,97],at=[19,56,58,60],rt={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,COLON:13,role:14,STYLE_SEPARATOR:15,idList:16,BLOCK_START:17,attributes:18,BLOCK_STOP:19,SQS:20,SQE:21,title:22,title_value:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,direction:29,classDefStatement:30,classStatement:31,styleStatement:32,direction_tb:33,direction_bt:34,direction_rl:35,direction_lr:36,CLASSDEF:37,stylesOpt:38,separator:39,UNICODE_TEXT:40,STYLE_TEXT:41,COMMA:42,CLASS:43,STYLE:44,style:45,styleComponent:46,SEMI:47,NUM:48,BRKT:49,ENTITY_NAME:50,attribute:51,attributeType:52,attributeName:53,attributeKeyTypeList:54,attributeComment:55,ATTRIBUTE_WORD:56,attributeKeyType:57,",":58,ATTRIBUTE_KEY:59,COMMENT:60,cardinality:61,relType:62,ZERO_OR_ONE:63,ZERO_OR_MORE:64,ONE_OR_MORE:65,ONLY_ONE:66,MD_PARENT:67,NON_IDENTIFYING:68,IDENTIFYING:69,WORD:70,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:"COLON",15:"STYLE_SEPARATOR",17:"BLOCK_START",19:"BLOCK_STOP",20:"SQS",21:"SQE",22:"title",23:"title_value",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"direction_tb",34:"direction_bt",35:"direction_rl",36:"direction_lr",37:"CLASSDEF",40:"UNICODE_TEXT",41:"STYLE_TEXT",42:"COMMA",43:"CLASS",44:"STYLE",47:"SEMI",48:"NUM",49:"BRKT",50:"ENTITY_NAME",56:"ATTRIBUTE_WORD",58:",",59:"ATTRIBUTE_KEY",60:"COMMENT",63:"ZERO_OR_ONE",64:"ZERO_OR_MORE",65:"ONE_OR_MORE",66:"ONLY_ONE",67:"MD_PARENT",68:"NON_IDENTIFYING",69:"IDENTIFYING",70:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,9],[9,7],[9,7],[9,4],[9,6],[9,3],[9,5],[9,1],[9,3],[9,7],[9,9],[9,6],[9,8],[9,4],[9,6],[9,2],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[9,1],[29,1],[29,1],[29,1],[29,1],[30,4],[16,1],[16,1],[16,3],[16,3],[31,3],[32,4],[38,1],[38,3],[45,1],[45,2],[39,1],[39,1],[39,1],[46,1],[46,1],[46,1],[46,1],[11,1],[11,1],[18,1],[18,2],[51,2],[51,3],[51,3],[51,4],[52,1],[53,1],[54,1],[54,3],[57,1],[55,1],[12,3],[61,1],[61,1],[61,1],[61,1],[61,1],[62,1],[62,1],[14,1],[14,1],[14,1]],performAction:h(function(a,u,o,n,d,t,K){var e=t.length-1;switch(d){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:t[e-1].push(t[e]),this.$=t[e-1];break;case 4:case 5:case 55:case 78:case 62:case 63:case 66:this.$=t[e];break;case 8:n.addEntity(t[e-4]),n.addEntity(t[e-2]),n.addRelationship(t[e-4],t[e],t[e-2],t[e-3]);break;case 9:n.addEntity(t[e-8]),n.addEntity(t[e-4]),n.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),n.setClass([t[e-8]],t[e-6]),n.setClass([t[e-4]],t[e-2]);break;case 10:n.addEntity(t[e-6]),n.addEntity(t[e-2]),n.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),n.setClass([t[e-6]],t[e-4]);break;case 11:n.addEntity(t[e-6]),n.addEntity(t[e-4]),n.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),n.setClass([t[e-4]],t[e-2]);break;case 12:n.addEntity(t[e-3]),n.addAttributes(t[e-3],t[e-1]);break;case 13:n.addEntity(t[e-5]),n.addAttributes(t[e-5],t[e-1]),n.setClass([t[e-5]],t[e-3]);break;case 14:n.addEntity(t[e-2]);break;case 15:n.addEntity(t[e-4]),n.setClass([t[e-4]],t[e-2]);break;case 16:n.addEntity(t[e]);break;case 17:n.addEntity(t[e-2]),n.setClass([t[e-2]],t[e]);break;case 18:n.addEntity(t[e-6],t[e-4]),n.addAttributes(t[e-6],t[e-1]);break;case 19:n.addEntity(t[e-8],t[e-6]),n.addAttributes(t[e-8],t[e-1]),n.setClass([t[e-8]],t[e-3]);break;case 20:n.addEntity(t[e-5],t[e-3]);break;case 21:n.addEntity(t[e-7],t[e-5]),n.setClass([t[e-7]],t[e-2]);break;case 22:n.addEntity(t[e-3],t[e-1]);break;case 23:n.addEntity(t[e-5],t[e-3]),n.setClass([t[e-5]],t[e]);break;case 24:case 25:this.$=t[e].trim(),n.setAccTitle(this.$);break;case 26:case 27:this.$=t[e].trim(),n.setAccDescription(this.$);break;case 32:n.setDirection("TB");break;case 33:n.setDirection("BT");break;case 34:n.setDirection("RL");break;case 35:n.setDirection("LR");break;case 36:this.$=t[e-3],n.addClass(t[e-2],t[e-1]);break;case 37:case 38:case 56:case 64:case 43:this.$=[t[e]];break;case 39:case 40:this.$=t[e-2].concat([t[e]]);break;case 41:this.$=t[e-2],n.setClass(t[e-1],t[e]);break;case 42:this.$=t[e-3],n.addCssStyles(t[e-2],t[e-1]);break;case 44:case 65:t[e-2].push(t[e]),this.$=t[e-2];break;case 46:this.$=t[e-1]+t[e];break;case 54:case 76:case 77:case 67:this.$=t[e].replace(/"/g,"");break;case 57:t[e].push(t[e-1]),this.$=t[e];break;case 58:this.$={type:t[e-1],name:t[e]};break;case 59:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 60:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 61:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 68:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 69:this.$=n.Cardinality.ZERO_OR_ONE;break;case 70:this.$=n.Cardinality.ZERO_OR_MORE;break;case 71:this.$=n.Cardinality.ONE_OR_MORE;break;case 72:this.$=n.Cardinality.ONLY_ONE;break;case 73:this.$=n.Cardinality.MD_PARENT;break;case 74:this.$=n.Identification.NON_IDENTIFYING;break;case 75:this.$=n.Identification.IDENTIFYING}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(i,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,22:l,24:y,26:c,28:r,29:14,30:15,31:16,32:17,33:_,34:g,35:E,36:$,37:v,40:N,43:w,44:Z,50:L},s(i,[2,7],{1:[2,1]}),s(i,[2,3]),{9:27,11:9,22:l,24:y,26:c,28:r,29:14,30:15,31:16,32:17,33:_,34:g,35:E,36:$,37:v,40:N,43:w,44:Z,50:L},s(i,[2,5]),s(i,[2,6]),s(i,[2,16],{12:28,61:32,15:[1,29],17:[1,30],20:[1,31],63:tt,64:et,65:st,66:it,67:nt}),{23:[1,38]},{25:[1,39]},{27:[1,40]},s(i,[2,27]),s(i,[2,28]),s(i,[2,29]),s(i,[2,30]),s(i,[2,31]),s(ht,[2,54]),s(ht,[2,55]),s(i,[2,32]),s(i,[2,33]),s(i,[2,34]),s(i,[2,35]),{16:41,40:O,41:T},{16:44,40:O,41:T},{16:45,40:O,41:T},s(i,[2,4]),{11:46,40:N,50:L},{16:47,40:O,41:T},{18:48,19:[1,49],51:50,52:51,56:M},{11:53,40:N,50:L},{62:54,68:[1,55],69:[1,56]},s(B,[2,69]),s(B,[2,70]),s(B,[2,71]),s(B,[2,72]),s(B,[2,73]),s(i,[2,24]),s(i,[2,25]),s(i,[2,26]),{13:F,38:57,41:Y,42:S,45:59,46:60,48:P,49:z},s(U,[2,37]),s(U,[2,38]),{16:65,40:O,41:T,42:S},{13:F,38:66,41:Y,42:S,45:59,46:60,48:P,49:z},{13:[1,67],15:[1,68]},s(i,[2,17],{61:32,12:69,17:[1,70],42:S,63:tt,64:et,65:st,66:it,67:nt}),{19:[1,71]},s(i,[2,14]),{18:72,19:[2,56],51:50,52:51,56:M},{53:73,56:[1,74]},{56:[2,62]},{21:[1,75]},{61:76,63:tt,64:et,65:st,66:it,67:nt},s(yt,[2,74]),s(yt,[2,75]),{6:ut,10:dt,39:77,42:pt,47:_t},{40:[1,82],41:[1,83]},s(gt,[2,43],{46:84,13:F,41:Y,48:P,49:z}),s(I,[2,45]),s(I,[2,50]),s(I,[2,51]),s(I,[2,52]),s(I,[2,53]),s(i,[2,41],{42:S}),{6:ut,10:dt,39:85,42:pt,47:_t},{14:86,40:j,50:W,70:Q},{16:90,40:O,41:T},{11:91,40:N,50:L},{18:92,19:[1,93],51:50,52:51,56:M},s(i,[2,12]),{19:[2,57]},s(G,[2,58],{54:94,55:95,57:96,59:mt,60:ft}),s([19,56,59,60],[2,63]),s(i,[2,22],{15:[1,100],17:[1,99]}),s([40,50],[2,68]),s(i,[2,36]),{13:F,41:Y,45:101,46:60,48:P,49:z},s(i,[2,47]),s(i,[2,48]),s(i,[2,49]),s(U,[2,39]),s(U,[2,40]),s(I,[2,46]),s(i,[2,42]),s(i,[2,8]),s(i,[2,76]),s(i,[2,77]),s(i,[2,78]),{13:[1,102],42:S},{13:[1,104],15:[1,103]},{19:[1,105]},s(i,[2,15]),s(G,[2,59],{55:106,58:[1,107],60:ft}),s(G,[2,60]),s(at,[2,64]),s(G,[2,67]),s(at,[2,66]),{18:108,19:[1,109],51:50,52:51,56:M},{16:110,40:O,41:T},s(gt,[2,44],{46:84,13:F,41:Y,48:P,49:z}),{14:111,40:j,50:W,70:Q},{16:112,40:O,41:T},{14:113,40:j,50:W,70:Q},s(i,[2,13]),s(G,[2,61]),{57:114,59:mt},{19:[1,115]},s(i,[2,20]),s(i,[2,23],{17:[1,116],42:S}),s(i,[2,11]),{13:[1,117],42:S},s(i,[2,10]),s(at,[2,65]),s(i,[2,18]),{18:118,19:[1,119],51:50,52:51,56:M},{14:120,40:j,50:W,70:Q},{19:[1,121]},s(i,[2,21]),s(i,[2,9]),s(i,[2,19])],defaultActions:{52:[2,62],72:[2,57]},parseError:h(function(a,u){if(!u.recoverable){var o=new Error(a);throw o.hash=u,o}this.trace(a)},"parseError"),parse:h(function(a){var u=this,o=[0],n=[],d=[null],t=[],K=this.table,e="",q=0,bt=0,Rt=t.slice.call(arguments,1),p=Object.create(this.lexer),R={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(R.yy[ct]=this.yy[ct]);p.setInput(a,R.yy),R.yy.lexer=p,R.yy.parser=this,p.yylloc===void 0&&(p.yylloc={});var ot=p.yylloc;t.push(ot);var At=p.options&&p.options.ranges;function Et(){var b;return typeof(b=n.pop()||p.lex()||1)!="number"&&(b instanceof Array&&(b=(n=b).pop()),b=u.symbols_[b]||b),b}typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,h(function(b){o.length=o.length-2*b,d.length=d.length-b,t.length=t.length-b},"popStack"),h(Et,"lex");for(var m,A,f,kt,H,k,Ot,J,C={};;){if(A=o[o.length-1],this.defaultActions[A]?f=this.defaultActions[A]:(m==null&&(m=Et()),f=K[A]&&K[A][m]),f===void 0||!f.length||!f[0]){var Tt="";for(H in J=[],K[A])this.terminals_[H]&&H>2&&J.push("'"+this.terminals_[H]+"'");Tt=p.showPosition?"Parse error on line "+(q+1)+`:
1
+ var D;import{g as It,s as Ct}from"./chunk-RZ5BOZE2-DVex9AD8.js";import{_ as h,b as xt,a as Dt,s as $t,g as vt,p as wt,q as Lt,c as V,l as x,y as Mt,x as Bt,A as Ft,B as Yt,o as Pt,r as zt,u as Gt}from"./mermaid-CVRC4Ruz.js";import{s as Kt}from"./transform-DetRMEbJ.js";import{c as Zt}from"./channel-C96bdTqW.js";import"./index-DDVWq6NK.js";import"./step-BwsUM5iJ.js";import"./timer-Bqd5yn_a.js";var lt=function(){var s=h(function(a,u,o,n){for(o=o||{},n=a.length;n--;o[a[n]]=u);return o},"o"),i=[6,8,10,22,24,26,28,33,34,35,36,37,40,43,44,50],l=[1,10],y=[1,11],c=[1,12],r=[1,13],_=[1,20],g=[1,21],E=[1,22],$=[1,23],v=[1,24],N=[1,19],w=[1,25],Z=[1,26],L=[1,18],tt=[1,33],et=[1,34],st=[1,35],it=[1,36],nt=[1,37],ht=[6,8,10,13,15,17,20,21,22,24,26,28,33,34,35,36,37,40,43,44,50,63,64,65,66,67],O=[1,42],T=[1,43],M=[1,52],B=[40,50,68,69],F=[1,63],Y=[1,61],S=[1,58],P=[1,62],z=[1,64],U=[6,8,10,13,17,22,24,26,28,33,34,35,36,37,40,41,42,43,44,48,49,50,63,64,65,66,67],yt=[63,64,65,66,67],ut=[1,81],dt=[1,80],pt=[1,78],_t=[1,79],gt=[6,10,42,47],I=[6,10,13,41,42,47,48,49],j=[1,89],W=[1,88],Q=[1,87],G=[19,56],mt=[1,98],ft=[1,97],at=[19,56,58,60],rt={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,COLON:13,role:14,STYLE_SEPARATOR:15,idList:16,BLOCK_START:17,attributes:18,BLOCK_STOP:19,SQS:20,SQE:21,title:22,title_value:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,direction:29,classDefStatement:30,classStatement:31,styleStatement:32,direction_tb:33,direction_bt:34,direction_rl:35,direction_lr:36,CLASSDEF:37,stylesOpt:38,separator:39,UNICODE_TEXT:40,STYLE_TEXT:41,COMMA:42,CLASS:43,STYLE:44,style:45,styleComponent:46,SEMI:47,NUM:48,BRKT:49,ENTITY_NAME:50,attribute:51,attributeType:52,attributeName:53,attributeKeyTypeList:54,attributeComment:55,ATTRIBUTE_WORD:56,attributeKeyType:57,",":58,ATTRIBUTE_KEY:59,COMMENT:60,cardinality:61,relType:62,ZERO_OR_ONE:63,ZERO_OR_MORE:64,ONE_OR_MORE:65,ONLY_ONE:66,MD_PARENT:67,NON_IDENTIFYING:68,IDENTIFYING:69,WORD:70,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:"COLON",15:"STYLE_SEPARATOR",17:"BLOCK_START",19:"BLOCK_STOP",20:"SQS",21:"SQE",22:"title",23:"title_value",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"direction_tb",34:"direction_bt",35:"direction_rl",36:"direction_lr",37:"CLASSDEF",40:"UNICODE_TEXT",41:"STYLE_TEXT",42:"COMMA",43:"CLASS",44:"STYLE",47:"SEMI",48:"NUM",49:"BRKT",50:"ENTITY_NAME",56:"ATTRIBUTE_WORD",58:",",59:"ATTRIBUTE_KEY",60:"COMMENT",63:"ZERO_OR_ONE",64:"ZERO_OR_MORE",65:"ONE_OR_MORE",66:"ONLY_ONE",67:"MD_PARENT",68:"NON_IDENTIFYING",69:"IDENTIFYING",70:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,9],[9,7],[9,7],[9,4],[9,6],[9,3],[9,5],[9,1],[9,3],[9,7],[9,9],[9,6],[9,8],[9,4],[9,6],[9,2],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[9,1],[29,1],[29,1],[29,1],[29,1],[30,4],[16,1],[16,1],[16,3],[16,3],[31,3],[32,4],[38,1],[38,3],[45,1],[45,2],[39,1],[39,1],[39,1],[46,1],[46,1],[46,1],[46,1],[11,1],[11,1],[18,1],[18,2],[51,2],[51,3],[51,3],[51,4],[52,1],[53,1],[54,1],[54,3],[57,1],[55,1],[12,3],[61,1],[61,1],[61,1],[61,1],[61,1],[62,1],[62,1],[14,1],[14,1],[14,1]],performAction:h(function(a,u,o,n,d,t,K){var e=t.length-1;switch(d){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:t[e-1].push(t[e]),this.$=t[e-1];break;case 4:case 5:case 55:case 78:case 62:case 63:case 66:this.$=t[e];break;case 8:n.addEntity(t[e-4]),n.addEntity(t[e-2]),n.addRelationship(t[e-4],t[e],t[e-2],t[e-3]);break;case 9:n.addEntity(t[e-8]),n.addEntity(t[e-4]),n.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),n.setClass([t[e-8]],t[e-6]),n.setClass([t[e-4]],t[e-2]);break;case 10:n.addEntity(t[e-6]),n.addEntity(t[e-2]),n.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),n.setClass([t[e-6]],t[e-4]);break;case 11:n.addEntity(t[e-6]),n.addEntity(t[e-4]),n.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),n.setClass([t[e-4]],t[e-2]);break;case 12:n.addEntity(t[e-3]),n.addAttributes(t[e-3],t[e-1]);break;case 13:n.addEntity(t[e-5]),n.addAttributes(t[e-5],t[e-1]),n.setClass([t[e-5]],t[e-3]);break;case 14:n.addEntity(t[e-2]);break;case 15:n.addEntity(t[e-4]),n.setClass([t[e-4]],t[e-2]);break;case 16:n.addEntity(t[e]);break;case 17:n.addEntity(t[e-2]),n.setClass([t[e-2]],t[e]);break;case 18:n.addEntity(t[e-6],t[e-4]),n.addAttributes(t[e-6],t[e-1]);break;case 19:n.addEntity(t[e-8],t[e-6]),n.addAttributes(t[e-8],t[e-1]),n.setClass([t[e-8]],t[e-3]);break;case 20:n.addEntity(t[e-5],t[e-3]);break;case 21:n.addEntity(t[e-7],t[e-5]),n.setClass([t[e-7]],t[e-2]);break;case 22:n.addEntity(t[e-3],t[e-1]);break;case 23:n.addEntity(t[e-5],t[e-3]),n.setClass([t[e-5]],t[e]);break;case 24:case 25:this.$=t[e].trim(),n.setAccTitle(this.$);break;case 26:case 27:this.$=t[e].trim(),n.setAccDescription(this.$);break;case 32:n.setDirection("TB");break;case 33:n.setDirection("BT");break;case 34:n.setDirection("RL");break;case 35:n.setDirection("LR");break;case 36:this.$=t[e-3],n.addClass(t[e-2],t[e-1]);break;case 37:case 38:case 56:case 64:case 43:this.$=[t[e]];break;case 39:case 40:this.$=t[e-2].concat([t[e]]);break;case 41:this.$=t[e-2],n.setClass(t[e-1],t[e]);break;case 42:this.$=t[e-3],n.addCssStyles(t[e-2],t[e-1]);break;case 44:case 65:t[e-2].push(t[e]),this.$=t[e-2];break;case 46:this.$=t[e-1]+t[e];break;case 54:case 76:case 77:case 67:this.$=t[e].replace(/"/g,"");break;case 57:t[e].push(t[e-1]),this.$=t[e];break;case 58:this.$={type:t[e-1],name:t[e]};break;case 59:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 60:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 61:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 68:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 69:this.$=n.Cardinality.ZERO_OR_ONE;break;case 70:this.$=n.Cardinality.ZERO_OR_MORE;break;case 71:this.$=n.Cardinality.ONE_OR_MORE;break;case 72:this.$=n.Cardinality.ONLY_ONE;break;case 73:this.$=n.Cardinality.MD_PARENT;break;case 74:this.$=n.Identification.NON_IDENTIFYING;break;case 75:this.$=n.Identification.IDENTIFYING}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(i,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,22:l,24:y,26:c,28:r,29:14,30:15,31:16,32:17,33:_,34:g,35:E,36:$,37:v,40:N,43:w,44:Z,50:L},s(i,[2,7],{1:[2,1]}),s(i,[2,3]),{9:27,11:9,22:l,24:y,26:c,28:r,29:14,30:15,31:16,32:17,33:_,34:g,35:E,36:$,37:v,40:N,43:w,44:Z,50:L},s(i,[2,5]),s(i,[2,6]),s(i,[2,16],{12:28,61:32,15:[1,29],17:[1,30],20:[1,31],63:tt,64:et,65:st,66:it,67:nt}),{23:[1,38]},{25:[1,39]},{27:[1,40]},s(i,[2,27]),s(i,[2,28]),s(i,[2,29]),s(i,[2,30]),s(i,[2,31]),s(ht,[2,54]),s(ht,[2,55]),s(i,[2,32]),s(i,[2,33]),s(i,[2,34]),s(i,[2,35]),{16:41,40:O,41:T},{16:44,40:O,41:T},{16:45,40:O,41:T},s(i,[2,4]),{11:46,40:N,50:L},{16:47,40:O,41:T},{18:48,19:[1,49],51:50,52:51,56:M},{11:53,40:N,50:L},{62:54,68:[1,55],69:[1,56]},s(B,[2,69]),s(B,[2,70]),s(B,[2,71]),s(B,[2,72]),s(B,[2,73]),s(i,[2,24]),s(i,[2,25]),s(i,[2,26]),{13:F,38:57,41:Y,42:S,45:59,46:60,48:P,49:z},s(U,[2,37]),s(U,[2,38]),{16:65,40:O,41:T,42:S},{13:F,38:66,41:Y,42:S,45:59,46:60,48:P,49:z},{13:[1,67],15:[1,68]},s(i,[2,17],{61:32,12:69,17:[1,70],42:S,63:tt,64:et,65:st,66:it,67:nt}),{19:[1,71]},s(i,[2,14]),{18:72,19:[2,56],51:50,52:51,56:M},{53:73,56:[1,74]},{56:[2,62]},{21:[1,75]},{61:76,63:tt,64:et,65:st,66:it,67:nt},s(yt,[2,74]),s(yt,[2,75]),{6:ut,10:dt,39:77,42:pt,47:_t},{40:[1,82],41:[1,83]},s(gt,[2,43],{46:84,13:F,41:Y,48:P,49:z}),s(I,[2,45]),s(I,[2,50]),s(I,[2,51]),s(I,[2,52]),s(I,[2,53]),s(i,[2,41],{42:S}),{6:ut,10:dt,39:85,42:pt,47:_t},{14:86,40:j,50:W,70:Q},{16:90,40:O,41:T},{11:91,40:N,50:L},{18:92,19:[1,93],51:50,52:51,56:M},s(i,[2,12]),{19:[2,57]},s(G,[2,58],{54:94,55:95,57:96,59:mt,60:ft}),s([19,56,59,60],[2,63]),s(i,[2,22],{15:[1,100],17:[1,99]}),s([40,50],[2,68]),s(i,[2,36]),{13:F,41:Y,45:101,46:60,48:P,49:z},s(i,[2,47]),s(i,[2,48]),s(i,[2,49]),s(U,[2,39]),s(U,[2,40]),s(I,[2,46]),s(i,[2,42]),s(i,[2,8]),s(i,[2,76]),s(i,[2,77]),s(i,[2,78]),{13:[1,102],42:S},{13:[1,104],15:[1,103]},{19:[1,105]},s(i,[2,15]),s(G,[2,59],{55:106,58:[1,107],60:ft}),s(G,[2,60]),s(at,[2,64]),s(G,[2,67]),s(at,[2,66]),{18:108,19:[1,109],51:50,52:51,56:M},{16:110,40:O,41:T},s(gt,[2,44],{46:84,13:F,41:Y,48:P,49:z}),{14:111,40:j,50:W,70:Q},{16:112,40:O,41:T},{14:113,40:j,50:W,70:Q},s(i,[2,13]),s(G,[2,61]),{57:114,59:mt},{19:[1,115]},s(i,[2,20]),s(i,[2,23],{17:[1,116],42:S}),s(i,[2,11]),{13:[1,117],42:S},s(i,[2,10]),s(at,[2,65]),s(i,[2,18]),{18:118,19:[1,119],51:50,52:51,56:M},{14:120,40:j,50:W,70:Q},{19:[1,121]},s(i,[2,21]),s(i,[2,9]),s(i,[2,19])],defaultActions:{52:[2,62],72:[2,57]},parseError:h(function(a,u){if(!u.recoverable){var o=new Error(a);throw o.hash=u,o}this.trace(a)},"parseError"),parse:h(function(a){var u=this,o=[0],n=[],d=[null],t=[],K=this.table,e="",q=0,bt=0,Rt=t.slice.call(arguments,1),p=Object.create(this.lexer),R={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(R.yy[ct]=this.yy[ct]);p.setInput(a,R.yy),R.yy.lexer=p,R.yy.parser=this,p.yylloc===void 0&&(p.yylloc={});var ot=p.yylloc;t.push(ot);var At=p.options&&p.options.ranges;function Et(){var b;return typeof(b=n.pop()||p.lex()||1)!="number"&&(b instanceof Array&&(b=(n=b).pop()),b=u.symbols_[b]||b),b}typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,h(function(b){o.length=o.length-2*b,d.length=d.length-b,t.length=t.length-b},"popStack"),h(Et,"lex");for(var m,A,f,kt,H,k,Ot,J,C={};;){if(A=o[o.length-1],this.defaultActions[A]?f=this.defaultActions[A]:(m==null&&(m=Et()),f=K[A]&&K[A][m]),f===void 0||!f.length||!f[0]){var Tt="";for(H in J=[],K[A])this.terminals_[H]&&H>2&&J.push("'"+this.terminals_[H]+"'");Tt=p.showPosition?"Parse error on line "+(q+1)+`:
2
2
  `+p.showPosition()+`
3
3
  Expecting `+J.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(q+1)+": Unexpected "+(m==1?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(Tt,{text:p.match,token:this.terminals_[m]||m,line:p.yylineno,loc:ot,expected:J})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+m);switch(f[0]){case 1:o.push(m),d.push(p.yytext),t.push(p.yylloc),o.push(f[1]),m=null,bt=p.yyleng,e=p.yytext,q=p.yylineno,ot=p.yylloc;break;case 2:if(k=this.productions_[f[1]][1],C.$=d[d.length-k],C._$={first_line:t[t.length-(k||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(k||1)].first_column,last_column:t[t.length-1].last_column},At&&(C._$.range=[t[t.length-(k||1)].range[0],t[t.length-1].range[1]]),(kt=this.performAction.apply(C,[e,bt,q,R.yy,f[1],d,t].concat(Rt)))!==void 0)return kt;k&&(o=o.slice(0,-1*k*2),d=d.slice(0,-1*k),t=t.slice(0,-1*k)),o.push(this.productions_[f[1]][0]),d.push(C.$),t.push(C._$),Ot=K[o[o.length-2]][o[o.length-1]],o.push(Ot);break;case 3:return!0}}return!0},"parse")},Nt=function(){return{EOF:1,parseError:h(function(a,u){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,u)},"parseError"),setInput:h(function(a,u){return this.yy=u||this.yy||{},this._input=a,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 a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:h(function(a){var u=a.length,o=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var n=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 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:o?(o.length===n.length?this.yylloc.first_column:0)+n[n.length-o.length].length-o[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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})},"reject"),less:h(function(a){this.unput(this.match.slice(a))},"less"),pastInput:h(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:h(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:h(function(){var a=this.pastInput(),u=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
@@ -0,0 +1,161 @@
1
+ var P1;import{_ as f,n as Pt,l as J,c as R1,o as Wt,r as jt,u as Z1,b as zt,s as Kt,p as Yt,a as Ht,g as qt,q as Xt,j as Qt,t as Jt,J as Zt,v as te,x as tt,y as ee,z as se,A as ie}from"./mermaid-CVRC4Ruz.js";import{g as ne,s as ae}from"./chunk-RZ5BOZE2-DVex9AD8.js";import{s as k1}from"./transform-DetRMEbJ.js";import{c as ue}from"./channel-C96bdTqW.js";import"./index-DDVWq6NK.js";import"./step-BwsUM5iJ.js";import"./timer-Bqd5yn_a.js";var re=(P1=class{constructor(){this.vertexCounter=0,this.config=R1(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=zt,this.setAccDescription=Kt,this.setDiagramTitle=Yt,this.getAccTitle=Ht,this.getAccDescription=qt,this.getDiagramTitle=Xt,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return Qt.sanitizeText(i,this.config)}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return a.domId;return i}addVertex(i,a,n,r,u,p,d={},c){var j,y;if(!i||i.trim().length===0)return;let o;if(c!==void 0){let g;g=c.includes(`
2
+ `)?c+`
3
+ `:`{
4
+ `+c+`
5
+ }`,o=Jt(g,{schema:Zt})}const D=this.edges.find(g=>g.id===i);if(D){const g=o;return(g==null?void 0:g.animate)!==void 0&&(D.animate=g.animate),void((g==null?void 0:g.animation)!==void 0&&(D.animation=g.animation))}let _,A=this.vertices.get(i);if(A===void 0&&(A={id:i,labelType:"text",domId:"flowchart-"+i+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(i,A)),this.vertexCounter++,a!==void 0?(this.config=R1(),_=this.sanitizeText(a.text.trim()),A.labelType=a.type,_.startsWith('"')&&_.endsWith('"')&&(_=_.substring(1,_.length-1)),A.text=_):A.text===void 0&&(A.text=i),n!==void 0&&(A.type=n),r!=null&&r.forEach(g=>{A.styles.push(g)}),u!=null&&u.forEach(g=>{A.classes.push(g)}),p!==void 0&&(A.dir=p),A.props===void 0?A.props=d:d!==void 0&&Object.assign(A.props,d),o!==void 0){if(o.shape){if(o.shape!==o.shape.toLowerCase()||o.shape.includes("_"))throw new Error(`No such shape: ${o.shape}. Shape names should be lowercase.`);if(!te(o.shape))throw new Error(`No such shape: ${o.shape}.`);A.type=o==null?void 0:o.shape}o!=null&&o.label&&(A.text=o==null?void 0:o.label),o!=null&&o.icon&&(A.icon=o==null?void 0:o.icon,(j=o.label)!=null&&j.trim()||A.text!==i||(A.text="")),o!=null&&o.form&&(A.form=o==null?void 0:o.form),o!=null&&o.pos&&(A.pos=o==null?void 0:o.pos),o!=null&&o.img&&(A.img=o==null?void 0:o.img,(y=o.label)!=null&&y.trim()||A.text!==i||(A.text="")),o!=null&&o.constraint&&(A.constraint=o.constraint),o.w&&(A.assetWidth=Number(o.w)),o.h&&(A.assetHeight=Number(o.h))}}addSingleLink(i,a,n,r){const u={start:i,end:a,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};J.info("abc78 Got edge...",u);const p=n.text;if(p!==void 0&&(u.text=this.sanitizeText(p.text.trim()),u.text.startsWith('"')&&u.text.endsWith('"')&&(u.text=u.text.substring(1,u.text.length-1)),u.labelType=p.type),n!==void 0&&(u.type=n.type,u.stroke=n.stroke,u.length=n.length>10?10:n.length),r&&!this.edges.some(d=>d.id===r))u.id=r,u.isUserDefinedId=!0;else{const d=this.edges.filter(c=>c.start===u.start&&c.end===u.end);d.length===0?u.id=tt(u.start,u.end,{counter:0,prefix:"L"}):u.id=tt(u.start,u.end,{counter:d.length+1,prefix:"L"})}if(!(this.edges.length<(this.config.maxEdges??500)))throw new Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
6
+
7
+ Initialize mermaid with maxEdges set to a higher number to allow more edges.
8
+ You cannot set this config via configuration inside the diagram as it is a secure config.
9
+ You have to call mermaid.initialize.`);J.info("Pushing edge..."),this.edges.push(u)}isLinkData(i){return i!==null&&typeof i=="object"&&"id"in i&&typeof i.id=="string"}addLink(i,a,n){const r=this.isLinkData(n)?n.id.replace("@",""):void 0;J.info("addLink",i,a,r);for(const u of i)for(const p of a){const d=u===i[i.length-1],c=p===a[0];d&&c?this.addSingleLink(u,p,n,r):this.addSingleLink(u,p,n,void 0)}}updateLinkInterpolate(i,a){i.forEach(n=>{n==="default"?this.edges.defaultInterpolate=a:this.edges[n].interpolate=a})}updateLink(i,a){i.forEach(n=>{var r,u,p,d,c,o;if(typeof n=="number"&&n>=this.edges.length)throw new Error(`The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);n==="default"?this.edges.defaultStyle=a:(this.edges[n].style=a,(((u=(r=this.edges[n])==null?void 0:r.style)==null?void 0:u.length)??0)>0&&!((d=(p=this.edges[n])==null?void 0:p.style)!=null&&d.some(D=>D==null?void 0:D.startsWith("fill")))&&((o=(c=this.edges[n])==null?void 0:c.style)==null||o.push("fill:none")))})}addClass(i,a){const n=a.join().replace(/\\,/g,"\xA7\xA7\xA7").replace(/,/g,";").replace(/§§§/g,",").split(";");i.split(",").forEach(r=>{let u=this.classes.get(r);u===void 0&&(u={id:r,styles:[],textStyles:[]},this.classes.set(r,u)),n!=null&&n.forEach(p=>{if(/color/.exec(p)){const d=p.replace("fill","bgFill");u.textStyles.push(d)}u.styles.push(p)})})}setDirection(i){this.direction=i,/.*</.exec(this.direction)&&(this.direction="RL"),/.*\^/.exec(this.direction)&&(this.direction="BT"),/.*>/.exec(this.direction)&&(this.direction="LR"),/.*v/.exec(this.direction)&&(this.direction="TB"),this.direction==="TD"&&(this.direction="TB")}setClass(i,a){for(const n of i.split(",")){const r=this.vertices.get(n);r&&r.classes.push(a);const u=this.edges.find(d=>d.id===n);u&&u.classes.push(a);const p=this.subGraphLookup.get(n);p&&p.classes.push(a)}}setTooltip(i,a){if(a!==void 0){a=this.sanitizeText(a);for(const n of i.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,a)}}setClickFun(i,a,n){const r=this.lookUpDomId(i);if(R1().securityLevel!=="loose"||a===void 0)return;let u=[];if(typeof n=="string"){u=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let d=0;d<u.length;d++){let c=u[d].trim();c.startsWith('"')&&c.endsWith('"')&&(c=c.substr(1,c.length-2)),u[d]=c}}u.length===0&&u.push(i);const p=this.vertices.get(i);p&&(p.haveCallback=!0,this.funs.push(()=>{const d=document.querySelector(`[id="${r}"]`);d!==null&&d.addEventListener("click",()=>{Z1.runFunc(a,...u)},!1)}))}setLink(i,a,n){i.split(",").forEach(r=>{const u=this.vertices.get(r);u!==void 0&&(u.link=Z1.formatUrl(a,this.config),u.linkTarget=n)}),this.setClass(i,"clickable")}getTooltip(i){return this.tooltips.get(i)}setClickEvent(i,a,n){i.split(",").forEach(r=>{this.setClickFun(r,a,n)}),this.setClass(i,"clickable")}bindFunctions(i){this.funs.forEach(a=>{a(i)})}getDirection(){var i;return(i=this.direction)==null?void 0:i.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(i){let a=k1(".mermaidTooltip");(a._groups||a)[0][0]===null&&(a=k1("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),k1(i).select("svg").selectAll("g.node").on("mouseover",n=>{var p;const r=k1(n.currentTarget);if(r.attr("title")===null)return;const u=(p=n.currentTarget)==null?void 0:p.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(r.attr("title")).style("left",window.scrollX+u.left+(u.right-u.left)/2+"px").style("top",window.scrollY+u.bottom+"px"),a.html(a.html().replace(/&lt;br\/&gt;/g,"<br/>")),r.classed("hover",!0)}).on("mouseout",n=>{a.transition().duration(500).style("opacity",0),k1(n.currentTarget).classed("hover",!1)})}clear(i="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=i,this.config=R1(),ee()}setGen(i){this.version=i||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(i,a,n){let r=i.text.trim(),u=n.text;i===n&&/\s/.exec(n.text)&&(r=void 0);const p=f(D=>{const _={boolean:{},number:{},string:{}},A=[];let j;return{nodeList:D.filter(function(y){const g=typeof y;return y.stmt&&y.stmt==="dir"?(j=y.value,!1):y.trim()!==""&&(g in _?!_[g].hasOwnProperty(y)&&(_[g][y]=!0):!A.includes(y)&&A.push(y))}),dir:j}},"uniq"),{nodeList:d,dir:c}=p(a.flat());if(this.version==="gen-1")for(let D=0;D<d.length;D++)d[D]=this.lookUpDomId(d[D]);r=r??"subGraph"+this.subCount,u=u||"",u=this.sanitizeText(u),this.subCount=this.subCount+1;const o={id:r,nodes:d,title:u.trim(),classes:[],dir:c,labelType:n.type};return J.info("Adding",o.id,o.nodes,o.dir),o.nodes=this.makeUniq(o,this.subGraphs).nodes,this.subGraphs.push(o),this.subGraphLookup.set(r,o),r}getPosForId(i){for(const[a,n]of this.subGraphs.entries())if(n.id===i)return a;return-1}indexNodes2(i,a){const n=this.subGraphs[a].nodes;if(this.secCount=this.secCount+1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=a,this.subGraphs[a].id===i)return{result:!0,count:0};let r=0,u=1;for(;r<n.length;){const p=this.getPosForId(n[r]);if(p>=0){const d=this.indexNodes2(i,p);if(d.result)return{result:!0,count:u+d.count};u+=d.count}r+=1}return{result:!1,count:u}}getDepthFirstPos(i){return this.posCrossRef[i]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return!!this.firstGraphFlag&&(this.firstGraphFlag=!1,!0)}destructStartLink(i){let a=i.trim(),n="arrow_open";switch(a[0]){case"<":n="arrow_point",a=a.slice(1);break;case"x":n="arrow_cross",a=a.slice(1);break;case"o":n="arrow_circle",a=a.slice(1)}let r="normal";return a.includes("=")&&(r="thick"),a.includes(".")&&(r="dotted"),{type:n,stroke:r}}countChar(i,a){const n=a.length;let r=0;for(let u=0;u<n;++u)a[u]===i&&++r;return r}destructEndLink(i){const a=i.trim();let n=a.slice(0,-1),r="arrow_open";switch(a.slice(-1)){case"x":r="arrow_cross",a.startsWith("x")&&(r="double_"+r,n=n.slice(1));break;case">":r="arrow_point",a.startsWith("<")&&(r="double_"+r,n=n.slice(1));break;case"o":r="arrow_circle",a.startsWith("o")&&(r="double_"+r,n=n.slice(1))}let u="normal",p=n.length-1;n.startsWith("=")&&(u="thick"),n.startsWith("~")&&(u="invisible");const d=this.countChar(".",n);return d&&(u="dotted",p=d),{type:r,stroke:u,length:p}}destructLink(i,a){const n=this.destructEndLink(i);let r;if(a){if(r=this.destructStartLink(a),r.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if(r.type==="arrow_open")r.type=n.type;else{if(r.type!==n.type)return{type:"INVALID",stroke:"INVALID"};r.type="double_"+r.type}return r.type==="double_arrow"&&(r.type="double_arrow_point"),r.length=n.length,r}return n}exists(i,a){for(const n of i)if(n.nodes.includes(a))return!0;return!1}makeUniq(i,a){const n=[];return i.nodes.forEach((r,u)=>{this.exists(a,r)||n.push(i.nodes[u])}),{nodes:n}}getTypeFromVertex(i){if(i.img)return"imageSquare";if(i.icon)return i.form==="circle"?"iconCircle":i.form==="square"?"iconSquare":i.form==="rounded"?"iconRounded":"icon";switch(i.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return i.type}}findNode(i,a){return i.find(n=>n.id===a)}destructEdgeType(i){let a="none",n="arrow_point";switch(i){case"arrow_point":case"arrow_circle":case"arrow_cross":n=i;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":a=i.replace("double_",""),n=a}return{arrowTypeStart:a,arrowTypeEnd:n}}addNodeFromVertex(i,a,n,r,u,p){var D;const d=n.get(i.id),c=r.get(i.id)??!1,o=this.findNode(a,i.id);if(o)o.cssStyles=i.styles,o.cssCompiledStyles=this.getCompiledStyles(i.classes),o.cssClasses=i.classes.join(" ");else{const _={id:i.id,label:i.text,labelStyle:"",parentId:d,padding:((D=u.flowchart)==null?void 0:D.padding)||8,cssStyles:i.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...i.classes]),cssClasses:"default "+i.classes.join(" "),dir:i.dir,domId:i.domId,look:p,link:i.link,linkTarget:i.linkTarget,tooltip:this.getTooltip(i.id),icon:i.icon,pos:i.pos,img:i.img,assetWidth:i.assetWidth,assetHeight:i.assetHeight,constraint:i.constraint};c?a.push({..._,isGroup:!0,shape:"rect"}):a.push({..._,isGroup:!1,shape:this.getTypeFromVertex(i)})}}getCompiledStyles(i){let a=[];for(const n of i){const r=this.classes.get(n);r!=null&&r.styles&&(a=[...a,...r.styles??[]].map(u=>u.trim())),r!=null&&r.textStyles&&(a=[...a,...r.textStyles??[]].map(u=>u.trim()))}return a}getData(){const i=R1(),a=[],n=[],r=this.getSubGraphs(),u=new Map,p=new Map;for(let c=r.length-1;c>=0;c--){const o=r[c];o.nodes.length>0&&p.set(o.id,!0);for(const D of o.nodes)u.set(D,o.id)}for(let c=r.length-1;c>=0;c--){const o=r[c];a.push({id:o.id,label:o.title,labelStyle:"",parentId:u.get(o.id),padding:8,cssCompiledStyles:this.getCompiledStyles(o.classes),cssClasses:o.classes.join(" "),shape:"rect",dir:o.dir,isGroup:!0,look:i.look})}this.getVertices().forEach(c=>{this.addNodeFromVertex(c,a,u,p,i,i.look||"classic")});const d=this.getEdges();return d.forEach((c,o)=>{var y;const{arrowTypeStart:D,arrowTypeEnd:_}=this.destructEdgeType(c.type),A=[...d.defaultStyle??[]];c.style&&A.push(...c.style);const j={id:tt(c.start,c.end,{counter:o,prefix:"L"},c.id),isUserDefinedId:c.isUserDefinedId,start:c.start,end:c.end,type:c.type??"normal",label:c.text,labelpos:"c",thickness:c.stroke,minlen:c.length,classes:(c==null?void 0:c.stroke)==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:(c==null?void 0:c.stroke)==="invisible"||(c==null?void 0:c.type)==="arrow_open"?"none":D,arrowTypeEnd:(c==null?void 0:c.stroke)==="invisible"||(c==null?void 0:c.type)==="arrow_open"?"none":_,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(c.classes),labelStyle:A,style:A,pattern:c.stroke,look:i.look,animate:c.animate,animation:c.animation,curve:c.interpolate||this.edges.defaultInterpolate||((y=i.flowchart)==null?void 0:y.curve)};n.push(j)}),{nodes:a,edges:n,other:{},config:i}}defaultConfig(){return se.flowchart}},f(P1,"FlowDB"),P1),oe={getClasses:f(function(e,i){return i.db.getClasses()},"getClasses"),draw:f(async function(e,i,a,n){var j;J.info("REF0:"),J.info("Drawing state diagram (v2)",i);const{securityLevel:r,flowchart:u,layout:p}=R1();let d;r==="sandbox"&&(d=k1("#i"+i));const c=r==="sandbox"?d.nodes()[0].contentDocument:document;J.debug("Before getData: ");const o=n.db.getData();J.debug("Data: ",o);const D=ne(i,r),_=n.db.getDirection();o.type=n.type,o.layoutAlgorithm=Wt(p),o.layoutAlgorithm==="dagre"&&p==="elk"&&J.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),o.direction=_,o.nodeSpacing=(u==null?void 0:u.nodeSpacing)||50,o.rankSpacing=(u==null?void 0:u.rankSpacing)||50,o.markers=["point","circle","cross"],o.diagramId=i,J.debug("REF1:",o),await jt(o,D);const A=((j=o.config.flowchart)==null?void 0:j.diagramPadding)??8;Z1.insertTitle(D,"flowchartTitleText",(u==null?void 0:u.titleTopMargin)||0,n.db.getDiagramTitle()),ae(D,A,"flowchart",(u==null?void 0:u.useMaxWidth)||!1);for(const y of o.nodes){const g=k1(`#${i} [id="${y.id}"]`);if(!g||!y.link)continue;const X=c.createElementNS("http://www.w3.org/2000/svg","a");X.setAttributeNS("http://www.w3.org/2000/svg","class",y.cssClasses),X.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),r==="sandbox"?X.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):y.linkTarget&&X.setAttributeNS("http://www.w3.org/2000/svg","target",y.linkTarget);const p1=g.insert(function(){return X},":first-child"),g1=g.select(".label-container");g1&&p1.append(function(){return g1.node()});const A1=g.select(".label");A1&&p1.append(function(){return A1.node()})}},"draw")},et=function(){var e=f(function(h,x,b,l){for(b=b||{},l=h.length;l--;b[h[l]]=x);return b},"o"),i=[1,4],a=[1,3],n=[1,5],r=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],u=[2,2],p=[1,13],d=[1,14],c=[1,15],o=[1,16],D=[1,23],_=[1,25],A=[1,26],j=[1,27],y=[1,49],g=[1,48],X=[1,29],p1=[1,30],g1=[1,31],A1=[1,32],O1=[1,33],w=[1,44],L=[1,46],$=[1,42],I=[1,47],N=[1,43],R=[1,50],P=[1,45],G=[1,51],O=[1,52],M1=[1,34],U1=[1,35],V1=[1,36],W1=[1,37],h1=[1,57],T=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],Z=[1,61],t1=[1,60],e1=[1,62],E1=[8,9,11,75,77,78],st=[1,78],m1=[1,91],C1=[1,96],x1=[1,95],D1=[1,92],T1=[1,88],S1=[1,94],F1=[1,90],_1=[1,97],B1=[1,93],v1=[1,98],w1=[1,89],b1=[8,9,10,11,40,75,77,78],U=[8,9,10,11,40,46,75,77,78],z=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],it=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],L1=[44,60,89,102,105,106,109,111,114,115,116],nt=[1,121],at=[1,122],j1=[1,124],z1=[1,123],ut=[44,60,62,74,89,102,105,106,109,111,114,115,116],rt=[1,133],ot=[1,147],lt=[1,148],ct=[1,149],ht=[1,150],dt=[1,135],pt=[1,137],gt=[1,141],At=[1,142],bt=[1,143],yt=[1,144],ft=[1,145],kt=[1,146],Et=[1,151],mt=[1,152],Ct=[1,131],xt=[1,132],Dt=[1,139],Tt=[1,134],St=[1,138],Ft=[1,136],q1=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],_t=[1,154],Bt=[1,156],B=[8,9,11],K=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],k=[1,176],V=[1,172],W=[1,173],E=[1,177],m=[1,174],C=[1,175],$1=[77,116,119],S=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],vt=[10,106],d1=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],s1=[1,247],i1=[1,245],n1=[1,249],a1=[1,243],u1=[1,244],r1=[1,246],o1=[1,248],l1=[1,250],I1=[1,268],wt=[8,9,11,106],Q=[8,9,10,11,60,84,105,106,109,110,111,112],X1={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1]],performAction:f(function(h,x,b,l,F,t,G1){var s=t.length-1;switch(F){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 4:case 183:case 44:case 54:case 76:case 181:this.$=t[s];break;case 11:l.setDirection("TB"),this.$="TB";break;case 12:l.setDirection(t[s-1]),this.$=t[s-1];break;case 27:this.$=t[s-1].nodes;break;case 33:this.$=l.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 34:this.$=l.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 35:this.$=l.addSubGraph(void 0,t[s-1],void 0);break;case 37:this.$=t[s].trim(),l.setAccTitle(this.$);break;case 38:case 39:this.$=t[s].trim(),l.setAccDescription(this.$);break;case 43:case 133:this.$=t[s-1]+t[s];break;case 45:l.addVertex(t[s-1][t[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[s]),l.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 46:l.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 47:l.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 48:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 49:l.addVertex(t[s-1][t[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[s]),this.$={stmt:t[s-1],nodes:t[s-1],shapeData:t[s]};break;case 50:this.$={stmt:t[s],nodes:t[s]};break;case 51:case 128:case 130:this.$=[t[s]];break;case 52:l.addVertex(t[s-5][t[s-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[s-4]),this.$=t[s-5].concat(t[s]);break;case 53:this.$=t[s-4].concat(t[s]);break;case 55:this.$=t[s-2],l.setClass(t[s-2],t[s]);break;case 56:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"square");break;case 57:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"doublecircle");break;case 58:this.$=t[s-5],l.addVertex(t[s-5],t[s-2],"circle");break;case 59:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"ellipse");break;case 60:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"stadium");break;case 61:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"subroutine");break;case 62:this.$=t[s-7],l.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 63:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"cylinder");break;case 64:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"round");break;case 65:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"diamond");break;case 66:this.$=t[s-5],l.addVertex(t[s-5],t[s-2],"hexagon");break;case 67:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"odd");break;case 68:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"trapezoid");break;case 69:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 70:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"lean_right");break;case 71:this.$=t[s-3],l.addVertex(t[s-3],t[s-1],"lean_left");break;case 72:this.$=t[s],l.addVertex(t[s]);break;case 73:t[s-1].text=t[s],this.$=t[s-1];break;case 74:case 75:t[s-2].text=t[s-1],this.$=t[s-2];break;case 77:var v=l.destructLink(t[s],t[s-2]);this.$={type:v.type,stroke:v.stroke,length:v.length,text:t[s-1]};break;case 78:v=l.destructLink(t[s],t[s-2]),this.$={type:v.type,stroke:v.stroke,length:v.length,text:t[s-1],id:t[s-3]};break;case 79:case 86:case 101:case 103:this.$={text:t[s],type:"text"};break;case 80:case 87:case 102:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 81:case 88:this.$={text:t[s],type:"string"};break;case 82:case 89:case 104:this.$={text:t[s],type:"markdown"};break;case 83:v=l.destructLink(t[s]),this.$={type:v.type,stroke:v.stroke,length:v.length};break;case 84:v=l.destructLink(t[s]),this.$={type:v.type,stroke:v.stroke,length:v.length,id:t[s-1]};break;case 85:this.$=t[s-1];break;case 105:this.$=t[s-4],l.addClass(t[s-2],t[s]);break;case 106:this.$=t[s-4],l.setClass(t[s-2],t[s]);break;case 107:case 115:this.$=t[s-1],l.setClickEvent(t[s-1],t[s]);break;case 108:case 116:this.$=t[s-3],l.setClickEvent(t[s-3],t[s-2]),l.setTooltip(t[s-3],t[s]);break;case 109:this.$=t[s-2],l.setClickEvent(t[s-2],t[s-1],t[s]);break;case 110:this.$=t[s-4],l.setClickEvent(t[s-4],t[s-3],t[s-2]),l.setTooltip(t[s-4],t[s]);break;case 111:this.$=t[s-2],l.setLink(t[s-2],t[s]);break;case 112:this.$=t[s-4],l.setLink(t[s-4],t[s-2]),l.setTooltip(t[s-4],t[s]);break;case 113:this.$=t[s-4],l.setLink(t[s-4],t[s-2],t[s]);break;case 114:this.$=t[s-6],l.setLink(t[s-6],t[s-4],t[s]),l.setTooltip(t[s-6],t[s-2]);break;case 117:this.$=t[s-1],l.setLink(t[s-1],t[s]);break;case 118:this.$=t[s-3],l.setLink(t[s-3],t[s-2]),l.setTooltip(t[s-3],t[s]);break;case 119:this.$=t[s-3],l.setLink(t[s-3],t[s-2],t[s]);break;case 120:this.$=t[s-5],l.setLink(t[s-5],t[s-4],t[s]),l.setTooltip(t[s-5],t[s-2]);break;case 121:this.$=t[s-4],l.addVertex(t[s-2],void 0,void 0,t[s]);break;case 122:this.$=t[s-4],l.updateLink([t[s-2]],t[s]);break;case 123:this.$=t[s-4],l.updateLink(t[s-2],t[s]);break;case 124:this.$=t[s-8],l.updateLinkInterpolate([t[s-6]],t[s-2]),l.updateLink([t[s-6]],t[s]);break;case 125:this.$=t[s-8],l.updateLinkInterpolate(t[s-6],t[s-2]),l.updateLink(t[s-6],t[s]);break;case 126:this.$=t[s-6],l.updateLinkInterpolate([t[s-4]],t[s]);break;case 127:this.$=t[s-6],l.updateLinkInterpolate(t[s-4],t[s]);break;case 129:case 131:t[s-2].push(t[s]),this.$=t[s-2];break;case 182:case 184:this.$=t[s-1]+""+t[s];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"}}},"anonymous"),table:[{3:1,4:2,9:i,10:a,12:n},{1:[3]},e(r,u,{5:6}),{4:7,9:i,10:a,12:n},{4:8,9:i,10:a,12:n},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:p,9:d,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:D,33:24,34:_,36:A,38:j,42:28,43:38,44:y,45:39,47:40,60:g,84:X,85:p1,86:g1,87:A1,88:O1,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O,121:M1,122:U1,123:V1,124:W1},e(r,[2,9]),e(r,[2,10]),e(r,[2,11]),{8:[1,54],9:[1,55],10:h1,15:53,18:56},e(T,[2,3]),e(T,[2,4]),e(T,[2,5]),e(T,[2,6]),e(T,[2,7]),e(T,[2,8]),{8:Z,9:t1,11:e1,21:58,41:59,72:63,75:[1,64],77:[1,66],78:[1,65]},{8:Z,9:t1,11:e1,21:67},{8:Z,9:t1,11:e1,21:68},{8:Z,9:t1,11:e1,21:69},{8:Z,9:t1,11:e1,21:70},{8:Z,9:t1,11:e1,21:71},{8:Z,9:t1,10:[1,72],11:e1,21:73},e(T,[2,36]),{35:[1,74]},{37:[1,75]},e(T,[2,39]),e(E1,[2,50],{18:76,39:77,10:h1,40:st}),{10:[1,79]},{10:[1,80]},{10:[1,81]},{10:[1,82]},{14:m1,44:C1,60:x1,80:[1,86],89:D1,95:[1,83],97:[1,84],101:85,105:T1,106:S1,109:F1,111:_1,114:B1,115:v1,116:w1,120:87},e(T,[2,185]),e(T,[2,186]),e(T,[2,187]),e(T,[2,188]),e(b1,[2,51]),e(b1,[2,54],{46:[1,99]}),e(U,[2,72],{113:112,29:[1,100],44:y,48:[1,101],50:[1,102],52:[1,103],54:[1,104],56:[1,105],58:[1,106],60:g,63:[1,107],65:[1,108],67:[1,109],68:[1,110],70:[1,111],89:w,102:L,105:$,106:I,109:N,111:R,114:P,115:G,116:O}),e(z,[2,181]),e(z,[2,142]),e(z,[2,143]),e(z,[2,144]),e(z,[2,145]),e(z,[2,146]),e(z,[2,147]),e(z,[2,148]),e(z,[2,149]),e(z,[2,150]),e(z,[2,151]),e(z,[2,152]),e(r,[2,12]),e(r,[2,18]),e(r,[2,19]),{9:[1,113]},e(it,[2,26],{18:114,10:h1}),e(T,[2,27]),{42:115,43:38,44:y,45:39,47:40,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O},e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(L1,[2,76],{73:116,62:[1,118],74:[1,117]}),{76:119,79:120,80:nt,81:at,116:j1,119:z1},{75:[1,125],77:[1,126]},e(ut,[2,83]),e(T,[2,28]),e(T,[2,29]),e(T,[2,30]),e(T,[2,31]),e(T,[2,32]),{10:rt,12:ot,14:lt,27:ct,28:127,32:ht,44:dt,60:pt,75:gt,80:[1,129],81:[1,130],83:140,84:At,85:bt,86:yt,87:ft,88:kt,89:Et,90:mt,91:128,105:Ct,109:xt,111:Dt,114:Tt,115:St,116:Ft},e(q1,u,{5:153}),e(T,[2,37]),e(T,[2,38]),e(E1,[2,48],{44:_t}),e(E1,[2,49],{18:155,10:h1,40:Bt}),e(b1,[2,44]),{44:y,47:157,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O},{102:[1,158],103:159,105:[1,160]},{44:y,47:161,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O},{44:y,47:162,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O},e(B,[2,107],{10:[1,163],96:[1,164]}),{80:[1,165]},e(B,[2,115],{120:167,10:[1,166],14:m1,44:C1,60:x1,89:D1,105:T1,106:S1,109:F1,111:_1,114:B1,115:v1,116:w1}),e(B,[2,117],{10:[1,168]}),e(K,[2,183]),e(K,[2,170]),e(K,[2,171]),e(K,[2,172]),e(K,[2,173]),e(K,[2,174]),e(K,[2,175]),e(K,[2,176]),e(K,[2,177]),e(K,[2,178]),e(K,[2,179]),e(K,[2,180]),{44:y,47:169,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O},{30:170,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{30:178,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{30:180,50:[1,179],67:k,80:V,81:W,82:171,116:E,117:m,118:C},{30:181,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{30:182,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{30:183,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{109:[1,184]},{30:185,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{30:186,65:[1,187],67:k,80:V,81:W,82:171,116:E,117:m,118:C},{30:188,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{30:189,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{30:190,67:k,80:V,81:W,82:171,116:E,117:m,118:C},e(z,[2,182]),e(r,[2,20]),e(it,[2,25]),e(E1,[2,46],{39:191,18:192,10:h1,40:st}),e(L1,[2,73],{10:[1,193]}),{10:[1,194]},{30:195,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{77:[1,196],79:197,116:j1,119:z1},e($1,[2,79]),e($1,[2,81]),e($1,[2,82]),e($1,[2,168]),e($1,[2,169]),{76:198,79:120,80:nt,81:at,116:j1,119:z1},e(ut,[2,84]),{8:Z,9:t1,10:rt,11:e1,12:ot,14:lt,21:200,27:ct,29:[1,199],32:ht,44:dt,60:pt,75:gt,83:140,84:At,85:bt,86:yt,87:ft,88:kt,89:Et,90:mt,91:201,105:Ct,109:xt,111:Dt,114:Tt,115:St,116:Ft},e(S,[2,101]),e(S,[2,103]),e(S,[2,104]),e(S,[2,157]),e(S,[2,158]),e(S,[2,159]),e(S,[2,160]),e(S,[2,161]),e(S,[2,162]),e(S,[2,163]),e(S,[2,164]),e(S,[2,165]),e(S,[2,166]),e(S,[2,167]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),e(S,[2,97]),e(S,[2,98]),e(S,[2,99]),e(S,[2,100]),{6:11,7:12,8:p,9:d,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:D,32:[1,202],33:24,34:_,36:A,38:j,42:28,43:38,44:y,45:39,47:40,60:g,84:X,85:p1,86:g1,87:A1,88:O1,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O,121:M1,122:U1,123:V1,124:W1},{10:h1,18:203},{44:[1,204]},e(b1,[2,43]),{10:[1,205],44:y,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:112,114:P,115:G,116:O},{10:[1,206]},{10:[1,207],106:[1,208]},e(vt,[2,128]),{10:[1,209],44:y,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:112,114:P,115:G,116:O},{10:[1,210],44:y,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:112,114:P,115:G,116:O},{80:[1,211]},e(B,[2,109],{10:[1,212]}),e(B,[2,111],{10:[1,213]}),{80:[1,214]},e(K,[2,184]),{80:[1,215],98:[1,216]},e(b1,[2,55],{113:112,44:y,60:g,89:w,102:L,105:$,106:I,109:N,111:R,114:P,115:G,116:O}),{31:[1,217],67:k,82:218,116:E,117:m,118:C},e(d1,[2,86]),e(d1,[2,88]),e(d1,[2,89]),e(d1,[2,153]),e(d1,[2,154]),e(d1,[2,155]),e(d1,[2,156]),{49:[1,219],67:k,82:218,116:E,117:m,118:C},{30:220,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{51:[1,221],67:k,82:218,116:E,117:m,118:C},{53:[1,222],67:k,82:218,116:E,117:m,118:C},{55:[1,223],67:k,82:218,116:E,117:m,118:C},{57:[1,224],67:k,82:218,116:E,117:m,118:C},{60:[1,225]},{64:[1,226],67:k,82:218,116:E,117:m,118:C},{66:[1,227],67:k,82:218,116:E,117:m,118:C},{30:228,67:k,80:V,81:W,82:171,116:E,117:m,118:C},{31:[1,229],67:k,82:218,116:E,117:m,118:C},{67:k,69:[1,230],71:[1,231],82:218,116:E,117:m,118:C},{67:k,69:[1,233],71:[1,232],82:218,116:E,117:m,118:C},e(E1,[2,45],{18:155,10:h1,40:Bt}),e(E1,[2,47],{44:_t}),e(L1,[2,75]),e(L1,[2,74]),{62:[1,234],67:k,82:218,116:E,117:m,118:C},e(L1,[2,77]),e($1,[2,80]),{77:[1,235],79:197,116:j1,119:z1},{30:236,67:k,80:V,81:W,82:171,116:E,117:m,118:C},e(q1,u,{5:237}),e(S,[2,102]),e(T,[2,35]),{43:238,44:y,45:39,47:40,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O},{10:h1,18:239},{10:s1,60:i1,84:n1,92:240,105:a1,107:241,108:242,109:u1,110:r1,111:o1,112:l1},{10:s1,60:i1,84:n1,92:251,104:[1,252],105:a1,107:241,108:242,109:u1,110:r1,111:o1,112:l1},{10:s1,60:i1,84:n1,92:253,104:[1,254],105:a1,107:241,108:242,109:u1,110:r1,111:o1,112:l1},{105:[1,255]},{10:s1,60:i1,84:n1,92:256,105:a1,107:241,108:242,109:u1,110:r1,111:o1,112:l1},{44:y,47:257,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O},e(B,[2,108]),{80:[1,258]},{80:[1,259],98:[1,260]},e(B,[2,116]),e(B,[2,118],{10:[1,261]}),e(B,[2,119]),e(U,[2,56]),e(d1,[2,87]),e(U,[2,57]),{51:[1,262],67:k,82:218,116:E,117:m,118:C},e(U,[2,64]),e(U,[2,59]),e(U,[2,60]),e(U,[2,61]),{109:[1,263]},e(U,[2,63]),e(U,[2,65]),{66:[1,264],67:k,82:218,116:E,117:m,118:C},e(U,[2,67]),e(U,[2,68]),e(U,[2,70]),e(U,[2,69]),e(U,[2,71]),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),e(L1,[2,78]),{31:[1,265],67:k,82:218,116:E,117:m,118:C},{6:11,7:12,8:p,9:d,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:D,32:[1,266],33:24,34:_,36:A,38:j,42:28,43:38,44:y,45:39,47:40,60:g,84:X,85:p1,86:g1,87:A1,88:O1,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O,121:M1,122:U1,123:V1,124:W1},e(b1,[2,53]),{43:267,44:y,45:39,47:40,60:g,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O},e(B,[2,121],{106:I1}),e(wt,[2,130],{108:269,10:s1,60:i1,84:n1,105:a1,109:u1,110:r1,111:o1,112:l1}),e(Q,[2,132]),e(Q,[2,134]),e(Q,[2,135]),e(Q,[2,136]),e(Q,[2,137]),e(Q,[2,138]),e(Q,[2,139]),e(Q,[2,140]),e(Q,[2,141]),e(B,[2,122],{106:I1}),{10:[1,270]},e(B,[2,123],{106:I1}),{10:[1,271]},e(vt,[2,129]),e(B,[2,105],{106:I1}),e(B,[2,106],{113:112,44:y,60:g,89:w,102:L,105:$,106:I,109:N,111:R,114:P,115:G,116:O}),e(B,[2,110]),e(B,[2,112],{10:[1,272]}),e(B,[2,113]),{98:[1,273]},{51:[1,274]},{62:[1,275]},{66:[1,276]},{8:Z,9:t1,11:e1,21:277},e(T,[2,34]),e(b1,[2,52]),{10:s1,60:i1,84:n1,105:a1,107:278,108:242,109:u1,110:r1,111:o1,112:l1},e(Q,[2,133]),{14:m1,44:C1,60:x1,89:D1,101:279,105:T1,106:S1,109:F1,111:_1,114:B1,115:v1,116:w1,120:87},{14:m1,44:C1,60:x1,89:D1,101:280,105:T1,106:S1,109:F1,111:_1,114:B1,115:v1,116:w1,120:87},{98:[1,281]},e(B,[2,120]),e(U,[2,58]),{30:282,67:k,80:V,81:W,82:171,116:E,117:m,118:C},e(U,[2,66]),e(q1,u,{5:283}),e(wt,[2,131],{108:269,10:s1,60:i1,84:n1,105:a1,109:u1,110:r1,111:o1,112:l1}),e(B,[2,126],{120:167,10:[1,284],14:m1,44:C1,60:x1,89:D1,105:T1,106:S1,109:F1,111:_1,114:B1,115:v1,116:w1}),e(B,[2,127],{120:167,10:[1,285],14:m1,44:C1,60:x1,89:D1,105:T1,106:S1,109:F1,111:_1,114:B1,115:v1,116:w1}),e(B,[2,114]),{31:[1,286],67:k,82:218,116:E,117:m,118:C},{6:11,7:12,8:p,9:d,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:D,32:[1,287],33:24,34:_,36:A,38:j,42:28,43:38,44:y,45:39,47:40,60:g,84:X,85:p1,86:g1,87:A1,88:O1,89:w,102:L,105:$,106:I,109:N,111:R,113:41,114:P,115:G,116:O,121:M1,122:U1,123:V1,124:W1},{10:s1,60:i1,84:n1,92:288,105:a1,107:241,108:242,109:u1,110:r1,111:o1,112:l1},{10:s1,60:i1,84:n1,92:289,105:a1,107:241,108:242,109:u1,110:r1,111:o1,112:l1},e(U,[2,62]),e(T,[2,33]),e(B,[2,124],{106:I1}),e(B,[2,125],{106:I1})],defaultActions:{},parseError:f(function(h,x){if(!x.recoverable){var b=new Error(h);throw b.hash=x,b}this.trace(h)},"parseError"),parse:f(function(h){var x=this,b=[0],l=[],F=[null],t=[],G1=this.table,s="",v=0,Lt=0,Ut=t.slice.call(arguments,1),M=Object.create(this.lexer),y1={yy:{}};for(var Q1 in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q1)&&(y1.yy[Q1]=this.yy[Q1]);M.setInput(h,y1.yy),y1.yy.lexer=M,y1.yy.parser=this,M.yylloc===void 0&&(M.yylloc={});var J1=M.yylloc;t.push(J1);var Vt=M.options&&M.options.ranges;function $t(){var q;return typeof(q=l.pop()||M.lex()||1)!="number"&&(q instanceof Array&&(q=(l=q).pop()),q=x.symbols_[q]||q),q}typeof y1.yy.parseError=="function"?this.parseError=y1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,f(function(q){b.length=b.length-2*q,F.length=F.length-q,t.length=t.length-q},"popStack"),f($t,"lex");for(var Y,f1,H,It,Y1,c1,Nt,H1,N1={};;){if(f1=b[b.length-1],this.defaultActions[f1]?H=this.defaultActions[f1]:(Y==null&&(Y=$t()),H=G1[f1]&&G1[f1][Y]),H===void 0||!H.length||!H[0]){var Rt="";for(Y1 in H1=[],G1[f1])this.terminals_[Y1]&&Y1>2&&H1.push("'"+this.terminals_[Y1]+"'");Rt=M.showPosition?"Parse error on line "+(v+1)+`:
10
+ `+M.showPosition()+`
11
+ Expecting `+H1.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":"Parse error on line "+(v+1)+": Unexpected "+(Y==1?"end of input":"'"+(this.terminals_[Y]||Y)+"'"),this.parseError(Rt,{text:M.match,token:this.terminals_[Y]||Y,line:M.yylineno,loc:J1,expected:H1})}if(H[0]instanceof Array&&H.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f1+", token: "+Y);switch(H[0]){case 1:b.push(Y),F.push(M.yytext),t.push(M.yylloc),b.push(H[1]),Y=null,Lt=M.yyleng,s=M.yytext,v=M.yylineno,J1=M.yylloc;break;case 2:if(c1=this.productions_[H[1]][1],N1.$=F[F.length-c1],N1._$={first_line:t[t.length-(c1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(c1||1)].first_column,last_column:t[t.length-1].last_column},Vt&&(N1._$.range=[t[t.length-(c1||1)].range[0],t[t.length-1].range[1]]),(It=this.performAction.apply(N1,[s,Lt,v,y1.yy,H[1],F,t].concat(Ut)))!==void 0)return It;c1&&(b=b.slice(0,-1*c1*2),F=F.slice(0,-1*c1),t=t.slice(0,-1*c1)),b.push(this.productions_[H[1]][0]),F.push(N1.$),t.push(N1._$),Nt=G1[b[b.length-2]][b[b.length-1]],b.push(Nt);break;case 3:return!0}}return!0},"parse")},Mt=function(){return{EOF:1,parseError:f(function(h,x){if(!this.yy.parser)throw new Error(h);this.yy.parser.parseError(h,x)},"parseError"),setInput:f(function(h,x){return this.yy=x||this.yy||{},this._input=h,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:f(function(){var h=this._input[0];return this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h,h.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:f(function(h){var x=h.length,b=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var l=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),b.length-1&&(this.yylineno-=b.length-1);var F=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:b?(b.length===l.length?this.yylloc.first_column:0)+l[l.length-b.length].length-b[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[F[0],F[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).
12
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:f(function(h){this.unput(this.match.slice(h))},"less"),pastInput:f(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var h=this.pastInput(),x=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
13
+ `+x+"^"},"showPosition"),test_match:f(function(h,x){var b,l,F;if(this.options.backtrack_lexer&&(F={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(F.yylloc.range=this.yylloc.range.slice(0))),(l=h[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=l.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(h[0].length),this.matched+=h[0],b=this.performAction.call(this,this.yy,this,x,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),b)return b;if(this._backtrack){for(var t in F)this[t]=F[t];return!1}return!1},"test_match"),next:f(function(){if(this.done)return this.EOF;var h,x,b,l;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var F=this._currentRules(),t=0;t<F.length;t++)if((b=this._input.match(this.rules[F[t]]))&&(!x||b[0].length>x[0].length)){if(x=b,l=t,this.options.backtrack_lexer){if((h=this.test_match(b,F[t]))!==!1)return h;if(this._backtrack){x=!1;continue}return!1}if(!this.options.flex)break}return x?(h=this.test_match(x,F[l]))!==!1&&h:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
14
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:f(function(){var h=this.next();return h||this.lex()},"lex"),begin:f(function(h){this.conditionStack.push(h)},"begin"),popState:f(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:f(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:f(function(h){return(h=this.conditionStack.length-1-Math.abs(h||0))>=0?this.conditionStack[h]:"INITIAL"},"topState"),pushState:f(function(h){this.begin(h)},"pushState"),stateStackSize:f(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:f(function(h,x,b,l){switch(b){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 12:case 14:case 17:case 20:case 23:case 33:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),x.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:const F=/\n\s*/g;return x.yytext=x.yytext.replace(F,"<br/>"),40;case 11:return 40;case 13:this.begin("callbackname");break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 95;case 18:return 96;case 19:return"MD_STR";case 21:this.begin("md_string");break;case 22:return"STR";case 24:this.pushState("string");break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 34:return 88;case 35:case 36:case 37:return h.lex.firstGraph()&&this.begin("dir"),12;case 38:return 27;case 39:return 32;case 40:case 41:case 42:case 43:return 98;case 44:return this.popState(),13;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),14;case 55:return 121;case 56:return 122;case 57:return 123;case 58:return 124;case 59:return 78;case 60:return 105;case 61:case 102:return 111;case 62:return 46;case 63:return 60;case 64:case 103:return 44;case 65:return 8;case 66:return 106;case 67:case 101:return 115;case 68:case 71:case 74:return this.popState(),77;case 69:return this.pushState("edgeText"),75;case 70:case 73:case 76:return 119;case 72:return this.pushState("thickEdgeText"),75;case 75:return this.pushState("dottedEdgeText"),75;case 77:return 77;case 78:return this.popState(),53;case 79:case 115:return"TEXT";case 80:return this.pushState("ellipseText"),52;case 81:return this.popState(),55;case 82:return this.pushState("text"),54;case 83:return this.popState(),57;case 84:return this.pushState("text"),56;case 85:return 58;case 86:return this.pushState("text"),67;case 87:return this.popState(),64;case 88:return this.pushState("text"),63;case 89:return this.popState(),49;case 90:return this.pushState("text"),48;case 91:return this.popState(),69;case 92:return this.popState(),71;case 93:return 117;case 94:return this.pushState("trapText"),68;case 95:return this.pushState("trapText"),70;case 96:return 118;case 97:return 67;case 98:return 90;case 99:return"SEP";case 100:return 89;case 104:return 109;case 105:return 114;case 106:return 116;case 107:return this.popState(),62;case 108:return this.pushState("text"),62;case 109:return this.popState(),51;case 110:return this.pushState("text"),50;case 111:return this.popState(),31;case 112:return this.pushState("text"),29;case 113:return this.popState(),66;case 114:return this.pushState("text"),65;case 116:return"QUOTE";case 117:return 9;case 118:return 10;case 119:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},shapeData:{rules:[8,11,12,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},callbackargs:{rules:[17,18,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},callbackname:{rules:[14,15,16,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},href:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},click:{rules:[21,24,33,34,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},dottedEdgeText:{rules:[21,24,74,76,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},thickEdgeText:{rules:[21,24,71,73,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},edgeText:{rules:[21,24,68,70,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},trapText:{rules:[21,24,77,80,82,84,88,90,91,92,93,94,95,108,110,112,114],inclusive:!1},ellipseText:{rules:[21,24,77,78,79,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},text:{rules:[21,24,77,80,81,82,83,84,87,88,89,90,94,95,107,108,109,110,111,112,113,114,115],inclusive:!1},vertex:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_descr:{rules:[3,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_title:{rules:[1,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},md_string:{rules:[19,20,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},string:{rules:[21,22,23,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,71,72,74,75,77,80,82,84,85,86,88,90,94,95,96,97,98,99,100,101,102,103,104,105,106,108,110,112,114,116,117,118,119],inclusive:!0}}}}();function K1(){this.yy={}}return X1.lexer=Mt,f(K1,"Parser"),K1.prototype=X1,X1.Parser=K1,new K1}();et.parser=et;var Gt=et,Ot=Object.assign({},Gt);Ot.parse=e=>{const i=e.replace(/}\s*\n/g,`}
15
+ `);return Gt.parse(i)};var le=Ot,ce=f((e,i)=>{const a=ue,n=a(e,"r"),r=a(e,"g"),u=a(e,"b");return ie(n,r,u,i)},"fade"),he=f(e=>`.label {
16
+ font-family: ${e.fontFamily};
17
+ color: ${e.nodeTextColor||e.textColor};
18
+ }
19
+ .cluster-label text {
20
+ fill: ${e.titleColor};
21
+ }
22
+ .cluster-label span {
23
+ color: ${e.titleColor};
24
+ }
25
+ .cluster-label span p {
26
+ background-color: transparent;
27
+ }
28
+
29
+ .label text,span {
30
+ fill: ${e.nodeTextColor||e.textColor};
31
+ color: ${e.nodeTextColor||e.textColor};
32
+ }
33
+
34
+ .node rect,
35
+ .node circle,
36
+ .node ellipse,
37
+ .node polygon,
38
+ .node path {
39
+ fill: ${e.mainBkg};
40
+ stroke: ${e.nodeBorder};
41
+ stroke-width: 1px;
42
+ }
43
+ .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
44
+ text-anchor: middle;
45
+ }
46
+ // .flowchart-label .text-outer-tspan {
47
+ // text-anchor: middle;
48
+ // }
49
+ // .flowchart-label .text-inner-tspan {
50
+ // text-anchor: start;
51
+ // }
52
+
53
+ .node .katex path {
54
+ fill: #000;
55
+ stroke: #000;
56
+ stroke-width: 1px;
57
+ }
58
+
59
+ .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
60
+ text-align: center;
61
+ }
62
+ .node.clickable {
63
+ cursor: pointer;
64
+ }
65
+
66
+
67
+ .root .anchor path {
68
+ fill: ${e.lineColor} !important;
69
+ stroke-width: 0;
70
+ stroke: ${e.lineColor};
71
+ }
72
+
73
+ .arrowheadPath {
74
+ fill: ${e.arrowheadColor};
75
+ }
76
+
77
+ .edgePath .path {
78
+ stroke: ${e.lineColor};
79
+ stroke-width: 2.0px;
80
+ }
81
+
82
+ .flowchart-link {
83
+ stroke: ${e.lineColor};
84
+ fill: none;
85
+ }
86
+
87
+ .edgeLabel {
88
+ background-color: ${e.edgeLabelBackground};
89
+ p {
90
+ background-color: ${e.edgeLabelBackground};
91
+ }
92
+ rect {
93
+ opacity: 0.5;
94
+ background-color: ${e.edgeLabelBackground};
95
+ fill: ${e.edgeLabelBackground};
96
+ }
97
+ text-align: center;
98
+ }
99
+
100
+ /* For html labels only */
101
+ .labelBkg {
102
+ background-color: ${ce(e.edgeLabelBackground,.5)};
103
+ // background-color:
104
+ }
105
+
106
+ .cluster rect {
107
+ fill: ${e.clusterBkg};
108
+ stroke: ${e.clusterBorder};
109
+ stroke-width: 1px;
110
+ }
111
+
112
+ .cluster text {
113
+ fill: ${e.titleColor};
114
+ }
115
+
116
+ .cluster span {
117
+ color: ${e.titleColor};
118
+ }
119
+ /* .cluster div {
120
+ color: ${e.titleColor};
121
+ } */
122
+
123
+ div.mermaidTooltip {
124
+ position: absolute;
125
+ text-align: center;
126
+ max-width: 200px;
127
+ padding: 2px;
128
+ font-family: ${e.fontFamily};
129
+ font-size: 12px;
130
+ background: ${e.tertiaryColor};
131
+ border: 1px solid ${e.border2};
132
+ border-radius: 2px;
133
+ pointer-events: none;
134
+ z-index: 100;
135
+ }
136
+
137
+ .flowchartTitleText {
138
+ text-anchor: middle;
139
+ font-size: 18px;
140
+ fill: ${e.textColor};
141
+ }
142
+
143
+ rect.text {
144
+ fill: none;
145
+ stroke-width: 0;
146
+ }
147
+
148
+ .icon-shape, .image-shape {
149
+ background-color: ${e.edgeLabelBackground};
150
+ p {
151
+ background-color: ${e.edgeLabelBackground};
152
+ padding: 2px;
153
+ }
154
+ rect {
155
+ opacity: 0.5;
156
+ background-color: ${e.edgeLabelBackground};
157
+ fill: ${e.edgeLabelBackground};
158
+ }
159
+ text-align: center;
160
+ }
161
+ `,"getStyles"),de={parser:le,get db(){return new re},renderer:oe,styles:he,init:f(e=>{e.flowchart||(e.flowchart={}),e.layout&&Pt({layout:e.layout}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,Pt({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}})},"init")};export{de as diagram};