mio-previewer 0.2.79 → 0.2.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/{_basePickBy-D4bNTM3Z.js → _basePickBy-BXMb2AOE.js} +1 -1
  2. package/dist/{_basePickBy-C-6tRP2I.cjs → _basePickBy-Gq2Cas5q.cjs} +1 -1
  3. package/dist/{_baseUniq-CvnyBGLW.js → _baseUniq-BIMcH3IS.js} +1 -1
  4. package/dist/{_baseUniq-CgY8QW_y.cjs → _baseUniq-BcGAt4_a.cjs} +1 -1
  5. package/dist/architecture-O4VJ6CD3-BlRTlotU.cjs +1 -0
  6. package/dist/architecture-O4VJ6CD3-DDwx_haK.js +2 -0
  7. package/dist/{architectureDiagram-VXUJARFQ-CjxvnYE7.js → architectureDiagram-VXUJARFQ-DUj6ijII.js} +2 -2
  8. package/dist/{architectureDiagram-VXUJARFQ-qzdCK5Ct.cjs → architectureDiagram-VXUJARFQ-Dkh3T9yi.cjs} +1 -1
  9. package/dist/{blockDiagram-VD42YOAC-BM5KaD8Q.cjs → blockDiagram-VD42YOAC-Bbgkwzvr.cjs} +1 -1
  10. package/dist/{blockDiagram-VD42YOAC-oDdaxEWg.js → blockDiagram-VD42YOAC-BkKbQDWm.js} +2 -2
  11. package/dist/{chunk-B4BG7PRW-BC3MAjCT.cjs → chunk-B4BG7PRW-CfoSZDaK.cjs} +1 -1
  12. package/dist/{chunk-B4BG7PRW-DnbgZIQG.js → chunk-B4BG7PRW-DHe5kHom.js} +1 -1
  13. package/dist/{chunk-DI55MBZ5-B8uR5vzE.js → chunk-DI55MBZ5-DcgwFHpQ.js} +1 -1
  14. package/dist/{chunk-DI55MBZ5-C0CODE9K.cjs → chunk-DI55MBZ5-MddxpbIU.cjs} +1 -1
  15. package/dist/{classDiagram-2ON5EDUG-BkjzOYcB.js → classDiagram-2ON5EDUG-BHTa7ohd.js} +2 -2
  16. package/dist/{classDiagram-2ON5EDUG-DUJllVbY.cjs → classDiagram-2ON5EDUG-BOnqRxi3.cjs} +1 -1
  17. package/dist/{classDiagram-v2-WZHVMYZB-DUJllVbY.cjs → classDiagram-v2-WZHVMYZB-BOnqRxi3.cjs} +1 -1
  18. package/dist/{classDiagram-v2-WZHVMYZB-C1tORf6V.js → classDiagram-v2-WZHVMYZB-C6TyNDuv.js} +2 -2
  19. package/dist/clone-CsjVCovA.cjs +1 -0
  20. package/dist/{clone-ZBseQO6x.js → clone-uXYuzGF_.js} +1 -1
  21. package/dist/{custom-vxgVIB3v.js → custom-B3nZBz6o.js} +1069 -1042
  22. package/dist/{custom-Dzz3lVEd.cjs → custom-DxcMopGY.cjs} +27 -27
  23. package/dist/{dagre-6UL2VRFP-C7ejSKjH.cjs → dagre-6UL2VRFP-CaeF4Gmj.cjs} +1 -1
  24. package/dist/{dagre-6UL2VRFP-CTQsEV-y.js → dagre-6UL2VRFP-CdXuGT6Y.js} +5 -5
  25. package/dist/{dagre-BLeVvHvV.cjs → dagre-DA2mYucy.cjs} +1 -1
  26. package/dist/{dagre-_RyRpmBm.js → dagre-wnP4thpl.js} +4 -4
  27. package/dist/{diagram-PSM6KHXK-CBe5oVqM.js → diagram-PSM6KHXK-Cziuk6iM.js} +2 -2
  28. package/dist/{diagram-PSM6KHXK-C9stV6sd.cjs → diagram-PSM6KHXK-Dwi9eFmG.cjs} +1 -1
  29. package/dist/{diagram-QEK2KX5R-CyR0C3Eq.cjs → diagram-QEK2KX5R-BIXuOx_Z.cjs} +1 -1
  30. package/dist/{diagram-QEK2KX5R-DGkgy9JJ.js → diagram-QEK2KX5R-CcH7JZwE.js} +2 -2
  31. package/dist/{diagram-S2PKOQOG-BSyOCAO-.js → diagram-S2PKOQOG-CvwN9CX0.js} +2 -2
  32. package/dist/{diagram-S2PKOQOG-DO5KWw9a.cjs → diagram-S2PKOQOG-DAegXU5o.cjs} +1 -1
  33. package/dist/{erDiagram-Q2GNP2WA-DQL-x8_S.cjs → erDiagram-Q2GNP2WA-BdhaU2qd.cjs} +1 -1
  34. package/dist/{erDiagram-Q2GNP2WA-Bv8DMAr7.js → erDiagram-Q2GNP2WA-IK20i1UF.js} +1 -1
  35. package/dist/{flowDiagram-NV44I4VS-Mqbx7XCA.cjs → flowDiagram-NV44I4VS-B6CmXs2l.cjs} +1 -1
  36. package/dist/{flowDiagram-NV44I4VS-CEliIL_u.js → flowDiagram-NV44I4VS-CNGhNzPd.js} +1 -1
  37. package/dist/gitGraph-ZV4HHKMB-DDd_3n4H.js +2 -0
  38. package/dist/gitGraph-ZV4HHKMB-spd7n2NJ.cjs +1 -0
  39. package/dist/{gitGraphDiagram-NY62KEGX-DBBSI-oa.js → gitGraphDiagram-NY62KEGX-5XzjpXsZ.js} +1 -1
  40. package/dist/{gitGraphDiagram-NY62KEGX-CegzbC8B.cjs → gitGraphDiagram-NY62KEGX-DybaIjh-.cjs} +1 -1
  41. package/dist/{graphlib-BwNw1Gxc.cjs → graphlib-Je6oSko6.cjs} +1 -1
  42. package/dist/{graphlib-uu-sQ8no.js → graphlib-LQ0BZO1X.js} +2 -2
  43. package/dist/info-63CPKGFF-DBQSyWyM.cjs +1 -0
  44. package/dist/info-63CPKGFF-TOCj3flR.js +2 -0
  45. package/dist/{infoDiagram-F6ZHWCRC-CyPuCBk4.cjs → infoDiagram-F6ZHWCRC-Cmv8yCOu.cjs} +1 -1
  46. package/dist/{infoDiagram-F6ZHWCRC--PM3wKfu.js → infoDiagram-F6ZHWCRC-DkQHT7U-.js} +2 -2
  47. package/dist/{kanban-definition-3W4ZIXB7-49dV2Oyz.cjs → kanban-definition-3W4ZIXB7-B3SIFUS3.cjs} +1 -1
  48. package/dist/{kanban-definition-3W4ZIXB7-DHhTxyFH.js → kanban-definition-3W4ZIXB7-DRLSBhnr.js} +1 -1
  49. package/dist/{mermaid-parser.core-cnqU6oUa.cjs → mermaid-parser.core-CAp9cbpI.cjs} +2 -2
  50. package/dist/{mermaid-parser.core-adSCl_zk.js → mermaid-parser.core-DlUTFxbw.js} +11 -11
  51. package/dist/{mindmap-definition-VGOIOE7T-ez_afevb.js → mindmap-definition-VGOIOE7T-BC0rpEfX.js} +1 -1
  52. package/dist/{mindmap-definition-VGOIOE7T-7loMqRTP.cjs → mindmap-definition-VGOIOE7T-BT2qtCps.cjs} +1 -1
  53. package/dist/mio-previewer.cjs.js +2 -2
  54. package/dist/mio-previewer.css +1 -1
  55. package/dist/mio-previewer.es.js +22 -50
  56. package/dist/packet-HUATNLJX-CMsD0pzs.cjs +1 -0
  57. package/dist/packet-HUATNLJX-CfxT0hJZ.js +2 -0
  58. package/dist/pie-WTHONI2E-BKPMrJ7v.js +2 -0
  59. package/dist/pie-WTHONI2E-D4bgmciw.cjs +1 -0
  60. package/dist/{pieDiagram-ADFJNKIX-4bnQA7AW.cjs → pieDiagram-ADFJNKIX-Bbz9H7bW.cjs} +1 -1
  61. package/dist/{pieDiagram-ADFJNKIX-DnFUaNhH.js → pieDiagram-ADFJNKIX-BeFtJtu7.js} +2 -2
  62. package/dist/plugins/custom.cjs.js +1 -1
  63. package/dist/plugins/custom.es.js +1 -1
  64. package/dist/radar-NJJJXTRR-BTXHFtwN.cjs +1 -0
  65. package/dist/radar-NJJJXTRR-CBlDLN9e.js +2 -0
  66. package/dist/{requirementDiagram-UZGBJVZJ-pYl3NV8Q.js → requirementDiagram-UZGBJVZJ-BBaCEEM9.js} +1 -1
  67. package/dist/{requirementDiagram-UZGBJVZJ-9lPo6mLh.cjs → requirementDiagram-UZGBJVZJ-BHQZXuDe.cjs} +1 -1
  68. package/dist/{sequenceDiagram-WL72ISMW-Dje8cRzT.js → sequenceDiagram-WL72ISMW-Dkuew2iC.js} +1 -1
  69. package/dist/{sequenceDiagram-WL72ISMW-CfmthgAL.cjs → sequenceDiagram-WL72ISMW-vCalZjVA.cjs} +1 -1
  70. package/dist/{stateDiagram-FKZM4ZOC-Bj7mX0dd.cjs → stateDiagram-FKZM4ZOC-5SpEu1Tp.cjs} +1 -1
  71. package/dist/{stateDiagram-FKZM4ZOC-DYs-XmmC.js → stateDiagram-FKZM4ZOC-DDcYFsZV.js} +4 -4
  72. package/dist/{stateDiagram-v2-4FDKWEC3-DzKwIUrT.js → stateDiagram-v2-4FDKWEC3-BFC2m0Ox.js} +2 -2
  73. package/dist/{stateDiagram-v2-4FDKWEC3-EP67hXTC.cjs → stateDiagram-v2-4FDKWEC3-DodG2XCe.cjs} +1 -1
  74. package/dist/treemap-75Q7IDZK-C1w6jAgA.js +2 -0
  75. package/dist/treemap-75Q7IDZK-Dc8KXfrN.cjs +1 -0
  76. package/dist/types/plugins/custom/codeBlockPlugin.d.ts +4 -0
  77. package/dist/{xychartDiagram-PRI3JC2R-pjId4L-I.cjs → xychartDiagram-PRI3JC2R-C6k6v-_d.cjs} +1 -1
  78. package/dist/{xychartDiagram-PRI3JC2R-10qi3cyY.js → xychartDiagram-PRI3JC2R-fFFl9vIl.js} +1 -1
  79. package/package.json +4 -2
  80. package/dist/architecture-O4VJ6CD3-Bekh0x8X.js +0 -2
  81. package/dist/architecture-O4VJ6CD3-C0J-LRmO.cjs +0 -1
  82. package/dist/clone-Bg_au2CH.cjs +0 -1
  83. package/dist/gitGraph-ZV4HHKMB-BxhTD2Wo.cjs +0 -1
  84. package/dist/gitGraph-ZV4HHKMB-Cc-__hED.js +0 -2
  85. package/dist/info-63CPKGFF-B0vF_vfC.js +0 -2
  86. package/dist/info-63CPKGFF-DZUDiFiH.cjs +0 -1
  87. package/dist/packet-HUATNLJX-C3sFUqev.cjs +0 -1
  88. package/dist/packet-HUATNLJX-CPB7Yclo.js +0 -2
  89. package/dist/pie-WTHONI2E-BVTTZknO.js +0 -2
  90. package/dist/pie-WTHONI2E-sQC7_r18.cjs +0 -1
  91. package/dist/radar-NJJJXTRR-CvHt9XOc.js +0 -2
  92. package/dist/radar-NJJJXTRR-CwT3NW1L.cjs +0 -1
  93. package/dist/treemap-75Q7IDZK-C8Y17Ps_.cjs +0 -1
  94. package/dist/treemap-75Q7IDZK-CZkKsngm.js +0 -2
@@ -1,4 +1,4 @@
1
- const e=require("./custom-Dzz3lVEd.cjs"),t=require("./src-BMjps4Ui.cjs"),n=require("./chunk-ABZYJK2D-CbIYYZa_.cjs"),r=require("./chunk-S3R3BYOJ-B2ozcJNg.cjs"),i=require("./dist-DC-lM4uX.cjs"),a=require("./chunk-TZMSLE5B-D92K1Ja5.cjs"),o=require("./chunk-QZHKN3VN-2e6nJr8c.cjs");var s=i.t(),c=(function(){var e=t.h(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,2],r=[1,3],i=[1,4],a=[2,4],o=[1,9],s=[1,11],c=[1,13],l=[1,14],u=[1,16],d=[1,17],f=[1,18],p=[1,24],m=[1,25],h=[1,26],g=[1,27],_=[1,28],v=[1,29],y=[1,30],b=[1,31],x=[1,32],S=[1,33],C=[1,34],w=[1,35],T=[1,36],E=[1,37],D=[1,38],O=[1,39],k=[1,41],A=[1,42],j=[1,43],M=[1,44],N=[1,45],P=[1,46],F=[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],L=[4,5,16,50,52,53],R=[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],z=[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],B=[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],V=[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],H=[69,70,71],U=[1,127],W={trace:t.h(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:t.h(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.apply(a[s]),a[s];case 4:case 9:this.$=[];break;case 5:case 10:a[s-1].push(a[s]),this.$=a[s-1];break;case 6:case 7:case 11:case 12:this.$=a[s];break;case 8:case 13:this.$=[];break;case 15:a[s].type=`createParticipant`,this.$=a[s];break;case 16:a[s-1].unshift({type:`boxStart`,boxData:r.parseBoxData(a[s-2])}),a[s-1].push({type:`boxEnd`,boxText:a[s-2]}),this.$=a[s-1];break;case 18:this.$={type:`sequenceIndex`,sequenceIndex:Number(a[s-2]),sequenceIndexStep:Number(a[s-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:`sequenceIndex`,sequenceIndex:Number(a[s-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:`sequenceIndex`,sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:`sequenceIndex`,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:`activeStart`,signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1].actor};break;case 23:this.$={type:`activeEnd`,signalType:r.LINETYPE.ACTIVE_END,actor:a[s-1].actor};break;case 29:r.setDiagramTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 30:r.setDiagramTitle(a[s].substring(7)),this.$=a[s].substring(7);break;case 31:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 34:a[s-1].unshift({type:`loopStart`,loopText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.LOOP_START}),a[s-1].push({type:`loopEnd`,loopText:a[s-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 35:a[s-1].unshift({type:`rectStart`,color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_START}),a[s-1].push({type:`rectEnd`,color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_END}),this.$=a[s-1];break;case 36:a[s-1].unshift({type:`optStart`,optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_START}),a[s-1].push({type:`optEnd`,optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_END}),this.$=a[s-1];break;case 37:a[s-1].unshift({type:`altStart`,altText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.ALT_START}),a[s-1].push({type:`altEnd`,signalType:r.LINETYPE.ALT_END}),this.$=a[s-1];break;case 38:a[s-1].unshift({type:`parStart`,parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_START}),a[s-1].push({type:`parEnd`,signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 39:a[s-1].unshift({type:`parStart`,parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_OVER_START}),a[s-1].push({type:`parEnd`,signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 40:a[s-1].unshift({type:`criticalStart`,criticalText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.CRITICAL_START}),a[s-1].push({type:`criticalEnd`,signalType:r.LINETYPE.CRITICAL_END}),this.$=a[s-1];break;case 41:a[s-1].unshift({type:`breakStart`,breakText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.BREAK_START}),a[s-1].push({type:`breakEnd`,optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.BREAK_END}),this.$=a[s-1];break;case 43:this.$=a[s-3].concat([{type:`option`,optionText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.CRITICAL_OPTION},a[s]]);break;case 45:this.$=a[s-3].concat([{type:`and`,parText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.PAR_AND},a[s]]);break;case 47:this.$=a[s-3].concat([{type:`else`,altText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.ALT_ELSE},a[s]]);break;case 48:a[s-3].draw=`participant`,a[s-3].type=`addParticipant`,a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 49:a[s-1].draw=`participant`,a[s-1].type=`addParticipant`,this.$=a[s-1];break;case 50:a[s-3].draw=`actor`,a[s-3].type=`addParticipant`,a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 51:a[s-1].draw=`actor`,a[s-1].type=`addParticipant`,this.$=a[s-1];break;case 52:a[s-1].type=`destroyParticipant`,this.$=a[s-1];break;case 53:a[s-1].draw=`participant`,a[s-1].type=`addParticipant`,this.$=a[s-1];break;case 54:this.$=[a[s-1],{type:`addNote`,placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 55:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:`addNote`,placement:r.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 56:this.$=[a[s-1],{type:`addLinks`,actor:a[s-1].actor,text:a[s]}];break;case 57:this.$=[a[s-1],{type:`addALink`,actor:a[s-1].actor,text:a[s]}];break;case 58:this.$=[a[s-1],{type:`addProperties`,actor:a[s-1].actor,text:a[s]}];break;case 59:this.$=[a[s-1],{type:`addDetails`,actor:a[s-1].actor,text:a[s]}];break;case 62:this.$=[a[s-2],a[s]];break;case 63:this.$=a[s];break;case 64:this.$=r.PLACEMENT.LEFTOF;break;case 65:this.$=r.PLACEMENT.RIGHTOF;break;case 66:this.$=[a[s-4],a[s-1],{type:`addMessage`,from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s],activate:!0},{type:`activeStart`,signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1].actor}];break;case 67:this.$=[a[s-4],a[s-1],{type:`addMessage`,from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:`activeEnd`,signalType:r.LINETYPE.ACTIVE_END,actor:a[s-4].actor}];break;case 68:this.$=[a[s-3],a[s-1],{type:`addMessage`,from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 69:this.$={type:`addParticipant`,actor:a[s-1],config:a[s]};break;case 70:this.$=a[s-1].trim();break;case 71:this.$={type:`addParticipant`,actor:a[s]};break;case 72:this.$=r.LINETYPE.SOLID_OPEN;break;case 73:this.$=r.LINETYPE.DOTTED_OPEN;break;case 74:this.$=r.LINETYPE.SOLID;break;case 75:this.$=r.LINETYPE.BIDIRECTIONAL_SOLID;break;case 76:this.$=r.LINETYPE.DOTTED;break;case 77:this.$=r.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 78:this.$=r.LINETYPE.SOLID_CROSS;break;case 79:this.$=r.LINETYPE.DOTTED_CROSS;break;case 80:this.$=r.LINETYPE.SOLID_POINT;break;case 81:this.$=r.LINETYPE.DOTTED_POINT;break;case 82:this.$=r.parseMessage(a[s].trim().substring(1));break}},`anonymous`),table:[{3:1,4:n,5:r,6:i},{1:[3]},{3:5,4:n,5:r,6:i},{3:6,4:n,5:r,6:i},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],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,12:12,13:c,14:l,17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},e(F,[2,5]),{9:47,12:12,13:c,14:l,17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},e(F,[2,7]),e(F,[2,8]),e(F,[2,14]),{12:48,50:E,52:D,53:O},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,71:P},{22:55,71:P},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},e(F,[2,29]),e(F,[2,30]),{32:[1,61]},{34:[1,62]},e(F,[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:P},{22:75,71:P},{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:P},{22:92,71:P},{22:93,71:P},{22:94,71:P},e([5,51,65,76,77,78,79,80,81,82,83,84,85,86],I),e(F,[2,6]),e(F,[2,15]),e(L,[2,9],{10:95}),e(F,[2,17]),{5:[1,97],19:[1,96]},{5:[1,98]},e(F,[2,21]),{5:[1,99]},{5:[1,100]},e(F,[2,24]),e(F,[2,25]),e(F,[2,26]),e(F,[2,27]),e(F,[2,28]),e(F,[2,31]),e(F,[2,32]),e(R,a,{7:101}),e(R,a,{7:102}),e(R,a,{7:103}),e(z,a,{40:104,7:105}),e(B,a,{42:106,7:107}),e(B,a,{7:107,42:108}),e(V,a,{45:109,7:110}),e(R,a,{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:P},e(H,[2,72]),e(H,[2,73]),e(H,[2,74]),e(H,[2,75]),e(H,[2,76]),e(H,[2,77]),e(H,[2,78]),e(H,[2,79]),e(H,[2,80]),e(H,[2,81]),{22:123,71:P},{22:125,59:124,71:P},{71:[2,64]},{71:[2,65]},{57:126,86:U},{57:128,86:U},{57:129,86:U},{57:130,86:U},{4:[1,133],5:[1,135],11:132,12:134,16:[1,131],50:E,52:D,53:O},{5:[1,136]},e(F,[2,19]),e(F,[2,20]),e(F,[2,22]),e(F,[2,23]),{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,137],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,138],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,139],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{16:[1,140]},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[2,46],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,49:[1,141],50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{16:[1,142]},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[2,44],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,48:[1,143],50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{16:[1,144]},{16:[1,145]},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[2,42],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,47:[1,146],50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,147],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{15:[1,148]},e(F,[2,49]),e(F,[2,53]),{5:[2,69]},{74:[1,149]},{15:[1,150]},e(F,[2,51]),e(F,[2,52]),{22:151,71:P},{22:152,71:P},{57:153,86:U},{57:154,86:U},{57:155,86:U},{65:[1,156],86:[2,63]},{5:[2,56]},{5:[2,82]},{5:[2,57]},{5:[2,58]},{5:[2,59]},e(F,[2,16]),e(L,[2,10]),{12:157,50:E,52:D,53:O},e(L,[2,12]),e(L,[2,13]),e(F,[2,18]),e(F,[2,34]),e(F,[2,35]),e(F,[2,36]),e(F,[2,37]),{15:[1,158]},e(F,[2,38]),{15:[1,159]},e(F,[2,39]),e(F,[2,40]),{15:[1,160]},e(F,[2,41]),{5:[1,161]},{75:[1,162]},{5:[1,163]},{57:164,86:U},{57:165,86:U},{5:[2,68]},{5:[2,54]},{5:[2,55]},{22:166,71:P},e(L,[2,11]),e(z,a,{7:105,40:167}),e(B,a,{7:107,42:168}),e(V,a,{7:110,45:169}),e(F,[2,48]),{5:[2,70]},e(F,[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:t.h(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t.h(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t.h(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t.h(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ const e=require("./custom-DxcMopGY.cjs"),t=require("./src-BMjps4Ui.cjs"),n=require("./chunk-ABZYJK2D-CbIYYZa_.cjs"),r=require("./chunk-S3R3BYOJ-B2ozcJNg.cjs"),i=require("./dist-DC-lM4uX.cjs"),a=require("./chunk-TZMSLE5B-D92K1Ja5.cjs"),o=require("./chunk-QZHKN3VN-2e6nJr8c.cjs");var s=i.t(),c=(function(){var e=t.h(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,2],r=[1,3],i=[1,4],a=[2,4],o=[1,9],s=[1,11],c=[1,13],l=[1,14],u=[1,16],d=[1,17],f=[1,18],p=[1,24],m=[1,25],h=[1,26],g=[1,27],_=[1,28],v=[1,29],y=[1,30],b=[1,31],x=[1,32],S=[1,33],C=[1,34],w=[1,35],T=[1,36],E=[1,37],D=[1,38],O=[1,39],k=[1,41],A=[1,42],j=[1,43],M=[1,44],N=[1,45],P=[1,46],F=[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],L=[4,5,16,50,52,53],R=[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],z=[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],B=[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],V=[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],H=[69,70,71],U=[1,127],W={trace:t.h(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:t.h(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.apply(a[s]),a[s];case 4:case 9:this.$=[];break;case 5:case 10:a[s-1].push(a[s]),this.$=a[s-1];break;case 6:case 7:case 11:case 12:this.$=a[s];break;case 8:case 13:this.$=[];break;case 15:a[s].type=`createParticipant`,this.$=a[s];break;case 16:a[s-1].unshift({type:`boxStart`,boxData:r.parseBoxData(a[s-2])}),a[s-1].push({type:`boxEnd`,boxText:a[s-2]}),this.$=a[s-1];break;case 18:this.$={type:`sequenceIndex`,sequenceIndex:Number(a[s-2]),sequenceIndexStep:Number(a[s-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:`sequenceIndex`,sequenceIndex:Number(a[s-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:`sequenceIndex`,sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:`sequenceIndex`,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:`activeStart`,signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1].actor};break;case 23:this.$={type:`activeEnd`,signalType:r.LINETYPE.ACTIVE_END,actor:a[s-1].actor};break;case 29:r.setDiagramTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 30:r.setDiagramTitle(a[s].substring(7)),this.$=a[s].substring(7);break;case 31:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 34:a[s-1].unshift({type:`loopStart`,loopText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.LOOP_START}),a[s-1].push({type:`loopEnd`,loopText:a[s-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 35:a[s-1].unshift({type:`rectStart`,color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_START}),a[s-1].push({type:`rectEnd`,color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_END}),this.$=a[s-1];break;case 36:a[s-1].unshift({type:`optStart`,optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_START}),a[s-1].push({type:`optEnd`,optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_END}),this.$=a[s-1];break;case 37:a[s-1].unshift({type:`altStart`,altText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.ALT_START}),a[s-1].push({type:`altEnd`,signalType:r.LINETYPE.ALT_END}),this.$=a[s-1];break;case 38:a[s-1].unshift({type:`parStart`,parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_START}),a[s-1].push({type:`parEnd`,signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 39:a[s-1].unshift({type:`parStart`,parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_OVER_START}),a[s-1].push({type:`parEnd`,signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 40:a[s-1].unshift({type:`criticalStart`,criticalText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.CRITICAL_START}),a[s-1].push({type:`criticalEnd`,signalType:r.LINETYPE.CRITICAL_END}),this.$=a[s-1];break;case 41:a[s-1].unshift({type:`breakStart`,breakText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.BREAK_START}),a[s-1].push({type:`breakEnd`,optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.BREAK_END}),this.$=a[s-1];break;case 43:this.$=a[s-3].concat([{type:`option`,optionText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.CRITICAL_OPTION},a[s]]);break;case 45:this.$=a[s-3].concat([{type:`and`,parText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.PAR_AND},a[s]]);break;case 47:this.$=a[s-3].concat([{type:`else`,altText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.ALT_ELSE},a[s]]);break;case 48:a[s-3].draw=`participant`,a[s-3].type=`addParticipant`,a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 49:a[s-1].draw=`participant`,a[s-1].type=`addParticipant`,this.$=a[s-1];break;case 50:a[s-3].draw=`actor`,a[s-3].type=`addParticipant`,a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 51:a[s-1].draw=`actor`,a[s-1].type=`addParticipant`,this.$=a[s-1];break;case 52:a[s-1].type=`destroyParticipant`,this.$=a[s-1];break;case 53:a[s-1].draw=`participant`,a[s-1].type=`addParticipant`,this.$=a[s-1];break;case 54:this.$=[a[s-1],{type:`addNote`,placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 55:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:`addNote`,placement:r.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 56:this.$=[a[s-1],{type:`addLinks`,actor:a[s-1].actor,text:a[s]}];break;case 57:this.$=[a[s-1],{type:`addALink`,actor:a[s-1].actor,text:a[s]}];break;case 58:this.$=[a[s-1],{type:`addProperties`,actor:a[s-1].actor,text:a[s]}];break;case 59:this.$=[a[s-1],{type:`addDetails`,actor:a[s-1].actor,text:a[s]}];break;case 62:this.$=[a[s-2],a[s]];break;case 63:this.$=a[s];break;case 64:this.$=r.PLACEMENT.LEFTOF;break;case 65:this.$=r.PLACEMENT.RIGHTOF;break;case 66:this.$=[a[s-4],a[s-1],{type:`addMessage`,from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s],activate:!0},{type:`activeStart`,signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1].actor}];break;case 67:this.$=[a[s-4],a[s-1],{type:`addMessage`,from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:`activeEnd`,signalType:r.LINETYPE.ACTIVE_END,actor:a[s-4].actor}];break;case 68:this.$=[a[s-3],a[s-1],{type:`addMessage`,from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 69:this.$={type:`addParticipant`,actor:a[s-1],config:a[s]};break;case 70:this.$=a[s-1].trim();break;case 71:this.$={type:`addParticipant`,actor:a[s]};break;case 72:this.$=r.LINETYPE.SOLID_OPEN;break;case 73:this.$=r.LINETYPE.DOTTED_OPEN;break;case 74:this.$=r.LINETYPE.SOLID;break;case 75:this.$=r.LINETYPE.BIDIRECTIONAL_SOLID;break;case 76:this.$=r.LINETYPE.DOTTED;break;case 77:this.$=r.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 78:this.$=r.LINETYPE.SOLID_CROSS;break;case 79:this.$=r.LINETYPE.DOTTED_CROSS;break;case 80:this.$=r.LINETYPE.SOLID_POINT;break;case 81:this.$=r.LINETYPE.DOTTED_POINT;break;case 82:this.$=r.parseMessage(a[s].trim().substring(1));break}},`anonymous`),table:[{3:1,4:n,5:r,6:i},{1:[3]},{3:5,4:n,5:r,6:i},{3:6,4:n,5:r,6:i},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],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,12:12,13:c,14:l,17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},e(F,[2,5]),{9:47,12:12,13:c,14:l,17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},e(F,[2,7]),e(F,[2,8]),e(F,[2,14]),{12:48,50:E,52:D,53:O},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,71:P},{22:55,71:P},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},e(F,[2,29]),e(F,[2,30]),{32:[1,61]},{34:[1,62]},e(F,[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:P},{22:75,71:P},{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:P},{22:92,71:P},{22:93,71:P},{22:94,71:P},e([5,51,65,76,77,78,79,80,81,82,83,84,85,86],I),e(F,[2,6]),e(F,[2,15]),e(L,[2,9],{10:95}),e(F,[2,17]),{5:[1,97],19:[1,96]},{5:[1,98]},e(F,[2,21]),{5:[1,99]},{5:[1,100]},e(F,[2,24]),e(F,[2,25]),e(F,[2,26]),e(F,[2,27]),e(F,[2,28]),e(F,[2,31]),e(F,[2,32]),e(R,a,{7:101}),e(R,a,{7:102}),e(R,a,{7:103}),e(z,a,{40:104,7:105}),e(B,a,{42:106,7:107}),e(B,a,{7:107,42:108}),e(V,a,{45:109,7:110}),e(R,a,{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:P},e(H,[2,72]),e(H,[2,73]),e(H,[2,74]),e(H,[2,75]),e(H,[2,76]),e(H,[2,77]),e(H,[2,78]),e(H,[2,79]),e(H,[2,80]),e(H,[2,81]),{22:123,71:P},{22:125,59:124,71:P},{71:[2,64]},{71:[2,65]},{57:126,86:U},{57:128,86:U},{57:129,86:U},{57:130,86:U},{4:[1,133],5:[1,135],11:132,12:134,16:[1,131],50:E,52:D,53:O},{5:[1,136]},e(F,[2,19]),e(F,[2,20]),e(F,[2,22]),e(F,[2,23]),{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,137],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,138],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,139],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{16:[1,140]},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[2,46],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,49:[1,141],50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{16:[1,142]},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[2,44],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,48:[1,143],50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{16:[1,144]},{16:[1,145]},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[2,42],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,47:[1,146],50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{4:o,5:s,8:8,9:10,12:12,13:c,14:l,16:[1,147],17:15,18:u,21:d,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:p,30:m,31:h,33:g,35:_,36:v,37:y,38:b,39:x,41:S,43:C,44:w,46:T,50:E,52:D,53:O,55:k,60:A,61:j,62:M,63:N,71:P},{15:[1,148]},e(F,[2,49]),e(F,[2,53]),{5:[2,69]},{74:[1,149]},{15:[1,150]},e(F,[2,51]),e(F,[2,52]),{22:151,71:P},{22:152,71:P},{57:153,86:U},{57:154,86:U},{57:155,86:U},{65:[1,156],86:[2,63]},{5:[2,56]},{5:[2,82]},{5:[2,57]},{5:[2,58]},{5:[2,59]},e(F,[2,16]),e(L,[2,10]),{12:157,50:E,52:D,53:O},e(L,[2,12]),e(L,[2,13]),e(F,[2,18]),e(F,[2,34]),e(F,[2,35]),e(F,[2,36]),e(F,[2,37]),{15:[1,158]},e(F,[2,38]),{15:[1,159]},e(F,[2,39]),e(F,[2,40]),{15:[1,160]},e(F,[2,41]),{5:[1,161]},{75:[1,162]},{5:[1,163]},{57:164,86:U},{57:165,86:U},{5:[2,68]},{5:[2,54]},{5:[2,55]},{22:166,71:P},e(L,[2,11]),e(z,a,{7:105,40:167}),e(B,a,{7:107,42:168}),e(V,a,{7:110,45:169}),e(F,[2,48]),{5:[2,70]},e(F,[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:t.h(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t.h(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t.h(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t.h(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};W.lexer=(function(){return{EOF:1,parseError:t.h(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:t.h(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:t.h(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:t.h(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:t.h(function(){return this._more=!0,this},`more`),reject:t.h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:t.h(function(e){this.unput(this.match.slice(e))},`less`),pastInput:t.h(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:t.h(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:t.h(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -1 +1 @@
1
- require("./custom-Dzz3lVEd.cjs");const e=require("./src-BMjps4Ui.cjs"),t=require("./chunk-ABZYJK2D-CbIYYZa_.cjs"),n=require("./chunk-S3R3BYOJ-B2ozcJNg.cjs"),r=require("./line-DdNAPGaw.cjs");require("./chunk-HN2XXSSU-BwmRMa2r.cjs"),require("./chunk-CVBHYZKI-CLVcv_xh.cjs"),require("./chunk-ATLVNIR6-shAOudT0.cjs"),require("./chunk-JA3XYJ7Z-BaAdjYEy.cjs"),require("./chunk-JZLCHNYA-CvPIQFXP.cjs"),require("./chunk-QXUST7PY-CnnfdJrM.cjs");const i=require("./dagre-BLeVvHvV.cjs"),a=require("./graphlib-BwNw1Gxc.cjs");require("./chunk-55IACEB6-Hy_THNUs.cjs"),require("./chunk-QN33PNHL-Cu0FHarG.cjs");const o=require("./chunk-DI55MBZ5-C0CODE9K.cjs");var s=e.h(e=>e.append(`circle`).attr(`class`,`start-state`).attr(`r`,t.b().state.sizeUnit).attr(`cx`,t.b().state.padding+t.b().state.sizeUnit).attr(`cy`,t.b().state.padding+t.b().state.sizeUnit),`drawStartState`),c=e.h(e=>e.append(`line`).style(`stroke`,`grey`).style(`stroke-dasharray`,`3`).attr(`x1`,t.b().state.textHeight).attr(`class`,`divider`).attr(`x2`,t.b().state.textHeight*2).attr(`y1`,0).attr(`y2`,0),`drawDivider`),l=e.h((e,n)=>{let r=e.append(`text`).attr(`x`,2*t.b().state.padding).attr(`y`,t.b().state.textHeight+2*t.b().state.padding).attr(`font-size`,t.b().state.fontSize).attr(`class`,`state-title`).text(n.id),i=r.node().getBBox();return e.insert(`rect`,`:first-child`).attr(`x`,t.b().state.padding).attr(`y`,t.b().state.padding).attr(`width`,i.width+2*t.b().state.padding).attr(`height`,i.height+2*t.b().state.padding).attr(`rx`,t.b().state.radius),r},`drawSimpleState`),u=e.h((n,r)=>{let i=e.h(function(e,n,r){let i=e.append(`tspan`).attr(`x`,2*t.b().state.padding).text(n);r||i.attr(`dy`,t.b().state.textHeight)},`addTspan`),a=n.append(`text`).attr(`x`,2*t.b().state.padding).attr(`y`,t.b().state.textHeight+1.3*t.b().state.padding).attr(`font-size`,t.b().state.fontSize).attr(`class`,`state-title`).text(r.descriptions[0]).node().getBBox(),o=a.height,s=n.append(`text`).attr(`x`,t.b().state.padding).attr(`y`,o+t.b().state.padding*.4+t.b().state.dividerMargin+t.b().state.textHeight).attr(`class`,`state-description`),c=!0,l=!0;r.descriptions.forEach(function(e){c||(i(s,e,l),l=!1),c=!1});let u=n.append(`line`).attr(`x1`,t.b().state.padding).attr(`y1`,t.b().state.padding+o+t.b().state.dividerMargin/2).attr(`y2`,t.b().state.padding+o+t.b().state.dividerMargin/2).attr(`class`,`descr-divider`),d=s.node().getBBox(),f=Math.max(d.width,a.width);return u.attr(`x2`,f+3*t.b().state.padding),n.insert(`rect`,`:first-child`).attr(`x`,t.b().state.padding).attr(`y`,t.b().state.padding).attr(`width`,f+2*t.b().state.padding).attr(`height`,d.height+o+2*t.b().state.padding).attr(`rx`,t.b().state.radius),n},`drawDescrState`),d=e.h((e,n,r)=>{let i=t.b().state.padding,a=2*t.b().state.padding,o=e.node().getBBox(),s=o.width,c=o.x,l=e.append(`text`).attr(`x`,0).attr(`y`,t.b().state.titleShift).attr(`font-size`,t.b().state.fontSize).attr(`class`,`state-title`).text(n.id),u=l.node().getBBox().width+a,d=Math.max(u,s);d===s&&(d+=a);let f,p=e.node().getBBox();n.doc,f=c-i,u>s&&(f=(s-d)/2+i),Math.abs(c-p.x)<i&&u>s&&(f=c-(u-s)/2);let m=1-t.b().state.textHeight;return e.insert(`rect`,`:first-child`).attr(`x`,f).attr(`y`,m).attr(`class`,r?`alt-composit`:`composit`).attr(`width`,d).attr(`height`,p.height+t.b().state.textHeight+t.b().state.titleShift+1).attr(`rx`,`0`),l.attr(`x`,f+i),u<=s&&l.attr(`x`,c+(d-a)/2-u/2+i),e.insert(`rect`,`:first-child`).attr(`x`,f).attr(`y`,t.b().state.titleShift-t.b().state.textHeight-t.b().state.padding).attr(`width`,d).attr(`height`,t.b().state.textHeight*3).attr(`rx`,t.b().state.radius),e.insert(`rect`,`:first-child`).attr(`x`,f).attr(`y`,t.b().state.titleShift-t.b().state.textHeight-t.b().state.padding).attr(`width`,d).attr(`height`,p.height+3+2*t.b().state.textHeight).attr(`rx`,t.b().state.radius),e},`addTitleAndBox`),f=e.h(e=>(e.append(`circle`).attr(`class`,`end-state-outer`).attr(`r`,t.b().state.sizeUnit+t.b().state.miniPadding).attr(`cx`,t.b().state.padding+t.b().state.sizeUnit+t.b().state.miniPadding).attr(`cy`,t.b().state.padding+t.b().state.sizeUnit+t.b().state.miniPadding),e.append(`circle`).attr(`class`,`end-state-inner`).attr(`r`,t.b().state.sizeUnit).attr(`cx`,t.b().state.padding+t.b().state.sizeUnit+2).attr(`cy`,t.b().state.padding+t.b().state.sizeUnit+2)),`drawEndState`),p=e.h((e,n)=>{let r=t.b().state.forkWidth,i=t.b().state.forkHeight;if(n.parentId){let e=r;r=i,i=e}return e.append(`rect`).style(`stroke`,`black`).style(`fill`,`black`).attr(`width`,r).attr(`height`,i).attr(`x`,t.b().state.padding).attr(`y`,t.b().state.padding)},`drawForkJoinState`),m=e.h((e,n,r,i)=>{let a=0,o=i.append(`text`);o.style(`text-anchor`,`start`),o.attr(`class`,`noteText`);let s=e.replace(/\r\n/g,`<br/>`);s=s.replace(/\n/g,`<br/>`);let c=s.split(t.s.lineBreakRegex),l=1.25*t.b().state.noteMargin;for(let e of c){let i=e.trim();if(i.length>0){let e=o.append(`tspan`);if(e.text(i),l===0){let t=e.node().getBBox();l+=t.height}a+=l,e.attr(`x`,n+t.b().state.noteMargin),e.attr(`y`,r+a+1.25*t.b().state.noteMargin)}}return{textWidth:o.node().getBBox().width,textHeight:a}},`_drawLongText`),h=e.h((e,n)=>{n.attr(`class`,`state-note`);let r=n.append(`rect`).attr(`x`,0).attr(`y`,t.b().state.padding),{textWidth:i,textHeight:a}=m(e,0,0,n.append(`g`));return r.attr(`height`,a+2*t.b().state.noteMargin),r.attr(`width`,i+t.b().state.noteMargin*2),r},`drawNote`),g=e.h(function(e,n){let r=n.id,i={id:r,label:n.id,width:0,height:0},a=e.append(`g`).attr(`id`,r).attr(`class`,`stateGroup`);n.type===`start`&&s(a),n.type===`end`&&f(a),(n.type===`fork`||n.type===`join`)&&p(a,n),n.type===`note`&&h(n.note.text,a),n.type===`divider`&&c(a),n.type===`default`&&n.descriptions.length===0&&l(a,n),n.type===`default`&&n.descriptions.length>0&&u(a,n);let o=a.node().getBBox();return i.width=o.width+2*t.b().state.padding,i.height=o.height+2*t.b().state.padding,i},`drawState`),_=0,v=e.h(function(i,a,s){let c=e.h(function(e){switch(e){case o.t.relationType.AGGREGATION:return`aggregation`;case o.t.relationType.EXTENSION:return`extension`;case o.t.relationType.COMPOSITION:return`composition`;case o.t.relationType.DEPENDENCY:return`dependency`}},`getRelationType`);a.points=a.points.filter(e=>!Number.isNaN(e.y));let l=a.points,u=r.t().x(function(e){return e.x}).y(function(e){return e.y}).curve(n.E),d=i.append(`path`).attr(`d`,u(l)).attr(`id`,`edge`+_).attr(`class`,`transition`),f=``;if(t.b().state.arrowMarkerAbsolute&&(f=t.E(!0)),d.attr(`marker-end`,`url(`+f+`#`+c(o.t.relationType.DEPENDENCY)+`End)`),s.title!==void 0){let r=i.append(`g`).attr(`class`,`stateLabel`),{x:o,y:c}=n.h.calcLabelPosition(a.points),l=t.s.getRows(s.title),u=0,d=[],f=0,p=0;for(let t=0;t<=l.length;t++){let n=r.append(`text`).attr(`text-anchor`,`middle`).text(l[t]).attr(`x`,o).attr(`y`,c+u),i=n.node().getBBox();f=Math.max(f,i.width),p=Math.min(p,i.x),e.g.info(i.x,o,c+u),u===0&&(u=n.node().getBBox().height,e.g.info(`Title height`,u,c)),d.push(n)}let m=u*l.length;if(l.length>1){let e=(l.length-1)*u*.5;d.forEach((t,n)=>t.attr(`y`,c+n*u-e)),m=u*l.length}let h=r.node().getBBox();r.insert(`rect`,`:first-child`).attr(`class`,`box`).attr(`x`,o-f/2-t.b().state.padding/2).attr(`y`,c-m/2-t.b().state.padding/2-3.5).attr(`width`,f+t.b().state.padding).attr(`height`,m+t.b().state.padding),e.g.info(h)}_++},`drawEdge`),y,b={},x=e.h(function(){},`setConf`),S=e.h(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`),C=e.h(function(n,r,i,a){y=t.b().state;let o=t.b().securityLevel,s;o===`sandbox`&&(s=e.p(`#i`+r));let c=o===`sandbox`?e.p(s.nodes()[0].contentDocument.body):e.p(`body`),l=o===`sandbox`?s.nodes()[0].contentDocument:document;e.g.debug(`Rendering diagram `+n);let u=c.select(`[id='${r}']`);S(u),T(a.db.getRootDoc(),u,void 0,!1,c,l,a);let d=y.padding,f=u.node().getBBox(),p=f.width+d*2,m=f.height+d*2;t.c(u,m,p*1.75,y.useMaxWidth),u.attr(`viewBox`,`${f.x-y.padding} ${f.y-y.padding} `+p+` `+m)},`draw`),w=e.h(e=>e?e.length*y.fontSizeFactor:1,`getLabelWidth`),T=e.h((n,r,o,s,c,l,u)=>{let f=new a.t({compound:!0,multigraph:!0}),p,m=!0;for(p=0;p<n.length;p++)if(n[p].stmt===`relation`){m=!1;break}o?f.setGraph({rankdir:`LR`,multigraph:!0,compound:!0,ranker:`tight-tree`,ranksep:m?1:y.edgeLengthFactor,nodeSep:m?1:50,isMultiGraph:!0}):f.setGraph({rankdir:`TB`,multigraph:!0,compound:!0,ranksep:m?1:y.edgeLengthFactor,nodeSep:m?1:50,ranker:`tight-tree`,isMultiGraph:!0}),f.setDefaultEdgeLabel(function(){return{}});let h=u.db.getStates(),_=u.db.getRelations(),x=Object.keys(h);for(let e of x){let t=h[e];o&&(t.parentId=o);let n;if(t.doc){let e=r.append(`g`).attr(`id`,t.id).attr(`class`,`stateGroup`);n=T(t.doc,e,t.id,!s,c,l,u);{e=d(e,t,s);let r=e.node().getBBox();n.width=r.width,n.height=r.height+y.padding/2,b[t.id]={y:y.compositTitleSize}}}else n=g(r,t,f);if(t.note){let e=g(r,{descriptions:[],id:t.id+`-note`,note:t.note,type:`note`},f);t.note.position===`left of`?(f.setNode(n.id+`-note`,e),f.setNode(n.id,n)):(f.setNode(n.id,n),f.setNode(n.id+`-note`,e)),f.setParent(n.id,n.id+`-group`),f.setParent(n.id+`-note`,n.id+`-group`)}else f.setNode(n.id,n)}e.g.debug(`Count=`,f.nodeCount(),f);let S=0;_.forEach(function(n){S++,e.g.debug(`Setting edge`,n),f.setEdge(n.id1,n.id2,{relation:n,width:w(n.title),height:y.labelHeight*t.s.getRows(n.title).length,labelpos:`c`},`id`+S)}),i.t(f),e.g.debug(`Graph after layout`,f.nodes());let C=r.node();f.nodes().forEach(function(t){t!==void 0&&f.node(t)!==void 0?(e.g.warn(`Node `+t+`: `+JSON.stringify(f.node(t))),c.select(`#`+C.id+` #`+t).attr(`transform`,`translate(`+(f.node(t).x-f.node(t).width/2)+`,`+(f.node(t).y+(b[t]?b[t].y:0)-f.node(t).height/2)+` )`),c.select(`#`+C.id+` #`+t).attr(`data-x-shift`,f.node(t).x-f.node(t).width/2),l.querySelectorAll(`#`+C.id+` #`+t+` .divider`).forEach(e=>{let t=e.parentElement,n=0,r=0;t&&(t.parentElement&&(n=t.parentElement.getBBox().width),r=parseInt(t.getAttribute(`data-x-shift`),10),Number.isNaN(r)&&(r=0)),e.setAttribute(`x1`,0-r+8),e.setAttribute(`x2`,n-r-8)})):e.g.debug(`No Node `+t+`: `+JSON.stringify(f.node(t)))});let E=C.getBBox();f.edges().forEach(function(t){t!==void 0&&f.edge(t)!==void 0&&(e.g.debug(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(f.edge(t))),v(r,f.edge(t),f.edge(t).relation))}),E=C.getBBox();let D={id:o||`root`,label:o||`root`,width:0,height:0};return D.width=E.width+2*y.padding,D.height=E.height+2*y.padding,e.g.debug(`Doc rendered`,D,f),D},`renderDoc`),E={parser:o.n,get db(){return new o.t(1)},renderer:{setConf:x,draw:C},styles:o.i,init:e.h(e=>{e.state||={},e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};exports.diagram=E;
1
+ require("./custom-DxcMopGY.cjs");const e=require("./src-BMjps4Ui.cjs"),t=require("./chunk-ABZYJK2D-CbIYYZa_.cjs"),n=require("./chunk-S3R3BYOJ-B2ozcJNg.cjs"),r=require("./line-DdNAPGaw.cjs");require("./chunk-HN2XXSSU-BwmRMa2r.cjs"),require("./chunk-CVBHYZKI-CLVcv_xh.cjs"),require("./chunk-ATLVNIR6-shAOudT0.cjs"),require("./chunk-JA3XYJ7Z-BaAdjYEy.cjs"),require("./chunk-JZLCHNYA-CvPIQFXP.cjs"),require("./chunk-QXUST7PY-CnnfdJrM.cjs");const i=require("./dagre-DA2mYucy.cjs"),a=require("./graphlib-Je6oSko6.cjs");require("./chunk-55IACEB6-Hy_THNUs.cjs"),require("./chunk-QN33PNHL-Cu0FHarG.cjs");const o=require("./chunk-DI55MBZ5-MddxpbIU.cjs");var s=e.h(e=>e.append(`circle`).attr(`class`,`start-state`).attr(`r`,t.b().state.sizeUnit).attr(`cx`,t.b().state.padding+t.b().state.sizeUnit).attr(`cy`,t.b().state.padding+t.b().state.sizeUnit),`drawStartState`),c=e.h(e=>e.append(`line`).style(`stroke`,`grey`).style(`stroke-dasharray`,`3`).attr(`x1`,t.b().state.textHeight).attr(`class`,`divider`).attr(`x2`,t.b().state.textHeight*2).attr(`y1`,0).attr(`y2`,0),`drawDivider`),l=e.h((e,n)=>{let r=e.append(`text`).attr(`x`,2*t.b().state.padding).attr(`y`,t.b().state.textHeight+2*t.b().state.padding).attr(`font-size`,t.b().state.fontSize).attr(`class`,`state-title`).text(n.id),i=r.node().getBBox();return e.insert(`rect`,`:first-child`).attr(`x`,t.b().state.padding).attr(`y`,t.b().state.padding).attr(`width`,i.width+2*t.b().state.padding).attr(`height`,i.height+2*t.b().state.padding).attr(`rx`,t.b().state.radius),r},`drawSimpleState`),u=e.h((n,r)=>{let i=e.h(function(e,n,r){let i=e.append(`tspan`).attr(`x`,2*t.b().state.padding).text(n);r||i.attr(`dy`,t.b().state.textHeight)},`addTspan`),a=n.append(`text`).attr(`x`,2*t.b().state.padding).attr(`y`,t.b().state.textHeight+1.3*t.b().state.padding).attr(`font-size`,t.b().state.fontSize).attr(`class`,`state-title`).text(r.descriptions[0]).node().getBBox(),o=a.height,s=n.append(`text`).attr(`x`,t.b().state.padding).attr(`y`,o+t.b().state.padding*.4+t.b().state.dividerMargin+t.b().state.textHeight).attr(`class`,`state-description`),c=!0,l=!0;r.descriptions.forEach(function(e){c||(i(s,e,l),l=!1),c=!1});let u=n.append(`line`).attr(`x1`,t.b().state.padding).attr(`y1`,t.b().state.padding+o+t.b().state.dividerMargin/2).attr(`y2`,t.b().state.padding+o+t.b().state.dividerMargin/2).attr(`class`,`descr-divider`),d=s.node().getBBox(),f=Math.max(d.width,a.width);return u.attr(`x2`,f+3*t.b().state.padding),n.insert(`rect`,`:first-child`).attr(`x`,t.b().state.padding).attr(`y`,t.b().state.padding).attr(`width`,f+2*t.b().state.padding).attr(`height`,d.height+o+2*t.b().state.padding).attr(`rx`,t.b().state.radius),n},`drawDescrState`),d=e.h((e,n,r)=>{let i=t.b().state.padding,a=2*t.b().state.padding,o=e.node().getBBox(),s=o.width,c=o.x,l=e.append(`text`).attr(`x`,0).attr(`y`,t.b().state.titleShift).attr(`font-size`,t.b().state.fontSize).attr(`class`,`state-title`).text(n.id),u=l.node().getBBox().width+a,d=Math.max(u,s);d===s&&(d+=a);let f,p=e.node().getBBox();n.doc,f=c-i,u>s&&(f=(s-d)/2+i),Math.abs(c-p.x)<i&&u>s&&(f=c-(u-s)/2);let m=1-t.b().state.textHeight;return e.insert(`rect`,`:first-child`).attr(`x`,f).attr(`y`,m).attr(`class`,r?`alt-composit`:`composit`).attr(`width`,d).attr(`height`,p.height+t.b().state.textHeight+t.b().state.titleShift+1).attr(`rx`,`0`),l.attr(`x`,f+i),u<=s&&l.attr(`x`,c+(d-a)/2-u/2+i),e.insert(`rect`,`:first-child`).attr(`x`,f).attr(`y`,t.b().state.titleShift-t.b().state.textHeight-t.b().state.padding).attr(`width`,d).attr(`height`,t.b().state.textHeight*3).attr(`rx`,t.b().state.radius),e.insert(`rect`,`:first-child`).attr(`x`,f).attr(`y`,t.b().state.titleShift-t.b().state.textHeight-t.b().state.padding).attr(`width`,d).attr(`height`,p.height+3+2*t.b().state.textHeight).attr(`rx`,t.b().state.radius),e},`addTitleAndBox`),f=e.h(e=>(e.append(`circle`).attr(`class`,`end-state-outer`).attr(`r`,t.b().state.sizeUnit+t.b().state.miniPadding).attr(`cx`,t.b().state.padding+t.b().state.sizeUnit+t.b().state.miniPadding).attr(`cy`,t.b().state.padding+t.b().state.sizeUnit+t.b().state.miniPadding),e.append(`circle`).attr(`class`,`end-state-inner`).attr(`r`,t.b().state.sizeUnit).attr(`cx`,t.b().state.padding+t.b().state.sizeUnit+2).attr(`cy`,t.b().state.padding+t.b().state.sizeUnit+2)),`drawEndState`),p=e.h((e,n)=>{let r=t.b().state.forkWidth,i=t.b().state.forkHeight;if(n.parentId){let e=r;r=i,i=e}return e.append(`rect`).style(`stroke`,`black`).style(`fill`,`black`).attr(`width`,r).attr(`height`,i).attr(`x`,t.b().state.padding).attr(`y`,t.b().state.padding)},`drawForkJoinState`),m=e.h((e,n,r,i)=>{let a=0,o=i.append(`text`);o.style(`text-anchor`,`start`),o.attr(`class`,`noteText`);let s=e.replace(/\r\n/g,`<br/>`);s=s.replace(/\n/g,`<br/>`);let c=s.split(t.s.lineBreakRegex),l=1.25*t.b().state.noteMargin;for(let e of c){let i=e.trim();if(i.length>0){let e=o.append(`tspan`);if(e.text(i),l===0){let t=e.node().getBBox();l+=t.height}a+=l,e.attr(`x`,n+t.b().state.noteMargin),e.attr(`y`,r+a+1.25*t.b().state.noteMargin)}}return{textWidth:o.node().getBBox().width,textHeight:a}},`_drawLongText`),h=e.h((e,n)=>{n.attr(`class`,`state-note`);let r=n.append(`rect`).attr(`x`,0).attr(`y`,t.b().state.padding),{textWidth:i,textHeight:a}=m(e,0,0,n.append(`g`));return r.attr(`height`,a+2*t.b().state.noteMargin),r.attr(`width`,i+t.b().state.noteMargin*2),r},`drawNote`),g=e.h(function(e,n){let r=n.id,i={id:r,label:n.id,width:0,height:0},a=e.append(`g`).attr(`id`,r).attr(`class`,`stateGroup`);n.type===`start`&&s(a),n.type===`end`&&f(a),(n.type===`fork`||n.type===`join`)&&p(a,n),n.type===`note`&&h(n.note.text,a),n.type===`divider`&&c(a),n.type===`default`&&n.descriptions.length===0&&l(a,n),n.type===`default`&&n.descriptions.length>0&&u(a,n);let o=a.node().getBBox();return i.width=o.width+2*t.b().state.padding,i.height=o.height+2*t.b().state.padding,i},`drawState`),_=0,v=e.h(function(i,a,s){let c=e.h(function(e){switch(e){case o.t.relationType.AGGREGATION:return`aggregation`;case o.t.relationType.EXTENSION:return`extension`;case o.t.relationType.COMPOSITION:return`composition`;case o.t.relationType.DEPENDENCY:return`dependency`}},`getRelationType`);a.points=a.points.filter(e=>!Number.isNaN(e.y));let l=a.points,u=r.t().x(function(e){return e.x}).y(function(e){return e.y}).curve(n.E),d=i.append(`path`).attr(`d`,u(l)).attr(`id`,`edge`+_).attr(`class`,`transition`),f=``;if(t.b().state.arrowMarkerAbsolute&&(f=t.E(!0)),d.attr(`marker-end`,`url(`+f+`#`+c(o.t.relationType.DEPENDENCY)+`End)`),s.title!==void 0){let r=i.append(`g`).attr(`class`,`stateLabel`),{x:o,y:c}=n.h.calcLabelPosition(a.points),l=t.s.getRows(s.title),u=0,d=[],f=0,p=0;for(let t=0;t<=l.length;t++){let n=r.append(`text`).attr(`text-anchor`,`middle`).text(l[t]).attr(`x`,o).attr(`y`,c+u),i=n.node().getBBox();f=Math.max(f,i.width),p=Math.min(p,i.x),e.g.info(i.x,o,c+u),u===0&&(u=n.node().getBBox().height,e.g.info(`Title height`,u,c)),d.push(n)}let m=u*l.length;if(l.length>1){let e=(l.length-1)*u*.5;d.forEach((t,n)=>t.attr(`y`,c+n*u-e)),m=u*l.length}let h=r.node().getBBox();r.insert(`rect`,`:first-child`).attr(`class`,`box`).attr(`x`,o-f/2-t.b().state.padding/2).attr(`y`,c-m/2-t.b().state.padding/2-3.5).attr(`width`,f+t.b().state.padding).attr(`height`,m+t.b().state.padding),e.g.info(h)}_++},`drawEdge`),y,b={},x=e.h(function(){},`setConf`),S=e.h(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`),C=e.h(function(n,r,i,a){y=t.b().state;let o=t.b().securityLevel,s;o===`sandbox`&&(s=e.p(`#i`+r));let c=o===`sandbox`?e.p(s.nodes()[0].contentDocument.body):e.p(`body`),l=o===`sandbox`?s.nodes()[0].contentDocument:document;e.g.debug(`Rendering diagram `+n);let u=c.select(`[id='${r}']`);S(u),T(a.db.getRootDoc(),u,void 0,!1,c,l,a);let d=y.padding,f=u.node().getBBox(),p=f.width+d*2,m=f.height+d*2;t.c(u,m,p*1.75,y.useMaxWidth),u.attr(`viewBox`,`${f.x-y.padding} ${f.y-y.padding} `+p+` `+m)},`draw`),w=e.h(e=>e?e.length*y.fontSizeFactor:1,`getLabelWidth`),T=e.h((n,r,o,s,c,l,u)=>{let f=new a.t({compound:!0,multigraph:!0}),p,m=!0;for(p=0;p<n.length;p++)if(n[p].stmt===`relation`){m=!1;break}o?f.setGraph({rankdir:`LR`,multigraph:!0,compound:!0,ranker:`tight-tree`,ranksep:m?1:y.edgeLengthFactor,nodeSep:m?1:50,isMultiGraph:!0}):f.setGraph({rankdir:`TB`,multigraph:!0,compound:!0,ranksep:m?1:y.edgeLengthFactor,nodeSep:m?1:50,ranker:`tight-tree`,isMultiGraph:!0}),f.setDefaultEdgeLabel(function(){return{}});let h=u.db.getStates(),_=u.db.getRelations(),x=Object.keys(h);for(let e of x){let t=h[e];o&&(t.parentId=o);let n;if(t.doc){let e=r.append(`g`).attr(`id`,t.id).attr(`class`,`stateGroup`);n=T(t.doc,e,t.id,!s,c,l,u);{e=d(e,t,s);let r=e.node().getBBox();n.width=r.width,n.height=r.height+y.padding/2,b[t.id]={y:y.compositTitleSize}}}else n=g(r,t,f);if(t.note){let e=g(r,{descriptions:[],id:t.id+`-note`,note:t.note,type:`note`},f);t.note.position===`left of`?(f.setNode(n.id+`-note`,e),f.setNode(n.id,n)):(f.setNode(n.id,n),f.setNode(n.id+`-note`,e)),f.setParent(n.id,n.id+`-group`),f.setParent(n.id+`-note`,n.id+`-group`)}else f.setNode(n.id,n)}e.g.debug(`Count=`,f.nodeCount(),f);let S=0;_.forEach(function(n){S++,e.g.debug(`Setting edge`,n),f.setEdge(n.id1,n.id2,{relation:n,width:w(n.title),height:y.labelHeight*t.s.getRows(n.title).length,labelpos:`c`},`id`+S)}),i.t(f),e.g.debug(`Graph after layout`,f.nodes());let C=r.node();f.nodes().forEach(function(t){t!==void 0&&f.node(t)!==void 0?(e.g.warn(`Node `+t+`: `+JSON.stringify(f.node(t))),c.select(`#`+C.id+` #`+t).attr(`transform`,`translate(`+(f.node(t).x-f.node(t).width/2)+`,`+(f.node(t).y+(b[t]?b[t].y:0)-f.node(t).height/2)+` )`),c.select(`#`+C.id+` #`+t).attr(`data-x-shift`,f.node(t).x-f.node(t).width/2),l.querySelectorAll(`#`+C.id+` #`+t+` .divider`).forEach(e=>{let t=e.parentElement,n=0,r=0;t&&(t.parentElement&&(n=t.parentElement.getBBox().width),r=parseInt(t.getAttribute(`data-x-shift`),10),Number.isNaN(r)&&(r=0)),e.setAttribute(`x1`,0-r+8),e.setAttribute(`x2`,n-r-8)})):e.g.debug(`No Node `+t+`: `+JSON.stringify(f.node(t)))});let E=C.getBBox();f.edges().forEach(function(t){t!==void 0&&f.edge(t)!==void 0&&(e.g.debug(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(f.edge(t))),v(r,f.edge(t),f.edge(t).relation))}),E=C.getBBox();let D={id:o||`root`,label:o||`root`,width:0,height:0};return D.width=E.width+2*y.padding,D.height=E.height+2*y.padding,e.g.debug(`Doc rendered`,D,f),D},`renderDoc`),E={parser:o.n,get db(){return new o.t(1)},renderer:{setConf:x,draw:C},styles:o.i,init:e.h(e=>{e.state||={},e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};exports.diagram=E;
@@ -1,4 +1,4 @@
1
- import "./custom-vxgVIB3v.js";
1
+ import "./custom-B3nZBz6o.js";
2
2
  import { g as e, h as t, p as n } from "./src-BuisGndr.js";
3
3
  import { E as r, b as i, c as a, s as o } from "./chunk-ABZYJK2D-DDrmE3Q7.js";
4
4
  import { E as s, h as c } from "./chunk-S3R3BYOJ-CG6GoSCd.js";
@@ -9,11 +9,11 @@ import "./chunk-ATLVNIR6-DHlCNWnJ.js";
9
9
  import "./chunk-JA3XYJ7Z-CpKHrbOX.js";
10
10
  import "./chunk-JZLCHNYA-CYo7ykJf.js";
11
11
  import "./chunk-QXUST7PY-CxCAwQqP.js";
12
- import { t as u } from "./dagre-_RyRpmBm.js";
13
- import { t as d } from "./graphlib-uu-sQ8no.js";
12
+ import { t as u } from "./dagre-wnP4thpl.js";
13
+ import { t as d } from "./graphlib-LQ0BZO1X.js";
14
14
  import "./chunk-55IACEB6-DWUqxxdp.js";
15
15
  import "./chunk-QN33PNHL-BFbXAWI4.js";
16
- import { i as f, n as p, t as m } from "./chunk-DI55MBZ5-B8uR5vzE.js";
16
+ import { i as f, n as p, t as m } from "./chunk-DI55MBZ5-DcgwFHpQ.js";
17
17
  //#region node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.mjs
18
18
  var h = /* @__PURE__ */ t((e) => e.append("circle").attr("class", "start-state").attr("r", i().state.sizeUnit).attr("cx", i().state.padding + i().state.sizeUnit).attr("cy", i().state.padding + i().state.sizeUnit), "drawStartState"), g = /* @__PURE__ */ t((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", i().state.textHeight).attr("class", "divider").attr("x2", i().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), _ = /* @__PURE__ */ t((e, t) => {
19
19
  let n = e.append("text").attr("x", 2 * i().state.padding).attr("y", i().state.textHeight + 2 * i().state.padding).attr("font-size", i().state.fontSize).attr("class", "state-title").text(t.id), r = n.node().getBBox();
@@ -1,4 +1,4 @@
1
- import "./custom-vxgVIB3v.js";
1
+ import "./custom-B3nZBz6o.js";
2
2
  import { h as e } from "./src-BuisGndr.js";
3
3
  import "./chunk-ABZYJK2D-DDrmE3Q7.js";
4
4
  import "./chunk-S3R3BYOJ-CG6GoSCd.js";
@@ -10,7 +10,7 @@ import "./chunk-JZLCHNYA-CYo7ykJf.js";
10
10
  import "./chunk-QXUST7PY-CxCAwQqP.js";
11
11
  import "./chunk-55IACEB6-DWUqxxdp.js";
12
12
  import "./chunk-QN33PNHL-BFbXAWI4.js";
13
- import { i as t, n, r, t as i } from "./chunk-DI55MBZ5-B8uR5vzE.js";
13
+ import { i as t, n, r, t as i } from "./chunk-DI55MBZ5-DcgwFHpQ.js";
14
14
  //#region node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.mjs
15
15
  var a = {
16
16
  parser: n,
@@ -1 +1 @@
1
- require("./custom-Dzz3lVEd.cjs");const e=require("./src-BMjps4Ui.cjs");require("./chunk-ABZYJK2D-CbIYYZa_.cjs"),require("./chunk-S3R3BYOJ-B2ozcJNg.cjs"),require("./chunk-HN2XXSSU-BwmRMa2r.cjs"),require("./chunk-CVBHYZKI-CLVcv_xh.cjs"),require("./chunk-ATLVNIR6-shAOudT0.cjs"),require("./chunk-JA3XYJ7Z-BaAdjYEy.cjs"),require("./chunk-JZLCHNYA-CvPIQFXP.cjs"),require("./chunk-QXUST7PY-CnnfdJrM.cjs"),require("./chunk-55IACEB6-Hy_THNUs.cjs"),require("./chunk-QN33PNHL-Cu0FHarG.cjs");const t=require("./chunk-DI55MBZ5-C0CODE9K.cjs");var n={parser:t.n,get db(){return new t.t(2)},renderer:t.r,styles:t.i,init:e.h(e=>{e.state||={},e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};exports.diagram=n;
1
+ require("./custom-DxcMopGY.cjs");const e=require("./src-BMjps4Ui.cjs");require("./chunk-ABZYJK2D-CbIYYZa_.cjs"),require("./chunk-S3R3BYOJ-B2ozcJNg.cjs"),require("./chunk-HN2XXSSU-BwmRMa2r.cjs"),require("./chunk-CVBHYZKI-CLVcv_xh.cjs"),require("./chunk-ATLVNIR6-shAOudT0.cjs"),require("./chunk-JA3XYJ7Z-BaAdjYEy.cjs"),require("./chunk-JZLCHNYA-CvPIQFXP.cjs"),require("./chunk-QXUST7PY-CnnfdJrM.cjs"),require("./chunk-55IACEB6-Hy_THNUs.cjs"),require("./chunk-QN33PNHL-Cu0FHarG.cjs");const t=require("./chunk-DI55MBZ5-MddxpbIU.cjs");var n={parser:t.n,get db(){return new t.t(2)},renderer:t.r,styles:t.i,init:e.h(e=>{e.state||={},e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};exports.diagram=n;
@@ -0,0 +1,2 @@
1
+ import { r as e } from "./mermaid-parser.core-DlUTFxbw.js";
2
+ export { e as createTreemapServices };
@@ -0,0 +1 @@
1
+ const e=require("./mermaid-parser.core-CAp9cbpI.cjs");exports.createTreemapServices=e.r;
@@ -33,6 +33,10 @@ export interface CodeBlockPluginOptions {
33
33
  * 折叠触发的最高高度(像素),默认 300
34
34
  */
35
35
  collapseMaxHeight?: number;
36
+ /**
37
+ * 是否显示行号,默认开启 (true)
38
+ */
39
+ showLineNumbers?: boolean;
36
40
  }
37
41
  /**
38
42
  * codeBlockPlugin - 代码块渲染插件
@@ -1,4 +1,4 @@
1
- const e=require("./custom-Dzz3lVEd.cjs"),t=require("./src-BMjps4Ui.cjs"),n=require("./chunk-ABZYJK2D-CbIYYZa_.cjs"),r=require("./linear-rQLpRrSH.cjs"),i=require("./ordinal-CUPR-p0T.cjs"),a=require("./init-07zIhv_j.cjs"),o=require("./chunk-S3R3BYOJ-B2ozcJNg.cjs"),s=require("./line-DdNAPGaw.cjs"),c=require("./chunk-JA3XYJ7Z-BaAdjYEy.cjs");function l(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function u(){var e=i.t().unknown(void 0),t=e.domain,n=e.range,r=0,o=1,s,c,d=!1,f=0,p=0,m=.5;delete e.unknown;function h(){var e=t().length,i=o<r,a=i?o:r,u=i?r:o;s=(u-a)/Math.max(1,e-f+p*2),d&&(s=Math.floor(s)),a+=(u-a-s*(e-f))*m,c=s*(1-f),d&&(a=Math.round(a),c=Math.round(c));var h=l(e).map(function(e){return a+s*e});return n(i?h.reverse():h)}return e.domain=function(e){return arguments.length?(t(e),h()):t()},e.range=function(e){return arguments.length?([r,o]=e,r=+r,o=+o,h()):[r,o]},e.rangeRound=function(e){return[r,o]=e,r=+r,o=+o,d=!0,h()},e.bandwidth=function(){return c},e.step=function(){return s},e.round=function(e){return arguments.length?(d=!!e,h()):d},e.padding=function(e){return arguments.length?(f=Math.min(1,p=+e),h()):f},e.paddingInner=function(e){return arguments.length?(f=Math.min(1,e),h()):f},e.paddingOuter=function(e){return arguments.length?(p=+e,h()):p},e.align=function(e){return arguments.length?(m=Math.max(0,Math.min(1,e)),h()):m},e.copy=function(){return u(t(),[r,o]).round(d).paddingInner(f).paddingOuter(p).align(m)},a.t.apply(h(),arguments)}var d=(function(){var e=t.h(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,10,12,14,16,18,19,21,23],r=[2,6],i=[1,3],a=[1,5],o=[1,6],s=[1,7],c=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],u=[1,26],d=[1,28],f=[1,29],p=[1,30],m=[1,31],h=[1,32],g=[1,33],_=[1,34],v=[1,35],y=[1,36],b=[1,37],x=[1,43],S=[1,42],C=[1,47],w=[1,50],T=[1,10,12,14,16,18,19,21,23,34,35,36],E=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],D=[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],O=[1,64],k={trace:t.h(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:t.h(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setOrientation(a[s]);break;case 9:r.setDiagramTitle(a[s].text.trim());break;case 12:r.setLineData({text:``,type:`text`},a[s]);break;case 13:r.setLineData(a[s-1],a[s]);break;case 14:r.setBarData({text:``,type:`text`},a[s]);break;case 15:r.setBarData(a[s-1],a[s]);break;case 16:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 19:this.$=a[s-1];break;case 20:this.$=[Number(a[s-2]),...a[s]];break;case 21:this.$=[Number(a[s])];break;case 22:r.setXAxisTitle(a[s]);break;case 23:r.setXAxisTitle(a[s-1]);break;case 24:r.setXAxisTitle({type:`text`,text:``});break;case 25:r.setXAxisBand(a[s]);break;case 26:r.setXAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 27:this.$=a[s-1];break;case 28:this.$=[a[s-2],...a[s]];break;case 29:this.$=[a[s]];break;case 30:r.setYAxisTitle(a[s]);break;case 31:r.setYAxisTitle(a[s-1]);break;case 32:r.setYAxisTitle({type:`text`,text:``});break;case 33:r.setYAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 37:this.$={text:a[s],type:`text`};break;case 38:this.$={text:a[s],type:`text`};break;case 39:this.$={text:a[s],type:`markdown`};break;case 40:this.$=a[s];break;case 41:this.$=a[s-1]+``+a[s];break}},`anonymous`),table:[e(n,r,{3:1,4:2,7:4,5:i,34:a,35:o,36:s}),{1:[3]},e(n,r,{4:2,7:4,3:8,5:i,34:a,35:o,36:s}),e(n,r,{4:2,7:4,6:9,3:10,5:i,8:[1,11],34:a,35:o,36:s}),{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]},e(c,[2,34]),e(c,[2,35]),e(c,[2,36]),{1:[2,1]},e(n,r,{4:2,7:4,3:21,5:i,34:a,35:o,36:s}),{1:[2,3]},e(c,[2,5]),e(n,[2,7],{4:22,34:a,35:o,36:s}),{11:23,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:39,13:38,24:x,27:S,29:40,30:41,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:45,15:44,27:C,33:46,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:49,17:48,24:w,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:52,17:51,24:w,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{20:[1,53]},{22:[1,54]},e(T,[2,18]),{1:[2,2]},e(T,[2,8]),e(T,[2,9]),e(E,[2,37],{40:55,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b}),e(E,[2,38]),e(E,[2,39]),e(D,[2,40]),e(D,[2,42]),e(D,[2,43]),e(D,[2,44]),e(D,[2,45]),e(D,[2,46]),e(D,[2,47]),e(D,[2,48]),e(D,[2,49]),e(D,[2,50]),e(D,[2,51]),e(T,[2,10]),e(T,[2,22],{30:41,29:56,24:x,27:S}),e(T,[2,24]),e(T,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},e(T,[2,11]),e(T,[2,30],{33:60,27:C}),e(T,[2,32]),{31:[1,61]},e(T,[2,12]),{17:62,24:w},{25:63,27:O},e(T,[2,14]),{17:65,24:w},e(T,[2,16]),e(T,[2,17]),e(D,[2,41]),e(T,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(T,[2,31]),{27:[1,69]},e(T,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(T,[2,15]),e(T,[2,26]),e(T,[2,27]),{11:59,32:72,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},e(T,[2,33]),e(T,[2,19]),{25:73,27:O},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:t.h(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t.h(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t.h(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t.h(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ const e=require("./custom-DxcMopGY.cjs"),t=require("./src-BMjps4Ui.cjs"),n=require("./chunk-ABZYJK2D-CbIYYZa_.cjs"),r=require("./linear-rQLpRrSH.cjs"),i=require("./ordinal-CUPR-p0T.cjs"),a=require("./init-07zIhv_j.cjs"),o=require("./chunk-S3R3BYOJ-B2ozcJNg.cjs"),s=require("./line-DdNAPGaw.cjs"),c=require("./chunk-JA3XYJ7Z-BaAdjYEy.cjs");function l(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function u(){var e=i.t().unknown(void 0),t=e.domain,n=e.range,r=0,o=1,s,c,d=!1,f=0,p=0,m=.5;delete e.unknown;function h(){var e=t().length,i=o<r,a=i?o:r,u=i?r:o;s=(u-a)/Math.max(1,e-f+p*2),d&&(s=Math.floor(s)),a+=(u-a-s*(e-f))*m,c=s*(1-f),d&&(a=Math.round(a),c=Math.round(c));var h=l(e).map(function(e){return a+s*e});return n(i?h.reverse():h)}return e.domain=function(e){return arguments.length?(t(e),h()):t()},e.range=function(e){return arguments.length?([r,o]=e,r=+r,o=+o,h()):[r,o]},e.rangeRound=function(e){return[r,o]=e,r=+r,o=+o,d=!0,h()},e.bandwidth=function(){return c},e.step=function(){return s},e.round=function(e){return arguments.length?(d=!!e,h()):d},e.padding=function(e){return arguments.length?(f=Math.min(1,p=+e),h()):f},e.paddingInner=function(e){return arguments.length?(f=Math.min(1,e),h()):f},e.paddingOuter=function(e){return arguments.length?(p=+e,h()):p},e.align=function(e){return arguments.length?(m=Math.max(0,Math.min(1,e)),h()):m},e.copy=function(){return u(t(),[r,o]).round(d).paddingInner(f).paddingOuter(p).align(m)},a.t.apply(h(),arguments)}var d=(function(){var e=t.h(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,10,12,14,16,18,19,21,23],r=[2,6],i=[1,3],a=[1,5],o=[1,6],s=[1,7],c=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],u=[1,26],d=[1,28],f=[1,29],p=[1,30],m=[1,31],h=[1,32],g=[1,33],_=[1,34],v=[1,35],y=[1,36],b=[1,37],x=[1,43],S=[1,42],C=[1,47],w=[1,50],T=[1,10,12,14,16,18,19,21,23,34,35,36],E=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],D=[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],O=[1,64],k={trace:t.h(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:t.h(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setOrientation(a[s]);break;case 9:r.setDiagramTitle(a[s].text.trim());break;case 12:r.setLineData({text:``,type:`text`},a[s]);break;case 13:r.setLineData(a[s-1],a[s]);break;case 14:r.setBarData({text:``,type:`text`},a[s]);break;case 15:r.setBarData(a[s-1],a[s]);break;case 16:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 19:this.$=a[s-1];break;case 20:this.$=[Number(a[s-2]),...a[s]];break;case 21:this.$=[Number(a[s])];break;case 22:r.setXAxisTitle(a[s]);break;case 23:r.setXAxisTitle(a[s-1]);break;case 24:r.setXAxisTitle({type:`text`,text:``});break;case 25:r.setXAxisBand(a[s]);break;case 26:r.setXAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 27:this.$=a[s-1];break;case 28:this.$=[a[s-2],...a[s]];break;case 29:this.$=[a[s]];break;case 30:r.setYAxisTitle(a[s]);break;case 31:r.setYAxisTitle(a[s-1]);break;case 32:r.setYAxisTitle({type:`text`,text:``});break;case 33:r.setYAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 37:this.$={text:a[s],type:`text`};break;case 38:this.$={text:a[s],type:`text`};break;case 39:this.$={text:a[s],type:`markdown`};break;case 40:this.$=a[s];break;case 41:this.$=a[s-1]+``+a[s];break}},`anonymous`),table:[e(n,r,{3:1,4:2,7:4,5:i,34:a,35:o,36:s}),{1:[3]},e(n,r,{4:2,7:4,3:8,5:i,34:a,35:o,36:s}),e(n,r,{4:2,7:4,6:9,3:10,5:i,8:[1,11],34:a,35:o,36:s}),{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]},e(c,[2,34]),e(c,[2,35]),e(c,[2,36]),{1:[2,1]},e(n,r,{4:2,7:4,3:21,5:i,34:a,35:o,36:s}),{1:[2,3]},e(c,[2,5]),e(n,[2,7],{4:22,34:a,35:o,36:s}),{11:23,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:39,13:38,24:x,27:S,29:40,30:41,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:45,15:44,27:C,33:46,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:49,17:48,24:w,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:52,17:51,24:w,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{20:[1,53]},{22:[1,54]},e(T,[2,18]),{1:[2,2]},e(T,[2,8]),e(T,[2,9]),e(E,[2,37],{40:55,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b}),e(E,[2,38]),e(E,[2,39]),e(D,[2,40]),e(D,[2,42]),e(D,[2,43]),e(D,[2,44]),e(D,[2,45]),e(D,[2,46]),e(D,[2,47]),e(D,[2,48]),e(D,[2,49]),e(D,[2,50]),e(D,[2,51]),e(T,[2,10]),e(T,[2,22],{30:41,29:56,24:x,27:S}),e(T,[2,24]),e(T,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},e(T,[2,11]),e(T,[2,30],{33:60,27:C}),e(T,[2,32]),{31:[1,61]},e(T,[2,12]),{17:62,24:w},{25:63,27:O},e(T,[2,14]),{17:65,24:w},e(T,[2,16]),e(T,[2,17]),e(D,[2,41]),e(T,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(T,[2,31]),{27:[1,69]},e(T,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(T,[2,15]),e(T,[2,26]),e(T,[2,27]),{11:59,32:72,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},e(T,[2,33]),e(T,[2,19]),{25:73,27:O},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:t.h(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t.h(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t.h(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t.h(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};k.lexer=(function(){return{EOF:1,parseError:t.h(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:t.h(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:t.h(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:t.h(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:t.h(function(){return this._more=!0,this},`more`),reject:t.h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:t.h(function(e){this.unput(this.match.slice(e))},`less`),pastInput:t.h(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:t.h(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:t.h(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import { f as e } from "./custom-vxgVIB3v.js";
1
+ import { f as e } from "./custom-B3nZBz6o.js";
2
2
  import { g as t, h as n } from "./src-BuisGndr.js";
3
3
  import { B as r, C as i, I as a, T as o, U as s, _ as c, a as l, c as u, d, v as f, y as p, z as m } from "./chunk-ABZYJK2D-DDrmE3Q7.js";
4
4
  import { t as h } from "./linear-n4_iirEu.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mio-previewer",
3
- "version": "0.2.79",
3
+ "version": "0.2.80",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "engines": {
@@ -25,6 +25,7 @@
25
25
  "@types/markdown-it-container": "^2.0.10",
26
26
  "@types/prismjs": "^1.26.5",
27
27
  "@vitejs/plugin-vue": "^6.0.1",
28
+ "puppeteer": "^25.1.0",
28
29
  "typescript": "^5.9.3",
29
30
  "vite": "^8.0.0",
30
31
  "vite-plugin-vue-devtools": "^8.0.2",
@@ -92,7 +93,8 @@
92
93
  "build:types": "tsc -p tsconfig.build.json",
93
94
  "build": "pnpm run build:lib && pnpm run build:types",
94
95
  "preview": "vite preview",
95
- "benchmark": "node benchmark/runner.cjs",
96
+ "benchmark": "node benchmark/analyze.cjs",
97
+ "benchmark:runner": "node benchmark/runner.cjs",
96
98
  "benchmark:high-freq": "node benchmark/run-high-freq.js"
97
99
  }
98
100
  }
@@ -1,2 +0,0 @@
1
- import { h as e } from "./mermaid-parser.core-adSCl_zk.js";
2
- export { e as createArchitectureServices };
@@ -1 +0,0 @@
1
- const e=require("./mermaid-parser.core-cnqU6oUa.cjs");exports.createArchitectureServices=e.h;
@@ -1 +0,0 @@
1
- const e=require("./_baseUniq-CgY8QW_y.cjs");var t=4;function n(n){return e.y(n,t)}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
@@ -1 +0,0 @@
1
- const e=require("./mermaid-parser.core-cnqU6oUa.cjs");exports.createGitGraphServices=e.p;
@@ -1,2 +0,0 @@
1
- import { p as e } from "./mermaid-parser.core-adSCl_zk.js";
2
- export { e as createGitGraphServices };
@@ -1,2 +0,0 @@
1
- import { d as e } from "./mermaid-parser.core-adSCl_zk.js";
2
- export { e as createInfoServices };
@@ -1 +0,0 @@
1
- const e=require("./mermaid-parser.core-cnqU6oUa.cjs");exports.createInfoServices=e.d;
@@ -1 +0,0 @@
1
- const e=require("./mermaid-parser.core-cnqU6oUa.cjs");exports.createPacketServices=e.l;
@@ -1,2 +0,0 @@
1
- import { l as e } from "./mermaid-parser.core-adSCl_zk.js";
2
- export { e as createPacketServices };
@@ -1,2 +0,0 @@
1
- import { s as e } from "./mermaid-parser.core-adSCl_zk.js";
2
- export { e as createPieServices };
@@ -1 +0,0 @@
1
- const e=require("./mermaid-parser.core-cnqU6oUa.cjs");exports.createPieServices=e.s;
@@ -1,2 +0,0 @@
1
- import { a as e } from "./mermaid-parser.core-adSCl_zk.js";
2
- export { e as createRadarServices };
@@ -1 +0,0 @@
1
- const e=require("./mermaid-parser.core-cnqU6oUa.cjs");exports.createRadarServices=e.a;
@@ -1 +0,0 @@
1
- const e=require("./mermaid-parser.core-cnqU6oUa.cjs");exports.createTreemapServices=e.r;
@@ -1,2 +0,0 @@
1
- import { r as e } from "./mermaid-parser.core-adSCl_zk.js";
2
- export { e as createTreemapServices };