@sme.up/ketchup2 2.0.0-SNAPSHOT-20251010101721 → 2.0.0-SNAPSHOT-20251013124118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_basePickBy-Dnu9oTIJ.cjs → _basePickBy-CH3bOhBm.cjs} +1 -1
- package/dist/{_basePickBy-C8Aglt4n.js → _basePickBy-D1kVOmsO.js} +2 -2
- package/dist/{_baseUniq-DbPpM-uu.cjs → _baseUniq-BtiWlJcs.cjs} +1 -1
- package/dist/{_baseUniq-Cg05cPsr.js → _baseUniq-oIYCGpeI.js} +1 -1
- package/dist/{arc-B8bfZgF8.js → arc-9asNEOPP.js} +1 -1
- package/dist/{arc-BNXCNe5M.cjs → arc-BYZGn5Oq.cjs} +1 -1
- package/dist/{architecture-O4VJ6CD3-Bv94h0Kd.cjs → architecture-O4VJ6CD3--NJbAknU.cjs} +1 -1
- package/dist/{architecture-O4VJ6CD3-CkarypDG.js → architecture-O4VJ6CD3-TkncoX0i.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-c7Y9MP-3.cjs → architectureDiagram-VXUJARFQ-CbJFwGvX.cjs} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-2dlG054u.js → architectureDiagram-VXUJARFQ-LBFKrVpK.js} +3 -3
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload-types.d.ts +105 -0
- package/dist/basic-components/file-upload/file-upload-types.d.ts.map +1 -0
- package/dist/basic-components/file-upload/file-upload.d.ts +5 -0
- package/dist/basic-components/file-upload/file-upload.d.ts.map +1 -0
- package/dist/basic-components/file-upload/test-utils.d.ts +25 -0
- package/dist/basic-components/file-upload/test-utils.d.ts.map +1 -0
- package/dist/{blockDiagram-VD42YOAC-UCIKT9d9.cjs → blockDiagram-VD42YOAC-D12hkZZN.cjs} +1 -1
- package/dist/{blockDiagram-VD42YOAC-Dk7qP4CD.js → blockDiagram-VD42YOAC-DcJ153MC.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-C1iNT_83.js → c4Diagram-YG6GDRKO-BuFiJjMo.js} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-hasVYDPE.cjs → c4Diagram-YG6GDRKO-CEGJmNPP.cjs} +1 -1
- package/dist/channel-CcTa2el1.cjs +1 -0
- package/dist/{channel-DyjI2zhk.js → channel-Lr9QMebA.js} +1 -1
- package/dist/{chunk-4BX2VUAB-Bp_WsLCS.cjs → chunk-4BX2VUAB-Ctenjwmh.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-D6sgzBT-.js → chunk-4BX2VUAB-DUs2iDAg.js} +1 -1
- package/dist/{chunk-55IACEB6-iCxvodOV.js → chunk-55IACEB6-W3O3lSeL.js} +1 -1
- package/dist/{chunk-55IACEB6-BjU8PqT5.cjs → chunk-55IACEB6-ofxwWOwR.cjs} +1 -1
- package/dist/{chunk-B4BG7PRW-EV0YZgqF.js → chunk-B4BG7PRW-Bvo6b7M0.js} +4 -4
- package/dist/{chunk-B4BG7PRW-oUQ1_jvZ.cjs → chunk-B4BG7PRW-DapQwFgj.cjs} +1 -1
- package/dist/{chunk-DI55MBZ5-BG-MI06Q.cjs → chunk-DI55MBZ5-BSNlx0kd.cjs} +1 -1
- package/dist/{chunk-DI55MBZ5-BWLObLG9.js → chunk-DI55MBZ5-CK6Z-nEC.js} +3 -3
- package/dist/{chunk-FMBD7UC4-P-QgryVw.cjs → chunk-FMBD7UC4-B2RjhX6l.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-B_VPZnNb.js → chunk-FMBD7UC4-D9fLV-IO.js} +1 -1
- package/dist/{chunk-QN33PNHL-DLr2VM0_.cjs → chunk-QN33PNHL-CvKwiHHl.cjs} +1 -1
- package/dist/{chunk-QN33PNHL-DNBscaML.js → chunk-QN33PNHL-DCrQ-z21.js} +1 -1
- package/dist/{chunk-QZHKN3VN-C86H95Tu.cjs → chunk-QZHKN3VN-CGSq2gsc.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-ByCXIZxE.js → chunk-QZHKN3VN-CHJEFz_I.js} +1 -1
- package/dist/{chunk-TZMSLE5B-B1JDQ10v.js → chunk-TZMSLE5B-Cq71PTLY.js} +1 -1
- package/dist/{chunk-TZMSLE5B-CKDHZ8_P.cjs → chunk-TZMSLE5B-CxRK1C_y.cjs} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-ro36Sm3r.js → classDiagram-2ON5EDUG-D6t8qLzQ.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-CYoXraeC.cjs → classDiagram-2ON5EDUG-DZaSP3nV.cjs} +1 -1
- package/dist/{classDiagram-2ON5EDUG-ro36Sm3r.js → classDiagram-v2-WZHVMYZB-D6t8qLzQ.js} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-CYoXraeC.cjs → classDiagram-v2-WZHVMYZB-DZaSP3nV.cjs} +1 -1
- package/dist/{clone-kZKAylAY.js → clone-CMEjjERJ.js} +1 -1
- package/dist/clone-DvwrFjXW.cjs +1 -0
- package/dist/components/input-panel/assets/data.d.ts.map +1 -1
- package/dist/{cose-bilkent-S5V4N54A-B0Y9LGtN.js → cose-bilkent-S5V4N54A-BPyVMTFM.js} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-BMPrYJyH.cjs → cose-bilkent-S5V4N54A-B_9RcO0R.cjs} +1 -1
- package/dist/{dagre-6UL2VRFP-DHoHKtXO.cjs → dagre-6UL2VRFP-BLETJ1bZ.cjs} +1 -1
- package/dist/{dagre-6UL2VRFP-DdRRex9H.js → dagre-6UL2VRFP-miA74rn6.js} +6 -6
- package/dist/{diagram-PSM6KHXK-BxpHiRzR.js → diagram-PSM6KHXK-F4j08Sha.js} +4 -4
- package/dist/{diagram-PSM6KHXK-CiQ_aCul.cjs → diagram-PSM6KHXK-ykAevg4w.cjs} +1 -1
- package/dist/{diagram-QEK2KX5R-WBVwJBU0.cjs → diagram-QEK2KX5R-6MFXYJdx.cjs} +1 -1
- package/dist/{diagram-QEK2KX5R-CgavYEwl.js → diagram-QEK2KX5R-D7ss0xkN.js} +3 -3
- package/dist/{diagram-S2PKOQOG-DBugHryT.cjs → diagram-S2PKOQOG-BKK_aKn0.cjs} +1 -1
- package/dist/{diagram-S2PKOQOG-DTbEY5yb.js → diagram-S2PKOQOG-CUP-wRli.js} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-Ct95Q0gF.cjs → erDiagram-Q2GNP2WA-C-Pql8nF.cjs} +1 -1
- package/dist/{erDiagram-Q2GNP2WA-DqC5XWDN.js → erDiagram-Q2GNP2WA-C2S3vPUs.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-CEDHl4LN.js → flowDiagram-NV44I4VS-BDxyNP9a.js} +5 -5
- package/dist/{flowDiagram-NV44I4VS-D57sQigL.cjs → flowDiagram-NV44I4VS-CFdRNwzE.cjs} +1 -1
- package/dist/{ganttDiagram-LVOFAZNH-9AfvmJxQ.cjs → ganttDiagram-LVOFAZNH-B8PMDWb0.cjs} +1 -1
- package/dist/{ganttDiagram-LVOFAZNH-C2bIuS4t.js → ganttDiagram-LVOFAZNH-CClISNHJ.js} +2 -2
- package/dist/{gitGraph-ZV4HHKMB-B8V8L_i7.js → gitGraph-ZV4HHKMB-BlfkRgjo.js} +1 -1
- package/dist/{gitGraph-ZV4HHKMB-CK3BW88l.cjs → gitGraph-ZV4HHKMB-CngjqtRM.cjs} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-CkMFIEQR.cjs → gitGraphDiagram-NY62KEGX-B1MoyuqF.cjs} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-CuBheSJd.js → gitGraphDiagram-NY62KEGX-By0lSMpx.js} +4 -4
- package/dist/{graph-59sWKdV0.js → graph-D0AtMkIo.js} +2 -2
- package/dist/{graph-B1yyBVUi.cjs → graph-nXT1esi7.cjs} +1 -1
- package/dist/index-C7TBTVdT.cjs +392 -0
- package/dist/{index-CSCAvEZ9.js → index-D_T9l6nE.js} +17477 -17125
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/info-63CPKGFF-BNSwq-Yq.js +5 -0
- package/dist/{info-63CPKGFF-DYQrBae-.cjs → info-63CPKGFF-DwkXHYPK.cjs} +1 -1
- package/dist/{infoDiagram-F6ZHWCRC-Cb6f-Qvl.cjs → infoDiagram-F6ZHWCRC-BbTnaMR4.cjs} +1 -1
- package/dist/{infoDiagram-F6ZHWCRC-DBq6s6w4.js → infoDiagram-F6ZHWCRC-DapNmfU3.js} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-Dh6a54Ze.js → journeyDiagram-XKPGCS4Q-RdMkvP7P.js} +4 -4
- package/dist/{journeyDiagram-XKPGCS4Q-E-cx1zYm.cjs → journeyDiagram-XKPGCS4Q-iA2pbJ_1.cjs} +1 -1
- package/dist/{kanban-definition-3W4ZIXB7-CPsfW9J3.cjs → kanban-definition-3W4ZIXB7-CL23Cm1S.cjs} +1 -1
- package/dist/{kanban-definition-3W4ZIXB7-hj2MI2my.js → kanban-definition-3W4ZIXB7-Cq5SkVPp.js} +2 -2
- package/dist/ketchup2.cjs.js +1 -1
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +17 -16
- package/dist/{layout-HJEfFbi_.cjs → layout-BMURwjr0.cjs} +1 -1
- package/dist/{layout-BUiOVyCN.js → layout-UQjqivtd.js} +4 -4
- package/dist/{linear-CHgmPE-P.js → linear-Drgg1p8m.js} +1 -1
- package/dist/{linear-DzsAihqE.cjs → linear-kivixvN6.cjs} +1 -1
- package/dist/{mermaid-parser.core-CEy3BEfn.js → mermaid-parser.core-BCUCaKDn.js} +11 -11
- package/dist/{mermaid-parser.core-IgqYEySK.cjs → mermaid-parser.core-DEehUa3F.cjs} +2 -2
- package/dist/{mindmap-definition-VGOIOE7T-CavOvUYs.js → mindmap-definition-VGOIOE7T-BPV6pHmd.js} +3 -3
- package/dist/{mindmap-definition-VGOIOE7T-IN85zfGD.cjs → mindmap-definition-VGOIOE7T-ueTLbEKw.cjs} +1 -1
- package/dist/{packet-HUATNLJX-4F9SLwqa.cjs → packet-HUATNLJX-BAQtTQND.cjs} +1 -1
- package/dist/{packet-HUATNLJX-CZua9oVE.js → packet-HUATNLJX-CZDzX1B9.js} +1 -1
- package/dist/{pie-WTHONI2E-DyveiqbL.cjs → pie-WTHONI2E-B-c6WMrm.cjs} +1 -1
- package/dist/pie-WTHONI2E-Cbqczi3_.js +5 -0
- package/dist/{pieDiagram-ADFJNKIX-DqbnmVos.js → pieDiagram-ADFJNKIX-B1Jw-4GF.js} +4 -4
- package/dist/{pieDiagram-ADFJNKIX-8dD-bO0b.cjs → pieDiagram-ADFJNKIX-CpPGdI3Y.cjs} +1 -1
- package/dist/{quadrantDiagram-AYHSOK5B-Dw0XafJT.cjs → quadrantDiagram-AYHSOK5B-CPm3hJqp.cjs} +1 -1
- package/dist/{quadrantDiagram-AYHSOK5B-DhDURCGJ.js → quadrantDiagram-AYHSOK5B-bO2WxU4W.js} +2 -2
- package/dist/radar-NJJJXTRR-DzIutv7n.js +5 -0
- package/dist/{radar-NJJJXTRR-2ZXX3dTW.cjs → radar-NJJJXTRR-DzPP9xXn.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-DYC2IE6M.cjs → requirementDiagram-UZGBJVZJ-D6_kBRnv.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-WnYjZ4wj.js → requirementDiagram-UZGBJVZJ-II26rPKe.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-tXEcRiYd.js → sankeyDiagram-TZEHDZUN-BUEMqw4o.js} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-BJnZmz8Z.cjs → sankeyDiagram-TZEHDZUN-CN6Os1kp.cjs} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-Ynr9fiLi.cjs → sequenceDiagram-WL72ISMW-CvEjXOwq.cjs} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-8S8Udia-.js → sequenceDiagram-WL72ISMW-D_SSlsHN.js} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-G_Cqy2EI.js → stateDiagram-FKZM4ZOC-BN8Df4ab.js} +4 -4
- package/dist/{stateDiagram-FKZM4ZOC-pCa1OixC.cjs → stateDiagram-FKZM4ZOC-DT4YeHaq.cjs} +1 -1
- package/dist/{stateDiagram-v2-4FDKWEC3-Bdbtjvgm.cjs → stateDiagram-v2-4FDKWEC3-BmsHpU0u.cjs} +1 -1
- package/dist/{stateDiagram-v2-4FDKWEC3-CJP7fTnu.js → stateDiagram-v2-4FDKWEC3-DboEWnpV.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-Cg7U1jxm.cjs → timeline-definition-IT6M3QCI-CK1oV5zs.cjs} +1 -1
- package/dist/{timeline-definition-IT6M3QCI-CMGG_Bsf.js → timeline-definition-IT6M3QCI-b4-ORaM3.js} +2 -2
- package/dist/{treemap-75Q7IDZK-BuR0VOOH.js → treemap-75Q7IDZK-BLSQNE8C.js} +1 -1
- package/dist/{treemap-75Q7IDZK-C9W7iBXU.cjs → treemap-75Q7IDZK-D43AGe1b.cjs} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-yqlD_TZY.js → xychartDiagram-PRI3JC2R-CDs04PPy.js} +2 -2
- package/dist/{xychartDiagram-PRI3JC2R-sn4gtuC3.cjs → xychartDiagram-PRI3JC2R-CmRlCHFg.cjs} +1 -1
- package/package.json +1 -1
- package/dist/channel-DhVwzHmp.cjs +0 -1
- package/dist/clone-C9OEa_lU.cjs +0 -1
- package/dist/index-BbDOaUrF.cjs +0 -392
- package/dist/info-63CPKGFF-BpIRLjE3.js +0 -5
- package/dist/pie-WTHONI2E-Q8as-6nT.js +0 -5
- package/dist/radar-NJJJXTRR-BjhOmdzZ.js +0 -5
package/dist/{quadrantDiagram-AYHSOK5B-Dw0XafJT.cjs → quadrantDiagram-AYHSOK5B-CPm3hJqp.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-C7TBTVdT.cjs"),Zt=require("./linear-kivixvN6.cjs");var Ct=function(){var t=e.__name(function(X,l,o,f){for(o=o||{},f=X.length;f--;o[X[f]]=l);return o},"o"),s=[1,3],x=[1,4],d=[1,5],c=[1,6],p=[1,7],_=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],n=[55,56,57],A=[2,36],u=[1,37],y=[1,36],m=[1,38],T=[1,35],q=[1,43],g=[1,41],j=[1,14],ot=[1,23],ut=[1,18],ft=[1,19],xt=[1,20],ct=[1,21],qt=[1,22],ht=[1,24],i=[1,25],Lt=[1,26],Et=[1,27],Dt=[1,28],zt=[1,29],N=[1,32],W=[1,33],k=[1,34],F=[1,39],P=[1,40],C=[1,42],v=[1,44],Q=[1,62],O=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Vt=[1,65],It=[1,66],wt=[1,67],Bt=[1,68],Rt=[1,69],Nt=[1,70],Wt=[1,71],Ut=[1,72],Qt=[1,73],Ot=[1,74],Ht=[1,75],Xt=[1,76],V=[4,5,6,7,8,9,10,11,12,13,14,15,18],G=[1,90],K=[1,91],Z=[1,92],J=[1,99],$=[1,93],tt=[1,96],et=[1,94],at=[1,95],it=[1,97],nt=[1,98],bt=[1,102],Mt=[10,55,56,57],B=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],St={trace:e.__name(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:e.__name(function(l,o,f,h,b,a,dt){var r=a.length-1;switch(b){case 23:this.$=a[r];break;case 24:this.$=a[r-1]+""+a[r];break;case 26:this.$=a[r-1]+a[r];break;case 27:this.$=[a[r].trim()];break;case 28:a[r-2].push(a[r].trim()),this.$=a[r-2];break;case 29:this.$=a[r-4],h.addClass(a[r-2],a[r]);break;case 37:this.$=[];break;case 42:this.$=a[r].trim(),h.setDiagramTitle(this.$);break;case 43:this.$=a[r].trim(),h.setAccTitle(this.$);break;case 44:case 45:this.$=a[r].trim(),h.setAccDescription(this.$);break;case 46:h.addSection(a[r].substr(8)),this.$=a[r].substr(8);break;case 47:h.addPoint(a[r-3],"",a[r-1],a[r],[]);break;case 48:h.addPoint(a[r-4],a[r-3],a[r-1],a[r],[]);break;case 49:h.addPoint(a[r-4],"",a[r-2],a[r-1],a[r]);break;case 50:h.addPoint(a[r-5],a[r-4],a[r-2],a[r-1],a[r]);break;case 51:h.setXAxisLeftText(a[r-2]),h.setXAxisRightText(a[r]);break;case 52:a[r-1].text+=" ⟶ ",h.setXAxisLeftText(a[r-1]);break;case 53:h.setXAxisLeftText(a[r]);break;case 54:h.setYAxisBottomText(a[r-2]),h.setYAxisTopText(a[r]);break;case 55:a[r-1].text+=" ⟶ ",h.setYAxisBottomText(a[r-1]);break;case 56:h.setYAxisBottomText(a[r]);break;case 57:h.setQuadrant1Text(a[r]);break;case 58:h.setQuadrant2Text(a[r]);break;case 59:h.setQuadrant3Text(a[r]);break;case 60:h.setQuadrant4Text(a[r]);break;case 64:this.$={text:a[r],type:"text"};break;case 65:this.$={text:a[r-1].text+""+a[r],type:a[r-1].type};break;case 66:this.$={text:a[r],type:"text"};break;case 67:this.$={text:a[r],type:"markdown"};break;case 68:this.$=a[r];break;case 69:this.$=a[r-1]+""+a[r];break}},"anonymous"),table:[{18:s,26:1,27:2,28:x,55:d,56:c,57:p},{1:[3]},{18:s,26:8,27:2,28:x,55:d,56:c,57:p},{18:s,26:9,27:2,28:x,55:d,56:c,57:p},t(_,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(n,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:y,10:m,12:T,13:q,14:g,18:j,25:ot,35:ut,37:ft,39:xt,41:ct,42:qt,48:ht,50:i,51:Lt,52:Et,53:Dt,54:zt,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),t(_,[2,34]),{27:45,55:d,56:c,57:p},t(n,[2,37]),t(n,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:u,5:y,10:m,12:T,13:q,14:g,18:j,25:ot,35:ut,37:ft,39:xt,41:ct,42:qt,48:ht,50:i,51:Lt,52:Et,53:Dt,54:zt,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),t(n,[2,39]),t(n,[2,40]),t(n,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(n,[2,45]),t(n,[2,46]),{18:[1,50]},{4:u,5:y,10:m,12:T,13:q,14:g,43:51,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:52,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:53,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:54,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:55,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:56,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:C,67:v},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(_,[2,35]),t(n,[2,38]),t(n,[2,42]),t(n,[2,43]),t(n,[2,44]),{3:64,4:Vt,5:It,6:wt,7:Bt,8:Rt,9:Nt,10:Wt,11:Ut,12:Qt,13:Ot,14:Ht,15:Xt,21:63},t(n,[2,53],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,49:[1,77],63:k,64:F,65:P,66:C,67:v}),t(n,[2,56],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,49:[1,78],63:k,64:F,65:P,66:C,67:v}),t(n,[2,57],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,58],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,59],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,60],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Vt,5:It,6:wt,7:Bt,8:Rt,9:Nt,10:Wt,11:Ut,12:Qt,13:Ot,14:Ht,15:Xt,18:[1,81]},t(V,[2,23]),t(V,[2,1]),t(V,[2,2]),t(V,[2,3]),t(V,[2,4]),t(V,[2,5]),t(V,[2,6]),t(V,[2,7]),t(V,[2,8]),t(V,[2,9]),t(V,[2,10]),t(V,[2,11]),t(V,[2,12]),t(n,[2,52],{58:31,43:83,4:u,5:y,10:m,12:T,13:q,14:g,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),t(n,[2,55],{58:31,43:84,4:u,5:y,10:m,12:T,13:q,14:g,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),{46:[1,85]},{45:[1,86]},{4:G,5:K,6:Z,8:J,11:$,13:tt,16:89,17:et,18:at,19:it,20:nt,22:88,23:87},t(V,[2,24]),t(n,[2,51],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,54],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,47],{22:88,16:89,23:100,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),{46:[1,101]},t(n,[2,29],{10:bt}),t(Mt,[2,27],{16:103,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),t(B,[2,25]),t(B,[2,13]),t(B,[2,14]),t(B,[2,15]),t(B,[2,16]),t(B,[2,17]),t(B,[2,18]),t(B,[2,19]),t(B,[2,20]),t(B,[2,21]),t(B,[2,22]),t(n,[2,49],{10:bt}),t(n,[2,48],{22:88,16:89,23:104,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),{4:G,5:K,6:Z,8:J,11:$,13:tt,16:89,17:et,18:at,19:it,20:nt,22:105},t(B,[2,26]),t(n,[2,50],{10:bt}),t(Mt,[2,28],{16:103,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt})],defaultActions:{8:[2,30],9:[2,31]},parseError:e.__name(function(l,o){if(o.recoverable)this.trace(l);else{var f=new Error(l);throw f.hash=o,f}},"parseError"),parse:e.__name(function(l){var o=this,f=[0],h=[],b=[null],a=[],dt=this.table,r="",pt=0,Yt=0,xe=2,jt=1,ge=a.slice.call(arguments,1),E=Object.create(this.lexer),M={yy:{}};for(var At in this.yy)Object.prototype.hasOwnProperty.call(this.yy,At)&&(M.yy[At]=this.yy[At]);E.setInput(l,M.yy),M.yy.lexer=E,M.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var kt=E.yylloc;a.push(kt);var pe=E.options&&E.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(w){f.length=f.length-2*w,b.length=b.length-w,a.length=a.length-w}e.__name(_e,"popStack");function Gt(){var w;return w=h.pop()||E.lex()||jt,typeof w!="number"&&(w instanceof Array&&(h=w,w=h.pop()),w=o.symbols_[w]||w),w}e.__name(Gt,"lex");for(var I,Y,R,Ft,st={},_t,H,Kt,yt;;){if(Y=f[f.length-1],this.defaultActions[Y]?R=this.defaultActions[Y]:((I===null||typeof I>"u")&&(I=Gt()),R=dt[Y]&&dt[Y][I]),typeof R>"u"||!R.length||!R[0]){var Pt="";yt=[];for(_t in dt[Y])this.terminals_[_t]&&_t>xe&&yt.push("'"+this.terminals_[_t]+"'");E.showPosition?Pt="Parse error on line "+(pt+1)+`:
|
|
2
2
|
`+E.showPosition()+`
|
|
3
3
|
Expecting `+yt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Pt="Parse error on line "+(pt+1)+": Unexpected "+(I==jt?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Pt,{text:E.match,token:this.terminals_[I]||I,line:E.yylineno,loc:kt,expected:yt})}if(R[0]instanceof Array&&R.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Y+", token: "+I);switch(R[0]){case 1:f.push(I),b.push(E.yytext),a.push(E.yylloc),f.push(R[1]),I=null,Yt=E.yyleng,r=E.yytext,pt=E.yylineno,kt=E.yylloc;break;case 2:if(H=this.productions_[R[1]][1],st.$=b[b.length-H],st._$={first_line:a[a.length-(H||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(H||1)].first_column,last_column:a[a.length-1].last_column},pe&&(st._$.range=[a[a.length-(H||1)].range[0],a[a.length-1].range[1]]),Ft=this.performAction.apply(st,[r,Yt,pt,M.yy,R[1],b,a].concat(ge)),typeof Ft<"u")return Ft;H&&(f=f.slice(0,-1*H*2),b=b.slice(0,-1*H),a=a.slice(0,-1*H)),f.push(this.productions_[R[1]][0]),b.push(st.$),a.push(st._$),Kt=dt[f[f.length-2]][f[f.length-1]],f.push(Kt);break;case 3:return!0}}return!0},"parse")},fe=function(){var X={EOF:1,parseError:e.__name(function(o,f){if(this.yy.parser)this.yy.parser.parseError(o,f);else throw new Error(o)},"parseError"),setInput:e.__name(function(l,o){return this.yy=o||this.yy||{},this._input=l,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:e.__name(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var o=l.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:e.__name(function(l){var o=l.length,f=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var h=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),f.length-1&&(this.yylineno-=f.length-1);var b=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:f?(f.length===h.length?this.yylloc.first_column:0)+h[h.length-f.length].length-f[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:e.__name(function(){return this._more=!0,this},"more"),reject:e.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:e.__name(function(l){this.unput(this.match.slice(l))},"less"),pastInput:e.__name(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e.__name(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e.__name(function(){var l=this.pastInput(),o=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o, s as _e, g as Ae, q as ie, p as ke, a as Fe, b as Pe, c as zt, l as bt, d as Lt, e as ve, y as Ce, F as D, K as Le, i as Ee } from "./index-
|
|
2
|
-
import { l as ee } from "./linear-
|
|
1
|
+
import { _ as o, s as _e, g as Ae, q as ie, p as ke, a as Fe, b as Pe, c as zt, l as bt, d as Lt, e as ve, y as Ce, F as D, K as Le, i as Ee } from "./index-D_T9l6nE.js";
|
|
2
|
+
import { l as ee } from "./linear-Drgg1p8m.js";
|
|
3
3
|
var Et = function() {
|
|
4
4
|
var t = /* @__PURE__ */ o(function(M, r, l, x) {
|
|
5
5
|
for (l = l || {}, x = M.length; x--; l[M[x]] = r) ;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-DEehUa3F.cjs");exports.RadarModule=e.RadarModule;exports.createRadarServices=e.createRadarServices;
|
package/dist/{requirementDiagram-UZGBJVZJ-DYC2IE6M.cjs → requirementDiagram-UZGBJVZJ-D6_kBRnv.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const je=require("./chunk-55IACEB6-BjU8PqT5.cjs"),We=require("./chunk-QN33PNHL-DLr2VM0_.cjs"),r=require("./index-BbDOaUrF.cjs");var Ne=function(){var e=r.__name(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),c=[1,3],m=[1,4],u=[1,5],n=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],f=[1,22],R=[2,7],g=[1,26],b=[1,27],N=[1,28],q=[1,29],A=[1,33],C=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],O=[1,24],D=[1,31],w=[1,32],M=[1,30],E=[1,39],p=[1,40],d=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],$=[1,61],X=[89,90],qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],de=[27,29],Ae=[1,70],Ce=[1,71],Ve=[1,72],ve=[1,73],xe=[1,74],Le=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],Ee=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],De=[1,101],we=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],j=[1,109],W=[1,111],he=[1,116],ue=[1,117],me=[1,114],fe=[1,115],Se={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:r.__name(function(i,a,o,s,_,t,_e){var l=t.length-1;switch(_){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:c,9:m,11:u,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:c,9:m,11:u,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:c,9:m,11:u,13:n},{1:[2,2]},{4:17,5:f,7:13,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:f,7:42,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:43,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:44,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:45,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:46,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:47,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:48,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:49,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:50,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(d,[2,17]),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),{30:60,33:62,75:$,89:E,90:p},{30:63,33:62,75:$,89:E,90:p},{30:64,33:62,75:$,89:E,90:p},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(qe,[2,81]),e(qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(de,[2,79]),e(de,[2,80]),{27:[1,67],29:[1,68]},e(de,[2,85]),e(de,[2,86]),{62:69,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{62:77,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{30:78,33:62,75:$,89:E,90:p},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,60]),e(Ee,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:$,76:U,89:E,90:p},{5:[1,95]},{30:96,33:62,75:$,89:E,90:p},{5:[1,97]},{30:98,33:62,75:$,89:E,90:p},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(d,[2,59],{76:U}),e(d,[2,64],{76:De}),{33:103,75:[1,102],89:E,90:p},e(we,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(d,[2,57],{76:De}),e(d,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:j,40:W},{27:[1,112],76:U},{5:he,40:ue,56:113,57:me,59:fe},{27:[1,118],76:U},{33:119,89:E,90:p},{33:120,89:E,90:p},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,61]),e(Ee,[2,63]),e(T,[2,68]),e(d,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:j,40:W},e(d,[2,28]),{5:[1,127]},e(d,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:me,59:fe},e(d,[2,47]),{5:[1,131]},e(d,[2,48]),e(d,[2,49]),e(we,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:E,90:p},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(d,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:j,40:W},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(d,[2,46]),{5:he,40:ue,56:152,57:me,59:fe},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(d,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(d,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:j,40:W},{5:B,28:160,31:Q,34:H,36:K,38:j,40:W},{5:B,28:161,31:Q,34:H,36:K,38:j,40:W},{5:B,28:162,31:Q,34:H,36:K,38:j,40:W},{5:he,40:ue,56:163,57:me,59:fe},{5:he,40:ue,56:164,57:me,59:fe},e(d,[2,23]),e(d,[2,24]),e(d,[2,25]),e(d,[2,26]),e(d,[2,44]),e(d,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:r.__name(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),parse:r.__name(function(i){var a=this,o=[0],s=[],_=[null],t=[],_e=this.table,l="",Re=0,Me=0,Be=2,Fe=1,Qe=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(G.yy[Ie]=this.yy[Ie]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var be=y.yylloc;t.push(be);var He=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(I){o.length=o.length-2*I,_.length=_.length-I,t.length=t.length-I}r.__name(Ke,"popStack");function Pe(){var I;return I=s.pop()||y.lex()||Fe,typeof I!="number"&&(I instanceof Array&&(s=I,I=s.pop()),I=a.symbols_[I]||I),I}r.__name(Pe,"lex");for(var S,z,k,Te,J={},ye,F,$e,ge;;){if(z=o[o.length-1],this.defaultActions[z]?k=this.defaultActions[z]:((S===null||typeof S>"u")&&(S=Pe()),k=_e[z]&&_e[z][S]),typeof k>"u"||!k.length||!k[0]){var ke="";ge=[];for(ye in _e[z])this.terminals_[ye]&&ye>Be&&ge.push("'"+this.terminals_[ye]+"'");y.showPosition?ke="Parse error on line "+(Re+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const je=require("./chunk-55IACEB6-ofxwWOwR.cjs"),We=require("./chunk-QN33PNHL-CvKwiHHl.cjs"),r=require("./index-C7TBTVdT.cjs");var Ne=function(){var e=r.__name(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),c=[1,3],m=[1,4],u=[1,5],n=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],f=[1,22],R=[2,7],g=[1,26],b=[1,27],N=[1,28],q=[1,29],A=[1,33],C=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],O=[1,24],D=[1,31],w=[1,32],M=[1,30],E=[1,39],p=[1,40],d=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],$=[1,61],X=[89,90],qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],de=[27,29],Ae=[1,70],Ce=[1,71],Ve=[1,72],ve=[1,73],xe=[1,74],Le=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],Ee=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],De=[1,101],we=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],j=[1,109],W=[1,111],he=[1,116],ue=[1,117],me=[1,114],fe=[1,115],Se={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:r.__name(function(i,a,o,s,_,t,_e){var l=t.length-1;switch(_){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:c,9:m,11:u,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:c,9:m,11:u,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:c,9:m,11:u,13:n},{1:[2,2]},{4:17,5:f,7:13,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:f,7:42,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:43,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:44,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:45,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:46,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:47,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:48,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:49,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:50,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(d,[2,17]),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),{30:60,33:62,75:$,89:E,90:p},{30:63,33:62,75:$,89:E,90:p},{30:64,33:62,75:$,89:E,90:p},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(qe,[2,81]),e(qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(de,[2,79]),e(de,[2,80]),{27:[1,67],29:[1,68]},e(de,[2,85]),e(de,[2,86]),{62:69,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{62:77,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{30:78,33:62,75:$,89:E,90:p},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,60]),e(Ee,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:$,76:U,89:E,90:p},{5:[1,95]},{30:96,33:62,75:$,89:E,90:p},{5:[1,97]},{30:98,33:62,75:$,89:E,90:p},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(d,[2,59],{76:U}),e(d,[2,64],{76:De}),{33:103,75:[1,102],89:E,90:p},e(we,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(d,[2,57],{76:De}),e(d,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:j,40:W},{27:[1,112],76:U},{5:he,40:ue,56:113,57:me,59:fe},{27:[1,118],76:U},{33:119,89:E,90:p},{33:120,89:E,90:p},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,61]),e(Ee,[2,63]),e(T,[2,68]),e(d,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:j,40:W},e(d,[2,28]),{5:[1,127]},e(d,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:me,59:fe},e(d,[2,47]),{5:[1,131]},e(d,[2,48]),e(d,[2,49]),e(we,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:E,90:p},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(d,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:j,40:W},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(d,[2,46]),{5:he,40:ue,56:152,57:me,59:fe},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(d,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(d,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:j,40:W},{5:B,28:160,31:Q,34:H,36:K,38:j,40:W},{5:B,28:161,31:Q,34:H,36:K,38:j,40:W},{5:B,28:162,31:Q,34:H,36:K,38:j,40:W},{5:he,40:ue,56:163,57:me,59:fe},{5:he,40:ue,56:164,57:me,59:fe},e(d,[2,23]),e(d,[2,24]),e(d,[2,25]),e(d,[2,26]),e(d,[2,44]),e(d,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:r.__name(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),parse:r.__name(function(i){var a=this,o=[0],s=[],_=[null],t=[],_e=this.table,l="",Re=0,Me=0,Be=2,Fe=1,Qe=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(G.yy[Ie]=this.yy[Ie]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var be=y.yylloc;t.push(be);var He=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(I){o.length=o.length-2*I,_.length=_.length-I,t.length=t.length-I}r.__name(Ke,"popStack");function Pe(){var I;return I=s.pop()||y.lex()||Fe,typeof I!="number"&&(I instanceof Array&&(s=I,I=s.pop()),I=a.symbols_[I]||I),I}r.__name(Pe,"lex");for(var S,z,k,Te,J={},ye,F,$e,ge;;){if(z=o[o.length-1],this.defaultActions[z]?k=this.defaultActions[z]:((S===null||typeof S>"u")&&(S=Pe()),k=_e[z]&&_e[z][S]),typeof k>"u"||!k.length||!k[0]){var ke="";ge=[];for(ye in _e[z])this.terminals_[ye]&&ye>Be&&ge.push("'"+this.terminals_[ye]+"'");y.showPosition?ke="Parse error on line "+(Re+1)+`:
|
|
2
2
|
`+y.showPosition()+`
|
|
3
3
|
Expecting `+ge.join(", ")+", got '"+(this.terminals_[S]||S)+"'":ke="Parse error on line "+(Re+1)+": Unexpected "+(S==Fe?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(ke,{text:y.match,token:this.terminals_[S]||S,line:y.yylineno,loc:be,expected:ge})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+S);switch(k[0]){case 1:o.push(S),_.push(y.yytext),t.push(y.yylloc),o.push(k[1]),S=null,Me=y.yyleng,l=y.yytext,Re=y.yylineno,be=y.yylloc;break;case 2:if(F=this.productions_[k[1]][1],J.$=_[_.length-F],J._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},He&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),Te=this.performAction.apply(J,[l,Me,Re,G.yy,k[1],_,t].concat(Qe)),typeof Te<"u")return Te;F&&(o=o.slice(0,-1*F*2),_=_.slice(0,-1*F),t=t.slice(0,-1*F)),o.push(this.productions_[k[1]][0]),_.push(J.$),t.push(J._$),$e=_e[o[o.length-2]][o[o.length-1]],o.push($e);break;case 3:return!0}}return!0},"parse")},Ye=function(){var P={EOF:1,parseError:r.__name(function(a,o){if(this.yy.parser)this.yy.parser.parseError(a,o);else throw new Error(a)},"parseError"),setInput:r.__name(function(i,a){return this.yy=a||this.yy||{},this._input=i,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:r.__name(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:r.__name(function(i){var a=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var s=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 _=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===s.length?this.yylloc.first_column:0)+s[s.length-o.length].length-o[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r.__name(function(i){this.unput(this.match.slice(i))},"less"),pastInput:r.__name(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
package/dist/{requirementDiagram-UZGBJVZJ-WnYjZ4wj.js → requirementDiagram-UZGBJVZJ-II26rPKe.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as Ge } from "./chunk-55IACEB6-
|
|
2
|
-
import { s as ze } from "./chunk-QN33PNHL-
|
|
3
|
-
import { _ as f, b as Xe, a as Je, s as Ze, g as et, p as tt, q as st, c as Ne, l as qe, y as it, B as rt, o as nt, r as at, u as lt } from "./index-
|
|
1
|
+
import { g as Ge } from "./chunk-55IACEB6-W3O3lSeL.js";
|
|
2
|
+
import { s as ze } from "./chunk-QN33PNHL-DCrQ-z21.js";
|
|
3
|
+
import { _ as f, b as Xe, a as Je, s as Ze, g as et, p as tt, q as st, c as Ne, l as qe, y as it, B as rt, o as nt, r as at, u as lt } from "./index-D_T9l6nE.js";
|
|
4
4
|
var Ae = function() {
|
|
5
5
|
var e = /* @__PURE__ */ f(function(P, i, n, c) {
|
|
6
6
|
for (n = n || {}, c = P.length; c--; n[P[c]] = i) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as g, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, z as Lt, d as H, V as Et, y as At, k as Tt } from "./index-
|
|
1
|
+
import { _ as g, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, z as Lt, d as H, V as Et, y as At, k as Tt } from "./index-D_T9l6nE.js";
|
|
2
2
|
import { o as Mt } from "./ordinal-DfAQgscy.js";
|
|
3
3
|
function Nt(t) {
|
|
4
4
|
for (var e = t.length / 6 | 0, i = new Array(e), a = 0; a < e; ) i[a] = "#" + t.slice(a * 6, ++a * 6);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index-BbDOaUrF.cjs"),_t=require("./ordinal-CagbB1m8.cjs");function mt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a<e;)i[a]="#"+t.slice(a*6,++a*6);return i}const kt=mt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i<h||i===void 0&&h>=h)&&(i=h)}return i}function dt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function et(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,e){return e-1-t.height}function gt(t,e){return t.sourceLinks.length?t.depth:e-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function H(t){return function(){return t}}function lt(t,e){return X(t.source,e.source)||t.index-e.index}function ct(t,e){return X(t.target,e.target)||t.index-e.index}function X(t,e){return t.y0-e.y0}function nt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function ht({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function At(){let t=0,e=0,i=1,a=1,h=24,b=8,p,m=wt,r=gt,o,l,k=Lt,x=Et,d=6;function v(){const n={nodes:k.apply(null,arguments),links:x.apply(null,arguments)};return M(n),T(n),N(n),I(n),w(n),ht(n),n}v.update=function(n){return ht(n),n},v.nodeId=function(n){return arguments.length?(m=typeof n=="function"?n:H(n),v):m},v.nodeAlign=function(n){return arguments.length?(r=typeof n=="function"?n:H(n),v):r},v.nodeSort=function(n){return arguments.length?(o=n,v):o},v.nodeWidth=function(n){return arguments.length?(h=+n,v):h},v.nodePadding=function(n){return arguments.length?(b=p=+n,v):b},v.nodes=function(n){return arguments.length?(k=typeof n=="function"?n:H(n),v):k},v.links=function(n){return arguments.length?(x=typeof n=="function"?n:H(n),v):x},v.linkSort=function(n){return arguments.length?(l=n,v):l},v.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],v):[i-t,a-e]},v.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],v):[[t,e],[i,a]]},v.iterations=function(n){return arguments.length?(d=+n,v):d};function M({nodes:n,links:y}){for(const[c,s]of n.entries())s.index=c,s.sourceLinks=[],s.targetLinks=[];const u=new Map(n.map((c,s)=>[m(c,s,n),c]));for(const[c,s]of y.entries()){s.index=c;let{source:_,target:S}=s;typeof _!="object"&&(_=s.source=ut(u,_)),typeof S!="object"&&(S=s.target=ut(u,S)),_.sourceLinks.push(s),S.targetLinks.push(s)}if(l!=null)for(const{sourceLinks:c,targetLinks:s}of n)c.sort(l),s.sort(l)}function T({nodes:n}){for(const y of n)y.value=y.fixedValue===void 0?Math.max(et(y.sourceLinks,nt),et(y.targetLinks,nt)):y.fixedValue}function N({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,s=0;for(;u.size;){for(const _ of u){_.depth=s;for(const{target:S}of _.sourceLinks)c.add(S)}if(++s>y)throw new Error("circular link");u=c,c=new Set}}function I({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,s=0;for(;u.size;){for(const _ of u){_.height=s;for(const{source:S}of _.targetLinks)c.add(S)}if(++s>y)throw new Error("circular link");u=c,c=new Set}}function $({nodes:n}){const y=at(n,s=>s.depth)+1,u=(i-t-h)/(y-1),c=new Array(y);for(const s of n){const _=Math.max(0,Math.min(y-1,Math.floor(r.call(null,s,y))));s.layer=_,s.x0=t+_*u,s.x1=s.x0+h,c[_]?c[_].push(s):c[_]=[s]}if(o)for(const s of c)s.sort(o);return c}function R(n){const y=dt(n,u=>(a-e-(u.length-1)*p)/et(u,nt));for(const u of n){let c=e;for(const s of u){s.y0=c,s.y1=c+s.value*y,c=s.y1+p;for(const _ of s.sourceLinks)_.width=_.value*y}c=(a-c+p)/(u.length+1);for(let s=0;s<u.length;++s){const _=u[s];_.y0+=c*(s+1),_.y1+=c*(s+1)}A(u)}}function w(n){const y=$(n);p=Math.min(b,(a-e)/(at(y,u=>u.length)-1)),R(y);for(let u=0;u<d;++u){const c=Math.pow(.99,u),s=Math.max(1-c,(u+1)/d);B(y,c,s),C(y,c,s)}}function C(n,y,u){for(let c=1,s=n.length;c<s;++c){const _=n[c];for(const S of _){let L=0,F=0;for(const{source:q,value:tt}of S.targetLinks){let Y=tt*(S.layer-q.layer);L+=j(q,S)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function B(n,y,u){for(let c=n.length,s=c-2;s>=0;--s){const _=n[s];for(const S of _){let L=0,F=0;for(const{target:q,value:tt}of S.sourceLinks){let Y=tt*(q.layer-S.layer);L+=P(S,q)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function O(n,y){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,y),D(n,c.y1+p,u+1,y),g(n,a,n.length-1,y),D(n,e,0,y)}function D(n,y,u,c){for(;u<n.length;++u){const s=n[u],_=(y-s.y0)*c;_>1e-6&&(s.y0+=_,s.y1+=_),y=s.y1+p}}function g(n,y,u,c){for(;u>=0;--u){const s=n[u],_=(s.y1-y)*c;_>1e-6&&(s.y0-=_,s.y1-=_),y=s.y0-p}}function E({sourceLinks:n,targetLinks:y}){if(l===void 0){for(const{source:{sourceLinks:u}}of y)u.sort(ct);for(const{target:{targetLinks:u}}of n)u.sort(lt)}}function A(n){if(l===void 0)for(const{sourceLinks:y,targetLinks:u}of n)y.sort(ct),u.sort(lt)}function j(n,y){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:s}of n.sourceLinks){if(c===y)break;u+=s+p}for(const{source:c,width:s}of y.targetLinks){if(c===n)break;u-=s}return u}function P(n,y){let u=y.y0-(y.targetLinks.length-1)*p/2;for(const{source:c,width:s}of y.targetLinks){if(c===n)break;u+=s+p}for(const{target:c,width:s}of n.sourceLinks){if(c===y)break;u-=s}return u}return v}var it=Math.PI,rt=2*it,V=1e-6,Tt=rt-V;function st(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new st}st.prototype=pt.prototype={constructor:st,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,b){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+b)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var b=this._x1,p=this._y1,m=i-t,r=a-e,o=b-t,l=p-e,k=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(k>V)if(!(Math.abs(l*m-r*o)>V)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var x=i-b,d=a-p,v=m*m+r*r,M=x*x+d*d,T=Math.sqrt(v),N=Math.sqrt(k),I=h*Math.tan((it-Math.acos((v+k-M)/(2*T*N)))/2),$=I/N,R=I/T;Math.abs($-1)>V&&(this._+="L"+(t+$*o)+","+(e+$*l)),this._+="A"+h+","+h+",0,0,"+ +(l*x>o*d)+","+(this._x1=t+R*m)+","+(this._y1=e+R*r)}},arc:function(t,e,i,a,h,b){t=+t,e=+e,i=+i,b=!!b;var p=i*Math.cos(a),m=i*Math.sin(a),r=t+p,o=e+m,l=1^b,k=b?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+r+","+o:(Math.abs(this._x1-r)>V||Math.abs(this._y1-o)>V)&&(this._+="L"+r+","+o),i&&(k<0&&(k=k%rt+rt),k>Tt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-m)+"A"+i+","+i+",0,1,"+l+","+(this._x1=r)+","+(this._y1=o):k>V&&(this._+="A"+i+","+i+",0,"+ +(k>=it)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Nt(t){return t[1]}var Pt=Array.prototype.slice;function Ct(t){return t.source}function It(t){return t.target}function Ot(t){var e=Ct,i=It,a=Mt,h=Nt,b=null;function p(){var m,r=Pt.call(arguments),o=e.apply(this,r),l=i.apply(this,r);if(b||(b=m=pt()),t(b,+a.apply(this,(r[0]=o,r)),+h.apply(this,r),+a.apply(this,(r[0]=l,r)),+h.apply(this,r)),m)return b=null,m+""||null}return p.source=function(m){return arguments.length?(e=m,p):e},p.target=function(m){return arguments.length?(i=m,p):i},p.x=function(m){return arguments.length?(a=typeof m=="function"?m:ft(+m),p):a},p.y=function(m){return arguments.length?(h=typeof m=="function"?m:ft(+m),p):h},p.context=function(m){return arguments.length?(b=m??null,p):b},p}function Dt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function $t(){return Ot(Dt)}function jt(t){return[t.source.x1,t.y0]}function zt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(jt).target(zt)}var ot=function(){var t=f.__name(function(m,r,o,l){for(o=o||{},l=m.length;l--;o[m[l]]=r);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:f.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:f.__name(function(r,o,l,k,x,d,v){var M=d.length-1;switch(x){case 7:const T=k.findOrCreateNode(d[M-4].trim().replaceAll('""','"')),N=k.findOrCreateNode(d[M-2].trim().replaceAll('""','"')),I=parseFloat(d[M].trim());k.addLink(T,N,I);break;case 8:case 9:case 11:this.$=d[M];break;case 10:this.$=d[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:f.__name(function(r,o){if(o.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=o,l}},"parseError"),parse:f.__name(function(r){var o=this,l=[0],k=[],x=[null],d=[],v=this.table,M="",T=0,N=0,I=2,$=1,R=d.slice.call(arguments,1),w=Object.create(this.lexer),C={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(C.yy[B]=this.yy[B]);w.setInput(r,C.yy),C.yy.lexer=w,C.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var O=w.yylloc;d.push(O);var D=w.options&&w.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,x.length=x.length-L,d.length=d.length-L}f.__name(g,"popStack");function E(){var L;return L=k.pop()||w.lex()||$,typeof L!="number"&&(L instanceof Array&&(k=L,L=k.pop()),L=o.symbols_[L]||L),L}f.__name(E,"lex");for(var A,j,P,n,y={},u,c,s,_;;){if(j=l[l.length-1],this.defaultActions[j]?P=this.defaultActions[j]:((A===null||typeof A>"u")&&(A=E()),P=v[j]&&v[j][A]),typeof P>"u"||!P.length||!P[0]){var S="";_=[];for(u in v[j])this.terminals_[u]&&u>I&&_.push("'"+this.terminals_[u]+"'");w.showPosition?S="Parse error on line "+(T+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index-C7TBTVdT.cjs"),_t=require("./ordinal-CagbB1m8.cjs");function mt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a<e;)i[a]="#"+t.slice(a*6,++a*6);return i}const kt=mt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i<h||i===void 0&&h>=h)&&(i=h)}return i}function dt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function et(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,e){return e-1-t.height}function gt(t,e){return t.sourceLinks.length?t.depth:e-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function H(t){return function(){return t}}function lt(t,e){return X(t.source,e.source)||t.index-e.index}function ct(t,e){return X(t.target,e.target)||t.index-e.index}function X(t,e){return t.y0-e.y0}function nt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function ht({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function At(){let t=0,e=0,i=1,a=1,h=24,b=8,p,m=wt,r=gt,o,l,k=Lt,x=Et,d=6;function v(){const n={nodes:k.apply(null,arguments),links:x.apply(null,arguments)};return M(n),T(n),N(n),I(n),w(n),ht(n),n}v.update=function(n){return ht(n),n},v.nodeId=function(n){return arguments.length?(m=typeof n=="function"?n:H(n),v):m},v.nodeAlign=function(n){return arguments.length?(r=typeof n=="function"?n:H(n),v):r},v.nodeSort=function(n){return arguments.length?(o=n,v):o},v.nodeWidth=function(n){return arguments.length?(h=+n,v):h},v.nodePadding=function(n){return arguments.length?(b=p=+n,v):b},v.nodes=function(n){return arguments.length?(k=typeof n=="function"?n:H(n),v):k},v.links=function(n){return arguments.length?(x=typeof n=="function"?n:H(n),v):x},v.linkSort=function(n){return arguments.length?(l=n,v):l},v.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],v):[i-t,a-e]},v.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],v):[[t,e],[i,a]]},v.iterations=function(n){return arguments.length?(d=+n,v):d};function M({nodes:n,links:y}){for(const[c,s]of n.entries())s.index=c,s.sourceLinks=[],s.targetLinks=[];const u=new Map(n.map((c,s)=>[m(c,s,n),c]));for(const[c,s]of y.entries()){s.index=c;let{source:_,target:S}=s;typeof _!="object"&&(_=s.source=ut(u,_)),typeof S!="object"&&(S=s.target=ut(u,S)),_.sourceLinks.push(s),S.targetLinks.push(s)}if(l!=null)for(const{sourceLinks:c,targetLinks:s}of n)c.sort(l),s.sort(l)}function T({nodes:n}){for(const y of n)y.value=y.fixedValue===void 0?Math.max(et(y.sourceLinks,nt),et(y.targetLinks,nt)):y.fixedValue}function N({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,s=0;for(;u.size;){for(const _ of u){_.depth=s;for(const{target:S}of _.sourceLinks)c.add(S)}if(++s>y)throw new Error("circular link");u=c,c=new Set}}function I({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,s=0;for(;u.size;){for(const _ of u){_.height=s;for(const{source:S}of _.targetLinks)c.add(S)}if(++s>y)throw new Error("circular link");u=c,c=new Set}}function $({nodes:n}){const y=at(n,s=>s.depth)+1,u=(i-t-h)/(y-1),c=new Array(y);for(const s of n){const _=Math.max(0,Math.min(y-1,Math.floor(r.call(null,s,y))));s.layer=_,s.x0=t+_*u,s.x1=s.x0+h,c[_]?c[_].push(s):c[_]=[s]}if(o)for(const s of c)s.sort(o);return c}function R(n){const y=dt(n,u=>(a-e-(u.length-1)*p)/et(u,nt));for(const u of n){let c=e;for(const s of u){s.y0=c,s.y1=c+s.value*y,c=s.y1+p;for(const _ of s.sourceLinks)_.width=_.value*y}c=(a-c+p)/(u.length+1);for(let s=0;s<u.length;++s){const _=u[s];_.y0+=c*(s+1),_.y1+=c*(s+1)}A(u)}}function w(n){const y=$(n);p=Math.min(b,(a-e)/(at(y,u=>u.length)-1)),R(y);for(let u=0;u<d;++u){const c=Math.pow(.99,u),s=Math.max(1-c,(u+1)/d);B(y,c,s),C(y,c,s)}}function C(n,y,u){for(let c=1,s=n.length;c<s;++c){const _=n[c];for(const S of _){let L=0,F=0;for(const{source:q,value:tt}of S.targetLinks){let Y=tt*(S.layer-q.layer);L+=j(q,S)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function B(n,y,u){for(let c=n.length,s=c-2;s>=0;--s){const _=n[s];for(const S of _){let L=0,F=0;for(const{target:q,value:tt}of S.sourceLinks){let Y=tt*(q.layer-S.layer);L+=P(S,q)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function O(n,y){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,y),D(n,c.y1+p,u+1,y),g(n,a,n.length-1,y),D(n,e,0,y)}function D(n,y,u,c){for(;u<n.length;++u){const s=n[u],_=(y-s.y0)*c;_>1e-6&&(s.y0+=_,s.y1+=_),y=s.y1+p}}function g(n,y,u,c){for(;u>=0;--u){const s=n[u],_=(s.y1-y)*c;_>1e-6&&(s.y0-=_,s.y1-=_),y=s.y0-p}}function E({sourceLinks:n,targetLinks:y}){if(l===void 0){for(const{source:{sourceLinks:u}}of y)u.sort(ct);for(const{target:{targetLinks:u}}of n)u.sort(lt)}}function A(n){if(l===void 0)for(const{sourceLinks:y,targetLinks:u}of n)y.sort(ct),u.sort(lt)}function j(n,y){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:s}of n.sourceLinks){if(c===y)break;u+=s+p}for(const{source:c,width:s}of y.targetLinks){if(c===n)break;u-=s}return u}function P(n,y){let u=y.y0-(y.targetLinks.length-1)*p/2;for(const{source:c,width:s}of y.targetLinks){if(c===n)break;u+=s+p}for(const{target:c,width:s}of n.sourceLinks){if(c===y)break;u-=s}return u}return v}var it=Math.PI,rt=2*it,V=1e-6,Tt=rt-V;function st(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new st}st.prototype=pt.prototype={constructor:st,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,b){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+b)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var b=this._x1,p=this._y1,m=i-t,r=a-e,o=b-t,l=p-e,k=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(k>V)if(!(Math.abs(l*m-r*o)>V)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var x=i-b,d=a-p,v=m*m+r*r,M=x*x+d*d,T=Math.sqrt(v),N=Math.sqrt(k),I=h*Math.tan((it-Math.acos((v+k-M)/(2*T*N)))/2),$=I/N,R=I/T;Math.abs($-1)>V&&(this._+="L"+(t+$*o)+","+(e+$*l)),this._+="A"+h+","+h+",0,0,"+ +(l*x>o*d)+","+(this._x1=t+R*m)+","+(this._y1=e+R*r)}},arc:function(t,e,i,a,h,b){t=+t,e=+e,i=+i,b=!!b;var p=i*Math.cos(a),m=i*Math.sin(a),r=t+p,o=e+m,l=1^b,k=b?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+r+","+o:(Math.abs(this._x1-r)>V||Math.abs(this._y1-o)>V)&&(this._+="L"+r+","+o),i&&(k<0&&(k=k%rt+rt),k>Tt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-m)+"A"+i+","+i+",0,1,"+l+","+(this._x1=r)+","+(this._y1=o):k>V&&(this._+="A"+i+","+i+",0,"+ +(k>=it)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Nt(t){return t[1]}var Pt=Array.prototype.slice;function Ct(t){return t.source}function It(t){return t.target}function Ot(t){var e=Ct,i=It,a=Mt,h=Nt,b=null;function p(){var m,r=Pt.call(arguments),o=e.apply(this,r),l=i.apply(this,r);if(b||(b=m=pt()),t(b,+a.apply(this,(r[0]=o,r)),+h.apply(this,r),+a.apply(this,(r[0]=l,r)),+h.apply(this,r)),m)return b=null,m+""||null}return p.source=function(m){return arguments.length?(e=m,p):e},p.target=function(m){return arguments.length?(i=m,p):i},p.x=function(m){return arguments.length?(a=typeof m=="function"?m:ft(+m),p):a},p.y=function(m){return arguments.length?(h=typeof m=="function"?m:ft(+m),p):h},p.context=function(m){return arguments.length?(b=m??null,p):b},p}function Dt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function $t(){return Ot(Dt)}function jt(t){return[t.source.x1,t.y0]}function zt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(jt).target(zt)}var ot=function(){var t=f.__name(function(m,r,o,l){for(o=o||{},l=m.length;l--;o[m[l]]=r);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:f.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:f.__name(function(r,o,l,k,x,d,v){var M=d.length-1;switch(x){case 7:const T=k.findOrCreateNode(d[M-4].trim().replaceAll('""','"')),N=k.findOrCreateNode(d[M-2].trim().replaceAll('""','"')),I=parseFloat(d[M].trim());k.addLink(T,N,I);break;case 8:case 9:case 11:this.$=d[M];break;case 10:this.$=d[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:f.__name(function(r,o){if(o.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=o,l}},"parseError"),parse:f.__name(function(r){var o=this,l=[0],k=[],x=[null],d=[],v=this.table,M="",T=0,N=0,I=2,$=1,R=d.slice.call(arguments,1),w=Object.create(this.lexer),C={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(C.yy[B]=this.yy[B]);w.setInput(r,C.yy),C.yy.lexer=w,C.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var O=w.yylloc;d.push(O);var D=w.options&&w.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,x.length=x.length-L,d.length=d.length-L}f.__name(g,"popStack");function E(){var L;return L=k.pop()||w.lex()||$,typeof L!="number"&&(L instanceof Array&&(k=L,L=k.pop()),L=o.symbols_[L]||L),L}f.__name(E,"lex");for(var A,j,P,n,y={},u,c,s,_;;){if(j=l[l.length-1],this.defaultActions[j]?P=this.defaultActions[j]:((A===null||typeof A>"u")&&(A=E()),P=v[j]&&v[j][A]),typeof P>"u"||!P.length||!P[0]){var S="";_=[];for(u in v[j])this.terminals_[u]&&u>I&&_.push("'"+this.terminals_[u]+"'");w.showPosition?S="Parse error on line "+(T+1)+`:
|
|
2
2
|
`+w.showPosition()+`
|
|
3
3
|
Expecting `+_.join(", ")+", got '"+(this.terminals_[A]||A)+"'":S="Parse error on line "+(T+1)+": Unexpected "+(A==$?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(S,{text:w.match,token:this.terminals_[A]||A,line:w.yylineno,loc:O,expected:_})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+A);switch(P[0]){case 1:l.push(A),x.push(w.yytext),d.push(w.yylloc),l.push(P[1]),A=null,N=w.yyleng,M=w.yytext,T=w.yylineno,O=w.yylloc;break;case 2:if(c=this.productions_[P[1]][1],y.$=x[x.length-c],y._$={first_line:d[d.length-(c||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(c||1)].first_column,last_column:d[d.length-1].last_column},D&&(y._$.range=[d[d.length-(c||1)].range[0],d[d.length-1].range[1]]),n=this.performAction.apply(y,[M,N,T,C.yy,P[1],x,d].concat(R)),typeof n<"u")return n;c&&(l=l.slice(0,-1*c*2),x=x.slice(0,-1*c),d=d.slice(0,-1*c)),l.push(this.productions_[P[1]][0]),x.push(y.$),d.push(y._$),s=v[l[l.length-2]][l[l.length-1]],l.push(s);break;case 3:return!0}}return!0},"parse")},b=function(){var m={EOF:1,parseError:f.__name(function(o,l){if(this.yy.parser)this.yy.parser.parseError(o,l);else throw new Error(o)},"parseError"),setInput:f.__name(function(r,o){return this.yy=o||this.yy||{},this._input=r,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.__name(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var o=r.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:f.__name(function(r){var o=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var k=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),l.length-1&&(this.yylineno-=l.length-1);var x=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:l?(l.length===k.length?this.yylloc.first_column:0)+k[k.length-l.length].length-l[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:f.__name(function(){return this._more=!0,this},"more"),reject:f.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f.__name(function(r){this.unput(this.match.slice(r))},"less"),pastInput:f.__name(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f.__name(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f.__name(function(){var r=this.pastInput(),o=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
package/dist/{sequenceDiagram-WL72ISMW-Ynr9fiLi.cjs → sequenceDiagram-WL72ISMW-CvEjXOwq.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("./chunk-TZMSLE5B-CKDHZ8_P.cjs"),i=require("./index-BbDOaUrF.cjs"),ne=require("./chunk-QZHKN3VN-C86H95Tu.cjs");var Ot=function(){var e=i.__name(function(ot,w,L,v){for(L=L||{},v=ot.length;v--;L[ot[v]]=w);return L},"o"),t=[1,2],o=[1,3],a=[1,4],r=[2,4],n=[1,9],l=[1,11],d=[1,13],c=[1,14],s=[1,16],u=[1,17],f=[1,18],x=[1,24],m=[1,25],E=[1,26],b=[1,27],A=[1,28],P=[1,29],N=[1,30],C=[1,31],O=[1,32],F=[1,33],q=[1,34],X=[1,35],j=[1,36],z=[1,37],H=[1,38],W=[1,39],R=[1,41],Q=[1,42],K=[1,43],Z=[1,44],tt=[1,45],M=[1,46],T=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,55,60,61,62,63,71],I=[2,71],U=[4,5,16,50,52,53],J=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,55,60,61,62,63,71],S=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,55,60,61,62,63,71],Nt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,55,60,61,62,63,71],Yt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,55,60,61,62,63,71],st=[69,70,71],it=[1,127],St={trace:i.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,actor_with_config:54,note:55,placement:56,text2:57,over:58,actor_pair:59,links:60,link:61,properties:62,details:63,spaceList:64,",":65,left_of:66,right_of:67,signaltype:68,"+":69,"-":70,ACTOR:71,config_object:72,CONFIG_START:73,CONFIG_CONTENT:74,CONFIG_END:75,SOLID_OPEN_ARROW:76,DOTTED_OPEN_ARROW:77,SOLID_ARROW:78,BIDIRECTIONAL_SOLID_ARROW:79,DOTTED_ARROW:80,BIDIRECTIONAL_DOTTED_ARROW:81,SOLID_CROSS:82,DOTTED_CROSS:83,SOLID_POINT:84,DOTTED_POINT:85,TXT:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",55:"note",58:"over",60:"links",61:"link",62:"properties",63:"details",65:",",66:"left_of",67:"right_of",69:"+",70:"-",71:"ACTOR",73:"CONFIG_START",74:"CONFIG_CONTENT",75:"CONFIG_END",76:"SOLID_OPEN_ARROW",77:"DOTTED_OPEN_ARROW",78:"SOLID_ARROW",79:"BIDIRECTIONAL_SOLID_ARROW",80:"DOTTED_ARROW",81:"BIDIRECTIONAL_DOTTED_ARROW",82:"SOLID_CROSS",83:"DOTTED_CROSS",84:"SOLID_POINT",85:"DOTTED_POINT",86:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[64,2],[64,1],[59,3],[59,1],[56,1],[56,1],[17,5],[17,5],[17,4],[54,2],[72,3],[22,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[57,1]],performAction:i.__name(function(w,L,v,y,D,p,Tt){var g=p.length-1;switch(D){case 3:return y.apply(p[g]),p[g];case 4:case 9:this.$=[];break;case 5:case 10:p[g-1].push(p[g]),this.$=p[g-1];break;case 6:case 7:case 11:case 12:this.$=p[g];break;case 8:case 13:this.$=[];break;case 15:p[g].type="createParticipant",this.$=p[g];break;case 16:p[g-1].unshift({type:"boxStart",boxData:y.parseBoxData(p[g-2])}),p[g-1].push({type:"boxEnd",boxText:p[g-2]}),this.$=p[g-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(p[g-2]),sequenceIndexStep:Number(p[g-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(p[g-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:p[g-1].actor};break;case 23:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:p[g-1].actor};break;case 29:y.setDiagramTitle(p[g].substring(6)),this.$=p[g].substring(6);break;case 30:y.setDiagramTitle(p[g].substring(7)),this.$=p[g].substring(7);break;case 31:this.$=p[g].trim(),y.setAccTitle(this.$);break;case 32:case 33:this.$=p[g].trim(),y.setAccDescription(this.$);break;case 34:p[g-1].unshift({type:"loopStart",loopText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.LOOP_START}),p[g-1].push({type:"loopEnd",loopText:p[g-2],signalType:y.LINETYPE.LOOP_END}),this.$=p[g-1];break;case 35:p[g-1].unshift({type:"rectStart",color:y.parseMessage(p[g-2]),signalType:y.LINETYPE.RECT_START}),p[g-1].push({type:"rectEnd",color:y.parseMessage(p[g-2]),signalType:y.LINETYPE.RECT_END}),this.$=p[g-1];break;case 36:p[g-1].unshift({type:"optStart",optText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.OPT_START}),p[g-1].push({type:"optEnd",optText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.OPT_END}),this.$=p[g-1];break;case 37:p[g-1].unshift({type:"altStart",altText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.ALT_START}),p[g-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=p[g-1];break;case 38:p[g-1].unshift({type:"parStart",parText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.PAR_START}),p[g-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=p[g-1];break;case 39:p[g-1].unshift({type:"parStart",parText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.PAR_OVER_START}),p[g-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=p[g-1];break;case 40:p[g-1].unshift({type:"criticalStart",criticalText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.CRITICAL_START}),p[g-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=p[g-1];break;case 41:p[g-1].unshift({type:"breakStart",breakText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.BREAK_START}),p[g-1].push({type:"breakEnd",optText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.BREAK_END}),this.$=p[g-1];break;case 43:this.$=p[g-3].concat([{type:"option",optionText:y.parseMessage(p[g-1]),signalType:y.LINETYPE.CRITICAL_OPTION},p[g]]);break;case 45:this.$=p[g-3].concat([{type:"and",parText:y.parseMessage(p[g-1]),signalType:y.LINETYPE.PAR_AND},p[g]]);break;case 47:this.$=p[g-3].concat([{type:"else",altText:y.parseMessage(p[g-1]),signalType:y.LINETYPE.ALT_ELSE},p[g]]);break;case 48:p[g-3].draw="participant",p[g-3].type="addParticipant",p[g-3].description=y.parseMessage(p[g-1]),this.$=p[g-3];break;case 49:p[g-1].draw="participant",p[g-1].type="addParticipant",this.$=p[g-1];break;case 50:p[g-3].draw="actor",p[g-3].type="addParticipant",p[g-3].description=y.parseMessage(p[g-1]),this.$=p[g-3];break;case 51:p[g-1].draw="actor",p[g-1].type="addParticipant",this.$=p[g-1];break;case 52:p[g-1].type="destroyParticipant",this.$=p[g-1];break;case 53:p[g-1].draw="participant",p[g-1].type="addParticipant",this.$=p[g-1];break;case 54:this.$=[p[g-1],{type:"addNote",placement:p[g-2],actor:p[g-1].actor,text:p[g]}];break;case 55:p[g-2]=[].concat(p[g-1],p[g-1]).slice(0,2),p[g-2][0]=p[g-2][0].actor,p[g-2][1]=p[g-2][1].actor,this.$=[p[g-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:p[g-2].slice(0,2),text:p[g]}];break;case 56:this.$=[p[g-1],{type:"addLinks",actor:p[g-1].actor,text:p[g]}];break;case 57:this.$=[p[g-1],{type:"addALink",actor:p[g-1].actor,text:p[g]}];break;case 58:this.$=[p[g-1],{type:"addProperties",actor:p[g-1].actor,text:p[g]}];break;case 59:this.$=[p[g-1],{type:"addDetails",actor:p[g-1].actor,text:p[g]}];break;case 62:this.$=[p[g-2],p[g]];break;case 63:this.$=p[g];break;case 64:this.$=y.PLACEMENT.LEFTOF;break;case 65:this.$=y.PLACEMENT.RIGHTOF;break;case 66:this.$=[p[g-4],p[g-1],{type:"addMessage",from:p[g-4].actor,to:p[g-1].actor,signalType:p[g-3],msg:p[g],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:p[g-1].actor}];break;case 67:this.$=[p[g-4],p[g-1],{type:"addMessage",from:p[g-4].actor,to:p[g-1].actor,signalType:p[g-3],msg:p[g]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:p[g-4].actor}];break;case 68:this.$=[p[g-3],p[g-1],{type:"addMessage",from:p[g-3].actor,to:p[g-1].actor,signalType:p[g-2],msg:p[g]}];break;case 69:this.$={type:"addParticipant",actor:p[g-1],config:p[g]};break;case 70:this.$=p[g-1].trim();break;case 71:this.$={type:"addParticipant",actor:p[g]};break;case 72:this.$=y.LINETYPE.SOLID_OPEN;break;case 73:this.$=y.LINETYPE.DOTTED_OPEN;break;case 74:this.$=y.LINETYPE.SOLID;break;case 75:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 76:this.$=y.LINETYPE.DOTTED;break;case 77:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 78:this.$=y.LINETYPE.SOLID_CROSS;break;case 79:this.$=y.LINETYPE.DOTTED_CROSS;break;case 80:this.$=y.LINETYPE.SOLID_POINT;break;case 81:this.$=y.LINETYPE.DOTTED_POINT;break;case 82:this.$=y.parseMessage(p[g].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:o,6:a},{1:[3]},{3:5,4:t,5:o,6:a},{3:6,4:t,5:o,6:a},e([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,55,60,61,62,63,71],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:l,8:8,9:10,12:12,13:d,14:c,17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},e(T,[2,5]),{9:47,12:12,13:d,14:c,17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},e(T,[2,7]),e(T,[2,8]),e(T,[2,14]),{12:48,50:z,52:H,53:W},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,71:M},{22:55,71:M},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},e(T,[2,29]),e(T,[2,30]),{32:[1,61]},{34:[1,62]},e(T,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,54:72,71:[1,73]},{22:74,71:M},{22:75,71:M},{68:76,76:[1,77],77:[1,78],78:[1,79],79:[1,80],80:[1,81],81:[1,82],82:[1,83],83:[1,84],84:[1,85],85:[1,86]},{56:87,58:[1,88],66:[1,89],67:[1,90]},{22:91,71:M},{22:92,71:M},{22:93,71:M},{22:94,71:M},e([5,51,65,76,77,78,79,80,81,82,83,84,85,86],I),e(T,[2,6]),e(T,[2,15]),e(U,[2,9],{10:95}),e(T,[2,17]),{5:[1,97],19:[1,96]},{5:[1,98]},e(T,[2,21]),{5:[1,99]},{5:[1,100]},e(T,[2,24]),e(T,[2,25]),e(T,[2,26]),e(T,[2,27]),e(T,[2,28]),e(T,[2,31]),e(T,[2,32]),e(J,r,{7:101}),e(J,r,{7:102}),e(J,r,{7:103}),e(S,r,{40:104,7:105}),e(Nt,r,{42:106,7:107}),e(Nt,r,{7:107,42:108}),e(Yt,r,{45:109,7:110}),e(J,r,{7:111}),{5:[1,113],51:[1,112]},{5:[1,114]},e([5,51],I,{72:115,73:[1,116]}),{5:[1,118],51:[1,117]},{5:[1,119]},{22:122,69:[1,120],70:[1,121],71:M},e(st,[2,72]),e(st,[2,73]),e(st,[2,74]),e(st,[2,75]),e(st,[2,76]),e(st,[2,77]),e(st,[2,78]),e(st,[2,79]),e(st,[2,80]),e(st,[2,81]),{22:123,71:M},{22:125,59:124,71:M},{71:[2,64]},{71:[2,65]},{57:126,86:it},{57:128,86:it},{57:129,86:it},{57:130,86:it},{4:[1,133],5:[1,135],11:132,12:134,16:[1,131],50:z,52:H,53:W},{5:[1,136]},e(T,[2,19]),e(T,[2,20]),e(T,[2,22]),e(T,[2,23]),{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[1,137],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[1,138],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[1,139],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{16:[1,140]},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[2,46],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,49:[1,141],50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{16:[1,142]},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[2,44],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,48:[1,143],50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{16:[1,144]},{16:[1,145]},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[2,42],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,47:[1,146],50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[1,147],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{15:[1,148]},e(T,[2,49]),e(T,[2,53]),{5:[2,69]},{74:[1,149]},{15:[1,150]},e(T,[2,51]),e(T,[2,52]),{22:151,71:M},{22:152,71:M},{57:153,86:it},{57:154,86:it},{57:155,86:it},{65:[1,156],86:[2,63]},{5:[2,56]},{5:[2,82]},{5:[2,57]},{5:[2,58]},{5:[2,59]},e(T,[2,16]),e(U,[2,10]),{12:157,50:z,52:H,53:W},e(U,[2,12]),e(U,[2,13]),e(T,[2,18]),e(T,[2,34]),e(T,[2,35]),e(T,[2,36]),e(T,[2,37]),{15:[1,158]},e(T,[2,38]),{15:[1,159]},e(T,[2,39]),e(T,[2,40]),{15:[1,160]},e(T,[2,41]),{5:[1,161]},{75:[1,162]},{5:[1,163]},{57:164,86:it},{57:165,86:it},{5:[2,68]},{5:[2,54]},{5:[2,55]},{22:166,71:M},e(U,[2,11]),e(S,r,{7:105,40:167}),e(Nt,r,{7:107,42:168}),e(Yt,r,{7:110,45:169}),e(T,[2,48]),{5:[2,70]},e(T,[2,50]),{5:[2,66]},{5:[2,67]},{86:[2,62]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],89:[2,64],90:[2,65],115:[2,69],126:[2,56],127:[2,82],128:[2,57],129:[2,58],130:[2,59],153:[2,68],154:[2,54],155:[2,55],162:[2,70],164:[2,66],165:[2,67],166:[2,62],167:[2,47],168:[2,45],169:[2,43]},parseError:i.__name(function(w,L){if(L.recoverable)this.trace(w);else{var v=new Error(w);throw v.hash=L,v}},"parseError"),parse:i.__name(function(w){var L=this,v=[0],y=[],D=[null],p=[],Tt=this.table,g="",bt=0,Wt=0,ae=2,Ft=1,se=p.slice.call(arguments,1),Y=Object.create(this.lexer),dt={yy:{}};for(var Mt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Mt)&&(dt.yy[Mt]=this.yy[Mt]);Y.setInput(w,dt.yy),dt.yy.lexer=Y,dt.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var Rt=Y.yylloc;p.push(Rt);var ie=Y.options&&Y.options.ranges;typeof dt.yy.parseError=="function"?this.parseError=dt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re($){v.length=v.length-2*$,D.length=D.length-$,p.length=p.length-$}i.__name(re,"popStack");function qt(){var $;return $=y.pop()||Y.lex()||Ft,typeof $!="number"&&($ instanceof Array&&(y=$,$=y.pop()),$=L.symbols_[$]||$),$}i.__name(qt,"lex");for(var G,pt,et,Dt,ft={},wt,rt,zt,vt;;){if(pt=v[v.length-1],this.defaultActions[pt]?et=this.defaultActions[pt]:((G===null||typeof G>"u")&&(G=qt()),et=Tt[pt]&&Tt[pt][G]),typeof et>"u"||!et.length||!et[0]){var Ct="";vt=[];for(wt in Tt[pt])this.terminals_[wt]&&wt>ae&&vt.push("'"+this.terminals_[wt]+"'");Y.showPosition?Ct="Parse error on line "+(bt+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("./chunk-TZMSLE5B-CxRK1C_y.cjs"),i=require("./index-C7TBTVdT.cjs"),ne=require("./chunk-QZHKN3VN-CGSq2gsc.cjs");var Ot=function(){var e=i.__name(function(ot,w,L,v){for(L=L||{},v=ot.length;v--;L[ot[v]]=w);return L},"o"),t=[1,2],o=[1,3],a=[1,4],r=[2,4],n=[1,9],l=[1,11],d=[1,13],c=[1,14],s=[1,16],u=[1,17],f=[1,18],x=[1,24],m=[1,25],E=[1,26],b=[1,27],A=[1,28],P=[1,29],N=[1,30],C=[1,31],O=[1,32],F=[1,33],q=[1,34],X=[1,35],j=[1,36],z=[1,37],H=[1,38],W=[1,39],R=[1,41],Q=[1,42],K=[1,43],Z=[1,44],tt=[1,45],M=[1,46],T=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,55,60,61,62,63,71],I=[2,71],U=[4,5,16,50,52,53],J=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,55,60,61,62,63,71],S=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,55,60,61,62,63,71],Nt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,55,60,61,62,63,71],Yt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,55,60,61,62,63,71],st=[69,70,71],it=[1,127],St={trace:i.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,actor_with_config:54,note:55,placement:56,text2:57,over:58,actor_pair:59,links:60,link:61,properties:62,details:63,spaceList:64,",":65,left_of:66,right_of:67,signaltype:68,"+":69,"-":70,ACTOR:71,config_object:72,CONFIG_START:73,CONFIG_CONTENT:74,CONFIG_END:75,SOLID_OPEN_ARROW:76,DOTTED_OPEN_ARROW:77,SOLID_ARROW:78,BIDIRECTIONAL_SOLID_ARROW:79,DOTTED_ARROW:80,BIDIRECTIONAL_DOTTED_ARROW:81,SOLID_CROSS:82,DOTTED_CROSS:83,SOLID_POINT:84,DOTTED_POINT:85,TXT:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",55:"note",58:"over",60:"links",61:"link",62:"properties",63:"details",65:",",66:"left_of",67:"right_of",69:"+",70:"-",71:"ACTOR",73:"CONFIG_START",74:"CONFIG_CONTENT",75:"CONFIG_END",76:"SOLID_OPEN_ARROW",77:"DOTTED_OPEN_ARROW",78:"SOLID_ARROW",79:"BIDIRECTIONAL_SOLID_ARROW",80:"DOTTED_ARROW",81:"BIDIRECTIONAL_DOTTED_ARROW",82:"SOLID_CROSS",83:"DOTTED_CROSS",84:"SOLID_POINT",85:"DOTTED_POINT",86:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[64,2],[64,1],[59,3],[59,1],[56,1],[56,1],[17,5],[17,5],[17,4],[54,2],[72,3],[22,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[68,1],[57,1]],performAction:i.__name(function(w,L,v,y,D,p,Tt){var g=p.length-1;switch(D){case 3:return y.apply(p[g]),p[g];case 4:case 9:this.$=[];break;case 5:case 10:p[g-1].push(p[g]),this.$=p[g-1];break;case 6:case 7:case 11:case 12:this.$=p[g];break;case 8:case 13:this.$=[];break;case 15:p[g].type="createParticipant",this.$=p[g];break;case 16:p[g-1].unshift({type:"boxStart",boxData:y.parseBoxData(p[g-2])}),p[g-1].push({type:"boxEnd",boxText:p[g-2]}),this.$=p[g-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(p[g-2]),sequenceIndexStep:Number(p[g-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(p[g-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:p[g-1].actor};break;case 23:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:p[g-1].actor};break;case 29:y.setDiagramTitle(p[g].substring(6)),this.$=p[g].substring(6);break;case 30:y.setDiagramTitle(p[g].substring(7)),this.$=p[g].substring(7);break;case 31:this.$=p[g].trim(),y.setAccTitle(this.$);break;case 32:case 33:this.$=p[g].trim(),y.setAccDescription(this.$);break;case 34:p[g-1].unshift({type:"loopStart",loopText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.LOOP_START}),p[g-1].push({type:"loopEnd",loopText:p[g-2],signalType:y.LINETYPE.LOOP_END}),this.$=p[g-1];break;case 35:p[g-1].unshift({type:"rectStart",color:y.parseMessage(p[g-2]),signalType:y.LINETYPE.RECT_START}),p[g-1].push({type:"rectEnd",color:y.parseMessage(p[g-2]),signalType:y.LINETYPE.RECT_END}),this.$=p[g-1];break;case 36:p[g-1].unshift({type:"optStart",optText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.OPT_START}),p[g-1].push({type:"optEnd",optText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.OPT_END}),this.$=p[g-1];break;case 37:p[g-1].unshift({type:"altStart",altText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.ALT_START}),p[g-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=p[g-1];break;case 38:p[g-1].unshift({type:"parStart",parText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.PAR_START}),p[g-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=p[g-1];break;case 39:p[g-1].unshift({type:"parStart",parText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.PAR_OVER_START}),p[g-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=p[g-1];break;case 40:p[g-1].unshift({type:"criticalStart",criticalText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.CRITICAL_START}),p[g-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=p[g-1];break;case 41:p[g-1].unshift({type:"breakStart",breakText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.BREAK_START}),p[g-1].push({type:"breakEnd",optText:y.parseMessage(p[g-2]),signalType:y.LINETYPE.BREAK_END}),this.$=p[g-1];break;case 43:this.$=p[g-3].concat([{type:"option",optionText:y.parseMessage(p[g-1]),signalType:y.LINETYPE.CRITICAL_OPTION},p[g]]);break;case 45:this.$=p[g-3].concat([{type:"and",parText:y.parseMessage(p[g-1]),signalType:y.LINETYPE.PAR_AND},p[g]]);break;case 47:this.$=p[g-3].concat([{type:"else",altText:y.parseMessage(p[g-1]),signalType:y.LINETYPE.ALT_ELSE},p[g]]);break;case 48:p[g-3].draw="participant",p[g-3].type="addParticipant",p[g-3].description=y.parseMessage(p[g-1]),this.$=p[g-3];break;case 49:p[g-1].draw="participant",p[g-1].type="addParticipant",this.$=p[g-1];break;case 50:p[g-3].draw="actor",p[g-3].type="addParticipant",p[g-3].description=y.parseMessage(p[g-1]),this.$=p[g-3];break;case 51:p[g-1].draw="actor",p[g-1].type="addParticipant",this.$=p[g-1];break;case 52:p[g-1].type="destroyParticipant",this.$=p[g-1];break;case 53:p[g-1].draw="participant",p[g-1].type="addParticipant",this.$=p[g-1];break;case 54:this.$=[p[g-1],{type:"addNote",placement:p[g-2],actor:p[g-1].actor,text:p[g]}];break;case 55:p[g-2]=[].concat(p[g-1],p[g-1]).slice(0,2),p[g-2][0]=p[g-2][0].actor,p[g-2][1]=p[g-2][1].actor,this.$=[p[g-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:p[g-2].slice(0,2),text:p[g]}];break;case 56:this.$=[p[g-1],{type:"addLinks",actor:p[g-1].actor,text:p[g]}];break;case 57:this.$=[p[g-1],{type:"addALink",actor:p[g-1].actor,text:p[g]}];break;case 58:this.$=[p[g-1],{type:"addProperties",actor:p[g-1].actor,text:p[g]}];break;case 59:this.$=[p[g-1],{type:"addDetails",actor:p[g-1].actor,text:p[g]}];break;case 62:this.$=[p[g-2],p[g]];break;case 63:this.$=p[g];break;case 64:this.$=y.PLACEMENT.LEFTOF;break;case 65:this.$=y.PLACEMENT.RIGHTOF;break;case 66:this.$=[p[g-4],p[g-1],{type:"addMessage",from:p[g-4].actor,to:p[g-1].actor,signalType:p[g-3],msg:p[g],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:p[g-1].actor}];break;case 67:this.$=[p[g-4],p[g-1],{type:"addMessage",from:p[g-4].actor,to:p[g-1].actor,signalType:p[g-3],msg:p[g]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:p[g-4].actor}];break;case 68:this.$=[p[g-3],p[g-1],{type:"addMessage",from:p[g-3].actor,to:p[g-1].actor,signalType:p[g-2],msg:p[g]}];break;case 69:this.$={type:"addParticipant",actor:p[g-1],config:p[g]};break;case 70:this.$=p[g-1].trim();break;case 71:this.$={type:"addParticipant",actor:p[g]};break;case 72:this.$=y.LINETYPE.SOLID_OPEN;break;case 73:this.$=y.LINETYPE.DOTTED_OPEN;break;case 74:this.$=y.LINETYPE.SOLID;break;case 75:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 76:this.$=y.LINETYPE.DOTTED;break;case 77:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 78:this.$=y.LINETYPE.SOLID_CROSS;break;case 79:this.$=y.LINETYPE.DOTTED_CROSS;break;case 80:this.$=y.LINETYPE.SOLID_POINT;break;case 81:this.$=y.LINETYPE.DOTTED_POINT;break;case 82:this.$=y.parseMessage(p[g].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:o,6:a},{1:[3]},{3:5,4:t,5:o,6:a},{3:6,4:t,5:o,6:a},e([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,55,60,61,62,63,71],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:l,8:8,9:10,12:12,13:d,14:c,17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},e(T,[2,5]),{9:47,12:12,13:d,14:c,17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},e(T,[2,7]),e(T,[2,8]),e(T,[2,14]),{12:48,50:z,52:H,53:W},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,71:M},{22:55,71:M},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},e(T,[2,29]),e(T,[2,30]),{32:[1,61]},{34:[1,62]},e(T,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,54:72,71:[1,73]},{22:74,71:M},{22:75,71:M},{68:76,76:[1,77],77:[1,78],78:[1,79],79:[1,80],80:[1,81],81:[1,82],82:[1,83],83:[1,84],84:[1,85],85:[1,86]},{56:87,58:[1,88],66:[1,89],67:[1,90]},{22:91,71:M},{22:92,71:M},{22:93,71:M},{22:94,71:M},e([5,51,65,76,77,78,79,80,81,82,83,84,85,86],I),e(T,[2,6]),e(T,[2,15]),e(U,[2,9],{10:95}),e(T,[2,17]),{5:[1,97],19:[1,96]},{5:[1,98]},e(T,[2,21]),{5:[1,99]},{5:[1,100]},e(T,[2,24]),e(T,[2,25]),e(T,[2,26]),e(T,[2,27]),e(T,[2,28]),e(T,[2,31]),e(T,[2,32]),e(J,r,{7:101}),e(J,r,{7:102}),e(J,r,{7:103}),e(S,r,{40:104,7:105}),e(Nt,r,{42:106,7:107}),e(Nt,r,{7:107,42:108}),e(Yt,r,{45:109,7:110}),e(J,r,{7:111}),{5:[1,113],51:[1,112]},{5:[1,114]},e([5,51],I,{72:115,73:[1,116]}),{5:[1,118],51:[1,117]},{5:[1,119]},{22:122,69:[1,120],70:[1,121],71:M},e(st,[2,72]),e(st,[2,73]),e(st,[2,74]),e(st,[2,75]),e(st,[2,76]),e(st,[2,77]),e(st,[2,78]),e(st,[2,79]),e(st,[2,80]),e(st,[2,81]),{22:123,71:M},{22:125,59:124,71:M},{71:[2,64]},{71:[2,65]},{57:126,86:it},{57:128,86:it},{57:129,86:it},{57:130,86:it},{4:[1,133],5:[1,135],11:132,12:134,16:[1,131],50:z,52:H,53:W},{5:[1,136]},e(T,[2,19]),e(T,[2,20]),e(T,[2,22]),e(T,[2,23]),{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[1,137],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[1,138],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[1,139],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{16:[1,140]},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[2,46],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,49:[1,141],50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{16:[1,142]},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[2,44],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,48:[1,143],50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{16:[1,144]},{16:[1,145]},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[2,42],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,47:[1,146],50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{4:n,5:l,8:8,9:10,12:12,13:d,14:c,16:[1,147],17:15,18:s,21:u,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:x,30:m,31:E,33:b,35:A,36:P,37:N,38:C,39:O,41:F,43:q,44:X,46:j,50:z,52:H,53:W,55:R,60:Q,61:K,62:Z,63:tt,71:M},{15:[1,148]},e(T,[2,49]),e(T,[2,53]),{5:[2,69]},{74:[1,149]},{15:[1,150]},e(T,[2,51]),e(T,[2,52]),{22:151,71:M},{22:152,71:M},{57:153,86:it},{57:154,86:it},{57:155,86:it},{65:[1,156],86:[2,63]},{5:[2,56]},{5:[2,82]},{5:[2,57]},{5:[2,58]},{5:[2,59]},e(T,[2,16]),e(U,[2,10]),{12:157,50:z,52:H,53:W},e(U,[2,12]),e(U,[2,13]),e(T,[2,18]),e(T,[2,34]),e(T,[2,35]),e(T,[2,36]),e(T,[2,37]),{15:[1,158]},e(T,[2,38]),{15:[1,159]},e(T,[2,39]),e(T,[2,40]),{15:[1,160]},e(T,[2,41]),{5:[1,161]},{75:[1,162]},{5:[1,163]},{57:164,86:it},{57:165,86:it},{5:[2,68]},{5:[2,54]},{5:[2,55]},{22:166,71:M},e(U,[2,11]),e(S,r,{7:105,40:167}),e(Nt,r,{7:107,42:168}),e(Yt,r,{7:110,45:169}),e(T,[2,48]),{5:[2,70]},e(T,[2,50]),{5:[2,66]},{5:[2,67]},{86:[2,62]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],89:[2,64],90:[2,65],115:[2,69],126:[2,56],127:[2,82],128:[2,57],129:[2,58],130:[2,59],153:[2,68],154:[2,54],155:[2,55],162:[2,70],164:[2,66],165:[2,67],166:[2,62],167:[2,47],168:[2,45],169:[2,43]},parseError:i.__name(function(w,L){if(L.recoverable)this.trace(w);else{var v=new Error(w);throw v.hash=L,v}},"parseError"),parse:i.__name(function(w){var L=this,v=[0],y=[],D=[null],p=[],Tt=this.table,g="",bt=0,Wt=0,ae=2,Ft=1,se=p.slice.call(arguments,1),Y=Object.create(this.lexer),dt={yy:{}};for(var Mt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Mt)&&(dt.yy[Mt]=this.yy[Mt]);Y.setInput(w,dt.yy),dt.yy.lexer=Y,dt.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var Rt=Y.yylloc;p.push(Rt);var ie=Y.options&&Y.options.ranges;typeof dt.yy.parseError=="function"?this.parseError=dt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re($){v.length=v.length-2*$,D.length=D.length-$,p.length=p.length-$}i.__name(re,"popStack");function qt(){var $;return $=y.pop()||Y.lex()||Ft,typeof $!="number"&&($ instanceof Array&&(y=$,$=y.pop()),$=L.symbols_[$]||$),$}i.__name(qt,"lex");for(var G,pt,et,Dt,ft={},wt,rt,zt,vt;;){if(pt=v[v.length-1],this.defaultActions[pt]?et=this.defaultActions[pt]:((G===null||typeof G>"u")&&(G=qt()),et=Tt[pt]&&Tt[pt][G]),typeof et>"u"||!et.length||!et[0]){var Ct="";vt=[];for(wt in Tt[pt])this.terminals_[wt]&&wt>ae&&vt.push("'"+this.terminals_[wt]+"'");Y.showPosition?Ct="Parse error on line "+(bt+1)+`:
|
|
2
2
|
`+Y.showPosition()+`
|
|
3
3
|
Expecting `+vt.join(", ")+", got '"+(this.terminals_[G]||G)+"'":Ct="Parse error on line "+(bt+1)+": Unexpected "+(G==Ft?"end of input":"'"+(this.terminals_[G]||G)+"'"),this.parseError(Ct,{text:Y.match,token:this.terminals_[G]||G,line:Y.yylineno,loc:Rt,expected:vt})}if(et[0]instanceof Array&&et.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pt+", token: "+G);switch(et[0]){case 1:v.push(G),D.push(Y.yytext),p.push(Y.yylloc),v.push(et[1]),G=null,Wt=Y.yyleng,g=Y.yytext,bt=Y.yylineno,Rt=Y.yylloc;break;case 2:if(rt=this.productions_[et[1]][1],ft.$=D[D.length-rt],ft._$={first_line:p[p.length-(rt||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(rt||1)].first_column,last_column:p[p.length-1].last_column},ie&&(ft._$.range=[p[p.length-(rt||1)].range[0],p[p.length-1].range[1]]),Dt=this.performAction.apply(ft,[g,Wt,bt,dt.yy,et[1],D,p].concat(se)),typeof Dt<"u")return Dt;rt&&(v=v.slice(0,-1*rt*2),D=D.slice(0,-1*rt),p=p.slice(0,-1*rt)),v.push(this.productions_[et[1]][0]),D.push(ft.$),p.push(ft._$),zt=Tt[v[v.length-2]][v[v.length-1]],v.push(zt);break;case 3:return!0}}return!0},"parse")},ee=function(){var ot={EOF:1,parseError:i.__name(function(L,v){if(this.yy.parser)this.yy.parser.parseError(L,v);else throw new Error(L)},"parseError"),setInput:i.__name(function(w,L){return this.yy=L||this.yy||{},this._input=w,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:i.__name(function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var L=w.match(/(?:\r\n?|\n).*/g);return L?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},"input"),unput:i.__name(function(w){var L=w.length,v=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-L),this.offset-=L;var y=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),v.length-1&&(this.yylineno-=v.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:v?(v.length===y.length?this.yylloc.first_column:0)+y[y.length-v.length].length-v[0].length:this.yylloc.first_column-L},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-L]),this.yyleng=this.yytext.length,this},"unput"),more:i.__name(function(){return this._more=!0,this},"more"),reject:i.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i.__name(function(w){this.unput(this.match.slice(w))},"less"),pastInput:i.__name(function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i.__name(function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i.__name(function(){var w=this.pastInput(),L=new Array(w.length+1).join("-");return w+this.upcomingInput()+`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as we, b as Xt, g as ct, d as ve, c as Jt, e as Qt } from "./chunk-TZMSLE5B-
|
|
2
|
-
import { _ as f, n as Ie, c as st, d as St, l as Q, j as re, e as Le, f as _e, k as I, b as se, s as Ae, p as ke, a as Pe, g as Ne, q as Se, t as Me, J as Re, y as De, i as Mt, u as W, L as z, M as _t, N as ie, Z as Ce, O as Oe, P as ne, E as Ht } from "./index-
|
|
3
|
-
import { I as Be } from "./chunk-QZHKN3VN-
|
|
1
|
+
import { a as we, b as Xt, g as ct, d as ve, c as Jt, e as Qt } from "./chunk-TZMSLE5B-Cq71PTLY.js";
|
|
2
|
+
import { _ as f, n as Ie, c as st, d as St, l as Q, j as re, e as Le, f as _e, k as I, b as se, s as Ae, p as ke, a as Pe, g as Ne, q as Se, t as Me, J as Re, y as De, i as Mt, u as W, L as z, M as _t, N as ie, Z as Ce, O as Oe, P as ne, E as Ht } from "./index-D_T9l6nE.js";
|
|
3
|
+
import { I as Be } from "./chunk-QZHKN3VN-CHJEFz_I.js";
|
|
4
4
|
var Ut = function() {
|
|
5
5
|
var e = /* @__PURE__ */ f(function(pt, v, A, L) {
|
|
6
6
|
for (A = A || {}, L = pt.length; L--; A[pt[L]] = v) ;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as G, a as W, S as N } from "./chunk-DI55MBZ5-
|
|
2
|
-
import { _ as f, c as t, d as H, l as S, e as P, k as z, R as _, S as U, O as C, u as F } from "./index-
|
|
3
|
-
import { G as O } from "./graph-
|
|
4
|
-
import { l as J } from "./layout-
|
|
1
|
+
import { s as G, a as W, S as N } from "./chunk-DI55MBZ5-CK6Z-nEC.js";
|
|
2
|
+
import { _ as f, c as t, d as H, l as S, e as P, k as z, R as _, S as U, O as C, u as F } from "./index-D_T9l6nE.js";
|
|
3
|
+
import { G as O } from "./graph-D0AtMkIo.js";
|
|
4
|
+
import { l as J } from "./layout-UQjqivtd.js";
|
|
5
5
|
var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), "drawStartState"), D = /* @__PURE__ */ f((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), Y = /* @__PURE__ */ f((e, i) => {
|
|
6
6
|
const d = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = d.node().getBBox();
|
|
7
7
|
return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./chunk-DI55MBZ5-BG-MI06Q.cjs"),t=require("./index-BbDOaUrF.cjs"),T=require("./graph-B1yyBVUi.cjs"),H=require("./layout-HJEfFbi_.cjs");var z=t.__name(e=>e.append("circle").attr("class","start-state").attr("r",t.getConfig2().state.sizeUnit).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit),"drawStartState"),L=t.__name(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t.getConfig2().state.textHeight).attr("class","divider").attr("x2",t.getConfig2().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),A=t.__name((e,n)=>{const d=e.append("text").attr("x",2*t.getConfig2().state.padding).attr("y",t.getConfig2().state.textHeight+2*t.getConfig2().state.padding).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.id),g=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding).attr("width",g.width+2*t.getConfig2().state.padding).attr("height",g.height+2*t.getConfig2().state.padding).attr("rx",t.getConfig2().state.radius),d},"drawSimpleState"),P=t.__name((e,n)=>{const d=t.__name(function(c,m,y){const b=c.append("tspan").attr("x",2*t.getConfig2().state.padding).text(m);y||b.attr("dy",t.getConfig2().state.textHeight)},"addTspan"),o=e.append("text").attr("x",2*t.getConfig2().state.padding).attr("y",t.getConfig2().state.textHeight+1.3*t.getConfig2().state.padding).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.descriptions[0]).node().getBBox(),l=o.height,p=e.append("text").attr("x",t.getConfig2().state.padding).attr("y",l+t.getConfig2().state.padding*.4+t.getConfig2().state.dividerMargin+t.getConfig2().state.textHeight).attr("class","state-description");let i=!0,r=!0;n.descriptions.forEach(function(c){i||(d(p,c,r),r=!1),i=!1});const C=e.append("line").attr("x1",t.getConfig2().state.padding).attr("y1",t.getConfig2().state.padding+l+t.getConfig2().state.dividerMargin/2).attr("y2",t.getConfig2().state.padding+l+t.getConfig2().state.dividerMargin/2).attr("class","descr-divider"),h=p.node().getBBox(),s=Math.max(h.width,o.width);return C.attr("x2",s+3*t.getConfig2().state.padding),e.insert("rect",":first-child").attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding).attr("width",s+2*t.getConfig2().state.padding).attr("height",h.height+l+2*t.getConfig2().state.padding).attr("rx",t.getConfig2().state.radius),e},"drawDescrState"),R=t.__name((e,n,d)=>{const g=t.getConfig2().state.padding,o=2*t.getConfig2().state.padding,l=e.node().getBBox(),p=l.width,i=l.x,r=e.append("text").attr("x",0).attr("y",t.getConfig2().state.titleShift).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.id),h=r.node().getBBox().width+o;let s=Math.max(h,p);s===p&&(s=s+o);let c;const m=e.node().getBBox();n.doc,c=i-g,h>p&&(c=(p-s)/2+g),Math.abs(i-m.x)<g&&h>p&&(c=i-(h-p)/2);const y=1-t.getConfig2().state.textHeight;return e.insert("rect",":first-child").attr("x",c).attr("y",y).attr("class",d?"alt-composit":"composit").attr("width",s).attr("height",m.height+t.getConfig2().state.textHeight+t.getConfig2().state.titleShift+1).attr("rx","0"),r.attr("x",c+g),h<=p&&r.attr("x",i+(s-o)/2-h/2+g),e.insert("rect",":first-child").attr("x",c).attr("y",t.getConfig2().state.titleShift-t.getConfig2().state.textHeight-t.getConfig2().state.padding).attr("width",s).attr("height",t.getConfig2().state.textHeight*3).attr("rx",t.getConfig2().state.radius),e.insert("rect",":first-child").attr("x",c).attr("y",t.getConfig2().state.titleShift-t.getConfig2().state.textHeight-t.getConfig2().state.padding).attr("width",s).attr("height",m.height+3+2*t.getConfig2().state.textHeight).attr("rx",t.getConfig2().state.radius),e},"addTitleAndBox"),W=t.__name(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t.getConfig2().state.sizeUnit).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+2).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+2)),"drawEndState"),G=t.__name((e,n)=>{let d=t.getConfig2().state.forkWidth,g=t.getConfig2().state.forkHeight;if(n.parentId){let o=d;d=g,g=o}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",g).attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding)},"drawForkJoinState"),D=t.__name((e,n,d,g)=>{let o=0;const l=g.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let p=e.replace(/\r\n/g,"<br/>");p=p.replace(/\n/g,"<br/>");const i=p.split(t.common_default.lineBreakRegex);let r=1.25*t.getConfig2().state.noteMargin;for(const C of i){const h=C.trim();if(h.length>0){const s=l.append("tspan");if(s.text(h),r===0){const c=s.node().getBBox();r+=c.height}o+=r,s.attr("x",n+t.getConfig2().state.noteMargin),s.attr("y",d+o+1.25*t.getConfig2().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:o}},"_drawLongText"),U=t.__name((e,n)=>{n.attr("class","state-note");const d=n.append("rect").attr("x",0).attr("y",t.getConfig2().state.padding),g=n.append("g"),{textWidth:o,textHeight:l}=D(e,0,0,g);return d.attr("height",l+2*t.getConfig2().state.noteMargin),d.attr("width",o+t.getConfig2().state.noteMargin*2),d},"drawNote"),k=t.__name(function(e,n){const d=n.id,g={id:d,label:n.id,width:0,height:0},o=e.append("g").attr("id",d).attr("class","stateGroup");n.type==="start"&&z(o),n.type==="end"&&W(o),(n.type==="fork"||n.type==="join")&&G(o,n),n.type==="note"&&U(n.note.text,o),n.type==="divider"&&L(o),n.type==="default"&&n.descriptions.length===0&&A(o,n),n.type==="default"&&n.descriptions.length>0&&P(o,n);const l=o.node().getBBox();return g.width=l.width+2*t.getConfig2().state.padding,g.height=l.height+2*t.getConfig2().state.padding,g},"drawState"),N=0,F=t.__name(function(e,n,d){const g=t.__name(function(r){switch(r){case _.StateDB.relationType.AGGREGATION:return"aggregation";case _.StateDB.relationType.EXTENSION:return"extension";case _.StateDB.relationType.COMPOSITION:return"composition";case _.StateDB.relationType.DEPENDENCY:return"dependency"}},"getRelationType");n.points=n.points.filter(r=>!Number.isNaN(r.y));const o=n.points,l=t.line().x(function(r){return r.x}).y(function(r){return r.y}).curve(t.curveBasis),p=e.append("path").attr("d",l(o)).attr("id","edge"+N).attr("class","transition");let i="";if(t.getConfig2().state.arrowMarkerAbsolute&&(i=t.getUrl(!0)),p.attr("marker-end","url("+i+"#"+g(_.StateDB.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:C,y:h}=t.utils_default.calcLabelPosition(n.points),s=t.common_default.getRows(d.title);let c=0;const m=[];let y=0,b=0;for(let x=0;x<=s.length;x++){const f=r.append("text").attr("text-anchor","middle").text(s[x]).attr("x",C).attr("y",h+c),u=f.node().getBBox();y=Math.max(y,u.width),b=Math.min(b,u.x),t.log.info(u.x,C,h+c),c===0&&(c=f.node().getBBox().height,t.log.info("Title height",c,h)),m.push(f)}let S=c*s.length;if(s.length>1){const x=(s.length-1)*c*.5;m.forEach((f,u)=>f.attr("y",h+u*c-x)),S=c*s.length}const a=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",C-y/2-t.getConfig2().state.padding/2).attr("y",h-S/2-t.getConfig2().state.padding/2-3.5).attr("width",y+t.getConfig2().state.padding).attr("height",S+t.getConfig2().state.padding),t.log.info(a)}N++},"drawEdge"),w,E={},O=t.__name(function(){},"setConf"),q=t.__name(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),J=t.__name(function(e,n,d,g){w=t.getConfig2().state;const o=t.getConfig2().securityLevel;let l;o==="sandbox"&&(l=t.select("#i"+n));const p=o==="sandbox"?t.select(l.nodes()[0].contentDocument.body):t.select("body"),i=o==="sandbox"?l.nodes()[0].contentDocument:document;t.log.debug("Rendering diagram "+e);const r=p.select(`[id='${n}']`);q(r);const C=g.db.getRootDoc();M(C,r,void 0,!1,p,i,g);const h=w.padding,s=r.node().getBBox(),c=s.width+h*2,m=s.height+h*2,y=c*1.75;t.configureSvgSize(r,m,y,w.useMaxWidth),r.attr("viewBox",`${s.x-w.padding} ${s.y-w.padding} `+c+" "+m)},"draw"),X=t.__name(e=>e?e.length*w.fontSizeFactor:1,"getLabelWidth"),M=t.__name((e,n,d,g,o,l,p)=>{const i=new T.Graph({compound:!0,multigraph:!0});let r,C=!0;for(r=0;r<e.length;r++)if(e[r].stmt==="relation"){C=!1;break}d?i.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:C?1:w.edgeLengthFactor,nodeSep:C?1:50,isMultiGraph:!0}):i.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:C?1:w.edgeLengthFactor,nodeSep:C?1:50,ranker:"tight-tree",isMultiGraph:!0}),i.setDefaultEdgeLabel(function(){return{}});const h=p.db.getStates(),s=p.db.getRelations(),c=Object.keys(h);for(const a of c){const x=h[a];d&&(x.parentId=d);let f;if(x.doc){let u=n.append("g").attr("id",x.id).attr("class","stateGroup");f=M(x.doc,u,x.id,!g,o,l,p);{u=R(u,x,g);let B=u.node().getBBox();f.width=B.width,f.height=B.height+w.padding/2,E[x.id]={y:w.compositTitleSize}}}else f=k(n,x,i);if(x.note){const u={descriptions:[],id:x.id+"-note",note:x.note,type:"note"},B=k(n,u,i);x.note.position==="left of"?(i.setNode(f.id+"-note",B),i.setNode(f.id,f)):(i.setNode(f.id,f),i.setNode(f.id+"-note",B)),i.setParent(f.id,f.id+"-group"),i.setParent(f.id+"-note",f.id+"-group")}else i.setNode(f.id,f)}t.log.debug("Count=",i.nodeCount(),i);let m=0;s.forEach(function(a){m++,t.log.debug("Setting edge",a),i.setEdge(a.id1,a.id2,{relation:a,width:X(a.title),height:w.labelHeight*t.common_default.getRows(a.title).length,labelpos:"c"},"id"+m)}),H.layout(i),t.log.debug("Graph after layout",i.nodes());const y=n.node();i.nodes().forEach(function(a){a!==void 0&&i.node(a)!==void 0?(t.log.warn("Node "+a+": "+JSON.stringify(i.node(a))),o.select("#"+y.id+" #"+a).attr("transform","translate("+(i.node(a).x-i.node(a).width/2)+","+(i.node(a).y+(E[a]?E[a].y:0)-i.node(a).height/2)+" )"),o.select("#"+y.id+" #"+a).attr("data-x-shift",i.node(a).x-i.node(a).width/2),l.querySelectorAll("#"+y.id+" #"+a+" .divider").forEach(f=>{const u=f.parentElement;let B=0,v=0;u&&(u.parentElement&&(B=u.parentElement.getBBox().width),v=parseInt(u.getAttribute("data-x-shift"),10),Number.isNaN(v)&&(v=0)),f.setAttribute("x1",0-v+8),f.setAttribute("x2",B-v-8)})):t.log.debug("No Node "+a+": "+JSON.stringify(i.node(a)))});let b=y.getBBox();i.edges().forEach(function(a){a!==void 0&&i.edge(a)!==void 0&&(t.log.debug("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(i.edge(a))),F(n,i.edge(a),i.edge(a).relation))}),b=y.getBBox();const S={id:d||"root",label:d||"root",width:0,height:0};return S.width=b.width+2*w.padding,S.height=b.height+2*w.padding,t.log.debug("Doc rendered",S,i),S},"renderDoc"),I={setConf:O,draw:J},Y={parser:_.stateDiagram_default,get db(){return new _.StateDB(1)},renderer:I,styles:_.styles_default,init:t.__name(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=Y;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./chunk-DI55MBZ5-BSNlx0kd.cjs"),t=require("./index-C7TBTVdT.cjs"),T=require("./graph-nXT1esi7.cjs"),H=require("./layout-BMURwjr0.cjs");var z=t.__name(e=>e.append("circle").attr("class","start-state").attr("r",t.getConfig2().state.sizeUnit).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit),"drawStartState"),L=t.__name(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t.getConfig2().state.textHeight).attr("class","divider").attr("x2",t.getConfig2().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),A=t.__name((e,n)=>{const d=e.append("text").attr("x",2*t.getConfig2().state.padding).attr("y",t.getConfig2().state.textHeight+2*t.getConfig2().state.padding).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.id),g=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding).attr("width",g.width+2*t.getConfig2().state.padding).attr("height",g.height+2*t.getConfig2().state.padding).attr("rx",t.getConfig2().state.radius),d},"drawSimpleState"),P=t.__name((e,n)=>{const d=t.__name(function(c,m,y){const b=c.append("tspan").attr("x",2*t.getConfig2().state.padding).text(m);y||b.attr("dy",t.getConfig2().state.textHeight)},"addTspan"),o=e.append("text").attr("x",2*t.getConfig2().state.padding).attr("y",t.getConfig2().state.textHeight+1.3*t.getConfig2().state.padding).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.descriptions[0]).node().getBBox(),l=o.height,p=e.append("text").attr("x",t.getConfig2().state.padding).attr("y",l+t.getConfig2().state.padding*.4+t.getConfig2().state.dividerMargin+t.getConfig2().state.textHeight).attr("class","state-description");let i=!0,r=!0;n.descriptions.forEach(function(c){i||(d(p,c,r),r=!1),i=!1});const C=e.append("line").attr("x1",t.getConfig2().state.padding).attr("y1",t.getConfig2().state.padding+l+t.getConfig2().state.dividerMargin/2).attr("y2",t.getConfig2().state.padding+l+t.getConfig2().state.dividerMargin/2).attr("class","descr-divider"),h=p.node().getBBox(),s=Math.max(h.width,o.width);return C.attr("x2",s+3*t.getConfig2().state.padding),e.insert("rect",":first-child").attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding).attr("width",s+2*t.getConfig2().state.padding).attr("height",h.height+l+2*t.getConfig2().state.padding).attr("rx",t.getConfig2().state.radius),e},"drawDescrState"),R=t.__name((e,n,d)=>{const g=t.getConfig2().state.padding,o=2*t.getConfig2().state.padding,l=e.node().getBBox(),p=l.width,i=l.x,r=e.append("text").attr("x",0).attr("y",t.getConfig2().state.titleShift).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.id),h=r.node().getBBox().width+o;let s=Math.max(h,p);s===p&&(s=s+o);let c;const m=e.node().getBBox();n.doc,c=i-g,h>p&&(c=(p-s)/2+g),Math.abs(i-m.x)<g&&h>p&&(c=i-(h-p)/2);const y=1-t.getConfig2().state.textHeight;return e.insert("rect",":first-child").attr("x",c).attr("y",y).attr("class",d?"alt-composit":"composit").attr("width",s).attr("height",m.height+t.getConfig2().state.textHeight+t.getConfig2().state.titleShift+1).attr("rx","0"),r.attr("x",c+g),h<=p&&r.attr("x",i+(s-o)/2-h/2+g),e.insert("rect",":first-child").attr("x",c).attr("y",t.getConfig2().state.titleShift-t.getConfig2().state.textHeight-t.getConfig2().state.padding).attr("width",s).attr("height",t.getConfig2().state.textHeight*3).attr("rx",t.getConfig2().state.radius),e.insert("rect",":first-child").attr("x",c).attr("y",t.getConfig2().state.titleShift-t.getConfig2().state.textHeight-t.getConfig2().state.padding).attr("width",s).attr("height",m.height+3+2*t.getConfig2().state.textHeight).attr("rx",t.getConfig2().state.radius),e},"addTitleAndBox"),W=t.__name(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t.getConfig2().state.sizeUnit).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+2).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+2)),"drawEndState"),G=t.__name((e,n)=>{let d=t.getConfig2().state.forkWidth,g=t.getConfig2().state.forkHeight;if(n.parentId){let o=d;d=g,g=o}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",g).attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding)},"drawForkJoinState"),D=t.__name((e,n,d,g)=>{let o=0;const l=g.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let p=e.replace(/\r\n/g,"<br/>");p=p.replace(/\n/g,"<br/>");const i=p.split(t.common_default.lineBreakRegex);let r=1.25*t.getConfig2().state.noteMargin;for(const C of i){const h=C.trim();if(h.length>0){const s=l.append("tspan");if(s.text(h),r===0){const c=s.node().getBBox();r+=c.height}o+=r,s.attr("x",n+t.getConfig2().state.noteMargin),s.attr("y",d+o+1.25*t.getConfig2().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:o}},"_drawLongText"),U=t.__name((e,n)=>{n.attr("class","state-note");const d=n.append("rect").attr("x",0).attr("y",t.getConfig2().state.padding),g=n.append("g"),{textWidth:o,textHeight:l}=D(e,0,0,g);return d.attr("height",l+2*t.getConfig2().state.noteMargin),d.attr("width",o+t.getConfig2().state.noteMargin*2),d},"drawNote"),k=t.__name(function(e,n){const d=n.id,g={id:d,label:n.id,width:0,height:0},o=e.append("g").attr("id",d).attr("class","stateGroup");n.type==="start"&&z(o),n.type==="end"&&W(o),(n.type==="fork"||n.type==="join")&&G(o,n),n.type==="note"&&U(n.note.text,o),n.type==="divider"&&L(o),n.type==="default"&&n.descriptions.length===0&&A(o,n),n.type==="default"&&n.descriptions.length>0&&P(o,n);const l=o.node().getBBox();return g.width=l.width+2*t.getConfig2().state.padding,g.height=l.height+2*t.getConfig2().state.padding,g},"drawState"),N=0,F=t.__name(function(e,n,d){const g=t.__name(function(r){switch(r){case _.StateDB.relationType.AGGREGATION:return"aggregation";case _.StateDB.relationType.EXTENSION:return"extension";case _.StateDB.relationType.COMPOSITION:return"composition";case _.StateDB.relationType.DEPENDENCY:return"dependency"}},"getRelationType");n.points=n.points.filter(r=>!Number.isNaN(r.y));const o=n.points,l=t.line().x(function(r){return r.x}).y(function(r){return r.y}).curve(t.curveBasis),p=e.append("path").attr("d",l(o)).attr("id","edge"+N).attr("class","transition");let i="";if(t.getConfig2().state.arrowMarkerAbsolute&&(i=t.getUrl(!0)),p.attr("marker-end","url("+i+"#"+g(_.StateDB.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:C,y:h}=t.utils_default.calcLabelPosition(n.points),s=t.common_default.getRows(d.title);let c=0;const m=[];let y=0,b=0;for(let x=0;x<=s.length;x++){const f=r.append("text").attr("text-anchor","middle").text(s[x]).attr("x",C).attr("y",h+c),u=f.node().getBBox();y=Math.max(y,u.width),b=Math.min(b,u.x),t.log.info(u.x,C,h+c),c===0&&(c=f.node().getBBox().height,t.log.info("Title height",c,h)),m.push(f)}let S=c*s.length;if(s.length>1){const x=(s.length-1)*c*.5;m.forEach((f,u)=>f.attr("y",h+u*c-x)),S=c*s.length}const a=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",C-y/2-t.getConfig2().state.padding/2).attr("y",h-S/2-t.getConfig2().state.padding/2-3.5).attr("width",y+t.getConfig2().state.padding).attr("height",S+t.getConfig2().state.padding),t.log.info(a)}N++},"drawEdge"),w,E={},O=t.__name(function(){},"setConf"),q=t.__name(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),J=t.__name(function(e,n,d,g){w=t.getConfig2().state;const o=t.getConfig2().securityLevel;let l;o==="sandbox"&&(l=t.select("#i"+n));const p=o==="sandbox"?t.select(l.nodes()[0].contentDocument.body):t.select("body"),i=o==="sandbox"?l.nodes()[0].contentDocument:document;t.log.debug("Rendering diagram "+e);const r=p.select(`[id='${n}']`);q(r);const C=g.db.getRootDoc();M(C,r,void 0,!1,p,i,g);const h=w.padding,s=r.node().getBBox(),c=s.width+h*2,m=s.height+h*2,y=c*1.75;t.configureSvgSize(r,m,y,w.useMaxWidth),r.attr("viewBox",`${s.x-w.padding} ${s.y-w.padding} `+c+" "+m)},"draw"),X=t.__name(e=>e?e.length*w.fontSizeFactor:1,"getLabelWidth"),M=t.__name((e,n,d,g,o,l,p)=>{const i=new T.Graph({compound:!0,multigraph:!0});let r,C=!0;for(r=0;r<e.length;r++)if(e[r].stmt==="relation"){C=!1;break}d?i.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:C?1:w.edgeLengthFactor,nodeSep:C?1:50,isMultiGraph:!0}):i.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:C?1:w.edgeLengthFactor,nodeSep:C?1:50,ranker:"tight-tree",isMultiGraph:!0}),i.setDefaultEdgeLabel(function(){return{}});const h=p.db.getStates(),s=p.db.getRelations(),c=Object.keys(h);for(const a of c){const x=h[a];d&&(x.parentId=d);let f;if(x.doc){let u=n.append("g").attr("id",x.id).attr("class","stateGroup");f=M(x.doc,u,x.id,!g,o,l,p);{u=R(u,x,g);let B=u.node().getBBox();f.width=B.width,f.height=B.height+w.padding/2,E[x.id]={y:w.compositTitleSize}}}else f=k(n,x,i);if(x.note){const u={descriptions:[],id:x.id+"-note",note:x.note,type:"note"},B=k(n,u,i);x.note.position==="left of"?(i.setNode(f.id+"-note",B),i.setNode(f.id,f)):(i.setNode(f.id,f),i.setNode(f.id+"-note",B)),i.setParent(f.id,f.id+"-group"),i.setParent(f.id+"-note",f.id+"-group")}else i.setNode(f.id,f)}t.log.debug("Count=",i.nodeCount(),i);let m=0;s.forEach(function(a){m++,t.log.debug("Setting edge",a),i.setEdge(a.id1,a.id2,{relation:a,width:X(a.title),height:w.labelHeight*t.common_default.getRows(a.title).length,labelpos:"c"},"id"+m)}),H.layout(i),t.log.debug("Graph after layout",i.nodes());const y=n.node();i.nodes().forEach(function(a){a!==void 0&&i.node(a)!==void 0?(t.log.warn("Node "+a+": "+JSON.stringify(i.node(a))),o.select("#"+y.id+" #"+a).attr("transform","translate("+(i.node(a).x-i.node(a).width/2)+","+(i.node(a).y+(E[a]?E[a].y:0)-i.node(a).height/2)+" )"),o.select("#"+y.id+" #"+a).attr("data-x-shift",i.node(a).x-i.node(a).width/2),l.querySelectorAll("#"+y.id+" #"+a+" .divider").forEach(f=>{const u=f.parentElement;let B=0,v=0;u&&(u.parentElement&&(B=u.parentElement.getBBox().width),v=parseInt(u.getAttribute("data-x-shift"),10),Number.isNaN(v)&&(v=0)),f.setAttribute("x1",0-v+8),f.setAttribute("x2",B-v-8)})):t.log.debug("No Node "+a+": "+JSON.stringify(i.node(a)))});let b=y.getBBox();i.edges().forEach(function(a){a!==void 0&&i.edge(a)!==void 0&&(t.log.debug("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(i.edge(a))),F(n,i.edge(a),i.edge(a).relation))}),b=y.getBBox();const S={id:d||"root",label:d||"root",width:0,height:0};return S.width=b.width+2*w.padding,S.height=b.height+2*w.padding,t.log.debug("Doc rendered",S,i),S},"renderDoc"),I={setConf:O,draw:J},Y={parser:_.stateDiagram_default,get db(){return new _.StateDB(1)},renderer:I,styles:_.styles_default,init:t.__name(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=Y;
|
package/dist/{stateDiagram-v2-4FDKWEC3-Bdbtjvgm.cjs → stateDiagram-v2-4FDKWEC3-BmsHpU0u.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./chunk-DI55MBZ5-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./chunk-DI55MBZ5-BSNlx0kd.cjs"),r=require("./index-C7TBTVdT.cjs");var a={parser:t.stateDiagram_default,get db(){return new t.StateDB(2)},renderer:t.stateRenderer_v3_unified_default,styles:t.styles_default,init:r.__name(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as a, b as t, a as r, S as s } from "./chunk-DI55MBZ5-
|
|
2
|
-
import { _ as i } from "./index-
|
|
1
|
+
import { s as a, b as t, a as r, S as s } from "./chunk-DI55MBZ5-CK6Z-nEC.js";
|
|
2
|
+
import { _ as i } from "./index-D_T9l6nE.js";
|
|
3
3
|
var _ = {
|
|
4
4
|
parser: r,
|
|
5
5
|
get db() {
|
package/dist/{timeline-definition-IT6M3QCI-Cg7U1jxm.cjs → timeline-definition-IT6M3QCI-CK1oV5zs.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-C7TBTVdT.cjs"),tt=require("./arc-BYZGn5Oq.cjs");var J=function(){var r=n.__name(function(m,s,a,c){for(a=a||{},c=m.length;c--;a[m[c]]=s);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],i=[1,11],d=[1,12],h=[1,13],_=[1,16],f=[1,17],p={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:n.__name(function(s,a,c,u,g,o,w){var k=o.length-1;switch(g){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},r(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:i,16:d,17:h,18:14,19:15,20:_,21:f},r(t,[2,7],{1:[2,1]}),r(t,[2,3]),{9:18,11:e,12:l,14:i,16:d,17:h,18:14,19:15,20:_,21:f},r(t,[2,5]),r(t,[2,6]),r(t,[2,8]),{13:[1,19]},{15:[1,20]},r(t,[2,11]),r(t,[2,12]),r(t,[2,13]),r(t,[2,14]),r(t,[2,15]),r(t,[2,16]),r(t,[2,4]),r(t,[2,9]),r(t,[2,10])],defaultActions:{},parseError:n.__name(function(s,a){if(a.recoverable)this.trace(s);else{var c=new Error(s);throw c.hash=a,c}},"parseError"),parse:n.__name(function(s){var a=this,c=[0],u=[],g=[null],o=[],w=this.table,k="",I=0,P=0,z=2,G=1,M=o.slice.call(arguments,1),y=Object.create(this.lexer),b={yy:{}};for(var N in this.yy)Object.prototype.hasOwnProperty.call(this.yy,N)&&(b.yy[N]=this.yy[N]);y.setInput(s,b.yy),b.yy.lexer=y,b.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var $=y.yylloc;o.push($);var V=y.options&&y.options.ranges;typeof b.yy.parseError=="function"?this.parseError=b.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function q(E){c.length=c.length-2*E,g.length=g.length-E,o.length=o.length-E}n.__name(q,"popStack");function Y(){var E;return E=u.pop()||y.lex()||G,typeof E!="number"&&(E instanceof Array&&(u=E,E=u.pop()),E=a.symbols_[E]||E),E}n.__name(Y,"lex");for(var S,H,T,U,C={},W,L,D,B;;){if(H=c[c.length-1],this.defaultActions[H]?T=this.defaultActions[H]:((S===null||typeof S>"u")&&(S=Y()),T=w[H]&&w[H][S]),typeof T>"u"||!T.length||!T[0]){var Z="";B=[];for(W in w[H])this.terminals_[W]&&W>z&&B.push("'"+this.terminals_[W]+"'");y.showPosition?Z="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+y.showPosition()+`
|
|
3
3
|
Expecting `+B.join(", ")+", got '"+(this.terminals_[S]||S)+"'":Z="Parse error on line "+(I+1)+": Unexpected "+(S==G?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(Z,{text:y.match,token:this.terminals_[S]||S,line:y.yylineno,loc:$,expected:B})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+S);switch(T[0]){case 1:c.push(S),g.push(y.yytext),o.push(y.yylloc),c.push(T[1]),S=null,P=y.yyleng,k=y.yytext,I=y.yylineno,$=y.yylloc;break;case 2:if(L=this.productions_[T[1]][1],C.$=g[g.length-L],C._$={first_line:o[o.length-(L||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(L||1)].first_column,last_column:o[o.length-1].last_column},V&&(C._$.range=[o[o.length-(L||1)].range[0],o[o.length-1].range[1]]),U=this.performAction.apply(C,[k,P,I,b.yy,T[1],g,o].concat(M)),typeof U<"u")return U;L&&(c=c.slice(0,-1*L*2),g=g.slice(0,-1*L),o=o.slice(0,-1*L)),c.push(this.productions_[T[1]][0]),g.push(C.$),o.push(C._$),D=w[c[c.length-2]][c[c.length-1]],c.push(D);break;case 3:return!0}}return!0},"parse")},x=function(){var m={EOF:1,parseError:n.__name(function(a,c){if(this.yy.parser)this.yy.parser.parseError(a,c);else throw new Error(a)},"parseError"),setInput:n.__name(function(s,a){return this.yy=a||this.yy||{},this._input=s,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:n.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var a=s.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:n.__name(function(s){var a=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var g=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:c?(c.length===u.length?this.yylloc.first_column:0)+u[u.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:n.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var s=this.pastInput(),a=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
package/dist/{timeline-definition-IT6M3QCI-CMGG_Bsf.js → timeline-definition-IT6M3QCI-b4-ORaM3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as s, c as xt, l as E, d as j, V as kt, W as vt, X as _t, Y as bt, B as wt, $ as St, y as Et } from "./index-
|
|
2
|
-
import { d as nt } from "./arc-
|
|
1
|
+
import { _ as s, c as xt, l as E, d as j, V as kt, W as vt, X as _t, Y as bt, B as wt, $ as St, y as Et } from "./index-D_T9l6nE.js";
|
|
2
|
+
import { d as nt } from "./arc-9asNEOPP.js";
|
|
3
3
|
var Q = function() {
|
|
4
4
|
var n = /* @__PURE__ */ s(function(x, r, a, c) {
|
|
5
5
|
for (a = a || {}, c = x.length; c--; a[x[c]] = r) ;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-DEehUa3F.cjs");exports.TreemapModule=e.TreemapModule;exports.createTreemapServices=e.createTreemapServices;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as a, s as gi, g as xi, q as Xt, p as di, a as fi, b as pi, l as Nt, H as mi, e as yi, y as bi, E as St, D as Yt, F as Ai, K as wi, i as Ci, aH as Si, R as Wt } from "./index-
|
|
1
|
+
import { _ as a, s as gi, g as xi, q as Xt, p as di, a as fi, b as pi, l as Nt, H as mi, e as yi, y as bi, E as St, D as Yt, F as Ai, K as wi, i as Ci, aH as Si, R as Wt } from "./index-D_T9l6nE.js";
|
|
2
2
|
import { i as _i } from "./init-DjUOC4st.js";
|
|
3
3
|
import { o as ki } from "./ordinal-DfAQgscy.js";
|
|
4
|
-
import { l as zt } from "./linear-
|
|
4
|
+
import { l as zt } from "./linear-Drgg1p8m.js";
|
|
5
5
|
function Ri(e, t, i) {
|
|
6
6
|
e = +e, t = +t, i = (n = arguments.length) < 2 ? (t = e, e = 0, 1) : n < 3 ? 1 : +i;
|
|
7
7
|
for (var s = -1, n = Math.max(0, Math.ceil((t - e) / i)) | 0, o = new Array(n); ++s < n; )
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-C7TBTVdT.cjs"),oe=require("./init-CHZsXQcr.cjs"),he=require("./ordinal-CagbB1m8.cjs"),Bt=require("./linear-kivixvN6.cjs");function le(i,t,e){i=+i,t=+t,e=(a=arguments.length)<2?(t=i,i=0,1):a<3?1:+e;for(var s=-1,a=Math.max(0,Math.ceil((t-i)/e))|0,o=new Array(a);++s<a;)o[s]=i+s*e;return o}function yt(){var i=he.ordinal().unknown(void 0),t=i.domain,e=i.range,s=0,a=1,o,g,m=!1,p=0,k=0,v=.5;delete i.unknown;function w(){var _=t().length,E=a<s,D=E?a:s,P=E?s:a;o=(P-D)/Math.max(1,_-p+k*2),m&&(o=Math.floor(o)),D+=(P-D-o*(_-p))*v,g=o*(1-p),m&&(D=Math.round(D),g=Math.round(g));var M=le(_).map(function(y){return D+o*y});return e(E?M.reverse():M)}return i.domain=function(_){return arguments.length?(t(_),w()):t()},i.range=function(_){return arguments.length?([s,a]=_,s=+s,a=+a,w()):[s,a]},i.rangeRound=function(_){return[s,a]=_,s=+s,a=+a,m=!0,w()},i.bandwidth=function(){return g},i.step=function(){return o},i.round=function(_){return arguments.length?(m=!!_,w()):m},i.padding=function(_){return arguments.length?(p=Math.min(1,k=+_),w()):p},i.paddingInner=function(_){return arguments.length?(p=Math.min(1,_),w()):p},i.paddingOuter=function(_){return arguments.length?(k=+_,w()):k},i.align=function(_){return arguments.length?(v=Math.max(0,Math.min(1,_)),w()):v},i.copy=function(){return yt(t(),[s,a]).round(m).paddingInner(p).paddingOuter(k).align(v)},oe.initRange.apply(w(),arguments)}var _t=function(){var i=n.__name(function(O,h,u,x){for(u=u||{},x=O.length;x--;u[O[x]]=h);return u},"o"),t=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],a=[1,5],o=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],p=[1,25],k=[1,26],v=[1,28],w=[1,29],_=[1,30],E=[1,31],D=[1,32],P=[1,33],M=[1,34],y=[1,35],S=[1,36],c=[1,37],W=[1,43],z=[1,42],U=[1,47],X=[1,50],l=[1,10,12,14,16,18,19,21,23,34,35,36],L=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],C=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],T=[1,64],$={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:n.__name(function(h,u,x,d,A,r,at){var f=r.length-1;switch(A){case 5:d.setOrientation(r[f]);break;case 9:d.setDiagramTitle(r[f].text.trim());break;case 12:d.setLineData({text:"",type:"text"},r[f]);break;case 13:d.setLineData(r[f-1],r[f]);break;case 14:d.setBarData({text:"",type:"text"},r[f]);break;case 15:d.setBarData(r[f-1],r[f]);break;case 16:this.$=r[f].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=r[f].trim(),d.setAccDescription(this.$);break;case 19:this.$=r[f-1];break;case 20:this.$=[Number(r[f-2]),...r[f]];break;case 21:this.$=[Number(r[f])];break;case 22:d.setXAxisTitle(r[f]);break;case 23:d.setXAxisTitle(r[f-1]);break;case 24:d.setXAxisTitle({type:"text",text:""});break;case 25:d.setXAxisBand(r[f]);break;case 26:d.setXAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 27:this.$=r[f-1];break;case 28:this.$=[r[f-2],...r[f]];break;case 29:this.$=[r[f]];break;case 30:d.setYAxisTitle(r[f]);break;case 31:d.setYAxisTitle(r[f-1]);break;case 32:d.setYAxisTitle({type:"text",text:""});break;case 33:d.setYAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 37:this.$={text:r[f],type:"text"};break;case 38:this.$={text:r[f],type:"text"};break;case 39:this.$={text:r[f],type:"markdown"};break;case 40:this.$=r[f];break;case 41:this.$=r[f-1]+""+r[f];break}},"anonymous"),table:[i(t,e,{3:1,4:2,7:4,5:s,34:a,35:o,36:g}),{1:[3]},i(t,e,{4:2,7:4,3:8,5:s,34:a,35:o,36:g}),i(t,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:a,35:o,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},i(m,[2,34]),i(m,[2,35]),i(m,[2,36]),{1:[2,1]},i(t,e,{4:2,7:4,3:21,5:s,34:a,35:o,36:g}),{1:[2,3]},i(m,[2,5]),i(t,[2,7],{4:22,34:a,35:o,36:g}),{11:23,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},{11:39,13:38,24:W,27:z,29:40,30:41,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},{11:45,15:44,27:U,33:46,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},{11:49,17:48,24:X,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},{11:52,17:51,24:X,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},{20:[1,53]},{22:[1,54]},i(l,[2,18]),{1:[2,2]},i(l,[2,8]),i(l,[2,9]),i(L,[2,37],{40:55,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c}),i(L,[2,38]),i(L,[2,39]),i(C,[2,40]),i(C,[2,42]),i(C,[2,43]),i(C,[2,44]),i(C,[2,45]),i(C,[2,46]),i(C,[2,47]),i(C,[2,48]),i(C,[2,49]),i(C,[2,50]),i(C,[2,51]),i(l,[2,10]),i(l,[2,22],{30:41,29:56,24:W,27:z}),i(l,[2,24]),i(l,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},i(l,[2,11]),i(l,[2,30],{33:60,27:U}),i(l,[2,32]),{31:[1,61]},i(l,[2,12]),{17:62,24:X},{25:63,27:T},i(l,[2,14]),{17:65,24:X},i(l,[2,16]),i(l,[2,17]),i(C,[2,41]),i(l,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},i(l,[2,31]),{27:[1,69]},i(l,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},i(l,[2,15]),i(l,[2,26]),i(l,[2,27]),{11:59,32:72,37:24,38:p,39:k,40:27,41:v,42:w,43:_,44:E,45:D,46:P,47:M,48:y,49:S,50:c},i(l,[2,33]),i(l,[2,19]),{25:73,27:T},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:n.__name(function(h,u){if(u.recoverable)this.trace(h);else{var x=new Error(h);throw x.hash=u,x}},"parseError"),parse:n.__name(function(h){var u=this,x=[0],d=[],A=[null],r=[],at=this.table,f="",lt=0,Et=0,se=2,Mt=1,ne=r.slice.call(arguments,1),R=Object.create(this.lexer),Y={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Y.yy[dt]=this.yy[dt]);R.setInput(h,Y.yy),Y.yy.lexer=R,Y.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var ft=R.yylloc;r.push(ft);var ae=R.options&&R.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re(V){x.length=x.length-2*V,A.length=A.length-V,r.length=r.length-V}n.__name(re,"popStack");function It(){var V;return V=d.pop()||R.lex()||Mt,typeof V!="number"&&(V instanceof Array&&(d=V,V=d.pop()),V=u.symbols_[V]||V),V}n.__name(It,"lex");for(var I,H,B,pt,q={},ct,F,Vt,ut;;){if(H=x[x.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((I===null||typeof I>"u")&&(I=It()),B=at[H]&&at[H][I]),typeof B>"u"||!B.length||!B[0]){var mt="";ut=[];for(ct in at[H])this.terminals_[ct]&&ct>se&&ut.push("'"+this.terminals_[ct]+"'");R.showPosition?mt="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+R.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[I]||I)+"'":mt="Parse error on line "+(lt+1)+": Unexpected "+(I==Mt?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(mt,{text:R.match,token:this.terminals_[I]||I,line:R.yylineno,loc:ft,expected:ut})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+I);switch(B[0]){case 1:x.push(I),A.push(R.yytext),r.push(R.yylloc),x.push(B[1]),I=null,Et=R.yyleng,f=R.yytext,lt=R.yylineno,ft=R.yylloc;break;case 2:if(F=this.productions_[B[1]][1],q.$=A[A.length-F],q._$={first_line:r[r.length-(F||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(F||1)].first_column,last_column:r[r.length-1].last_column},ae&&(q._$.range=[r[r.length-(F||1)].range[0],r[r.length-1].range[1]]),pt=this.performAction.apply(q,[f,Et,lt,Y.yy,B[1],A,r].concat(ne)),typeof pt<"u")return pt;F&&(x=x.slice(0,-1*F*2),A=A.slice(0,-1*F),r=r.slice(0,-1*F)),x.push(this.productions_[B[1]][0]),A.push(q.$),r.push(q._$),Vt=at[x[x.length-2]][x[x.length-1]],x.push(Vt);break;case 3:return!0}}return!0},"parse")},Lt=function(){var O={EOF:1,parseError:n.__name(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw new Error(u)},"parseError"),setInput:n.__name(function(h,u){return this.yy=u||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:n.__name(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);return u?(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:n.__name(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var d=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),x.length-1&&(this.yylineno-=x.length-1);var A=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:x?(x.length===d.length?this.yylloc.first_column:0)+d[d.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n.__name(function(h){this.unput(this.match.slice(h))},"less"),pastInput:n.__name(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:n.__name(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:n.__name(function(){var h=this.pastInput(),u=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
|