@usepagelet/runtime 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/README.md +24 -0
  2. package/dist/v1/capabilities.md +59 -0
  3. package/dist/v1/chunks/architecture-7EHR7CIX-CDRXMAVQ.js +2 -0
  4. package/dist/v1/chunks/architecture-7EHR7CIX-CDRXMAVQ.js.map +7 -0
  5. package/dist/v1/chunks/architectureDiagram-3BPJPVTR-EYIVUOEK.js +37 -0
  6. package/dist/v1/chunks/architectureDiagram-3BPJPVTR-EYIVUOEK.js.map +7 -0
  7. package/dist/v1/chunks/blockDiagram-GPEHLZMM-P7MBAWVH.js +133 -0
  8. package/dist/v1/chunks/blockDiagram-GPEHLZMM-P7MBAWVH.js.map +7 -0
  9. package/dist/v1/chunks/c4Diagram-AAUBKEIU-2XSL5LGB.js +11 -0
  10. package/dist/v1/chunks/c4Diagram-AAUBKEIU-2XSL5LGB.js.map +7 -0
  11. package/dist/v1/chunks/chunk-2STBDRRH.js +2 -0
  12. package/dist/v1/chunks/chunk-2STBDRRH.js.map +7 -0
  13. package/dist/v1/chunks/chunk-6AA7JQNC.js +71 -0
  14. package/dist/v1/chunks/chunk-6AA7JQNC.js.map +7 -0
  15. package/dist/v1/chunks/chunk-72WSJX2P.js +2 -0
  16. package/dist/v1/chunks/chunk-72WSJX2P.js.map +7 -0
  17. package/dist/v1/chunks/chunk-AUV7QZZ7.js +2 -0
  18. package/dist/v1/chunks/chunk-AUV7QZZ7.js.map +7 -0
  19. package/dist/v1/chunks/chunk-AZFF2WJO.js +2 -0
  20. package/dist/v1/chunks/chunk-AZFF2WJO.js.map +7 -0
  21. package/dist/v1/chunks/chunk-C2IUOGBD.js +2 -0
  22. package/dist/v1/chunks/chunk-C2IUOGBD.js.map +7 -0
  23. package/dist/v1/chunks/chunk-DKQVSAO3.js +2 -0
  24. package/dist/v1/chunks/chunk-DKQVSAO3.js.map +7 -0
  25. package/dist/v1/chunks/chunk-DS52DG6H.js +2 -0
  26. package/dist/v1/chunks/chunk-DS52DG6H.js.map +7 -0
  27. package/dist/v1/chunks/chunk-DXEOG5W4.js +2 -0
  28. package/dist/v1/chunks/chunk-DXEOG5W4.js.map +7 -0
  29. package/dist/v1/chunks/chunk-EHSK6IMI.js +3 -0
  30. package/dist/v1/chunks/chunk-EHSK6IMI.js.map +7 -0
  31. package/dist/v1/chunks/chunk-FWZR474D.js +2 -0
  32. package/dist/v1/chunks/chunk-FWZR474D.js.map +7 -0
  33. package/dist/v1/chunks/chunk-FYLAOHYS.js +2 -0
  34. package/dist/v1/chunks/chunk-FYLAOHYS.js.map +7 -0
  35. package/dist/v1/chunks/chunk-G6W4FKMG.js +2 -0
  36. package/dist/v1/chunks/chunk-G6W4FKMG.js.map +7 -0
  37. package/dist/v1/chunks/chunk-HLP6UJDY.js +2 -0
  38. package/dist/v1/chunks/chunk-HLP6UJDY.js.map +7 -0
  39. package/dist/v1/chunks/chunk-IGLPGT7W.js +160 -0
  40. package/dist/v1/chunks/chunk-IGLPGT7W.js.map +7 -0
  41. package/dist/v1/chunks/chunk-IQVRW6XA.js +322 -0
  42. package/dist/v1/chunks/chunk-IQVRW6XA.js.map +7 -0
  43. package/dist/v1/chunks/chunk-IY5OUPDU.js +5 -0
  44. package/dist/v1/chunks/chunk-IY5OUPDU.js.map +7 -0
  45. package/dist/v1/chunks/chunk-JOJIMF7A.js +2 -0
  46. package/dist/v1/chunks/chunk-JOJIMF7A.js.map +7 -0
  47. package/dist/v1/chunks/chunk-NWD66TP4.js +2 -0
  48. package/dist/v1/chunks/chunk-NWD66TP4.js.map +7 -0
  49. package/dist/v1/chunks/chunk-PLQZIFSO.js +2 -0
  50. package/dist/v1/chunks/chunk-PLQZIFSO.js.map +7 -0
  51. package/dist/v1/chunks/chunk-PVPXGQIV.js +2 -0
  52. package/dist/v1/chunks/chunk-PVPXGQIV.js.map +7 -0
  53. package/dist/v1/chunks/chunk-QDJGX3SU.js +16 -0
  54. package/dist/v1/chunks/chunk-QDJGX3SU.js.map +7 -0
  55. package/dist/v1/chunks/chunk-QSGUWHXF.js +2 -0
  56. package/dist/v1/chunks/chunk-QSGUWHXF.js.map +7 -0
  57. package/dist/v1/chunks/chunk-RCIRWMC7.js +2 -0
  58. package/dist/v1/chunks/chunk-RCIRWMC7.js.map +7 -0
  59. package/dist/v1/chunks/chunk-S4ACHXBI.js +2 -0
  60. package/dist/v1/chunks/chunk-S4ACHXBI.js.map +7 -0
  61. package/dist/v1/chunks/chunk-SA4K3XYV.js +2 -0
  62. package/dist/v1/chunks/chunk-SA4K3XYV.js.map +7 -0
  63. package/dist/v1/chunks/chunk-SAENYLYK.js +232 -0
  64. package/dist/v1/chunks/chunk-SAENYLYK.js.map +7 -0
  65. package/dist/v1/chunks/chunk-SN6BTAM3.js +4 -0
  66. package/dist/v1/chunks/chunk-SN6BTAM3.js.map +7 -0
  67. package/dist/v1/chunks/chunk-SWJRRCAF.js +2 -0
  68. package/dist/v1/chunks/chunk-SWJRRCAF.js.map +7 -0
  69. package/dist/v1/chunks/chunk-TGL5CWDU.js +63 -0
  70. package/dist/v1/chunks/chunk-TGL5CWDU.js.map +7 -0
  71. package/dist/v1/chunks/chunk-TVSQ2OZ6.js +11 -0
  72. package/dist/v1/chunks/chunk-TVSQ2OZ6.js.map +7 -0
  73. package/dist/v1/chunks/chunk-URGT6V7R.js +2 -0
  74. package/dist/v1/chunks/chunk-URGT6V7R.js.map +7 -0
  75. package/dist/v1/chunks/chunk-WBEUYPCI.js +123 -0
  76. package/dist/v1/chunks/chunk-WBEUYPCI.js.map +7 -0
  77. package/dist/v1/chunks/chunk-WEZ3ELJO.js +2 -0
  78. package/dist/v1/chunks/chunk-WEZ3ELJO.js.map +7 -0
  79. package/dist/v1/chunks/chunk-WIIGSS4X.js +2 -0
  80. package/dist/v1/chunks/chunk-WIIGSS4X.js.map +7 -0
  81. package/dist/v1/chunks/chunk-XUJKMBZ5.js +2 -0
  82. package/dist/v1/chunks/chunk-XUJKMBZ5.js.map +7 -0
  83. package/dist/v1/chunks/chunk-YC75LZ32.js +33 -0
  84. package/dist/v1/chunks/chunk-YC75LZ32.js.map +7 -0
  85. package/dist/v1/chunks/chunk-YK2CHHQT.js +207 -0
  86. package/dist/v1/chunks/chunk-YK2CHHQT.js.map +7 -0
  87. package/dist/v1/chunks/chunk-YYWGGXI6.js +2 -0
  88. package/dist/v1/chunks/chunk-YYWGGXI6.js.map +7 -0
  89. package/dist/v1/chunks/chunk-ZY7EQCMR.js +4 -0
  90. package/dist/v1/chunks/chunk-ZY7EQCMR.js.map +7 -0
  91. package/dist/v1/chunks/classDiagram-4FO5ZUOK-4VU3VATX.js +2 -0
  92. package/dist/v1/chunks/classDiagram-4FO5ZUOK-4VU3VATX.js.map +7 -0
  93. package/dist/v1/chunks/classDiagram-v2-Q7XG4LA2-QIBN3KO6.js +2 -0
  94. package/dist/v1/chunks/classDiagram-v2-Q7XG4LA2-QIBN3KO6.js.map +7 -0
  95. package/dist/v1/chunks/cose-bilkent-S5V4N54A-MHLDSCZY.js +2 -0
  96. package/dist/v1/chunks/cose-bilkent-S5V4N54A-MHLDSCZY.js.map +7 -0
  97. package/dist/v1/chunks/dagre-BM42HDAG-U3ECKIMS.js +5 -0
  98. package/dist/v1/chunks/dagre-BM42HDAG-U3ECKIMS.js.map +7 -0
  99. package/dist/v1/chunks/diagram-2AECGRRQ-BNRGNWOM.js +44 -0
  100. package/dist/v1/chunks/diagram-2AECGRRQ-BNRGNWOM.js.map +7 -0
  101. package/dist/v1/chunks/diagram-5GNKFQAL-CPWZIJ4M.js +11 -0
  102. package/dist/v1/chunks/diagram-5GNKFQAL-CPWZIJ4M.js.map +7 -0
  103. package/dist/v1/chunks/diagram-KO2AKTUF-7CDCIBL3.js +4 -0
  104. package/dist/v1/chunks/diagram-KO2AKTUF-7CDCIBL3.js.map +7 -0
  105. package/dist/v1/chunks/diagram-LMA3HP47-LPHFNXWX.js +25 -0
  106. package/dist/v1/chunks/diagram-LMA3HP47-LPHFNXWX.js.map +7 -0
  107. package/dist/v1/chunks/diagram-OG6HWLK6-FWJ2MCGI.js +25 -0
  108. package/dist/v1/chunks/diagram-OG6HWLK6-FWJ2MCGI.js.map +7 -0
  109. package/dist/v1/chunks/erDiagram-TEJ5UH35-OX62GPYU.js +86 -0
  110. package/dist/v1/chunks/erDiagram-TEJ5UH35-OX62GPYU.js.map +7 -0
  111. package/dist/v1/chunks/eventmodeling-FCH6USID-NRRIBZEB.js +2 -0
  112. package/dist/v1/chunks/eventmodeling-FCH6USID-NRRIBZEB.js.map +7 -0
  113. package/dist/v1/chunks/flowDiagram-I6XJVG4X-I4ULL6MS.js +163 -0
  114. package/dist/v1/chunks/flowDiagram-I6XJVG4X-I4ULL6MS.js.map +7 -0
  115. package/dist/v1/chunks/ganttDiagram-6RSMTGT7-TIDOVKXT.js +293 -0
  116. package/dist/v1/chunks/ganttDiagram-6RSMTGT7-TIDOVKXT.js.map +7 -0
  117. package/dist/v1/chunks/gitGraph-WXDBUCRP-4LEEA2GI.js +2 -0
  118. package/dist/v1/chunks/gitGraph-WXDBUCRP-4LEEA2GI.js.map +7 -0
  119. package/dist/v1/chunks/gitGraphDiagram-PVQCEYII-BPEBW2KG.js +107 -0
  120. package/dist/v1/chunks/gitGraphDiagram-PVQCEYII-BPEBW2KG.js.map +7 -0
  121. package/dist/v1/chunks/info-J43DQDTF-EI2RS372.js +2 -0
  122. package/dist/v1/chunks/info-J43DQDTF-EI2RS372.js.map +7 -0
  123. package/dist/v1/chunks/infoDiagram-5YYISTIA-5GFVQYI7.js +3 -0
  124. package/dist/v1/chunks/infoDiagram-5YYISTIA-5GFVQYI7.js.map +7 -0
  125. package/dist/v1/chunks/ishikawaDiagram-YF4QCWOH-AZ7PAHIN.js +71 -0
  126. package/dist/v1/chunks/ishikawaDiagram-YF4QCWOH-AZ7PAHIN.js.map +7 -0
  127. package/dist/v1/chunks/journeyDiagram-JHISSGLW-B4ZN6VTS.js +140 -0
  128. package/dist/v1/chunks/journeyDiagram-JHISSGLW-B4ZN6VTS.js.map +7 -0
  129. package/dist/v1/chunks/kanban-definition-UN3LZRKU-5THRXHJP.js +90 -0
  130. package/dist/v1/chunks/kanban-definition-UN3LZRKU-5THRXHJP.js.map +7 -0
  131. package/dist/v1/chunks/katex-CLI7E3QC.js +258 -0
  132. package/dist/v1/chunks/katex-CLI7E3QC.js.map +7 -0
  133. package/dist/v1/chunks/mindmap-definition-RKZ34NQL-E57QDEMN.js +97 -0
  134. package/dist/v1/chunks/mindmap-definition-RKZ34NQL-E57QDEMN.js.map +7 -0
  135. package/dist/v1/chunks/packet-YPE3B663-PKWGZRBL.js +2 -0
  136. package/dist/v1/chunks/packet-YPE3B663-PKWGZRBL.js.map +7 -0
  137. package/dist/v1/chunks/pie-LRSECV5Y-QSTOXR4H.js +2 -0
  138. package/dist/v1/chunks/pie-LRSECV5Y-QSTOXR4H.js.map +7 -0
  139. package/dist/v1/chunks/pieDiagram-4H26LBE5-CZULUIHM.js +31 -0
  140. package/dist/v1/chunks/pieDiagram-4H26LBE5-CZULUIHM.js.map +7 -0
  141. package/dist/v1/chunks/quadrantDiagram-W4KKPZXB-WRXQ2LCP.js +8 -0
  142. package/dist/v1/chunks/quadrantDiagram-W4KKPZXB-WRXQ2LCP.js.map +7 -0
  143. package/dist/v1/chunks/radar-GUYGQ44K-UJHF7VJA.js +2 -0
  144. package/dist/v1/chunks/radar-GUYGQ44K-UJHF7VJA.js.map +7 -0
  145. package/dist/v1/chunks/requirementDiagram-4Y6WPE33-LUKBHY3G.js +85 -0
  146. package/dist/v1/chunks/requirementDiagram-4Y6WPE33-LUKBHY3G.js.map +7 -0
  147. package/dist/v1/chunks/sankeyDiagram-5OEKKPKP-IHGIKQ7Q.js +41 -0
  148. package/dist/v1/chunks/sankeyDiagram-5OEKKPKP-IHGIKQ7Q.js.map +7 -0
  149. package/dist/v1/chunks/sequenceDiagram-3UESZ5HK-AZIJM7V2.js +163 -0
  150. package/dist/v1/chunks/sequenceDiagram-3UESZ5HK-AZIJM7V2.js.map +7 -0
  151. package/dist/v1/chunks/stateDiagram-AJRCARHV-7TL53ICK.js +2 -0
  152. package/dist/v1/chunks/stateDiagram-AJRCARHV-7TL53ICK.js.map +7 -0
  153. package/dist/v1/chunks/stateDiagram-v2-BHNVJYJU-TJ245A24.js +2 -0
  154. package/dist/v1/chunks/stateDiagram-v2-BHNVJYJU-TJ245A24.js.map +7 -0
  155. package/dist/v1/chunks/timeline-definition-PNZ67QCA-C5FF5CVI.js +121 -0
  156. package/dist/v1/chunks/timeline-definition-PNZ67QCA-C5FF5CVI.js.map +7 -0
  157. package/dist/v1/chunks/treeView-BLDUP644-2MCPJRE2.js +2 -0
  158. package/dist/v1/chunks/treeView-BLDUP644-2MCPJRE2.js.map +7 -0
  159. package/dist/v1/chunks/treemap-LRROVOQU-WSVRI32O.js +2 -0
  160. package/dist/v1/chunks/treemap-LRROVOQU-WSVRI32O.js.map +7 -0
  161. package/dist/v1/chunks/vennDiagram-CIIHVFJN-NQU7FBQX.js +35 -0
  162. package/dist/v1/chunks/vennDiagram-CIIHVFJN-NQU7FBQX.js.map +7 -0
  163. package/dist/v1/chunks/wardley-L42UT6IY-GONRRIFG.js +2 -0
  164. package/dist/v1/chunks/wardley-L42UT6IY-GONRRIFG.js.map +7 -0
  165. package/dist/v1/chunks/wardleyDiagram-YWT4CUSO-KNM7EB5A.js +79 -0
  166. package/dist/v1/chunks/wardleyDiagram-YWT4CUSO-KNM7EB5A.js.map +7 -0
  167. package/dist/v1/chunks/xychartDiagram-2RQKCTM6-CMGOBHPC.js +8 -0
  168. package/dist/v1/chunks/xychartDiagram-2RQKCTM6-CMGOBHPC.js.map +7 -0
  169. package/dist/v1/modules/charts.js +4 -0
  170. package/dist/v1/modules/charts.js.map +7 -0
  171. package/dist/v1/modules/code.js +26 -0
  172. package/dist/v1/modules/code.js.map +7 -0
  173. package/dist/v1/modules/markdown.js +65 -0
  174. package/dist/v1/modules/markdown.js.map +7 -0
  175. package/dist/v1/modules/math.js +258 -0
  176. package/dist/v1/modules/math.js.map +7 -0
  177. package/dist/v1/modules/mermaid.js +9 -0
  178. package/dist/v1/modules/mermaid.js.map +7 -0
  179. package/dist/v1/modules/png.js +3 -0
  180. package/dist/v1/modules/png.js.map +7 -0
  181. package/dist/v1/pagelet.js +128 -0
  182. package/dist/v1/pagelet.js.map +7 -0
  183. package/package.json +40 -0
@@ -0,0 +1,2 @@
1
+ import{a as r,b as a,c as i,d as n,e as s,g as u,k as d,s as l,t as c}from"./chunk-IGLPGT7W.js";var e,m=(e=class extends c{constructor(){super(["info","showInfo"])}},r(e,"InfoTokenBuilder"),e),v={parser:{TokenBuilder:r(()=>new m,"TokenBuilder"),ValueConverter:r(()=>new l,"ValueConverter")}};function I(f=s){let o=n(i(f),u),t=n(a({shared:o}),d,v);return o.ServiceRegistry.register(t),{shared:o,Info:t}}r(I,"createInfoServices");export{v as a,I as b};
2
+ //# sourceMappingURL=chunk-WEZ3ELJO.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../node_modules/.pnpm/@mermaid-js+parser@1.1.1/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5DO6E6H7.mjs"],
4
+ "sourcesContent": ["import {\n AbstractMermaidTokenBuilder,\n CommonValueConverter,\n EmptyFileSystem,\n InfoGrammarGeneratedModule,\n MermaidGeneratedSharedModule,\n __name,\n createDefaultCoreModule,\n createDefaultSharedCoreModule,\n inject,\n lib_exports\n} from \"./chunk-NNHCCRGN.mjs\";\n\n// src/language/info/tokenBuilder.ts\nvar InfoTokenBuilder = class extends AbstractMermaidTokenBuilder {\n static {\n __name(this, \"InfoTokenBuilder\");\n }\n constructor() {\n super([\"info\", \"showInfo\"]);\n }\n};\n\n// src/language/info/module.ts\nvar InfoModule = {\n parser: {\n TokenBuilder: /* @__PURE__ */ __name(() => new InfoTokenBuilder(), \"TokenBuilder\"),\n ValueConverter: /* @__PURE__ */ __name(() => new CommonValueConverter(), \"ValueConverter\")\n }\n};\nfunction createInfoServices(context = EmptyFileSystem) {\n const shared = inject(\n createDefaultSharedCoreModule(context),\n MermaidGeneratedSharedModule\n );\n const Info = inject(\n createDefaultCoreModule({ shared }),\n InfoGrammarGeneratedModule,\n InfoModule\n );\n shared.ServiceRegistry.register(Info);\n return { shared, Info };\n}\n__name(createInfoServices, \"createInfoServices\");\n\nexport {\n InfoModule,\n createInfoServices\n};\n"],
5
+ "mappings": "gGAAA,IAAAA,EAcIC,GAAmBD,EAAA,cAAcE,CAA4B,CAI/D,aAAc,CACZ,MAAM,CAAC,OAAQ,UAAU,CAAC,CAC5B,CACF,EALIC,EAAOH,EAAM,kBAAkB,EAFZA,GAUnBI,EAAa,CACf,OAAQ,CACN,aAA8BD,EAAO,IAAM,IAAIF,EAAoB,cAAc,EACjF,eAAgCE,EAAO,IAAM,IAAIE,EAAwB,gBAAgB,CAC3F,CACF,EACA,SAASC,EAAmBC,EAAUC,EAAiB,CACrD,IAAMC,EAASC,EACbC,EAA8BJ,CAAO,EACrCK,CACF,EACMC,EAAOH,EACXI,EAAwB,CAAE,OAAAL,CAAO,CAAC,EAClCM,EACAX,CACF,EACA,OAAAK,EAAO,gBAAgB,SAASI,CAAI,EAC7B,CAAE,OAAAJ,EAAQ,KAAAI,CAAK,CACxB,CACAV,EAAOG,EAAoB,oBAAoB",
6
+ "names": ["_a", "InfoTokenBuilder", "AbstractMermaidTokenBuilder", "__name", "InfoModule", "CommonValueConverter", "createInfoServices", "context", "EmptyFileSystem", "shared", "inject", "createDefaultSharedCoreModule", "MermaidGeneratedSharedModule", "Info", "createDefaultCoreModule", "InfoGrammarGeneratedModule"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{a as r,b as o,c as n,d as a,e as u,g as d,j as l,s,t as G}from"./chunk-IGLPGT7W.js";var e,p=(e=class extends G{constructor(){super(["gitGraph"])}},r(e,"GitGraphTokenBuilder"),e),h={parser:{TokenBuilder:r(()=>new p,"TokenBuilder"),ValueConverter:r(()=>new s,"ValueConverter")}};function m(c=u){let t=a(n(c),d),i=a(o({shared:t}),l,h);return t.ServiceRegistry.register(i),{shared:t,GitGraph:i}}r(m,"createGitGraphServices");export{h as a,m as b};
2
+ //# sourceMappingURL=chunk-WIIGSS4X.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../node_modules/.pnpm/@mermaid-js+parser@1.1.1/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UIBZB4QT.mjs"],
4
+ "sourcesContent": ["import {\n AbstractMermaidTokenBuilder,\n CommonValueConverter,\n EmptyFileSystem,\n GitGraphGrammarGeneratedModule,\n MermaidGeneratedSharedModule,\n __name,\n createDefaultCoreModule,\n createDefaultSharedCoreModule,\n inject,\n lib_exports\n} from \"./chunk-NNHCCRGN.mjs\";\n\n// src/language/gitGraph/tokenBuilder.ts\nvar GitGraphTokenBuilder = class extends AbstractMermaidTokenBuilder {\n static {\n __name(this, \"GitGraphTokenBuilder\");\n }\n constructor() {\n super([\"gitGraph\"]);\n }\n};\n\n// src/language/gitGraph/module.ts\nvar GitGraphModule = {\n parser: {\n TokenBuilder: /* @__PURE__ */ __name(() => new GitGraphTokenBuilder(), \"TokenBuilder\"),\n ValueConverter: /* @__PURE__ */ __name(() => new CommonValueConverter(), \"ValueConverter\")\n }\n};\nfunction createGitGraphServices(context = EmptyFileSystem) {\n const shared = inject(\n createDefaultSharedCoreModule(context),\n MermaidGeneratedSharedModule\n );\n const GitGraph = inject(\n createDefaultCoreModule({ shared }),\n GitGraphGrammarGeneratedModule,\n GitGraphModule\n );\n shared.ServiceRegistry.register(GitGraph);\n return { shared, GitGraph };\n}\n__name(createGitGraphServices, \"createGitGraphServices\");\n\nexport {\n GitGraphModule,\n createGitGraphServices\n};\n"],
5
+ "mappings": "2FAAA,IAAAA,EAcIC,GAAuBD,EAAA,cAAcE,CAA4B,CAInE,aAAc,CACZ,MAAM,CAAC,UAAU,CAAC,CACpB,CACF,EALIC,EAAOH,EAAM,sBAAsB,EAFZA,GAUvBI,EAAiB,CACnB,OAAQ,CACN,aAA8BD,EAAO,IAAM,IAAIF,EAAwB,cAAc,EACrF,eAAgCE,EAAO,IAAM,IAAIE,EAAwB,gBAAgB,CAC3F,CACF,EACA,SAASC,EAAuBC,EAAUC,EAAiB,CACzD,IAAMC,EAASC,EACbC,EAA8BJ,CAAO,EACrCK,CACF,EACMC,EAAWH,EACfI,EAAwB,CAAE,OAAAL,CAAO,CAAC,EAClCM,EACAX,CACF,EACA,OAAAK,EAAO,gBAAgB,SAASI,CAAQ,EACjC,CAAE,OAAAJ,EAAQ,SAAAI,CAAS,CAC5B,CACAV,EAAOG,EAAwB,wBAAwB",
6
+ "names": ["_a", "GitGraphTokenBuilder", "AbstractMermaidTokenBuilder", "__name", "GitGraphModule", "CommonValueConverter", "createGitGraphServices", "context", "EmptyFileSystem", "shared", "inject", "createDefaultSharedCoreModule", "MermaidGeneratedSharedModule", "GitGraph", "createDefaultCoreModule", "GitGraphGrammarGeneratedModule"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{n as p}from"./chunk-EHSK6IMI.js";import{Z as s,q as g}from"./chunk-WBEUYPCI.js";import{b as a}from"./chunk-PVPXGQIV.js";var h=a(({flowchart:o})=>{let n=o?.subGraphTitleMargin?.top??0,t=o?.subGraphTitleMargin?.bottom??0,r=n+t;return{subGraphTitleTopMargin:n,subGraphTitleBottomMargin:t,subGraphTitleTotalMargin:r}},"getSubGraphTitleMargins");async function d(o,n){let t=o.getElementsByTagName("img");if(!t||t.length===0)return;let r=n.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...t].map(e=>new Promise(m=>{function i(){if(e.style.display="flex",e.style.flexDirection="column",r){let u=s().fontSize?s().fontSize:window.getComputedStyle(document.body).fontSize,f=5,[c=g.fontSize]=p(u),l=c*f+"px";e.style.minWidth=l,e.style.maxWidth=l}else e.style.width="100%";m(e)}a(i,"setupImage"),setTimeout(()=>{e.complete&&i()}),e.addEventListener("error",i),e.addEventListener("load",i)})))}a(d,"configureLabelImages");export{h as a,d as b};
2
+ //# sourceMappingURL=chunk-XUJKMBZ5.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../node_modules/.pnpm/mermaid@11.15.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-L5ZTLDWV.mjs"],
4
+ "sourcesContent": ["import {\n parseFontSize\n} from \"./chunk-5ZQYHXKU.mjs\";\nimport {\n defaultConfig_default,\n getConfig2 as getConfig\n} from \"./chunk-CSCIHK7Q.mjs\";\nimport {\n __name\n} from \"./chunk-AGHRB4JF.mjs\";\n\n// src/utils/subGraphTitleMargins.ts\nvar getSubGraphTitleMargins = /* @__PURE__ */ __name(({\n flowchart\n}) => {\n const subGraphTitleTopMargin = flowchart?.subGraphTitleMargin?.top ?? 0;\n const subGraphTitleBottomMargin = flowchart?.subGraphTitleMargin?.bottom ?? 0;\n const subGraphTitleTotalMargin = subGraphTitleTopMargin + subGraphTitleBottomMargin;\n return {\n subGraphTitleTopMargin,\n subGraphTitleBottomMargin,\n subGraphTitleTotalMargin\n };\n}, \"getSubGraphTitleMargins\");\n\n// src/rendering-util/rendering-elements/shapes/labelImageUtils.ts\nasync function configureLabelImages(container, labelText) {\n const images = container.getElementsByTagName(\"img\");\n if (!images || images.length === 0) {\n return;\n }\n const noImgText = labelText.replace(/<img[^>]*>/g, \"\").trim() === \"\";\n await Promise.all(\n [...images].map(\n (img) => new Promise((res) => {\n function setupImage() {\n img.style.display = \"flex\";\n img.style.flexDirection = \"column\";\n if (noImgText) {\n const bodyFontSize = getConfig().fontSize ? getConfig().fontSize : window.getComputedStyle(document.body).fontSize;\n const enlargingFactor = 5;\n const [parsedBodyFontSize = defaultConfig_default.fontSize] = parseFontSize(bodyFontSize);\n const width = parsedBodyFontSize * enlargingFactor + \"px\";\n img.style.minWidth = width;\n img.style.maxWidth = width;\n } else {\n img.style.width = \"100%\";\n }\n res(img);\n }\n __name(setupImage, \"setupImage\");\n setTimeout(() => {\n if (img.complete) {\n setupImage();\n }\n });\n img.addEventListener(\"error\", setupImage);\n img.addEventListener(\"load\", setupImage);\n })\n )\n );\n}\n__name(configureLabelImages, \"configureLabelImages\");\n\nexport {\n configureLabelImages,\n getSubGraphTitleMargins\n};\n"],
5
+ "mappings": "+HAYA,IAAIA,EAA0CC,EAAO,CAAC,CACpD,UAAAC,CACF,IAAM,CACJ,IAAMC,EAAyBD,GAAW,qBAAqB,KAAO,EAChEE,EAA4BF,GAAW,qBAAqB,QAAU,EACtEG,EAA2BF,EAAyBC,EAC1D,MAAO,CACL,uBAAAD,EACA,0BAAAC,EACA,yBAAAC,CACF,CACF,EAAG,yBAAyB,EAG5B,eAAeC,EAAqBC,EAAWC,EAAW,CACxD,IAAMC,EAASF,EAAU,qBAAqB,KAAK,EACnD,GAAI,CAACE,GAAUA,EAAO,SAAW,EAC/B,OAEF,IAAMC,EAAYF,EAAU,QAAQ,cAAe,EAAE,EAAE,KAAK,IAAM,GAClE,MAAM,QAAQ,IACZ,CAAC,GAAGC,CAAM,EAAE,IACTE,GAAQ,IAAI,QAASC,GAAQ,CAC5B,SAASC,GAAa,CAGpB,GAFAF,EAAI,MAAM,QAAU,OACpBA,EAAI,MAAM,cAAgB,SACtBD,EAAW,CACb,IAAMI,EAAeC,EAAU,EAAE,SAAWA,EAAU,EAAE,SAAW,OAAO,iBAAiB,SAAS,IAAI,EAAE,SACpGC,EAAkB,EAClB,CAACC,EAAqBC,EAAsB,QAAQ,EAAIC,EAAcL,CAAY,EAClFM,EAAQH,EAAqBD,EAAkB,KACrDL,EAAI,MAAM,SAAWS,EACrBT,EAAI,MAAM,SAAWS,CACvB,MACET,EAAI,MAAM,MAAQ,OAEpBC,EAAID,CAAG,CACT,CACAV,EAAOY,EAAY,YAAY,EAC/B,WAAW,IAAM,CACXF,EAAI,UACNE,EAAW,CAEf,CAAC,EACDF,EAAI,iBAAiB,QAASE,CAAU,EACxCF,EAAI,iBAAiB,OAAQE,CAAU,CACzC,CAAC,CACH,CACF,CACF,CACAZ,EAAOK,EAAsB,sBAAsB",
6
+ "names": ["getSubGraphTitleMargins", "__name", "flowchart", "subGraphTitleTopMargin", "subGraphTitleBottomMargin", "subGraphTitleTotalMargin", "configureLabelImages", "container", "labelText", "images", "noImgText", "img", "res", "setupImage", "bodyFontSize", "getConfig2", "enlargingFactor", "parsedBodyFontSize", "defaultConfig_default", "parseFontSize", "width"]
7
+ }
@@ -0,0 +1,33 @@
1
+ import{b as f}from"./chunk-PVPXGQIV.js";function Ae(e){return typeof e>"u"||e===null}f(Ae,"isNothing");function Oe(e){return typeof e=="object"&&e!==null}f(Oe,"isObject");function Ie(e){return Array.isArray(e)?e:Ae(e)?[]:[e]}f(Ie,"toArray");function ke(e,n){var i,l,r,u;if(n)for(u=Object.keys(n),i=0,l=u.length;i<l;i+=1)r=u[i],e[r]=n[r];return e}f(ke,"extend");function Le(e,n){var i="",l;for(l=0;l<n;l+=1)i+=e;return i}f(Le,"repeat");function Ne(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}f(Ne,"isNegativeZero");var di=Ae,si=Oe,mi=Ie,gi=Le,vi=Ne,Ai=ke,w={isNothing:di,isObject:si,toArray:mi,repeat:gi,isNegativeZero:vi,extend:Ai};function ye(e,n){var i="",l=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(i+='in "'+e.mark.name+'" '),i+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!n&&e.mark.snippet&&(i+=`
2
+
3
+ `+e.mark.snippet),l+" "+i):l}f(ye,"formatError");function B(e,n){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=n,this.message=ye(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}f(B,"YAMLException$1");B.prototype=Object.create(Error.prototype);B.prototype.constructor=B;B.prototype.toString=f(function(n){return this.name+": "+ye(this,n)},"toString");var x=B;function W(e,n,i,l,r){var u="",o="",c=Math.floor(r/2)-1;return l-n>c&&(u=" ... ",n=l-c+u.length),i-l>c&&(o=" ...",i=l+c-o.length),{str:u+e.slice(n,i).replace(/\t/g,"→")+o,pos:l-n+u.length}}f(W,"getLine");function G(e,n){return w.repeat(" ",n-e.length)+e}f(G,"padStart");function Re(e,n){if(n=Object.create(n||null),!e.buffer)return null;n.maxLength||(n.maxLength=79),typeof n.indent!="number"&&(n.indent=1),typeof n.linesBefore!="number"&&(n.linesBefore=3),typeof n.linesAfter!="number"&&(n.linesAfter=2);for(var i=/\r?\n|\r|\0/g,l=[0],r=[],u,o=-1;u=i.exec(e.buffer);)r.push(u.index),l.push(u.index+u[0].length),e.position<=u.index&&o<0&&(o=l.length-2);o<0&&(o=l.length-1);var c="",a,t,d=Math.min(e.line+n.linesAfter,r.length).toString().length,p=n.maxLength-(n.indent+d+3);for(a=1;a<=n.linesBefore&&!(o-a<0);a++)t=W(e.buffer,l[o-a],r[o-a],e.position-(l[o]-l[o-a]),p),c=w.repeat(" ",n.indent)+G((e.line-a+1).toString(),d)+" | "+t.str+`
4
+ `+c;for(t=W(e.buffer,l[o],r[o],e.position,p),c+=w.repeat(" ",n.indent)+G((e.line+1).toString(),d)+" | "+t.str+`
5
+ `,c+=w.repeat("-",n.indent+d+3+t.pos)+`^
6
+ `,a=1;a<=n.linesAfter&&!(o+a>=r.length);a++)t=W(e.buffer,l[o+a],r[o+a],e.position-(l[o]-l[o+a]),p),c+=w.repeat(" ",n.indent)+G((e.line+a+1).toString(),d)+" | "+t.str+`
7
+ `;return c.replace(/\n$/,"")}f(Re,"makeSnippet");var yi=Re,_i=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],wi=["scalar","sequence","mapping"];function Me(e){var n={};return e!==null&&Object.keys(e).forEach(function(i){e[i].forEach(function(l){n[String(l)]=i})}),n}f(Me,"compileStyleAliases");function Ye(e,n){if(n=n||{},Object.keys(n).forEach(function(i){if(_i.indexOf(i)===-1)throw new x('Unknown option "'+i+'" is met in definition of "'+e+'" YAML type.')}),this.options=n,this.tag=e,this.kind=n.kind||null,this.resolve=n.resolve||function(){return!0},this.construct=n.construct||function(i){return i},this.instanceOf=n.instanceOf||null,this.predicate=n.predicate||null,this.represent=n.represent||null,this.representName=n.representName||null,this.defaultStyle=n.defaultStyle||null,this.multi=n.multi||!1,this.styleAliases=Me(n.styleAliases||null),wi.indexOf(this.kind)===-1)throw new x('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}f(Ye,"Type$1");var C=Ye;function re(e,n){var i=[];return e[n].forEach(function(l){var r=i.length;i.forEach(function(u,o){u.tag===l.tag&&u.kind===l.kind&&u.multi===l.multi&&(r=o)}),i[r]=l}),i}f(re,"compileList");function Fe(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},n,i;function l(r){r.multi?(e.multi[r.kind].push(r),e.multi.fallback.push(r)):e[r.kind][r.tag]=e.fallback[r.tag]=r}for(f(l,"collectType"),n=0,i=arguments.length;n<i;n+=1)arguments[n].forEach(l);return e}f(Fe,"compileMap");function $(e){return this.extend(e)}f($,"Schema$1");$.prototype.extend=f(function(n){var i=[],l=[];if(n instanceof C)l.push(n);else if(Array.isArray(n))l=l.concat(n);else if(n&&(Array.isArray(n.implicit)||Array.isArray(n.explicit)))n.implicit&&(i=i.concat(n.implicit)),n.explicit&&(l=l.concat(n.explicit));else throw new x("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.forEach(function(u){if(!(u instanceof C))throw new x("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(u.loadKind&&u.loadKind!=="scalar")throw new x("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(u.multi)throw new x("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),l.forEach(function(u){if(!(u instanceof C))throw new x("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create($.prototype);return r.implicit=(this.implicit||[]).concat(i),r.explicit=(this.explicit||[]).concat(l),r.compiledImplicit=re(r,"implicit"),r.compiledExplicit=re(r,"explicit"),r.compiledTypeMap=Fe(r.compiledImplicit,r.compiledExplicit),r},"extend");var Ci=$,Si=new C("tag:yaml.org,2002:str",{kind:"scalar",construct:f(function(e){return e!==null?e:""},"construct")}),bi=new C("tag:yaml.org,2002:seq",{kind:"sequence",construct:f(function(e){return e!==null?e:[]},"construct")}),xi=new C("tag:yaml.org,2002:map",{kind:"mapping",construct:f(function(e){return e!==null?e:{}},"construct")}),Ti=new Ci({explicit:[Si,bi,xi]});function Pe(e){if(e===null)return!0;var n=e.length;return n===1&&e==="~"||n===4&&(e==="null"||e==="Null"||e==="NULL")}f(Pe,"resolveYamlNull");function Be(){return null}f(Be,"constructYamlNull");function De(e){return e===null}f(De,"isNull");var Ei=new C("tag:yaml.org,2002:null",{kind:"scalar",resolve:Pe,construct:Be,predicate:De,represent:{canonical:f(function(){return"~"},"canonical"),lowercase:f(function(){return"null"},"lowercase"),uppercase:f(function(){return"NULL"},"uppercase"),camelcase:f(function(){return"Null"},"camelcase"),empty:f(function(){return""},"empty")},defaultStyle:"lowercase"});function He(e){if(e===null)return!1;var n=e.length;return n===4&&(e==="true"||e==="True"||e==="TRUE")||n===5&&(e==="false"||e==="False"||e==="FALSE")}f(He,"resolveYamlBoolean");function je(e){return e==="true"||e==="True"||e==="TRUE"}f(je,"constructYamlBoolean");function Ue(e){return Object.prototype.toString.call(e)==="[object Boolean]"}f(Ue,"isBoolean");var Oi=new C("tag:yaml.org,2002:bool",{kind:"scalar",resolve:He,construct:je,predicate:Ue,represent:{lowercase:f(function(e){return e?"true":"false"},"lowercase"),uppercase:f(function(e){return e?"TRUE":"FALSE"},"uppercase"),camelcase:f(function(e){return e?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function Ke(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}f(Ke,"isHexCode");function qe(e){return 48<=e&&e<=55}f(qe,"isOctCode");function We(e){return 48<=e&&e<=57}f(We,"isDecCode");function Ge(e){if(e===null)return!1;var n=e.length,i=0,l=!1,r;if(!n)return!1;if(r=e[i],(r==="-"||r==="+")&&(r=e[++i]),r==="0"){if(i+1===n)return!0;if(r=e[++i],r==="b"){for(i++;i<n;i++)if(r=e[i],r!=="_"){if(r!=="0"&&r!=="1")return!1;l=!0}return l&&r!=="_"}if(r==="x"){for(i++;i<n;i++)if(r=e[i],r!=="_"){if(!Ke(e.charCodeAt(i)))return!1;l=!0}return l&&r!=="_"}if(r==="o"){for(i++;i<n;i++)if(r=e[i],r!=="_"){if(!qe(e.charCodeAt(i)))return!1;l=!0}return l&&r!=="_"}}if(r==="_")return!1;for(;i<n;i++)if(r=e[i],r!=="_"){if(!We(e.charCodeAt(i)))return!1;l=!0}return!(!l||r==="_")}f(Ge,"resolveYamlInteger");function $e(e){var n=e,i=1,l;if(n.indexOf("_")!==-1&&(n=n.replace(/_/g,"")),l=n[0],(l==="-"||l==="+")&&(l==="-"&&(i=-1),n=n.slice(1),l=n[0]),n==="0")return 0;if(l==="0"){if(n[1]==="b")return i*parseInt(n.slice(2),2);if(n[1]==="x")return i*parseInt(n.slice(2),16);if(n[1]==="o")return i*parseInt(n.slice(2),8)}return i*parseInt(n,10)}f($e,"constructYamlInteger");function Qe(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!w.isNegativeZero(e)}f(Qe,"isInteger");var Ii=new C("tag:yaml.org,2002:int",{kind:"scalar",resolve:Ge,construct:$e,predicate:Qe,represent:{binary:f(function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},"binary"),octal:f(function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},"octal"),decimal:f(function(e){return e.toString(10)},"decimal"),hexadecimal:f(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"]}}),ki=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Ve(e){return!(e===null||!ki.test(e)||e[e.length-1]==="_")}f(Ve,"resolveYamlFloat");function Xe(e){var n,i;return n=e.replace(/_/g,"").toLowerCase(),i=n[0]==="-"?-1:1,"+-".indexOf(n[0])>=0&&(n=n.slice(1)),n===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:n===".nan"?NaN:i*parseFloat(n,10)}f(Xe,"constructYamlFloat");var Li=/^[-+]?[0-9]+e/;function Ze(e,n){var i;if(isNaN(e))switch(n){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(n){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(n){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(w.isNegativeZero(e))return"-0.0";return i=e.toString(10),Li.test(i)?i.replace("e",".e"):i}f(Ze,"representYamlFloat");function ze(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||w.isNegativeZero(e))}f(ze,"isFloat");var Ni=new C("tag:yaml.org,2002:float",{kind:"scalar",resolve:Ve,construct:Xe,predicate:ze,represent:Ze,defaultStyle:"lowercase"}),Je=Ti.extend({implicit:[Ei,Oi,Ii,Ni]}),Ri=Je,en=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),nn=new 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 rn(e){return e===null?!1:en.exec(e)!==null||nn.exec(e)!==null}f(rn,"resolveYamlTimestamp");function ln(e){var n,i,l,r,u,o,c,a=0,t=null,d,p,s;if(n=en.exec(e),n===null&&(n=nn.exec(e)),n===null)throw new Error("Date resolve error");if(i=+n[1],l=+n[2]-1,r=+n[3],!n[4])return new Date(Date.UTC(i,l,r));if(u=+n[4],o=+n[5],c=+n[6],n[7]){for(a=n[7].slice(0,3);a.length<3;)a+="0";a=+a}return n[9]&&(d=+n[10],p=+(n[11]||0),t=(d*60+p)*6e4,n[9]==="-"&&(t=-t)),s=new Date(Date.UTC(i,l,r,u,o,c,a)),t&&s.setTime(s.getTime()-t),s}f(ln,"constructYamlTimestamp");function on(e){return e.toISOString()}f(on,"representYamlTimestamp");var Mi=new C("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:rn,construct:ln,instanceOf:Date,represent:on});function un(e){return e==="<<"||e===null}f(un,"resolveYamlMerge");var Yi=new C("tag:yaml.org,2002:merge",{kind:"scalar",resolve:un}),_e=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8
+ \r`;function cn(e){if(e===null)return!1;var n,i,l=0,r=e.length,u=_e;for(i=0;i<r;i++)if(n=u.indexOf(e.charAt(i)),!(n>64)){if(n<0)return!1;l+=6}return l%8===0}f(cn,"resolveYamlBinary");function fn(e){var n,i,l=e.replace(/[\r\n=]/g,""),r=l.length,u=_e,o=0,c=[];for(n=0;n<r;n++)n%4===0&&n&&(c.push(o>>16&255),c.push(o>>8&255),c.push(o&255)),o=o<<6|u.indexOf(l.charAt(n));return i=r%4*6,i===0?(c.push(o>>16&255),c.push(o>>8&255),c.push(o&255)):i===18?(c.push(o>>10&255),c.push(o>>2&255)):i===12&&c.push(o>>4&255),new Uint8Array(c)}f(fn,"constructYamlBinary");function an(e){var n="",i=0,l,r,u=e.length,o=_e;for(l=0;l<u;l++)l%3===0&&l&&(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[i&63]),i=(i<<8)+e[l];return r=u%3,r===0?(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[i&63]):r===2?(n+=o[i>>10&63],n+=o[i>>4&63],n+=o[i<<2&63],n+=o[64]):r===1&&(n+=o[i>>2&63],n+=o[i<<4&63],n+=o[64],n+=o[64]),n}f(an,"representYamlBinary");function tn(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}f(tn,"isBinary");var Fi=new C("tag:yaml.org,2002:binary",{kind:"scalar",resolve:cn,construct:fn,predicate:tn,represent:an}),Pi=Object.prototype.hasOwnProperty,Bi=Object.prototype.toString;function pn(e){if(e===null)return!0;var n=[],i,l,r,u,o,c=e;for(i=0,l=c.length;i<l;i+=1){if(r=c[i],o=!1,Bi.call(r)!=="[object Object]")return!1;for(u in r)if(Pi.call(r,u))if(!o)o=!0;else return!1;if(!o)return!1;if(n.indexOf(u)===-1)n.push(u);else return!1}return!0}f(pn,"resolveYamlOmap");function hn(e){return e!==null?e:[]}f(hn,"constructYamlOmap");var Di=new C("tag:yaml.org,2002:omap",{kind:"sequence",resolve:pn,construct:hn}),Hi=Object.prototype.toString;function dn(e){if(e===null)return!0;var n,i,l,r,u,o=e;for(u=new Array(o.length),n=0,i=o.length;n<i;n+=1){if(l=o[n],Hi.call(l)!=="[object Object]"||(r=Object.keys(l),r.length!==1))return!1;u[n]=[r[0],l[r[0]]]}return!0}f(dn,"resolveYamlPairs");function sn(e){if(e===null)return[];var n,i,l,r,u,o=e;for(u=new Array(o.length),n=0,i=o.length;n<i;n+=1)l=o[n],r=Object.keys(l),u[n]=[r[0],l[r[0]]];return u}f(sn,"constructYamlPairs");var ji=new C("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:dn,construct:sn}),Ui=Object.prototype.hasOwnProperty;function mn(e){if(e===null)return!0;var n,i=e;for(n in i)if(Ui.call(i,n)&&i[n]!==null)return!1;return!0}f(mn,"resolveYamlSet");function gn(e){return e!==null?e:{}}f(gn,"constructYamlSet");var Ki=new C("tag:yaml.org,2002:set",{kind:"mapping",resolve:mn,construct:gn}),vn=Ri.extend({implicit:[Mi,Yi],explicit:[Fi,Di,ji,Ki]}),L=Object.prototype.hasOwnProperty,Q=1,An=2,yn=3,V=4,ie=1,qi=2,Te=3,Wi=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Gi=/[\x85\u2028\u2029]/,$i=/[,\[\]\{\}]/,_n=/^(?:!|!!|![a-z\-]+!)$/i,wn=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function le(e){return Object.prototype.toString.call(e)}f(le,"_class");function E(e){return e===10||e===13}f(E,"is_EOL");function k(e){return e===9||e===32}f(k,"is_WHITE_SPACE");function b(e){return e===9||e===32||e===10||e===13}f(b,"is_WS_OR_EOL");function R(e){return e===44||e===91||e===93||e===123||e===125}f(R,"is_FLOW_INDICATOR");function Cn(e){var n;return 48<=e&&e<=57?e-48:(n=e|32,97<=n&&n<=102?n-97+10:-1)}f(Cn,"fromHexCode");function Sn(e){return e===120?2:e===117?4:e===85?8:0}f(Sn,"escapedHexLen");function bn(e){return 48<=e&&e<=57?e-48:-1}f(bn,"fromDecimalCode");function oe(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
9
+ `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}f(oe,"simpleEscapeSequence");function xn(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}f(xn,"charFromCodepoint");function we(e,n,i){n==="__proto__"?Object.defineProperty(e,n,{configurable:!0,enumerable:!0,writable:!0,value:i}):e[n]=i}f(we,"setProperty");var Tn=new Array(256),En=new Array(256);for(N=0;N<256;N++)Tn[N]=oe(N)?1:0,En[N]=oe(N);var N;function On(e,n){this.input=e,this.filename=n.filename||null,this.schema=n.schema||vn,this.onWarning=n.onWarning||null,this.legacy=n.legacy||!1,this.json=n.json||!1,this.listener=n.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=[]}f(On,"State$1");function Ce(e,n){var i={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return i.snippet=yi(i),new x(n,i)}f(Ce,"generateError");function h(e,n){throw Ce(e,n)}f(h,"throwError");function H(e,n){e.onWarning&&e.onWarning.call(null,Ce(e,n))}f(H,"throwWarning");var Ee={YAML:f(function(n,i,l){var r,u,o;n.version!==null&&h(n,"duplication of %YAML directive"),l.length!==1&&h(n,"YAML directive accepts exactly one argument"),r=/^([0-9]+)\.([0-9]+)$/.exec(l[0]),r===null&&h(n,"ill-formed argument of the YAML directive"),u=parseInt(r[1],10),o=parseInt(r[2],10),u!==1&&h(n,"unacceptable YAML version of the document"),n.version=l[0],n.checkLineBreaks=o<2,o!==1&&o!==2&&H(n,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:f(function(n,i,l){var r,u;l.length!==2&&h(n,"TAG directive accepts exactly two arguments"),r=l[0],u=l[1],_n.test(r)||h(n,"ill-formed tag handle (first argument) of the TAG directive"),L.call(n.tagMap,r)&&h(n,'there is a previously declared suffix for "'+r+'" tag handle'),wn.test(u)||h(n,"ill-formed tag prefix (second argument) of the TAG directive");try{u=decodeURIComponent(u)}catch{h(n,"tag prefix is malformed: "+u)}n.tagMap[r]=u},"handleTagDirective")};function I(e,n,i,l){var r,u,o,c;if(n<i){if(c=e.input.slice(n,i),l)for(r=0,u=c.length;r<u;r+=1)o=c.charCodeAt(r),o===9||32<=o&&o<=1114111||h(e,"expected valid JSON character");else Wi.test(c)&&h(e,"the stream contains non-printable characters");e.result+=c}}f(I,"captureSegment");function ue(e,n,i,l){var r,u,o,c;for(w.isObject(i)||h(e,"cannot merge mappings; the provided source object is unacceptable"),r=Object.keys(i),o=0,c=r.length;o<c;o+=1)u=r[o],L.call(n,u)||(we(n,u,i[u]),l[u]=!0)}f(ue,"mergeMappings");function M(e,n,i,l,r,u,o,c,a){var t,d;if(Array.isArray(r))for(r=Array.prototype.slice.call(r),t=0,d=r.length;t<d;t+=1)Array.isArray(r[t])&&h(e,"nested arrays are not supported inside keys"),typeof r=="object"&&le(r[t])==="[object Object]"&&(r[t]="[object Object]");if(typeof r=="object"&&le(r)==="[object Object]"&&(r="[object Object]"),r=String(r),n===null&&(n={}),l==="tag:yaml.org,2002:merge")if(Array.isArray(u))for(t=0,d=u.length;t<d;t+=1)ue(e,n,u[t],i);else ue(e,n,u,i);else!e.json&&!L.call(i,r)&&L.call(n,r)&&(e.line=o||e.line,e.lineStart=c||e.lineStart,e.position=a||e.position,h(e,"duplicated mapping key")),we(n,r,u),delete i[r];return n}f(M,"storeMappingPair");function J(e){var n;n=e.input.charCodeAt(e.position),n===10?e.position++:n===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):h(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}f(J,"readLineBreak");function _(e,n,i){for(var l=0,r=e.input.charCodeAt(e.position);r!==0;){for(;k(r);)r===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),r=e.input.charCodeAt(++e.position);if(n&&r===35)do r=e.input.charCodeAt(++e.position);while(r!==10&&r!==13&&r!==0);if(E(r))for(J(e),r=e.input.charCodeAt(e.position),l++,e.lineIndent=0;r===32;)e.lineIndent++,r=e.input.charCodeAt(++e.position);else break}return i!==-1&&l!==0&&e.lineIndent<i&&H(e,"deficient indentation"),l}f(_,"skipSeparationSpace");function q(e){var n=e.position,i;return i=e.input.charCodeAt(n),!!((i===45||i===46)&&i===e.input.charCodeAt(n+1)&&i===e.input.charCodeAt(n+2)&&(n+=3,i=e.input.charCodeAt(n),i===0||b(i)))}f(q,"testDocumentSeparator");function ee(e,n){n===1?e.result+=" ":n>1&&(e.result+=w.repeat(`
10
+ `,n-1))}f(ee,"writeFoldedLines");function In(e,n,i){var l,r,u,o,c,a,t,d,p=e.kind,s=e.result,m;if(m=e.input.charCodeAt(e.position),b(m)||R(m)||m===35||m===38||m===42||m===33||m===124||m===62||m===39||m===34||m===37||m===64||m===96||(m===63||m===45)&&(r=e.input.charCodeAt(e.position+1),b(r)||i&&R(r)))return!1;for(e.kind="scalar",e.result="",u=o=e.position,c=!1;m!==0;){if(m===58){if(r=e.input.charCodeAt(e.position+1),b(r)||i&&R(r))break}else if(m===35){if(l=e.input.charCodeAt(e.position-1),b(l))break}else{if(e.position===e.lineStart&&q(e)||i&&R(m))break;if(E(m))if(a=e.line,t=e.lineStart,d=e.lineIndent,_(e,!1,-1),e.lineIndent>=n){c=!0,m=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=a,e.lineStart=t,e.lineIndent=d;break}}c&&(I(e,u,o,!1),ee(e,e.line-a),u=o=e.position,c=!1),k(m)||(o=e.position+1),m=e.input.charCodeAt(++e.position)}return I(e,u,o,!1),e.result?!0:(e.kind=p,e.result=s,!1)}f(In,"readPlainScalar");function kn(e,n){var i,l,r;if(i=e.input.charCodeAt(e.position),i!==39)return!1;for(e.kind="scalar",e.result="",e.position++,l=r=e.position;(i=e.input.charCodeAt(e.position))!==0;)if(i===39)if(I(e,l,e.position,!0),i=e.input.charCodeAt(++e.position),i===39)l=e.position,e.position++,r=e.position;else return!0;else E(i)?(I(e,l,r,!0),ee(e,_(e,!1,n)),l=r=e.position):e.position===e.lineStart&&q(e)?h(e,"unexpected end of the document within a single quoted scalar"):(e.position++,r=e.position);h(e,"unexpected end of the stream within a single quoted scalar")}f(kn,"readSingleQuotedScalar");function Ln(e,n){var i,l,r,u,o,c;if(c=e.input.charCodeAt(e.position),c!==34)return!1;for(e.kind="scalar",e.result="",e.position++,i=l=e.position;(c=e.input.charCodeAt(e.position))!==0;){if(c===34)return I(e,i,e.position,!0),e.position++,!0;if(c===92){if(I(e,i,e.position,!0),c=e.input.charCodeAt(++e.position),E(c))_(e,!1,n);else if(c<256&&Tn[c])e.result+=En[c],e.position++;else if((o=Sn(c))>0){for(r=o,u=0;r>0;r--)c=e.input.charCodeAt(++e.position),(o=Cn(c))>=0?u=(u<<4)+o:h(e,"expected hexadecimal character");e.result+=xn(u),e.position++}else h(e,"unknown escape sequence");i=l=e.position}else E(c)?(I(e,i,l,!0),ee(e,_(e,!1,n)),i=l=e.position):e.position===e.lineStart&&q(e)?h(e,"unexpected end of the document within a double quoted scalar"):(e.position++,l=e.position)}h(e,"unexpected end of the stream within a double quoted scalar")}f(Ln,"readDoubleQuotedScalar");function Nn(e,n){var i=!0,l,r,u,o=e.tag,c,a=e.anchor,t,d,p,s,m,g=Object.create(null),A,y,T,v;if(v=e.input.charCodeAt(e.position),v===91)d=93,m=!1,c=[];else if(v===123)d=125,m=!0,c={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=c),v=e.input.charCodeAt(++e.position);v!==0;){if(_(e,!0,n),v=e.input.charCodeAt(e.position),v===d)return e.position++,e.tag=o,e.anchor=a,e.kind=m?"mapping":"sequence",e.result=c,!0;i?v===44&&h(e,"expected the node content, but found ','"):h(e,"missed comma between flow collection entries"),y=A=T=null,p=s=!1,v===63&&(t=e.input.charCodeAt(e.position+1),b(t)&&(p=s=!0,e.position++,_(e,!0,n))),l=e.line,r=e.lineStart,u=e.position,Y(e,n,Q,!1,!0),y=e.tag,A=e.result,_(e,!0,n),v=e.input.charCodeAt(e.position),(s||e.line===l)&&v===58&&(p=!0,v=e.input.charCodeAt(++e.position),_(e,!0,n),Y(e,n,Q,!1,!0),T=e.result),m?M(e,c,g,y,A,T,l,r,u):p?c.push(M(e,null,g,y,A,T,l,r,u)):c.push(A),_(e,!0,n),v=e.input.charCodeAt(e.position),v===44?(i=!0,v=e.input.charCodeAt(++e.position)):i=!1}h(e,"unexpected end of the stream within a flow collection")}f(Nn,"readFlowCollection");function Rn(e,n){var i,l,r=ie,u=!1,o=!1,c=n,a=0,t=!1,d,p;if(p=e.input.charCodeAt(e.position),p===124)l=!1;else if(p===62)l=!0;else return!1;for(e.kind="scalar",e.result="";p!==0;)if(p=e.input.charCodeAt(++e.position),p===43||p===45)ie===r?r=p===43?Te:qi:h(e,"repeat of a chomping mode identifier");else if((d=bn(p))>=0)d===0?h(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?h(e,"repeat of an indentation width identifier"):(c=n+d-1,o=!0);else break;if(k(p)){do p=e.input.charCodeAt(++e.position);while(k(p));if(p===35)do p=e.input.charCodeAt(++e.position);while(!E(p)&&p!==0)}for(;p!==0;){for(J(e),e.lineIndent=0,p=e.input.charCodeAt(e.position);(!o||e.lineIndent<c)&&p===32;)e.lineIndent++,p=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>c&&(c=e.lineIndent),E(p)){a++;continue}if(e.lineIndent<c){r===Te?e.result+=w.repeat(`
11
+ `,u?1+a:a):r===ie&&u&&(e.result+=`
12
+ `);break}for(l?k(p)?(t=!0,e.result+=w.repeat(`
13
+ `,u?1+a:a)):t?(t=!1,e.result+=w.repeat(`
14
+ `,a+1)):a===0?u&&(e.result+=" "):e.result+=w.repeat(`
15
+ `,a):e.result+=w.repeat(`
16
+ `,u?1+a:a),u=!0,o=!0,a=0,i=e.position;!E(p)&&p!==0;)p=e.input.charCodeAt(++e.position);I(e,i,e.position,!1)}return!0}f(Rn,"readBlockScalar");function ce(e,n){var i,l=e.tag,r=e.anchor,u=[],o,c=!1,a;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=u),a=e.input.charCodeAt(e.position);a!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,h(e,"tab characters must not be used in indentation")),!(a!==45||(o=e.input.charCodeAt(e.position+1),!b(o))));){if(c=!0,e.position++,_(e,!0,-1)&&e.lineIndent<=n){u.push(null),a=e.input.charCodeAt(e.position);continue}if(i=e.line,Y(e,n,yn,!1,!0),u.push(e.result),_(e,!0,-1),a=e.input.charCodeAt(e.position),(e.line===i||e.lineIndent>n)&&a!==0)h(e,"bad indentation of a sequence entry");else if(e.lineIndent<n)break}return c?(e.tag=l,e.anchor=r,e.kind="sequence",e.result=u,!0):!1}f(ce,"readBlockSequence");function Mn(e,n,i){var l,r,u,o,c,a,t=e.tag,d=e.anchor,p={},s=Object.create(null),m=null,g=null,A=null,y=!1,T=!1,v;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=p),v=e.input.charCodeAt(e.position);v!==0;){if(!y&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,h(e,"tab characters must not be used in indentation")),l=e.input.charCodeAt(e.position+1),u=e.line,(v===63||v===58)&&b(l))v===63?(y&&(M(e,p,s,m,g,null,o,c,a),m=g=A=null),T=!0,y=!0,r=!0):y?(y=!1,r=!0):h(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,v=l;else{if(o=e.line,c=e.lineStart,a=e.position,!Y(e,i,An,!1,!0))break;if(e.line===u){for(v=e.input.charCodeAt(e.position);k(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),b(v)||h(e,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(M(e,p,s,m,g,null,o,c,a),m=g=A=null),T=!0,y=!1,r=!1,m=e.tag,g=e.result;else if(T)h(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=t,e.anchor=d,!0}else if(T)h(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=t,e.anchor=d,!0}if((e.line===u||e.lineIndent>n)&&(y&&(o=e.line,c=e.lineStart,a=e.position),Y(e,n,V,!0,r)&&(y?g=e.result:A=e.result),y||(M(e,p,s,m,g,A,o,c,a),m=g=A=null),_(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===u||e.lineIndent>n)&&v!==0)h(e,"bad indentation of a mapping entry");else if(e.lineIndent<n)break}return y&&M(e,p,s,m,g,null,o,c,a),T&&(e.tag=t,e.anchor=d,e.kind="mapping",e.result=p),T}f(Mn,"readBlockMapping");function Yn(e){var n,i=!1,l=!1,r,u,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&h(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(i=!0,o=e.input.charCodeAt(++e.position)):o===33?(l=!0,r="!!",o=e.input.charCodeAt(++e.position)):r="!",n=e.position,i){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(u=e.input.slice(n,e.position),o=e.input.charCodeAt(++e.position)):h(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!b(o);)o===33&&(l?h(e,"tag suffix cannot contain exclamation marks"):(r=e.input.slice(n-1,e.position+1),_n.test(r)||h(e,"named tag handle cannot contain such characters"),l=!0,n=e.position+1)),o=e.input.charCodeAt(++e.position);u=e.input.slice(n,e.position),$i.test(u)&&h(e,"tag suffix cannot contain flow indicator characters")}u&&!wn.test(u)&&h(e,"tag name cannot contain such characters: "+u);try{u=decodeURIComponent(u)}catch{h(e,"tag name is malformed: "+u)}return i?e.tag=u:L.call(e.tagMap,r)?e.tag=e.tagMap[r]+u:r==="!"?e.tag="!"+u:r==="!!"?e.tag="tag:yaml.org,2002:"+u:h(e,'undeclared tag handle "'+r+'"'),!0}f(Yn,"readTagProperty");function Fn(e){var n,i;if(i=e.input.charCodeAt(e.position),i!==38)return!1;for(e.anchor!==null&&h(e,"duplication of an anchor property"),i=e.input.charCodeAt(++e.position),n=e.position;i!==0&&!b(i)&&!R(i);)i=e.input.charCodeAt(++e.position);return e.position===n&&h(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(n,e.position),!0}f(Fn,"readAnchorProperty");function Pn(e){var n,i,l;if(l=e.input.charCodeAt(e.position),l!==42)return!1;for(l=e.input.charCodeAt(++e.position),n=e.position;l!==0&&!b(l)&&!R(l);)l=e.input.charCodeAt(++e.position);return e.position===n&&h(e,"name of an alias node must contain at least one character"),i=e.input.slice(n,e.position),L.call(e.anchorMap,i)||h(e,'unidentified alias "'+i+'"'),e.result=e.anchorMap[i],_(e,!0,-1),!0}f(Pn,"readAlias");function Y(e,n,i,l,r){var u,o,c,a=1,t=!1,d=!1,p,s,m,g,A,y;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,u=o=c=V===i||yn===i,l&&_(e,!0,-1)&&(t=!0,e.lineIndent>n?a=1:e.lineIndent===n?a=0:e.lineIndent<n&&(a=-1)),a===1)for(;Yn(e)||Fn(e);)_(e,!0,-1)?(t=!0,c=u,e.lineIndent>n?a=1:e.lineIndent===n?a=0:e.lineIndent<n&&(a=-1)):c=!1;if(c&&(c=t||r),(a===1||V===i)&&(Q===i||An===i?A=n:A=n+1,y=e.position-e.lineStart,a===1?c&&(ce(e,y)||Mn(e,y,A))||Nn(e,A)?d=!0:(o&&Rn(e,A)||kn(e,A)||Ln(e,A)?d=!0:Pn(e)?(d=!0,(e.tag!==null||e.anchor!==null)&&h(e,"alias node should not have any properties")):In(e,A,Q===i)&&(d=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):a===0&&(d=c&&ce(e,y))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&h(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),p=0,s=e.implicitTypes.length;p<s;p+=1)if(g=e.implicitTypes[p],g.resolve(e.result)){e.result=g.construct(e.result),e.tag=g.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(L.call(e.typeMap[e.kind||"fallback"],e.tag))g=e.typeMap[e.kind||"fallback"][e.tag];else for(g=null,m=e.typeMap.multi[e.kind||"fallback"],p=0,s=m.length;p<s;p+=1)if(e.tag.slice(0,m[p].tag.length)===m[p].tag){g=m[p];break}g||h(e,"unknown tag !<"+e.tag+">"),e.result!==null&&g.kind!==e.kind&&h(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+g.kind+'", not "'+e.kind+'"'),g.resolve(e.result,e.tag)?(e.result=g.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):h(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||d}f(Y,"composeNode");function Bn(e){var n=e.position,i,l,r,u=!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&&(_(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(u=!0,o=e.input.charCodeAt(++e.position),i=e.position;o!==0&&!b(o);)o=e.input.charCodeAt(++e.position);for(l=e.input.slice(i,e.position),r=[],l.length<1&&h(e,"directive name must not be less than one character in length");o!==0;){for(;k(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!E(o));break}if(E(o))break;for(i=e.position;o!==0&&!b(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(i,e.position))}o!==0&&J(e),L.call(Ee,l)?Ee[l](e,l,r):H(e,'unknown document directive "'+l+'"')}if(_(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,_(e,!0,-1)):u&&h(e,"directives end mark is expected"),Y(e,e.lineIndent-1,V,!1,!0),_(e,!0,-1),e.checkLineBreaks&&Gi.test(e.input.slice(n,e.position))&&H(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&q(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,_(e,!0,-1));return}if(e.position<e.length-1)h(e,"end of the stream or a document separator is expected");else return}f(Bn,"readDocument");function Se(e,n){e=String(e),n=n||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
17
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var i=new On(e,n),l=e.indexOf("\0");for(l!==-1&&(i.position=l,h(i,"null byte is not allowed in input")),i.input+="\0";i.input.charCodeAt(i.position)===32;)i.lineIndent+=1,i.position+=1;for(;i.position<i.length-1;)Bn(i);return i.documents}f(Se,"loadDocuments");function Dn(e,n,i){n!==null&&typeof n=="object"&&typeof i>"u"&&(i=n,n=null);var l=Se(e,i);if(typeof n!="function")return l;for(var r=0,u=l.length;r<u;r+=1)n(l[r])}f(Dn,"loadAll$1");function Hn(e,n){var i=Se(e,n);if(i.length!==0){if(i.length===1)return i[0];throw new x("expected a single document in the stream, but found more")}}f(Hn,"load$1");var Qi=Dn,Vi=Hn,jn={loadAll:Qi,load:Vi},Un=Object.prototype.toString,Kn=Object.prototype.hasOwnProperty,be=65279,Xi=9,j=10,Zi=13,zi=32,Ji=33,er=34,fe=35,nr=37,ir=38,rr=39,lr=42,qn=44,or=45,X=58,ur=61,cr=62,fr=63,ar=64,Wn=91,Gn=93,tr=96,$n=123,pr=124,Qn=125,S={};S[0]="\\0";S[7]="\\a";S[8]="\\b";S[9]="\\t";S[10]="\\n";S[11]="\\v";S[12]="\\f";S[13]="\\r";S[27]="\\e";S[34]='\\"';S[92]="\\\\";S[133]="\\N";S[160]="\\_";S[8232]="\\L";S[8233]="\\P";var hr=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],dr=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function Vn(e,n){var i,l,r,u,o,c,a;if(n===null)return{};for(i={},l=Object.keys(n),r=0,u=l.length;r<u;r+=1)o=l[r],c=String(n[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),a=e.compiledTypeMap.fallback[o],a&&Kn.call(a.styleAliases,c)&&(c=a.styleAliases[c]),i[o]=c;return i}f(Vn,"compileStyleMap");function Xn(e){var n,i,l;if(n=e.toString(16).toUpperCase(),e<=255)i="x",l=2;else if(e<=65535)i="u",l=4;else if(e<=4294967295)i="U",l=8;else throw new x("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+i+w.repeat("0",l-n.length)+n}f(Xn,"encodeHex");var sr=1,U=2;function Zn(e){this.schema=e.schema||vn,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=w.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=Vn(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==='"'?U: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}f(Zn,"State");function ae(e,n){for(var i=w.repeat(" ",n),l=0,r=-1,u="",o,c=e.length;l<c;)r=e.indexOf(`
18
+ `,l),r===-1?(o=e.slice(l),l=c):(o=e.slice(l,r+1),l=r+1),o.length&&o!==`
19
+ `&&(u+=i),u+=o;return u}f(ae,"indentString");function Z(e,n){return`
20
+ `+w.repeat(" ",e.indent*n)}f(Z,"generateNextLine");function zn(e,n){var i,l,r;for(i=0,l=e.implicitTypes.length;i<l;i+=1)if(r=e.implicitTypes[i],r.resolve(n))return!0;return!1}f(zn,"testImplicitResolving");function K(e){return e===zi||e===Xi}f(K,"isWhitespace");function D(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==be||65536<=e&&e<=1114111}f(D,"isPrintable");function te(e){return D(e)&&e!==be&&e!==Zi&&e!==j}f(te,"isNsCharOrWhitespace");function pe(e,n,i){var l=te(e),r=l&&!K(e);return(i?l:l&&e!==qn&&e!==Wn&&e!==Gn&&e!==$n&&e!==Qn)&&e!==fe&&!(n===X&&!r)||te(n)&&!K(n)&&e===fe||n===X&&r}f(pe,"isPlainSafe");function Jn(e){return D(e)&&e!==be&&!K(e)&&e!==or&&e!==fr&&e!==X&&e!==qn&&e!==Wn&&e!==Gn&&e!==$n&&e!==Qn&&e!==fe&&e!==ir&&e!==lr&&e!==Ji&&e!==pr&&e!==ur&&e!==cr&&e!==rr&&e!==er&&e!==nr&&e!==ar&&e!==tr}f(Jn,"isPlainSafeFirst");function ei(e){return!K(e)&&e!==X}f(ei,"isPlainSafeLast");function P(e,n){var i=e.charCodeAt(n),l;return i>=55296&&i<=56319&&n+1<e.length&&(l=e.charCodeAt(n+1),l>=56320&&l<=57343)?(i-55296)*1024+l-56320+65536:i}f(P,"codePointAt");function xe(e){var n=/^\n* /;return n.test(e)}f(xe,"needIndentIndicator");var ni=1,he=2,ii=3,ri=4,F=5;function li(e,n,i,l,r,u,o,c){var a,t=0,d=null,p=!1,s=!1,m=l!==-1,g=-1,A=Jn(P(e,0))&&ei(P(e,e.length-1));if(n||o)for(a=0;a<e.length;t>=65536?a+=2:a++){if(t=P(e,a),!D(t))return F;A=A&&pe(t,d,c),d=t}else{for(a=0;a<e.length;t>=65536?a+=2:a++){if(t=P(e,a),t===j)p=!0,m&&(s=s||a-g-1>l&&e[g+1]!==" ",g=a);else if(!D(t))return F;A=A&&pe(t,d,c),d=t}s=s||m&&a-g-1>l&&e[g+1]!==" "}return!p&&!s?A&&!o&&!r(e)?ni:u===U?F:he:i>9&&xe(e)?F:o?u===U?F:he:s?ri:ii}f(li,"chooseScalarStyle");function oi(e,n,i,l,r){e.dump=(function(){if(n.length===0)return e.quotingType===U?'""':"''";if(!e.noCompatMode&&(hr.indexOf(n)!==-1||dr.test(n)))return e.quotingType===U?'"'+n+'"':"'"+n+"'";var u=e.indent*Math.max(1,i),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-u),c=l||e.flowLevel>-1&&i>=e.flowLevel;function a(t){return zn(e,t)}switch(f(a,"testAmbiguity"),li(n,c,e.indent,o,a,e.quotingType,e.forceQuotes&&!l,r)){case ni:return n;case he:return"'"+n.replace(/'/g,"''")+"'";case ii:return"|"+de(n,e.indent)+se(ae(n,u));case ri:return">"+de(n,e.indent)+se(ae(ui(n,o),u));case F:return'"'+ci(n)+'"';default:throw new x("impossible error: invalid scalar style")}})()}f(oi,"writeScalar");function de(e,n){var i=xe(e)?String(n):"",l=e[e.length-1]===`
21
+ `,r=l&&(e[e.length-2]===`
22
+ `||e===`
23
+ `),u=r?"+":l?"":"-";return i+u+`
24
+ `}f(de,"blockHeader");function se(e){return e[e.length-1]===`
25
+ `?e.slice(0,-1):e}f(se,"dropEndingNewline");function ui(e,n){for(var i=/(\n+)([^\n]*)/g,l=(function(){var t=e.indexOf(`
26
+ `);return t=t!==-1?t:e.length,i.lastIndex=t,me(e.slice(0,t),n)})(),r=e[0]===`
27
+ `||e[0]===" ",u,o;o=i.exec(e);){var c=o[1],a=o[2];u=a[0]===" ",l+=c+(!r&&!u&&a!==""?`
28
+ `:"")+me(a,n),r=u}return l}f(ui,"foldString");function me(e,n){if(e===""||e[0]===" ")return e;for(var i=/ [^ ]/g,l,r=0,u,o=0,c=0,a="";l=i.exec(e);)c=l.index,c-r>n&&(u=o>r?o:c,a+=`
29
+ `+e.slice(r,u),r=u+1),o=c;return a+=`
30
+ `,e.length-r>n&&o>r?a+=e.slice(r,o)+`
31
+ `+e.slice(o+1):a+=e.slice(r),a.slice(1)}f(me,"foldLine");function ci(e){for(var n="",i=0,l,r=0;r<e.length;i>=65536?r+=2:r++)i=P(e,r),l=S[i],!l&&D(i)?(n+=e[r],i>=65536&&(n+=e[r+1])):n+=l||Xn(i);return n}f(ci,"escapeString");function fi(e,n,i){var l="",r=e.tag,u,o,c;for(u=0,o=i.length;u<o;u+=1)c=i[u],e.replacer&&(c=e.replacer.call(i,String(u),c)),(O(e,n,c,!1,!1)||typeof c>"u"&&O(e,n,null,!1,!1))&&(l!==""&&(l+=","+(e.condenseFlow?"":" ")),l+=e.dump);e.tag=r,e.dump="["+l+"]"}f(fi,"writeFlowSequence");function ge(e,n,i,l){var r="",u=e.tag,o,c,a;for(o=0,c=i.length;o<c;o+=1)a=i[o],e.replacer&&(a=e.replacer.call(i,String(o),a)),(O(e,n+1,a,!0,!0,!1,!0)||typeof a>"u"&&O(e,n+1,null,!0,!0,!1,!0))&&((!l||r!=="")&&(r+=Z(e,n)),e.dump&&j===e.dump.charCodeAt(0)?r+="-":r+="- ",r+=e.dump);e.tag=u,e.dump=r||"[]"}f(ge,"writeBlockSequence");function ai(e,n,i){var l="",r=e.tag,u=Object.keys(i),o,c,a,t,d;for(o=0,c=u.length;o<c;o+=1)d="",l!==""&&(d+=", "),e.condenseFlow&&(d+='"'),a=u[o],t=i[a],e.replacer&&(t=e.replacer.call(i,a,t)),O(e,n,a,!1,!1)&&(e.dump.length>1024&&(d+="? "),d+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),O(e,n,t,!1,!1)&&(d+=e.dump,l+=d));e.tag=r,e.dump="{"+l+"}"}f(ai,"writeFlowMapping");function ti(e,n,i,l){var r="",u=e.tag,o=Object.keys(i),c,a,t,d,p,s;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new x("sortKeys must be a boolean or a function");for(c=0,a=o.length;c<a;c+=1)s="",(!l||r!=="")&&(s+=Z(e,n)),t=o[c],d=i[t],e.replacer&&(d=e.replacer.call(i,t,d)),O(e,n+1,t,!0,!0,!0)&&(p=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,p&&(e.dump&&j===e.dump.charCodeAt(0)?s+="?":s+="? "),s+=e.dump,p&&(s+=Z(e,n)),O(e,n+1,d,!0,p)&&(e.dump&&j===e.dump.charCodeAt(0)?s+=":":s+=": ",s+=e.dump,r+=s));e.tag=u,e.dump=r||"{}"}f(ti,"writeBlockMapping");function ve(e,n,i){var l,r,u,o,c,a;for(r=i?e.explicitTypes:e.implicitTypes,u=0,o=r.length;u<o;u+=1)if(c=r[u],(c.instanceOf||c.predicate)&&(!c.instanceOf||typeof n=="object"&&n instanceof c.instanceOf)&&(!c.predicate||c.predicate(n))){if(i?c.multi&&c.representName?e.tag=c.representName(n):e.tag=c.tag:e.tag="?",c.represent){if(a=e.styleMap[c.tag]||c.defaultStyle,Un.call(c.represent)==="[object Function]")l=c.represent(n,a);else if(Kn.call(c.represent,a))l=c.represent[a](n,a);else throw new x("!<"+c.tag+'> tag resolver accepts not "'+a+'" style');e.dump=l}return!0}return!1}f(ve,"detectType");function O(e,n,i,l,r,u,o){e.tag=null,e.dump=i,ve(e,i,!1)||ve(e,i,!0);var c=Un.call(e.dump),a=l,t;l&&(l=e.flowLevel<0||e.flowLevel>n);var d=c==="[object Object]"||c==="[object Array]",p,s;if(d&&(p=e.duplicates.indexOf(i),s=p!==-1),(e.tag!==null&&e.tag!=="?"||s||e.indent!==2&&n>0)&&(r=!1),s&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(d&&s&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),c==="[object Object]")l&&Object.keys(e.dump).length!==0?(ti(e,n,e.dump,r),s&&(e.dump="&ref_"+p+e.dump)):(ai(e,n,e.dump),s&&(e.dump="&ref_"+p+" "+e.dump));else if(c==="[object Array]")l&&e.dump.length!==0?(e.noArrayIndent&&!o&&n>0?ge(e,n-1,e.dump,r):ge(e,n,e.dump,r),s&&(e.dump="&ref_"+p+e.dump)):(fi(e,n,e.dump),s&&(e.dump="&ref_"+p+" "+e.dump));else if(c==="[object String]")e.tag!=="?"&&oi(e,e.dump,n,u,a);else{if(c==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new x("unacceptable kind of an object to dump "+c)}e.tag!==null&&e.tag!=="?"&&(t=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?t="!"+t:t.slice(0,18)==="tag:yaml.org,2002:"?t="!!"+t.slice(18):t="!<"+t+">",e.dump=t+" "+e.dump)}return!0}f(O,"writeNode");function pi(e,n){var i=[],l=[],r,u;for(z(e,i,l),r=0,u=l.length;r<u;r+=1)n.duplicates.push(i[l[r]]);n.usedDuplicates=new Array(u)}f(pi,"getDuplicateReferences");function z(e,n,i){var l,r,u;if(e!==null&&typeof e=="object")if(r=n.indexOf(e),r!==-1)i.indexOf(r)===-1&&i.push(r);else if(n.push(e),Array.isArray(e))for(r=0,u=e.length;r<u;r+=1)z(e[r],n,i);else for(l=Object.keys(e),r=0,u=l.length;r<u;r+=1)z(e[l[r]],n,i)}f(z,"inspectNode");function hi(e,n){n=n||{};var i=new Zn(n);i.noRefs||pi(e,i);var l=e;return i.replacer&&(l=i.replacer.call({"":l},"",l)),O(i,0,l,!0,!0)?i.dump+`
32
+ `:""}f(hi,"dump$1");var mr=hi,gr={dump:mr};function ne(e,n){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+n+" instead, which is now safe by default.")}}f(ne,"renamed");var Ar=Je,yr=jn.load,_r=jn.loadAll,wr=gr.dump,Cr=ne("safeLoad","load"),Sr=ne("safeLoadAll","loadAll"),br=ne("safeDump","dump");export{Ar as a,yr as b};
33
+ //# sourceMappingURL=chunk-YC75LZ32.js.map