@cline/cli-windows-arm64 3.0.73 → 3.0.74

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 (142) hide show
  1. package/bin/cline.exe +2 -2
  2. package/package.json +1 -1
  3. package/cline-hub/webview/32x32.png +0 -0
  4. package/cline-hub/webview/assets/Chat-BhcO3lxR.js +0 -342
  5. package/cline-hub/webview/assets/abnfDiagram-N423BO3Z-CA3n4CVB.js +0 -1
  6. package/cline-hub/webview/assets/arc-3UKfLtkz.js +0 -1
  7. package/cline-hub/webview/assets/architectureDiagram-T3A2C74G-BGNrlwUL.js +0 -36
  8. package/cline-hub/webview/assets/array-BifhSqXX.js +0 -1
  9. package/cline-hub/webview/assets/badge-X4W3Q0cc.js +0 -1
  10. package/cline-hub/webview/assets/bash-B7CDPTg5.js +0 -1
  11. package/cline-hub/webview/assets/blockDiagram-VBNYF7ZC-CvIo5nET.js +0 -132
  12. package/cline-hub/webview/assets/bundle-mjs-CyB9GzWm.js +0 -1
  13. package/cline-hub/webview/assets/c4Diagram-5PPSVZJV-B91Sv2Na.js +0 -10
  14. package/cline-hub/webview/assets/channel-Cn9dB4WD.js +0 -1
  15. package/cline-hub/webview/assets/chunk-2GRJ4B5K-u4MGLwtv.js +0 -1
  16. package/cline-hub/webview/assets/chunk-2Q5K7J3B-C1jixKkw.js +0 -1
  17. package/cline-hub/webview/assets/chunk-4I5QYGJK-0RNwvBrV.js +0 -1
  18. package/cline-hub/webview/assets/chunk-5RXB4S5H-BHjkdRhh.js +0 -231
  19. package/cline-hub/webview/assets/chunk-5VM5RSS4-ZNzvKenW.js +0 -15
  20. package/cline-hub/webview/assets/chunk-6Q2QTUOP-CLgL8rxg.js +0 -88
  21. package/cline-hub/webview/assets/chunk-7BUUIJ7U-Bb538aSH.js +0 -1
  22. package/cline-hub/webview/assets/chunk-7Z6QIM7H-C6_Ywz3w.js +0 -10
  23. package/cline-hub/webview/assets/chunk-GF5L2VYU-iIVxDVKm.js +0 -206
  24. package/cline-hub/webview/assets/chunk-I66GZJ75-DXqP3B91.js +0 -126
  25. package/cline-hub/webview/assets/chunk-JQJVKLGR-CmK9TOTe.js +0 -156
  26. package/cline-hub/webview/assets/chunk-JWPE2WC7-DVXcaiue.js +0 -1
  27. package/cline-hub/webview/assets/chunk-KBJHAD2P-L-89C026.js +0 -1
  28. package/cline-hub/webview/assets/chunk-NSK5VX7P-D5026Kzu.js +0 -2
  29. package/cline-hub/webview/assets/chunk-QR6OTTB3-DgKOIk7B.js +0 -62
  30. package/cline-hub/webview/assets/chunk-RYQCIY6F-BUc8VYLJ.js +0 -1
  31. package/cline-hub/webview/assets/chunk-UBXNYLIW-DzzRI8B_.js +0 -1
  32. package/cline-hub/webview/assets/chunk-W5SLKNZC-jIqX_Eb5.js +0 -1
  33. package/cline-hub/webview/assets/chunk-WRU74C26-BSENSjFs.js +0 -70
  34. package/cline-hub/webview/assets/chunk-XXDRQBXY-DR-hrsFH.js +0 -1
  35. package/cline-hub/webview/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +0 -1
  36. package/cline-hub/webview/assets/classDiagram-JCYQIIEL-BMEETwfQ.js +0 -1
  37. package/cline-hub/webview/assets/classDiagram-v2-OCEON4UE-BMEETwfQ.js +0 -1
  38. package/cline-hub/webview/assets/cose-bilkent-JH36ORCC-DFv1GHTs.js +0 -1
  39. package/cline-hub/webview/assets/css-BsVw1vtW.js +0 -1
  40. package/cline-hub/webview/assets/cynefinDiagram-MW4NZA55-CIoeFR2b.js +0 -62
  41. package/cline-hub/webview/assets/dagre-VZM6K2ZE-CXd9m4cA.js +0 -4
  42. package/cline-hub/webview/assets/defaultLocale-BFoDCU3G.js +0 -1
  43. package/cline-hub/webview/assets/diagram-7IWD3JNH-CgiYOAGC.js +0 -30
  44. package/cline-hub/webview/assets/diagram-B4RE2ZJO-i1LZz3qn.js +0 -3
  45. package/cline-hub/webview/assets/diagram-LBJQPF4R-GOvZ7wow.js +0 -24
  46. package/cline-hub/webview/assets/diagram-Q27KOJAE-C-x1hqFU.js +0 -24
  47. package/cline-hub/webview/assets/diagram-UB23O5K3-Ds1emBxU.js +0 -41
  48. package/cline-hub/webview/assets/diff-woXpYk--.js +0 -1
  49. package/cline-hub/webview/assets/dist-BDCdLWk4.js +0 -1
  50. package/cline-hub/webview/assets/ebnfDiagram-BXEA7PRR-Bmu-47tU.js +0 -1
  51. package/cline-hub/webview/assets/erDiagram-JOGREHBK--TO8WYZl.js +0 -85
  52. package/cline-hub/webview/assets/extensions-view-CcwDTH9q.js +0 -1
  53. package/cline-hub/webview/assets/flowDiagram-UKHOOZJN-epuPN-mi.js +0 -1
  54. package/cline-hub/webview/assets/ganttDiagram-PKOTCBZU-BJMCqdx8.js +0 -292
  55. package/cline-hub/webview/assets/geist-mono-cyrillic-ext-wght-normal-X_5orZeX.woff2 +0 -0
  56. package/cline-hub/webview/assets/geist-mono-cyrillic-wght-normal-DiZS0aHC.woff2 +0 -0
  57. package/cline-hub/webview/assets/geist-mono-latin-ext-wght-normal-Bwz-egvJ.woff2 +0 -0
  58. package/cline-hub/webview/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2 +0 -0
  59. package/cline-hub/webview/assets/geist-mono-symbols2-wght-normal-CO5SzqOn.woff2 +0 -0
  60. package/cline-hub/webview/assets/geist-mono-vietnamese-wght-normal-DadHysG0.woff2 +0 -0
  61. package/cline-hub/webview/assets/gitGraphDiagram-DS77QQ5N-CFngxqjY.js +0 -106
  62. package/cline-hub/webview/assets/github-dark-C-LZuMrd.js +0 -1
  63. package/cline-hub/webview/assets/github-light-EUqPIrTm.js +0 -1
  64. package/cline-hub/webview/assets/highlighted-body-KPVGNVTW-D19paMBO.js +0 -1
  65. package/cline-hub/webview/assets/html-BY76lXLH.js +0 -1
  66. package/cline-hub/webview/assets/index-DlpuYMzW.js +0 -10
  67. package/cline-hub/webview/assets/index-hEQUiqGA.css +0 -1
  68. package/cline-hub/webview/assets/infoDiagram-6WML65LV-HYF3E1dT.js +0 -2
  69. package/cline-hub/webview/assets/init-C-OQMol4.js +0 -1
  70. package/cline-hub/webview/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  71. package/cline-hub/webview/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  72. package/cline-hub/webview/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  73. package/cline-hub/webview/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  74. package/cline-hub/webview/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  75. package/cline-hub/webview/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  76. package/cline-hub/webview/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  77. package/cline-hub/webview/assets/ishikawaDiagram-WSZJBQD7-BXMe4UcZ.js +0 -70
  78. package/cline-hub/webview/assets/javascript-BgS3c2Ky.js +0 -1
  79. package/cline-hub/webview/assets/journeyDiagram-NVQOT4AX-CRKFmsae.js +0 -139
  80. package/cline-hub/webview/assets/json-qhed-kSA.js +0 -1
  81. package/cline-hub/webview/assets/jsonc-CYpm1nAK.js +0 -1
  82. package/cline-hub/webview/assets/jsx-Bz0zcwM4.js +0 -1
  83. package/cline-hub/webview/assets/kanban-definition-27J2QSJJ-fGza5kV5.js +0 -89
  84. package/cline-hub/webview/assets/label-DFsbx3OI.js +0 -76
  85. package/cline-hub/webview/assets/line-BImJQVif.js +0 -1
  86. package/cline-hub/webview/assets/linear-CmpaHCv3.js +0 -1
  87. package/cline-hub/webview/assets/markdown-BYOwaDjH.js +0 -1
  88. package/cline-hub/webview/assets/mermaid-HWGCJPDP-C7YHt7l6.js +0 -1
  89. package/cline-hub/webview/assets/mermaid-layout-BadlRzDJ.js +0 -1
  90. package/cline-hub/webview/assets/mermaid-layout-BqskXFQG.js +0 -1
  91. package/cline-hub/webview/assets/mermaid-layout-C40rDmm9.js +0 -1
  92. package/cline-hub/webview/assets/mermaid-layout-CD-JajuE.js +0 -1
  93. package/cline-hub/webview/assets/mermaid-layout-CGd-uY3x.js +0 -321
  94. package/cline-hub/webview/assets/mermaid-markup-D01n6Kcj.js +0 -259
  95. package/cline-hub/webview/assets/mermaid-parser-B74RvNk1.js +0 -3
  96. package/cline-hub/webview/assets/mermaid-parser-ByV-ZOdd.js +0 -1
  97. package/cline-hub/webview/assets/mermaid-parser-C2jETkNP.js +0 -2
  98. package/cline-hub/webview/assets/mermaid-parser-C3SJa12Y.js +0 -1
  99. package/cline-hub/webview/assets/mermaid-parser-CFqrADy2.js +0 -4
  100. package/cline-hub/webview/assets/mermaid-parser-CiEp2wH6.js +0 -1
  101. package/cline-hub/webview/assets/mermaid-parser-DHwB1DNv.js +0 -161
  102. package/cline-hub/webview/assets/mermaid-parser-DgB__rYs.js +0 -1
  103. package/cline-hub/webview/assets/mermaid-parser-HclGiUj8.js +0 -1
  104. package/cline-hub/webview/assets/mermaid.core-CNhdxt2h.js +0 -42
  105. package/cline-hub/webview/assets/mindmap-definition-FAOFIHXS-CSIdPH6Q.js +0 -96
  106. package/cline-hub/webview/assets/ordinal-BDEzSJ7C.js +0 -1
  107. package/cline-hub/webview/assets/path-fybaL0A-.js +0 -1
  108. package/cline-hub/webview/assets/pegDiagram-VL7TDLO6-C6mMcz9U.js +0 -1
  109. package/cline-hub/webview/assets/pieDiagram-7S7Q4E2Y-_Em6O_U1.js +0 -39
  110. package/cline-hub/webview/assets/python-gzcpVVnB.js +0 -1
  111. package/cline-hub/webview/assets/quadrantDiagram-CIZ2JOQS-DAUZ-M5i.js +0 -7
  112. package/cline-hub/webview/assets/railroadDiagram-AXF67PYL-D-nONgIY.js +0 -1
  113. package/cline-hub/webview/assets/requirementDiagram-LRYGKXZP--TyKFbQR.js +0 -84
  114. package/cline-hub/webview/assets/rolldown-runtime-B0Z9INg1.js +0 -1
  115. package/cline-hub/webview/assets/rough.esm-Dy-Kn_BL.js +0 -1
  116. package/cline-hub/webview/assets/sankeyDiagram-W5VNT64P-D_L0wHGo.js +0 -40
  117. package/cline-hub/webview/assets/sequenceDiagram-SI44F4Z6-DQZqzwJM.js +0 -162
  118. package/cline-hub/webview/assets/settings-view-DEIwhwkV.js +0 -1
  119. package/cline-hub/webview/assets/shellscript-CLZ0U2zV.js +0 -1
  120. package/cline-hub/webview/assets/sizeCapture-X5ZJPWSS-B0uUizjq.js +0 -1
  121. package/cline-hub/webview/assets/src-BY_WSiz7.js +0 -1
  122. package/cline-hub/webview/assets/stateDiagram-OKZ733FA-CRrKMpks.js +0 -1
  123. package/cline-hub/webview/assets/stateDiagram-v2-UEYNNEHI-gzRtUcKB.js +0 -1
  124. package/cline-hub/webview/assets/swimlanes-SLNWSIFB-z7E3j6mU.js +0 -2
  125. package/cline-hub/webview/assets/swimlanesDiagram-ULZ7WXOC-eylwAnWt.js +0 -8
  126. package/cline-hub/webview/assets/switch-DrjcFF6_.js +0 -1
  127. package/cline-hub/webview/assets/timeline-definition-Z64GVDOM-s7-rEymV.js +0 -120
  128. package/cline-hub/webview/assets/tsx-udAQXfEw.js +0 -1
  129. package/cline-hub/webview/assets/typescript-bsJCZSQ-.js +0 -1
  130. package/cline-hub/webview/assets/vennDiagram-T6HMQDX7-HuTwN2dY.js +0 -34
  131. package/cline-hub/webview/assets/vscode-CFosRdBr.js +0 -1
  132. package/cline-hub/webview/assets/wardleyDiagram-T6FBY63Y-BG9WRwXn.js +0 -78
  133. package/cline-hub/webview/assets/xychartDiagram-ELKLHX3M-C0kPny3I.js +0 -7
  134. package/cline-hub/webview/assets/yaml-rwi0_p6S.js +0 -1
  135. package/cline-hub/webview/assets/zap-BF3XOCN3.js +0 -1
  136. package/cline-hub/webview/cline-logo-filled.svg +0 -5
  137. package/cline-hub/webview/favicon.svg +0 -6
  138. package/cline-hub/webview/icon.ico +0 -0
  139. package/cline-hub/webview/icon.png +0 -0
  140. package/cline-hub/webview/icon.svg +0 -5
  141. package/cline-hub/webview/index.html +0 -18
  142. package/extensions/plugin-sandbox-bootstrap.js +0 -570
@@ -1 +0,0 @@
1
- import{C as e,S as t,i as n,o as r,p as i,t as a,u as o,w as s,x as c}from"./mermaid-parser-DHwB1DNv.js";var l=class extends a{static{c(this,`RadarTokenBuilder`)}constructor(){super([`radar-beta`])}},u={parser:{TokenBuilder:c(()=>new l,`TokenBuilder`),ValueConverter:c(()=>new n,`ValueConverter`)}};function d(n=r){let a=s(e(n),o),c=s(t({shared:a}),i,u);return a.ServiceRegistry.register(c),{shared:a,Radar:c}}c(d,`createRadarServices`);export{d as t};
@@ -1 +0,0 @@
1
- var e=function(e,t){return new URL(e,t).href},t={},n=function(n,r,i){let a=Promise.resolve();if(r&&r.length>0){let n=document.getElementsByTagName(`link`),o=document.querySelector(`meta[property=csp-nonce]`),s=o?.nonce||o?.getAttribute(`nonce`);function c(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function l(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}a=c(r.map(r=>{if(r=e(r,i),r=l(r),r in t)return;t[r]=!0;let a=r.endsWith(`.css`);for(let e=n.length-1;e>=0;e--){let t=n[e];if(t.href===r&&(!a||t.rel===`stylesheet`))return}let o=document.createElement(`link`);if(o.rel=a?`stylesheet`:`modulepreload`,a||(o.as=`script`),o.crossOrigin=``,o.href=r,s&&o.setAttribute(`nonce`,s),document.head.appendChild(o),a)return new Promise((e,t)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>t(Error(`Unable to preload CSS for ${r}`)))})}))}function o(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return a.then(e=>{for(let t of e||[])t.status===`rejected`&&o(t.reason);return n().catch(o)})};export{n as t};
@@ -1,42 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./dagre-VZM6K2ZE-CXd9m4cA.js","./chunk-Y2CYZVJY-DsF7k-Jl.js","./src-BY_WSiz7.js","./rolldown-runtime-B0Z9INg1.js","./chunk-I66GZJ75-DXqP3B91.js","./mermaid-parser-HclGiUj8.js","./mermaid-markup-D01n6Kcj.js","./chunk-NSK5VX7P-D5026Kzu.js","./dist-BDCdLWk4.js","./chunk-4I5QYGJK-0RNwvBrV.js","./chunk-WRU74C26-BSENSjFs.js","./mermaid-layout-BadlRzDJ.js","./mermaid-layout-C40rDmm9.js","./chunk-7BUUIJ7U-Bb538aSH.js","./chunk-UBXNYLIW-DzzRI8B_.js","./chunk-W5SLKNZC-jIqX_Eb5.js","./chunk-QR6OTTB3-DgKOIk7B.js","./rough.esm-Dy-Kn_BL.js","./chunk-7Z6QIM7H-C6_Ywz3w.js","./line-BImJQVif.js","./path-fybaL0A-.js","./array-BifhSqXX.js","./chunk-RYQCIY6F-BUc8VYLJ.js","./swimlanes-SLNWSIFB-z7E3j6mU.js","./cose-bilkent-JH36ORCC-DFv1GHTs.js","./mermaid-layout-CGd-uY3x.js","./mermaid-layout-CD-JajuE.js","./mermaid-layout-BqskXFQG.js","./c4Diagram-5PPSVZJV-B91Sv2Na.js","./chunk-2GRJ4B5K-u4MGLwtv.js","./flowDiagram-UKHOOZJN-epuPN-mi.js","./chunk-XXDRQBXY-DR-hrsFH.js","./chunk-KBJHAD2P-L-89C026.js","./chunk-JQJVKLGR-CmK9TOTe.js","./channel-Cn9dB4WD.js","./chunk-5VM5RSS4-ZNzvKenW.js","./swimlanesDiagram-ULZ7WXOC-eylwAnWt.js","./erDiagram-JOGREHBK--TO8WYZl.js","./gitGraphDiagram-DS77QQ5N-CFngxqjY.js","./chunk-JWPE2WC7-DVXcaiue.js","./mermaid-parser-CFqrADy2.js","./mermaid-parser-DHwB1DNv.js","./mermaid-parser-B74RvNk1.js","./mermaid-parser-C2jETkNP.js","./mermaid-parser-DgB__rYs.js","./chunk-2Q5K7J3B-C1jixKkw.js","./ganttDiagram-PKOTCBZU-BJMCqdx8.js","./linear-CmpaHCv3.js","./defaultLocale-BFoDCU3G.js","./init-C-OQMol4.js","./infoDiagram-6WML65LV-HYF3E1dT.js","./pieDiagram-7S7Q4E2Y-_Em6O_U1.js","./ordinal-BDEzSJ7C.js","./arc-3UKfLtkz.js","./quadrantDiagram-CIZ2JOQS-DAUZ-M5i.js","./xychartDiagram-ELKLHX3M-C0kPny3I.js","./requirementDiagram-LRYGKXZP--TyKFbQR.js","./sequenceDiagram-SI44F4Z6-DQZqzwJM.js","./classDiagram-JCYQIIEL-BMEETwfQ.js","./chunk-GF5L2VYU-iIVxDVKm.js","./classDiagram-v2-OCEON4UE-BMEETwfQ.js","./stateDiagram-OKZ733FA-CRrKMpks.js","./chunk-5RXB4S5H-BHjkdRhh.js","./stateDiagram-v2-UEYNNEHI-gzRtUcKB.js","./journeyDiagram-NVQOT4AX-CRKFmsae.js","./timeline-definition-Z64GVDOM-s7-rEymV.js","./mindmap-definition-FAOFIHXS-CSIdPH6Q.js","./kanban-definition-27J2QSJJ-fGza5kV5.js","./sankeyDiagram-W5VNT64P-D_L0wHGo.js","./diagram-LBJQPF4R-GOvZ7wow.js","./diagram-UB23O5K3-Ds1emBxU.js","./blockDiagram-VBNYF7ZC-CvIo5nET.js","./diagram-7IWD3JNH-CgiYOAGC.js","./architectureDiagram-T3A2C74G-BGNrlwUL.js","./diagram-B4RE2ZJO-i1LZz3qn.js","./ishikawaDiagram-WSZJBQD7-BXMe4UcZ.js","./vennDiagram-T6HMQDX7-HuTwN2dY.js","./diagram-Q27KOJAE-C-x1hqFU.js","./wardleyDiagram-T6FBY63Y-BG9WRwXn.js","./cynefinDiagram-MW4NZA55-CIoeFR2b.js","./railroadDiagram-AXF67PYL-D-nONgIY.js","./chunk-6Q2QTUOP-CLgL8rxg.js","./ebnfDiagram-BXEA7PRR-Bmu-47tU.js","./abnfDiagram-N423BO3Z-CA3n4CVB.js","./pegDiagram-VL7TDLO6-C6mMcz9U.js"])))=>i.map(i=>d[i]);
2
- import{r as e}from"./rolldown-runtime-B0Z9INg1.js";import{t}from"./mermaid-parser-HclGiUj8.js";import{t as n}from"./mermaid-markup-D01n6Kcj.js";import{n as r}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{h as i,m as a,p as o}from"./src-BY_WSiz7.js";import{C as s,E as c,I as l,L as u,N as d,P as f,Q as p,S as m,T as h,V as g,W as _,X as v,Z as y,_ as b,b as x,c as S,g as C,l as w,m as ee,n as te,p as ne,q as re,r as ie,s as ae,t as oe,u as se,x as T}from"./chunk-I66GZJ75-DXqP3B91.js";import{S as ce,a as le,d as ue,f as de,g as fe,h as pe,i as me,o as he,v as ge,x as _e,y as ve}from"./chunk-NSK5VX7P-D5026Kzu.js";import{r as ye}from"./chunk-4I5QYGJK-0RNwvBrV.js";import{r as be}from"./chunk-WRU74C26-BSENSjFs.js";import"./chunk-7BUUIJ7U-Bb538aSH.js";import"./chunk-UBXNYLIW-DzzRI8B_.js";import"./chunk-W5SLKNZC-jIqX_Eb5.js";import{a as xe,i as Se,s as Ce}from"./chunk-QR6OTTB3-DgKOIk7B.js";import{a as we,i as Te,o as Ee,r as De}from"./chunk-7Z6QIM7H-C6_Ywz3w.js";var Oe=r(e=>{let{securityLevel:t}=T(),n=o(`body`);if(t===`sandbox`){let t=o(`#i${e}`).node()?.contentDocument??document;n=o(t.body)}return n.select(`#${e}`)},`selectSvgElement`);function ke(e){let t=e?.constructor;return e===(typeof t==`function`?t.prototype:Object.prototype)}function Ae(e){if(e==null)return!0;if(_e(e))return typeof e.splice!=`function`&&typeof e!=`string`&&!ce(e)&&!ge(e)&&!ve(e)?!1:e.length===0;if(typeof e==`object`||typeof e==`function`){if(e instanceof Map||e instanceof Set)return e.size===0;let t=Object.keys(e);return ke(e)?t.filter(e=>e!==`constructor`).length===0:t.length===0}return!0}var je={common:ae,getConfig:x,insertCluster:Se,insertEdge:De,insertEdgeLabel:Te,insertMarkers:we,insertNode:xe,interpolateToCurve:ue,labelHelper:Ce,log:a,positionEdgeLabel:Ee},Me={},Ne=r(e=>{for(let t of e)Me[t.name]=t},`registerLayoutLoaders`);r(()=>{Ne([{name:`dagre`,loader:r(async()=>await t(()=>import(`./dagre-VZM6K2ZE-CXd9m4cA.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url),`loader`)},{name:`swimlane`,loader:r(async()=>await t(()=>import(`./swimlanes-SLNWSIFB-z7E3j6mU.js`),__vite__mapDeps([23,5,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url),`loader`)},{name:`cose-bilkent`,loader:r(async()=>await t(()=>import(`./cose-bilkent-JH36ORCC-DFv1GHTs.js`),__vite__mapDeps([24,3,1,2,25,26,27,11,12]),import.meta.url),`loader`)}])},`registerDefaultLayoutLoaders`)();var Pe=r(async(e,t,n)=>{if(!(e.layoutAlgorithm in Me))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let r=Me[e.layoutAlgorithm],i=await r.loader(),{theme:a,themeVariables:o}=e.config,{useGradient:s,gradientStart:c,gradientStop:l}=o,u=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),s){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,c).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,l).attr(`stop-opacity`,1)}return i.render(e,t,je,{algorithm:r.algorithm},n)},`render`),Fe=r((e=``,{fallback:t=`dagre`}={})=>{if(e in Me)return e;if(t in Me)return a.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},`getRegisteredLayoutAlgorithm`);function Ie(e){return e==null}r(Ie,`isNothing`);function Le(e){return typeof e==`object`&&!!e}r(Le,`isObject`);function Re(e){return Array.isArray(e)?e:Ie(e)?[]:[e]}r(Re,`toArray`);function ze(e,t){var n,r,i,a;if(t)for(a=Object.keys(t),n=0,r=a.length;n<r;n+=1)i=a[n],e[i]=t[i];return e}r(ze,`extend`);function Be(e,t){var n=``,r;for(r=0;r<t;r+=1)n+=e;return n}r(Be,`repeat`);function Ve(e){return e===0&&1/e==-1/0}r(Ve,`isNegativeZero`);var E={isNothing:Ie,isObject:Le,toArray:Re,repeat:Be,isNegativeZero:Ve,extend:ze};function He(e,t){var n=``,r=e.reason||`(unknown reason)`;return e.mark?(e.mark.name&&(n+=`in "`+e.mark.name+`" `),n+=`(`+(e.mark.line+1)+`:`+(e.mark.column+1)+`)`,!t&&e.mark.snippet&&(n+=`
3
-
4
- `+e.mark.snippet),r+` `+n):r}r(He,`formatError`);function Ue(e,t){Error.call(this),this.name=`YAMLException`,this.reason=e,this.mark=t,this.message=He(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||``}r(Ue,`YAMLException$1`),Ue.prototype=Object.create(Error.prototype),Ue.prototype.constructor=Ue,Ue.prototype.toString=r(function(e){return this.name+`: `+He(this,e)},`toString`);var D=Ue;function We(e,t,n,r,i){var a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}r(We,`getLine`);function Ge(e,t){return E.repeat(` `,t-e.length)+e}r(Ge,`padStart`);function Ke(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!=`number`&&(t.indent=1),typeof t.linesBefore!=`number`&&(t.linesBefore=3),typeof t.linesAfter!=`number`&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],a,o=-1;a=n.exec(e.buffer);)i.push(a.index),r.push(a.index+a[0].length),e.position<=a.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s=``,c,l,u=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+u+3);for(c=1;c<=t.linesBefore&&!(o-c<0);c++)l=We(e.buffer,r[o-c],i[o-c],e.position-(r[o]-r[o-c]),d),s=E.repeat(` `,t.indent)+Ge((e.line-c+1).toString(),u)+` | `+l.str+`
5
- `+s;for(l=We(e.buffer,r[o],i[o],e.position,d),s+=E.repeat(` `,t.indent)+Ge((e.line+1).toString(),u)+` | `+l.str+`
6
- `,s+=E.repeat(`-`,t.indent+u+3+l.pos)+`^
7
- `,c=1;c<=t.linesAfter&&!(o+c>=i.length);c++)l=We(e.buffer,r[o+c],i[o+c],e.position-(r[o]-r[o+c]),d),s+=E.repeat(` `,t.indent)+Ge((e.line+c+1).toString(),u)+` | `+l.str+`
8
- `;return s.replace(/\n$/,``)}r(Ke,`makeSnippet`);var qe=Ke,Je=[`kind`,`multi`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`representName`,`defaultStyle`,`styleAliases`],Ye=[`scalar`,`sequence`,`mapping`];function Xe(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}r(Xe,`compileStyleAliases`);function Ze(e,t){if(t||={},Object.keys(t).forEach(function(t){if(Je.indexOf(t)===-1)throw new D(`Unknown option "`+t+`" is met in definition of "`+e+`" YAML type.`)}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=Xe(t.styleAliases||null),Ye.indexOf(this.kind)===-1)throw new D(`Unknown kind "`+this.kind+`" is specified for "`+e+`" YAML type.`)}r(Ze,`Type$1`);var O=Ze;function Qe(e,t){var n=[];return e[t].forEach(function(e){var t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}r(Qe,`compileList`);function $e(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function i(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(r(i,`collectType`),t=0,n=arguments.length;t<n;t+=1)arguments[t].forEach(i);return e}r($e,`compileMap`);function et(e){return this.extend(e)}r(et,`Schema$1`),et.prototype.extend=r(function(e){var t=[],n=[];if(e instanceof O)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new D(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);t.forEach(function(e){if(!(e instanceof O))throw new D(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);if(e.loadKind&&e.loadKind!==`scalar`)throw new D(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);if(e.multi)throw new D(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`)}),n.forEach(function(e){if(!(e instanceof O))throw new D(`Specified list of YAML types (or a single Type object) contains a non-Type object.`)});var r=Object.create(et.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=Qe(r,`implicit`),r.compiledExplicit=Qe(r,`explicit`),r.compiledTypeMap=$e(r.compiledImplicit,r.compiledExplicit),r},`extend`);var tt=new et({explicit:[new O(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:r(function(e){return e===null?``:e},`construct`)}),new O(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:r(function(e){return e===null?[]:e},`construct`)}),new O(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:r(function(e){return e===null?{}:e},`construct`)})]});function nt(e){if(e===null)return!0;var t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}r(nt,`resolveYamlNull`);function rt(){return null}r(rt,`constructYamlNull`);function it(e){return e===null}r(it,`isNull`);var at=new O(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:nt,construct:rt,predicate:it,represent:{canonical:r(function(){return`~`},`canonical`),lowercase:r(function(){return`null`},`lowercase`),uppercase:r(function(){return`NULL`},`uppercase`),camelcase:r(function(){return`Null`},`camelcase`),empty:r(function(){return``},`empty`)},defaultStyle:`lowercase`});function ot(e){if(e===null)return!1;var t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}r(ot,`resolveYamlBoolean`);function st(e){return e===`true`||e===`True`||e===`TRUE`}r(st,`constructYamlBoolean`);function ct(e){return Object.prototype.toString.call(e)===`[object Boolean]`}r(ct,`isBoolean`);var lt=new O(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:ot,construct:st,predicate:ct,represent:{lowercase:r(function(e){return e?`true`:`false`},`lowercase`),uppercase:r(function(e){return e?`TRUE`:`FALSE`},`uppercase`),camelcase:r(function(e){return e?`True`:`False`},`camelcase`)},defaultStyle:`lowercase`});function ut(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}r(ut,`isHexCode`);function dt(e){return 48<=e&&e<=55}r(dt,`isOctCode`);function ft(e){return 48<=e&&e<=57}r(ft,`isDecCode`);function pt(e){if(e===null)return!1;var t=e.length,n=0,r=!1,i;if(!t)return!1;if(i=e[n],(i===`-`||i===`+`)&&(i=e[++n]),i===`0`){if(n+1===t)return!0;if(i=e[++n],i===`b`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(i!==`0`&&i!==`1`)return!1;r=!0}return r&&i!==`_`}if(i===`x`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(!ut(e.charCodeAt(n)))return!1;r=!0}return r&&i!==`_`}if(i===`o`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(!dt(e.charCodeAt(n)))return!1;r=!0}return r&&i!==`_`}}if(i===`_`)return!1;for(;n<t;n++)if(i=e[n],i!==`_`){if(!ft(e.charCodeAt(n)))return!1;r=!0}return!(!r||i===`_`)}r(pt,`resolveYamlInteger`);function mt(e){var t=e,n=1,r;if(t.indexOf(`_`)!==-1&&(t=t.replace(/_/g,``)),r=t[0],(r===`-`||r===`+`)&&(r===`-`&&(n=-1),t=t.slice(1),r=t[0]),t===`0`)return 0;if(r===`0`){if(t[1]===`b`)return n*parseInt(t.slice(2),2);if(t[1]===`x`)return n*parseInt(t.slice(2),16);if(t[1]===`o`)return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}r(mt,`constructYamlInteger`);function ht(e){return Object.prototype.toString.call(e)===`[object Number]`&&e%1==0&&!E.isNegativeZero(e)}r(ht,`isInteger`);var gt=new O(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:pt,construct:mt,predicate:ht,represent:{binary:r(function(e){return e>=0?`0b`+e.toString(2):`-0b`+e.toString(2).slice(1)},`binary`),octal:r(function(e){return e>=0?`0o`+e.toString(8):`-0o`+e.toString(8).slice(1)},`octal`),decimal:r(function(e){return e.toString(10)},`decimal`),hexadecimal:r(function(e){return e>=0?`0x`+e.toString(16).toUpperCase():`-0x`+e.toString(16).toUpperCase().slice(1)},`hexadecimal`)},defaultStyle:`decimal`,styleAliases:{binary:[2,`bin`],octal:[8,`oct`],decimal:[10,`dec`],hexadecimal:[16,`hex`]}}),_t=RegExp(`^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function vt(e){return!(e===null||!_t.test(e)||e[e.length-1]===`_`)}r(vt,`resolveYamlFloat`);function yt(e){var t=e.replace(/_/g,``).toLowerCase(),n=t[0]===`-`?-1:1;return`+-`.indexOf(t[0])>=0&&(t=t.slice(1)),t===`.inf`?n===1?1/0:-1/0:t===`.nan`?NaN:n*parseFloat(t,10)}r(yt,`constructYamlFloat`);var bt=/^[-+]?[0-9]+e/;function xt(e,t){var n;if(isNaN(e))switch(t){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(e===1/0)switch(t){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(e===-1/0)switch(t){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(E.isNegativeZero(e))return`-0.0`;return n=e.toString(10),bt.test(n)?n.replace(`e`,`.e`):n}r(xt,`representYamlFloat`);function St(e){return Object.prototype.toString.call(e)===`[object Number]`&&(e%1!=0||E.isNegativeZero(e))}r(St,`isFloat`);var Ct=new O(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:vt,construct:yt,predicate:St,represent:xt,defaultStyle:`lowercase`}),wt=tt.extend({implicit:[at,lt,gt,Ct]}),Tt=wt,Et=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),Dt=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function Ot(e){return e===null?!1:Et.exec(e)!==null||Dt.exec(e)!==null}r(Ot,`resolveYamlTimestamp`);function kt(e){var t,n,r,i,a,o,s,c=0,l=null,u,d,f;if(t=Et.exec(e),t===null&&(t=Dt.exec(e)),t===null)throw Error(`Date resolve error`);if(n=+t[1],r=t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+=`0`;c=+c}return t[9]&&(u=+t[10],d=+(t[11]||0),l=(u*60+d)*6e4,t[9]===`-`&&(l=-l)),f=new Date(Date.UTC(n,r,i,a,o,s,c)),l&&f.setTime(f.getTime()-l),f}r(kt,`constructYamlTimestamp`);function At(e){return e.toISOString()}r(At,`representYamlTimestamp`);var jt=new O(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:Ot,construct:kt,instanceOf:Date,represent:At});function Mt(e){return e===`<<`||e===null}r(Mt,`resolveYamlMerge`);var Nt=new O(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:Mt}),Pt=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
9
- \r`;function Ft(e){if(e===null)return!1;var t,n,r=0,i=e.length,a=Pt;for(n=0;n<i;n++)if(t=a.indexOf(e.charAt(n)),!(t>64)){if(t<0)return!1;r+=6}return r%8==0}r(Ft,`resolveYamlBinary`);function It(e){var t,n,r=e.replace(/[\r\n=]/g,``),i=r.length,a=Pt,o=0,s=[];for(t=0;t<i;t++)t%4==0&&t&&(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)),o=o<<6|a.indexOf(r.charAt(t));return n=i%4*6,n===0?(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)):n===18?(s.push(o>>10&255),s.push(o>>2&255)):n===12&&s.push(o>>4&255),new Uint8Array(s)}r(It,`constructYamlBinary`);function Lt(e){var t=``,n=0,r,i,a=e.length,o=Pt;for(r=0;r<a;r++)r%3==0&&r&&(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]),n=(n<<8)+e[r];return i=a%3,i===0?(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]):i===2?(t+=o[n>>10&63],t+=o[n>>4&63],t+=o[n<<2&63],t+=o[64]):i===1&&(t+=o[n>>2&63],t+=o[n<<4&63],t+=o[64],t+=o[64]),t}r(Lt,`representYamlBinary`);function Rt(e){return Object.prototype.toString.call(e)===`[object Uint8Array]`}r(Rt,`isBinary`);var zt=new O(`tag:yaml.org,2002:binary`,{kind:`scalar`,resolve:Ft,construct:It,predicate:Rt,represent:Lt}),Bt=Object.prototype.hasOwnProperty,Vt=Object.prototype.toString;function Ht(e){if(e===null)return!0;var t=[],n,r,i,a,o,s=e;for(n=0,r=s.length;n<r;n+=1){if(i=s[n],o=!1,Vt.call(i)!==`[object Object]`)return!1;for(a in i)if(Bt.call(i,a)){if(!o)o=!0;else return!1}if(!o)return!1;if(t.indexOf(a)===-1)t.push(a);else return!1}return!0}r(Ht,`resolveYamlOmap`);function Ut(e){return e===null?[]:e}r(Ut,`constructYamlOmap`);var Wt=new O(`tag:yaml.org,2002:omap`,{kind:`sequence`,resolve:Ht,construct:Ut}),Gt=Object.prototype.toString;function Kt(e){if(e===null)return!0;var t,n,r,i,a,o=e;for(a=Array(o.length),t=0,n=o.length;t<n;t+=1){if(r=o[t],Gt.call(r)!==`[object Object]`||(i=Object.keys(r),i.length!==1))return!1;a[t]=[i[0],r[i[0]]]}return!0}r(Kt,`resolveYamlPairs`);function qt(e){if(e===null)return[];var t,n,r,i,a,o=e;for(a=Array(o.length),t=0,n=o.length;t<n;t+=1)r=o[t],i=Object.keys(r),a[t]=[i[0],r[i[0]]];return a}r(qt,`constructYamlPairs`);var Jt=new O(`tag:yaml.org,2002:pairs`,{kind:`sequence`,resolve:Kt,construct:qt}),Yt=Object.prototype.hasOwnProperty;function Xt(e){if(e===null)return!0;var t,n=e;for(t in n)if(Yt.call(n,t)&&n[t]!==null)return!1;return!0}r(Xt,`resolveYamlSet`);function Zt(e){return e===null?{}:e}r(Zt,`constructYamlSet`);var Qt=new O(`tag:yaml.org,2002:set`,{kind:`mapping`,resolve:Xt,construct:Zt}),$t=Tt.extend({implicit:[jt,Nt],explicit:[zt,Wt,Jt,Qt]}),k=Object.prototype.hasOwnProperty,en=1,tn=2,nn=3,rn=4,an=1,on=2,sn=3,cn=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ln=/[\x85\u2028\u2029]/,un=/[,\[\]\{\}]/,dn=/^(?:!|!!|![a-z\-]+!)$/i,fn=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function pn(e){return Object.prototype.toString.call(e)}r(pn,`_class`);function A(e){return e===10||e===13}r(A,`is_EOL`);function j(e){return e===9||e===32}r(j,`is_WHITE_SPACE`);function M(e){return e===9||e===32||e===10||e===13}r(M,`is_WS_OR_EOL`);function N(e){return e===44||e===91||e===93||e===123||e===125}r(N,`is_FLOW_INDICATOR`);function mn(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}r(mn,`fromHexCode`);function hn(e){return e===120?2:e===117?4:e===85?8:0}r(hn,`escapedHexLen`);function gn(e){return 48<=e&&e<=57?e-48:-1}r(gn,`fromDecimalCode`);function _n(e){return e===48?`\0`:e===97?`\x07`:e===98?`\b`:e===116||e===9?` `:e===110?`
10
- `:e===118?`\v`:e===102?`\f`:e===114?`\r`:e===101?`\x1B`:e===32?` `:e===34?`"`:e===47?`/`:e===92?`\\`:e===78?`…`:e===95?`\xA0`:e===76?`\u2028`:e===80?`\u2029`:``}r(_n,`simpleEscapeSequence`);function vn(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}r(vn,`charFromCodepoint`);function yn(e,t,n){t===`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}r(yn,`setProperty`);var bn=Array(256),xn=Array(256);for(P=0;P<256;P++)bn[P]=+!!_n(P),xn[P]=_n(P);var P;function Sn(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||$t,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}r(Sn,`State$1`);function Cn(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=qe(n),new D(t,n)}r(Cn,`generateError`);function F(e,t){throw Cn(e,t)}r(F,`throwError`);function wn(e,t){e.onWarning&&e.onWarning.call(null,Cn(e,t))}r(wn,`throwWarning`);var Tn={YAML:r(function(e,t,n){var r,i,a;e.version!==null&&F(e,`duplication of %YAML directive`),n.length!==1&&F(e,`YAML directive accepts exactly one argument`),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),r===null&&F(e,`ill-formed argument of the YAML directive`),i=parseInt(r[1],10),a=parseInt(r[2],10),i!==1&&F(e,`unacceptable YAML version of the document`),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&wn(e,`unsupported YAML version of the document`)},`handleYamlDirective`),TAG:r(function(e,t,n){var r,i;n.length!==2&&F(e,`TAG directive accepts exactly two arguments`),r=n[0],i=n[1],dn.test(r)||F(e,`ill-formed tag handle (first argument) of the TAG directive`),k.call(e.tagMap,r)&&F(e,`there is a previously declared suffix for "`+r+`" tag handle`),fn.test(i)||F(e,`ill-formed tag prefix (second argument) of the TAG directive`);try{i=decodeURIComponent(i)}catch{F(e,`tag prefix is malformed: `+i)}e.tagMap[r]=i},`handleTagDirective`)};function I(e,t,n,r){var i,a,o,s;if(t<n){if(s=e.input.slice(t,n),r)for(i=0,a=s.length;i<a;i+=1)o=s.charCodeAt(i),o===9||32<=o&&o<=1114111||F(e,`expected valid JSON character`);else cn.test(s)&&F(e,`the stream contains non-printable characters`);e.result+=s}}r(I,`captureSegment`);function En(e,t,n,r){var i,a,o,s;for(E.isObject(n)||F(e,`cannot merge mappings; the provided source object is unacceptable`),i=Object.keys(n),o=0,s=i.length;o<s;o+=1)a=i[o],k.call(t,a)||(yn(t,a,n[a]),r[a]=!0)}r(En,`mergeMappings`);function L(e,t,n,r,i,a,o,s,c){var l,u;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),l=0,u=i.length;l<u;l+=1)Array.isArray(i[l])&&F(e,`nested arrays are not supported inside keys`),typeof i==`object`&&pn(i[l])===`[object Object]`&&(i[l]=`[object Object]`);if(typeof i==`object`&&pn(i)===`[object Object]`&&(i=`[object Object]`),i=String(i),t===null&&(t={}),r===`tag:yaml.org,2002:merge`){if(Array.isArray(a))for(l=0,u=a.length;l<u;l+=1)En(e,t,a[l],n);else En(e,t,a,n)}else!e.json&&!k.call(n,i)&&k.call(t,i)&&(e.line=o||e.line,e.lineStart=s||e.lineStart,e.position=c||e.position,F(e,`duplicated mapping key`)),yn(t,i,a),delete n[i];return t}r(L,`storeMappingPair`);function Dn(e){var t=e.input.charCodeAt(e.position);t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):F(e,`a line break is expected`),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}r(Dn,`readLineBreak`);function R(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);i!==0;){for(;j(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(A(i))for(Dn(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return n!==-1&&r!==0&&e.lineIndent<n&&wn(e,`deficient indentation`),r}r(R,`skipSeparationSpace`);function On(e){var t=e.position,n=e.input.charCodeAt(t);return!!((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,n=e.input.charCodeAt(t),n===0||M(n)))}r(On,`testDocumentSeparator`);function kn(e,t){t===1?e.result+=` `:t>1&&(e.result+=E.repeat(`
11
- `,t-1))}r(kn,`writeFoldedLines`);function An(e,t,n){var r,i,a,o,s,c,l,u,d=e.kind,f=e.result,p=e.input.charCodeAt(e.position);if(M(p)||N(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(i=e.input.charCodeAt(e.position+1),M(i)||n&&N(i)))return!1;for(e.kind=`scalar`,e.result=``,a=o=e.position,s=!1;p!==0;){if(p===58){if(i=e.input.charCodeAt(e.position+1),M(i)||n&&N(i))break}else if(p===35){if(r=e.input.charCodeAt(e.position-1),M(r))break}else if(e.position===e.lineStart&&On(e)||n&&N(p))break;else if(A(p)){if(c=e.line,l=e.lineStart,u=e.lineIndent,R(e,!1,-1),e.lineIndent>=t){s=!0,p=e.input.charCodeAt(e.position);continue}e.position=o,e.line=c,e.lineStart=l,e.lineIndent=u;break}s&&=(I(e,a,o,!1),kn(e,e.line-c),a=o=e.position,!1),j(p)||(o=e.position+1),p=e.input.charCodeAt(++e.position)}return I(e,a,o,!1),e.result?!0:(e.kind=d,e.result=f,!1)}r(An,`readPlainScalar`);function jn(e,t){var n=e.input.charCodeAt(e.position),r,i;if(n!==39)return!1;for(e.kind=`scalar`,e.result=``,e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39){if(I(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0}else A(n)?(I(e,r,i,!0),kn(e,R(e,!1,t)),r=i=e.position):e.position===e.lineStart&&On(e)?F(e,`unexpected end of the document within a single quoted scalar`):(e.position++,i=e.position);F(e,`unexpected end of the stream within a single quoted scalar`)}r(jn,`readSingleQuotedScalar`);function Mn(e,t){var n,r,i,a,o,s=e.input.charCodeAt(e.position);if(s!==34)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;)if(s===34)return I(e,n,e.position,!0),e.position++,!0;else if(s===92){if(I(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),A(s))R(e,!1,t);else if(s<256&&bn[s])e.result+=xn[s],e.position++;else if((o=hn(s))>0){for(i=o,a=0;i>0;i--)s=e.input.charCodeAt(++e.position),(o=mn(s))>=0?a=(a<<4)+o:F(e,`expected hexadecimal character`);e.result+=vn(a),e.position++}else F(e,`unknown escape sequence`);n=r=e.position}else A(s)?(I(e,n,r,!0),kn(e,R(e,!1,t)),n=r=e.position):e.position===e.lineStart&&On(e)?F(e,`unexpected end of the document within a double quoted scalar`):(e.position++,r=e.position);F(e,`unexpected end of the stream within a double quoted scalar`)}r(Mn,`readDoubleQuotedScalar`);function Nn(e,t){var n=!0,r,i,a,o=e.tag,s,c=e.anchor,l,u,d,f,p,m=Object.create(null),h,g,_,v=e.input.charCodeAt(e.position);if(v===91)u=93,p=!1,s=[];else if(v===123)u=125,p=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),v=e.input.charCodeAt(++e.position);v!==0;){if(R(e,!0,t),v=e.input.charCodeAt(e.position),v===u)return e.position++,e.tag=o,e.anchor=c,e.kind=p?`mapping`:`sequence`,e.result=s,!0;n?v===44&&F(e,`expected the node content, but found ','`):F(e,`missed comma between flow collection entries`),g=h=_=null,d=f=!1,v===63&&(l=e.input.charCodeAt(e.position+1),M(l)&&(d=f=!0,e.position++,R(e,!0,t))),r=e.line,i=e.lineStart,a=e.position,z(e,t,en,!1,!0),g=e.tag,h=e.result,R(e,!0,t),v=e.input.charCodeAt(e.position),(f||e.line===r)&&v===58&&(d=!0,v=e.input.charCodeAt(++e.position),R(e,!0,t),z(e,t,en,!1,!0),_=e.result),p?L(e,s,m,g,h,_,r,i,a):d?s.push(L(e,null,m,g,h,_,r,i,a)):s.push(h),R(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}F(e,`unexpected end of the stream within a flow collection`)}r(Nn,`readFlowCollection`);function Pn(e,t){var n,r,i=an,a=!1,o=!1,s=t,c=0,l=!1,u,d=e.input.charCodeAt(e.position);if(d===124)r=!1;else if(d===62)r=!0;else return!1;for(e.kind=`scalar`,e.result=``;d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)an===i?i=d===43?sn:on:F(e,`repeat of a chomping mode identifier`);else if((u=gn(d))>=0)u===0?F(e,`bad explicit indentation width of a block scalar; it cannot be less than one`):o?F(e,`repeat of an indentation width identifier`):(s=t+u-1,o=!0);else break;if(j(d)){do d=e.input.charCodeAt(++e.position);while(j(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!A(d)&&d!==0)}for(;d!==0;){for(Dn(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!o||e.lineIndent<s)&&d===32;)e.lineIndent++,d=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>s&&(s=e.lineIndent),A(d)){c++;continue}if(e.lineIndent<s){i===sn?e.result+=E.repeat(`
12
- `,a?1+c:c):i===an&&a&&(e.result+=`
13
- `);break}for(r?j(d)?(l=!0,e.result+=E.repeat(`
14
- `,a?1+c:c)):l?(l=!1,e.result+=E.repeat(`
15
- `,c+1)):c===0?a&&(e.result+=` `):e.result+=E.repeat(`
16
- `,c):e.result+=E.repeat(`
17
- `,a?1+c:c),a=!0,o=!0,c=0,n=e.position;!A(d)&&d!==0;)d=e.input.charCodeAt(++e.position);I(e,n,e.position,!1)}return!0}r(Pn,`readBlockScalar`);function Fn(e,t){var n,r=e.tag,i=e.anchor,a=[],o,s=!1,c;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),c=e.input.charCodeAt(e.position);c!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,F(e,`tab characters must not be used in indentation`)),!(c!==45||(o=e.input.charCodeAt(e.position+1),!M(o))));){if(s=!0,e.position++,R(e,!0,-1)&&e.lineIndent<=t){a.push(null),c=e.input.charCodeAt(e.position);continue}if(n=e.line,z(e,t,nn,!1,!0),a.push(e.result),R(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&c!==0)F(e,`bad indentation of a sequence entry`);else if(e.lineIndent<t)break}return s?(e.tag=r,e.anchor=i,e.kind=`sequence`,e.result=a,!0):!1}r(Fn,`readBlockSequence`);function In(e,t,n){var r,i,a,o,s,c,l=e.tag,u=e.anchor,d={},f=Object.create(null),p=null,m=null,h=null,g=!1,_=!1,v;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=d),v=e.input.charCodeAt(e.position);v!==0;){if(!g&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,F(e,`tab characters must not be used in indentation`)),r=e.input.charCodeAt(e.position+1),a=e.line,(v===63||v===58)&&M(r))v===63?(g&&(L(e,d,f,p,m,null,o,s,c),p=m=h=null),_=!0,g=!0,i=!0):g?(g=!1,i=!0):F(e,`incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`),e.position+=1,v=r;else{if(o=e.line,s=e.lineStart,c=e.position,!z(e,n,tn,!1,!0))break;if(e.line===a){for(v=e.input.charCodeAt(e.position);j(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),M(v)||F(e,`a whitespace character is expected after the key-value separator within a block mapping`),g&&(L(e,d,f,p,m,null,o,s,c),p=m=h=null),_=!0,g=!1,i=!1,p=e.tag,m=e.result;else if(_)F(e,`can not read an implicit mapping pair; a colon is missed`);else return e.tag=l,e.anchor=u,!0}else if(_)F(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return e.tag=l,e.anchor=u,!0}if((e.line===a||e.lineIndent>t)&&(g&&(o=e.line,s=e.lineStart,c=e.position),z(e,t,rn,!0,i)&&(g?m=e.result:h=e.result),g||(L(e,d,f,p,m,h,o,s,c),p=m=h=null),R(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&v!==0)F(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return g&&L(e,d,f,p,m,null,o,s,c),_&&(e.tag=l,e.anchor=u,e.kind=`mapping`,e.result=d),_}r(In,`readBlockMapping`);function Ln(e){var t,n=!1,r=!1,i,a,o=e.input.charCodeAt(e.position);if(o!==33)return!1;if(e.tag!==null&&F(e,`duplication of a tag property`),o=e.input.charCodeAt(++e.position),o===60?(n=!0,o=e.input.charCodeAt(++e.position)):o===33?(r=!0,i=`!!`,o=e.input.charCodeAt(++e.position)):i=`!`,t=e.position,n){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):F(e,`unexpected end of the stream within a verbatim tag`)}else{for(;o!==0&&!M(o);)o===33&&(r?F(e,`tag suffix cannot contain exclamation marks`):(i=e.input.slice(t-1,e.position+1),dn.test(i)||F(e,`named tag handle cannot contain such characters`),r=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(t,e.position),un.test(a)&&F(e,`tag suffix cannot contain flow indicator characters`)}a&&!fn.test(a)&&F(e,`tag name cannot contain such characters: `+a);try{a=decodeURIComponent(a)}catch{F(e,`tag name is malformed: `+a)}return n?e.tag=a:k.call(e.tagMap,i)?e.tag=e.tagMap[i]+a:i===`!`?e.tag=`!`+a:i===`!!`?e.tag=`tag:yaml.org,2002:`+a:F(e,`undeclared tag handle "`+i+`"`),!0}r(Ln,`readTagProperty`);function Rn(e){var t,n=e.input.charCodeAt(e.position);if(n!==38)return!1;for(e.anchor!==null&&F(e,`duplication of an anchor property`),n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!M(n)&&!N(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&F(e,`name of an anchor node must contain at least one character`),e.anchor=e.input.slice(t,e.position),!0}r(Rn,`readAnchorProperty`);function zn(e){var t,n,r=e.input.charCodeAt(e.position);if(r!==42)return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!M(r)&&!N(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&F(e,`name of an alias node must contain at least one character`),n=e.input.slice(t,e.position),k.call(e.anchorMap,n)||F(e,`unidentified alias "`+n+`"`),e.result=e.anchorMap[n],R(e,!0,-1),!0}r(zn,`readAlias`);function z(e,t,n,r,i){var a,o,s,c=1,l=!1,u=!1,d,f,p,m,h,g;if(e.listener!==null&&e.listener(`open`,e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=s=rn===n||nn===n,r&&R(e,!0,-1)&&(l=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;Ln(e)||Rn(e);)R(e,!0,-1)?(l=!0,s=a,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):s=!1;if(s&&=l||i,(c===1||rn===n)&&(h=en===n||tn===n?t:t+1,g=e.position-e.lineStart,c===1?s&&(Fn(e,g)||In(e,g,h))||Nn(e,h)?u=!0:(o&&Pn(e,h)||jn(e,h)||Mn(e,h)?u=!0:zn(e)?(u=!0,(e.tag!==null||e.anchor!==null)&&F(e,`alias node should not have any properties`)):An(e,h,en===n)&&(u=!0,e.tag===null&&(e.tag=`?`)),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):c===0&&(u=s&&Fn(e,g))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag===`?`){for(e.result!==null&&e.kind!==`scalar`&&F(e,`unacceptable node kind for !<?> tag; it should be "scalar", not "`+e.kind+`"`),d=0,f=e.implicitTypes.length;d<f;d+=1)if(m=e.implicitTypes[d],m.resolve(e.result)){e.result=m.construct(e.result),e.tag=m.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!==`!`){if(k.call(e.typeMap[e.kind||`fallback`],e.tag))m=e.typeMap[e.kind||`fallback`][e.tag];else for(m=null,p=e.typeMap.multi[e.kind||`fallback`],d=0,f=p.length;d<f;d+=1)if(e.tag.slice(0,p[d].tag.length)===p[d].tag){m=p[d];break}m||F(e,`unknown tag !<`+e.tag+`>`),e.result!==null&&m.kind!==e.kind&&F(e,`unacceptable node kind for !<`+e.tag+`> tag; it should be "`+m.kind+`", not "`+e.kind+`"`),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):F(e,`cannot resolve a node with !<`+e.tag+`> explicit tag`)}return e.listener!==null&&e.listener(`close`,e),e.tag!==null||e.anchor!==null||u}r(z,`composeNode`);function Bn(e){var t=e.position,n,r,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(R(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!M(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&F(e,`directive name must not be less than one character in length`);o!==0;){for(;j(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!A(o));break}if(A(o))break;for(n=e.position;o!==0&&!M(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&Dn(e),k.call(Tn,r)?Tn[r](e,r,i):wn(e,`unknown document directive "`+r+`"`)}if(R(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,R(e,!0,-1)):a&&F(e,`directives end mark is expected`),z(e,e.lineIndent-1,rn,!1,!0),R(e,!0,-1),e.checkLineBreaks&&ln.test(e.input.slice(t,e.position))&&wn(e,`non-ASCII line breaks are interpreted as content`),e.documents.push(e.result),e.position===e.lineStart&&On(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,R(e,!0,-1));return}if(e.position<e.length-1)F(e,`end of the stream or a document separator is expected`);else return}r(Bn,`readDocument`);function Vn(e,t){e=String(e),t||={},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
18
- `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var n=new Sn(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,F(n,`null byte is not allowed in input`)),n.input+=`\0`;n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)Bn(n);return n.documents}r(Vn,`loadDocuments`);function Hn(e,t,n){typeof t==`object`&&t&&n===void 0&&(n=t,t=null);var r=Vn(e,n);if(typeof t!=`function`)return r;for(var i=0,a=r.length;i<a;i+=1)t(r[i])}r(Hn,`loadAll$1`);function Un(e,t){var n=Vn(e,t);if(n.length!==0){if(n.length===1)return n[0];throw new D(`expected a single document in the stream, but found more`)}}r(Un,`load$1`);var Wn={loadAll:Hn,load:Un},Gn=Object.prototype.toString,Kn=Object.prototype.hasOwnProperty,qn=65279,Jn=9,Yn=10,Xn=13,Zn=32,Qn=33,$n=34,er=35,tr=37,nr=38,rr=39,ir=42,ar=44,or=45,sr=58,cr=61,lr=62,ur=63,dr=64,fr=91,pr=93,mr=96,hr=123,gr=124,_r=125,B={};B[0]=`\\0`,B[7]=`\\a`,B[8]=`\\b`,B[9]=`\\t`,B[10]=`\\n`,B[11]=`\\v`,B[12]=`\\f`,B[13]=`\\r`,B[27]=`\\e`,B[34]=`\\"`,B[92]=`\\\\`,B[133]=`\\N`,B[160]=`\\_`,B[8232]=`\\L`,B[8233]=`\\P`;var vr=[`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],yr=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function br(e,t){var n,r,i,a,o,s,c;if(t===null)return{};for(n={},r=Object.keys(t),i=0,a=r.length;i<a;i+=1)o=r[i],s=String(t[o]),o.slice(0,2)===`!!`&&(o=`tag:yaml.org,2002:`+o.slice(2)),c=e.compiledTypeMap.fallback[o],c&&Kn.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[o]=s;return n}r(br,`compileStyleMap`);function xr(e){var t=e.toString(16).toUpperCase(),n,r;if(e<=255)n=`x`,r=2;else if(e<=65535)n=`u`,r=4;else if(e<=4294967295)n=`U`,r=8;else throw new D(`code point within a string may not be greater than 0xFFFFFFFF`);return`\\`+n+E.repeat(`0`,r-t.length)+t}r(xr,`encodeHex`);var Sr=1,Cr=2;function wr(e){this.schema=e.schema||$t,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=E.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=br(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType===`"`?Cr:Sr,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer==`function`?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result=``,this.duplicates=[],this.usedDuplicates=null}r(wr,`State`);function Tr(e,t){for(var n=E.repeat(` `,t),r=0,i=-1,a=``,o,s=e.length;r<s;)i=e.indexOf(`
19
- `,r),i===-1?(o=e.slice(r),r=s):(o=e.slice(r,i+1),r=i+1),o.length&&o!==`
20
- `&&(a+=n),a+=o;return a}r(Tr,`indentString`);function Er(e,t){return`
21
- `+E.repeat(` `,e.indent*t)}r(Er,`generateNextLine`);function Dr(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(i=e.implicitTypes[n],i.resolve(t))return!0;return!1}r(Dr,`testImplicitResolving`);function Or(e){return e===Zn||e===Jn}r(Or,`isWhitespace`);function V(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==qn||65536<=e&&e<=1114111}r(V,`isPrintable`);function kr(e){return V(e)&&e!==qn&&e!==Xn&&e!==Yn}r(kr,`isNsCharOrWhitespace`);function Ar(e,t,n){var r=kr(e),i=r&&!Or(e);return(n?r:r&&e!==ar&&e!==fr&&e!==pr&&e!==hr&&e!==_r)&&e!==er&&!(t===sr&&!i)||kr(t)&&!Or(t)&&e===er||t===sr&&i}r(Ar,`isPlainSafe`);function jr(e){return V(e)&&e!==qn&&!Or(e)&&e!==or&&e!==ur&&e!==sr&&e!==ar&&e!==fr&&e!==pr&&e!==hr&&e!==_r&&e!==er&&e!==nr&&e!==ir&&e!==Qn&&e!==gr&&e!==cr&&e!==lr&&e!==rr&&e!==$n&&e!==tr&&e!==dr&&e!==mr}r(jr,`isPlainSafeFirst`);function Mr(e){return!Or(e)&&e!==sr}r(Mr,`isPlainSafeLast`);function H(e,t){var n=e.charCodeAt(t),r;return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}r(H,`codePointAt`);function Nr(e){return/^\n* /.test(e)}r(Nr,`needIndentIndicator`);var Pr=1,Fr=2,Ir=3,Lr=4,U=5;function Rr(e,t,n,r,i,a,o,s){var c,l=0,u=null,d=!1,f=!1,p=r!==-1,m=-1,h=jr(H(e,0))&&Mr(H(e,e.length-1));if(t||o)for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=H(e,c),!V(l))return U;h&&=Ar(l,u,s),u=l}else{for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=H(e,c),l===Yn)d=!0,p&&(f||=c-m-1>r&&e[m+1]!==` `,m=c);else if(!V(l))return U;h&&=Ar(l,u,s),u=l}f||=p&&c-m-1>r&&e[m+1]!==` `}return!d&&!f?h&&!o&&!i(e)?Pr:a===Cr?U:Fr:n>9&&Nr(e)?U:o?a===Cr?U:Fr:f?Lr:Ir}r(Rr,`chooseScalarStyle`);function zr(e,t,n,i,a){e.dump=(function(){if(t.length===0)return e.quotingType===Cr?`""`:`''`;if(!e.noCompatMode&&(vr.indexOf(t)!==-1||yr.test(t)))return e.quotingType===Cr?`"`+t+`"`:`'`+t+`'`;var o=e.indent*Math.max(1,n),s=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),c=i||e.flowLevel>-1&&n>=e.flowLevel;function l(t){return Dr(e,t)}switch(r(l,`testAmbiguity`),Rr(t,c,e.indent,s,l,e.quotingType,e.forceQuotes&&!i,a)){case Pr:return t;case Fr:return`'`+t.replace(/'/g,`''`)+`'`;case Ir:return`|`+Br(t,e.indent)+Vr(Tr(t,o));case Lr:return`>`+Br(t,e.indent)+Vr(Tr(Hr(t,s),o));case U:return`"`+Wr(t)+`"`;default:throw new D(`impossible error: invalid scalar style`)}})()}r(zr,`writeScalar`);function Br(e,t){var n=Nr(e)?String(t):``,r=e[e.length-1]===`
22
- `;return n+(r&&(e[e.length-2]===`
23
- `||e===`
24
- `)?`+`:r?``:`-`)+`
25
- `}r(Br,`blockHeader`);function Vr(e){return e[e.length-1]===`
26
- `?e.slice(0,-1):e}r(Vr,`dropEndingNewline`);function Hr(e,t){for(var n=/(\n+)([^\n]*)/g,r=(function(){var r=e.indexOf(`
27
- `);return r=r===-1?e.length:r,n.lastIndex=r,Ur(e.slice(0,r),t)})(),i=e[0]===`
28
- `||e[0]===` `,a,o;o=n.exec(e);){var s=o[1],c=o[2];a=c[0]===` `,r+=s+(!i&&!a&&c!==``?`
29
- `:``)+Ur(c,t),i=a}return r}r(Hr,`foldString`);function Ur(e,t){if(e===``||e[0]===` `)return e;for(var n=/ [^ ]/g,r,i=0,a,o=0,s=0,c=``;r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,c+=`
30
- `+e.slice(i,a),i=a+1),o=s;return c+=`
31
- `,e.length-i>t&&o>i?c+=e.slice(i,o)+`
32
- `+e.slice(o+1):c+=e.slice(i),c.slice(1)}r(Ur,`foldLine`);function Wr(e){for(var t=``,n=0,r,i=0;i<e.length;n>=65536?i+=2:i++)n=H(e,i),r=B[n],!r&&V(n)?(t+=e[i],n>=65536&&(t+=e[i+1])):t+=r||xr(n);return t}r(Wr,`escapeString`);function Gr(e,t,n){var r=``,i=e.tag,a,o,s;for(a=0,o=n.length;a<o;a+=1)s=n[a],e.replacer&&(s=e.replacer.call(n,String(a),s)),(W(e,t,s,!1,!1)||s===void 0&&W(e,t,null,!1,!1))&&(r!==``&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump);e.tag=i,e.dump=`[`+r+`]`}r(Gr,`writeFlowSequence`);function Kr(e,t,n,r){var i=``,a=e.tag,o,s,c;for(o=0,s=n.length;o<s;o+=1)c=n[o],e.replacer&&(c=e.replacer.call(n,String(o),c)),(W(e,t+1,c,!0,!0,!1,!0)||c===void 0&&W(e,t+1,null,!0,!0,!1,!0))&&((!r||i!==``)&&(i+=Er(e,t)),e.dump&&Yn===e.dump.charCodeAt(0)?i+=`-`:i+=`- `,i+=e.dump);e.tag=a,e.dump=i||`[]`}r(Kr,`writeBlockSequence`);function qr(e,t,n){var r=``,i=e.tag,a=Object.keys(n),o,s,c,l,u;for(o=0,s=a.length;o<s;o+=1)u=``,r!==``&&(u+=`, `),e.condenseFlow&&(u+=`"`),c=a[o],l=n[c],e.replacer&&(l=e.replacer.call(n,c,l)),W(e,t,c,!1,!1)&&(e.dump.length>1024&&(u+=`? `),u+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),W(e,t,l,!1,!1)&&(u+=e.dump,r+=u));e.tag=i,e.dump=`{`+r+`}`}r(qr,`writeFlowMapping`);function Jr(e,t,n,r){var i=``,a=e.tag,o=Object.keys(n),s,c,l,u,d,f;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys==`function`)o.sort(e.sortKeys);else if(e.sortKeys)throw new D(`sortKeys must be a boolean or a function`);for(s=0,c=o.length;s<c;s+=1)f=``,(!r||i!==``)&&(f+=Er(e,t)),l=o[s],u=n[l],e.replacer&&(u=e.replacer.call(n,l,u)),W(e,t+1,l,!0,!0,!0)&&(d=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024,d&&(e.dump&&Yn===e.dump.charCodeAt(0)?f+=`?`:f+=`? `),f+=e.dump,d&&(f+=Er(e,t)),W(e,t+1,u,!0,d)&&(e.dump&&Yn===e.dump.charCodeAt(0)?f+=`:`:f+=`: `,f+=e.dump,i+=f));e.tag=a,e.dump=i||`{}`}r(Jr,`writeBlockMapping`);function Yr(e,t,n){var r,i=n?e.explicitTypes:e.implicitTypes,a,o,s,c;for(a=0,o=i.length;a<o;a+=1)if(s=i[a],(s.instanceOf||s.predicate)&&(!s.instanceOf||typeof t==`object`&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(e.tag=n?s.multi&&s.representName?s.representName(t):s.tag:`?`,s.represent){if(c=e.styleMap[s.tag]||s.defaultStyle,Gn.call(s.represent)===`[object Function]`)r=s.represent(t,c);else if(Kn.call(s.represent,c))r=s.represent[c](t,c);else throw new D(`!<`+s.tag+`> tag resolver accepts not "`+c+`" style`);e.dump=r}return!0}return!1}r(Yr,`detectType`);function W(e,t,n,r,i,a,o){e.tag=null,e.dump=n,Yr(e,n,!1)||Yr(e,n,!0);var s=Gn.call(e.dump),c=r,l;r&&=e.flowLevel<0||e.flowLevel>t;var u=s===`[object Object]`||s===`[object Array]`,d,f;if(u&&(d=e.duplicates.indexOf(n),f=d!==-1),(e.tag!==null&&e.tag!==`?`||f||e.indent!==2&&t>0)&&(i=!1),f&&e.usedDuplicates[d])e.dump=`*ref_`+d;else{if(u&&f&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),s===`[object Object]`)r&&Object.keys(e.dump).length!==0?(Jr(e,t,e.dump,i),f&&(e.dump=`&ref_`+d+e.dump)):(qr(e,t,e.dump),f&&(e.dump=`&ref_`+d+` `+e.dump));else if(s===`[object Array]`)r&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?Kr(e,t-1,e.dump,i):Kr(e,t,e.dump,i),f&&(e.dump=`&ref_`+d+e.dump)):(Gr(e,t,e.dump),f&&(e.dump=`&ref_`+d+` `+e.dump));else if(s===`[object String]`)e.tag!==`?`&&zr(e,e.dump,t,a,c);else if(s===`[object Undefined]`)return!1;else{if(e.skipInvalid)return!1;throw new D(`unacceptable kind of an object to dump `+s)}e.tag!==null&&e.tag!==`?`&&(l=encodeURI(e.tag[0]===`!`?e.tag.slice(1):e.tag).replace(/!/g,`%21`),l=e.tag[0]===`!`?`!`+l:l.slice(0,18)===`tag:yaml.org,2002:`?`!!`+l.slice(18):`!<`+l+`>`,e.dump=l+` `+e.dump)}return!0}r(W,`writeNode`);function Xr(e,t){var n=[],r=[],i,a;for(Zr(e,n,r),i=0,a=r.length;i<a;i+=1)t.duplicates.push(n[r[i]]);t.usedDuplicates=Array(a)}r(Xr,`getDuplicateReferences`);function Zr(e,t,n){var r,i,a;if(typeof e==`object`&&e){if(i=t.indexOf(e),i!==-1)n.indexOf(i)===-1&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)Zr(e[i],t,n);else for(r=Object.keys(e),i=0,a=r.length;i<a;i+=1)Zr(e[r[i]],t,n)}}r(Zr,`inspectNode`);function Qr(e,t){t||={};var n=new wr(t);n.noRefs||Xr(e,n);var r=e;return n.replacer&&(r=n.replacer.call({"":r},``,r)),W(n,0,r,!0,!0)?n.dump+`
33
- `:``}r(Qr,`dump$1`);var $r={dump:Qr};function ei(e,t){return function(){throw Error(`Function yaml.`+e+` is removed in js-yaml 4. Use yaml.`+t+` instead, which is now safe by default.`)}}r(ei,`renamed`);var ti=wt,ni=Wn.load;Wn.loadAll,$r.dump;var ri=`comm`,ii=`rule`,ai=`decl`,oi=`@import`,si=`@namespace`,ci=`@keyframes`,li=`@layer`,ui=Math.abs,di=String.fromCharCode;function fi(e){return e.trim()}function pi(e,t,n){return e.replace(t,n)}function G(e,t){return e.charCodeAt(t)|0}function K(e,t,n){return e.slice(t,n)}function q(e){return e.length}function mi(e){return e.length}function hi(e,t){return t.push(e),e}var gi=1,_i=1,vi=0,J=0,Y=0,yi=``;function bi(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:gi,column:_i,length:o,return:``,siblings:s}}function xi(){return Y}function Si(){return Y=J>0?G(yi,--J):0,_i--,Y===10&&(_i=1,gi--),Y}function X(){return Y=J<vi?G(yi,J++):0,_i++,Y===10&&(_i=1,gi++),Y}function Z(){return G(yi,J)}function Ci(){return J}function wi(e,t){return K(yi,e,t)}function Ti(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ei(e){return gi=_i=1,vi=q(yi=e),J=0,[]}function Di(e){return yi=``,e}function Oi(e){return fi(wi(J-1,ji(e===91?e+2:e===40?e+1:e)))}function ki(e){for(;(Y=Z())&&Y<33;)X();return Ti(e)>2||Ti(Y)>3?``:` `}function Ai(e,t){for(;--t&&X()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return wi(e,Ci()+(t<6&&Z()==32&&X()==32))}function ji(e){for(;X();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&ji(Y);break;case 40:e===41&&ji(e);break;case 92:X();break}return J}function Mi(e,t){for(;X()&&e+Y!==57&&(e+Y!==84||Z()!==47););return`/*`+wi(t,J-1)+`*`+di(e===47?e:X())}function Ni(e){for(;!Ti(Z());)X();return wi(e,J)}function Pi(e){return Di(Fi(``,null,null,null,[``],e=Ei(e),0,[0],e))}function Fi(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=0,b=``,x=i,S=a,C=r,w=b;g;)switch(m=y,y=X()){case 40:m!=108&&G(w,d-1)==58?(v++,w+=`(`):w+=Oi(y);break;case 41:v--,w+=`)`;break;case 34:case 39:case 91:w+=Oi(y);break;case 9:case 10:case 13:case 32:if(v>0){w+=di(y);break}w+=ki(m);break;case 92:w+=Ai(Ci()-1,7);continue;case 47:switch(Z()){case 42:case 47:hi(Li(Mi(X(),Ci()),t,n,c),c),(Ti(m||1)==5||Ti(Z()||1)==5)&&q(w)&&K(w,-1,void 0)!==` `&&(w+=` `);break;default:w+=`/`}break;case 123*h:s[l++]=q(w)*_;case 125*h:case 59:case 0:if(v>0&&y){w+=di(y);break}switch(y){case 0:case 125:g=0;case 59+u:_==-1&&(w=pi(w,/\f/g,``)),p>0&&(q(w)-d||h===0)&&hi(p>32?Ri(w+`;`,r,n,d-1,c):Ri(pi(w,` `,``)+`;`,r,n,d-2,c),c);break;case 59:w+=`;`;default:if(hi(C=Ii(w,t,n,l,u,i,s,b,x=[],S=[],d,a),a),y===123){if(u===0)Fi(w,t,C,C,x,a,d,s,S);else{switch(f){case 99:if(G(w,3)===110)break;case 108:if(G(w,2)===97)break;default:u=0;case 100:case 109:case 115:}u?Fi(e,C,C,r&&hi(Ii(e,C,C,0,0,i,s,b,i,x=[],d,S),S),i,S,d,s,r?x:S):Fi(w,C,C,C,[``],S,0,s,S)}}}l=u=p=0,h=_=1,b=w=``,d=o;break;case 58:d=1+q(w),p=m;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&Si()==125)continue}switch(w+=di(y),y*h){case 38:_=u>0?1:(w+=`\f`,-1);break;case 44:if(v>0)break;s[l++]=(q(w)-1)*_,_=1;break;case 64:Z()===45&&(w+=Oi(X())),f=Z(),u=d=q(b=w+=Ni(Ci())),y++;break;case 45:m===45&&q(w)==2&&(h=0)}}return a}function Ii(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=mi(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=K(e,f+1,f=ui(g=o[h])),b=e;v<m;++v)(b=fi(g>0?p[v]+` `+y:pi(y,/&\f/g,p[v])))&&(c[_++]=b);return bi(e,t,n,i===0?ii:s,c,l,u,d)}function Li(e,t,n,r){return bi(e,t,n,ri,di(xi()),K(e,2,-2),0,r)}function Ri(e,t,n,r,i){return bi(e,t,n,ai,K(e,0,r),K(e,r+1,-1),r,i)}function zi(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function Bi(e,t,n,r){switch(e.type){case li:if(e.children.length)break;case oi:case si:case ai:return e.return=e.return||e.value;case ri:return``;case ci:return e.return=e.value+`{`+zi(e.children,r)+`}`;case ii:if(!q(e.value=e.props.join(`,`)))return``}return q(n=zi(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Vi(e){var t=mi(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}var Hi=e({default:()=>bs}),Ui=`c4`,Wi={id:Ui,detector:r(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./c4Diagram-5PPSVZJV-B91Sv2Na.js`);return{diagram:e}},__vite__mapDeps([28,1,2,3,4,5,6,8,7,29]),import.meta.url);return{id:Ui,diagram:e}},`loader`)},Gi=`flowchart`,Ki={id:Gi,detector:r((e,t)=>t?.flowchart?.defaultRenderer===`dagre-wrapper`||t?.flowchart?.defaultRenderer===`elk`?!1:/^\s*graph/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./flowDiagram-UKHOOZJN-epuPN-mi.js`);return{diagram:e}},__vite__mapDeps([30,2,3,1,4,5,6,7,8,9,10,13,14,29,31,32,15,16,17,18,19,20,21,33,34,35]),import.meta.url);return{id:Gi,diagram:e}},`loader`)},qi=`flowchart-v2`,Ji={id:qi,detector:r((e,t)=>t?.flowchart?.defaultRenderer!==`dagre-d3`&&(t?.flowchart?.defaultRenderer===`elk`&&(t.layout=`elk`),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer===`dagre-wrapper`?!0:/^\s*flowchart/.test(e)),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./flowDiagram-UKHOOZJN-epuPN-mi.js`);return{diagram:e}},__vite__mapDeps([30,2,3,1,4,5,6,7,8,9,10,13,14,29,31,32,15,16,17,18,19,20,21,33,34,35]),import.meta.url);return{id:qi,diagram:e}},`loader`)},Yi=`swimlane`,Xi={id:Yi,detector:r(e=>/^\s*swimlane-beta\b/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./swimlanesDiagram-ULZ7WXOC-eylwAnWt.js`);return{diagram:e}},__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,13,14,29,31,32,15,16,17,18,19,20,21,33,34,35]),import.meta.url);return{id:Yi,diagram:e}},`loader`)},Zi=`er`,Qi={id:Zi,detector:r(e=>/^\s*erDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./erDiagram-JOGREHBK--TO8WYZl.js`);return{diagram:e}},__vite__mapDeps([37,1,2,3,4,5,6,34,7,8,9,10,13,14,31,32,15,16,17,18,19,20,21]),import.meta.url);return{id:Zi,diagram:e}},`loader`)},$i=`gitGraph`,ea={id:$i,detector:r(e=>/^\s*gitGraph/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./gitGraphDiagram-DS77QQ5N-CFngxqjY.js`);return{diagram:e}},__vite__mapDeps([38,1,2,3,4,5,6,7,8,39,40,41,42,43,44,45]),import.meta.url);return{id:$i,diagram:e}},`loader`)},ta=`gantt`,na={id:ta,detector:r(e=>/^\s*gantt/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./ganttDiagram-PKOTCBZU-BJMCqdx8.js`);return{diagram:e}},__vite__mapDeps([46,3,1,2,4,5,6,47,48,49,8,7]),import.meta.url);return{id:ta,diagram:e}},`loader`)},ra=`info`,ia={id:ra,detector:r(e=>/^\s*info/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./infoDiagram-6WML65LV-HYF3E1dT.js`);return{diagram:e}},__vite__mapDeps([50,1,2,3,4,5,6,40,41,42,43,44]),import.meta.url);return{id:ra,diagram:e}},`loader`)},aa=`pie`,oa={id:aa,detector:r(e=>/^\s*pie/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./pieDiagram-7S7Q4E2Y-_Em6O_U1.js`);return{diagram:e}},__vite__mapDeps([51,1,2,3,4,5,6,52,49,20,8,53,21,7,39,40,41,42,43,44]),import.meta.url);return{id:aa,diagram:e}},`loader`)},sa=`quadrantChart`,ca={id:sa,detector:r(e=>/^\s*quadrantChart/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./quadrantDiagram-CIZ2JOQS-DAUZ-M5i.js`);return{diagram:e}},__vite__mapDeps([54,1,2,3,4,5,6,47,48,49]),import.meta.url);return{id:sa,diagram:e}},`loader`)},la=`xychart`,ua={id:la,detector:r(e=>/^\s*xychart(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./xychartDiagram-ELKLHX3M-C0kPny3I.js`);return{diagram:e}},__vite__mapDeps([55,1,2,3,4,5,6,47,48,49,52,7,8,19,20,21,9,10]),import.meta.url);return{id:la,diagram:e}},`loader`)},da=`requirement`,fa={id:da,detector:r(e=>/^\s*requirement(Diagram)?/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./requirementDiagram-LRYGKXZP--TyKFbQR.js`);return{diagram:e}},__vite__mapDeps([56,1,2,3,4,5,6,7,8,9,10,13,14,31,32,15,16,17,18,19,20,21]),import.meta.url);return{id:da,diagram:e}},`loader`)},pa=`sequence`,ma={id:pa,detector:r(e=>/^\s*sequenceDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./sequenceDiagram-SI44F4Z6-DQZqzwJM.js`);return{diagram:e}},__vite__mapDeps([57,1,2,3,4,5,6,8,7,29,45]),import.meta.url);return{id:pa,diagram:e}},`loader`)},ha=`class`,ga={id:ha,detector:r((e,t)=>t?.class?.defaultRenderer!==`dagre-wrapper`&&/^\s*classDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./classDiagram-JCYQIIEL-BMEETwfQ.js`);return{diagram:e}},__vite__mapDeps([58,1,2,3,4,5,6,7,8,9,10,13,14,29,31,32,15,16,17,18,19,20,21,59,35]),import.meta.url);return{id:ha,diagram:e}},`loader`)},_a=`classDiagram`,va={id:_a,detector:r((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer===`dagre-wrapper`?!0:/^\s*classDiagram-v2/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./classDiagram-v2-OCEON4UE-BMEETwfQ.js`);return{diagram:e}},__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,10,13,14,29,31,32,15,16,17,18,19,20,21,59,35]),import.meta.url);return{id:_a,diagram:e}},`loader`)},ya=`state`,ba={id:ya,detector:r((e,t)=>t?.state?.defaultRenderer!==`dagre-wrapper`&&/^\s*stateDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./stateDiagram-OKZ733FA-CRrKMpks.js`);return{diagram:e}},__vite__mapDeps([61,1,2,3,4,5,6,7,8,19,20,21,9,10,11,12,13,14,29,31,32,15,16,17,18,62]),import.meta.url);return{id:ya,diagram:e}},`loader`)},xa=`stateDiagram`,Sa={id:xa,detector:r((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer===`dagre-wrapper`),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./stateDiagram-v2-UEYNNEHI-gzRtUcKB.js`);return{diagram:e}},__vite__mapDeps([63,1,2,3,4,5,6,7,8,9,10,13,14,29,31,32,15,16,17,18,19,20,21,62]),import.meta.url);return{id:xa,diagram:e}},`loader`)},Ca=`journey`,wa={id:Ca,detector:r(e=>/^\s*journey/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./journeyDiagram-NVQOT4AX-CRKFmsae.js`);return{diagram:e}},__vite__mapDeps([64,1,2,3,4,5,6,53,20,8,35,29]),import.meta.url);return{id:Ca,diagram:e}},`loader`)},Ta={draw:r((e,t,n)=>{a.debug(`rendering svg for syntax error
34
- `);let r=Oe(t),i=r.append(`g`);r.attr(`viewBox`,`0 0 2412 512`),S(r,100,512,!0),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),i.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),i.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),i.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${n}`)},`draw`)},Ea=Ta,Da={db:{},renderer:Ta,parser:{parse:r(()=>{},`parse`)}},Oa=`flowchart-elk`,ka={id:Oa,detector:r((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer===`elk`?(t.layout=`elk`,!0):!1,`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./flowDiagram-UKHOOZJN-epuPN-mi.js`);return{diagram:e}},__vite__mapDeps([30,2,3,1,4,5,6,7,8,9,10,13,14,29,31,32,15,16,17,18,19,20,21,33,34,35]),import.meta.url);return{id:Oa,diagram:e}},`loader`)},Aa=`timeline`,ja={id:Aa,detector:r(e=>/^\s*timeline/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./timeline-definition-Z64GVDOM-s7-rEymV.js`);return{diagram:e}},__vite__mapDeps([65,1,2,3,4,5,6,53,20,8,7]),import.meta.url);return{id:Aa,diagram:e}},`loader`)},Ma=`mindmap`,Na={id:Ma,detector:r(e=>/^\s*mindmap/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./mindmap-definition-FAOFIHXS-CSIdPH6Q.js`);return{diagram:e}},__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,10,13,14,31,32,15,16,17,18,19,20,21]),import.meta.url);return{id:Ma,diagram:e}},`loader`)},Pa=`kanban`,Fa={id:Pa,detector:r(e=>/^\s*kanban/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./kanban-definition-27J2QSJJ-fGza5kV5.js`);return{diagram:e}},__vite__mapDeps([67,1,2,3,4,5,6,7,8,9,10,35,14,15,16,17]),import.meta.url);return{id:Pa,diagram:e}},`loader`)},Ia=`sankey`,La={id:Ia,detector:r(e=>/^\s*sankey(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./sankeyDiagram-W5VNT64P-D_L0wHGo.js`);return{diagram:e}},__vite__mapDeps([68,1,2,3,4,5,6,52,49]),import.meta.url);return{id:Ia,diagram:e}},`loader`)},Ra=`packet`,za={id:Ra,detector:r(e=>/^\s*packet(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./diagram-LBJQPF4R-GOvZ7wow.js`);return{diagram:e}},__vite__mapDeps([69,1,2,3,4,5,6,7,8,39,40,41,42,43,44]),import.meta.url);return{id:Ra,diagram:e}},`loader`)},Ba=`radar`,Va={id:Ba,detector:r(e=>/^\s*radar-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./diagram-UB23O5K3-Ds1emBxU.js`);return{diagram:e}},__vite__mapDeps([70,1,2,3,4,5,6,7,8,39,40,41,42,43,44]),import.meta.url);return{id:Ba,diagram:e}},`loader`)},Ha=`block`,Ua={id:Ha,detector:r(e=>/^\s*block(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./blockDiagram-VBNYF7ZC-CvIo5nET.js`);return{diagram:e}},__vite__mapDeps([71,1,2,3,4,5,6,34,7,8,19,20,21,9,10,11,12,35,13,14]),import.meta.url);return{id:Ha,diagram:e}},`loader`)},Wa=`treeView`,Ga={id:Wa,detector:r(e=>/^\s*treeView-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./diagram-7IWD3JNH-CgiYOAGC.js`);return{diagram:e}},__vite__mapDeps([72,1,2,3,4,5,6,7,8,39,40,41,42,43,44,9,45]),import.meta.url);return{id:Wa,diagram:e}},`loader`)},Ka=`architecture`,qa={id:Ka,detector:r(e=>/^\s*architecture/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./architectureDiagram-T3A2C74G-BGNrlwUL.js`);return{diagram:e}},__vite__mapDeps([73,3,1,2,4,5,6,7,8,39,40,41,42,43,44,9,10,25,26,27,11,12]),import.meta.url);return{id:Ka,diagram:e}},`loader`)},Ja=`eventmodeling`,Ya={id:Ja,detector:r(e=>/^\s*eventmodeling/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./diagram-B4RE2ZJO-i1LZz3qn.js`);return{diagram:e}},__vite__mapDeps([74,41,1,2,3,4,5,6,7,8,39,40,42,43,44]),import.meta.url);return{id:Ja,diagram:e}},`loader`)},Xa=`ishikawa`,Za={id:Xa,detector:r(e=>/^\s*ishikawa(-beta)?\b/i.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./ishikawaDiagram-WSZJBQD7-BXMe4UcZ.js`);return{diagram:e}},__vite__mapDeps([75,1,2,3,4,5,6,7,8,17]),import.meta.url);return{id:Xa,diagram:e}},`loader`)},Qa=`venn`,$a={id:Qa,detector:r(e=>/^\s*venn-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./vennDiagram-T6HMQDX7-HuTwN2dY.js`);return{diagram:e}},__vite__mapDeps([76,1,2,3,4,5,6,7,8,17]),import.meta.url);return{id:Qa,diagram:e}},`loader`)},eo=`treemap`,to={id:eo,detector:r(e=>/^\s*treemap/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./diagram-Q27KOJAE-C-x1hqFU.js`);return{diagram:e}},__vite__mapDeps([77,1,2,3,4,5,6,52,49,48,7,8,39,40,41,42,43,44,32,15]),import.meta.url);return{id:eo,diagram:e}},`loader`)},no=`wardley`,ro={id:no,detector:r(e=>/^\s*wardley-beta/i.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./wardleyDiagram-T6FBY63Y-BG9WRwXn.js`);return{diagram:e}},__vite__mapDeps([78,1,2,3,4,5,6,7,8,39,40,41,42,43,44]),import.meta.url);return{id:no,diagram:e}},`loader`)},io=`cynefin`,ao={id:io,detector:r(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./cynefinDiagram-MW4NZA55-CIoeFR2b.js`);return{diagram:e}},__vite__mapDeps([79,1,2,3,4,5,6,7,8,39,40,41,42,43,44]),import.meta.url);return{id:io,diagram:e}},`loader`)},oo=`railroad`,so={id:oo,detector:r(e=>/^\s*railroad-beta/i.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./railroadDiagram-AXF67PYL-D-nONgIY.js`);return{diagram:e}},__vite__mapDeps([80,43,41,1,2,3,4,5,6,81,39,40,42,44]),import.meta.url);return{id:oo,diagram:e}},`loader`)},co=`railroadEbnf`,lo={id:co,detector:r(e=>/^\s*railroad-ebnf-beta/i.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./ebnfDiagram-BXEA7PRR-Bmu-47tU.js`);return{diagram:e}},__vite__mapDeps([82,42,41,1,2,3,4,5,6,81,39,40,43,44]),import.meta.url);return{id:co,diagram:e}},`loader`)},uo=`railroadAbnf`,fo={id:uo,detector:r(e=>/^\s*railroad-abnf-beta/i.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./abnfDiagram-N423BO3Z-CA3n4CVB.js`);return{diagram:e}},__vite__mapDeps([83,43,41,1,2,3,4,5,6,81,39,40,42,44]),import.meta.url);return{id:uo,diagram:e}},`loader`)},po=`railroadPeg`,mo={id:po,detector:r(e=>/^\s*railroad-peg-beta/i.test(e),`detector`),loader:r(async()=>{let{diagram:e}=await t(async()=>{let{diagram:e}=await import(`./pegDiagram-VL7TDLO6-C6mMcz9U.js`);return{diagram:e}},__vite__mapDeps([84,42,41,1,2,3,4,5,6,81,39,40,43,44]),import.meta.url);return{id:po,diagram:e}},`loader`)},ho=!1,go=r(()=>{ho||(ho=!0,d(`error`,Da,e=>e.toLowerCase().trim()===`error`),d(`---`,{db:{clear:r(()=>{},`clear`)},styles:{},renderer:{draw:r(()=>{},`draw`)},parser:{parse:r(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},`parse`)},init:r(()=>null,`init`)},e=>e.toLowerCase().trimStart().startsWith(`---`)),f(ka,Na,qa),f(Wi,Fa,va,ga,Qi,na,ia,oa,fa,ma,Xi,Ji,Ki,ja,ea,Sa,ba,wa,ca,La,za,ua,Ua,Ya,Ga,Va,Za,to,so,lo,fo,mo,$a,ro,ao))},`addDiagrams`),_o=r(async()=>{a.debug(`Loading registered diagrams`);let e=(await Promise.allSettled(Object.entries(ee).map(async([e,{detector:t,loader:n}])=>{if(n)try{m(e)}catch{try{let{diagram:e,id:r}=await n();d(r,e,t)}catch(t){throw a.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete ee[e],t}}}))).filter(e=>e.status===`rejected`);if(e.length>0){a.error(`Failed to load ${e.length} external diagrams`);for(let t of e)a.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},`loadRegisteredDiagrams`),vo=`graphics-document document`;function yo(e,t){e.attr(`role`,vo),t!==``&&e.attr(`aria-roledescription`,t)}r(yo,`setA11yDiagramInfo`);function bo(e,t,n,r){if(e.insert!==void 0){if(n){let t=`chart-desc-${r}`;e.attr(`aria-describedby`,t),e.insert(`desc`,`:first-child`).attr(`id`,t).text(n)}if(t){let n=`chart-title-${r}`;e.attr(`aria-labelledby`,n),e.insert(`title`,`:first-child`).attr(`id`,n).text(t)}}}r(bo,`addSVGa11yTitleDescription`);var xo=class e{constructor(e,t,n,r,i){this.type=e,this.text=t,this.db=n,this.parser=r,this.renderer=i}static{r(this,`Diagram`)}static async fromText(t,n={}){let r=x(),i=ne(t,r);t=he(t)+`
35
- `;try{m(i)}catch{let e=s(i);if(!e)throw new oe(`Diagram ${i} not found.`);let{id:t,diagram:n}=await e();d(t,n)}let{db:a,parser:o,renderer:c,init:l}=m(i);return o.parser&&(o.parser.yy=a),a.clear?.(),l?.(r),n.title&&a.setDiagramTitle?.(n.title),await o.parse(t),new e(i,t,a,o,c)}async render(e,t){await this.renderer.draw(this.text,e,t,this)}getParser(){return this.parser}getType(){return this.type}},So=[],Co=r(()=>{So.forEach(e=>{e()}),So=[]},`attachFunctions`),wo=r(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,``).trimStart(),`cleanupComments`);function To(e){let t=e.match(b);if(!t)return{text:e,metadata:{}};let n=t[1],r=ni(n?t[2].split(`
36
- `).map(e=>e.startsWith(n)?e.slice(n.length):e).join(`
37
- `):t[2],{schema:ti})??{};r=typeof r==`object`&&!Array.isArray(r)?r:{};let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:e.slice(t[0].length),metadata:i}}r(To,`extractFrontMatter`);var Eo=r(e=>e.replace(/\r\n?/g,`
38
- `).replace(/<(\w+)([^>]*)>/g,(e,t,n)=>`<`+t+n.replace(/="([^"]*)"/g,`='$1'`)+`>`),`cleanupText`),Do=r(e=>{let{text:t,metadata:n}=To(e),{displayMode:r,title:i,config:a={}}=n;return r&&(a.gantt||={},a.gantt.displayMode=r),{title:i,config:a,text:t}},`processFrontmatter`),Oo=r(e=>{let t=fe.detectInit(e)??{},n=fe.detectDirective(e,`wrap`);return Array.isArray(n)?t.wrap=n.some(({type:e})=>e===`wrap`):n?.type===`wrap`&&(t.wrap=!0),{text:pe(e),directive:t}},`processDirectives`);function ko(e){let t=Do(Eo(e)),n=Oo(t.text),r=me(t.config,n.directive);return e=wo(n.text),{code:e,title:t.title,config:r}}r(ko,`preprocessDiagram`);function Ao(e){let t=new TextEncoder().encode(e),n=Array.from(t,e=>String.fromCodePoint(e)).join(``);return btoa(n)}r(Ao,`toBase64`);var jo=5e4,Mo=`graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa`,No=`sandbox`,Po=`loose`,Fo=`http://www.w3.org/2000/svg`,Io=`http://www.w3.org/1999/xlink`,Lo=`http://www.w3.org/1999/xhtml`,Ro=`100%`,zo=`100%`,Bo=`border:0;margin:0;`,Vo=`margin:0`,Ho=`allow-top-navigation-by-user-activation allow-popups`,Uo=`The "iframe" tag is not supported by your browser.`,Wo=[`foreignobject`],Go=[`dominant-baseline`];function Ko(e){let t=ko(e);return l(),te(t.config??{}),t}r(Ko,`processAndSetConfigs`);async function qo(e,t){go();try{let{code:t,config:n}=Ko(e);return{diagramType:(await as(t)).type,config:n}}catch(e){if(t?.suppressErrors)return!1;throw e}}r(qo,`parse`);var Jo=r((e,t,n=[])=>`.${e} ${t} ${u(`{ ${n.join(` !important; `)} !important; }`)}`,`cssImportantStyles`),Yo=r((e,t=new Map)=>{let n=new CSSStyleSheet;if(e.fontFamily!==void 0&&n.insertRule(`:root { --mermaid-font-family: ${e.fontFamily}}`,n.cssRules.length),e.altFontFamily!==void 0&&n.insertRule(`:root { --mermaid-alt-font-family: ${e.altFontFamily}}`,n.cssRules.length),t instanceof Map){let r=h(e)?[`> *`,`span`]:[`rect`,`polygon`,`ellipse`,`circle`,`path`];t.forEach(e=>{Ae(e.styles)||r.forEach(t=>{n.insertRule(Jo(e.id,t,e.styles),n.cssRules.length)}),Ae(e.textStyles)||n.insertRule(Jo(e.id,`tspan`,(e?.textStyles||[]).map(e=>e.replace(`color`,`fill`))),n.cssRules.length)})}let r=``;if(e.themeCSS!==void 0){if(typeof n.replaceSync==`function`){let t=new CSSStyleSheet;t.replaceSync(e.themeCSS),r=w(t)+`
39
- `}else r+=`${e.themeCSS}
40
- `}return r+w(n)},`createCssStyles`),Xo=r((e,t)=>zi(Pi(`${e}{${t}}`),Vi([r(function(t,n,r,i){if(t.type===`rule`&&Array.isArray(t.props)){if(t.parent&&t.parent.type===`@keyframes`)return;t.props=t.props.map(n=>n===e&&Array.isArray(t.children)&&t.children.every(e=>e.type===`decl`&&new Set([`font-family`,`font-size`,`fill`]).has(e.props))||(n.startsWith(`${e} `)||n.startsWith(`${e}>`))&&!n.startsWith(`${e} ||`)?n:`${e} ${n}`)}else t.type.startsWith(`@`)&&([`@media`,`@supports`,`@layer`,`@scope`,`@container`,`@starting-style`,`@keyframes`].includes(t.type)||(a.warn(`Removing unsupported at-rule ${t.type} from CSS`),t.type=ri))},`addNamespace`),Bi])),`compileCSS`),Zo=r((e,t,n,r)=>{let i=Yo(e,n);return Xo(r,v(t,i,{...e.themeVariables,theme:e.theme,look:e.look},r))},`createUserStyles`),Qo=r((e=``,t,n)=>{let r=e;return!n&&!t&&(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,`marker-end="url(#`)),r=le(r),r=r.replace(/<br>/g,`<br/>`),r},`cleanUpSvgCode`),$o=r((e=``,t)=>`<iframe style="width:${Ro};height:${t?.viewBox?.baseVal?.height?t.viewBox.baseVal.height+`px`:zo};${Bo}" src="data:text/html;charset=UTF-8;base64,${Ao(`<body style="${Vo}">${e}</body>`)}" sandbox="${Ho}">
41
- ${Uo}
42
- </iframe>`,`putIntoIFrame`),es=r((e,t,n,r,i)=>{let a=e.append(`div`);a.attr(`id`,n),r&&a.attr(`style`,r);let o=a.append(`svg`).attr(`id`,t).attr(`width`,`100%`).attr(`xmlns`,Fo);return i&&o.attr(`xmlns:xlink`,i),o.append(`g`),e},`appendDivSvgG`);function ts(e,t){return e.append(`iframe`).attr(`id`,t).attr(`style`,`width: 100%; height: 100%;`).attr(`sandbox`,``)}r(ts,`sandboxedIframe`);var ns=r((e,t,n,r)=>{e.getElementById(t)?.remove(),e.getElementById(n)?.remove(),e.getElementById(r)?.remove()},`removeExistingElements`),rs=r(async function(e,t,i){go();let s=Ko(t);t=s.code;let c=x();a.debug(c),t.length>(c?.maxTextSize??jo)&&(t=Mo);let l=`#${e}`,u=`i`+e,d=`#`+u,f=`d`+e,p=`#`+f,m=r(()=>{let e=o(g?d:p).node();e&&`remove`in e&&e.remove()},`removeTempElements`),h=o(document.body),g=c.securityLevel===No,_=c.securityLevel===Po,v=c.fontFamily;if(i!==void 0){if(i&&(i.innerHTML=``),g){let e=ts(o(i),u);h=o(e.nodes()[0].contentDocument.body),h.node().style.margin=`0`}else h=o(i);es(h,e,f,`font-family: ${v}`,Io)}else{if(ns(document,e,f,u),g){let e=ts(o(document.body),u);h=o(e.nodes()[0].contentDocument.body),h.node().style.margin=`0`}else h=o(`body`);es(h,e,f)}let y,b;try{y=await xo.fromText(t,{title:s.title})}catch(e){if(c.suppressErrorRendering)throw m(),e;y=await xo.fromText(`error`),b=e}let S=h.select(p).node(),w=y.type,ee=S.firstChild,te=ee.firstChild,ne=y.renderer.getClasses?.(t,y),re=Zo(c,w,ne,l),ie=document.createElement(`style`);ie.innerHTML=re,ee.insertBefore(ie,te);try{await y.renderer.draw(t,e,`11.16.1`,y)}catch(n){throw c.suppressErrorRendering?m():Ea.draw(t,e,`11.16.1`),n}let ae=h.select(`${p} svg`),oe=y.db.getAccTitle?.(),se=y.db.getAccDescription?.();os(w,ae,oe,se),h.select(`[id="${e}"]`).selectAll(`foreignobject > *`).attr(`xmlns`,Lo);let T=h.select(p).node().innerHTML;if(a.debug(`config.arrowMarkerAbsolute`,c.arrowMarkerAbsolute),T=Qo(T,g,C(c.arrowMarkerAbsolute)),g){let e=h.select(p+` svg`).node();T=$o(T,e)}else _||(T=n.sanitize(T,{ADD_TAGS:Wo,ADD_ATTR:Go,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(Co(),b)throw b;return m(),{diagramType:w,svg:T,bindFunctions:y.db.bindFunctions}},`render`);function is(e={}){let t=ie({},e);t?.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables||={},t.themeVariables.fontFamily=t.fontFamily),g(t),t?.theme&&t.theme in y?t.themeVariables=y[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=y.default.getThemeVariables(t.themeVariables));let n=typeof t==`object`?re(t):c();i(n.logLevel),go()}r(is,`initialize`);var as=r((e,t={})=>{let{code:n}=ko(e);return xo.fromText(n,t)},`getDiagramFromText`);function os(e,t,n,r){yo(t,e),bo(t,n,r,t.attr(`id`))}r(os,`addA11yInfo`);var Q=Object.freeze({render:rs,parse:qo,getDiagramFromText:as,initialize:is,getConfig:x,setConfig:_,getSiteConfig:c,updateSiteConfig:p,reset:r(()=>{l()},`reset`),globalReset:r(()=>{l(se)},`globalReset`),defaultConfig:se});i(x().logLevel),l(x());var ss=r((e,t,n)=>{a.warn(e),de(e)?(n&&n(e.str,e.hash),t.push({...e,message:e.str,error:e})):(n&&n(e),e instanceof Error&&t.push({str:e.message,message:e.message,hash:e.name,error:e}))},`handleError`),cs=r(async function(e={querySelector:`.mermaid`}){try{await ls(e)}catch(t){if(de(t)&&a.error(t.str),$.parseError&&$.parseError(t),!e.suppressErrors)throw a.error(`Use the suppressErrors option to suppress these errors`),t}},`run`),ls=r(async function({postRenderCallback:e,querySelector:t,nodes:n}={querySelector:`.mermaid`}){let r=Q.getConfig();a.debug(`${e?``:`No `}Callback function found`);let i;if(n)i=n;else if(t)i=document.querySelectorAll(t);else throw Error(`Nodes and querySelector are both undefined`);a.debug(`Found ${i.length} diagrams`),r?.startOnLoad!==void 0&&(a.debug(`Start On Load: `+r?.startOnLoad),Q.updateSiteConfig({startOnLoad:r?.startOnLoad}));let o=new fe.InitIDGenerator(r.deterministicIds,r.deterministicIDSeed),s,c=[];for(let t of Array.from(i)){if(a.info(`Rendering diagram: `+t.id),t.getAttribute(`data-processed`))continue;t.setAttribute(`data-processed`,`true`);let n=`mermaid-${o.next()}`;s=t.innerHTML,s=be(fe.entityDecode(s)).trim().replace(/<br\s*\/?>/gi,`<br/>`);let r=fe.detectInit(s);r&&a.debug(`Detected early reinit: `,r);try{let{svg:r,bindFunctions:i}=await ys(n,s,t);t.innerHTML=r,e&&await e(n),i&&i(t)}catch(e){ss(e,c,$.parseError)}}if(c.length>0)throw c[0]},`runThrowsErrors`),us=r(function(e){Q.initialize(e)},`initialize`),ds=r(async function(e,t,n){a.warn(`mermaid.init is deprecated. Please use run instead.`),e&&us(e);let r={postRenderCallback:n,querySelector:`.mermaid`};typeof t==`string`?r.querySelector=t:t&&(r.nodes=t instanceof HTMLElement?[t]:t),await cs(r)},`init`),fs=r(async(e,{lazyLoad:t=!0}={})=>{go(),f(...e),t===!1&&await _o()},`registerExternalDiagrams`),ps=r(function(){if($.startOnLoad){let{startOnLoad:e}=Q.getConfig();e&&$.run().catch(e=>a.error(`Mermaid failed to initialize`,e))}},`contentLoaded`);typeof document<`u`&&window.addEventListener(`load`,ps,!1);var ms=r(function(e){$.parseError=e},`setParseErrorHandler`),hs=[],gs=!1,_s=r(async()=>{if(!gs){for(gs=!0;hs.length>0;){let e=hs.shift();if(e)try{await e()}catch(e){a.error(`Error executing queue`,e)}}gs=!1}},`executeQueue`),vs=r(async(e,t)=>new Promise((n,i)=>{let o=r(()=>new Promise((r,o)=>{Q.parse(e,t).then(e=>{r(e),n(e)},e=>{a.error(`Error parsing`,e),$.parseError?.(e),o(e),i(e)})}),`performCall`);hs.push(o),_s().catch(i)}),`parse`),ys=r((e,t,n)=>new Promise((i,o)=>{let s=r(()=>new Promise((r,s)=>{Q.render(e,t,n).then(e=>{r(e),i(e)},e=>{a.error(`Error parsing`,e),$.parseError?.(e),s(e),o(e)})}),`performCall`);hs.push(s),_s().catch(o)}),`render`),$={startOnLoad:!0,mermaidAPI:Q,parse:vs,render:ys,init:ds,run:cs,registerExternalDiagrams:fs,registerLayoutLoaders:Ne,initialize:us,parseError:void 0,contentLoaded:ps,setParseErrorHandler:ms,detectType:ne,registerIconPacks:ye,getRegisteredDiagramsMetadata:r(()=>Object.keys(ee).map(e=>({id:e})),`getRegisteredDiagramsMetadata`)},bs=$;export{Pe as a,bs as default,Fe as i,ti as n,Oe as o,ni as r,Hi as t};
@@ -1,96 +0,0 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as t}from"./src-BY_WSiz7.js";import{$ as n,b as r,et as i,f as a,k as o,nt as s,x as c,z as l}from"./chunk-I66GZJ75-DXqP3B91.js";import"./chunk-NSK5VX7P-D5026Kzu.js";import"./chunk-4I5QYGJK-0RNwvBrV.js";import"./chunk-WRU74C26-BSENSjFs.js";import"./chunk-7BUUIJ7U-Bb538aSH.js";import"./chunk-UBXNYLIW-DzzRI8B_.js";import{t as u}from"./chunk-XXDRQBXY-DR-hrsFH.js";import{t as d}from"./chunk-KBJHAD2P-L-89C026.js";import"./chunk-W5SLKNZC-jIqX_Eb5.js";import"./chunk-QR6OTTB3-DgKOIk7B.js";import"./chunk-7Z6QIM7H-C6_Ywz3w.js";import{a as f,i as p}from"./mermaid.core-CNhdxt2h.js";var m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function h(e,t=0){return(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+`-`+m[e[t+4]]+m[e[t+5]]+`-`+m[e[t+6]]+m[e[t+7]]+`-`+m[e[t+8]]+m[e[t+9]]+`-`+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase()}var g,_=new Uint8Array(16);function v(){if(!g){if(typeof crypto>`u`||!crypto.getRandomValues)throw Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);g=crypto.getRandomValues.bind(crypto)}return g(_)}var y={randomUUID:typeof crypto<`u`&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function b(e,t,n){if(y.randomUUID&&!t&&!e)return y.randomUUID();e||={};let r=e.random??e.rng?.()??v();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return h(r)}var x=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])}}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:r,9:22,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:u,7:d,10:23,11:f},t(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:c}),t(p,[2,18]),t(p,[2,19]),t(p,[2,20]),t(p,[2,21]),t(p,[2,23]),t(p,[2,24]),t(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:d,10:32,11:f},{1:[2,7],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},t(m,[2,14],{7:h,11:g}),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(p,[2,15]),t(p,[2,16]),t(p,[2,17]),{20:[1,35]},{21:[1,36]},t(m,[2,13],{7:h,11:g}),t(_,[2,11]),t(_,[2,12]),{21:[1,37]},t(p,[2,25]),t(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
- `+h.showPosition()+`
3
- Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};v.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(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
- `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
- `+t+`^`},`showPosition`),test_match:e(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e(function(){return this.next()||this.lex()},`lex`),begin:e(function(e){this.conditionStack.push(e)},`begin`),popState:e(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e(function(e){this.begin(e)},`pushState`),stateStackSize:e(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:e(function(e,t,n,r){switch(n){case 0:return e.getLogger().trace(`Found comment`,t.yytext),6;case 1:return 8;case 2:this.begin(`CLASS`);break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:e.getLogger().trace(`Begin icon`),this.begin(`ICON`);break;case 6:return e.getLogger().trace(`SPACELINE`),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace(`end icon`),this.popState();break;case 10:return e.getLogger().trace(`Exploding node`),this.begin(`NODE`),19;case 11:return e.getLogger().trace(`Cloud`),this.begin(`NODE`),19;case 12:return e.getLogger().trace(`Explosion Bang`),this.begin(`NODE`),19;case 13:return e.getLogger().trace(`Cloud Bang`),this.begin(`NODE`),19;case 14:return this.begin(`NODE`),19;case 15:return this.begin(`NODE`),19;case 16:return this.begin(`NODE`),19;case 17:return this.begin(`NODE`),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin(`NSTR2`);break;case 22:return`NODE_DESCR`;case 23:this.popState();break;case 24:e.getLogger().trace(`Starting NSTR`),this.begin(`NSTR`);break;case 25:return e.getLogger().trace(`description:`,t.yytext),`NODE_DESCR`;case 26:this.popState();break;case 27:return this.popState(),e.getLogger().trace(`node end ))`),`NODE_DEND`;case 28:return this.popState(),e.getLogger().trace(`node end )`),`NODE_DEND`;case 29:return this.popState(),e.getLogger().trace(`node end ...`,t.yytext),`NODE_DEND`;case 30:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 31:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 32:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 33:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 34:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 35:return e.getLogger().trace(`Long description:`,t.yytext),20;case 36:return e.getLogger().trace(`Long description:`,t.yytext),20}},`anonymous`),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}}})();function y(){this.yy={}}return e(y,`Parser`),y.prototype=v,v.Parser=y,new y})();x.parser=x;var S=x,C=12,w={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},T=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=w,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{e(this,`MindmapDB`)}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let t=this.nodes.length-1;t>=0;t--)if(this.nodes[t].level<e)return this.nodes[t];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,n,r,i){t.info(`addNode`,e,n,r,i);let o=!1;this.nodes.length===0?(this.baseLevel=e,e=0,o=!0):this.baseLevel!==void 0&&(e-=this.baseLevel,o=!1);let s=c(),u=s.mindmap?.padding??a.mindmap.padding;switch(i){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:u*=2}let d={id:this.count++,nodeId:l(n,s),level:e,descr:l(r,s),type:i,children:[],width:s.mindmap?.maxNodeWidth??a.mindmap.maxNodeWidth,padding:u,isRoot:o},f=this.getParent(e);if(f)f.children.push(d),this.nodes.push(d);else if(o)this.nodes.push(d);else throw Error(`There can be only one root. No parent could be found for ("${d.descr}")`)}getType(e,n){switch(t.debug(`In get type`,e,n),e){case`[`:return this.nodeType.RECT;case`(`:return n===`)`?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case`((`:return this.nodeType.CIRCLE;case`)`:return this.nodeType.CLOUD;case`))`:return this.nodeType.BANG;case`{{`:return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let t=c(),n=this.nodes[this.nodes.length-1];e.icon&&(n.icon=l(e.icon,t)),e.class&&(n.class=l(e.class,t))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return`no-border`;case this.nodeType.RECT:return`rect`;case this.nodeType.ROUNDED_RECT:return`rounded-rect`;case this.nodeType.CIRCLE:return`circle`;case this.nodeType.CLOUD:return`cloud`;case this.nodeType.BANG:return`bang`;case this.nodeType.HEXAGON:return`hexgon`;default:return`no-border`}}assignSections(e,t){if(e.section=e.level===0?void 0:t,e.children)for(let[n,r]of e.children.entries()){let i=e.level===0?n%(C-1):t;this.assignSections(r,i)}}flattenNodes(t,n){let r=c(),i=[`mindmap-node`];t.isRoot===!0?i.push(`section-root`,`section--1`):t.section!==void 0&&i.push(`section-${t.section}`),t.class&&i.push(t.class);let a=i.join(` `),o=e(e=>{let t=(r.theme?.toLowerCase()??``).includes(`redux`);switch(e){case w.CIRCLE:return`mindmapCircle`;case w.RECT:return`rect`;case w.ROUNDED_RECT:return`rounded`;case w.CLOUD:return`cloud`;case w.BANG:return`bang`;case w.HEXAGON:return`hexagon`;case w.DEFAULT:return t?`rounded`:`defaultMindmapNode`;case w.NO_BORDER:default:return`rect`}},`getShapeFromType`),s={id:t.id.toString(),domId:`node_`+t.id.toString(),label:t.descr,labelType:`markdown`,isGroup:!1,shape:o(t.type),width:t.width,height:t.height??0,padding:t.padding,cssClasses:a,cssStyles:[],look:r.look,icon:t.icon,x:t.x,y:t.y,level:t.level,nodeId:t.nodeId,type:t.type,section:t.section};if(n.push(s),t.children)for(let e of t.children)this.flattenNodes(e,n)}generateEdges(e,t){if(!e.children)return;let n=c();for(let r of e.children){let i=`edge`;r.section!==void 0&&(i+=` section-edge-${r.section}`);let a=e.level+1;i+=` edge-depth-${a}`;let o={id:`edge_${e.id}_${r.id}`,start:e.id.toString(),end:r.id.toString(),type:`normal`,curve:`basis`,thickness:`normal`,look:n.look,classes:i,depth:e.level,section:r.section};t.push(o),this.generateEdges(r,t)}}getData(){let e=this.getMindmap(),n=c(),r=o().layout!==void 0,i=n;if(r||(i.layout=`cose-bilkent`),!e)return{nodes:[],edges:[],config:i};t.debug(`getData: mindmapRoot`,e,n),this.assignSections(e);let a=[],s=[];this.flattenNodes(e,a),this.generateEdges(e,s),t.debug(`getData: processed ${a.length} nodes and ${s.length} edges`);let l=new Map;for(let e of a)l.set(e.id,{shape:e.shape,width:e.width,height:e.height,padding:e.padding});return{nodes:a,edges:s,config:i,rootNode:e,markers:[`point`],direction:`TB`,nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(l),type:`mindmap`,diagramId:`mindmap-`+b()}}getLogger(){return t}},E={draw:e(async(e,n,i,o)=>{t.debug(`Rendering mindmap diagram
7
- `+e);let s=o.db,c=s.getData(),l=u(n,c.config.securityLevel);if(c.type=o.type,c.layoutAlgorithm=p(c.config.layout,{fallback:`cose-bilkent`}),c.diagramId=n,!s.getMindmap())return;c.nodes.forEach(e=>{e.shape===`rounded`?(e.radius=15,e.taper=15,e.stroke=`none`,e.width=0,e.padding=15):e.shape===`circle`?e.padding=10:e.shape===`rect`?(e.width=0,e.padding=10):e.shape===`hexagon`&&(e.width=0,e.height=0)}),await f(c,l);let{themeVariables:m}=r(),{useGradient:h,gradientStart:g,gradientStop:_}=m;if(h&&g&&_){let e=l.attr(`id`),t=l.append(`defs`).append(`linearGradient`).attr(`id`,`${e}-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,g).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,_).attr(`stop-opacity`,1)}d(l,c.config.mindmap?.padding??a.mindmap.padding,`mindmapDiagram`,c.config.mindmap?.useMaxWidth??a.mindmap.useMaxWidth)},`draw`)},D=e(e=>{let{theme:t,look:r}=e,a=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e[`lineColor`+t]=e[`lineColor`+t]||e[`cScaleInv`+t],s(e[`lineColor`+t])?e[`lineColor`+t]=i(e[`lineColor`+t],20):e[`lineColor`+t]=n(e[`lineColor`+t],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let i=``+(r===`neo`?Math.max(10-(n-1)*2,2):17-3*n);a+=`
8
- .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {
9
- fill: ${e[`cScale`+n]};
10
- }
11
- .section-${n-1} text {
12
- fill: ${e[`cScaleLabel`+n]};
13
- }
14
- .section-${n-1} span {
15
- color: ${e[`cScaleLabel`+n]};
16
- }
17
- .node-icon-${n-1} {
18
- font-size: 40px;
19
- color: ${e[`cScaleLabel`+n]};
20
- }
21
- .section-edge-${n-1}{
22
- stroke: ${e[`cScale`+n]};
23
- }
24
- .edge-depth-${n-1}{
25
- stroke-width: ${i};
26
- }
27
- .section-${n-1} line {
28
- stroke: ${e[`cScaleInv`+n]} ;
29
- stroke-width: 3;
30
- }
31
-
32
- .disabled, .disabled circle, .disabled text {
33
- fill: lightgray;
34
- }
35
- .disabled text {
36
- fill: #efefef;
37
- }
38
- [data-look="neo"].mindmap-node.section-${n-1} rect, [data-look="neo"].mindmap-node.section-${n-1} path, [data-look="neo"].mindmap-node.section-${n-1} circle, [data-look="neo"].mindmap-node.section-${n-1} polygon {
39
- fill: ${t===`redux`||t===`redux-dark`||t===`neutral`?e.mainBkg:e[`cScale`+n]};
40
- stroke: ${t===`redux`||t===`redux-dark`?e.nodeBorder:e[`cScale`+n]};
41
- stroke-width: ${e.strokeWidth??2}px;
42
- }
43
- [data-look="neo"].section-edge-${n-1}{
44
- stroke: ${t?.includes(`redux`)||t===`neo-dark`?e.nodeBorder:e[`cScale`+n]};
45
- }
46
- [data-look="neo"].mindmap-node.section-${n-1} text {
47
- fill: ${t===`redux`||t===`redux-dark`?e.nodeBorder:e[`cScaleLabel`+(t===`neutral`?1:n)]};
48
- }
49
- `}return a},`genSections`),O=e((e,t,n)=>{let r=``;for(let i=0;i<e;i++)r+=`
50
- [data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
51
- stroke: url(${t}-gradient);
52
- fill: ${n};
53
- }
54
- .section-${i-1} line {
55
- stroke-width: 0;
56
- }`;return r},`genGradient`),k={get db(){return new T},renderer:E,parser:S,styles:e(e=>{let{theme:t}=e,n=e.svgId,r=e.dropShadow?e.dropShadow.replace(`url(#drop-shadow)`,`url(${n}-drop-shadow)`):`none`;return`
57
- .edge {
58
- stroke-width: 3;
59
- }
60
- ${D(e)}
61
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
62
- fill: ${e.git0};
63
- }
64
- .section-root text {
65
- fill: ${e.gitBranchLabel0};
66
- }
67
- .section-root span {
68
- color: ${t?.includes(`redux`)?e.nodeBorder:e.gitBranchLabel0};
69
- }
70
- .icon-container {
71
- height:100%;
72
- display: flex;
73
- justify-content: center;
74
- align-items: center;
75
- }
76
- .edge {
77
- fill: none;
78
- }
79
- .mindmap-node-label {
80
- dy: 1em;
81
- alignment-baseline: middle;
82
- text-anchor: middle;
83
- dominant-baseline: middle;
84
- text-align: center;
85
- }
86
- [data-look="neo"].mindmap-node {
87
- filter: ${r};
88
- }
89
- [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
90
- fill: ${t?.includes(`redux`)?e.mainBkg:e.git0};
91
- }
92
- [data-look="neo"].mindmap-node.section-root .text-inner-tspan {
93
- fill: ${t?.includes(`redux`)?e.nodeBorder:e[`cScaleLabel`+ +(t===`neutral`)]};
94
- }
95
- ${e.useGradient&&n&&e.mainBkg?O(e.THEME_COLOR_LIMIT,n,e.mainBkg):``}
96
- `},`getStyles`)};export{k as diagram};
@@ -1 +0,0 @@
1
- import{t as e}from"./init-C-OQMol4.js";var t=class extends Map{constructor(e,t=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(n(this,e))}has(e){return super.has(n(this,e))}set(e,t){return super.set(r(this,e),t)}delete(e){return super.delete(i(this,e))}};function n({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function r({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function i({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function a(e){return typeof e==`object`&&e?e.valueOf():e}var o=Symbol(`implicit`);function s(){var n=new t,r=[],i=[],a=o;function c(e){let t=n.get(e);if(t===void 0){if(a!==o)return a;n.set(e,t=r.push(e)-1)}return i[t%i.length]}return c.domain=function(e){if(!arguments.length)return r.slice();r=[],n=new t;for(let t of e)n.has(t)||n.set(t,r.push(t)-1);return c},c.range=function(e){return arguments.length?(i=Array.from(e),c):i.slice()},c.unknown=function(e){return arguments.length?(a=e,c):a},c.copy=function(){return s(r,i).unknown(a)},e.apply(c,arguments),c}export{s as t};
@@ -1 +0,0 @@
1
- var e=Math.PI,t=2*e,n=1e-6,r=t-n;function i(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function a(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return i;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var o=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?i:a(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(t,r,i,a,o){if(t=+t,r=+r,i=+i,a=+a,o=+o,o<0)throw Error(`negative radius: ${o}`);let s=this._x1,c=this._y1,l=i-t,u=a-r,d=s-t,f=c-r,p=d*d+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(p>n){if(!(Math.abs(f*l-u*d)>n)||!o)this._append`L${this._x1=t},${this._y1=r}`;else{let m=i-s,h=a-c,g=l*l+u*u,_=m*m+h*h,v=Math.sqrt(g),y=Math.sqrt(p),b=o*Math.tan((e-Math.acos((g+p-_)/(2*v*y)))/2),x=b/y,S=b/v;Math.abs(x-1)>n&&this._append`L${t+x*d},${r+x*f}`,this._append`A${o},${o},0,0,${+(f*m>d*h)},${this._x1=t+S*l},${this._y1=r+S*u}`}}}arc(i,a,o,s,c,l){if(i=+i,a=+a,o=+o,l=!!l,o<0)throw Error(`negative radius: ${o}`);let u=o*Math.cos(s),d=o*Math.sin(s),f=i+u,p=a+d,m=1^l,h=l?s-c:c-s;this._x1===null?this._append`M${f},${p}`:(Math.abs(this._x1-f)>n||Math.abs(this._y1-p)>n)&&this._append`L${f},${p}`,o&&(h<0&&(h=h%t+t),h>r?this._append`A${o},${o},0,1,${m},${i-u},${a-d}A${o},${o},0,1,${m},${this._x1=f},${this._y1=p}`:h>n&&this._append`A${o},${o},0,${+(h>=e)},${m},${this._x1=i+o*Math.cos(c)},${this._y1=a+o*Math.sin(c)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};o.prototype;function s(e){return function(){return e}}function c(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new o(t)}export{s as n,c as t};
@@ -1 +0,0 @@
1
- import{n as e}from"./mermaid-parser-B74RvNk1.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as n}from"./src-BY_WSiz7.js";import"./chunk-I66GZJ75-DXqP3B91.js";import{n as r,r as i,t as a}from"./chunk-6Q2QTUOP-CLgL8rxg.js";import{t as o}from"./chunk-JWPE2WC7-DVXcaiue.js";import{t as s}from"./mermaid-parser-CFqrADy2.js";import"./mermaid.core-CNhdxt2h.js";var c=e().RailroadPeg.parser.LangiumParser,l=t(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformOrderedChoice`),u=t(e=>{let t=e.elements.map(d);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformSequence`),d=t(e=>{let t=p(e.suffix);return e.operator?{type:`special`,text:e.operator===`&`?`&${f(t)}`:`!${f(t)}`}:t},`transformPrefix`),f=t(e=>{switch(e.type){case`terminal`:return`"${e.value}"`;case`nonterminal`:return e.name;case`special`:return e.text;default:return`(...)`}},`nodeToLabel`),p=t(e=>{let t=m(e.primary);if(!e.operator)return t;switch(e.operator){case`?`:return{type:`optional`,element:t};case`*`:return{type:`repetition`,element:t,min:0,max:1/0};case`+`:return{type:`repetition`,element:t,min:1,max:1/0};default:throw Error(`Unsupported PEG suffix operator: ${e.operator}`)}},`transformSuffix`),m=t(e=>{switch(e.$type){case`PegLiteral`:return{type:`terminal`,value:e.value};case`PegIdentifier`:return{type:`nonterminal`,name:e.name};case`PegGroup`:return l(e.element);case`PegAny`:return{type:`special`,text:e.dot};default:throw Error(`Unsupported PEG primary node: ${e.$type}`)}},`transformPrimary`),h=t(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),g=t(e=>{o(e,a),e.title&&a.setTitle(e.title),e.rules.map(e=>a.addRule(h(e)))},`populateDb`),_={parser:{parse:t(e=>{a.clear(),n.debug(`[PEG Parser] Starting Langium parse`);let t=c.parse(e);if(t.lexerErrors.length>0||t.parserErrors.length>0)throw new s(t);let r=t.value;n.debug(`[PEG Parser] Parsed rules:`,r.rules.length),g(r),n.debug(`[PEG Parser] Parse complete`)},`parse`),parser:{yy:a}},db:a,renderer:i,styles:r};export{_ as diagram};
@@ -1,39 +0,0 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as t}from"./src-BY_WSiz7.js";import{H as n,K as r,U as i,a,c as o,f as s,v as c,w as l,x as u,y as d}from"./chunk-I66GZJ75-DXqP3B91.js";import{t as f}from"./ordinal-BDEzSJ7C.js";import{n as p}from"./path-fybaL0A-.js";import{m}from"./dist-BDCdLWk4.js";import{t as h}from"./arc-3UKfLtkz.js";import{t as g}from"./array-BifhSqXX.js";import{i as _,p as v}from"./chunk-NSK5VX7P-D5026Kzu.js";import{t as y}from"./chunk-JWPE2WC7-DVXcaiue.js";import{n as b}from"./mermaid-parser-CFqrADy2.js";import{o as x}from"./mermaid.core-CNhdxt2h.js";function S(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function C(e){return e}function w(){var e=C,t=S,n=null,r=p(0),i=p(m),a=p(0);function o(o){var s,c=(o=g(o)).length,l,u,d=0,f=Array(c),p=Array(c),h=+r.apply(this,arguments),_=Math.min(m,Math.max(-m,i.apply(this,arguments)-h)),v,y=Math.min(Math.abs(_)/c,a.apply(this,arguments)),b=y*(_<0?-1:1),x;for(s=0;s<c;++s)(x=p[f[s]=s]=+e(o[s],s,o))>0&&(d+=x);for(t==null?n!=null&&f.sort(function(e,t){return n(o[e],o[t])}):f.sort(function(e,n){return t(p[e],p[n])}),s=0,u=d?(_-c*b)/d:0;s<c;++s,h=v)l=f[s],x=p[l],v=h+(x>0?x*u:0)+b,p[l]={data:o[l],index:s,value:x,startAngle:h,endAngle:v,padAngle:y};return p}return o.value=function(t){return arguments.length?(e=typeof t==`function`?t:p(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r=typeof e==`function`?e:p(+e),o):r},o.endAngle=function(e){return arguments.length?(i=typeof e==`function`?e:p(+e),o):i},o.padAngle=function(e){return arguments.length?(a=typeof e==`function`?e:p(+e),o):a},o}var T=s.pie,E={sections:new Map,showData:!1,config:T},D=E.sections,O=E.showData,k=structuredClone(T),A={getConfig:e(()=>structuredClone(k),`getConfig`),clear:e(()=>{D=new Map,O=E.showData,a()},`clear`),setDiagramTitle:r,getDiagramTitle:l,setAccTitle:i,getAccTitle:d,setAccDescription:n,getAccDescription:c,addSection:e(({label:e,value:n})=>{if(n<0)throw Error(`"${e}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);D.has(e)||(D.set(e,n),t.debug(`added new section: ${e}, with value: ${n}`))},`addSection`),getSections:e(()=>D,`getSections`),setShowData:e(e=>{O=e},`setShowData`),getShowData:e(()=>O,`getShowData`)},j=e((e,t)=>{y(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},`populateDb`),M={parse:e(async e=>{let n=await b(`pie`,e);t.debug(n),j(n,A)},`parse`)},N=e(e=>`
2
- .pieCircle{
3
- stroke: ${e.pieStrokeColor};
4
- stroke-width : ${e.pieStrokeWidth};
5
- opacity : ${e.pieOpacity};
6
- }
7
- .pieCircle.highlighted{
8
- scale: 1.05;
9
- opacity: 1;
10
- }
11
- .pieCircle.highlightedOnHover:hover{
12
- transition-duration: 250ms;
13
- scale: 1.05;
14
- opacity: 1;
15
- }
16
- .pieOuterCircle{
17
- stroke: ${e.pieOuterStrokeColor};
18
- stroke-width: ${e.pieOuterStrokeWidth};
19
- fill: none;
20
- }
21
- .pieTitleText {
22
- text-anchor: middle;
23
- font-size: ${e.pieTitleTextSize};
24
- fill: ${e.pieTitleTextColor};
25
- font-family: ${e.fontFamily};
26
- }
27
- .slice {
28
- font-family: ${e.fontFamily};
29
- fill: ${e.pieSectionTextColor};
30
- font-size:${e.pieSectionTextSize};
31
- // fill: white;
32
- }
33
- .legend text {
34
- fill: ${e.pieLegendTextColor};
35
- font-family: ${e.fontFamily};
36
- font-size: ${e.pieLegendTextSize};
37
- }
38
- `,`getStyles`),P=e(e=>{let t=[...e.values()].reduce((e,t)=>e+t,0),n=[...e.entries()].map(([e,t])=>({label:e,value:t})).filter(e=>e.value/t*100>=1);return w().value(e=>e.value).sort(null)(n)},`createPieArcs`),F={parser:M,db:A,renderer:{draw:e((e,n,r,i)=>{t.debug(`rendering pie chart
39
- `+e);let a=i.db,s=u(),c=_(a.getConfig(),s.pie),l=x(n),d=l.append(`g`);d.attr(`transform`,`translate(225,225)`);let{themeVariables:p}=s,[m]=v(p.pieOuterStrokeWidth);m??=2;let g=c.legendPosition,y=c.textPosition,b=c.donutHole>0&&c.donutHole<=.9?c.donutHole:0,S=h().innerRadius(b*185).outerRadius(185),C=h().innerRadius(185*y).outerRadius(185*y),w=d.append(`g`);w.append(`circle`).attr(`cx`,0).attr(`cy`,0).attr(`r`,185+m/2).attr(`class`,`pieOuterCircle`);let T=a.getSections(),E=P(T),D=[p.pie1,p.pie2,p.pie3,p.pie4,p.pie5,p.pie6,p.pie7,p.pie8,p.pie9,p.pie10,p.pie11,p.pie12],O=0;T.forEach(e=>{O+=e});let k=E.filter(e=>(e.data.value/O*100).toFixed(0)!==`0`),A=f(D).domain([...T.keys()]);w.selectAll(`mySlices`).data(k).enter().append(`path`).attr(`d`,S).attr(`fill`,e=>A(e.data.label)).attr(`class`,e=>{let t=`pieCircle`;return c.highlightSlice===`hover`?t+=` highlightedOnHover`:c.highlightSlice===e.data.label&&(t+=` highlighted`),t}),w.selectAll(`mySlices`).data(k).enter().append(`text`).text(e=>(e.data.value/O*100).toFixed(0)+`%`).attr(`transform`,e=>`translate(`+C.centroid(e)+`)`).style(`text-anchor`,`middle`).attr(`class`,`slice`);let j=d.append(`text`).text(a.getDiagramTitle()).attr(`x`,0).attr(`y`,-200).attr(`class`,`pieTitleText`),M=[...T.entries()].map(([e,t])=>({label:e,value:t})),N=d.selectAll(`.legend`).data(M).enter().append(`g`).attr(`class`,`legend`);N.append(`rect`).attr(`width`,18).attr(`height`,18).style(`fill`,e=>A(e.label)).style(`stroke`,e=>A(e.label)),N.append(`text`).attr(`x`,22).attr(`y`,14).text(e=>a.getShowData()?`${e.label} [${e.value}]`:e.label);let F=Math.max(...N.selectAll(`text`).nodes().map(e=>e?.getBoundingClientRect().width??0)),I=450,L=490,R=M.length*22;switch(g){case`center`:N.attr(`transform`,(e,t)=>{let n=22*M.length/2,r=-F/2-22,i=t*22-n;return`translate(`+r+`,`+i+`)`});break;case`top`:I+=R,N.attr(`transform`,(e,t)=>`translate(${-F/2-22}, ${t*22-185})`),w.attr(`transform`,()=>`translate(0, ${R+22})`);break;case`bottom`:I+=R,N.attr(`transform`,(e,t)=>{let n=-F/2-22,r=t*22- -207;return`translate(`+n+`,`+r+`)`});break;case`left`:L+=22+F,N.attr(`transform`,(e,t)=>{let n=22*M.length/2;return`translate(-207,`+(t*22-n)+`)`}),w.attr(`transform`,()=>`translate(${F+18+4}, 0)`);break;default:L+=22+F,N.attr(`transform`,(e,t)=>{let n=22*M.length/2;return`translate(216,`+(t*22-n)+`)`})}let z=j.node()?.getBoundingClientRect().width??0,B=225-z/2,V=225+z/2,H=Math.min(0,B),U=Math.max(L,V)-H;l.attr(`viewBox`,`${H} 0 ${U} ${I}`),o(l,I,U,c.useMaxWidth)},`draw`)},styles:N};export{F as diagram};