@pb33f/cowboy-components 0.14.0 → 0.15.0

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 (172) hide show
  1. package/dist/{_baseUniq-DxKTOiyd.js → _baseUniq-DkvmJCFv.js} +1 -1
  2. package/dist/{_baseUniq-BCBHARBa.cjs → _baseUniq-FTe2FRsZ.cjs} +1 -1
  3. package/dist/{arc-BuSUjh0s.js → arc-CYzOnlSi.js} +2 -2
  4. package/dist/{arc-CH-0H1TF.cjs → arc-tHE-eDC1.cjs} +1 -1
  5. package/dist/{architecture-YZFGNWBL-BTpBH05L.js → architecture-YZFGNWBL-CHrkvOqY.js} +1 -1
  6. package/dist/{architecture-YZFGNWBL-BPn_727R.cjs → architecture-YZFGNWBL-CoFOgOkv.cjs} +1 -1
  7. package/dist/{architectureDiagram-Q4EWVU46-DiD3e6PQ.cjs → architectureDiagram-Q4EWVU46-BNgO6IDb.cjs} +1 -1
  8. package/dist/{architectureDiagram-Q4EWVU46-CYewkKfJ.js → architectureDiagram-Q4EWVU46-BlVPlre4.js} +4 -4
  9. package/dist/{blockDiagram-DXYQGD6D-C1Xzgnrv.js → blockDiagram-DXYQGD6D-CmuWyVpp.js} +6 -6
  10. package/dist/{blockDiagram-DXYQGD6D-B1FzGfTA.cjs → blockDiagram-DXYQGD6D-DTH4brTo.cjs} +1 -1
  11. package/dist/{c4Diagram-AHTNJAMY-L6Az2dvx.js → c4Diagram-AHTNJAMY-Bd457Kk0.js} +2 -2
  12. package/dist/{c4Diagram-AHTNJAMY-c5bsYT5q.cjs → c4Diagram-AHTNJAMY-D4IMO6iJ.cjs} +1 -1
  13. package/dist/{change-list-item-Bu_mPv-k.js → change-list-item-BRSBlaLu.js} +348 -350
  14. package/dist/{change-list-item-4xBSo3-U.cjs → change-list-item-Dy1GNFQ8.cjs} +91 -91
  15. package/dist/{channel-BR_Krb9l.cjs → channel-Ct_j6JZf.cjs} +1 -1
  16. package/dist/{channel-Bo_TnECw.js → channel-rcMAVtNO.js} +1 -1
  17. package/dist/{chunk-4BX2VUAB-B1uaSl0e.cjs → chunk-4BX2VUAB-D4UkiLWV.cjs} +1 -1
  18. package/dist/{chunk-4BX2VUAB-ClX8oE7L.js → chunk-4BX2VUAB-XJuJGw_Z.js} +1 -1
  19. package/dist/{chunk-4TB4RGXK-D0JpJZOs.cjs → chunk-4TB4RGXK-BxahB5gv.cjs} +1 -1
  20. package/dist/{chunk-4TB4RGXK-DzEEAztK.js → chunk-4TB4RGXK-CnipwGVI.js} +5 -5
  21. package/dist/{chunk-55IACEB6-595ZDi6s.cjs → chunk-55IACEB6-CEDZ87Yr.cjs} +1 -1
  22. package/dist/{chunk-55IACEB6-DL_DHCyZ.js → chunk-55IACEB6-D2v5xo07.js} +1 -1
  23. package/dist/{chunk-EDXVE4YY-CQbtNtXr.cjs → chunk-EDXVE4YY-CP7pBxXD.cjs} +1 -1
  24. package/dist/{chunk-EDXVE4YY-BII9TpbV.js → chunk-EDXVE4YY-DtZEtPNM.js} +1 -1
  25. package/dist/{chunk-FMBD7UC4-cN7XywSK.js → chunk-FMBD7UC4-B2FUllsE.js} +1 -1
  26. package/dist/{chunk-FMBD7UC4-BO92YnlB.cjs → chunk-FMBD7UC4-slHNYrdA.cjs} +1 -1
  27. package/dist/{chunk-OYMX7WX6-DTXPUCgU.js → chunk-OYMX7WX6-Cx27mmAN.js} +3 -3
  28. package/dist/{chunk-OYMX7WX6-BxqhsynN.cjs → chunk-OYMX7WX6-j5BWPw4q.cjs} +1 -1
  29. package/dist/{chunk-QZHKN3VN-C-mnteH7.cjs → chunk-QZHKN3VN-CfbDcaIZ.cjs} +1 -1
  30. package/dist/{chunk-QZHKN3VN-Biauj3yN.js → chunk-QZHKN3VN-CxT_HDdj.js} +1 -1
  31. package/dist/{chunk-YZCP3GAM-WiD5REgL.cjs → chunk-YZCP3GAM-C2IM6BuV.cjs} +1 -1
  32. package/dist/{chunk-YZCP3GAM-eo-UEr6G.js → chunk-YZCP3GAM-DpgFVAJS.js} +1 -1
  33. package/dist/{classDiagram-6PBFFD2Q-ay2Efc0y.cjs → classDiagram-6PBFFD2Q-BJp1AGm6.cjs} +1 -1
  34. package/dist/{classDiagram-v2-HSJHXN6E-8kzuzUL4.js → classDiagram-6PBFFD2Q-CEDs-xzV.js} +2 -2
  35. package/dist/{classDiagram-v2-HSJHXN6E-ay2Efc0y.cjs → classDiagram-v2-HSJHXN6E-BJp1AGm6.cjs} +1 -1
  36. package/dist/{classDiagram-6PBFFD2Q-8kzuzUL4.js → classDiagram-v2-HSJHXN6E-CEDs-xzV.js} +2 -2
  37. package/dist/{clone-CC2YvoOD.js → clone-BYMmv0vr.js} +1 -1
  38. package/dist/clone-CMeAJ3XK.cjs +1 -0
  39. package/dist/components/bundle-toolbar/bundle-toolbar.d.ts +0 -1
  40. package/dist/components/bundle-toolbar/bundle-toolbar.js +1 -3
  41. package/dist/components/editor/editor.js +114 -18
  42. package/dist/components/model-renderer/rendered-node.css.js +10 -0
  43. package/dist/components/model-renderer/rendered-node.d.ts +2 -0
  44. package/dist/components/model-renderer/rendered-node.js +16 -4
  45. package/dist/components/premium-gate/premium-gate.d.ts +1 -0
  46. package/dist/components/premium-gate/premium-gate.js +6 -0
  47. package/dist/components/rodeo/roundup.d.ts +7 -0
  48. package/dist/components/rodeo/roundup.js +40 -0
  49. package/dist/components/rodeo/user-detail.js +6 -3
  50. package/dist/components/the-doctor/doctor-editor-panel.css.js +67 -30
  51. package/dist/components/the-doctor/doctor-editor-panel.d.ts +1 -0
  52. package/dist/components/the-doctor/doctor-editor-panel.js +9 -1
  53. package/dist/components/the-doctor/doctor-navigator-panel.css.js +1 -0
  54. package/dist/components/the-doctor/doctor-sidebar-panel.d.ts +4 -1
  55. package/dist/components/the-doctor/doctor-sidebar-panel.js +18 -3
  56. package/dist/components/the-doctor/printing-press-docs-unavailable.css.d.ts +2 -0
  57. package/dist/components/the-doctor/printing-press-docs-unavailable.css.js +34 -0
  58. package/dist/components/the-doctor/printing-press-docs-unavailable.d.ts +12 -0
  59. package/dist/components/the-doctor/printing-press-docs-unavailable.js +35 -0
  60. package/dist/components/the-doctor/printing-press-export-controls.css.d.ts +2 -0
  61. package/dist/components/the-doctor/printing-press-export-controls.css.js +26 -0
  62. package/dist/components/the-doctor/printing-press-export-controls.d.ts +16 -0
  63. package/dist/components/the-doctor/printing-press-export-controls.js +75 -0
  64. package/dist/components/the-doctor/the-doctor.css.js +148 -8
  65. package/dist/components/the-doctor/the-doctor.d.ts +52 -2
  66. package/dist/components/the-doctor/the-doctor.js +581 -23
  67. package/dist/components/workspaces/workspace-view.d.ts +1 -5
  68. package/dist/components/workspaces/workspace-view.js +4 -11
  69. package/dist/controllers/diagnostic-controller.d.ts +2 -0
  70. package/dist/controllers/diagnostic-controller.js +40 -1
  71. package/dist/controllers/diagramatron-controller.d.ts +2 -6
  72. package/dist/controllers/diagramatron-controller.js +4 -1
  73. package/dist/controllers/node-clicker-controller.d.ts +2 -3
  74. package/dist/controllers/spec-controller.js +1 -1
  75. package/dist/controllers/workspace-controller.d.ts +1 -2
  76. package/dist/controllers/workspace-controller.js +2 -2
  77. package/dist/{cose-bilkent-S5V4N54A-BvU_SKfP.js → cose-bilkent-S5V4N54A-8KG9LqBY.js} +2 -2
  78. package/dist/{cose-bilkent-S5V4N54A-CjLPT2aq.cjs → cose-bilkent-S5V4N54A-Tlz_fqGx.cjs} +1 -1
  79. package/dist/{cowboy-components-B5MDHQs5.js → cowboy-components-CPx4P290.js} +12271 -12619
  80. package/dist/{cowboy-components-DMQv-nwp.cjs → cowboy-components-DDfCPnUY.cjs} +847 -958
  81. package/dist/{dagre-KV5264BT-BJ3g2OfF.cjs → dagre-KV5264BT-DPqcbQdq.cjs} +1 -1
  82. package/dist/{dagre-KV5264BT-CZZ7IWMJ.js → dagre-KV5264BT-DSCWDkcl.js} +5 -5
  83. package/dist/{diagram-5BDNPKRD-BtgWDNH6.js → diagram-5BDNPKRD-D-Y0PkPP.js} +4 -4
  84. package/dist/{diagram-5BDNPKRD-C8f_rKrj.cjs → diagram-5BDNPKRD-Ioi_2Lul.cjs} +1 -1
  85. package/dist/{diagram-G4DWMVQ6-CdbbbjZ1.cjs → diagram-G4DWMVQ6-BRmyn8WA.cjs} +1 -1
  86. package/dist/{diagram-G4DWMVQ6-Cvo7MOEn.js → diagram-G4DWMVQ6-Cl1WmwJV.js} +4 -4
  87. package/dist/{diagram-MMDJMWI5-CmuOqtUd.cjs → diagram-MMDJMWI5-CTASKErj.cjs} +1 -1
  88. package/dist/{diagram-MMDJMWI5-BBZMNBAZ.js → diagram-MMDJMWI5-vq4gDD7H.js} +3 -3
  89. package/dist/{diagram-TYMM5635-BDWJ5rTp.cjs → diagram-TYMM5635-DEnqo3aX.cjs} +1 -1
  90. package/dist/{diagram-TYMM5635-BJ6YAfrg.js → diagram-TYMM5635-DSUFes5l.js} +3 -3
  91. package/dist/{erDiagram-SMLLAGMA-CYctRkDG.js → erDiagram-SMLLAGMA-BiPGCCxs.js} +4 -4
  92. package/dist/{erDiagram-SMLLAGMA-oQiAbd77.cjs → erDiagram-SMLLAGMA-CyaiSIV2.cjs} +1 -1
  93. package/dist/events/doctor.d.ts +3 -0
  94. package/dist/events/doctor.js +2 -0
  95. package/dist/{flowDiagram-DWJPFMVM-Cl2ZAgx-.cjs → flowDiagram-DWJPFMVM-Bqf8cwLG.cjs} +1 -1
  96. package/dist/{flowDiagram-DWJPFMVM-XzVvDcKE.js → flowDiagram-DWJPFMVM-C9rhk5uL.js} +6 -6
  97. package/dist/{ganttDiagram-T4ZO3ILL-Bw3whz8Z.js → ganttDiagram-T4ZO3ILL-BP9h2UTv.js} +3 -3
  98. package/dist/{ganttDiagram-T4ZO3ILL-D6p69Xut.cjs → ganttDiagram-T4ZO3ILL-DaR_t9rW.cjs} +1 -1
  99. package/dist/{gitGraph-7Q5UKJZL-CV8uXlc6.js → gitGraph-7Q5UKJZL-CHmm38gX.js} +1 -1
  100. package/dist/{gitGraph-7Q5UKJZL-Dc00T47S.cjs → gitGraph-7Q5UKJZL-DytqCQiv.cjs} +1 -1
  101. package/dist/{gitGraphDiagram-UUTBAWPF-DO7-Vg9n.cjs → gitGraphDiagram-UUTBAWPF-BGuOUavm.cjs} +1 -1
  102. package/dist/{gitGraphDiagram-UUTBAWPF-DyF52xzw.js → gitGraphDiagram-UUTBAWPF-ecgG5qHi.js} +4 -4
  103. package/dist/{graph-BNtv6wPN.js → graph-Bv4HICS-.js} +2 -2
  104. package/dist/{graph-nnOjqfSF.cjs → graph-DpFK38bp.cjs} +1 -1
  105. package/dist/{info-OMHHGYJF-DenwEztT.cjs → info-OMHHGYJF-CUIG00cp.cjs} +1 -1
  106. package/dist/info-OMHHGYJF-CoTbguMJ.js +5 -0
  107. package/dist/{infoDiagram-42DDH7IO-D5ZWT_PY.js → infoDiagram-42DDH7IO--5_30AyR.js} +2 -2
  108. package/dist/{infoDiagram-42DDH7IO-CDwaPJgE.cjs → infoDiagram-42DDH7IO-CuAPDz-b.cjs} +1 -1
  109. package/dist/interfaces/doctor-interfaces.d.ts +10 -2
  110. package/dist/{ishikawaDiagram-UXIWVN3A-DgxKja6G.cjs → ishikawaDiagram-UXIWVN3A-B8zjZXR2.cjs} +1 -1
  111. package/dist/{ishikawaDiagram-UXIWVN3A-DO1TQj8y.js → ishikawaDiagram-UXIWVN3A-BVoGYP0J.js} +1 -1
  112. package/dist/{journeyDiagram-VCZTEJTY-BOrvmHFC.js → journeyDiagram-VCZTEJTY-CmQ65Rzd.js} +4 -4
  113. package/dist/{journeyDiagram-VCZTEJTY-CJCEu2Bp.cjs → journeyDiagram-VCZTEJTY-Cs5uPgLz.cjs} +1 -1
  114. package/dist/{kanban-definition-6JOO6SKY-DbcLaE1y.js → kanban-definition-6JOO6SKY-BUllH7Pr.js} +2 -2
  115. package/dist/{kanban-definition-6JOO6SKY-DEuqG8My.cjs → kanban-definition-6JOO6SKY-Bpd9pm1_.cjs} +1 -1
  116. package/dist/{layout-US8yryxu.js → layout-B93j_9jn.js} +4 -4
  117. package/dist/{layout-C5IxZs51.cjs → layout-zdFgePaJ.cjs} +1 -1
  118. package/dist/{linear-Bmlq6WJ8.cjs → linear-D1T5mBBn.cjs} +1 -1
  119. package/dist/{linear-D6nUCk2i.js → linear-EAwz3euQ.js} +1 -1
  120. package/dist/{mermaid-parser.core-DvOBQD0s.js → mermaid-parser.core-D4IlYn7u.js} +13 -13
  121. package/dist/{mermaid-parser.core-COvBhcPG.cjs → mermaid-parser.core-S6P-fvNi.cjs} +2 -2
  122. package/dist/{min-gCZaz5eW.js → min-BcEbrjrR.js} +2 -2
  123. package/dist/{min-BeG6JEx2.cjs → min-Cp2y5NY5.cjs} +1 -1
  124. package/dist/{mindmap-definition-QFDTVHPH-Bf7uOPBO.js → mindmap-definition-QFDTVHPH-CZXaWtPo.js} +3 -3
  125. package/dist/{mindmap-definition-QFDTVHPH-Bh_mtad8.cjs → mindmap-definition-QFDTVHPH-CkLdkLZi.cjs} +1 -1
  126. package/dist/model/api-response.d.ts +1 -0
  127. package/dist/model/feature-flags.d.ts +1 -0
  128. package/dist/model/feature-flags.js +1 -0
  129. package/dist/model/roundup-stats.d.ts +7 -0
  130. package/dist/{packet-4T2RLAQJ-EX3JjNtR.cjs → packet-4T2RLAQJ-CWdQm1p_.cjs} +1 -1
  131. package/dist/{packet-4T2RLAQJ-CnjxgpUP.js → packet-4T2RLAQJ-CqUj6pUH.js} +1 -1
  132. package/dist/pie-ZZUOXDRM-Dt-GliGo.js +5 -0
  133. package/dist/{pie-ZZUOXDRM-S9g0lXgu.cjs → pie-ZZUOXDRM-DxRGMKj-.cjs} +1 -1
  134. package/dist/{pieDiagram-DEJITSTG-An0q-g5y.cjs → pieDiagram-DEJITSTG-CeFtWjEL.cjs} +1 -1
  135. package/dist/{pieDiagram-DEJITSTG-DIkSdQCd.js → pieDiagram-DEJITSTG-DF8iOEQ1.js} +5 -5
  136. package/dist/{quadrantDiagram-34T5L4WZ-CBlxIaIn.js → quadrantDiagram-34T5L4WZ-DIrQ_CoV.js} +2 -2
  137. package/dist/{quadrantDiagram-34T5L4WZ-B5f35ihC.cjs → quadrantDiagram-34T5L4WZ-DbENKFQB.cjs} +1 -1
  138. package/dist/radar-PYXPWWZC-B0qn40ys.js +5 -0
  139. package/dist/{radar-PYXPWWZC-C0zC2ZSo.cjs → radar-PYXPWWZC-DbQi3NfV.cjs} +1 -1
  140. package/dist/{requirementDiagram-MS252O5E-CLQv0oWl.js → requirementDiagram-MS252O5E-BmJ9tgw2.js} +3 -3
  141. package/dist/{requirementDiagram-MS252O5E-C2bJ8iZf.cjs → requirementDiagram-MS252O5E-CmwBghn1.cjs} +1 -1
  142. package/dist/{sankeyDiagram-XADWPNL6-BPSHvjZ8.js → sankeyDiagram-XADWPNL6-D6nKYWbU.js} +1 -1
  143. package/dist/{sankeyDiagram-XADWPNL6--gS8yJdi.cjs → sankeyDiagram-XADWPNL6-_NTd9nNm.cjs} +1 -1
  144. package/dist/{sequenceDiagram-FGHM5R23-C8D7r5pW.cjs → sequenceDiagram-FGHM5R23-DvARbSg3.cjs} +1 -1
  145. package/dist/{sequenceDiagram-FGHM5R23-Pz7V2MNd.js → sequenceDiagram-FGHM5R23-gj6-9UEl.js} +3 -3
  146. package/dist/services/linting-service.d.ts +1 -0
  147. package/dist/services/linting-service.js +3 -0
  148. package/dist/services/printing-press-service.d.ts +27 -0
  149. package/dist/services/printing-press-service.js +125 -0
  150. package/dist/{stateDiagram-FHFEXIEX-D5m6EHM0.js → stateDiagram-FHFEXIEX-CDfhkt5o.js} +5 -5
  151. package/dist/{stateDiagram-FHFEXIEX-BAF5DJ1S.cjs → stateDiagram-FHFEXIEX-CUoMK5qv.cjs} +1 -1
  152. package/dist/{stateDiagram-v2-QKLJ7IA2-Bewn3XVh.js → stateDiagram-v2-QKLJ7IA2-DiPwdbAK.js} +2 -2
  153. package/dist/{stateDiagram-v2-QKLJ7IA2-D8ygFuIi.cjs → stateDiagram-v2-QKLJ7IA2-DkUny04G.cjs} +1 -1
  154. package/dist/{timeline-definition-GMOUNBTQ-D_q_Aq0R.js → timeline-definition-GMOUNBTQ-GxzCrHrx.js} +2 -2
  155. package/dist/{timeline-definition-GMOUNBTQ-DGnNWVK8.cjs → timeline-definition-GMOUNBTQ-bpnHyBjo.cjs} +1 -1
  156. package/dist/{treeView-SZITEDCU-CJ-dtg22.js → treeView-SZITEDCU-DIrUF69A.js} +1 -1
  157. package/dist/{treeView-SZITEDCU-D_h6_ShC.cjs → treeView-SZITEDCU-zJeBKhxU.cjs} +1 -1
  158. package/dist/{treemap-W4RFUUIX-BtKxSF22.cjs → treemap-W4RFUUIX-DIVItjGt.cjs} +1 -1
  159. package/dist/{treemap-W4RFUUIX-B9GQw9aZ.js → treemap-W4RFUUIX-De3UvqNM.js} +1 -1
  160. package/dist/{vennDiagram-DHZGUBPP-JEim8wmH.js → vennDiagram-DHZGUBPP-C8gJOl_U.js} +1 -1
  161. package/dist/{vennDiagram-DHZGUBPP-amyk4YMx.cjs → vennDiagram-DHZGUBPP-CPciBxaz.cjs} +1 -1
  162. package/dist/{wardley-RL74JXVD-sMbm0y_r.js → wardley-RL74JXVD-C7Xl9U8K.js} +1 -1
  163. package/dist/{wardley-RL74JXVD-Cni1Bfk_.cjs → wardley-RL74JXVD-pImcCh7M.cjs} +1 -1
  164. package/dist/{wardleyDiagram-NUSXRM2D-C2MLJ-IT.js → wardleyDiagram-NUSXRM2D-C5cuHNUZ.js} +3 -3
  165. package/dist/{wardleyDiagram-NUSXRM2D-BxrRpNG2.cjs → wardleyDiagram-NUSXRM2D-cJNJYk25.cjs} +1 -1
  166. package/dist/{xychartDiagram-5P7HB3ND-CpDJRyka.cjs → xychartDiagram-5P7HB3ND-Bg7uOCAC.cjs} +1 -1
  167. package/dist/{xychartDiagram-5P7HB3ND-CSCEAZnj.js → xychartDiagram-5P7HB3ND-Ws1GisBM.js} +3 -3
  168. package/package.json +1 -1
  169. package/dist/clone-DAIpdsWe.cjs +0 -1
  170. package/dist/info-OMHHGYJF-BEJOj8rC.js +0 -5
  171. package/dist/pie-ZZUOXDRM-B0-esN8S.js +0 -5
  172. package/dist/radar-PYXPWWZC-1Ezs-b76.js +0 -5
@@ -1 +1 @@
1
- "use strict";const n=require("./cowboy-components-DMQv-nwp.cjs"),r=(o,e)=>n.Utils.lang.round(n.Color.parse(o)[e]);exports.channel=r;
1
+ "use strict";const n=require("./cowboy-components-DDfCPnUY.cjs"),r=(o,e)=>n.Utils.lang.round(n.Color.parse(o)[e]);exports.channel=r;
@@ -1,4 +1,4 @@
1
- import { am as n, an as o } from "./cowboy-components-B5MDHQs5.js";
1
+ import { am as n, an as o } from "./cowboy-components-CPx4P290.js";
2
2
  const t = (a, r) => n.lang.round(o.parse(a)[r]);
3
3
  export {
4
4
  t as c
@@ -1 +1 @@
1
- "use strict";const i=require("./cowboy-components-DMQv-nwp.cjs");function o(e,c){e.accDescr&&c.setAccDescription?.(e.accDescr),e.accTitle&&c.setAccTitle?.(e.accTitle),e.title&&c.setDiagramTitle?.(e.title)}i.__name(o,"populateCommonDb");exports.populateCommonDb=o;
1
+ "use strict";const i=require("./cowboy-components-DDfCPnUY.cjs");function o(e,c){e.accDescr&&c.setAccDescription?.(e.accDescr),e.accTitle&&c.setAccTitle?.(e.accTitle),e.title&&c.setDiagramTitle?.(e.title)}i.__name(o,"populateCommonDb");exports.populateCommonDb=o;
@@ -1,4 +1,4 @@
1
- import { _ as i } from "./cowboy-components-B5MDHQs5.js";
1
+ import { _ as i } from "./cowboy-components-CPx4P290.js";
2
2
  function t(c, e) {
3
3
  c.accDescr && e.setAccDescription?.(c.accDescr), c.accTitle && e.setAccTitle?.(c.accTitle), c.title && e.setDiagramTitle?.(c.title);
4
4
  }
@@ -1,4 +1,4 @@
1
- "use strict";const Xe=require("./chunk-FMBD7UC4-BO92YnlB.cjs"),je=require("./chunk-YZCP3GAM-WiD5REgL.cjs"),He=require("./chunk-55IACEB6-595ZDi6s.cjs"),Je=require("./chunk-EDXVE4YY-CQbtNtXr.cjs"),r=require("./cowboy-components-DMQv-nwp.cjs");var Le=(function(){var s=r.__name(function(x,c,h,A){for(h=h||{},A=x.length;A--;h[x[A]]=c);return h},"o"),i=[1,18],a=[1,19],l=[1,20],o=[1,41],n=[1,26],d=[1,42],f=[1,24],E=[1,25],_=[1,32],v=[1,33],he=[1,34],m=[1,45],de=[1,35],pe=[1,36],Ae=[1,37],fe=[1,38],ge=[1,27],me=[1,28],Ce=[1,29],be=[1,30],ke=[1,31],C=[1,44],b=[1,46],k=[1,43],y=[1,47],Ee=[1,9],p=[1,8,9],J=[1,58],Z=[1,59],$=[1,60],ee=[1,61],te=[1,62],_e=[1,63],ye=[1,64],S=[1,8,9,41],xe=[1,77],M=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],se=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ie=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],ve=[13,60,68,69,70,71,72,86,100,102,103],ae=[1,102],U=[1,120],z=[1,116],Y=[1,112],K=[1,118],W=[1,113],q=[1,114],Q=[1,115],X=[1,117],j=[1,119],Ie=[22,50,60,61,82,86,87,88,89,90],Te=[1,8,9,39,41,44,46],ne=[1,8,9,22],Oe=[1,150],we=[1,8,9,61],N=[1,8,9,22,50,60,61,82,86,87,88,89,90],De={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:r.__name(function(c,h,A,u,g,e,H){var t=e.length-1;switch(g){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:u.addRelation(e[t]);break;case 20:e[t-1].title=u.cleanupLabel(e[t]),u.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),u.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),u.setAccDescription(this.$);break;case 34:u.addClassesToNamespace(e[t-3],e[t-1][0],e[t-1][1]);break;case 35:u.addClassesToNamespace(e[t-4],e[t-1][0],e[t-1][1]);break;case 36:this.$=e[t],u.addNamespace(e[t]);break;case 37:this.$=[[e[t]],[]];break;case 38:this.$=[[e[t-1]],[]];break;case 39:e[t][0].unshift(e[t-2]),this.$=e[t];break;case 40:this.$=[[],[e[t]]];break;case 41:this.$=[[],[e[t-1]]];break;case 42:e[t][1].unshift(e[t-2]),this.$=e[t];break;case 44:u.setCssClass(e[t-2],e[t]);break;case 45:u.addMembers(e[t-3],e[t-1]);break;case 47:u.setCssClass(e[t-5],e[t-3]),u.addMembers(e[t-5],e[t-1]);break;case 48:u.addAnnotation(e[t-3],e[t-1]);break;case 49:u.addAnnotation(e[t-6],e[t-4]),u.addMembers(e[t-6],e[t-1]);break;case 50:u.addAnnotation(e[t-5],e[t-3]);break;case 51:this.$=e[t],u.addClass(e[t]);break;case 52:this.$=e[t-1],u.addClass(e[t-1]),u.setClassLabel(e[t-1],e[t]);break;case 56:u.addAnnotation(e[t],e[t-2]);break;case 57:case 70:this.$=[e[t]];break;case 58:e[t].push(e[t-1]),this.$=e[t];break;case 59:break;case 60:u.addMember(e[t-1],u.cleanupLabel(e[t]));break;case 61:break;case 62:break;case 63:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 64:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 65:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 66:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 67:this.$=u.addNote(e[t],e[t-1]);break;case 68:this.$=u.addNote(e[t]);break;case 69:this.$=e[t-2],u.defineClass(e[t-1],e[t]);break;case 71:this.$=e[t-2].concat([e[t]]);break;case 72:u.setDirection("TB");break;case 73:u.setDirection("BT");break;case 74:u.setDirection("RL");break;case 75:u.setDirection("LR");break;case 76:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 77:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 78:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 79:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 80:this.$=u.relationType.AGGREGATION;break;case 81:this.$=u.relationType.EXTENSION;break;case 82:this.$=u.relationType.COMPOSITION;break;case 83:this.$=u.relationType.DEPENDENCY;break;case 84:this.$=u.relationType.LOLLIPOP;break;case 85:this.$=u.lineType.LINE;break;case 86:this.$=u.lineType.DOTTED_LINE;break;case 87:case 93:this.$=e[t-2],u.setClickEvent(e[t-1],e[t]);break;case 88:case 94:this.$=e[t-3],u.setClickEvent(e[t-2],e[t-1]),u.setTooltip(e[t-2],e[t]);break;case 89:this.$=e[t-2],u.setLink(e[t-1],e[t]);break;case 90:this.$=e[t-3],u.setLink(e[t-2],e[t-1],e[t]);break;case 91:this.$=e[t-3],u.setLink(e[t-2],e[t-1]),u.setTooltip(e[t-2],e[t]);break;case 92:this.$=e[t-4],u.setLink(e[t-3],e[t-2],e[t]),u.setTooltip(e[t-3],e[t-1]);break;case 95:this.$=e[t-3],u.setClickEvent(e[t-2],e[t-1],e[t]);break;case 96:this.$=e[t-4],u.setClickEvent(e[t-3],e[t-2],e[t-1]),u.setTooltip(e[t-3],e[t]);break;case 97:this.$=e[t-3],u.setLink(e[t-2],e[t]);break;case 98:this.$=e[t-4],u.setLink(e[t-3],e[t-1],e[t]);break;case 99:this.$=e[t-4],u.setLink(e[t-3],e[t-1]),u.setTooltip(e[t-3],e[t]);break;case 100:this.$=e[t-5],u.setLink(e[t-4],e[t-2],e[t]),u.setTooltip(e[t-4],e[t-1]);break;case 101:this.$=e[t-2],u.setCssStyle(e[t-1],e[t]);break;case 102:u.setCssClass(e[t-1],e[t]);break;case 103:this.$=[e[t]];break;case 104:e[t-2].push(e[t]),this.$=e[t-2];break;case 106:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Ee,[2,5],{8:[1,48]}),{8:[1,49]},s(p,[2,19],{22:[1,50]}),s(p,[2,21]),s(p,[2,22]),s(p,[2,23]),s(p,[2,24]),s(p,[2,25]),s(p,[2,26]),s(p,[2,27]),s(p,[2,28]),s(p,[2,29]),s(p,[2,30]),{34:[1,51]},{36:[1,52]},s(p,[2,33]),s(p,[2,59],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:J,69:Z,70:$,71:ee,72:te,73:_e,74:ye}),{39:[1,65]},s(S,[2,43],{39:[1,67],44:[1,66],46:[1,68]}),s(p,[2,61]),s(p,[2,62]),{16:69,60:m,86:C,100:b,102:k},{16:39,17:40,19:70,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:71,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:72,60:m,86:C,100:b,102:k,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:m,86:C,100:b,102:k,103:y},{13:xe,55:76},{58:78,60:[1,79]},s(p,[2,72]),s(p,[2,73]),s(p,[2,74]),s(p,[2,75]),s(M,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:m,86:C,100:b,102:k,103:y}),s(M,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:87,60:m,86:C,100:b,102:k,103:y},s(se,[2,129]),s(se,[2,130]),s(se,[2,131]),s(se,[2,132]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,133]),s(Ee,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:l,42:o,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y},s(p,[2,20]),s(p,[2,31]),s(p,[2,32]),{13:[1,91],16:39,17:40,19:90,60:m,86:C,100:b,102:k,103:y},{53:92,66:56,67:57,68:J,69:Z,70:$,71:ee,72:te,73:_e,74:ye},s(p,[2,60]),{67:93,73:_e,74:ye},s(ie,[2,79],{66:94,68:J,69:Z,70:$,71:ee,72:te}),s(G,[2,80]),s(G,[2,81]),s(G,[2,82]),s(G,[2,83]),s(G,[2,84]),s(ve,[2,85]),s(ve,[2,86]),{8:[1,96],24:97,30:98,40:95,43:23,48:d,54:_,56:v},{16:99,60:m,86:C,100:b,102:k},{41:[1,101],45:100,51:ae},{16:103,60:m,86:C,100:b,102:k},{47:[1,104]},{13:[1,105]},{13:[1,106]},{79:[1,107],81:[1,108]},{22:U,50:z,59:109,60:Y,82:K,84:110,85:111,86:W,87:q,88:Q,89:X,90:j},{60:[1,121]},{13:xe,55:122},s(S,[2,68]),s(S,[2,134]),{22:U,50:z,59:123,60:Y,61:[1,124],82:K,84:110,85:111,86:W,87:q,88:Q,89:X,90:j},s(Ie,[2,70]),{16:39,17:40,19:125,60:m,86:C,100:b,102:k,103:y},s(M,[2,16]),s(M,[2,17]),s(M,[2,18]),{39:[2,36]},{15:127,16:85,17:86,18:[1,126],39:[2,9],60:m,86:C,100:b,102:k,103:y},{39:[2,10]},s(Te,[2,51],{11:128,12:[1,129]}),s(Ee,[2,7]),{9:[1,130]},s(ne,[2,63]),{16:39,17:40,19:131,60:m,86:C,100:b,102:k,103:y},{13:[1,133],16:39,17:40,19:132,60:m,86:C,100:b,102:k,103:y},s(ie,[2,78],{66:134,68:J,69:Z,70:$,71:ee,72:te}),s(ie,[2,77]),{41:[1,135]},{24:97,30:98,40:136,43:23,48:d,54:_,56:v},{8:[1,137],41:[2,37]},{8:[1,138],41:[2,40]},s(S,[2,44],{39:[1,139]}),{41:[1,140]},s(S,[2,46]),{41:[2,57],45:141,51:ae},{47:[1,142]},{16:39,17:40,19:143,60:m,86:C,100:b,102:k,103:y},s(p,[2,87],{13:[1,144]}),s(p,[2,89],{13:[1,146],77:[1,145]}),s(p,[2,93],{13:[1,147],80:[1,148]}),{13:[1,149]},s(p,[2,101],{61:Oe}),s(we,[2,103],{85:151,22:U,50:z,60:Y,82:K,86:W,87:q,88:Q,89:X,90:j}),s(N,[2,105]),s(N,[2,107]),s(N,[2,108]),s(N,[2,109]),s(N,[2,110]),s(N,[2,111]),s(N,[2,112]),s(N,[2,113]),s(N,[2,114]),s(N,[2,115]),s(p,[2,102]),s(S,[2,67]),s(p,[2,69],{61:Oe}),{60:[1,152]},s(M,[2,14]),{15:153,16:85,17:86,60:m,86:C,100:b,102:k,103:y},{39:[2,12]},s(Te,[2,52]),{13:[1,154]},{1:[2,4]},s(ne,[2,65]),s(ne,[2,64]),{16:39,17:40,19:155,60:m,86:C,100:b,102:k,103:y},s(ie,[2,76]),s(p,[2,34]),{41:[1,156]},{24:97,30:98,40:157,41:[2,38],43:23,48:d,54:_,56:v},{24:97,30:98,40:158,41:[2,41],43:23,48:d,54:_,56:v},{45:159,51:ae},s(S,[2,45]),{41:[2,58]},s(S,[2,48],{39:[1,160]}),s(p,[2,56]),s(p,[2,88]),s(p,[2,90]),s(p,[2,91],{77:[1,161]}),s(p,[2,94]),s(p,[2,95],{13:[1,162]}),s(p,[2,97],{13:[1,164],77:[1,163]}),{22:U,50:z,60:Y,82:K,84:165,85:111,86:W,87:q,88:Q,89:X,90:j},s(N,[2,106]),s(Ie,[2,71]),{39:[2,11]},{14:[1,166]},s(ne,[2,66]),s(p,[2,35]),{41:[2,39]},{41:[2,42]},{41:[1,167]},{41:[1,169],45:168,51:ae},s(p,[2,92]),s(p,[2,96]),s(p,[2,98]),s(p,[2,99],{77:[1,170]}),s(we,[2,104],{85:151,22:U,50:z,60:Y,82:K,86:W,87:q,88:Q,89:X,90:j}),s(Te,[2,8]),s(S,[2,47]),{41:[1,171]},s(S,[2,50]),s(p,[2,100]),s(S,[2,49])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],84:[2,36],86:[2,10],127:[2,12],130:[2,4],141:[2,58],153:[2,11],157:[2,39],158:[2,42]},parseError:r.__name(function(c,h){if(h.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=h,A}},"parseError"),parse:r.__name(function(c){var h=this,A=[0],u=[],g=[null],e=[],H=this.table,t="",ue=0,Me=0,Ke=2,Ve=1,We=e.slice.call(arguments,1),T=Object.create(this.lexer),I={yy:{}};for(var Fe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Fe)&&(I.yy[Fe]=this.yy[Fe]);T.setInput(c,I.yy),I.yy.lexer=T,I.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var Be=T.yylloc;e.push(Be);var qe=T.options&&T.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Qe(F){A.length=A.length-2*F,g.length=g.length-F,e.length=e.length-F}r.__name(Qe,"popStack");function Pe(){var F;return F=u.pop()||T.lex()||Ve,typeof F!="number"&&(F instanceof Array&&(u=F,F=u.pop()),F=h.symbols_[F]||F),F}r.__name(Pe,"lex");for(var D,O,B,Se,V={},le,L,Re,oe;;){if(O=A[A.length-1],this.defaultActions[O]?B=this.defaultActions[O]:((D===null||typeof D>"u")&&(D=Pe()),B=H[O]&&H[O][D]),typeof B>"u"||!B.length||!B[0]){var Ne="";oe=[];for(le in H[O])this.terminals_[le]&&le>Ke&&oe.push("'"+this.terminals_[le]+"'");T.showPosition?Ne="Parse error on line "+(ue+1)+`:
1
+ "use strict";const Xe=require("./chunk-FMBD7UC4-slHNYrdA.cjs"),je=require("./chunk-YZCP3GAM-C2IM6BuV.cjs"),He=require("./chunk-55IACEB6-CEDZ87Yr.cjs"),Je=require("./chunk-EDXVE4YY-CP7pBxXD.cjs"),r=require("./cowboy-components-DDfCPnUY.cjs");var Le=(function(){var s=r.__name(function(x,c,h,A){for(h=h||{},A=x.length;A--;h[x[A]]=c);return h},"o"),i=[1,18],a=[1,19],l=[1,20],o=[1,41],n=[1,26],d=[1,42],f=[1,24],E=[1,25],_=[1,32],v=[1,33],he=[1,34],m=[1,45],de=[1,35],pe=[1,36],Ae=[1,37],fe=[1,38],ge=[1,27],me=[1,28],Ce=[1,29],be=[1,30],ke=[1,31],C=[1,44],b=[1,46],k=[1,43],y=[1,47],Ee=[1,9],p=[1,8,9],J=[1,58],Z=[1,59],$=[1,60],ee=[1,61],te=[1,62],_e=[1,63],ye=[1,64],S=[1,8,9,41],xe=[1,77],M=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],se=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ie=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],ve=[13,60,68,69,70,71,72,86,100,102,103],ae=[1,102],U=[1,120],z=[1,116],Y=[1,112],K=[1,118],W=[1,113],q=[1,114],Q=[1,115],X=[1,117],j=[1,119],Ie=[22,50,60,61,82,86,87,88,89,90],Te=[1,8,9,39,41,44,46],ne=[1,8,9,22],Oe=[1,150],we=[1,8,9,61],N=[1,8,9,22,50,60,61,82,86,87,88,89,90],De={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:r.__name(function(c,h,A,u,g,e,H){var t=e.length-1;switch(g){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:u.addRelation(e[t]);break;case 20:e[t-1].title=u.cleanupLabel(e[t]),u.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),u.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),u.setAccDescription(this.$);break;case 34:u.addClassesToNamespace(e[t-3],e[t-1][0],e[t-1][1]);break;case 35:u.addClassesToNamespace(e[t-4],e[t-1][0],e[t-1][1]);break;case 36:this.$=e[t],u.addNamespace(e[t]);break;case 37:this.$=[[e[t]],[]];break;case 38:this.$=[[e[t-1]],[]];break;case 39:e[t][0].unshift(e[t-2]),this.$=e[t];break;case 40:this.$=[[],[e[t]]];break;case 41:this.$=[[],[e[t-1]]];break;case 42:e[t][1].unshift(e[t-2]),this.$=e[t];break;case 44:u.setCssClass(e[t-2],e[t]);break;case 45:u.addMembers(e[t-3],e[t-1]);break;case 47:u.setCssClass(e[t-5],e[t-3]),u.addMembers(e[t-5],e[t-1]);break;case 48:u.addAnnotation(e[t-3],e[t-1]);break;case 49:u.addAnnotation(e[t-6],e[t-4]),u.addMembers(e[t-6],e[t-1]);break;case 50:u.addAnnotation(e[t-5],e[t-3]);break;case 51:this.$=e[t],u.addClass(e[t]);break;case 52:this.$=e[t-1],u.addClass(e[t-1]),u.setClassLabel(e[t-1],e[t]);break;case 56:u.addAnnotation(e[t],e[t-2]);break;case 57:case 70:this.$=[e[t]];break;case 58:e[t].push(e[t-1]),this.$=e[t];break;case 59:break;case 60:u.addMember(e[t-1],u.cleanupLabel(e[t]));break;case 61:break;case 62:break;case 63:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 64:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 65:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 66:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 67:this.$=u.addNote(e[t],e[t-1]);break;case 68:this.$=u.addNote(e[t]);break;case 69:this.$=e[t-2],u.defineClass(e[t-1],e[t]);break;case 71:this.$=e[t-2].concat([e[t]]);break;case 72:u.setDirection("TB");break;case 73:u.setDirection("BT");break;case 74:u.setDirection("RL");break;case 75:u.setDirection("LR");break;case 76:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 77:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 78:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 79:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 80:this.$=u.relationType.AGGREGATION;break;case 81:this.$=u.relationType.EXTENSION;break;case 82:this.$=u.relationType.COMPOSITION;break;case 83:this.$=u.relationType.DEPENDENCY;break;case 84:this.$=u.relationType.LOLLIPOP;break;case 85:this.$=u.lineType.LINE;break;case 86:this.$=u.lineType.DOTTED_LINE;break;case 87:case 93:this.$=e[t-2],u.setClickEvent(e[t-1],e[t]);break;case 88:case 94:this.$=e[t-3],u.setClickEvent(e[t-2],e[t-1]),u.setTooltip(e[t-2],e[t]);break;case 89:this.$=e[t-2],u.setLink(e[t-1],e[t]);break;case 90:this.$=e[t-3],u.setLink(e[t-2],e[t-1],e[t]);break;case 91:this.$=e[t-3],u.setLink(e[t-2],e[t-1]),u.setTooltip(e[t-2],e[t]);break;case 92:this.$=e[t-4],u.setLink(e[t-3],e[t-2],e[t]),u.setTooltip(e[t-3],e[t-1]);break;case 95:this.$=e[t-3],u.setClickEvent(e[t-2],e[t-1],e[t]);break;case 96:this.$=e[t-4],u.setClickEvent(e[t-3],e[t-2],e[t-1]),u.setTooltip(e[t-3],e[t]);break;case 97:this.$=e[t-3],u.setLink(e[t-2],e[t]);break;case 98:this.$=e[t-4],u.setLink(e[t-3],e[t-1],e[t]);break;case 99:this.$=e[t-4],u.setLink(e[t-3],e[t-1]),u.setTooltip(e[t-3],e[t]);break;case 100:this.$=e[t-5],u.setLink(e[t-4],e[t-2],e[t]),u.setTooltip(e[t-4],e[t-1]);break;case 101:this.$=e[t-2],u.setCssStyle(e[t-1],e[t]);break;case 102:u.setCssClass(e[t-1],e[t]);break;case 103:this.$=[e[t]];break;case 104:e[t-2].push(e[t]),this.$=e[t-2];break;case 106:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Ee,[2,5],{8:[1,48]}),{8:[1,49]},s(p,[2,19],{22:[1,50]}),s(p,[2,21]),s(p,[2,22]),s(p,[2,23]),s(p,[2,24]),s(p,[2,25]),s(p,[2,26]),s(p,[2,27]),s(p,[2,28]),s(p,[2,29]),s(p,[2,30]),{34:[1,51]},{36:[1,52]},s(p,[2,33]),s(p,[2,59],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:J,69:Z,70:$,71:ee,72:te,73:_e,74:ye}),{39:[1,65]},s(S,[2,43],{39:[1,67],44:[1,66],46:[1,68]}),s(p,[2,61]),s(p,[2,62]),{16:69,60:m,86:C,100:b,102:k},{16:39,17:40,19:70,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:71,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:72,60:m,86:C,100:b,102:k,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:m,86:C,100:b,102:k,103:y},{13:xe,55:76},{58:78,60:[1,79]},s(p,[2,72]),s(p,[2,73]),s(p,[2,74]),s(p,[2,75]),s(M,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:m,86:C,100:b,102:k,103:y}),s(M,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:87,60:m,86:C,100:b,102:k,103:y},s(se,[2,129]),s(se,[2,130]),s(se,[2,131]),s(se,[2,132]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,133]),s(Ee,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:l,42:o,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y},s(p,[2,20]),s(p,[2,31]),s(p,[2,32]),{13:[1,91],16:39,17:40,19:90,60:m,86:C,100:b,102:k,103:y},{53:92,66:56,67:57,68:J,69:Z,70:$,71:ee,72:te,73:_e,74:ye},s(p,[2,60]),{67:93,73:_e,74:ye},s(ie,[2,79],{66:94,68:J,69:Z,70:$,71:ee,72:te}),s(G,[2,80]),s(G,[2,81]),s(G,[2,82]),s(G,[2,83]),s(G,[2,84]),s(ve,[2,85]),s(ve,[2,86]),{8:[1,96],24:97,30:98,40:95,43:23,48:d,54:_,56:v},{16:99,60:m,86:C,100:b,102:k},{41:[1,101],45:100,51:ae},{16:103,60:m,86:C,100:b,102:k},{47:[1,104]},{13:[1,105]},{13:[1,106]},{79:[1,107],81:[1,108]},{22:U,50:z,59:109,60:Y,82:K,84:110,85:111,86:W,87:q,88:Q,89:X,90:j},{60:[1,121]},{13:xe,55:122},s(S,[2,68]),s(S,[2,134]),{22:U,50:z,59:123,60:Y,61:[1,124],82:K,84:110,85:111,86:W,87:q,88:Q,89:X,90:j},s(Ie,[2,70]),{16:39,17:40,19:125,60:m,86:C,100:b,102:k,103:y},s(M,[2,16]),s(M,[2,17]),s(M,[2,18]),{39:[2,36]},{15:127,16:85,17:86,18:[1,126],39:[2,9],60:m,86:C,100:b,102:k,103:y},{39:[2,10]},s(Te,[2,51],{11:128,12:[1,129]}),s(Ee,[2,7]),{9:[1,130]},s(ne,[2,63]),{16:39,17:40,19:131,60:m,86:C,100:b,102:k,103:y},{13:[1,133],16:39,17:40,19:132,60:m,86:C,100:b,102:k,103:y},s(ie,[2,78],{66:134,68:J,69:Z,70:$,71:ee,72:te}),s(ie,[2,77]),{41:[1,135]},{24:97,30:98,40:136,43:23,48:d,54:_,56:v},{8:[1,137],41:[2,37]},{8:[1,138],41:[2,40]},s(S,[2,44],{39:[1,139]}),{41:[1,140]},s(S,[2,46]),{41:[2,57],45:141,51:ae},{47:[1,142]},{16:39,17:40,19:143,60:m,86:C,100:b,102:k,103:y},s(p,[2,87],{13:[1,144]}),s(p,[2,89],{13:[1,146],77:[1,145]}),s(p,[2,93],{13:[1,147],80:[1,148]}),{13:[1,149]},s(p,[2,101],{61:Oe}),s(we,[2,103],{85:151,22:U,50:z,60:Y,82:K,86:W,87:q,88:Q,89:X,90:j}),s(N,[2,105]),s(N,[2,107]),s(N,[2,108]),s(N,[2,109]),s(N,[2,110]),s(N,[2,111]),s(N,[2,112]),s(N,[2,113]),s(N,[2,114]),s(N,[2,115]),s(p,[2,102]),s(S,[2,67]),s(p,[2,69],{61:Oe}),{60:[1,152]},s(M,[2,14]),{15:153,16:85,17:86,60:m,86:C,100:b,102:k,103:y},{39:[2,12]},s(Te,[2,52]),{13:[1,154]},{1:[2,4]},s(ne,[2,65]),s(ne,[2,64]),{16:39,17:40,19:155,60:m,86:C,100:b,102:k,103:y},s(ie,[2,76]),s(p,[2,34]),{41:[1,156]},{24:97,30:98,40:157,41:[2,38],43:23,48:d,54:_,56:v},{24:97,30:98,40:158,41:[2,41],43:23,48:d,54:_,56:v},{45:159,51:ae},s(S,[2,45]),{41:[2,58]},s(S,[2,48],{39:[1,160]}),s(p,[2,56]),s(p,[2,88]),s(p,[2,90]),s(p,[2,91],{77:[1,161]}),s(p,[2,94]),s(p,[2,95],{13:[1,162]}),s(p,[2,97],{13:[1,164],77:[1,163]}),{22:U,50:z,60:Y,82:K,84:165,85:111,86:W,87:q,88:Q,89:X,90:j},s(N,[2,106]),s(Ie,[2,71]),{39:[2,11]},{14:[1,166]},s(ne,[2,66]),s(p,[2,35]),{41:[2,39]},{41:[2,42]},{41:[1,167]},{41:[1,169],45:168,51:ae},s(p,[2,92]),s(p,[2,96]),s(p,[2,98]),s(p,[2,99],{77:[1,170]}),s(we,[2,104],{85:151,22:U,50:z,60:Y,82:K,86:W,87:q,88:Q,89:X,90:j}),s(Te,[2,8]),s(S,[2,47]),{41:[1,171]},s(S,[2,50]),s(p,[2,100]),s(S,[2,49])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],84:[2,36],86:[2,10],127:[2,12],130:[2,4],141:[2,58],153:[2,11],157:[2,39],158:[2,42]},parseError:r.__name(function(c,h){if(h.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=h,A}},"parseError"),parse:r.__name(function(c){var h=this,A=[0],u=[],g=[null],e=[],H=this.table,t="",ue=0,Me=0,Ke=2,Ve=1,We=e.slice.call(arguments,1),T=Object.create(this.lexer),I={yy:{}};for(var Fe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Fe)&&(I.yy[Fe]=this.yy[Fe]);T.setInput(c,I.yy),I.yy.lexer=T,I.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var Be=T.yylloc;e.push(Be);var qe=T.options&&T.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Qe(F){A.length=A.length-2*F,g.length=g.length-F,e.length=e.length-F}r.__name(Qe,"popStack");function Pe(){var F;return F=u.pop()||T.lex()||Ve,typeof F!="number"&&(F instanceof Array&&(u=F,F=u.pop()),F=h.symbols_[F]||F),F}r.__name(Pe,"lex");for(var D,O,B,Se,V={},le,L,Re,oe;;){if(O=A[A.length-1],this.defaultActions[O]?B=this.defaultActions[O]:((D===null||typeof D>"u")&&(D=Pe()),B=H[O]&&H[O][D]),typeof B>"u"||!B.length||!B[0]){var Ne="";oe=[];for(le in H[O])this.terminals_[le]&&le>Ke&&oe.push("'"+this.terminals_[le]+"'");T.showPosition?Ne="Parse error on line "+(ue+1)+`:
2
2
  `+T.showPosition()+`
3
3
  Expecting `+oe.join(", ")+", got '"+(this.terminals_[D]||D)+"'":Ne="Parse error on line "+(ue+1)+": Unexpected "+(D==Ve?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(Ne,{text:T.match,token:this.terminals_[D]||D,line:T.yylineno,loc:Be,expected:oe})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+D);switch(B[0]){case 1:A.push(D),g.push(T.yytext),e.push(T.yylloc),A.push(B[1]),D=null,Me=T.yyleng,t=T.yytext,ue=T.yylineno,Be=T.yylloc;break;case 2:if(L=this.productions_[B[1]][1],V.$=g[g.length-L],V._$={first_line:e[e.length-(L||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(L||1)].first_column,last_column:e[e.length-1].last_column},qe&&(V._$.range=[e[e.length-(L||1)].range[0],e[e.length-1].range[1]]),Se=this.performAction.apply(V,[t,Me,ue,I.yy,B[1],g,e].concat(We)),typeof Se<"u")return Se;L&&(A=A.slice(0,-1*L*2),g=g.slice(0,-1*L),e=e.slice(0,-1*L)),A.push(this.productions_[B[1]][0]),g.push(V.$),e.push(V._$),Re=H[A[A.length-2]][A[A.length-1]],A.push(Re);break;case 3:return!0}}return!0},"parse")},Ye=(function(){var x={EOF:1,parseError:r.__name(function(h,A){if(this.yy.parser)this.yy.parser.parseError(h,A);else throw new Error(h)},"parseError"),setInput:r.__name(function(c,h){return this.yy=h||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r.__name(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var h=c.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:r.__name(function(c){var h=c.length,A=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),A.length-1&&(this.yylineno-=A.length-1);var 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:A?(A.length===u.length?this.yylloc.first_column:0)+u[u.length-A.length].length-A[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-h]),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(c){this.unput(this.match.slice(c))},"less"),pastInput:r.__name(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var c=this.pastInput(),h=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
@@ -1,8 +1,8 @@
1
- import { g as et } from "./chunk-FMBD7UC4-cN7XywSK.js";
2
- import { c as tt } from "./chunk-YZCP3GAM-eo-UEr6G.js";
3
- import { g as st } from "./chunk-55IACEB6-DL_DHCyZ.js";
4
- import { s as it } from "./chunk-EDXVE4YY-BII9TpbV.js";
5
- import { _ as A, l as Oe, c as F, o as at, r as rt, u as we, d as pe, y as nt, b as ut, a as lt, s as ot, g as ct, p as ht, q as dt, k as v, z as pt, x as At, i as ft, Q as G } from "./cowboy-components-B5MDHQs5.js";
1
+ import { g as et } from "./chunk-FMBD7UC4-B2FUllsE.js";
2
+ import { c as tt } from "./chunk-YZCP3GAM-DpgFVAJS.js";
3
+ import { g as st } from "./chunk-55IACEB6-D2v5xo07.js";
4
+ import { s as it } from "./chunk-EDXVE4YY-DtZEtPNM.js";
5
+ import { _ as A, l as Oe, c as F, o as at, r as rt, u as we, d as pe, y as nt, b as ut, a as lt, s as ot, g as ct, p as ht, q as dt, k as v, z as pt, x as At, i as ft, Q as G } from "./cowboy-components-CPx4P290.js";
6
6
  var Ve = (function() {
7
7
  var s = /* @__PURE__ */ A(function(I, o, c, p) {
8
8
  for (c = c || {}, p = I.length; p--; c[I[p]] = o) ;
@@ -1 +1 @@
1
- "use strict";const e=require("./cowboy-components-DMQv-nwp.cjs");var s=e.__name((t,o)=>{let n;return o==="sandbox"&&(n=e.select("#i"+t)),(o==="sandbox"?e.select(n.nodes()[0].contentDocument.body):e.select("body")).select(`[id="${t}"]`)},"getDiagramElement");exports.getDiagramElement=s;
1
+ "use strict";const e=require("./cowboy-components-DDfCPnUY.cjs");var s=e.__name((t,o)=>{let n;return o==="sandbox"&&(n=e.select("#i"+t)),(o==="sandbox"?e.select(n.nodes()[0].contentDocument.body):e.select("body")).select(`[id="${t}"]`)},"getDiagramElement");exports.getDiagramElement=s;
@@ -1,4 +1,4 @@
1
- import { _ as a, d as o } from "./cowboy-components-B5MDHQs5.js";
1
+ import { _ as a, d as o } from "./cowboy-components-CPx4P290.js";
2
2
  var d = /* @__PURE__ */ a((t, e) => {
3
3
  let n;
4
4
  return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
@@ -1 +1 @@
1
- "use strict";const r=require("./cowboy-components-DMQv-nwp.cjs");var w=r.__name((e,t,i,n)=>{e.attr("class",i);const{width:o,height:c,x:a,y:s}=u(e,t);r.configureSvgSize(e,c,o,n);const h=x(a,s,o,c,t);e.attr("viewBox",h),r.log.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),u=r.__name((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),x=r.__name((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");exports.setupViewPortForSVG=w;
1
+ "use strict";const r=require("./cowboy-components-DDfCPnUY.cjs");var w=r.__name((e,t,i,n)=>{e.attr("class",i);const{width:o,height:c,x:a,y:s}=u(e,t);r.configureSvgSize(e,c,o,n);const h=x(a,s,o,c,t);e.attr("viewBox",h),r.log.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),u=r.__name((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),x=r.__name((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");exports.setupViewPortForSVG=w;
@@ -1,4 +1,4 @@
1
- import { _ as a, e as w, l as x } from "./cowboy-components-B5MDHQs5.js";
1
+ import { _ as a, e as w, l as x } from "./cowboy-components-CPx4P290.js";
2
2
  var d = /* @__PURE__ */ a((e, t, i, r) => {
3
3
  e.attr("class", i);
4
4
  const { width: o, height: h, x: n, y: c } = u(e, t);
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./cowboy-components-B5MDHQs5.js";
1
+ import { _ as e } from "./cowboy-components-CPx4P290.js";
2
2
  var l = /* @__PURE__ */ e(() => `
3
3
  /* Font Awesome icon styling - consolidated */
4
4
  .label-icon {
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./cowboy-components-DMQv-nwp.cjs");var o=e.__name(()=>`
1
+ "use strict";const e=require("./cowboy-components-DDfCPnUY.cjs");var o=e.__name(()=>`
2
2
  /* Font Awesome icon styling - consolidated */
3
3
  .label-icon {
4
4
  display: inline-block;
@@ -1,6 +1,6 @@
1
- import { g as te } from "./chunk-55IACEB6-DL_DHCyZ.js";
2
- import { s as ee } from "./chunk-EDXVE4YY-BII9TpbV.js";
3
- import { _ as f, l as b, c as w, r as se, u as ie, a as re, b as ae, g as ne, s as oe, p as le, q as ce, R as he, k as U, z as ue } from "./cowboy-components-B5MDHQs5.js";
1
+ import { g as te } from "./chunk-55IACEB6-D2v5xo07.js";
2
+ import { s as ee } from "./chunk-EDXVE4YY-DtZEtPNM.js";
3
+ import { _ as f, l as b, c as w, r as se, u as ie, a as re, b as ae, g as ne, s as oe, p as le, q as ce, R as he, k as U, z as ue } from "./cowboy-components-CPx4P290.js";
4
4
  var vt = (function() {
5
5
  var t = /* @__PURE__ */ f(function(B, o, c, n) {
6
6
  for (c = c || {}, n = B.length; n--; c[B[n]] = o) ;
@@ -1,4 +1,4 @@
1
- "use strict";const Jt=require("./chunk-55IACEB6-595ZDi6s.cjs"),Qt=require("./chunk-EDXVE4YY-CQbtNtXr.cjs"),s=require("./cowboy-components-DMQv-nwp.cjs");var bt=(function(){var t=s.__name(function(P,l,h,o){for(h=h||{},o=P.length;o--;h[P[o]]=l);return h},"o"),e=[1,2],i=[1,3],n=[1,4],a=[2,4],d=[1,9],f=[1,11],S=[1,16],p=[1,17],y=[1,18],m=[1,19],E=[1,33],A=[1,20],k=[1,21],u=[1,22],x=[1,23],D=[1,24],O=[1,26],L=[1,27],w=[1,28],I=[1,29],z=[1,30],tt=[1,31],et=[1,32],st=[1,35],it=[1,36],rt=[1,37],at=[1,38],M=[1,34],_=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],nt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],pt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:s.__name(function(l,h,o,g,T,r,K){var c=r.length-1;switch(T){case 3:return g.setRootDoc(r[c]),r[c];case 4:this.$=[];break;case 5:r[c]!="nl"&&(r[c-1].push(r[c]),this.$=r[c-1]);break;case 6:case 7:this.$=r[c];break;case 8:this.$="nl";break;case 12:this.$=r[c];break;case 13:const X=r[c-1];X.description=g.trimColon(r[c]),this.$=X;break;case 14:this.$={stmt:"relation",state1:r[c-2],state2:r[c]};break;case 15:const St=g.trimColon(r[c]);this.$={stmt:"relation",state1:r[c-3],state2:r[c-1],description:St};break;case 19:this.$={stmt:"state",id:r[c-3],type:"default",description:"",doc:r[c-1]};break;case 20:var F=r[c],U=r[c-2].trim();if(r[c].match(":")){var lt=r[c].split(":");F=lt[0],U=[U,lt[1]]}this.$={stmt:"state",id:F,type:"default",description:U};break;case 21:this.$={stmt:"state",id:r[c-3],type:"default",description:r[c-5],doc:r[c-1]};break;case 22:this.$={stmt:"state",id:r[c],type:"fork"};break;case 23:this.$={stmt:"state",id:r[c],type:"join"};break;case 24:this.$={stmt:"state",id:r[c],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[c-1].trim(),note:{position:r[c-2].trim(),text:r[c].trim()}};break;case 29:this.$=r[c].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=r[c].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:r[c-3],url:r[c-2],tooltip:r[c-1]};break;case 33:this.$={stmt:"click",id:r[c-3],url:r[c-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:r[c-1].trim(),classes:r[c].trim()};break;case 36:this.$={stmt:"style",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 37:this.$={stmt:"applyClass",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[c].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:i,6:n},{1:[3]},{3:5,4:e,5:i,6:n},{3:6,4:e,5:i,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:d,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,7]),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(_,[2,11]),t(_,[2,12],{14:[1,40],15:[1,41]}),t(_,[2,16]),{18:[1,42]},t(_,[2,18],{20:[1,43]}),{23:[1,44]},t(_,[2,22]),t(_,[2,23]),t(_,[2,24]),t(_,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(_,[2,28]),{34:[1,49]},{36:[1,50]},t(_,[2,31]),{13:51,24:E,57:M},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(nt,[2,44],{58:[1,56]}),t(nt,[2,45],{58:[1,57]}),t(_,[2,38]),t(_,[2,39]),t(_,[2,40]),t(_,[2,41]),t(_,[2,6]),t(_,[2,13]),{13:58,24:E,57:M},t(_,[2,17]),t(vt,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(_,[2,29]),t(_,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(_,[2,14],{14:[1,71]}),{4:d,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,72],22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(_,[2,37]),t(nt,[2,46]),t(nt,[2,47]),t(_,[2,15]),t(_,[2,19]),t(vt,a,{7:78}),t(_,[2,26]),t(_,[2,27]),{5:[1,79]},{5:[1,80]},{4:d,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,81],22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,32]),t(_,[2,33]),t(_,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:s.__name(function(l,h){if(h.recoverable)this.trace(l);else{var o=new Error(l);throw o.hash=h,o}},"parseError"),parse:s.__name(function(l){var h=this,o=[0],g=[],T=[null],r=[],K=this.table,c="",F=0,U=0,lt=2,X=1,St=r.slice.call(arguments,1),b=Object.create(this.lexer),Y={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(Y.yy[_t]=this.yy[_t]);b.setInput(l,Y.yy),Y.yy.lexer=b,Y.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var gt=b.yylloc;r.push(gt);var Xt=b.options&&b.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qt(R){o.length=o.length-2*R,T.length=T.length-R,r.length=r.length-R}s.__name(qt,"popStack");function Ct(){var R;return R=g.pop()||b.lex()||X,typeof R!="number"&&(R instanceof Array&&(g=R,R=g.pop()),R=h.symbols_[R]||R),R}s.__name(Ct,"lex");for(var C,G,N,yt,W={},ct,$,At,ht;;){if(G=o[o.length-1],this.defaultActions[G]?N=this.defaultActions[G]:((C===null||typeof C>"u")&&(C=Ct()),N=K[G]&&K[G][C]),typeof N>"u"||!N.length||!N[0]){var mt="";ht=[];for(ct in K[G])this.terminals_[ct]&&ct>lt&&ht.push("'"+this.terminals_[ct]+"'");b.showPosition?mt="Parse error on line "+(F+1)+`:
1
+ "use strict";const Jt=require("./chunk-55IACEB6-CEDZ87Yr.cjs"),Qt=require("./chunk-EDXVE4YY-CP7pBxXD.cjs"),s=require("./cowboy-components-DDfCPnUY.cjs");var bt=(function(){var t=s.__name(function(P,l,h,o){for(h=h||{},o=P.length;o--;h[P[o]]=l);return h},"o"),e=[1,2],i=[1,3],n=[1,4],a=[2,4],d=[1,9],f=[1,11],S=[1,16],p=[1,17],y=[1,18],m=[1,19],E=[1,33],A=[1,20],k=[1,21],u=[1,22],x=[1,23],D=[1,24],O=[1,26],L=[1,27],w=[1,28],I=[1,29],z=[1,30],tt=[1,31],et=[1,32],st=[1,35],it=[1,36],rt=[1,37],at=[1,38],M=[1,34],_=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],nt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],pt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:s.__name(function(l,h,o,g,T,r,K){var c=r.length-1;switch(T){case 3:return g.setRootDoc(r[c]),r[c];case 4:this.$=[];break;case 5:r[c]!="nl"&&(r[c-1].push(r[c]),this.$=r[c-1]);break;case 6:case 7:this.$=r[c];break;case 8:this.$="nl";break;case 12:this.$=r[c];break;case 13:const X=r[c-1];X.description=g.trimColon(r[c]),this.$=X;break;case 14:this.$={stmt:"relation",state1:r[c-2],state2:r[c]};break;case 15:const St=g.trimColon(r[c]);this.$={stmt:"relation",state1:r[c-3],state2:r[c-1],description:St};break;case 19:this.$={stmt:"state",id:r[c-3],type:"default",description:"",doc:r[c-1]};break;case 20:var F=r[c],U=r[c-2].trim();if(r[c].match(":")){var lt=r[c].split(":");F=lt[0],U=[U,lt[1]]}this.$={stmt:"state",id:F,type:"default",description:U};break;case 21:this.$={stmt:"state",id:r[c-3],type:"default",description:r[c-5],doc:r[c-1]};break;case 22:this.$={stmt:"state",id:r[c],type:"fork"};break;case 23:this.$={stmt:"state",id:r[c],type:"join"};break;case 24:this.$={stmt:"state",id:r[c],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[c-1].trim(),note:{position:r[c-2].trim(),text:r[c].trim()}};break;case 29:this.$=r[c].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=r[c].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:r[c-3],url:r[c-2],tooltip:r[c-1]};break;case 33:this.$={stmt:"click",id:r[c-3],url:r[c-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:r[c-1].trim(),classes:r[c].trim()};break;case 36:this.$={stmt:"style",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 37:this.$={stmt:"applyClass",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[c].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:i,6:n},{1:[3]},{3:5,4:e,5:i,6:n},{3:6,4:e,5:i,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:d,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,7]),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(_,[2,11]),t(_,[2,12],{14:[1,40],15:[1,41]}),t(_,[2,16]),{18:[1,42]},t(_,[2,18],{20:[1,43]}),{23:[1,44]},t(_,[2,22]),t(_,[2,23]),t(_,[2,24]),t(_,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(_,[2,28]),{34:[1,49]},{36:[1,50]},t(_,[2,31]),{13:51,24:E,57:M},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(nt,[2,44],{58:[1,56]}),t(nt,[2,45],{58:[1,57]}),t(_,[2,38]),t(_,[2,39]),t(_,[2,40]),t(_,[2,41]),t(_,[2,6]),t(_,[2,13]),{13:58,24:E,57:M},t(_,[2,17]),t(vt,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(_,[2,29]),t(_,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(_,[2,14],{14:[1,71]}),{4:d,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,72],22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(_,[2,37]),t(nt,[2,46]),t(nt,[2,47]),t(_,[2,15]),t(_,[2,19]),t(vt,a,{7:78}),t(_,[2,26]),t(_,[2,27]),{5:[1,79]},{5:[1,80]},{4:d,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,81],22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,32]),t(_,[2,33]),t(_,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:s.__name(function(l,h){if(h.recoverable)this.trace(l);else{var o=new Error(l);throw o.hash=h,o}},"parseError"),parse:s.__name(function(l){var h=this,o=[0],g=[],T=[null],r=[],K=this.table,c="",F=0,U=0,lt=2,X=1,St=r.slice.call(arguments,1),b=Object.create(this.lexer),Y={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(Y.yy[_t]=this.yy[_t]);b.setInput(l,Y.yy),Y.yy.lexer=b,Y.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var gt=b.yylloc;r.push(gt);var Xt=b.options&&b.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qt(R){o.length=o.length-2*R,T.length=T.length-R,r.length=r.length-R}s.__name(qt,"popStack");function Ct(){var R;return R=g.pop()||b.lex()||X,typeof R!="number"&&(R instanceof Array&&(g=R,R=g.pop()),R=h.symbols_[R]||R),R}s.__name(Ct,"lex");for(var C,G,N,yt,W={},ct,$,At,ht;;){if(G=o[o.length-1],this.defaultActions[G]?N=this.defaultActions[G]:((C===null||typeof C>"u")&&(C=Ct()),N=K[G]&&K[G][C]),typeof N>"u"||!N.length||!N[0]){var mt="";ht=[];for(ct in K[G])this.terminals_[ct]&&ct>lt&&ht.push("'"+this.terminals_[ct]+"'");b.showPosition?mt="Parse error on line "+(F+1)+`:
2
2
  `+b.showPosition()+`
3
3
  Expecting `+ht.join(", ")+", got '"+(this.terminals_[C]||C)+"'":mt="Parse error on line "+(F+1)+": Unexpected "+(C==X?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError(mt,{text:b.match,token:this.terminals_[C]||C,line:b.yylineno,loc:gt,expected:ht})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+C);switch(N[0]){case 1:o.push(C),T.push(b.yytext),r.push(b.yylloc),o.push(N[1]),C=null,U=b.yyleng,c=b.yytext,F=b.yylineno,gt=b.yylloc;break;case 2:if($=this.productions_[N[1]][1],W.$=T[T.length-$],W._$={first_line:r[r.length-($||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-($||1)].first_column,last_column:r[r.length-1].last_column},Xt&&(W._$.range=[r[r.length-($||1)].range[0],r[r.length-1].range[1]]),yt=this.performAction.apply(W,[c,U,F,Y.yy,N[1],T,r].concat(St)),typeof yt<"u")return yt;$&&(o=o.slice(0,-1*$*2),T=T.slice(0,-1*$),r=r.slice(0,-1*$)),o.push(this.productions_[N[1]][0]),T.push(W.$),r.push(W._$),At=K[o[o.length-2]][o[o.length-1]],o.push(At);break;case 3:return!0}}return!0},"parse")},Kt=(function(){var P={EOF:1,parseError:s.__name(function(h,o){if(this.yy.parser)this.yy.parser.parseError(h,o);else throw new Error(h)},"parseError"),setInput:s.__name(function(l,h){return this.yy=h||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:s.__name(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var h=l.match(/(?:\r\n?|\n).*/g);return h?(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:s.__name(function(l){var h=l.length,o=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var g=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 T=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===g.length?this.yylloc.first_column:0)+g[g.length-o.length].length-o[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:s.__name(function(){return this._more=!0,this},"more"),reject:s.__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:s.__name(function(l){this.unput(this.match.slice(l))},"less"),pastInput:s.__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:s.__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:s.__name(function(){var l=this.pastInput(),h=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
@@ -1 +1 @@
1
- "use strict";const i=require("./cowboy-components-DMQv-nwp.cjs");var t,s=(t=class{constructor(e){this.init=e,this.records=this.init()}reset(){this.records=this.init()}},i.__name(t,"ImperativeState"),t);exports.ImperativeState=s;
1
+ "use strict";const i=require("./cowboy-components-DDfCPnUY.cjs");var t,s=(t=class{constructor(e){this.init=e,this.records=this.init()}reset(){this.records=this.init()}},i.__name(t,"ImperativeState"),t);exports.ImperativeState=s;
@@ -1,4 +1,4 @@
1
- import { _ as s } from "./cowboy-components-B5MDHQs5.js";
1
+ import { _ as s } from "./cowboy-components-CPx4P290.js";
2
2
  var t, e = (t = class {
3
3
  /**
4
4
  * @param init - Function that creates the default state.
@@ -1 +1 @@
1
- "use strict";const s=require("./cowboy-components-DMQv-nwp.cjs");var l=s.__name((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const a in t.attrs)e.attr(a,t.attrs[a]);return t.class&&e.attr("class",t.class),e},"drawRect"),o=s.__name((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};l(r,e).lower()},"drawBackgroundRect"),d=s.__name((r,t)=>{const e=t.text.replace(s.lineBreakRegex," "),a=r.append("text");a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class&&a.attr("class",t.class);const n=a.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(e),a},"drawText"),c=s.__name((r,t,e,a)=>{const n=r.append("image");n.attr("x",t),n.attr("y",e);const i=s.distExports.sanitizeUrl(a);n.attr("xlink:href",i)},"drawImage"),x=s.__name((r,t,e,a)=>{const n=r.append("use");n.attr("x",t),n.attr("y",e);const i=s.distExports.sanitizeUrl(a);n.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),m=s.__name(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=s.__name(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),y=s.__name(()=>{let r=s.select(".mermaidTooltip");return r.empty()&&(r=s.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");exports.createTooltip=y;exports.drawBackgroundRect=o;exports.drawEmbeddedImage=x;exports.drawImage=c;exports.drawRect=l;exports.drawText=d;exports.getNoteRect=m;exports.getTextObj=p;
1
+ "use strict";const s=require("./cowboy-components-DDfCPnUY.cjs");var l=s.__name((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const a in t.attrs)e.attr(a,t.attrs[a]);return t.class&&e.attr("class",t.class),e},"drawRect"),o=s.__name((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};l(r,e).lower()},"drawBackgroundRect"),d=s.__name((r,t)=>{const e=t.text.replace(s.lineBreakRegex," "),a=r.append("text");a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class&&a.attr("class",t.class);const n=a.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(e),a},"drawText"),c=s.__name((r,t,e,a)=>{const n=r.append("image");n.attr("x",t),n.attr("y",e);const i=s.distExports.sanitizeUrl(a);n.attr("xlink:href",i)},"drawImage"),x=s.__name((r,t,e,a)=>{const n=r.append("use");n.attr("x",t),n.attr("y",e);const i=s.distExports.sanitizeUrl(a);n.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),m=s.__name(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=s.__name(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),y=s.__name(()=>{let r=s.select(".mermaidTooltip");return r.empty()&&(r=s.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");exports.createTooltip=y;exports.drawBackgroundRect=o;exports.drawEmbeddedImage=x;exports.drawImage=c;exports.drawRect=l;exports.drawText=d;exports.getNoteRect=m;exports.getTextObj=p;
@@ -1,4 +1,4 @@
1
- import { _ as i, d as l, S as d, j as o } from "./cowboy-components-B5MDHQs5.js";
1
+ import { _ as i, d as l, S as d, j as o } from "./cowboy-components-CPx4P290.js";
2
2
  var x = /* @__PURE__ */ i((r, t) => {
3
3
  const e = r.append("rect");
4
4
  if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-4TB4RGXK-D0JpJZOs.cjs"),a=require("./cowboy-components-DMQv-nwp.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-4TB4RGXK-BxahB5gv.cjs"),a=require("./cowboy-components-DDfCPnUY.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
@@ -1,5 +1,5 @@
1
- import { s as r, c as s, a as e, C as t } from "./chunk-4TB4RGXK-DzEEAztK.js";
2
- import { _ as l } from "./cowboy-components-B5MDHQs5.js";
1
+ import { s as r, c as s, a as e, C as t } from "./chunk-4TB4RGXK-CnipwGVI.js";
2
+ import { _ as l } from "./cowboy-components-CPx4P290.js";
3
3
  var d = {
4
4
  parser: e,
5
5
  get db() {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-4TB4RGXK-D0JpJZOs.cjs"),a=require("./cowboy-components-DMQv-nwp.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-4TB4RGXK-BxahB5gv.cjs"),a=require("./cowboy-components-DDfCPnUY.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
@@ -1,5 +1,5 @@
1
- import { s as r, c as s, a as e, C as t } from "./chunk-4TB4RGXK-DzEEAztK.js";
2
- import { _ as l } from "./cowboy-components-B5MDHQs5.js";
1
+ import { s as r, c as s, a as e, C as t } from "./chunk-4TB4RGXK-CnipwGVI.js";
2
+ import { _ as l } from "./cowboy-components-CPx4P290.js";
3
3
  var d = {
4
4
  parser: e,
5
5
  get db() {
@@ -1,4 +1,4 @@
1
- import { b as r } from "./graph-BNtv6wPN.js";
1
+ import { b as r } from "./graph-Bv4HICS-.js";
2
2
  var e = 4;
3
3
  function a(o) {
4
4
  return r(o, e);
@@ -0,0 +1 @@
1
+ "use strict";const n=require("./graph-DpFK38bp.cjs");var r=4;function c(e){return n.baseClone(e,r)}exports.clone=c;
@@ -1,7 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  import '@shoelace-style/shoelace/dist/components/button/button.js';
3
3
  import '@shoelace-style/shoelace/dist/components/icon-button/icon-button.js';
4
- import '@shoelace-style/shoelace/dist/components/tooltip/tooltip.js';
5
4
  import '@shoelace-style/shoelace/dist/components/spinner/spinner.js';
6
5
  import '../premium-gate/premium-gate.js';
7
6
  export declare class BundleToolbar extends LitElement {
@@ -8,12 +8,10 @@ import { LitElement, html, nothing } from 'lit';
8
8
  import { customElement, property } from 'lit/decorators.js';
9
9
  import '@shoelace-style/shoelace/dist/components/button/button.js';
10
10
  import '@shoelace-style/shoelace/dist/components/icon-button/icon-button.js';
11
- import '@shoelace-style/shoelace/dist/components/tooltip/tooltip.js';
12
11
  import '@shoelace-style/shoelace/dist/components/spinner/spinner.js';
13
12
  import '../premium-gate/premium-gate.js';
14
13
  import buttonCss from '../../css/button.css.js';
15
14
  import bundleToolbarCss from './bundle-toolbar.css.js';
16
- import tooltipCss from '../../css/tooltip.css.js';
17
15
  import { BundleRequested, BundleDownloadRequested, BundleCopyRequested } from '../../events/doctor.js';
18
16
  let BundleToolbar = class BundleToolbar extends LitElement {
19
17
  constructor() {
@@ -80,7 +78,7 @@ let BundleToolbar = class BundleToolbar extends LitElement {
80
78
  `;
81
79
  }
82
80
  };
83
- BundleToolbar.styles = [buttonCss, bundleToolbarCss, tooltipCss];
81
+ BundleToolbar.styles = [buttonCss, bundleToolbarCss];
84
82
  __decorate([
85
83
  property({ type: Boolean })
86
84
  ], BundleToolbar.prototype, "isBundled", void 0);
@@ -17,16 +17,20 @@ import editorCss from "./editor.css.js";
17
17
  import openapi3 from './schemas/openapi3.json';
18
18
  import openapi31 from './schemas/openapi31.json';
19
19
  import openapi32 from './schemas/openapi32.json';
20
- // register the YAML worker (only once)
21
- configureMonacoYaml(monaco, {
22
- // mirror the old setDiagnosticsOptions flags:
23
- enableSchemaRequest: false, // we’re inlining the schemas
24
- hover: true,
25
- completion: true,
26
- validate: true,
27
- format: true,
28
- schemas: []
29
- });
20
+ let sharedMonacoYaml;
21
+ function getSharedMonacoYaml() {
22
+ if (!sharedMonacoYaml) {
23
+ sharedMonacoYaml = configureMonacoYaml(monaco, {
24
+ enableSchemaRequest: false,
25
+ hover: false,
26
+ completion: true,
27
+ validate: true,
28
+ format: true,
29
+ schemas: []
30
+ });
31
+ }
32
+ return sharedMonacoYaml;
33
+ }
30
34
  const editorGreen = '#00FF00FF';
31
35
  const editorGreenDim = '#008a00';
32
36
  const editorGreenDimmer = '#009B0047';
@@ -51,6 +55,57 @@ const AliveLight = 'pb33f-light';
51
55
  const DeadLight = 'dead-light';
52
56
  const AliveTektronix = 'pb33f-tektronix';
53
57
  const DeadTektronix = 'dead-tektronix';
58
+ const yamlModelOptions = {
59
+ tabSize: 4,
60
+ indentSize: 4,
61
+ insertSpaces: true,
62
+ trimAutoWhitespace: true,
63
+ };
64
+ const yamlEditorIndentationOptions = {
65
+ detectIndentation: false,
66
+ insertSpaces: true,
67
+ tabSize: 4,
68
+ trimAutoWhitespace: true,
69
+ };
70
+ const yamlEditorWhitespaceOptions = {
71
+ renderWhitespace: 'boundary',
72
+ renderControlCharacters: true,
73
+ stickyTabStops: true,
74
+ guides: {
75
+ indentation: true,
76
+ highlightActiveIndentation: true,
77
+ },
78
+ };
79
+ const darkWhitespaceColors = {
80
+ 'editorWhitespace.foreground': '#62C4FF66',
81
+ 'editorIndentGuide.background1': '#62C4FF26',
82
+ 'editorIndentGuide.activeBackground1': '#E400FB88',
83
+ };
84
+ const deadWhitespaceColors = {
85
+ 'editorWhitespace.foreground': '#8A8A8A66',
86
+ 'editorIndentGuide.background1': '#6F6F6F26',
87
+ 'editorIndentGuide.activeBackground1': '#9A6D9A88',
88
+ };
89
+ const lightWhitespaceColors = {
90
+ 'editorWhitespace.foreground': '#00000055',
91
+ 'editorIndentGuide.background1': '#00000022',
92
+ 'editorIndentGuide.activeBackground1': '#00000066',
93
+ };
94
+ const deadLightWhitespaceColors = {
95
+ 'editorWhitespace.foreground': '#AAAAAA66',
96
+ 'editorIndentGuide.background1': '#BBBBBB33',
97
+ 'editorIndentGuide.activeBackground1': '#88888866',
98
+ };
99
+ const tektronixWhitespaceColors = {
100
+ 'editorWhitespace.foreground': '#33FF3366',
101
+ 'editorIndentGuide.background1': '#33FF3326',
102
+ 'editorIndentGuide.activeBackground1': '#66FF6688',
103
+ };
104
+ const deadTektronixWhitespaceColors = {
105
+ 'editorWhitespace.foreground': '#1A4A1A66',
106
+ 'editorIndentGuide.background1': '#0A2A0A55',
107
+ 'editorIndentGuide.activeBackground1': '#1A661A88',
108
+ };
54
109
  function generatePb33fTheme() {
55
110
  return {
56
111
  base: 'vs-dark',
@@ -93,6 +148,7 @@ function generatePb33fTheme() {
93
148
  },
94
149
  ],
95
150
  colors: {
151
+ ...darkWhitespaceColors,
96
152
  'editor.foreground': editorBlue,
97
153
  'editor.background': '#0d1117',
98
154
  'editorCursor.foreground': editorBlue,
@@ -165,6 +221,7 @@ function generateDeadTheme() {
165
221
  },
166
222
  ],
167
223
  colors: {
224
+ ...deadWhitespaceColors,
168
225
  'editor.foreground': '#909090', // Slightly muted text
169
226
  'editor.background': '#0d1117', // Keeps the dark background
170
227
  'editorCursor.foreground': '#A8A8A8', // Subtle but noticeable cursor
@@ -270,6 +327,7 @@ function generatePb33fLightTheme() {
270
327
  },
271
328
  ],
272
329
  colors: {
330
+ ...lightWhitespaceColors,
273
331
  'editor.foreground': '#000000',
274
332
  'editor.background': '#ffffff',
275
333
  'editorCursor.foreground': '#000000',
@@ -350,6 +408,7 @@ function generateDeadLightTheme() {
350
408
  },
351
409
  ],
352
410
  colors: {
411
+ ...deadLightWhitespaceColors,
353
412
  'editor.foreground': '#aaaaaa',
354
413
  'editor.background': '#ffffff',
355
414
  'editorCursor.foreground': '#bbbbbb',
@@ -421,6 +480,7 @@ function generatePb33fTektronixTheme() {
421
480
  },
422
481
  ],
423
482
  colors: {
483
+ ...tektronixWhitespaceColors,
424
484
  'editor.foreground': '#33ff33',
425
485
  'editor.background': '#0a0f0a',
426
486
  'editorCursor.foreground': '#33ff33',
@@ -504,6 +564,7 @@ function generateDeadTektronixTheme() {
504
564
  },
505
565
  ],
506
566
  colors: {
567
+ ...deadTektronixWhitespaceColors,
507
568
  'editor.foreground': '#1a4a1a',
508
569
  'editor.background': '#0a0f0a',
509
570
  'editorCursor.foreground': '#1a661a',
@@ -842,6 +903,20 @@ let SpecEditor = class SpecEditor extends LitElement {
842
903
  this.currentEditorTheme = getInitialTheme();
843
904
  // monkey patch the monaco API to drop monaco-yaml's link providers
844
905
  const origReg = monaco.languages.registerLinkProvider.bind(monaco.languages);
906
+ const origCodeActionReg = monaco.languages.registerCodeActionProvider.bind(monaco.languages);
907
+ const origHoverReg = monaco.languages.registerHoverProvider.bind(monaco.languages);
908
+ const isYamlLanguage = (language) => {
909
+ if (language === 'yaml') {
910
+ return true;
911
+ }
912
+ if (Array.isArray(language)) {
913
+ return language.includes('yaml');
914
+ }
915
+ if (typeof language === 'object' && language?.language === 'yaml') {
916
+ return true;
917
+ }
918
+ return false;
919
+ };
845
920
  monaco.languages.registerLinkProvider = (language, provider) => {
846
921
  const code = provider.provideLinks.toString();
847
922
  // drop *both* of monaco‑yaml's providers by matching on the workerManager call:
@@ -854,14 +929,27 @@ let SpecEditor = class SpecEditor extends LitElement {
854
929
  }
855
930
  return origReg(language, provider);
856
931
  };
857
- this.monacoYaml = configureMonacoYaml(monaco, {
858
- enableSchemaRequest: false,
859
- hover: true,
860
- completion: true,
861
- validate: true,
862
- format: true,
863
- schemas: [] // start empty
864
- });
932
+ monaco.languages.registerCodeActionProvider = (language, provider, metadata) => {
933
+ // monaco-yaml quick fixes do not apply to Doctor rules and can leave marker hovers waiting.
934
+ if (isYamlLanguage(language)) {
935
+ return {
936
+ dispose() {
937
+ }
938
+ };
939
+ }
940
+ return origCodeActionReg(language, provider, metadata);
941
+ };
942
+ monaco.languages.registerHoverProvider = (language, provider) => {
943
+ // Doctor owns marker and reference hovers. monaco-yaml schema hovers can stay pending in marker popovers.
944
+ if (isYamlLanguage(language)) {
945
+ return {
946
+ dispose() {
947
+ }
948
+ };
949
+ }
950
+ return origHoverReg(language, provider);
951
+ };
952
+ this.monacoYaml = getSharedMonacoYaml();
865
953
  setupMonaco();
866
954
  const initialTheme = getActiveTheme(this.isActive, this.currentEditorTheme);
867
955
  monaco.editor.setTheme(initialTheme);
@@ -875,7 +963,10 @@ let SpecEditor = class SpecEditor extends LitElement {
875
963
  const modifiedValue = this.diffValue || '';
876
964
  this.originalModel = monaco.editor.createModel(originalValue, "yaml", originalUri);
877
965
  this.modifiedModel = monaco.editor.createModel(modifiedValue, "yaml", modifiedUri);
966
+ this.originalModel.updateOptions(yamlModelOptions);
967
+ this.modifiedModel.updateOptions(yamlModelOptions);
878
968
  this.diffEditor = monaco.editor.createDiffEditor(this.container.value, {
969
+ ...yamlEditorWhitespaceOptions,
879
970
  theme: getActiveTheme(this.isActive, this.currentEditorTheme),
880
971
  readOnly: true, // Both sides read-only in diff mode
881
972
  automaticLayout: true,
@@ -905,7 +996,10 @@ let SpecEditor = class SpecEditor extends LitElement {
905
996
  const uri = monaco.Uri.parse("inmemory://doc-" + this.id + '.yaml');
906
997
  const value = this.getCode();
907
998
  this.model = monaco.editor.createModel(value, "yaml", uri);
999
+ this.model.updateOptions(yamlModelOptions);
908
1000
  this.editor = monaco.editor.create(this.container.value, {
1001
+ ...yamlEditorWhitespaceOptions,
1002
+ ...yamlEditorIndentationOptions,
909
1003
  model: this.model,
910
1004
  language: 'yaml',
911
1005
  theme: getActiveTheme(this.isActive, this.currentEditorTheme),
@@ -928,6 +1022,8 @@ let SpecEditor = class SpecEditor extends LitElement {
928
1022
  }
929
1023
  // restore the original API so nothing else is affected
930
1024
  monaco.languages.registerLinkProvider = origReg;
1025
+ monaco.languages.registerCodeActionProvider = origCodeActionReg;
1026
+ monaco.languages.registerHoverProvider = origHoverReg;
931
1027
  this.linkProvider = monaco.languages.registerLinkProvider('yaml', { provideLinks: this.provideLinks.bind(this) });
932
1028
  monaco.editor.registerLinkOpener({ open: this.open.bind(this) });
933
1029
  // monaco.languages.registerCodeActionProvider("yaml", {
@@ -133,6 +133,16 @@ export default css `
133
133
  line-height: 22px;
134
134
  margin-top: 0;
135
135
  }
136
+
137
+ sl-button.diagram-button sl-spinner {
138
+ font-size: 0.75rem;
139
+ --indicator-color: var(--warn-color);
140
+ --track-color: transparent;
141
+ }
142
+
143
+ sl-button.diagram-button:hover sl-spinner {
144
+ --indicator-color: var(--background-color);
145
+ }
136
146
 
137
147
 
138
148
  .vacuum-results {
@@ -24,6 +24,7 @@ import '../model-icon/model-icon.js';
24
24
  import '@shoelace-style/shoelace/dist/components/tooltip/tooltip.js';
25
25
  import '@shoelace-style/shoelace/dist/components/button/button.js';
26
26
  import '@shoelace-style/shoelace/dist/components/icon/icon.js';
27
+ import '@shoelace-style/shoelace/dist/components/spinner/spinner.js';
27
28
  import { TemplateResult } from "lit";
28
29
  import './rendered-property.js';
29
30
  import { Node, VacuumResult } from "../../model/graph.js";
@@ -33,6 +34,7 @@ export declare class RenderedNodeComponent extends HasExamples {
33
34
  static styles: import("lit").CSSResult[];
34
35
  node: Node | null;
35
36
  violationMap: Map<string, VacuumResult>;
37
+ private diagramLoading;
36
38
  renderProblems: boolean;
37
39
  constructor();
38
40
  activatePovMode(): void;