mio-previewer 0.2.81 → 0.2.83

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 (93) hide show
  1. package/dist/{_basePickBy-4DeI7Sd9.js → _basePickBy-B_fUHBq7.js} +1 -1
  2. package/dist/{_basePickBy-fK38Is48.cjs → _basePickBy-Dqo5imhM.cjs} +1 -1
  3. package/dist/{_baseUniq-DbG7pvUV.cjs → _baseUniq-CGg_yy3w.cjs} +1 -1
  4. package/dist/{_baseUniq-BiOfy4Zq.js → _baseUniq-D_yJ2cWz.js} +1 -1
  5. package/dist/architecture-O4VJ6CD3-BS1qaWrP.js +2 -0
  6. package/dist/architecture-O4VJ6CD3-pWor6yxt.cjs +1 -0
  7. package/dist/{architectureDiagram-VXUJARFQ-XQiXCJ1R.cjs → architectureDiagram-VXUJARFQ-CLwpMJT5.cjs} +1 -1
  8. package/dist/{architectureDiagram-VXUJARFQ-BjO8TT3C.js → architectureDiagram-VXUJARFQ-DcNHf7VL.js} +2 -2
  9. package/dist/{blockDiagram-VD42YOAC-3797lmee.cjs → blockDiagram-VD42YOAC-BLLCnii-.cjs} +1 -1
  10. package/dist/{blockDiagram-VD42YOAC-kn2a-098.js → blockDiagram-VD42YOAC-Btz-ItbV.js} +2 -2
  11. package/dist/{chunk-B4BG7PRW-BtJEjwS8.cjs → chunk-B4BG7PRW-Ci2sdKF-.cjs} +1 -1
  12. package/dist/{chunk-B4BG7PRW-DHY7VtDV.js → chunk-B4BG7PRW-ZQiq1R0I.js} +1 -1
  13. package/dist/{chunk-DI55MBZ5-4e69XZPR.js → chunk-DI55MBZ5-D-GpYXKH.js} +1 -1
  14. package/dist/{chunk-DI55MBZ5-DprPlFVg.cjs → chunk-DI55MBZ5-XEFwozWD.cjs} +1 -1
  15. package/dist/{classDiagram-2ON5EDUG-CGQPb_Ub.js → classDiagram-2ON5EDUG-D6DuGzSf.js} +2 -2
  16. package/dist/{classDiagram-2ON5EDUG-1aO8MRfO.cjs → classDiagram-2ON5EDUG-DkRQ5GOj.cjs} +1 -1
  17. package/dist/{classDiagram-v2-WZHVMYZB-BfB0DYeF.js → classDiagram-v2-WZHVMYZB-Ah0fVcwK.js} +2 -2
  18. package/dist/{classDiagram-v2-WZHVMYZB-1aO8MRfO.cjs → classDiagram-v2-WZHVMYZB-DkRQ5GOj.cjs} +1 -1
  19. package/dist/{clone-B7ysxKje.js → clone-6W0bDM--.js} +1 -1
  20. package/dist/clone-BzPrn9vX.cjs +1 -0
  21. package/dist/{custom-zFYvYngn.js → custom-BEVHZhjn.js} +1057 -1059
  22. package/dist/{custom-CTbYnXJM.cjs → custom-CFJtq50-.cjs} +9 -9
  23. package/dist/{dagre-6UL2VRFP-BaHUY8Hb.js → dagre-6UL2VRFP-C3Ipvs60.js} +5 -5
  24. package/dist/{dagre-6UL2VRFP-htRqTf-w.cjs → dagre-6UL2VRFP-CjL-Aopb.cjs} +1 -1
  25. package/dist/{dagre-BsYISGks.js → dagre-C8kEqhY-.js} +4 -4
  26. package/dist/{dagre-LrmDlPcx.cjs → dagre-CKZi16ud.cjs} +1 -1
  27. package/dist/{diagram-PSM6KHXK-DNvQqRSW.cjs → diagram-PSM6KHXK-DMa_Nrh3.cjs} +1 -1
  28. package/dist/{diagram-PSM6KHXK-DgowxSOD.js → diagram-PSM6KHXK-DpWcqYnH.js} +2 -2
  29. package/dist/{diagram-QEK2KX5R-I5j0P1Gg.cjs → diagram-QEK2KX5R-C1I_WFRU.cjs} +1 -1
  30. package/dist/{diagram-QEK2KX5R-wbcwN2OH.js → diagram-QEK2KX5R-meoSBUIM.js} +2 -2
  31. package/dist/{diagram-S2PKOQOG-R3_EPZ4Z.js → diagram-S2PKOQOG-CT-b436r.js} +2 -2
  32. package/dist/{diagram-S2PKOQOG-DK84ClRy.cjs → diagram-S2PKOQOG-DhWT3-d3.cjs} +1 -1
  33. package/dist/{erDiagram-Q2GNP2WA-D67CXTUo.cjs → erDiagram-Q2GNP2WA-BcI48E73.cjs} +1 -1
  34. package/dist/{erDiagram-Q2GNP2WA-3muHSADM.js → erDiagram-Q2GNP2WA-DTb2sgR_.js} +1 -1
  35. package/dist/{flowDiagram-NV44I4VS-JmA5InDJ.cjs → flowDiagram-NV44I4VS-CojdaEhH.cjs} +1 -1
  36. package/dist/{flowDiagram-NV44I4VS-CXF2rH58.js → flowDiagram-NV44I4VS-DW3pSjNx.js} +1 -1
  37. package/dist/gitGraph-ZV4HHKMB-BbcJrvYt.js +2 -0
  38. package/dist/gitGraph-ZV4HHKMB-DXFDUL4o.cjs +1 -0
  39. package/dist/{gitGraphDiagram-NY62KEGX-DnaSfz6O.js → gitGraphDiagram-NY62KEGX-DfMVgHMj.js} +1 -1
  40. package/dist/{gitGraphDiagram-NY62KEGX-Cky6DbTs.cjs → gitGraphDiagram-NY62KEGX-Do6avzMz.cjs} +1 -1
  41. package/dist/{graphlib-BDSGIwy5.js → graphlib-DZdg5a0e.js} +2 -2
  42. package/dist/{graphlib-COlsWh5G.cjs → graphlib-DlDIM8qv.cjs} +1 -1
  43. package/dist/info-63CPKGFF-BF1W-kBt.js +2 -0
  44. package/dist/info-63CPKGFF-OqKEIkyb.cjs +1 -0
  45. package/dist/{infoDiagram-F6ZHWCRC-CowQBjpH.cjs → infoDiagram-F6ZHWCRC-D83iIi2o.cjs} +1 -1
  46. package/dist/{infoDiagram-F6ZHWCRC-C-2JvOQj.js → infoDiagram-F6ZHWCRC-DkHDmcca.js} +2 -2
  47. package/dist/{kanban-definition-3W4ZIXB7-DFwQurcd.cjs → kanban-definition-3W4ZIXB7-BjUoDDjG.cjs} +1 -1
  48. package/dist/{kanban-definition-3W4ZIXB7-BA-P9_O1.js → kanban-definition-3W4ZIXB7-CRenxDOa.js} +1 -1
  49. package/dist/{mermaid-parser.core-CaUKRbWB.cjs → mermaid-parser.core-BY0bWKp5.cjs} +2 -2
  50. package/dist/{mermaid-parser.core-C0stGw3M.js → mermaid-parser.core-CTjeJcfH.js} +11 -11
  51. package/dist/{mindmap-definition-VGOIOE7T-JxzPkyHv.cjs → mindmap-definition-VGOIOE7T-BLEOQkZC.cjs} +1 -1
  52. package/dist/{mindmap-definition-VGOIOE7T-Bqx5iev5.js → mindmap-definition-VGOIOE7T-BeJDmJ4f.js} +1 -1
  53. package/dist/mio-previewer.cjs.js +2 -2
  54. package/dist/mio-previewer.css +1 -1
  55. package/dist/mio-previewer.es.js +85 -48
  56. package/dist/packet-HUATNLJX-BVdybaXv.js +2 -0
  57. package/dist/packet-HUATNLJX-DS1ZaMFj.cjs +1 -0
  58. package/dist/pie-WTHONI2E-DIWIyQKf.js +2 -0
  59. package/dist/pie-WTHONI2E-DY813YuK.cjs +1 -0
  60. package/dist/{pieDiagram-ADFJNKIX-i8x87zyM.cjs → pieDiagram-ADFJNKIX-89MFsDom.cjs} +1 -1
  61. package/dist/{pieDiagram-ADFJNKIX-CqeByC3c.js → pieDiagram-ADFJNKIX-DjW2gwan.js} +2 -2
  62. package/dist/plugins/custom.cjs.js +1 -1
  63. package/dist/plugins/custom.es.js +1 -1
  64. package/dist/radar-NJJJXTRR-DRgjWYOi.cjs +1 -0
  65. package/dist/radar-NJJJXTRR-qBj3iw7X.js +2 -0
  66. package/dist/{requirementDiagram-UZGBJVZJ-CHV5QyaU.js → requirementDiagram-UZGBJVZJ-CZw8XwAQ.js} +1 -1
  67. package/dist/{requirementDiagram-UZGBJVZJ-CkcmHGky.cjs → requirementDiagram-UZGBJVZJ-DUGy8FaZ.cjs} +1 -1
  68. package/dist/{sequenceDiagram-WL72ISMW-C6ZHiCkW.cjs → sequenceDiagram-WL72ISMW-CaEuUrMX.cjs} +1 -1
  69. package/dist/{sequenceDiagram-WL72ISMW-BrXwkh9-.js → sequenceDiagram-WL72ISMW-D_npYx8y.js} +1 -1
  70. package/dist/{stateDiagram-FKZM4ZOC-BexHjwuY.cjs → stateDiagram-FKZM4ZOC-B0OX9oAF.cjs} +1 -1
  71. package/dist/{stateDiagram-FKZM4ZOC-BNKd7Zjp.js → stateDiagram-FKZM4ZOC-CybCdeuK.js} +4 -4
  72. package/dist/{stateDiagram-v2-4FDKWEC3-BV5hZe8g.cjs → stateDiagram-v2-4FDKWEC3-B_aDvBm0.cjs} +1 -1
  73. package/dist/{stateDiagram-v2-4FDKWEC3-BBQ_35IT.js → stateDiagram-v2-4FDKWEC3-BhgHpXjD.js} +2 -2
  74. package/dist/treemap-75Q7IDZK-CN96qMnk.cjs +1 -0
  75. package/dist/treemap-75Q7IDZK-DW1QHTpM.js +2 -0
  76. package/dist/{xychartDiagram-PRI3JC2R-Sign6lKR.js → xychartDiagram-PRI3JC2R-C4S1jDTS.js} +1 -1
  77. package/dist/{xychartDiagram-PRI3JC2R-Uuh1GI7r.cjs → xychartDiagram-PRI3JC2R-nUj0lqZ0.cjs} +1 -1
  78. package/package.json +1 -1
  79. package/dist/architecture-O4VJ6CD3-Br6wckiC.js +0 -2
  80. package/dist/architecture-O4VJ6CD3-DW6Y0DyO.cjs +0 -1
  81. package/dist/clone-Cigigie7.cjs +0 -1
  82. package/dist/gitGraph-ZV4HHKMB-Bd0sDnQF.js +0 -2
  83. package/dist/gitGraph-ZV4HHKMB-Dw6oOGGz.cjs +0 -1
  84. package/dist/info-63CPKGFF-C1ouGYsz.js +0 -2
  85. package/dist/info-63CPKGFF-DXINRvni.cjs +0 -1
  86. package/dist/packet-HUATNLJX-BKMh2g_W.js +0 -2
  87. package/dist/packet-HUATNLJX-s8JssPJD.cjs +0 -1
  88. package/dist/pie-WTHONI2E-Cx-MoId6.cjs +0 -1
  89. package/dist/pie-WTHONI2E-DOIqNUp0.js +0 -2
  90. package/dist/radar-NJJJXTRR-B4jjqv__.js +0 -2
  91. package/dist/radar-NJJJXTRR-CEg_Sqsk.cjs +0 -1
  92. package/dist/treemap-75Q7IDZK-BsMDB8ct.cjs +0 -1
  93. package/dist/treemap-75Q7IDZK-sGAH33Jt.js +0 -2
@@ -10,9 +10,9 @@ import { B as ae, E as oe, G as se, L as ce, U as le, b as ue, g as de, p as fe,
10
10
  import { i as _e, s as ve } from "./chunk-JA3XYJ7Z-CpKHrbOX.js";
11
11
  import { a as ye, i as be, s as xe } from "./chunk-JZLCHNYA-CYo7ykJf.js";
12
12
  import { a as Se, i as Ce, n as we, r as Te } from "./chunk-QXUST7PY-CxCAwQqP.js";
13
- import { Fragment as Ee, Teleport as De, computed as Oe, createBlock as ke, createCommentVNode as P, createElementBlock as F, createElementVNode as I, defineComponent as Ae, h as je, inject as Me, normalizeClass as Ne, normalizeStyle as Pe, onMounted as Fe, onUnmounted as Ie, openBlock as L, ref as R, renderList as Le, toDisplayString as Re, vShow as ze, watch as Be, withDirectives as Ve, withModifiers as He } from "vue";
13
+ import { Fragment as Ee, Teleport as De, computed as P, createBlock as Oe, createCommentVNode as F, createElementBlock as I, createElementVNode as L, defineComponent as ke, h as Ae, inject as je, normalizeClass as Me, normalizeStyle as Ne, onMounted as Pe, onUnmounted as Fe, openBlock as R, ref as z, renderList as Ie, toDisplayString as Le, vShow as Re, watch as ze, withDirectives as Be, withModifiers as Ve } from "vue";
14
14
  //#region src/utils/cors.ts
15
- function Ue(e, t) {
15
+ function He(e, t) {
16
16
  if (!t || !e || e.startsWith("data:") || e.startsWith("blob:")) return !1;
17
17
  let n = e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//");
18
18
  if (Array.isArray(t)) return t.some((t) => {
@@ -31,7 +31,7 @@ function Ue(e, t) {
31
31
  }
32
32
  //#endregion
33
33
  //#region node_modules/.pnpm/prismjs@1.30.0/node_modules/prismjs/themes/prism-tomorrow.css
34
- var We = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
34
+ var Ue = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
35
35
  var n = function(e) {
36
36
  var t = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, n = 0, r = {}, i = {
37
37
  manual: e.Prism && e.Prism.manual,
@@ -2399,11 +2399,11 @@ var We = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2399
2399
  })(Prism);
2400
2400
  //#endregion
2401
2401
  //#region src/components/CodeBlock.vue?vue&type=script&setup=true&lang.ts
2402
- var Ge = ["data-lang"], Ke = { class: "code-block-header" }, qe = { class: "lang-label" }, Je = { class: "op-btn-group" }, Ye = ["disabled", "title"], Xe = ["title", "innerHTML"], Ze = { class: "pre-container" }, Qe = {
2402
+ var We = ["data-lang"], Ge = { class: "code-block-header" }, Ke = { class: "lang-label" }, qe = { class: "op-btn-group" }, Je = ["disabled", "title"], Ye = ["title", "innerHTML"], Xe = { class: "pre-container" }, Ze = {
2403
2403
  key: 0,
2404
2404
  class: "line-numbers-rows",
2405
2405
  "aria-hidden": "true"
2406
- }, $e = ["innerHTML"], et = ["srcdoc"], tt = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M4 2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2zm2 0v10h6V2H6zm-1 2V2a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-8zm-2 2H2V14a2 2 0 0 0 2 2h6v-2a2 2 0 0 0-2-2H4V4zm0 0v10a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4H4z\"/></svg>", nt = "<svg width=\"17\" height=\"17\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M2 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5zm2 0v10h12V5H4zm3.6 3.55l1.4 1.45l-1.4 1.45L7 11.38l2-2l-2-2zm5.4.83l-1.4-1.45L13 6.62l2 2l-2 2z\"/></svg>", rt = "<svg width=\"17\" height=\"17\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M6.23 4.81a1 1 0 0 1 1.41 0L10 7.17l2.36-2.36a1 1 0 0 1 1.41 1.41L11.41 8.59l2.36 2.36a1 1 0 1 1-1.41 1.41L10 10l-2.36 2.36a1 1 0 0 1-1.41-1.41L8.59 8.59 6.23 6.23a1 1 0 0 1 0-1.41z\"/></svg>", it = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"/></svg>", at = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z\"/></svg>", ot = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z\"/></svg>", st = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z\"/></svg>", ct = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z\"/></svg>", lt = /* @__PURE__ */ Ae({
2406
+ }, Qe = ["innerHTML"], $e = ["srcdoc"], et = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M4 2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2zm2 0v10h6V2H6zm-1 2V2a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-8zm-2 2H2V14a2 2 0 0 0 2 2h6v-2a2 2 0 0 0-2-2H4V4zm0 0v10a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4H4z\"/></svg>", tt = "<svg width=\"17\" height=\"17\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M2 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5zm2 0v10h12V5H4zm3.6 3.55l1.4 1.45l-1.4 1.45L7 11.38l2-2l-2-2zm5.4.83l-1.4-1.45L13 6.62l2 2l-2 2z\"/></svg>", nt = "<svg width=\"17\" height=\"17\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M6.23 4.81a1 1 0 0 1 1.41 0L10 7.17l2.36-2.36a1 1 0 0 1 1.41 1.41L11.41 8.59l2.36 2.36a1 1 0 1 1-1.41 1.41L10 10l-2.36 2.36a1 1 0 0 1-1.41-1.41L8.59 8.59 6.23 6.23a1 1 0 0 1 0-1.41z\"/></svg>", rt = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"/></svg>", it = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z\"/></svg>", at = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z\"/></svg>", ot = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z\"/></svg>", st = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z\"/></svg>", ct = /* @__PURE__ */ ke({
2407
2407
  __name: "CodeBlock",
2408
2408
  props: {
2409
2409
  code: {},
@@ -2421,103 +2421,103 @@ var Ge = ["data-lang"], Ke = { class: "code-block-header" }, qe = { class: "lang
2421
2421
  }
2422
2422
  },
2423
2423
  setup(e) {
2424
- let t = e, n = R(!1), r = R(!1), i = R(null), a = R("300px"), o = R(!1), s = R(!1), c = R(!1), l = R(null), u = R(!0), d = R(!1), f = R(!1), p = R(null), m = Oe(() => {
2424
+ let t = e, n = z(!1), r = z(!1), i = z(null), a = z("300px"), o = z(!1), s = z(!1), c = z(!1), l = z(null), u = je("isMarkdownDark"), d = P(() => u ? u.value : !1), f = z(!0), p = z(!1), m = z(!1), h = z(null), g = P(() => {
2425
2425
  if (!t.code) return 0;
2426
2426
  let e = t.code.match(/\n(?!$)/g);
2427
2427
  return e ? e.length + 1 : 1;
2428
- }), h = R(""), g = R(!1), _ = R("0px"), v = R("0px"), y = Oe(() => o.value ? "正在发布..." : s.value ? "已发布成功" : "发布 HTML"), b = `iframe-${Math.random().toString(36).substr(2, 9)}-${Date.now()}`;
2429
- function x() {
2428
+ }), _ = z(""), v = z(!1), y = z("0px"), b = z("0px"), x = P(() => o.value ? "正在发布..." : s.value ? "已发布成功" : "发布 HTML"), S = `iframe-${Math.random().toString(36).substr(2, 9)}-${Date.now()}`;
2429
+ function C() {
2430
2430
  return t.language.toLowerCase() === "html" || t.language.toLowerCase() === "markup";
2431
2431
  }
2432
- function S() {
2432
+ function w() {
2433
2433
  let e = t.language || "plaintext";
2434
- return We.default.languages[e] ? We.default.highlight(t.code, We.default.languages[e], e) : We.default.util.encode(t.code);
2434
+ return Ue.default.languages[e] ? Ue.default.highlight(t.code, Ue.default.languages[e], e) : Ue.default.util.encode(t.code);
2435
2435
  }
2436
- let C = R(""), w = () => {
2437
- C.value = S();
2438
- }, T = () => {
2436
+ let T = z(""), E = () => {
2437
+ T.value = w();
2438
+ }, D = () => {
2439
2439
  if (!t.enableCollapse) {
2440
- d.value = !1;
2440
+ p.value = !1;
2441
2441
  return;
2442
2442
  }
2443
- p.value && (d.value = p.value.scrollHeight > t.collapseMaxHeight);
2444
- }, E = () => {
2445
- u.value = !u.value, p.value && (p.value.scrollTop = 0, f.value = !1);
2446
- }, D = Oe(() => t.enableCollapse && u.value && d.value && !c.value ? {
2443
+ h.value && (p.value = h.value.scrollHeight > t.collapseMaxHeight);
2444
+ }, O = () => {
2445
+ f.value = !f.value, h.value && (h.value.scrollTop = 0, m.value = !1);
2446
+ }, k = P(() => t.enableCollapse && f.value && p.value && !c.value ? {
2447
2447
  maxHeight: `${t.collapseMaxHeight}px`,
2448
2448
  overflowY: "auto"
2449
- } : {}), O = () => {
2450
- if (p.value) {
2451
- let { scrollTop: e, scrollHeight: t, clientHeight: n } = p.value;
2452
- f.value = t - e <= n + 15;
2449
+ } : {}), A = () => {
2450
+ if (h.value) {
2451
+ let { scrollTop: e, scrollHeight: t, clientHeight: n } = h.value;
2452
+ m.value = t - e <= n + 15;
2453
2453
  }
2454
2454
  };
2455
- w(), Be(() => [t.code, t.language], () => {
2455
+ E(), ze(() => [t.code, t.language], () => {
2456
2456
  let e = !0;
2457
- if (p.value) {
2458
- let { scrollTop: t, scrollHeight: n, clientHeight: r } = p.value;
2457
+ if (h.value) {
2458
+ let { scrollTop: t, scrollHeight: n, clientHeight: r } = h.value;
2459
2459
  e = n <= r || n - t <= r + 30;
2460
2460
  }
2461
- w(), setTimeout(() => {
2462
- T(), p.value && (e && (p.value.scrollTop = p.value.scrollHeight), O());
2461
+ E(), setTimeout(() => {
2462
+ D(), h.value && (e && (h.value.scrollTop = h.value.scrollHeight), A());
2463
2463
  }, 50);
2464
2464
  });
2465
- let k = () => {
2465
+ let j = () => {
2466
2466
  r.value = !0;
2467
- }, A = () => {
2467
+ }, ee = () => {
2468
2468
  r.value = !1, a.value = "300px";
2469
- }, j = (e, t, n = 2e3) => {
2469
+ }, M = (e, t, n = 2e3) => {
2470
2470
  if (!t) {
2471
2471
  console.warn("showTooltip: button is null");
2472
2472
  return;
2473
2473
  }
2474
- h.value = e;
2474
+ _.value = e;
2475
2475
  let r = t.getBoundingClientRect(), i = r.left + r.width / 2, a = r.top;
2476
- _.value = `${i}px`, v.value = `${a}px`, console.log("Tooltip:", {
2476
+ y.value = `${i}px`, b.value = `${a}px`, console.log("Tooltip:", {
2477
2477
  message: e,
2478
2478
  left: i,
2479
2479
  top: a,
2480
2480
  visible: !0
2481
- }), g.value = !0, setTimeout(() => {
2482
- g.value = !1;
2481
+ }), v.value = !0, setTimeout(() => {
2482
+ v.value = !1;
2483
2483
  }, n);
2484
- }, ee = async (e) => {
2484
+ }, N = async (e) => {
2485
2485
  let r = e.currentTarget;
2486
2486
  try {
2487
2487
  let e = t.code.replace(/\u00A0/g, " ");
2488
- await navigator.clipboard.writeText(e), n.value = !0, j("已复制", r), setTimeout(() => {
2488
+ await navigator.clipboard.writeText(e), n.value = !0, M("已复制", r), setTimeout(() => {
2489
2489
  n.value = !1;
2490
2490
  }, 1700);
2491
2491
  } catch (e) {
2492
- console.error("复制失败:", e), j("复制失败", r);
2492
+ console.error("复制失败:", e), M("复制失败", r);
2493
2493
  }
2494
- }, M = async (e) => {
2494
+ }, te = async (e) => {
2495
2495
  if (!t.publishUrl || o.value) return;
2496
2496
  let n = e.currentTarget;
2497
- o.value = !0, s.value = !1, j("正在发布...", n, 1e4);
2497
+ o.value = !0, s.value = !1, M("正在发布...", n, 1e4);
2498
2498
  try {
2499
2499
  let e = await (await fetch(t.publishUrl, {
2500
2500
  method: "POST",
2501
2501
  headers: { "Content-Type": "application/json" },
2502
2502
  body: JSON.stringify({ html: t.code })
2503
2503
  })).json();
2504
- e.code === 0 ? (s.value = !0, t.onPublished && e.url ? (t.onPublished(e.url), j("已发布成功", n)) : e.url ? (await navigator.clipboard.writeText(e.url), j("已发布,URL 已复制", n)) : j("已发布成功", n), setTimeout(() => {
2504
+ e.code === 0 ? (s.value = !0, t.onPublished && e.url ? (t.onPublished(e.url), M("已发布成功", n)) : e.url ? (await navigator.clipboard.writeText(e.url), M("已发布,URL 已复制", n)) : M("已发布成功", n), setTimeout(() => {
2505
2505
  s.value = !1;
2506
- }, 2e3)) : (j(`发布失败: ${e.msg || "未知错误"}`, n), console.error("发布失败:", e.msg || "未知错误"));
2506
+ }, 2e3)) : (M(`发布失败: ${e.msg || "未知错误"}`, n), console.error("发布失败:", e.msg || "未知错误"));
2507
2507
  } catch (e) {
2508
- j("发布失败,请检查网络", n), console.error("发布失败:", e);
2508
+ M("发布失败,请检查网络", n), console.error("发布失败:", e);
2509
2509
  } finally {
2510
2510
  o.value = !1;
2511
2511
  }
2512
- }, N = () => {
2512
+ }, ne = () => {
2513
2513
  c.value = !0, document.body.style.overflow = "hidden";
2514
- }, te = () => {
2514
+ }, re = () => {
2515
2515
  c.value = !1, document.body.style.overflow = "";
2516
- }, ne = Oe(() => {
2516
+ }, ie = P(() => {
2517
2517
  let e = `
2518
2518
  <script>
2519
2519
  (function() {
2520
- const iframeId = '${b}';
2520
+ const iframeId = '${S}';
2521
2521
 
2522
2522
  function sendHeight() {
2523
2523
  const height = Math.max(
@@ -2558,150 +2558,154 @@ var Ge = ["data-lang"], Ke = { class: "code-block-header" }, qe = { class: "lang
2558
2558
  <\/script>
2559
2559
  `;
2560
2560
  return t.code.toLowerCase().includes("</body>") ? t.code.replace("</body>", `${e}</body>`) : t.code + e;
2561
- }), re = () => {}, ie = (e) => {
2562
- if (e.data && e.data.type === "iframe-height" && e.data.iframeId === b) {
2561
+ }), ae = () => {}, oe = (e) => {
2562
+ if (e.data && e.data.type === "iframe-height" && e.data.iframeId === S) {
2563
2563
  let t = e.data.height;
2564
2564
  a.value = `${Math.max(100, Math.min(1e3, t))}px`;
2565
2565
  }
2566
- }, ae = (e) => {
2567
- e.key === "Escape" && c.value && te();
2568
- }, oe = null;
2569
- return Fe(() => {
2570
- window.addEventListener("message", ie), window.addEventListener("keydown", ae), setTimeout(() => {
2571
- T(), O();
2572
- }, 50), typeof ResizeObserver < "u" && p.value && (oe = new ResizeObserver(() => {
2573
- T();
2574
- }), oe.observe(p.value));
2575
- }), Ie(() => {
2576
- window.removeEventListener("message", ie), window.removeEventListener("keydown", ae), document.body.style.overflow = "", oe && oe.disconnect();
2577
- }), (t, n) => (L(), ke(De, {
2566
+ }, se = (e) => {
2567
+ e.key === "Escape" && c.value && re();
2568
+ }, ce = null;
2569
+ return Pe(() => {
2570
+ window.addEventListener("message", oe), window.addEventListener("keydown", se), setTimeout(() => {
2571
+ D(), A();
2572
+ }, 50), typeof ResizeObserver < "u" && h.value && (ce = new ResizeObserver(() => {
2573
+ D();
2574
+ }), ce.observe(h.value));
2575
+ }), Fe(() => {
2576
+ window.removeEventListener("message", oe), window.removeEventListener("keydown", se), document.body.style.overflow = "", ce && ce.disconnect();
2577
+ }), (t, n) => (R(), Oe(De, {
2578
2578
  to: "body",
2579
2579
  disabled: !c.value
2580
- }, [I("div", { class: Ne({ "markdown-body": c.value }) }, [I("div", {
2580
+ }, [L("div", { class: Me({ "markdown-body": c.value }) }, [L("div", {
2581
2581
  ref_key: "wrapperRef",
2582
2582
  ref: l,
2583
- class: Ne(["code-block-wrapper", { fullscreen: c.value }]),
2583
+ class: Me(["code-block-wrapper", {
2584
+ fullscreen: c.value,
2585
+ "theme-dark": d.value,
2586
+ "theme-light": !d.value
2587
+ }]),
2584
2588
  "data-lang": e.language
2585
2589
  }, [
2586
- (L(), ke(De, { to: "body" }, [g.value ? (L(), F("div", {
2590
+ (R(), Oe(De, { to: "body" }, [v.value ? (R(), I("div", {
2587
2591
  key: 0,
2588
2592
  class: "code-block-tooltip",
2589
- style: Pe({
2590
- left: _.value,
2591
- top: v.value
2593
+ style: Ne({
2594
+ left: y.value,
2595
+ top: b.value
2592
2596
  })
2593
- }, Re(h.value), 5)) : P("", !0)])),
2594
- I("div", Ke, [I("span", qe, Re(e.language.toUpperCase()), 1), I("div", Je, [
2595
- I("button", {
2597
+ }, Le(_.value), 5)) : F("", !0)])),
2598
+ L("div", Ge, [L("span", Ke, Le(e.language.toUpperCase()), 1), L("div", qe, [
2599
+ L("button", {
2596
2600
  class: "copy-code-button",
2597
2601
  type: "button",
2598
2602
  title: "复制代码",
2599
- onClick: ee,
2600
- innerHTML: tt
2603
+ onClick: N,
2604
+ innerHTML: et
2601
2605
  }),
2602
- x() && !r.value ? (L(), F("button", {
2606
+ C() && !r.value ? (R(), I("button", {
2603
2607
  key: 0,
2604
2608
  class: "preview-html-button",
2605
2609
  type: "button",
2606
2610
  title: "预览 HTML",
2607
- onClick: k,
2608
- innerHTML: nt
2609
- })) : P("", !0),
2610
- x() && e.publishUrl ? (L(), F("button", {
2611
+ onClick: j,
2612
+ innerHTML: tt
2613
+ })) : F("", !0),
2614
+ C() && e.publishUrl ? (R(), I("button", {
2611
2615
  key: 1,
2612
2616
  class: "publish-html-button",
2613
2617
  disabled: o.value,
2614
2618
  type: "button",
2615
- title: y.value,
2616
- onClick: M,
2617
- innerHTML: it
2618
- }, null, 8, Ye)) : P("", !0),
2619
- e.enableCollapse && d.value && !c.value ? (L(), F("button", {
2619
+ title: x.value,
2620
+ onClick: te,
2621
+ innerHTML: rt
2622
+ }, null, 8, Je)) : F("", !0),
2623
+ e.enableCollapse && p.value && !c.value ? (R(), I("button", {
2620
2624
  key: 2,
2621
2625
  class: "collapse-toggle-button",
2622
2626
  type: "button",
2623
- title: u.value ? "展开代码" : "折叠代码",
2624
- onClick: E,
2625
- innerHTML: u.value ? st : ct
2626
- }, null, 8, Xe)) : P("", !0),
2627
- c.value ? P("", !0) : (L(), F("button", {
2627
+ title: f.value ? "展开代码" : "折叠代码",
2628
+ onClick: O,
2629
+ innerHTML: f.value ? ot : st
2630
+ }, null, 8, Ye)) : F("", !0),
2631
+ c.value ? F("", !0) : (R(), I("button", {
2628
2632
  key: 3,
2629
2633
  class: "fullscreen-button",
2630
2634
  type: "button",
2631
2635
  title: "全屏",
2632
- onClick: N,
2633
- innerHTML: at
2636
+ onClick: ne,
2637
+ innerHTML: it
2634
2638
  })),
2635
- c.value ? (L(), F("button", {
2639
+ c.value ? (R(), I("button", {
2636
2640
  key: 4,
2637
2641
  class: "exit-fullscreen-button",
2638
2642
  type: "button",
2639
2643
  title: "退出全屏",
2640
- onClick: te,
2641
- innerHTML: ot
2642
- })) : P("", !0),
2643
- r.value ? (L(), F("button", {
2644
+ onClick: re,
2645
+ innerHTML: at
2646
+ })) : F("", !0),
2647
+ r.value ? (R(), I("button", {
2644
2648
  key: 5,
2645
2649
  class: "close-preview-button",
2646
2650
  type: "button",
2647
2651
  title: "关闭预览",
2648
- onClick: A,
2649
- innerHTML: rt
2650
- })) : P("", !0)
2652
+ onClick: ee,
2653
+ innerHTML: nt
2654
+ })) : F("", !0)
2651
2655
  ])]),
2652
- Ve(I("div", Ze, [
2653
- I("pre", {
2656
+ Be(L("div", Xe, [
2657
+ L("pre", {
2654
2658
  ref_key: "preRef",
2655
- ref: p,
2656
- class: Ne([`language-${e.language}`, {
2657
- "is-collapsed": e.enableCollapse && u.value && d.value && !c.value,
2659
+ ref: h,
2660
+ class: Me([`language-${e.language}`, {
2661
+ "is-collapsed": e.enableCollapse && f.value && p.value && !c.value,
2658
2662
  "line-numbers": e.showLineNumbers
2659
2663
  }]),
2660
- style: Pe(D.value),
2661
- onScroll: O
2662
- }, [e.showLineNumbers ? (L(), F("span", Qe, [(L(!0), F(Ee, null, Le(m.value, (e) => (L(), F("span", { key: e }))), 128))])) : P("", !0), I("code", {
2663
- class: Ne(`language-${e.language}`),
2664
- innerHTML: C.value
2665
- }, null, 10, $e)], 38),
2666
- e.enableCollapse && d.value && u.value && !c.value ? (L(), F("div", {
2664
+ style: Ne(k.value),
2665
+ onScroll: A
2666
+ }, [e.showLineNumbers ? (R(), I("span", Ze, [(R(!0), I(Ee, null, Ie(g.value, (e) => (R(), I("span", { key: e }))), 128))])) : F("", !0), L("code", {
2667
+ class: Me(`language-${e.language}`),
2668
+ innerHTML: T.value
2669
+ }, null, 10, Qe)], 38),
2670
+ e.enableCollapse && p.value && f.value && !c.value ? (R(), I("div", {
2667
2671
  key: 0,
2668
2672
  class: "collapse-expand-bar",
2669
- onClick: E
2670
- }, [n[0] ||= I("span", { class: "expand-prompt-text" }, "展开全部代码", -1), I("span", {
2673
+ onClick: O
2674
+ }, [n[0] ||= L("span", { class: "expand-prompt-text" }, "展开全部代码", -1), L("span", {
2671
2675
  class: "expand-prompt-icon",
2672
- innerHTML: st
2673
- })])) : P("", !0),
2674
- e.enableCollapse && d.value && !u.value && !c.value ? (L(), F("div", {
2676
+ innerHTML: ot
2677
+ })])) : F("", !0),
2678
+ e.enableCollapse && p.value && !f.value && !c.value ? (R(), I("div", {
2675
2679
  key: 1,
2676
2680
  class: "collapse-expand-bar collapse-bar",
2677
- onClick: E
2678
- }, [n[1] ||= I("span", { class: "expand-prompt-text" }, "收起全部代码", -1), I("span", {
2681
+ onClick: O
2682
+ }, [n[1] ||= L("span", { class: "expand-prompt-text" }, "收起全部代码", -1), L("span", {
2679
2683
  class: "expand-prompt-icon",
2680
- innerHTML: ct
2681
- })])) : P("", !0)
2682
- ], 512), [[ze, !r.value]]),
2683
- r.value ? (L(), F("div", {
2684
+ innerHTML: st
2685
+ })])) : F("", !0)
2686
+ ], 512), [[Re, !r.value]]),
2687
+ r.value ? (R(), I("div", {
2684
2688
  key: 0,
2685
2689
  class: "iframe-wrapper",
2686
- style: Pe({ height: a.value })
2687
- }, [I("iframe", {
2690
+ style: Ne({ height: a.value })
2691
+ }, [L("iframe", {
2688
2692
  ref_key: "previewIframe",
2689
2693
  ref: i,
2690
2694
  class: "html-preview-iframe",
2691
- srcdoc: ne.value,
2695
+ srcdoc: ie.value,
2692
2696
  sandbox: "allow-scripts allow-forms allow-popups allow-modals allow-same-origin",
2693
- onLoad: re
2694
- }, null, 40, et)], 4)) : P("", !0)
2695
- ], 10, Ge)], 2)], 8, ["disabled"]));
2697
+ onLoad: ae
2698
+ }, null, 40, $e)], 4)) : F("", !0)
2699
+ ], 10, We)], 2)], 8, ["disabled"]));
2696
2700
  }
2697
- }), ut = (e, t) => {
2701
+ }), lt = (e, t) => {
2698
2702
  let n = e.__vccOpts || e;
2699
2703
  for (let [e, r] of t) n[e] = r;
2700
2704
  return n;
2701
- }, dt = /* @__PURE__ */ ut(lt, [["__scopeId", "data-v-038153cb"]]);
2705
+ }, ut = /* @__PURE__ */ lt(ct, [["__scopeId", "data-v-aa3e2800"]]);
2702
2706
  //#endregion
2703
2707
  //#region src/plugins/custom/codeBlockPlugin.ts
2704
- function ft(e) {
2708
+ function dt(e) {
2705
2709
  let { priority: t = 70, languageAliases: r = {}, publishUrl: i, onPublished: a, cssUrl: o, enableCollapse: s = !0, collapseMaxHeight: c = 300, showLineNumbers: l = !0 } = e || {};
2706
2710
  return o && typeof window < "u" && n(o), {
2707
2711
  name: "codeblock",
@@ -2709,11 +2713,11 @@ function ft(e) {
2709
2713
  test: (e) => e.type !== "tag" || e.name !== "pre" ? !1 : !!e.children?.some((e) => e.type === "tag" && e.name === "code"),
2710
2714
  render: (e, t, n, o) => {
2711
2715
  let u = e.children?.find((e) => e.type === "tag" && e.name === "code");
2712
- if (!u) return je("pre", {}, "");
2716
+ if (!u) return Ae("pre", {}, "");
2713
2717
  let d = (u.attribs?.class || "").match(/language-(\w+)/), f = d ? d[1] : "plaintext";
2714
2718
  r[f] && (f = r[f]);
2715
2719
  let p = (e) => e.type === "text" ? e.data || "" : e.children ? e.children.map(p).join("") : "";
2716
- return je(dt, {
2720
+ return Ae(ut, {
2717
2721
  code: p(u),
2718
2722
  language: f,
2719
2723
  publishUrl: i,
@@ -2727,7 +2731,7 @@ function ft(e) {
2727
2731
  }
2728
2732
  //#endregion
2729
2733
  //#region src/plugins/custom/emojiPlugin.ts
2730
- function pt(e) {
2734
+ function ft(e) {
2731
2735
  let { priority: t = 10, customEmojis: n = {} } = e || {}, r = {
2732
2736
  ":smile:": "😊",
2733
2737
  ":heart:": "❤️",
@@ -2757,7 +2761,7 @@ function pt(e) {
2757
2761
  }
2758
2762
  //#endregion
2759
2763
  //#region node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-KS23V3DP.mjs
2760
- var mt = {
2764
+ var pt = {
2761
2765
  name: "mermaid",
2762
2766
  version: "11.12.0",
2763
2767
  description: "Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",
@@ -2890,84 +2894,84 @@ var mt = {
2890
2894
  },
2891
2895
  files: ["dist/", "README.md"],
2892
2896
  publishConfig: { access: "public" }
2893
- }, ht = /* @__PURE__ */ a((e) => {
2897
+ }, mt = /* @__PURE__ */ a((e) => {
2894
2898
  let { securityLevel: t } = g(), n = o("body");
2895
2899
  return t === "sandbox" && (n = o((o(`#i${e}`).node()?.contentDocument ?? document).body)), n.select(`#${e}`);
2896
2900
  }, "selectSvgElement");
2897
2901
  //#endregion
2898
2902
  //#region node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.mjs
2899
- function gt(e) {
2903
+ function ht(e) {
2900
2904
  return e == null;
2901
2905
  }
2902
- a(gt, "isNothing");
2903
- function _t(e) {
2906
+ a(ht, "isNothing");
2907
+ function gt(e) {
2904
2908
  return typeof e == "object" && !!e;
2905
2909
  }
2906
- a(_t, "isObject");
2907
- function vt(e) {
2908
- return Array.isArray(e) ? e : gt(e) ? [] : [e];
2910
+ a(gt, "isObject");
2911
+ function _t(e) {
2912
+ return Array.isArray(e) ? e : ht(e) ? [] : [e];
2909
2913
  }
2910
- a(vt, "toArray");
2911
- function yt(e, t) {
2914
+ a(_t, "toArray");
2915
+ function vt(e, t) {
2912
2916
  var n, r, i, a;
2913
2917
  if (t) for (a = Object.keys(t), n = 0, r = a.length; n < r; n += 1) i = a[n], e[i] = t[i];
2914
2918
  return e;
2915
2919
  }
2916
- a(yt, "extend");
2917
- function bt(e, t) {
2920
+ a(vt, "extend");
2921
+ function yt(e, t) {
2918
2922
  var n = "", r;
2919
2923
  for (r = 0; r < t; r += 1) n += e;
2920
2924
  return n;
2921
2925
  }
2922
- a(bt, "repeat");
2923
- function xt(e) {
2926
+ a(yt, "repeat");
2927
+ function bt(e) {
2924
2928
  return e === 0 && 1 / e == -Infinity;
2925
2929
  }
2926
- a(xt, "isNegativeZero");
2927
- var z = {
2928
- isNothing: gt,
2929
- isObject: _t,
2930
- toArray: vt,
2931
- repeat: bt,
2932
- isNegativeZero: xt,
2933
- extend: yt
2930
+ a(bt, "isNegativeZero");
2931
+ var B = {
2932
+ isNothing: ht,
2933
+ isObject: gt,
2934
+ toArray: _t,
2935
+ repeat: yt,
2936
+ isNegativeZero: bt,
2937
+ extend: vt
2934
2938
  };
2935
- function St(e, t) {
2939
+ function xt(e, t) {
2936
2940
  var n = "", r = e.reason || "(unknown reason)";
2937
2941
  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 += "\n\n" + e.mark.snippet), r + " " + n) : r;
2938
2942
  }
2939
- a(St, "formatError");
2940
- function Ct(e, t) {
2941
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = St(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ Error()).stack || "";
2943
+ a(xt, "formatError");
2944
+ function St(e, t) {
2945
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = xt(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ Error()).stack || "";
2942
2946
  }
2943
- a(Ct, "YAMLException$1"), Ct.prototype = Object.create(Error.prototype), Ct.prototype.constructor = Ct, Ct.prototype.toString = /* @__PURE__ */ a(function(e) {
2944
- return this.name + ": " + St(this, e);
2947
+ a(St, "YAMLException$1"), St.prototype = Object.create(Error.prototype), St.prototype.constructor = St, St.prototype.toString = /* @__PURE__ */ a(function(e) {
2948
+ return this.name + ": " + xt(this, e);
2945
2949
  }, "toString");
2946
- var B = Ct;
2947
- function wt(e, t, n, r, i) {
2950
+ var V = St;
2951
+ function Ct(e, t, n, r, i) {
2948
2952
  var a = "", o = "", s = Math.floor(i / 2) - 1;
2949
2953
  return r - t > s && (a = " ... ", t = r - s + a.length), n - r > s && (o = " ...", n = r + s - o.length), {
2950
2954
  str: a + e.slice(t, n).replace(/\t/g, "→") + o,
2951
2955
  pos: r - t + a.length
2952
2956
  };
2953
2957
  }
2954
- a(wt, "getLine");
2955
- function Tt(e, t) {
2956
- return z.repeat(" ", t - e.length) + e;
2958
+ a(Ct, "getLine");
2959
+ function wt(e, t) {
2960
+ return B.repeat(" ", t - e.length) + e;
2957
2961
  }
2958
- a(Tt, "padStart");
2959
- function Et(e, t) {
2962
+ a(wt, "padStart");
2963
+ function Tt(e, t) {
2960
2964
  if (t = Object.create(t || null), !e.buffer) return null;
2961
2965
  t.maxLength ||= 79, typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
2962
2966
  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);
2963
2967
  o < 0 && (o = r.length - 1);
2964
2968
  var s = "", c, l, u = Math.min(e.line + t.linesAfter, i.length).toString().length, d = t.maxLength - (t.indent + u + 3);
2965
- for (c = 1; c <= t.linesBefore && !(o - c < 0); c++) l = wt(e.buffer, r[o - c], i[o - c], e.position - (r[o] - r[o - c]), d), s = z.repeat(" ", t.indent) + Tt((e.line - c + 1).toString(), u) + " | " + l.str + "\n" + s;
2966
- for (l = wt(e.buffer, r[o], i[o], e.position, d), s += z.repeat(" ", t.indent) + Tt((e.line + 1).toString(), u) + " | " + l.str + "\n", s += z.repeat("-", t.indent + u + 3 + l.pos) + "^\n", c = 1; c <= t.linesAfter && !(o + c >= i.length); c++) l = wt(e.buffer, r[o + c], i[o + c], e.position - (r[o] - r[o + c]), d), s += z.repeat(" ", t.indent) + Tt((e.line + c + 1).toString(), u) + " | " + l.str + "\n";
2969
+ for (c = 1; c <= t.linesBefore && !(o - c < 0); c++) l = Ct(e.buffer, r[o - c], i[o - c], e.position - (r[o] - r[o - c]), d), s = B.repeat(" ", t.indent) + wt((e.line - c + 1).toString(), u) + " | " + l.str + "\n" + s;
2970
+ for (l = Ct(e.buffer, r[o], i[o], e.position, d), s += B.repeat(" ", t.indent) + wt((e.line + 1).toString(), u) + " | " + l.str + "\n", s += B.repeat("-", t.indent + u + 3 + l.pos) + "^\n", c = 1; c <= t.linesAfter && !(o + c >= i.length); c++) l = Ct(e.buffer, r[o + c], i[o + c], e.position - (r[o] - r[o + c]), d), s += B.repeat(" ", t.indent) + wt((e.line + c + 1).toString(), u) + " | " + l.str + "\n";
2967
2971
  return s.replace(/\n$/, "");
2968
2972
  }
2969
- a(Et, "makeSnippet");
2970
- var Dt = Et, Ot = [
2973
+ a(Tt, "makeSnippet");
2974
+ var Et = Tt, Dt = [
2971
2975
  "kind",
2972
2976
  "multi",
2973
2977
  "resolve",
@@ -2978,12 +2982,12 @@ var Dt = Et, Ot = [
2978
2982
  "representName",
2979
2983
  "defaultStyle",
2980
2984
  "styleAliases"
2981
- ], kt = [
2985
+ ], Ot = [
2982
2986
  "scalar",
2983
2987
  "sequence",
2984
2988
  "mapping"
2985
2989
  ];
2986
- function At(e) {
2990
+ function kt(e) {
2987
2991
  var t = {};
2988
2992
  return e !== null && Object.keys(e).forEach(function(n) {
2989
2993
  e[n].forEach(function(e) {
@@ -2991,19 +2995,19 @@ function At(e) {
2991
2995
  });
2992
2996
  }), t;
2993
2997
  }
2994
- a(At, "compileStyleAliases");
2995
- function jt(e, t) {
2998
+ a(kt, "compileStyleAliases");
2999
+ function At(e, t) {
2996
3000
  if (t ||= {}, Object.keys(t).forEach(function(t) {
2997
- if (Ot.indexOf(t) === -1) throw new B("Unknown option \"" + t + "\" is met in definition of \"" + e + "\" YAML type.");
3001
+ if (Dt.indexOf(t) === -1) throw new V("Unknown option \"" + t + "\" is met in definition of \"" + e + "\" YAML type.");
2998
3002
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
2999
3003
  return !0;
3000
3004
  }, this.construct = t.construct || function(e) {
3001
3005
  return e;
3002
- }, 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 = At(t.styleAliases || null), kt.indexOf(this.kind) === -1) throw new B("Unknown kind \"" + this.kind + "\" is specified for \"" + e + "\" YAML type.");
3006
+ }, 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 = kt(t.styleAliases || null), Ot.indexOf(this.kind) === -1) throw new V("Unknown kind \"" + this.kind + "\" is specified for \"" + e + "\" YAML type.");
3003
3007
  }
3004
- a(jt, "Type$1");
3005
- var V = jt;
3006
- function Mt(e, t) {
3008
+ a(At, "Type$1");
3009
+ var H = At;
3010
+ function jt(e, t) {
3007
3011
  var n = [];
3008
3012
  return e[t].forEach(function(e) {
3009
3013
  var t = n.length;
@@ -3012,8 +3016,8 @@ function Mt(e, t) {
3012
3016
  }), n[t] = e;
3013
3017
  }), n;
3014
3018
  }
3015
- a(Mt, "compileList");
3016
- function Nt() {
3019
+ a(jt, "compileList");
3020
+ function Mt() {
3017
3021
  var e = {
3018
3022
  scalar: {},
3019
3023
  sequence: {},
@@ -3032,65 +3036,65 @@ function Nt() {
3032
3036
  for (a(r, "collectType"), t = 0, n = arguments.length; t < n; t += 1) arguments[t].forEach(r);
3033
3037
  return e;
3034
3038
  }
3035
- a(Nt, "compileMap");
3036
- function Pt(e) {
3039
+ a(Mt, "compileMap");
3040
+ function Nt(e) {
3037
3041
  return this.extend(e);
3038
3042
  }
3039
- a(Pt, "Schema$1"), Pt.prototype.extend = /* @__PURE__ */ a(function(e) {
3043
+ a(Nt, "Schema$1"), Nt.prototype.extend = /* @__PURE__ */ a(function(e) {
3040
3044
  var t = [], n = [];
3041
- if (e instanceof V) n.push(e);
3045
+ if (e instanceof H) n.push(e);
3042
3046
  else if (Array.isArray(e)) n = n.concat(e);
3043
3047
  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));
3044
- else throw new B("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
3048
+ else throw new V("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
3045
3049
  t.forEach(function(e) {
3046
- if (!(e instanceof V)) throw new B("Specified list of YAML types (or a single Type object) contains a non-Type object.");
3047
- if (e.loadKind && e.loadKind !== "scalar") throw new B("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
3048
- if (e.multi) throw new B("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
3050
+ if (!(e instanceof H)) throw new V("Specified list of YAML types (or a single Type object) contains a non-Type object.");
3051
+ if (e.loadKind && e.loadKind !== "scalar") throw new V("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
3052
+ if (e.multi) throw new V("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
3049
3053
  }), n.forEach(function(e) {
3050
- if (!(e instanceof V)) throw new B("Specified list of YAML types (or a single Type object) contains a non-Type object.");
3054
+ if (!(e instanceof H)) throw new V("Specified list of YAML types (or a single Type object) contains a non-Type object.");
3051
3055
  });
3052
- var r = Object.create(Pt.prototype);
3053
- return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = Mt(r, "implicit"), r.compiledExplicit = Mt(r, "explicit"), r.compiledTypeMap = Nt(r.compiledImplicit, r.compiledExplicit), r;
3056
+ var r = Object.create(Nt.prototype);
3057
+ return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = jt(r, "implicit"), r.compiledExplicit = jt(r, "explicit"), r.compiledTypeMap = Mt(r.compiledImplicit, r.compiledExplicit), r;
3054
3058
  }, "extend");
3055
- var Ft = new Pt({ explicit: [
3056
- new V("tag:yaml.org,2002:str", {
3059
+ var Pt = new Nt({ explicit: [
3060
+ new H("tag:yaml.org,2002:str", {
3057
3061
  kind: "scalar",
3058
3062
  construct: /* @__PURE__ */ a(function(e) {
3059
3063
  return e === null ? "" : e;
3060
3064
  }, "construct")
3061
3065
  }),
3062
- new V("tag:yaml.org,2002:seq", {
3066
+ new H("tag:yaml.org,2002:seq", {
3063
3067
  kind: "sequence",
3064
3068
  construct: /* @__PURE__ */ a(function(e) {
3065
3069
  return e === null ? [] : e;
3066
3070
  }, "construct")
3067
3071
  }),
3068
- new V("tag:yaml.org,2002:map", {
3072
+ new H("tag:yaml.org,2002:map", {
3069
3073
  kind: "mapping",
3070
3074
  construct: /* @__PURE__ */ a(function(e) {
3071
3075
  return e === null ? {} : e;
3072
3076
  }, "construct")
3073
3077
  })
3074
3078
  ] });
3075
- function It(e) {
3079
+ function Ft(e) {
3076
3080
  if (e === null) return !0;
3077
3081
  var t = e.length;
3078
3082
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
3079
3083
  }
3080
- a(It, "resolveYamlNull");
3081
- function Lt() {
3084
+ a(Ft, "resolveYamlNull");
3085
+ function It() {
3082
3086
  return null;
3083
3087
  }
3084
- a(Lt, "constructYamlNull");
3085
- function Rt(e) {
3088
+ a(It, "constructYamlNull");
3089
+ function Lt(e) {
3086
3090
  return e === null;
3087
3091
  }
3088
- a(Rt, "isNull");
3089
- var zt = new V("tag:yaml.org,2002:null", {
3092
+ a(Lt, "isNull");
3093
+ var Rt = new H("tag:yaml.org,2002:null", {
3090
3094
  kind: "scalar",
3091
- resolve: It,
3092
- construct: Lt,
3093
- predicate: Rt,
3095
+ resolve: Ft,
3096
+ construct: It,
3097
+ predicate: Lt,
3094
3098
  represent: {
3095
3099
  canonical: /* @__PURE__ */ a(function() {
3096
3100
  return "~";
@@ -3110,25 +3114,25 @@ var zt = new V("tag:yaml.org,2002:null", {
3110
3114
  },
3111
3115
  defaultStyle: "lowercase"
3112
3116
  });
3113
- function Bt(e) {
3117
+ function zt(e) {
3114
3118
  if (e === null) return !1;
3115
3119
  var t = e.length;
3116
3120
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
3117
3121
  }
3118
- a(Bt, "resolveYamlBoolean");
3119
- function Vt(e) {
3122
+ a(zt, "resolveYamlBoolean");
3123
+ function Bt(e) {
3120
3124
  return e === "true" || e === "True" || e === "TRUE";
3121
3125
  }
3122
- a(Vt, "constructYamlBoolean");
3123
- function Ht(e) {
3126
+ a(Bt, "constructYamlBoolean");
3127
+ function Vt(e) {
3124
3128
  return Object.prototype.toString.call(e) === "[object Boolean]";
3125
3129
  }
3126
- a(Ht, "isBoolean");
3127
- var Ut = new V("tag:yaml.org,2002:bool", {
3130
+ a(Vt, "isBoolean");
3131
+ var Ht = new H("tag:yaml.org,2002:bool", {
3128
3132
  kind: "scalar",
3129
- resolve: Bt,
3130
- construct: Vt,
3131
- predicate: Ht,
3133
+ resolve: zt,
3134
+ construct: Bt,
3135
+ predicate: Vt,
3132
3136
  represent: {
3133
3137
  lowercase: /* @__PURE__ */ a(function(e) {
3134
3138
  return e ? "true" : "false";
@@ -3142,19 +3146,19 @@ var Ut = new V("tag:yaml.org,2002:bool", {
3142
3146
  },
3143
3147
  defaultStyle: "lowercase"
3144
3148
  });
3145
- function Wt(e) {
3149
+ function Ut(e) {
3146
3150
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
3147
3151
  }
3148
- a(Wt, "isHexCode");
3149
- function Gt(e) {
3152
+ a(Ut, "isHexCode");
3153
+ function Wt(e) {
3150
3154
  return 48 <= e && e <= 55;
3151
3155
  }
3152
- a(Gt, "isOctCode");
3153
- function Kt(e) {
3156
+ a(Wt, "isOctCode");
3157
+ function Gt(e) {
3154
3158
  return 48 <= e && e <= 57;
3155
3159
  }
3156
- a(Kt, "isDecCode");
3157
- function qt(e) {
3160
+ a(Gt, "isDecCode");
3161
+ function Kt(e) {
3158
3162
  if (e === null) return !1;
3159
3163
  var t = e.length, n = 0, r = !1, i;
3160
3164
  if (!t) return !1;
@@ -3169,14 +3173,14 @@ function qt(e) {
3169
3173
  }
3170
3174
  if (i === "x") {
3171
3175
  for (n++; n < t; n++) if (i = e[n], i !== "_") {
3172
- if (!Wt(e.charCodeAt(n))) return !1;
3176
+ if (!Ut(e.charCodeAt(n))) return !1;
3173
3177
  r = !0;
3174
3178
  }
3175
3179
  return r && i !== "_";
3176
3180
  }
3177
3181
  if (i === "o") {
3178
3182
  for (n++; n < t; n++) if (i = e[n], i !== "_") {
3179
- if (!Gt(e.charCodeAt(n))) return !1;
3183
+ if (!Wt(e.charCodeAt(n))) return !1;
3180
3184
  r = !0;
3181
3185
  }
3182
3186
  return r && i !== "_";
@@ -3184,13 +3188,13 @@ function qt(e) {
3184
3188
  }
3185
3189
  if (i === "_") return !1;
3186
3190
  for (; n < t; n++) if (i = e[n], i !== "_") {
3187
- if (!Kt(e.charCodeAt(n))) return !1;
3191
+ if (!Gt(e.charCodeAt(n))) return !1;
3188
3192
  r = !0;
3189
3193
  }
3190
3194
  return !(!r || i === "_");
3191
3195
  }
3192
- a(qt, "resolveYamlInteger");
3193
- function Jt(e) {
3196
+ a(Kt, "resolveYamlInteger");
3197
+ function qt(e) {
3194
3198
  var t = e, n = 1, r;
3195
3199
  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;
3196
3200
  if (r === "0") {
@@ -3200,16 +3204,16 @@ function Jt(e) {
3200
3204
  }
3201
3205
  return n * parseInt(t, 10);
3202
3206
  }
3203
- a(Jt, "constructYamlInteger");
3204
- function Yt(e) {
3205
- return Object.prototype.toString.call(e) === "[object Number]" && e % 1 == 0 && !z.isNegativeZero(e);
3207
+ a(qt, "constructYamlInteger");
3208
+ function Jt(e) {
3209
+ return Object.prototype.toString.call(e) === "[object Number]" && e % 1 == 0 && !B.isNegativeZero(e);
3206
3210
  }
3207
- a(Yt, "isInteger");
3208
- var Xt = new V("tag:yaml.org,2002:int", {
3211
+ a(Jt, "isInteger");
3212
+ var Yt = new H("tag:yaml.org,2002:int", {
3209
3213
  kind: "scalar",
3210
- resolve: qt,
3211
- construct: Jt,
3212
- predicate: Yt,
3214
+ resolve: Kt,
3215
+ construct: qt,
3216
+ predicate: Jt,
3213
3217
  represent: {
3214
3218
  binary: /* @__PURE__ */ a(function(e) {
3215
3219
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -3231,18 +3235,18 @@ var Xt = new V("tag:yaml.org,2002:int", {
3231
3235
  decimal: [10, "dec"],
3232
3236
  hexadecimal: [16, "hex"]
3233
3237
  }
3234
- }), Zt = /* @__PURE__ */ RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
3235
- function Qt(e) {
3236
- return !(e === null || !Zt.test(e) || e[e.length - 1] === "_");
3238
+ }), Xt = /* @__PURE__ */ RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
3239
+ function Zt(e) {
3240
+ return !(e === null || !Xt.test(e) || e[e.length - 1] === "_");
3237
3241
  }
3238
- a(Qt, "resolveYamlFloat");
3239
- function $t(e) {
3242
+ a(Zt, "resolveYamlFloat");
3243
+ function Qt(e) {
3240
3244
  var t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1;
3241
3245
  return "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Infinity : -Infinity : t === ".nan" ? NaN : n * parseFloat(t, 10);
3242
3246
  }
3243
- a($t, "constructYamlFloat");
3244
- var en = /^[-+]?[0-9]+e/;
3245
- function tn(e, t) {
3247
+ a(Qt, "constructYamlFloat");
3248
+ var $t = /^[-+]?[0-9]+e/;
3249
+ function en(e, t) {
3246
3250
  var n;
3247
3251
  if (isNaN(e)) switch (t) {
3248
3252
  case "lowercase": return ".nan";
@@ -3259,34 +3263,34 @@ function tn(e, t) {
3259
3263
  case "uppercase": return "-.INF";
3260
3264
  case "camelcase": return "-.Inf";
3261
3265
  }
3262
- else if (z.isNegativeZero(e)) return "-0.0";
3263
- return n = e.toString(10), en.test(n) ? n.replace("e", ".e") : n;
3266
+ else if (B.isNegativeZero(e)) return "-0.0";
3267
+ return n = e.toString(10), $t.test(n) ? n.replace("e", ".e") : n;
3264
3268
  }
3265
- a(tn, "representYamlFloat");
3266
- function nn(e) {
3267
- return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 != 0 || z.isNegativeZero(e));
3269
+ a(en, "representYamlFloat");
3270
+ function tn(e) {
3271
+ return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 != 0 || B.isNegativeZero(e));
3268
3272
  }
3269
- a(nn, "isFloat");
3270
- var rn = new V("tag:yaml.org,2002:float", {
3273
+ a(tn, "isFloat");
3274
+ var nn = new H("tag:yaml.org,2002:float", {
3271
3275
  kind: "scalar",
3272
- resolve: Qt,
3273
- construct: $t,
3274
- predicate: nn,
3275
- represent: tn,
3276
+ resolve: Zt,
3277
+ construct: Qt,
3278
+ predicate: tn,
3279
+ represent: en,
3276
3280
  defaultStyle: "lowercase"
3277
- }), an = Ft.extend({ implicit: [
3278
- zt,
3279
- Ut,
3280
- Xt,
3281
- rn
3282
- ] }), on = an, sn = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), cn = /* @__PURE__ */ 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]))?))?$");
3281
+ }), rn = Pt.extend({ implicit: [
3282
+ Rt,
3283
+ Ht,
3284
+ Yt,
3285
+ nn
3286
+ ] }), an = rn, on = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), sn = /* @__PURE__ */ 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]))?))?$");
3287
+ function cn(e) {
3288
+ return e === null ? !1 : on.exec(e) !== null || sn.exec(e) !== null;
3289
+ }
3290
+ a(cn, "resolveYamlTimestamp");
3283
3291
  function ln(e) {
3284
- return e === null ? !1 : sn.exec(e) !== null || cn.exec(e) !== null;
3285
- }
3286
- a(ln, "resolveYamlTimestamp");
3287
- function un(e) {
3288
3292
  var t, n, r, i, a, o, s, c = 0, l = null, u, d, f;
3289
- if (t = sn.exec(e), t === null && (t = cn.exec(e)), t === null) throw Error("Date resolve error");
3293
+ if (t = on.exec(e), t === null && (t = sn.exec(e)), t === null) throw Error("Date resolve error");
3290
3294
  if (n = +t[1], r = t[2] - 1, i = +t[3], !t[4]) return new Date(Date.UTC(n, r, i));
3291
3295
  if (a = +t[4], o = +t[5], s = +t[6], t[7]) {
3292
3296
  for (c = t[7].slice(0, 3); c.length < 3;) c += "0";
@@ -3294,65 +3298,65 @@ function un(e) {
3294
3298
  }
3295
3299
  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;
3296
3300
  }
3297
- a(un, "constructYamlTimestamp");
3298
- function dn(e) {
3301
+ a(ln, "constructYamlTimestamp");
3302
+ function un(e) {
3299
3303
  return e.toISOString();
3300
3304
  }
3301
- a(dn, "representYamlTimestamp");
3302
- var fn = new V("tag:yaml.org,2002:timestamp", {
3305
+ a(un, "representYamlTimestamp");
3306
+ var dn = new H("tag:yaml.org,2002:timestamp", {
3303
3307
  kind: "scalar",
3304
- resolve: ln,
3305
- construct: un,
3308
+ resolve: cn,
3309
+ construct: ln,
3306
3310
  instanceOf: Date,
3307
- represent: dn
3311
+ represent: un
3308
3312
  });
3309
- function pn(e) {
3313
+ function fn(e) {
3310
3314
  return e === "<<" || e === null;
3311
3315
  }
3312
- a(pn, "resolveYamlMerge");
3313
- var mn = new V("tag:yaml.org,2002:merge", {
3316
+ a(fn, "resolveYamlMerge");
3317
+ var pn = new H("tag:yaml.org,2002:merge", {
3314
3318
  kind: "scalar",
3315
- resolve: pn
3316
- }), hn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
3317
- function gn(e) {
3319
+ resolve: fn
3320
+ }), mn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
3321
+ function hn(e) {
3318
3322
  if (e === null) return !1;
3319
- var t, n, r = 0, i = e.length, a = hn;
3323
+ var t, n, r = 0, i = e.length, a = mn;
3320
3324
  for (n = 0; n < i; n++) if (t = a.indexOf(e.charAt(n)), !(t > 64)) {
3321
3325
  if (t < 0) return !1;
3322
3326
  r += 6;
3323
3327
  }
3324
3328
  return r % 8 == 0;
3325
3329
  }
3326
- a(gn, "resolveYamlBinary");
3327
- function _n(e) {
3328
- var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = hn, o = 0, s = [];
3330
+ a(hn, "resolveYamlBinary");
3331
+ function gn(e) {
3332
+ var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = mn, o = 0, s = [];
3329
3333
  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));
3330
3334
  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);
3331
3335
  }
3332
- a(_n, "constructYamlBinary");
3333
- function vn(e) {
3334
- var t = "", n = 0, r, i, a = e.length, o = hn;
3336
+ a(gn, "constructYamlBinary");
3337
+ function _n(e) {
3338
+ var t = "", n = 0, r, i, a = e.length, o = mn;
3335
3339
  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];
3336
3340
  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;
3337
3341
  }
3338
- a(vn, "representYamlBinary");
3339
- function yn(e) {
3342
+ a(_n, "representYamlBinary");
3343
+ function vn(e) {
3340
3344
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
3341
3345
  }
3342
- a(yn, "isBinary");
3343
- var bn = new V("tag:yaml.org,2002:binary", {
3346
+ a(vn, "isBinary");
3347
+ var yn = new H("tag:yaml.org,2002:binary", {
3344
3348
  kind: "scalar",
3345
- resolve: gn,
3346
- construct: _n,
3347
- predicate: yn,
3348
- represent: vn
3349
- }), xn = Object.prototype.hasOwnProperty, Sn = Object.prototype.toString;
3350
- function Cn(e) {
3349
+ resolve: hn,
3350
+ construct: gn,
3351
+ predicate: vn,
3352
+ represent: _n
3353
+ }), bn = Object.prototype.hasOwnProperty, xn = Object.prototype.toString;
3354
+ function Sn(e) {
3351
3355
  if (e === null) return !0;
3352
3356
  var t = [], n, r, i, a, o, s = e;
3353
3357
  for (n = 0, r = s.length; n < r; n += 1) {
3354
- if (i = s[n], o = !1, Sn.call(i) !== "[object Object]") return !1;
3355
- for (a in i) if (xn.call(i, a)) if (!o) o = !0;
3358
+ if (i = s[n], o = !1, xn.call(i) !== "[object Object]") return !1;
3359
+ for (a in i) if (bn.call(i, a)) if (!o) o = !0;
3356
3360
  else return !1;
3357
3361
  if (!o) return !1;
3358
3362
  if (t.indexOf(a) === -1) t.push(a);
@@ -3360,111 +3364,111 @@ function Cn(e) {
3360
3364
  }
3361
3365
  return !0;
3362
3366
  }
3363
- a(Cn, "resolveYamlOmap");
3364
- function wn(e) {
3367
+ a(Sn, "resolveYamlOmap");
3368
+ function Cn(e) {
3365
3369
  return e === null ? [] : e;
3366
3370
  }
3367
- a(wn, "constructYamlOmap");
3368
- var Tn = new V("tag:yaml.org,2002:omap", {
3371
+ a(Cn, "constructYamlOmap");
3372
+ var wn = new H("tag:yaml.org,2002:omap", {
3369
3373
  kind: "sequence",
3370
- resolve: Cn,
3371
- construct: wn
3372
- }), En = Object.prototype.toString;
3373
- function Dn(e) {
3374
+ resolve: Sn,
3375
+ construct: Cn
3376
+ }), Tn = Object.prototype.toString;
3377
+ function En(e) {
3374
3378
  if (e === null) return !0;
3375
3379
  var t, n, r, i, a, o = e;
3376
3380
  for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) {
3377
- if (r = o[t], En.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
3381
+ if (r = o[t], Tn.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
3378
3382
  a[t] = [i[0], r[i[0]]];
3379
3383
  }
3380
3384
  return !0;
3381
3385
  }
3382
- a(Dn, "resolveYamlPairs");
3383
- function On(e) {
3386
+ a(En, "resolveYamlPairs");
3387
+ function Dn(e) {
3384
3388
  if (e === null) return [];
3385
3389
  var t, n, r, i, a, o = e;
3386
3390
  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]]];
3387
3391
  return a;
3388
3392
  }
3389
- a(On, "constructYamlPairs");
3390
- var kn = new V("tag:yaml.org,2002:pairs", {
3393
+ a(Dn, "constructYamlPairs");
3394
+ var On = new H("tag:yaml.org,2002:pairs", {
3391
3395
  kind: "sequence",
3392
- resolve: Dn,
3393
- construct: On
3394
- }), An = Object.prototype.hasOwnProperty;
3395
- function jn(e) {
3396
+ resolve: En,
3397
+ construct: Dn
3398
+ }), kn = Object.prototype.hasOwnProperty;
3399
+ function An(e) {
3396
3400
  if (e === null) return !0;
3397
3401
  var t, n = e;
3398
- for (t in n) if (An.call(n, t) && n[t] !== null) return !1;
3402
+ for (t in n) if (kn.call(n, t) && n[t] !== null) return !1;
3399
3403
  return !0;
3400
3404
  }
3401
- a(jn, "resolveYamlSet");
3402
- function Mn(e) {
3405
+ a(An, "resolveYamlSet");
3406
+ function jn(e) {
3403
3407
  return e === null ? {} : e;
3404
3408
  }
3405
- a(Mn, "constructYamlSet");
3406
- var Nn = new V("tag:yaml.org,2002:set", {
3409
+ a(jn, "constructYamlSet");
3410
+ var Mn = new H("tag:yaml.org,2002:set", {
3407
3411
  kind: "mapping",
3408
- resolve: jn,
3409
- construct: Mn
3410
- }), Pn = on.extend({
3411
- implicit: [fn, mn],
3412
+ resolve: An,
3413
+ construct: jn
3414
+ }), Nn = an.extend({
3415
+ implicit: [dn, pn],
3412
3416
  explicit: [
3413
- bn,
3414
- Tn,
3415
- kn,
3416
- Nn
3417
+ yn,
3418
+ wn,
3419
+ On,
3420
+ Mn
3417
3421
  ]
3418
- }), Fn = Object.prototype.hasOwnProperty, In = 1, Ln = 2, Rn = 3, zn = 4, Bn = 1, Vn = 2, Hn = 3, Un = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Wn = /[\x85\u2028\u2029]/, Gn = /[,\[\]\{\}]/, Kn = /^(?:!|!!|![a-z\-]+!)$/i, qn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
3419
- function Jn(e) {
3422
+ }), Pn = Object.prototype.hasOwnProperty, Fn = 1, In = 2, Ln = 3, Rn = 4, zn = 1, Bn = 2, Vn = 3, Hn = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Un = /[\x85\u2028\u2029]/, Wn = /[,\[\]\{\}]/, Gn = /^(?:!|!!|![a-z\-]+!)$/i, Kn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
3423
+ function qn(e) {
3420
3424
  return Object.prototype.toString.call(e);
3421
3425
  }
3422
- a(Jn, "_class");
3423
- function H(e) {
3426
+ a(qn, "_class");
3427
+ function U(e) {
3424
3428
  return e === 10 || e === 13;
3425
3429
  }
3426
- a(H, "is_EOL");
3427
- function Yn(e) {
3430
+ a(U, "is_EOL");
3431
+ function Jn(e) {
3428
3432
  return e === 9 || e === 32;
3429
3433
  }
3430
- a(Yn, "is_WHITE_SPACE");
3431
- function U(e) {
3434
+ a(Jn, "is_WHITE_SPACE");
3435
+ function W(e) {
3432
3436
  return e === 9 || e === 32 || e === 10 || e === 13;
3433
3437
  }
3434
- a(U, "is_WS_OR_EOL");
3435
- function Xn(e) {
3438
+ a(W, "is_WS_OR_EOL");
3439
+ function Yn(e) {
3436
3440
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
3437
3441
  }
3438
- a(Xn, "is_FLOW_INDICATOR");
3439
- function Zn(e) {
3442
+ a(Yn, "is_FLOW_INDICATOR");
3443
+ function Xn(e) {
3440
3444
  var t;
3441
3445
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
3442
3446
  }
3443
- a(Zn, "fromHexCode");
3444
- function Qn(e) {
3447
+ a(Xn, "fromHexCode");
3448
+ function Zn(e) {
3445
3449
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
3446
3450
  }
3447
- a(Qn, "escapedHexLen");
3448
- function $n(e) {
3451
+ a(Zn, "escapedHexLen");
3452
+ function Qn(e) {
3449
3453
  return 48 <= e && e <= 57 ? e - 48 : -1;
3450
3454
  }
3451
- a($n, "fromDecimalCode");
3452
- function er(e) {
3455
+ a(Qn, "fromDecimalCode");
3456
+ function $n(e) {
3453
3457
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? "\n" : 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" : "";
3454
3458
  }
3455
- a(er, "simpleEscapeSequence");
3456
- function tr(e) {
3459
+ a($n, "simpleEscapeSequence");
3460
+ function er(e) {
3457
3461
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
3458
3462
  }
3459
- a(tr, "charFromCodepoint");
3460
- var nr = Array(256), rr = Array(256);
3461
- for (ir = 0; ir < 256; ir++) nr[ir] = +!!er(ir), rr[ir] = er(ir);
3462
- var ir;
3463
- function ar(e, t) {
3464
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || Pn, 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 = [];
3463
+ a(er, "charFromCodepoint");
3464
+ var tr = Array(256), nr = Array(256);
3465
+ for (rr = 0; rr < 256; rr++) tr[rr] = +!!$n(rr), nr[rr] = $n(rr);
3466
+ var rr;
3467
+ function ir(e, t) {
3468
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || Nn, 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 = [];
3465
3469
  }
3466
- a(ar, "State$1");
3467
- function or(e, t) {
3470
+ a(ir, "State$1");
3471
+ function ar(e, t) {
3468
3472
  var n = {
3469
3473
  name: e.filename,
3470
3474
  buffer: e.input.slice(0, -1),
@@ -3472,53 +3476,53 @@ function or(e, t) {
3472
3476
  line: e.line,
3473
3477
  column: e.position - e.lineStart
3474
3478
  };
3475
- return n.snippet = Dt(n), new B(t, n);
3479
+ return n.snippet = Et(n), new V(t, n);
3476
3480
  }
3477
- a(or, "generateError");
3478
- function W(e, t) {
3479
- throw or(e, t);
3481
+ a(ar, "generateError");
3482
+ function G(e, t) {
3483
+ throw ar(e, t);
3480
3484
  }
3481
- a(W, "throwError");
3482
- function sr(e, t) {
3483
- e.onWarning && e.onWarning.call(null, or(e, t));
3485
+ a(G, "throwError");
3486
+ function or(e, t) {
3487
+ e.onWarning && e.onWarning.call(null, ar(e, t));
3484
3488
  }
3485
- a(sr, "throwWarning");
3486
- var cr = {
3489
+ a(or, "throwWarning");
3490
+ var sr = {
3487
3491
  YAML: /* @__PURE__ */ a(function(e, t, n) {
3488
3492
  var r, i, a;
3489
- e.version !== null && W(e, "duplication of %YAML directive"), n.length !== 1 && W(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && W(e, "ill-formed argument of the YAML directive"), i = parseInt(r[1], 10), a = parseInt(r[2], 10), i !== 1 && W(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && sr(e, "unsupported YAML version of the document");
3493
+ e.version !== null && G(e, "duplication of %YAML directive"), n.length !== 1 && G(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && G(e, "ill-formed argument of the YAML directive"), i = parseInt(r[1], 10), a = parseInt(r[2], 10), i !== 1 && G(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && or(e, "unsupported YAML version of the document");
3490
3494
  }, "handleYamlDirective"),
3491
3495
  TAG: /* @__PURE__ */ a(function(e, t, n) {
3492
3496
  var r, i;
3493
- n.length !== 2 && W(e, "TAG directive accepts exactly two arguments"), r = n[0], i = n[1], Kn.test(r) || W(e, "ill-formed tag handle (first argument) of the TAG directive"), Fn.call(e.tagMap, r) && W(e, "there is a previously declared suffix for \"" + r + "\" tag handle"), qn.test(i) || W(e, "ill-formed tag prefix (second argument) of the TAG directive");
3497
+ n.length !== 2 && G(e, "TAG directive accepts exactly two arguments"), r = n[0], i = n[1], Gn.test(r) || G(e, "ill-formed tag handle (first argument) of the TAG directive"), Pn.call(e.tagMap, r) && G(e, "there is a previously declared suffix for \"" + r + "\" tag handle"), Kn.test(i) || G(e, "ill-formed tag prefix (second argument) of the TAG directive");
3494
3498
  try {
3495
3499
  i = decodeURIComponent(i);
3496
3500
  } catch {
3497
- W(e, "tag prefix is malformed: " + i);
3501
+ G(e, "tag prefix is malformed: " + i);
3498
3502
  }
3499
3503
  e.tagMap[r] = i;
3500
3504
  }, "handleTagDirective")
3501
3505
  };
3502
- function G(e, t, n, r) {
3506
+ function K(e, t, n, r) {
3503
3507
  var i, a, o, s;
3504
3508
  if (t < n) {
3505
- 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 || W(e, "expected valid JSON character");
3506
- else Un.test(s) && W(e, "the stream contains non-printable characters");
3509
+ 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 || G(e, "expected valid JSON character");
3510
+ else Hn.test(s) && G(e, "the stream contains non-printable characters");
3507
3511
  e.result += s;
3508
3512
  }
3509
3513
  }
3510
- a(G, "captureSegment");
3511
- function lr(e, t, n, r) {
3514
+ a(K, "captureSegment");
3515
+ function cr(e, t, n, r) {
3512
3516
  var i, a, o, s;
3513
- for (z.isObject(n) || W(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], Fn.call(t, a) || (t[a] = n[a], r[a] = !0);
3517
+ for (B.isObject(n) || G(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], Pn.call(t, a) || (t[a] = n[a], r[a] = !0);
3514
3518
  }
3515
- a(lr, "mergeMappings");
3516
- function ur(e, t, n, r, i, a, o, s, c) {
3519
+ a(cr, "mergeMappings");
3520
+ function lr(e, t, n, r, i, a, o, s, c) {
3517
3521
  var l, u;
3518
- if (Array.isArray(i)) for (i = Array.prototype.slice.call(i), l = 0, u = i.length; l < u; l += 1) Array.isArray(i[l]) && W(e, "nested arrays are not supported inside keys"), typeof i == "object" && Jn(i[l]) === "[object Object]" && (i[l] = "[object Object]");
3519
- if (typeof i == "object" && Jn(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) lr(e, t, a[l], n);
3520
- else lr(e, t, a, n);
3521
- else !e.json && !Fn.call(n, i) && Fn.call(t, i) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, W(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
3522
+ if (Array.isArray(i)) for (i = Array.prototype.slice.call(i), l = 0, u = i.length; l < u; l += 1) Array.isArray(i[l]) && G(e, "nested arrays are not supported inside keys"), typeof i == "object" && qn(i[l]) === "[object Object]" && (i[l] = "[object Object]");
3523
+ if (typeof i == "object" && qn(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) cr(e, t, a[l], n);
3524
+ else cr(e, t, a, n);
3525
+ else !e.json && !Pn.call(n, i) && Pn.call(t, i) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, G(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
3522
3526
  configurable: !0,
3523
3527
  enumerable: !0,
3524
3528
  writable: !0,
@@ -3526,268 +3530,268 @@ function ur(e, t, n, r, i, a, o, s, c) {
3526
3530
  }) : t[i] = a, delete n[i];
3527
3531
  return t;
3528
3532
  }
3529
- a(ur, "storeMappingPair");
3530
- function dr(e) {
3533
+ a(lr, "storeMappingPair");
3534
+ function ur(e) {
3531
3535
  var t = e.input.charCodeAt(e.position);
3532
- t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : W(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
3536
+ t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : G(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
3533
3537
  }
3534
- a(dr, "readLineBreak");
3535
- function K(e, t, n) {
3538
+ a(ur, "readLineBreak");
3539
+ function q(e, t, n) {
3536
3540
  for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0;) {
3537
- for (; Yn(i);) i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
3541
+ for (; Jn(i);) i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
3538
3542
  if (t && i === 35) do
3539
3543
  i = e.input.charCodeAt(++e.position);
3540
3544
  while (i !== 10 && i !== 13 && i !== 0);
3541
- if (H(i)) for (dr(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32;) e.lineIndent++, i = e.input.charCodeAt(++e.position);
3545
+ if (U(i)) for (ur(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32;) e.lineIndent++, i = e.input.charCodeAt(++e.position);
3542
3546
  else break;
3543
3547
  }
3544
- return n !== -1 && r !== 0 && e.lineIndent < n && sr(e, "deficient indentation"), r;
3548
+ return n !== -1 && r !== 0 && e.lineIndent < n && or(e, "deficient indentation"), r;
3545
3549
  }
3546
- a(K, "skipSeparationSpace");
3547
- function fr(e) {
3550
+ a(q, "skipSeparationSpace");
3551
+ function dr(e) {
3548
3552
  var t = e.position, n = e.input.charCodeAt(t);
3549
- 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 || U(n)));
3553
+ 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 || W(n)));
3550
3554
  }
3551
- a(fr, "testDocumentSeparator");
3552
- function pr(e, t) {
3553
- t === 1 ? e.result += " " : t > 1 && (e.result += z.repeat("\n", t - 1));
3555
+ a(dr, "testDocumentSeparator");
3556
+ function fr(e, t) {
3557
+ t === 1 ? e.result += " " : t > 1 && (e.result += B.repeat("\n", t - 1));
3554
3558
  }
3555
- a(pr, "writeFoldedLines");
3556
- function mr(e, t, n) {
3559
+ a(fr, "writeFoldedLines");
3560
+ function pr(e, t, n) {
3557
3561
  var r, i, a, o, s, c, l, u, d = e.kind, f = e.result, p = e.input.charCodeAt(e.position);
3558
- if (U(p) || Xn(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), U(i) || n && Xn(i))) return !1;
3562
+ if (W(p) || Yn(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), W(i) || n && Yn(i))) return !1;
3559
3563
  for (e.kind = "scalar", e.result = "", a = o = e.position, s = !1; p !== 0;) {
3560
3564
  if (p === 58) {
3561
- if (i = e.input.charCodeAt(e.position + 1), U(i) || n && Xn(i)) break;
3565
+ if (i = e.input.charCodeAt(e.position + 1), W(i) || n && Yn(i)) break;
3562
3566
  } else if (p === 35) {
3563
- if (r = e.input.charCodeAt(e.position - 1), U(r)) break;
3564
- } else if (e.position === e.lineStart && fr(e) || n && Xn(p)) break;
3565
- else if (H(p)) if (c = e.line, l = e.lineStart, u = e.lineIndent, K(e, !1, -1), e.lineIndent >= t) {
3567
+ if (r = e.input.charCodeAt(e.position - 1), W(r)) break;
3568
+ } else if (e.position === e.lineStart && dr(e) || n && Yn(p)) break;
3569
+ else if (U(p)) if (c = e.line, l = e.lineStart, u = e.lineIndent, q(e, !1, -1), e.lineIndent >= t) {
3566
3570
  s = !0, p = e.input.charCodeAt(e.position);
3567
3571
  continue;
3568
3572
  } else {
3569
3573
  e.position = o, e.line = c, e.lineStart = l, e.lineIndent = u;
3570
3574
  break;
3571
3575
  }
3572
- s &&= (G(e, a, o, !1), pr(e, e.line - c), a = o = e.position, !1), Yn(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
3576
+ s &&= (K(e, a, o, !1), fr(e, e.line - c), a = o = e.position, !1), Jn(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
3573
3577
  }
3574
- return G(e, a, o, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
3578
+ return K(e, a, o, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
3575
3579
  }
3576
- a(mr, "readPlainScalar");
3577
- function hr(e, t) {
3580
+ a(pr, "readPlainScalar");
3581
+ function mr(e, t) {
3578
3582
  var n = e.input.charCodeAt(e.position), r, i;
3579
3583
  if (n !== 39) return !1;
3580
- for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0;) if (n === 39) if (G(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39) r = e.position, e.position++, i = e.position;
3584
+ for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0;) if (n === 39) if (K(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39) r = e.position, e.position++, i = e.position;
3581
3585
  else return !0;
3582
- else H(n) ? (G(e, r, i, !0), pr(e, K(e, !1, t)), r = i = e.position) : e.position === e.lineStart && fr(e) ? W(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
3583
- W(e, "unexpected end of the stream within a single quoted scalar");
3586
+ else U(n) ? (K(e, r, i, !0), fr(e, q(e, !1, t)), r = i = e.position) : e.position === e.lineStart && dr(e) ? G(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
3587
+ G(e, "unexpected end of the stream within a single quoted scalar");
3584
3588
  }
3585
- a(hr, "readSingleQuotedScalar");
3586
- function gr(e, t) {
3589
+ a(mr, "readSingleQuotedScalar");
3590
+ function hr(e, t) {
3587
3591
  var n, r, i, a, o, s = e.input.charCodeAt(e.position);
3588
3592
  if (s !== 34) return !1;
3589
- for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0;) if (s === 34) return G(e, n, e.position, !0), e.position++, !0;
3593
+ for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0;) if (s === 34) return K(e, n, e.position, !0), e.position++, !0;
3590
3594
  else if (s === 92) {
3591
- if (G(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), H(s)) K(e, !1, t);
3592
- else if (s < 256 && nr[s]) e.result += rr[s], e.position++;
3593
- else if ((o = Qn(s)) > 0) {
3594
- for (i = o, a = 0; i > 0; i--) s = e.input.charCodeAt(++e.position), (o = Zn(s)) >= 0 ? a = (a << 4) + o : W(e, "expected hexadecimal character");
3595
- e.result += tr(a), e.position++;
3596
- } else W(e, "unknown escape sequence");
3595
+ if (K(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), U(s)) q(e, !1, t);
3596
+ else if (s < 256 && tr[s]) e.result += nr[s], e.position++;
3597
+ else if ((o = Zn(s)) > 0) {
3598
+ for (i = o, a = 0; i > 0; i--) s = e.input.charCodeAt(++e.position), (o = Xn(s)) >= 0 ? a = (a << 4) + o : G(e, "expected hexadecimal character");
3599
+ e.result += er(a), e.position++;
3600
+ } else G(e, "unknown escape sequence");
3597
3601
  n = r = e.position;
3598
- } else H(s) ? (G(e, n, r, !0), pr(e, K(e, !1, t)), n = r = e.position) : e.position === e.lineStart && fr(e) ? W(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
3599
- W(e, "unexpected end of the stream within a double quoted scalar");
3602
+ } else U(s) ? (K(e, n, r, !0), fr(e, q(e, !1, t)), n = r = e.position) : e.position === e.lineStart && dr(e) ? G(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
3603
+ G(e, "unexpected end of the stream within a double quoted scalar");
3600
3604
  }
3601
- a(gr, "readDoubleQuotedScalar");
3602
- function _r(e, t) {
3605
+ a(hr, "readDoubleQuotedScalar");
3606
+ function gr(e, t) {
3603
3607
  var n = !0, r, i, a, o = e.tag, s, c = e.anchor, l, u, d, f, p, m = /* @__PURE__ */ Object.create(null), h, g, _, v = e.input.charCodeAt(e.position);
3604
3608
  if (v === 91) u = 93, p = !1, s = [];
3605
3609
  else if (v === 123) u = 125, p = !0, s = {};
3606
3610
  else return !1;
3607
3611
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), v = e.input.charCodeAt(++e.position); v !== 0;) {
3608
- if (K(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;
3609
- n ? v === 44 && W(e, "expected the node content, but found ','") : W(e, "missed comma between flow collection entries"), g = h = _ = null, d = f = !1, v === 63 && (l = e.input.charCodeAt(e.position + 1), U(l) && (d = f = !0, e.position++, K(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, wr(e, t, In, !1, !0), g = e.tag, h = e.result, K(e, !0, t), v = e.input.charCodeAt(e.position), (f || e.line === r) && v === 58 && (d = !0, v = e.input.charCodeAt(++e.position), K(e, !0, t), wr(e, t, In, !1, !0), _ = e.result), p ? ur(e, s, m, g, h, _, r, i, a) : d ? s.push(ur(e, null, m, g, h, _, r, i, a)) : s.push(h), K(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
3612
+ if (q(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;
3613
+ n ? v === 44 && G(e, "expected the node content, but found ','") : G(e, "missed comma between flow collection entries"), g = h = _ = null, d = f = !1, v === 63 && (l = e.input.charCodeAt(e.position + 1), W(l) && (d = f = !0, e.position++, q(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, Cr(e, t, Fn, !1, !0), g = e.tag, h = e.result, q(e, !0, t), v = e.input.charCodeAt(e.position), (f || e.line === r) && v === 58 && (d = !0, v = e.input.charCodeAt(++e.position), q(e, !0, t), Cr(e, t, Fn, !1, !0), _ = e.result), p ? lr(e, s, m, g, h, _, r, i, a) : d ? s.push(lr(e, null, m, g, h, _, r, i, a)) : s.push(h), q(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
3610
3614
  }
3611
- W(e, "unexpected end of the stream within a flow collection");
3615
+ G(e, "unexpected end of the stream within a flow collection");
3612
3616
  }
3613
- a(_r, "readFlowCollection");
3614
- function vr(e, t) {
3615
- var n, r, i = Bn, a = !1, o = !1, s = t, c = 0, l = !1, u, d = e.input.charCodeAt(e.position);
3617
+ a(gr, "readFlowCollection");
3618
+ function _r(e, t) {
3619
+ var n, r, i = zn, a = !1, o = !1, s = t, c = 0, l = !1, u, d = e.input.charCodeAt(e.position);
3616
3620
  if (d === 124) r = !1;
3617
3621
  else if (d === 62) r = !0;
3618
3622
  else return !1;
3619
- for (e.kind = "scalar", e.result = ""; d !== 0;) if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45) Bn === i ? i = d === 43 ? Hn : Vn : W(e, "repeat of a chomping mode identifier");
3620
- else if ((u = $n(d)) >= 0) u === 0 ? W(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? W(e, "repeat of an indentation width identifier") : (s = t + u - 1, o = !0);
3623
+ for (e.kind = "scalar", e.result = ""; d !== 0;) if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45) zn === i ? i = d === 43 ? Vn : Bn : G(e, "repeat of a chomping mode identifier");
3624
+ else if ((u = Qn(d)) >= 0) u === 0 ? G(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? G(e, "repeat of an indentation width identifier") : (s = t + u - 1, o = !0);
3621
3625
  else break;
3622
- if (Yn(d)) {
3626
+ if (Jn(d)) {
3623
3627
  do
3624
3628
  d = e.input.charCodeAt(++e.position);
3625
- while (Yn(d));
3629
+ while (Jn(d));
3626
3630
  if (d === 35) do
3627
3631
  d = e.input.charCodeAt(++e.position);
3628
- while (!H(d) && d !== 0);
3632
+ while (!U(d) && d !== 0);
3629
3633
  }
3630
3634
  for (; d !== 0;) {
3631
- for (dr(e), e.lineIndent = 0, d = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && d === 32;) e.lineIndent++, d = e.input.charCodeAt(++e.position);
3632
- if (!o && e.lineIndent > s && (s = e.lineIndent), H(d)) {
3635
+ for (ur(e), e.lineIndent = 0, d = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && d === 32;) e.lineIndent++, d = e.input.charCodeAt(++e.position);
3636
+ if (!o && e.lineIndent > s && (s = e.lineIndent), U(d)) {
3633
3637
  c++;
3634
3638
  continue;
3635
3639
  }
3636
3640
  if (e.lineIndent < s) {
3637
- i === Hn ? e.result += z.repeat("\n", a ? 1 + c : c) : i === Bn && a && (e.result += "\n");
3641
+ i === Vn ? e.result += B.repeat("\n", a ? 1 + c : c) : i === zn && a && (e.result += "\n");
3638
3642
  break;
3639
3643
  }
3640
- for (r ? Yn(d) ? (l = !0, e.result += z.repeat("\n", a ? 1 + c : c)) : l ? (l = !1, e.result += z.repeat("\n", c + 1)) : c === 0 ? a && (e.result += " ") : e.result += z.repeat("\n", c) : e.result += z.repeat("\n", a ? 1 + c : c), a = !0, o = !0, c = 0, n = e.position; !H(d) && d !== 0;) d = e.input.charCodeAt(++e.position);
3641
- G(e, n, e.position, !1);
3644
+ for (r ? Jn(d) ? (l = !0, e.result += B.repeat("\n", a ? 1 + c : c)) : l ? (l = !1, e.result += B.repeat("\n", c + 1)) : c === 0 ? a && (e.result += " ") : e.result += B.repeat("\n", c) : e.result += B.repeat("\n", a ? 1 + c : c), a = !0, o = !0, c = 0, n = e.position; !U(d) && d !== 0;) d = e.input.charCodeAt(++e.position);
3645
+ K(e, n, e.position, !1);
3642
3646
  }
3643
3647
  return !0;
3644
3648
  }
3645
- a(vr, "readBlockScalar");
3646
- function yr(e, t) {
3649
+ a(_r, "readBlockScalar");
3650
+ function vr(e, t) {
3647
3651
  var n, r = e.tag, i = e.anchor, a = [], o, s = !1, c;
3648
3652
  if (e.firstTabInLine !== -1) return !1;
3649
- for (e.anchor !== null && (e.anchorMap[e.anchor] = a), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, W(e, "tab characters must not be used in indentation")), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !U(o))));) {
3650
- if (s = !0, e.position++, K(e, !0, -1) && e.lineIndent <= t) {
3653
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = a), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, G(e, "tab characters must not be used in indentation")), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !W(o))));) {
3654
+ if (s = !0, e.position++, q(e, !0, -1) && e.lineIndent <= t) {
3651
3655
  a.push(null), c = e.input.charCodeAt(e.position);
3652
3656
  continue;
3653
3657
  }
3654
- if (n = e.line, wr(e, t, Rn, !1, !0), a.push(e.result), K(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0) W(e, "bad indentation of a sequence entry");
3658
+ if (n = e.line, Cr(e, t, Ln, !1, !0), a.push(e.result), q(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0) G(e, "bad indentation of a sequence entry");
3655
3659
  else if (e.lineIndent < t) break;
3656
3660
  }
3657
3661
  return s ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = a, !0) : !1;
3658
3662
  }
3659
- a(yr, "readBlockSequence");
3660
- function br(e, t, n) {
3663
+ a(vr, "readBlockSequence");
3664
+ function yr(e, t, n) {
3661
3665
  var r, i, a, o, s, c, l = e.tag, u = e.anchor, d = {}, f = /* @__PURE__ */ Object.create(null), p = null, m = null, h = null, g = !1, _ = !1, v;
3662
3666
  if (e.firstTabInLine !== -1) return !1;
3663
3667
  for (e.anchor !== null && (e.anchorMap[e.anchor] = d), v = e.input.charCodeAt(e.position); v !== 0;) {
3664
- if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, W(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (v === 63 || v === 58) && U(r)) v === 63 ? (g && (ur(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : W(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = r;
3668
+ if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, G(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (v === 63 || v === 58) && W(r)) v === 63 ? (g && (lr(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : G(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = r;
3665
3669
  else {
3666
- if (o = e.line, s = e.lineStart, c = e.position, !wr(e, n, Ln, !1, !0)) break;
3670
+ if (o = e.line, s = e.lineStart, c = e.position, !Cr(e, n, In, !1, !0)) break;
3667
3671
  if (e.line === a) {
3668
- for (v = e.input.charCodeAt(e.position); Yn(v);) v = e.input.charCodeAt(++e.position);
3669
- if (v === 58) v = e.input.charCodeAt(++e.position), U(v) || W(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (ur(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !1, i = !1, p = e.tag, m = e.result;
3670
- else if (_) W(e, "can not read an implicit mapping pair; a colon is missed");
3672
+ for (v = e.input.charCodeAt(e.position); Jn(v);) v = e.input.charCodeAt(++e.position);
3673
+ if (v === 58) v = e.input.charCodeAt(++e.position), W(v) || G(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (lr(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !1, i = !1, p = e.tag, m = e.result;
3674
+ else if (_) G(e, "can not read an implicit mapping pair; a colon is missed");
3671
3675
  else return e.tag = l, e.anchor = u, !0;
3672
- } else if (_) W(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
3676
+ } else if (_) G(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
3673
3677
  else return e.tag = l, e.anchor = u, !0;
3674
3678
  }
3675
- if ((e.line === a || e.lineIndent > t) && (g && (o = e.line, s = e.lineStart, c = e.position), wr(e, t, zn, !0, i) && (g ? m = e.result : h = e.result), g || (ur(e, d, f, p, m, h, o, s, c), p = m = h = null), K(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && v !== 0) W(e, "bad indentation of a mapping entry");
3679
+ if ((e.line === a || e.lineIndent > t) && (g && (o = e.line, s = e.lineStart, c = e.position), Cr(e, t, Rn, !0, i) && (g ? m = e.result : h = e.result), g || (lr(e, d, f, p, m, h, o, s, c), p = m = h = null), q(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && v !== 0) G(e, "bad indentation of a mapping entry");
3676
3680
  else if (e.lineIndent < t) break;
3677
3681
  }
3678
- return g && ur(e, d, f, p, m, null, o, s, c), _ && (e.tag = l, e.anchor = u, e.kind = "mapping", e.result = d), _;
3682
+ return g && lr(e, d, f, p, m, null, o, s, c), _ && (e.tag = l, e.anchor = u, e.kind = "mapping", e.result = d), _;
3679
3683
  }
3680
- a(br, "readBlockMapping");
3681
- function xr(e) {
3684
+ a(yr, "readBlockMapping");
3685
+ function br(e) {
3682
3686
  var t, n = !1, r = !1, i, a, o = e.input.charCodeAt(e.position);
3683
3687
  if (o !== 33) return !1;
3684
- if (e.tag !== null && W(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) {
3688
+ if (e.tag !== null && G(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) {
3685
3689
  do
3686
3690
  o = e.input.charCodeAt(++e.position);
3687
3691
  while (o !== 0 && o !== 62);
3688
- e.position < e.length ? (a = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : W(e, "unexpected end of the stream within a verbatim tag");
3692
+ e.position < e.length ? (a = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : G(e, "unexpected end of the stream within a verbatim tag");
3689
3693
  } else {
3690
- for (; o !== 0 && !U(o);) o === 33 && (r ? W(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), Kn.test(i) || W(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
3691
- a = e.input.slice(t, e.position), Gn.test(a) && W(e, "tag suffix cannot contain flow indicator characters");
3694
+ for (; o !== 0 && !W(o);) o === 33 && (r ? G(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), Gn.test(i) || G(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
3695
+ a = e.input.slice(t, e.position), Wn.test(a) && G(e, "tag suffix cannot contain flow indicator characters");
3692
3696
  }
3693
- a && !qn.test(a) && W(e, "tag name cannot contain such characters: " + a);
3697
+ a && !Kn.test(a) && G(e, "tag name cannot contain such characters: " + a);
3694
3698
  try {
3695
3699
  a = decodeURIComponent(a);
3696
3700
  } catch {
3697
- W(e, "tag name is malformed: " + a);
3701
+ G(e, "tag name is malformed: " + a);
3698
3702
  }
3699
- return n ? e.tag = a : Fn.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === "!" ? e.tag = "!" + a : i === "!!" ? e.tag = "tag:yaml.org,2002:" + a : W(e, "undeclared tag handle \"" + i + "\""), !0;
3703
+ return n ? e.tag = a : Pn.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === "!" ? e.tag = "!" + a : i === "!!" ? e.tag = "tag:yaml.org,2002:" + a : G(e, "undeclared tag handle \"" + i + "\""), !0;
3700
3704
  }
3701
- a(xr, "readTagProperty");
3702
- function Sr(e) {
3705
+ a(br, "readTagProperty");
3706
+ function xr(e) {
3703
3707
  var t, n = e.input.charCodeAt(e.position);
3704
3708
  if (n !== 38) return !1;
3705
- for (e.anchor !== null && W(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !U(n) && !Xn(n);) n = e.input.charCodeAt(++e.position);
3706
- return e.position === t && W(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
3709
+ for (e.anchor !== null && G(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !W(n) && !Yn(n);) n = e.input.charCodeAt(++e.position);
3710
+ return e.position === t && G(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
3707
3711
  }
3708
- a(Sr, "readAnchorProperty");
3709
- function Cr(e) {
3712
+ a(xr, "readAnchorProperty");
3713
+ function Sr(e) {
3710
3714
  var t, n, r = e.input.charCodeAt(e.position);
3711
3715
  if (r !== 42) return !1;
3712
- for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !U(r) && !Xn(r);) r = e.input.charCodeAt(++e.position);
3713
- return e.position === t && W(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Fn.call(e.anchorMap, n) || W(e, "unidentified alias \"" + n + "\""), e.result = e.anchorMap[n], K(e, !0, -1), !0;
3716
+ for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !W(r) && !Yn(r);) r = e.input.charCodeAt(++e.position);
3717
+ return e.position === t && G(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Pn.call(e.anchorMap, n) || G(e, "unidentified alias \"" + n + "\""), e.result = e.anchorMap[n], q(e, !0, -1), !0;
3714
3718
  }
3715
- a(Cr, "readAlias");
3716
- function wr(e, t, n, r, i) {
3719
+ a(Sr, "readAlias");
3720
+ function Cr(e, t, n, r, i) {
3717
3721
  var a, o, s, c = 1, l = !1, u = !1, d, f, p, m, h, g;
3718
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = s = zn === n || Rn === n, r && K(e, !0, -1) && (l = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1) for (; xr(e) || Sr(e);) K(e, !0, -1) ? (l = !0, s = a, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
3719
- if (s &&= l || i, (c === 1 || zn === n) && (h = In === n || Ln === n ? t : t + 1, g = e.position - e.lineStart, c === 1 ? s && (yr(e, g) || br(e, g, h)) || _r(e, h) ? u = !0 : (o && vr(e, h) || hr(e, h) || gr(e, h) ? u = !0 : Cr(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && W(e, "alias node should not have any properties")) : mr(e, h, In === n) && (u = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (u = s && yr(e, g))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
3722
+ 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 || Ln === n, r && q(e, !0, -1) && (l = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1) for (; br(e) || xr(e);) q(e, !0, -1) ? (l = !0, s = a, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
3723
+ if (s &&= l || i, (c === 1 || Rn === n) && (h = Fn === n || In === n ? t : t + 1, g = e.position - e.lineStart, c === 1 ? s && (vr(e, g) || yr(e, g, h)) || gr(e, h) ? u = !0 : (o && _r(e, h) || mr(e, h) || hr(e, h) ? u = !0 : Sr(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && G(e, "alias node should not have any properties")) : pr(e, h, Fn === n) && (u = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (u = s && vr(e, g))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
3720
3724
  else if (e.tag === "?") {
3721
- for (e.result !== null && e.kind !== "scalar" && W(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)) {
3725
+ for (e.result !== null && e.kind !== "scalar" && G(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)) {
3722
3726
  e.result = m.construct(e.result), e.tag = m.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
3723
3727
  break;
3724
3728
  }
3725
3729
  } else if (e.tag !== "!") {
3726
- if (Fn.call(e.typeMap[e.kind || "fallback"], e.tag)) m = e.typeMap[e.kind || "fallback"][e.tag];
3730
+ if (Pn.call(e.typeMap[e.kind || "fallback"], e.tag)) m = e.typeMap[e.kind || "fallback"][e.tag];
3727
3731
  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) {
3728
3732
  m = p[d];
3729
3733
  break;
3730
3734
  }
3731
- m || W(e, "unknown tag !<" + e.tag + ">"), e.result !== null && m.kind !== e.kind && W(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)) : W(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
3735
+ m || G(e, "unknown tag !<" + e.tag + ">"), e.result !== null && m.kind !== e.kind && G(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)) : G(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
3732
3736
  }
3733
3737
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || u;
3734
3738
  }
3735
- a(wr, "composeNode");
3736
- function Tr(e) {
3739
+ a(Cr, "composeNode");
3740
+ function wr(e) {
3737
3741
  var t = e.position, n, r, i, a = !1, o;
3738
- for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (K(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37));) {
3739
- for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !U(o);) o = e.input.charCodeAt(++e.position);
3740
- for (r = e.input.slice(n, e.position), i = [], r.length < 1 && W(e, "directive name must not be less than one character in length"); o !== 0;) {
3741
- for (; Yn(o);) o = e.input.charCodeAt(++e.position);
3742
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (q(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37));) {
3743
+ for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !W(o);) o = e.input.charCodeAt(++e.position);
3744
+ for (r = e.input.slice(n, e.position), i = [], r.length < 1 && G(e, "directive name must not be less than one character in length"); o !== 0;) {
3745
+ for (; Jn(o);) o = e.input.charCodeAt(++e.position);
3742
3746
  if (o === 35) {
3743
3747
  do
3744
3748
  o = e.input.charCodeAt(++e.position);
3745
- while (o !== 0 && !H(o));
3749
+ while (o !== 0 && !U(o));
3746
3750
  break;
3747
3751
  }
3748
- if (H(o)) break;
3749
- for (n = e.position; o !== 0 && !U(o);) o = e.input.charCodeAt(++e.position);
3752
+ if (U(o)) break;
3753
+ for (n = e.position; o !== 0 && !W(o);) o = e.input.charCodeAt(++e.position);
3750
3754
  i.push(e.input.slice(n, e.position));
3751
3755
  }
3752
- o !== 0 && dr(e), Fn.call(cr, r) ? cr[r](e, r, i) : sr(e, "unknown document directive \"" + r + "\"");
3756
+ o !== 0 && ur(e), Pn.call(sr, r) ? sr[r](e, r, i) : or(e, "unknown document directive \"" + r + "\"");
3753
3757
  }
3754
- if (K(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, K(e, !0, -1)) : a && W(e, "directives end mark is expected"), wr(e, e.lineIndent - 1, zn, !1, !0), K(e, !0, -1), e.checkLineBreaks && Wn.test(e.input.slice(t, e.position)) && sr(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && fr(e)) {
3755
- e.input.charCodeAt(e.position) === 46 && (e.position += 3, K(e, !0, -1));
3758
+ if (q(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, q(e, !0, -1)) : a && G(e, "directives end mark is expected"), Cr(e, e.lineIndent - 1, Rn, !1, !0), q(e, !0, -1), e.checkLineBreaks && Un.test(e.input.slice(t, e.position)) && or(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dr(e)) {
3759
+ e.input.charCodeAt(e.position) === 46 && (e.position += 3, q(e, !0, -1));
3756
3760
  return;
3757
3761
  }
3758
- if (e.position < e.length - 1) W(e, "end of the stream or a document separator is expected");
3762
+ if (e.position < e.length - 1) G(e, "end of the stream or a document separator is expected");
3759
3763
  else return;
3760
3764
  }
3761
- a(Tr, "readDocument");
3762
- function Er(e, t) {
3765
+ a(wr, "readDocument");
3766
+ function Tr(e, t) {
3763
3767
  e = String(e), t ||= {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += "\n"), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
3764
- var n = new ar(e, t), r = e.indexOf("\0");
3765
- for (r !== -1 && (n.position = r, W(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32;) n.lineIndent += 1, n.position += 1;
3766
- for (; n.position < n.length - 1;) Tr(n);
3768
+ var n = new ir(e, t), r = e.indexOf("\0");
3769
+ for (r !== -1 && (n.position = r, G(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32;) n.lineIndent += 1, n.position += 1;
3770
+ for (; n.position < n.length - 1;) wr(n);
3767
3771
  return n.documents;
3768
3772
  }
3769
- a(Er, "loadDocuments");
3770
- function Dr(e, t, n) {
3773
+ a(Tr, "loadDocuments");
3774
+ function Er(e, t, n) {
3771
3775
  typeof t == "object" && t && n === void 0 && (n = t, t = null);
3772
- var r = Er(e, n);
3776
+ var r = Tr(e, n);
3773
3777
  if (typeof t != "function") return r;
3774
3778
  for (var i = 0, a = r.length; i < a; i += 1) t(r[i]);
3775
3779
  }
3776
- a(Dr, "loadAll$1");
3777
- function Or(e, t) {
3778
- var n = Er(e, t);
3780
+ a(Er, "loadAll$1");
3781
+ function Dr(e, t) {
3782
+ var n = Tr(e, t);
3779
3783
  if (n.length !== 0) {
3780
3784
  if (n.length === 1) return n[0];
3781
- throw new B("expected a single document in the stream, but found more");
3785
+ throw new V("expected a single document in the stream, but found more");
3782
3786
  }
3783
3787
  }
3784
- a(Or, "load$1");
3785
- var kr = {
3786
- loadAll: Dr,
3787
- load: Or
3788
- }, Ar = Object.prototype.toString, jr = Object.prototype.hasOwnProperty, Mr = 65279, Nr = 9, Pr = 10, Fr = 13, Ir = 32, Lr = 33, Rr = 34, zr = 35, Br = 37, Vr = 38, Hr = 39, Ur = 42, Wr = 44, Gr = 45, Kr = 58, qr = 61, Jr = 62, Yr = 63, Xr = 64, Zr = 91, Qr = 93, $r = 96, ei = 123, ti = 124, ni = 125, q = {};
3789
- q[0] = "\\0", q[7] = "\\a", q[8] = "\\b", q[9] = "\\t", q[10] = "\\n", q[11] = "\\v", q[12] = "\\f", q[13] = "\\r", q[27] = "\\e", q[34] = "\\\"", q[92] = "\\\\", q[133] = "\\N", q[160] = "\\_", q[8232] = "\\L", q[8233] = "\\P";
3790
- var ri = [
3788
+ a(Dr, "load$1");
3789
+ var Or = {
3790
+ loadAll: Er,
3791
+ load: Dr
3792
+ }, kr = Object.prototype.toString, Ar = Object.prototype.hasOwnProperty, jr = 65279, Mr = 9, Nr = 10, Pr = 13, Fr = 32, Ir = 33, Lr = 34, Rr = 35, zr = 37, Br = 38, Vr = 39, Hr = 42, Ur = 44, Wr = 45, Gr = 58, Kr = 61, qr = 62, Jr = 63, Yr = 64, Xr = 91, Zr = 93, Qr = 96, $r = 123, ei = 124, ti = 125, J = {};
3793
+ J[0] = "\\0", J[7] = "\\a", J[8] = "\\b", J[9] = "\\t", J[10] = "\\n", J[11] = "\\v", J[12] = "\\f", J[13] = "\\r", J[27] = "\\e", J[34] = "\\\"", J[92] = "\\\\", J[133] = "\\N", J[160] = "\\_", J[8232] = "\\L", J[8233] = "\\P";
3794
+ var ni = [
3791
3795
  "y",
3792
3796
  "Y",
3793
3797
  "yes",
@@ -3804,239 +3808,239 @@ var ri = [
3804
3808
  "off",
3805
3809
  "Off",
3806
3810
  "OFF"
3807
- ], ii = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
3808
- function ai(e, t) {
3811
+ ], ri = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
3812
+ function ii(e, t) {
3809
3813
  var n, r, i, a, o, s, c;
3810
3814
  if (t === null) return {};
3811
- 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 && jr.call(c.styleAliases, s) && (s = c.styleAliases[s]), n[o] = s;
3815
+ 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 && Ar.call(c.styleAliases, s) && (s = c.styleAliases[s]), n[o] = s;
3812
3816
  return n;
3813
3817
  }
3814
- a(ai, "compileStyleMap");
3815
- function oi(e) {
3818
+ a(ii, "compileStyleMap");
3819
+ function ai(e) {
3816
3820
  var t = e.toString(16).toUpperCase(), n, r;
3817
3821
  if (e <= 255) n = "x", r = 2;
3818
3822
  else if (e <= 65535) n = "u", r = 4;
3819
3823
  else if (e <= 4294967295) n = "U", r = 8;
3820
- else throw new B("code point within a string may not be greater than 0xFFFFFFFF");
3821
- return "\\" + n + z.repeat("0", r - t.length) + t;
3824
+ else throw new V("code point within a string may not be greater than 0xFFFFFFFF");
3825
+ return "\\" + n + B.repeat("0", r - t.length) + t;
3822
3826
  }
3823
- a(oi, "encodeHex");
3824
- var si = 1, ci = 2;
3825
- function li(e) {
3826
- this.schema = e.schema || Pn, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = z.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = ai(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 === "\"" ? ci : si, 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;
3827
+ a(ai, "encodeHex");
3828
+ var oi = 1, si = 2;
3829
+ function ci(e) {
3830
+ this.schema = e.schema || Nn, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = B.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = ii(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 === "\"" ? si : oi, 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;
3827
3831
  }
3828
- a(li, "State");
3829
- function ui(e, t) {
3830
- for (var n = z.repeat(" ", t), r = 0, i = -1, a = "", o, s = e.length; r < s;) i = e.indexOf("\n", r), i === -1 ? (o = e.slice(r), r = s) : (o = e.slice(r, i + 1), r = i + 1), o.length && o !== "\n" && (a += n), a += o;
3832
+ a(ci, "State");
3833
+ function li(e, t) {
3834
+ for (var n = B.repeat(" ", t), r = 0, i = -1, a = "", o, s = e.length; r < s;) i = e.indexOf("\n", r), i === -1 ? (o = e.slice(r), r = s) : (o = e.slice(r, i + 1), r = i + 1), o.length && o !== "\n" && (a += n), a += o;
3831
3835
  return a;
3832
3836
  }
3833
- a(ui, "indentString");
3834
- function di(e, t) {
3835
- return "\n" + z.repeat(" ", e.indent * t);
3837
+ a(li, "indentString");
3838
+ function ui(e, t) {
3839
+ return "\n" + B.repeat(" ", e.indent * t);
3836
3840
  }
3837
- a(di, "generateNextLine");
3838
- function fi(e, t) {
3841
+ a(ui, "generateNextLine");
3842
+ function di(e, t) {
3839
3843
  var n, r, i;
3840
3844
  for (n = 0, r = e.implicitTypes.length; n < r; n += 1) if (i = e.implicitTypes[n], i.resolve(t)) return !0;
3841
3845
  return !1;
3842
3846
  }
3843
- a(fi, "testImplicitResolving");
3847
+ a(di, "testImplicitResolving");
3848
+ function fi(e) {
3849
+ return e === Fr || e === Mr;
3850
+ }
3851
+ a(fi, "isWhitespace");
3844
3852
  function pi(e) {
3845
- return e === Ir || e === Nr;
3853
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== jr || 65536 <= e && e <= 1114111;
3846
3854
  }
3847
- a(pi, "isWhitespace");
3855
+ a(pi, "isPrintable");
3848
3856
  function mi(e) {
3849
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Mr || 65536 <= e && e <= 1114111;
3857
+ return pi(e) && e !== jr && e !== Pr && e !== Nr;
3850
3858
  }
3851
- a(mi, "isPrintable");
3852
- function hi(e) {
3853
- return mi(e) && e !== Mr && e !== Fr && e !== Pr;
3859
+ a(mi, "isNsCharOrWhitespace");
3860
+ function hi(e, t, n) {
3861
+ var r = mi(e), i = r && !fi(e);
3862
+ return (n ? r : r && e !== Ur && e !== Xr && e !== Zr && e !== $r && e !== ti) && e !== Rr && !(t === Gr && !i) || mi(t) && !fi(t) && e === Rr || t === Gr && i;
3854
3863
  }
3855
- a(hi, "isNsCharOrWhitespace");
3856
- function gi(e, t, n) {
3857
- var r = hi(e), i = r && !pi(e);
3858
- return (n ? r : r && e !== Wr && e !== Zr && e !== Qr && e !== ei && e !== ni) && e !== zr && !(t === Kr && !i) || hi(t) && !pi(t) && e === zr || t === Kr && i;
3864
+ a(hi, "isPlainSafe");
3865
+ function gi(e) {
3866
+ return pi(e) && e !== jr && !fi(e) && e !== Wr && e !== Jr && e !== Gr && e !== Ur && e !== Xr && e !== Zr && e !== $r && e !== ti && e !== Rr && e !== Br && e !== Hr && e !== Ir && e !== ei && e !== Kr && e !== qr && e !== Vr && e !== Lr && e !== zr && e !== Yr && e !== Qr;
3859
3867
  }
3860
- a(gi, "isPlainSafe");
3868
+ a(gi, "isPlainSafeFirst");
3861
3869
  function _i(e) {
3862
- return mi(e) && e !== Mr && !pi(e) && e !== Gr && e !== Yr && e !== Kr && e !== Wr && e !== Zr && e !== Qr && e !== ei && e !== ni && e !== zr && e !== Vr && e !== Ur && e !== Lr && e !== ti && e !== qr && e !== Jr && e !== Hr && e !== Rr && e !== Br && e !== Xr && e !== $r;
3863
- }
3864
- a(_i, "isPlainSafeFirst");
3865
- function vi(e) {
3866
- return !pi(e) && e !== Kr;
3870
+ return !fi(e) && e !== Gr;
3867
3871
  }
3868
- a(vi, "isPlainSafeLast");
3869
- function yi(e, t) {
3872
+ a(_i, "isPlainSafeLast");
3873
+ function vi(e, t) {
3870
3874
  var n = e.charCodeAt(t), r;
3871
3875
  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;
3872
3876
  }
3873
- a(yi, "codePointAt");
3874
- function bi(e) {
3877
+ a(vi, "codePointAt");
3878
+ function yi(e) {
3875
3879
  return /^\n* /.test(e);
3876
3880
  }
3877
- a(bi, "needIndentIndicator");
3878
- var xi = 1, Si = 2, Ci = 3, wi = 4, Ti = 5;
3879
- function Ei(e, t, n, r, i, a, o, s) {
3880
- var c, l = 0, u = null, d = !1, f = !1, p = r !== -1, m = -1, h = _i(yi(e, 0)) && vi(yi(e, e.length - 1));
3881
+ a(yi, "needIndentIndicator");
3882
+ var bi = 1, xi = 2, Si = 3, Ci = 4, wi = 5;
3883
+ function Ti(e, t, n, r, i, a, o, s) {
3884
+ var c, l = 0, u = null, d = !1, f = !1, p = r !== -1, m = -1, h = gi(vi(e, 0)) && _i(vi(e, e.length - 1));
3881
3885
  if (t || o) for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
3882
- if (l = yi(e, c), !mi(l)) return Ti;
3883
- h &&= gi(l, u, s), u = l;
3886
+ if (l = vi(e, c), !pi(l)) return wi;
3887
+ h &&= hi(l, u, s), u = l;
3884
3888
  }
3885
3889
  else {
3886
3890
  for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
3887
- if (l = yi(e, c), l === Pr) d = !0, p && (f ||= c - m - 1 > r && e[m + 1] !== " ", m = c);
3888
- else if (!mi(l)) return Ti;
3889
- h &&= gi(l, u, s), u = l;
3891
+ if (l = vi(e, c), l === Nr) d = !0, p && (f ||= c - m - 1 > r && e[m + 1] !== " ", m = c);
3892
+ else if (!pi(l)) return wi;
3893
+ h &&= hi(l, u, s), u = l;
3890
3894
  }
3891
3895
  f ||= p && c - m - 1 > r && e[m + 1] !== " ";
3892
3896
  }
3893
- return !d && !f ? h && !o && !i(e) ? xi : a === ci ? Ti : Si : n > 9 && bi(e) ? Ti : o ? a === ci ? Ti : Si : f ? wi : Ci;
3897
+ return !d && !f ? h && !o && !i(e) ? bi : a === si ? wi : xi : n > 9 && yi(e) ? wi : o ? a === si ? wi : xi : f ? Ci : Si;
3894
3898
  }
3895
- a(Ei, "chooseScalarStyle");
3896
- function Di(e, t, n, r, i) {
3899
+ a(Ti, "chooseScalarStyle");
3900
+ function Ei(e, t, n, r, i) {
3897
3901
  e.dump = (function() {
3898
- if (t.length === 0) return e.quotingType === ci ? "\"\"" : "''";
3899
- if (!e.noCompatMode && (ri.indexOf(t) !== -1 || ii.test(t))) return e.quotingType === ci ? "\"" + t + "\"" : "'" + t + "'";
3902
+ if (t.length === 0) return e.quotingType === si ? "\"\"" : "''";
3903
+ if (!e.noCompatMode && (ni.indexOf(t) !== -1 || ri.test(t))) return e.quotingType === si ? "\"" + t + "\"" : "'" + t + "'";
3900
3904
  var o = e.indent * Math.max(1, n), s = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), c = r || e.flowLevel > -1 && n >= e.flowLevel;
3901
3905
  function l(t) {
3902
- return fi(e, t);
3906
+ return di(e, t);
3903
3907
  }
3904
- switch (a(l, "testAmbiguity"), Ei(t, c, e.indent, s, l, e.quotingType, e.forceQuotes && !r, i)) {
3905
- case xi: return t;
3906
- case Si: return "'" + t.replace(/'/g, "''") + "'";
3907
- case Ci: return "|" + Oi(t, e.indent) + ki(ui(t, o));
3908
- case wi: return ">" + Oi(t, e.indent) + ki(ui(Ai(t, s), o));
3909
- case Ti: return "\"" + Mi(t) + "\"";
3910
- default: throw new B("impossible error: invalid scalar style");
3908
+ switch (a(l, "testAmbiguity"), Ti(t, c, e.indent, s, l, e.quotingType, e.forceQuotes && !r, i)) {
3909
+ case bi: return t;
3910
+ case xi: return "'" + t.replace(/'/g, "''") + "'";
3911
+ case Si: return "|" + Di(t, e.indent) + Oi(li(t, o));
3912
+ case Ci: return ">" + Di(t, e.indent) + Oi(li(ki(t, s), o));
3913
+ case wi: return "\"" + ji(t) + "\"";
3914
+ default: throw new V("impossible error: invalid scalar style");
3911
3915
  }
3912
3916
  })();
3913
3917
  }
3914
- a(Di, "writeScalar");
3915
- function Oi(e, t) {
3916
- var n = bi(e) ? String(t) : "", r = e[e.length - 1] === "\n";
3918
+ a(Ei, "writeScalar");
3919
+ function Di(e, t) {
3920
+ var n = yi(e) ? String(t) : "", r = e[e.length - 1] === "\n";
3917
3921
  return n + (r && (e[e.length - 2] === "\n" || e === "\n") ? "+" : r ? "" : "-") + "\n";
3918
3922
  }
3919
- a(Oi, "blockHeader");
3920
- function ki(e) {
3923
+ a(Di, "blockHeader");
3924
+ function Oi(e) {
3921
3925
  return e[e.length - 1] === "\n" ? e.slice(0, -1) : e;
3922
3926
  }
3923
- a(ki, "dropEndingNewline");
3924
- function Ai(e, t) {
3927
+ a(Oi, "dropEndingNewline");
3928
+ function ki(e, t) {
3925
3929
  for (var n = /(\n+)([^\n]*)/g, r = (function() {
3926
3930
  var r = e.indexOf("\n");
3927
- return r = r === -1 ? e.length : r, n.lastIndex = r, ji(e.slice(0, r), t);
3931
+ return r = r === -1 ? e.length : r, n.lastIndex = r, Ai(e.slice(0, r), t);
3928
3932
  })(), i = e[0] === "\n" || e[0] === " ", a, o; o = n.exec(e);) {
3929
3933
  var s = o[1], c = o[2];
3930
- a = c[0] === " ", r += s + (!i && !a && c !== "" ? "\n" : "") + ji(c, t), i = a;
3934
+ a = c[0] === " ", r += s + (!i && !a && c !== "" ? "\n" : "") + Ai(c, t), i = a;
3931
3935
  }
3932
3936
  return r;
3933
3937
  }
3934
- a(Ai, "foldString");
3935
- function ji(e, t) {
3938
+ a(ki, "foldString");
3939
+ function Ai(e, t) {
3936
3940
  if (e === "" || e[0] === " ") return e;
3937
3941
  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 += "\n" + e.slice(i, a), i = a + 1), o = s;
3938
3942
  return c += "\n", e.length - i > t && o > i ? c += e.slice(i, o) + "\n" + e.slice(o + 1) : c += e.slice(i), c.slice(1);
3939
3943
  }
3940
- a(ji, "foldLine");
3941
- function Mi(e) {
3942
- for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++) n = yi(e, i), r = q[n], !r && mi(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || oi(n);
3944
+ a(Ai, "foldLine");
3945
+ function ji(e) {
3946
+ for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++) n = vi(e, i), r = J[n], !r && pi(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || ai(n);
3943
3947
  return t;
3944
3948
  }
3945
- a(Mi, "escapeString");
3946
- function Ni(e, t, n) {
3949
+ a(ji, "escapeString");
3950
+ function Mi(e, t, n) {
3947
3951
  var r = "", i = e.tag, a, o, s;
3948
- for (a = 0, o = n.length; a < o; a += 1) s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (J(e, t, s, !1, !1) || s === void 0 && J(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
3952
+ for (a = 0, o = n.length; a < o; a += 1) s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (Y(e, t, s, !1, !1) || s === void 0 && Y(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
3949
3953
  e.tag = i, e.dump = "[" + r + "]";
3950
3954
  }
3951
- a(Ni, "writeFlowSequence");
3952
- function Pi(e, t, n, r) {
3955
+ a(Mi, "writeFlowSequence");
3956
+ function Ni(e, t, n, r) {
3953
3957
  var i = "", a = e.tag, o, s, c;
3954
- for (o = 0, s = n.length; o < s; o += 1) c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (J(e, t + 1, c, !0, !0, !1, !0) || c === void 0 && J(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += di(e, t)), e.dump && Pr === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
3958
+ for (o = 0, s = n.length; o < s; o += 1) c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (Y(e, t + 1, c, !0, !0, !1, !0) || c === void 0 && Y(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += ui(e, t)), e.dump && Nr === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
3955
3959
  e.tag = a, e.dump = i || "[]";
3956
3960
  }
3957
- a(Pi, "writeBlockSequence");
3958
- function Fi(e, t, n) {
3961
+ a(Ni, "writeBlockSequence");
3962
+ function Pi(e, t, n) {
3959
3963
  var r = "", i = e.tag, a = Object.keys(n), o, s, c, l, u;
3960
- 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)), J(e, t, c, !1, !1) && (e.dump.length > 1024 && (u += "? "), u += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), J(e, t, l, !1, !1) && (u += e.dump, r += u));
3964
+ 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)), Y(e, t, c, !1, !1) && (e.dump.length > 1024 && (u += "? "), u += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), Y(e, t, l, !1, !1) && (u += e.dump, r += u));
3961
3965
  e.tag = i, e.dump = "{" + r + "}";
3962
3966
  }
3963
- a(Fi, "writeFlowMapping");
3964
- function Ii(e, t, n, r) {
3967
+ a(Pi, "writeFlowMapping");
3968
+ function Fi(e, t, n, r) {
3965
3969
  var i = "", a = e.tag, o = Object.keys(n), s, c, l, u, d, f;
3966
3970
  if (e.sortKeys === !0) o.sort();
3967
3971
  else if (typeof e.sortKeys == "function") o.sort(e.sortKeys);
3968
- else if (e.sortKeys) throw new B("sortKeys must be a boolean or a function");
3969
- for (s = 0, c = o.length; s < c; s += 1) f = "", (!r || i !== "") && (f += di(e, t)), l = o[s], u = n[l], e.replacer && (u = e.replacer.call(n, l, u)), J(e, t + 1, l, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && Pr === e.dump.charCodeAt(0) ? f += "?" : f += "? "), f += e.dump, d && (f += di(e, t)), J(e, t + 1, u, !0, d) && (e.dump && Pr === e.dump.charCodeAt(0) ? f += ":" : f += ": ", f += e.dump, i += f));
3972
+ else if (e.sortKeys) throw new V("sortKeys must be a boolean or a function");
3973
+ for (s = 0, c = o.length; s < c; s += 1) f = "", (!r || i !== "") && (f += ui(e, t)), l = o[s], u = n[l], e.replacer && (u = e.replacer.call(n, l, u)), Y(e, t + 1, l, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && Nr === e.dump.charCodeAt(0) ? f += "?" : f += "? "), f += e.dump, d && (f += ui(e, t)), Y(e, t + 1, u, !0, d) && (e.dump && Nr === e.dump.charCodeAt(0) ? f += ":" : f += ": ", f += e.dump, i += f));
3970
3974
  e.tag = a, e.dump = i || "{}";
3971
3975
  }
3972
- a(Ii, "writeBlockMapping");
3973
- function Li(e, t, n) {
3976
+ a(Fi, "writeBlockMapping");
3977
+ function Ii(e, t, n) {
3974
3978
  var r, i = n ? e.explicitTypes : e.implicitTypes, a, o, s, c;
3975
3979
  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))) {
3976
3980
  if (n ? s.multi && s.representName ? e.tag = s.representName(t) : e.tag = s.tag : e.tag = "?", s.represent) {
3977
- if (c = e.styleMap[s.tag] || s.defaultStyle, Ar.call(s.represent) === "[object Function]") r = s.represent(t, c);
3978
- else if (jr.call(s.represent, c)) r = s.represent[c](t, c);
3979
- else throw new B("!<" + s.tag + "> tag resolver accepts not \"" + c + "\" style");
3981
+ if (c = e.styleMap[s.tag] || s.defaultStyle, kr.call(s.represent) === "[object Function]") r = s.represent(t, c);
3982
+ else if (Ar.call(s.represent, c)) r = s.represent[c](t, c);
3983
+ else throw new V("!<" + s.tag + "> tag resolver accepts not \"" + c + "\" style");
3980
3984
  e.dump = r;
3981
3985
  }
3982
3986
  return !0;
3983
3987
  }
3984
3988
  return !1;
3985
3989
  }
3986
- a(Li, "detectType");
3987
- function J(e, t, n, r, i, a, o) {
3988
- e.tag = null, e.dump = n, Li(e, n, !1) || Li(e, n, !0);
3989
- var s = Ar.call(e.dump), c = r, l;
3990
+ a(Ii, "detectType");
3991
+ function Y(e, t, n, r, i, a, o) {
3992
+ e.tag = null, e.dump = n, Ii(e, n, !1) || Ii(e, n, !0);
3993
+ var s = kr.call(e.dump), c = r, l;
3990
3994
  r &&= e.flowLevel < 0 || e.flowLevel > t;
3991
3995
  var u = s === "[object Object]" || s === "[object Array]", d, f;
3992
3996
  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;
3993
3997
  else {
3994
- if (u && f && !e.usedDuplicates[d] && (e.usedDuplicates[d] = !0), s === "[object Object]") r && Object.keys(e.dump).length !== 0 ? (Ii(e, t, e.dump, i), f && (e.dump = "&ref_" + d + e.dump)) : (Fi(e, t, e.dump), f && (e.dump = "&ref_" + d + " " + e.dump));
3995
- else if (s === "[object Array]") r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Pi(e, t - 1, e.dump, i) : Pi(e, t, e.dump, i), f && (e.dump = "&ref_" + d + e.dump)) : (Ni(e, t, e.dump), f && (e.dump = "&ref_" + d + " " + e.dump));
3996
- else if (s === "[object String]") e.tag !== "?" && Di(e, e.dump, t, a, c);
3998
+ if (u && f && !e.usedDuplicates[d] && (e.usedDuplicates[d] = !0), s === "[object Object]") r && Object.keys(e.dump).length !== 0 ? (Fi(e, t, e.dump, i), f && (e.dump = "&ref_" + d + e.dump)) : (Pi(e, t, e.dump), f && (e.dump = "&ref_" + d + " " + e.dump));
3999
+ else if (s === "[object Array]") r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Ni(e, t - 1, e.dump, i) : Ni(e, t, e.dump, i), f && (e.dump = "&ref_" + d + e.dump)) : (Mi(e, t, e.dump), f && (e.dump = "&ref_" + d + " " + e.dump));
4000
+ else if (s === "[object String]") e.tag !== "?" && Ei(e, e.dump, t, a, c);
3997
4001
  else if (s === "[object Undefined]") return !1;
3998
4002
  else {
3999
4003
  if (e.skipInvalid) return !1;
4000
- throw new B("unacceptable kind of an object to dump " + s);
4004
+ throw new V("unacceptable kind of an object to dump " + s);
4001
4005
  }
4002
4006
  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);
4003
4007
  }
4004
4008
  return !0;
4005
4009
  }
4006
- a(J, "writeNode");
4007
- function Ri(e, t) {
4010
+ a(Y, "writeNode");
4011
+ function Li(e, t) {
4008
4012
  var n = [], r = [], i, a;
4009
- for (zi(e, n, r), i = 0, a = r.length; i < a; i += 1) t.duplicates.push(n[r[i]]);
4013
+ for (Ri(e, n, r), i = 0, a = r.length; i < a; i += 1) t.duplicates.push(n[r[i]]);
4010
4014
  t.usedDuplicates = Array(a);
4011
4015
  }
4012
- a(Ri, "getDuplicateReferences");
4013
- function zi(e, t, n) {
4016
+ a(Li, "getDuplicateReferences");
4017
+ function Ri(e, t, n) {
4014
4018
  var r, i, a;
4015
4019
  if (typeof e == "object" && e) if (i = t.indexOf(e), i !== -1) n.indexOf(i) === -1 && n.push(i);
4016
- else if (t.push(e), Array.isArray(e)) for (i = 0, a = e.length; i < a; i += 1) zi(e[i], t, n);
4017
- else for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1) zi(e[r[i]], t, n);
4020
+ else if (t.push(e), Array.isArray(e)) for (i = 0, a = e.length; i < a; i += 1) Ri(e[i], t, n);
4021
+ else for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1) Ri(e[r[i]], t, n);
4018
4022
  }
4019
- a(zi, "inspectNode");
4020
- function Bi(e, t) {
4023
+ a(Ri, "inspectNode");
4024
+ function zi(e, t) {
4021
4025
  t ||= {};
4022
- var n = new li(t);
4023
- n.noRefs || Ri(e, n);
4026
+ var n = new ci(t);
4027
+ n.noRefs || Li(e, n);
4024
4028
  var r = e;
4025
- return n.replacer && (r = n.replacer.call({ "": r }, "", r)), J(n, 0, r, !0, !0) ? n.dump + "\n" : "";
4029
+ return n.replacer && (r = n.replacer.call({ "": r }, "", r)), Y(n, 0, r, !0, !0) ? n.dump + "\n" : "";
4026
4030
  }
4027
- a(Bi, "dump$1");
4028
- var Vi = { dump: Bi };
4029
- function Hi(e, t) {
4031
+ a(zi, "dump$1");
4032
+ var Bi = { dump: zi };
4033
+ function Vi(e, t) {
4030
4034
  return function() {
4031
4035
  throw Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
4032
4036
  };
4033
4037
  }
4034
- a(Hi, "renamed");
4035
- var Ui = an, Wi = kr.load;
4036
- kr.loadAll, Vi.dump;
4038
+ a(Vi, "renamed");
4039
+ var Hi = rn, Ui = Or.load;
4040
+ Or.loadAll, Bi.dump;
4037
4041
  //#endregion
4038
4042
  //#region node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.mjs
4039
- var Gi = {
4043
+ var Wi = {
4040
4044
  common: D,
4041
4045
  getConfig: j,
4042
4046
  insertCluster: be,
@@ -4048,55 +4052,55 @@ var Gi = {
4048
4052
  labelHelper: xe,
4049
4053
  log: i,
4050
4054
  positionEdgeLabel: Se
4051
- }, Ki = {}, qi = /* @__PURE__ */ a((e) => {
4052
- for (let t of e) Ki[t.name] = t;
4055
+ }, Gi = {}, Ki = /* @__PURE__ */ a((e) => {
4056
+ for (let t of e) Gi[t.name] = t;
4053
4057
  }, "registerLayoutLoaders");
4054
4058
  (/* @__PURE__ */ a(() => {
4055
- qi([{
4059
+ Ki([{
4056
4060
  name: "dagre",
4057
- loader: /* @__PURE__ */ a(async () => await import("./dagre-6UL2VRFP-BaHUY8Hb.js"), "loader")
4061
+ loader: /* @__PURE__ */ a(async () => await import("./dagre-6UL2VRFP-C3Ipvs60.js"), "loader")
4058
4062
  }, {
4059
4063
  name: "cose-bilkent",
4060
4064
  loader: /* @__PURE__ */ a(async () => await import("./cose-bilkent-S5V4N54A-bGPAcpg6.js"), "loader")
4061
4065
  }]);
4062
4066
  }, "registerDefaultLayoutLoaders"))();
4063
- var Ji = /* @__PURE__ */ a(async (e, t) => {
4064
- if (!(e.layoutAlgorithm in Ki)) throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
4065
- let n = Ki[e.layoutAlgorithm];
4066
- return (await n.loader()).render(e, t, Gi, { algorithm: n.algorithm });
4067
- }, "render"), Yi = /* @__PURE__ */ a((e = "", { fallback: t = "dagre" } = {}) => {
4068
- if (e in Ki) return e;
4069
- if (t in Ki) return i.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`), t;
4067
+ var qi = /* @__PURE__ */ a(async (e, t) => {
4068
+ if (!(e.layoutAlgorithm in Gi)) throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
4069
+ let n = Gi[e.layoutAlgorithm];
4070
+ return (await n.loader()).render(e, t, Wi, { algorithm: n.algorithm });
4071
+ }, "render"), Ji = /* @__PURE__ */ a((e = "", { fallback: t = "dagre" } = {}) => {
4072
+ if (e in Gi) return e;
4073
+ if (t in Gi) return i.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`), t;
4070
4074
  throw Error(`Both layout algorithms ${e} and ${t} are not registered.`);
4071
- }, "getRegisteredLayoutAlgorithm"), Xi = "comm", Zi = "rule", Qi = "decl", $i = "@import", ea = "@namespace", ta = "@keyframes", na = "@layer", ra = Math.abs, ia = String.fromCharCode;
4072
- function aa(e) {
4075
+ }, "getRegisteredLayoutAlgorithm"), Yi = "comm", Xi = "rule", Zi = "decl", Qi = "@import", $i = "@namespace", ea = "@keyframes", ta = "@layer", na = Math.abs, ra = String.fromCharCode;
4076
+ function ia(e) {
4073
4077
  return e.trim();
4074
4078
  }
4075
- function oa(e, t, n) {
4079
+ function aa(e, t, n) {
4076
4080
  return e.replace(t, n);
4077
4081
  }
4078
- function sa(e, t, n) {
4082
+ function oa(e, t, n) {
4079
4083
  return e.indexOf(t, n);
4080
4084
  }
4081
- function ca(e, t) {
4085
+ function sa(e, t) {
4082
4086
  return e.charCodeAt(t) | 0;
4083
4087
  }
4084
- function la(e, t, n) {
4088
+ function ca(e, t, n) {
4085
4089
  return e.slice(t, n);
4086
4090
  }
4087
- function Y(e) {
4091
+ function X(e) {
4088
4092
  return e.length;
4089
4093
  }
4090
- function ua(e) {
4094
+ function la(e) {
4091
4095
  return e.length;
4092
4096
  }
4093
- function da(e, t) {
4097
+ function ua(e, t) {
4094
4098
  return t.push(e), e;
4095
4099
  }
4096
4100
  //#endregion
4097
4101
  //#region node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.js
4098
- var fa = 1, pa = 1, ma = 0, X = 0, Z = 0, ha = "";
4099
- function ga(e, t, n, r, i, a, o, s) {
4102
+ var da = 1, fa = 1, pa = 0, Z = 0, Q = 0, ma = "";
4103
+ function ha(e, t, n, r, i, a, o, s) {
4100
4104
  return {
4101
4105
  value: e,
4102
4106
  root: t,
@@ -4104,32 +4108,32 @@ function ga(e, t, n, r, i, a, o, s) {
4104
4108
  type: r,
4105
4109
  props: i,
4106
4110
  children: a,
4107
- line: fa,
4108
- column: pa,
4111
+ line: da,
4112
+ column: fa,
4109
4113
  length: o,
4110
4114
  return: "",
4111
4115
  siblings: s
4112
4116
  };
4113
4117
  }
4118
+ function ga() {
4119
+ return Q;
4120
+ }
4114
4121
  function _a() {
4115
- return Z;
4122
+ return Q = Z > 0 ? sa(ma, --Z) : 0, fa--, Q === 10 && (fa = 1, da--), Q;
4116
4123
  }
4117
- function va() {
4118
- return Z = X > 0 ? ca(ha, --X) : 0, pa--, Z === 10 && (pa = 1, fa--), Z;
4124
+ function $() {
4125
+ return Q = Z < pa ? sa(ma, Z++) : 0, fa++, Q === 10 && (fa = 1, da++), Q;
4119
4126
  }
4120
- function Q() {
4121
- return Z = X < ma ? ca(ha, X++) : 0, pa++, Z === 10 && (pa = 1, fa++), Z;
4127
+ function va() {
4128
+ return sa(ma, Z);
4122
4129
  }
4123
4130
  function ya() {
4124
- return ca(ha, X);
4125
- }
4126
- function ba() {
4127
- return X;
4131
+ return Z;
4128
4132
  }
4129
- function xa(e, t) {
4130
- return la(ha, e, t);
4133
+ function ba(e, t) {
4134
+ return ca(ma, e, t);
4131
4135
  }
4132
- function Sa(e) {
4136
+ function xa(e) {
4133
4137
  switch (e) {
4134
4138
  case 0:
4135
4139
  case 9:
@@ -4156,82 +4160,82 @@ function Sa(e) {
4156
4160
  }
4157
4161
  return 0;
4158
4162
  }
4163
+ function Sa(e) {
4164
+ return da = fa = 1, pa = X(ma = e), Z = 0, [];
4165
+ }
4159
4166
  function Ca(e) {
4160
- return fa = pa = 1, ma = Y(ha = e), X = 0, [];
4167
+ return ma = "", e;
4161
4168
  }
4162
4169
  function wa(e) {
4163
- return ha = "", e;
4170
+ return ia(ba(Z - 1, Da(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
4164
4171
  }
4165
4172
  function Ta(e) {
4166
- return aa(xa(X - 1, Oa(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
4173
+ for (; (Q = va()) && Q < 33;) $();
4174
+ return xa(e) > 2 || xa(Q) > 3 ? "" : " ";
4167
4175
  }
4168
- function Ea(e) {
4169
- for (; (Z = ya()) && Z < 33;) Q();
4170
- return Sa(e) > 2 || Sa(Z) > 3 ? "" : " ";
4176
+ function Ea(e, t) {
4177
+ for (; --t && $() && !(Q < 48 || Q > 102 || Q > 57 && Q < 65 || Q > 70 && Q < 97););
4178
+ return ba(e, ya() + (t < 6 && va() == 32 && $() == 32));
4171
4179
  }
4172
- function Da(e, t) {
4173
- for (; --t && Q() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97););
4174
- return xa(e, ba() + (t < 6 && ya() == 32 && Q() == 32));
4175
- }
4176
- function Oa(e) {
4177
- for (; Q();) switch (Z) {
4178
- case e: return X;
4180
+ function Da(e) {
4181
+ for (; $();) switch (Q) {
4182
+ case e: return Z;
4179
4183
  case 34:
4180
4184
  case 39:
4181
- e !== 34 && e !== 39 && Oa(Z);
4185
+ e !== 34 && e !== 39 && Da(Q);
4182
4186
  break;
4183
4187
  case 40:
4184
- e === 41 && Oa(e);
4188
+ e === 41 && Da(e);
4185
4189
  break;
4186
4190
  case 92:
4187
- Q();
4191
+ $();
4188
4192
  break;
4189
4193
  }
4190
- return X;
4194
+ return Z;
4191
4195
  }
4192
- function ka(e, t) {
4193
- for (; Q() && e + Z !== 57 && !(e + Z === 84 && ya() === 47););
4194
- return "/*" + xa(t, X - 1) + "*" + ia(e === 47 ? e : Q());
4196
+ function Oa(e, t) {
4197
+ for (; $() && e + Q !== 57 && !(e + Q === 84 && va() === 47););
4198
+ return "/*" + ba(t, Z - 1) + "*" + ra(e === 47 ? e : $());
4195
4199
  }
4196
- function Aa(e) {
4197
- for (; !Sa(ya());) Q();
4198
- return xa(e, X);
4200
+ function ka(e) {
4201
+ for (; !xa(va());) $();
4202
+ return ba(e, Z);
4199
4203
  }
4200
4204
  //#endregion
4201
4205
  //#region node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js
4202
- function ja(e) {
4203
- return wa(Ma("", null, null, null, [""], e = Ca(e), 0, [0], e));
4206
+ function Aa(e) {
4207
+ return Ca(ja("", null, null, null, [""], e = Sa(e), 0, [0], e));
4204
4208
  }
4205
- function Ma(e, t, n, r, i, a, o, s, c) {
4206
- for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = "", b = i, x = a, S = r, C = y; g;) switch (m = v, v = Q()) {
4207
- case 40: if (m != 108 && ca(C, d - 1) == 58) {
4208
- sa(C += oa(Ta(v), "&", "&\f"), "&\f", ra(l ? s[l - 1] : 0)) != -1 && (_ = -1);
4209
+ function ja(e, t, n, r, i, a, o, s, c) {
4210
+ for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = "", b = i, x = a, S = r, C = y; g;) switch (m = v, v = $()) {
4211
+ case 40: if (m != 108 && sa(C, d - 1) == 58) {
4212
+ oa(C += aa(wa(v), "&", "&\f"), "&\f", na(l ? s[l - 1] : 0)) != -1 && (_ = -1);
4209
4213
  break;
4210
4214
  }
4211
4215
  case 34:
4212
4216
  case 39:
4213
4217
  case 91:
4214
- C += Ta(v);
4218
+ C += wa(v);
4215
4219
  break;
4216
4220
  case 9:
4217
4221
  case 10:
4218
4222
  case 13:
4219
4223
  case 32:
4220
- C += Ea(m);
4224
+ C += Ta(m);
4221
4225
  break;
4222
4226
  case 92:
4223
- C += Da(ba() - 1, 7);
4227
+ C += Ea(ya() - 1, 7);
4224
4228
  continue;
4225
4229
  case 47:
4226
- switch (ya()) {
4230
+ switch (va()) {
4227
4231
  case 42:
4228
4232
  case 47:
4229
- da(Pa(ka(Q(), ba()), t, n, c), c), (Sa(m || 1) == 5 || Sa(ya() || 1) == 5) && Y(C) && la(C, -1, void 0) !== " " && (C += " ");
4233
+ ua(Na(Oa($(), ya()), t, n, c), c), (xa(m || 1) == 5 || xa(va() || 1) == 5) && X(C) && ca(C, -1, void 0) !== " " && (C += " ");
4230
4234
  break;
4231
4235
  default: C += "/";
4232
4236
  }
4233
4237
  break;
4234
- case 123 * h: s[l++] = Y(C) * _;
4238
+ case 123 * h: s[l++] = X(C) * _;
4235
4239
  case 125 * h:
4236
4240
  case 59:
4237
4241
  case 0:
@@ -4239,388 +4243,388 @@ function Ma(e, t, n, r, i, a, o, s, c) {
4239
4243
  case 0:
4240
4244
  case 125: g = 0;
4241
4245
  case 59 + u:
4242
- _ == -1 && (C = oa(C, /\f/g, "")), p > 0 && (Y(C) - d || h === 0 && m === 47) && da(p > 32 ? Fa(C + ";", r, n, d - 1, c) : Fa(oa(C, " ", "") + ";", r, n, d - 2, c), c);
4246
+ _ == -1 && (C = aa(C, /\f/g, "")), p > 0 && (X(C) - d || h === 0 && m === 47) && ua(p > 32 ? Pa(C + ";", r, n, d - 1, c) : Pa(aa(C, " ", "") + ";", r, n, d - 2, c), c);
4243
4247
  break;
4244
4248
  case 59: C += ";";
4245
- default: if (da(S = Na(C, t, n, l, u, i, s, y, b = [], x = [], d, a), a), v === 123) if (u === 0) Ma(C, t, S, S, b, a, d, s, x);
4249
+ default: if (ua(S = Ma(C, t, n, l, u, i, s, y, b = [], x = [], d, a), a), v === 123) if (u === 0) ja(C, t, S, S, b, a, d, s, x);
4246
4250
  else {
4247
4251
  switch (f) {
4248
- case 99: if (ca(C, 3) === 110) break;
4249
- case 108: if (ca(C, 2) === 97) break;
4252
+ case 99: if (sa(C, 3) === 110) break;
4253
+ case 108: if (sa(C, 2) === 97) break;
4250
4254
  default: u = 0;
4251
4255
  case 100:
4252
4256
  case 109:
4253
4257
  case 115:
4254
4258
  }
4255
- u ? Ma(e, S, S, r && da(Na(e, S, S, 0, 0, i, s, y, i, b = [], d, x), x), i, x, d, s, r ? b : x) : Ma(C, S, S, S, [""], x, 0, s, x);
4259
+ u ? ja(e, S, S, r && ua(Ma(e, S, S, 0, 0, i, s, y, i, b = [], d, x), x), i, x, d, s, r ? b : x) : ja(C, S, S, S, [""], x, 0, s, x);
4256
4260
  }
4257
4261
  }
4258
4262
  l = u = p = 0, h = _ = 1, y = C = "", d = o;
4259
4263
  break;
4260
- case 58: d = 1 + Y(C), p = m;
4264
+ case 58: d = 1 + X(C), p = m;
4261
4265
  default:
4262
4266
  if (h < 1) {
4263
4267
  if (v == 123) --h;
4264
- else if (v == 125 && h++ == 0 && va() == 125) continue;
4268
+ else if (v == 125 && h++ == 0 && _a() == 125) continue;
4265
4269
  }
4266
- switch (C += ia(v), v * h) {
4270
+ switch (C += ra(v), v * h) {
4267
4271
  case 38:
4268
4272
  _ = u > 0 ? 1 : (C += "\f", -1);
4269
4273
  break;
4270
4274
  case 44:
4271
- s[l++] = (Y(C) - 1) * _, _ = 1;
4275
+ s[l++] = (X(C) - 1) * _, _ = 1;
4272
4276
  break;
4273
4277
  case 64:
4274
- ya() === 45 && (C += Ta(Q())), f = ya(), u = d = Y(y = C += Aa(ba())), v++;
4278
+ va() === 45 && (C += wa($())), f = va(), u = d = X(y = C += ka(ya())), v++;
4275
4279
  break;
4276
- case 45: m === 45 && Y(C) == 2 && (h = 0);
4280
+ case 45: m === 45 && X(C) == 2 && (h = 0);
4277
4281
  }
4278
4282
  }
4279
4283
  return a;
4280
4284
  }
4281
- function Na(e, t, n, r, i, a, o, s, c, l, u, d) {
4282
- for (var f = i - 1, p = i === 0 ? a : [""], m = ua(p), h = 0, g = 0, _ = 0; h < r; ++h) for (var v = 0, y = la(e, f + 1, f = ra(g = o[h])), b = e; v < m; ++v) (b = aa(g > 0 ? p[v] + " " + y : oa(y, /&\f/g, p[v]))) && (c[_++] = b);
4283
- return ga(e, t, n, i === 0 ? Zi : s, c, l, u, d);
4285
+ function Ma(e, t, n, r, i, a, o, s, c, l, u, d) {
4286
+ for (var f = i - 1, p = i === 0 ? a : [""], m = la(p), h = 0, g = 0, _ = 0; h < r; ++h) for (var v = 0, y = ca(e, f + 1, f = na(g = o[h])), b = e; v < m; ++v) (b = ia(g > 0 ? p[v] + " " + y : aa(y, /&\f/g, p[v]))) && (c[_++] = b);
4287
+ return ha(e, t, n, i === 0 ? Xi : s, c, l, u, d);
4284
4288
  }
4285
- function Pa(e, t, n, r) {
4286
- return ga(e, t, n, Xi, ia(_a()), la(e, 2, -2), 0, r);
4289
+ function Na(e, t, n, r) {
4290
+ return ha(e, t, n, Yi, ra(ga()), ca(e, 2, -2), 0, r);
4287
4291
  }
4288
- function Fa(e, t, n, r, i) {
4289
- return ga(e, t, n, Qi, la(e, 0, r), la(e, r + 1, -1), r, i);
4292
+ function Pa(e, t, n, r, i) {
4293
+ return ha(e, t, n, Zi, ca(e, 0, r), ca(e, r + 1, -1), r, i);
4290
4294
  }
4291
4295
  //#endregion
4292
4296
  //#region node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js
4293
- function Ia(e, t) {
4297
+ function Fa(e, t) {
4294
4298
  for (var n = "", r = 0; r < e.length; r++) n += t(e[r], r, e, t) || "";
4295
4299
  return n;
4296
4300
  }
4297
- function La(e, t, n, r) {
4301
+ function Ia(e, t, n, r) {
4298
4302
  switch (e.type) {
4299
- case na: if (e.children.length) break;
4303
+ case ta: if (e.children.length) break;
4304
+ case Qi:
4300
4305
  case $i:
4301
- case ea:
4302
- case Qi: return e.return = e.return || e.value;
4303
- case Xi: return "";
4304
- case ta: return e.return = e.value + "{" + Ia(e.children, r) + "}";
4305
- case Zi: if (!Y(e.value = e.props.join(","))) return "";
4306
+ case Zi: return e.return = e.return || e.value;
4307
+ case Yi: return "";
4308
+ case ea: return e.return = e.value + "{" + Fa(e.children, r) + "}";
4309
+ case Xi: if (!X(e.value = e.props.join(","))) return "";
4306
4310
  }
4307
- return Y(n = Ia(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
4311
+ return X(n = Fa(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
4308
4312
  }
4309
4313
  //#endregion
4310
4314
  //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.js
4311
- var Ra = oe(Object.keys, Object), za = Object.prototype.hasOwnProperty;
4312
- function Ba(e) {
4313
- if (!me(e)) return Ra(e);
4315
+ var La = oe(Object.keys, Object), Ra = Object.prototype.hasOwnProperty;
4316
+ function za(e) {
4317
+ if (!me(e)) return La(e);
4314
4318
  var t = [];
4315
- for (var n in Object(e)) za.call(e, n) && n != "constructor" && t.push(n);
4319
+ for (var n in Object(e)) Ra.call(e, n) && n != "constructor" && t.push(n);
4316
4320
  return t;
4317
4321
  }
4318
4322
  //#endregion
4319
4323
  //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.js
4320
- var Va = ge(se, "DataView"), Ha = ge(se, "Promise"), Ua = ge(se, "Set"), Wa = ge(se, "WeakMap"), Ga = "[object Map]", Ka = "[object Object]", qa = "[object Promise]", Ja = "[object Set]", Ya = "[object WeakMap]", Xa = "[object DataView]", Za = ae(Va), Qa = ae(ce), $a = ae(Ha), eo = ae(Ua), to = ae(Wa), no = le;
4321
- (Va && no(new Va(/* @__PURE__ */ new ArrayBuffer(1))) != Xa || ce && no(new ce()) != Ga || Ha && no(Ha.resolve()) != qa || Ua && no(new Ua()) != Ja || Wa && no(new Wa()) != Ya) && (no = function(e) {
4322
- var t = le(e), n = t == Ka ? e.constructor : void 0, r = n ? ae(n) : "";
4324
+ var Ba = ge(se, "DataView"), Va = ge(se, "Promise"), Ha = ge(se, "Set"), Ua = ge(se, "WeakMap"), Wa = "[object Map]", Ga = "[object Object]", Ka = "[object Promise]", qa = "[object Set]", Ja = "[object WeakMap]", Ya = "[object DataView]", Xa = ae(Ba), Za = ae(ce), Qa = ae(Va), $a = ae(Ha), eo = ae(Ua), to = le;
4325
+ (Ba && to(new Ba(/* @__PURE__ */ new ArrayBuffer(1))) != Ya || ce && to(new ce()) != Wa || Va && to(Va.resolve()) != Ka || Ha && to(new Ha()) != qa || Ua && to(new Ua()) != Ja) && (to = function(e) {
4326
+ var t = le(e), n = t == Ga ? e.constructor : void 0, r = n ? ae(n) : "";
4323
4327
  if (r) switch (r) {
4324
- case Za: return Xa;
4325
- case Qa: return Ga;
4328
+ case Xa: return Ya;
4329
+ case Za: return Wa;
4330
+ case Qa: return Ka;
4326
4331
  case $a: return qa;
4327
4332
  case eo: return Ja;
4328
- case to: return Ya;
4329
4333
  }
4330
4334
  return t;
4331
4335
  });
4332
- var ro = no, io = "[object Map]", ao = "[object Set]", oo = Object.prototype.hasOwnProperty;
4333
- function so(e) {
4336
+ var no = to, ro = "[object Map]", io = "[object Set]", ao = Object.prototype.hasOwnProperty;
4337
+ function oo(e) {
4334
4338
  if (e == null) return !0;
4335
4339
  if (pe(e) && (ue(e) || typeof e == "string" || typeof e.splice == "function" || de(e) || fe(e) || he(e))) return !e.length;
4336
- var t = ro(e);
4337
- if (t == io || t == ao) return !e.size;
4338
- if (me(e)) return !Ba(e).length;
4339
- for (var n in e) if (oo.call(e, n)) return !1;
4340
+ var t = no(e);
4341
+ if (t == ro || t == io) return !e.size;
4342
+ if (me(e)) return !za(e).length;
4343
+ for (var n in e) if (ao.call(e, n)) return !1;
4340
4344
  return !0;
4341
4345
  }
4342
4346
  //#endregion
4343
4347
  //#region node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/mermaid.core.mjs
4344
- var co = "c4", lo = {
4345
- id: co,
4348
+ var so = "c4", co = {
4349
+ id: so,
4346
4350
  detector: /* @__PURE__ */ a((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"),
4347
4351
  loader: /* @__PURE__ */ a(async () => {
4348
4352
  let { diagram: e } = await import("./c4Diagram-YG6GDRKO-CIThIYo6.js");
4349
4353
  return {
4350
- id: co,
4354
+ id: so,
4351
4355
  diagram: e
4352
4356
  };
4353
4357
  }, "loader")
4354
- }, uo = "flowchart", fo = {
4355
- id: uo,
4358
+ }, lo = "flowchart", uo = {
4359
+ id: lo,
4356
4360
  detector: /* @__PURE__ */ a((e, t) => t?.flowchart?.defaultRenderer === "dagre-wrapper" || t?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(e), "detector"),
4357
4361
  loader: /* @__PURE__ */ a(async () => {
4358
- let { diagram: e } = await import("./flowDiagram-NV44I4VS-CXF2rH58.js");
4362
+ let { diagram: e } = await import("./flowDiagram-NV44I4VS-DW3pSjNx.js");
4359
4363
  return {
4360
- id: uo,
4364
+ id: lo,
4361
4365
  diagram: e
4362
4366
  };
4363
4367
  }, "loader")
4364
- }, po = "flowchart-v2", mo = {
4365
- id: po,
4368
+ }, fo = "flowchart-v2", po = {
4369
+ id: fo,
4366
4370
  detector: /* @__PURE__ */ a((e, t) => t?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (t?.flowchart?.defaultRenderer === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && t?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e)), "detector"),
4367
4371
  loader: /* @__PURE__ */ a(async () => {
4368
- let { diagram: e } = await import("./flowDiagram-NV44I4VS-CXF2rH58.js");
4372
+ let { diagram: e } = await import("./flowDiagram-NV44I4VS-DW3pSjNx.js");
4369
4373
  return {
4370
- id: po,
4374
+ id: fo,
4371
4375
  diagram: e
4372
4376
  };
4373
4377
  }, "loader")
4374
- }, ho = "er", go = {
4375
- id: ho,
4378
+ }, mo = "er", ho = {
4379
+ id: mo,
4376
4380
  detector: /* @__PURE__ */ a((e) => /^\s*erDiagram/.test(e), "detector"),
4377
4381
  loader: /* @__PURE__ */ a(async () => {
4378
- let { diagram: e } = await import("./erDiagram-Q2GNP2WA-3muHSADM.js");
4382
+ let { diagram: e } = await import("./erDiagram-Q2GNP2WA-DTb2sgR_.js");
4379
4383
  return {
4380
- id: ho,
4384
+ id: mo,
4381
4385
  diagram: e
4382
4386
  };
4383
4387
  }, "loader")
4384
- }, _o = "gitGraph", vo = {
4385
- id: _o,
4388
+ }, go = "gitGraph", _o = {
4389
+ id: go,
4386
4390
  detector: /* @__PURE__ */ a((e) => /^\s*gitGraph/.test(e), "detector"),
4387
4391
  loader: /* @__PURE__ */ a(async () => {
4388
- let { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-DnaSfz6O.js");
4392
+ let { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-DfMVgHMj.js");
4389
4393
  return {
4390
- id: _o,
4394
+ id: go,
4391
4395
  diagram: e
4392
4396
  };
4393
4397
  }, "loader")
4394
- }, yo = "gantt", bo = {
4395
- id: yo,
4398
+ }, vo = "gantt", yo = {
4399
+ id: vo,
4396
4400
  detector: /* @__PURE__ */ a((e) => /^\s*gantt/.test(e), "detector"),
4397
4401
  loader: /* @__PURE__ */ a(async () => {
4398
4402
  let { diagram: e } = await import("./ganttDiagram-LVOFAZNH-DqT7pu4m.js");
4399
4403
  return {
4400
- id: yo,
4404
+ id: vo,
4401
4405
  diagram: e
4402
4406
  };
4403
4407
  }, "loader")
4404
- }, xo = "info", So = {
4405
- id: xo,
4408
+ }, bo = "info", xo = {
4409
+ id: bo,
4406
4410
  detector: /* @__PURE__ */ a((e) => /^\s*info/.test(e), "detector"),
4407
4411
  loader: /* @__PURE__ */ a(async () => {
4408
- let { diagram: e } = await import("./infoDiagram-F6ZHWCRC-C-2JvOQj.js");
4412
+ let { diagram: e } = await import("./infoDiagram-F6ZHWCRC-DkHDmcca.js");
4409
4413
  return {
4410
- id: xo,
4414
+ id: bo,
4411
4415
  diagram: e
4412
4416
  };
4413
4417
  }, "loader")
4414
- }, Co = "pie", wo = {
4415
- id: Co,
4418
+ }, So = "pie", Co = {
4419
+ id: So,
4416
4420
  detector: /* @__PURE__ */ a((e) => /^\s*pie/.test(e), "detector"),
4417
4421
  loader: /* @__PURE__ */ a(async () => {
4418
- let { diagram: e } = await import("./pieDiagram-ADFJNKIX-CqeByC3c.js");
4422
+ let { diagram: e } = await import("./pieDiagram-ADFJNKIX-DjW2gwan.js");
4419
4423
  return {
4420
- id: Co,
4424
+ id: So,
4421
4425
  diagram: e
4422
4426
  };
4423
4427
  }, "loader")
4424
- }, To = "quadrantChart", Eo = {
4425
- id: To,
4428
+ }, wo = "quadrantChart", To = {
4429
+ id: wo,
4426
4430
  detector: /* @__PURE__ */ a((e) => /^\s*quadrantChart/.test(e), "detector"),
4427
4431
  loader: /* @__PURE__ */ a(async () => {
4428
4432
  let { diagram: e } = await import("./quadrantDiagram-AYHSOK5B-DRutDK03.js");
4429
4433
  return {
4430
- id: To,
4434
+ id: wo,
4431
4435
  diagram: e
4432
4436
  };
4433
4437
  }, "loader")
4434
- }, Do = "xychart", Oo = {
4435
- id: Do,
4438
+ }, Eo = "xychart", Do = {
4439
+ id: Eo,
4436
4440
  detector: /* @__PURE__ */ a((e) => /^\s*xychart(-beta)?/.test(e), "detector"),
4437
4441
  loader: /* @__PURE__ */ a(async () => {
4438
- let { diagram: e } = await import("./xychartDiagram-PRI3JC2R-Sign6lKR.js");
4442
+ let { diagram: e } = await import("./xychartDiagram-PRI3JC2R-C4S1jDTS.js");
4439
4443
  return {
4440
- id: Do,
4444
+ id: Eo,
4441
4445
  diagram: e
4442
4446
  };
4443
4447
  }, "loader")
4444
- }, ko = "requirement", Ao = {
4445
- id: ko,
4448
+ }, Oo = "requirement", ko = {
4449
+ id: Oo,
4446
4450
  detector: /* @__PURE__ */ a((e) => /^\s*requirement(Diagram)?/.test(e), "detector"),
4447
4451
  loader: /* @__PURE__ */ a(async () => {
4448
- let { diagram: e } = await import("./requirementDiagram-UZGBJVZJ-CHV5QyaU.js");
4452
+ let { diagram: e } = await import("./requirementDiagram-UZGBJVZJ-CZw8XwAQ.js");
4449
4453
  return {
4450
- id: ko,
4454
+ id: Oo,
4451
4455
  diagram: e
4452
4456
  };
4453
4457
  }, "loader")
4454
- }, jo = "sequence", Mo = {
4455
- id: jo,
4458
+ }, Ao = "sequence", jo = {
4459
+ id: Ao,
4456
4460
  detector: /* @__PURE__ */ a((e) => /^\s*sequenceDiagram/.test(e), "detector"),
4457
4461
  loader: /* @__PURE__ */ a(async () => {
4458
- let { diagram: e } = await import("./sequenceDiagram-WL72ISMW-BrXwkh9-.js");
4462
+ let { diagram: e } = await import("./sequenceDiagram-WL72ISMW-D_npYx8y.js");
4459
4463
  return {
4460
- id: jo,
4464
+ id: Ao,
4461
4465
  diagram: e
4462
4466
  };
4463
4467
  }, "loader")
4464
- }, No = "class", Po = {
4465
- id: No,
4468
+ }, Mo = "class", No = {
4469
+ id: Mo,
4466
4470
  detector: /* @__PURE__ */ a((e, t) => t?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e), "detector"),
4467
4471
  loader: /* @__PURE__ */ a(async () => {
4468
- let { diagram: e } = await import("./classDiagram-2ON5EDUG-CGQPb_Ub.js");
4472
+ let { diagram: e } = await import("./classDiagram-2ON5EDUG-D6DuGzSf.js");
4469
4473
  return {
4470
- id: No,
4474
+ id: Mo,
4471
4475
  diagram: e
4472
4476
  };
4473
4477
  }, "loader")
4474
- }, Fo = "classDiagram", Io = {
4475
- id: Fo,
4478
+ }, Po = "classDiagram", Fo = {
4479
+ id: Po,
4476
4480
  detector: /* @__PURE__ */ a((e, t) => /^\s*classDiagram/.test(e) && t?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e), "detector"),
4477
4481
  loader: /* @__PURE__ */ a(async () => {
4478
- let { diagram: e } = await import("./classDiagram-v2-WZHVMYZB-BfB0DYeF.js");
4482
+ let { diagram: e } = await import("./classDiagram-v2-WZHVMYZB-Ah0fVcwK.js");
4479
4483
  return {
4480
- id: Fo,
4484
+ id: Po,
4481
4485
  diagram: e
4482
4486
  };
4483
4487
  }, "loader")
4484
- }, Lo = "state", Ro = {
4485
- id: Lo,
4488
+ }, Io = "state", Lo = {
4489
+ id: Io,
4486
4490
  detector: /* @__PURE__ */ a((e, t) => t?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e), "detector"),
4487
4491
  loader: /* @__PURE__ */ a(async () => {
4488
- let { diagram: e } = await import("./stateDiagram-FKZM4ZOC-BNKd7Zjp.js");
4492
+ let { diagram: e } = await import("./stateDiagram-FKZM4ZOC-CybCdeuK.js");
4489
4493
  return {
4490
- id: Lo,
4494
+ id: Io,
4491
4495
  diagram: e
4492
4496
  };
4493
4497
  }, "loader")
4494
- }, zo = "stateDiagram", Bo = {
4495
- id: zo,
4498
+ }, Ro = "stateDiagram", zo = {
4499
+ id: Ro,
4496
4500
  detector: /* @__PURE__ */ a((e, t) => !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && t?.state?.defaultRenderer === "dagre-wrapper"), "detector"),
4497
4501
  loader: /* @__PURE__ */ a(async () => {
4498
- let { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3-BBQ_35IT.js");
4502
+ let { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3-BhgHpXjD.js");
4499
4503
  return {
4500
- id: zo,
4504
+ id: Ro,
4501
4505
  diagram: e
4502
4506
  };
4503
4507
  }, "loader")
4504
- }, Vo = "journey", Ho = {
4505
- id: Vo,
4508
+ }, Bo = "journey", Vo = {
4509
+ id: Bo,
4506
4510
  detector: /* @__PURE__ */ a((e) => /^\s*journey/.test(e), "detector"),
4507
4511
  loader: /* @__PURE__ */ a(async () => {
4508
4512
  let { diagram: e } = await import("./journeyDiagram-XKPGCS4Q-DB7INfrf.js");
4509
4513
  return {
4510
- id: Vo,
4514
+ id: Bo,
4511
4515
  diagram: e
4512
4516
  };
4513
4517
  }, "loader")
4514
- }, Uo = { draw: /* @__PURE__ */ a((e, t, n) => {
4518
+ }, Ho = { draw: /* @__PURE__ */ a((e, t, n) => {
4515
4519
  i.debug("rendering svg for syntax error\n");
4516
- let r = ht(t), a = r.append("g");
4520
+ let r = mt(t), a = r.append("g");
4517
4521
  r.attr("viewBox", "0 0 2412 512"), _(r, 100, 512, !0), a.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"), a.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"), a.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"), a.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"), a.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"), a.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"), a.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"), a.append("text").attr("class", "error-text").attr("x", 1250).attr("y", 400).attr("font-size", "100px").style("text-anchor", "middle").text(`mermaid version ${n}`);
4518
- }, "draw") }, Wo = Uo, Go = {
4522
+ }, "draw") }, Uo = Ho, Wo = {
4519
4523
  db: {},
4520
- renderer: Uo,
4524
+ renderer: Ho,
4521
4525
  parser: { parse: /* @__PURE__ */ a(() => {}, "parse") }
4522
- }, Ko = "flowchart-elk", qo = {
4523
- id: Ko,
4526
+ }, Go = "flowchart-elk", Ko = {
4527
+ id: Go,
4524
4528
  detector: /* @__PURE__ */ a((e, t = {}) => /^\s*flowchart-elk/.test(e) || /^\s*(flowchart|graph)/.test(e) && t?.flowchart?.defaultRenderer === "elk" ? (t.layout = "elk", !0) : !1, "detector"),
4525
4529
  loader: /* @__PURE__ */ a(async () => {
4526
- let { diagram: e } = await import("./flowDiagram-NV44I4VS-CXF2rH58.js");
4530
+ let { diagram: e } = await import("./flowDiagram-NV44I4VS-DW3pSjNx.js");
4527
4531
  return {
4528
- id: Ko,
4532
+ id: Go,
4529
4533
  diagram: e
4530
4534
  };
4531
4535
  }, "loader")
4532
- }, Jo = "timeline", Yo = {
4533
- id: Jo,
4536
+ }, qo = "timeline", Jo = {
4537
+ id: qo,
4534
4538
  detector: /* @__PURE__ */ a((e) => /^\s*timeline/.test(e), "detector"),
4535
4539
  loader: /* @__PURE__ */ a(async () => {
4536
4540
  let { diagram: e } = await import("./timeline-definition-IT6M3QCI-C9VMls3W.js");
4537
4541
  return {
4538
- id: Jo,
4542
+ id: qo,
4539
4543
  diagram: e
4540
4544
  };
4541
4545
  }, "loader")
4542
- }, Xo = "mindmap", Zo = {
4543
- id: Xo,
4546
+ }, Yo = "mindmap", Xo = {
4547
+ id: Yo,
4544
4548
  detector: /* @__PURE__ */ a((e) => /^\s*mindmap/.test(e), "detector"),
4545
4549
  loader: /* @__PURE__ */ a(async () => {
4546
- let { diagram: e } = await import("./mindmap-definition-VGOIOE7T-Bqx5iev5.js");
4550
+ let { diagram: e } = await import("./mindmap-definition-VGOIOE7T-BeJDmJ4f.js");
4547
4551
  return {
4548
- id: Xo,
4552
+ id: Yo,
4549
4553
  diagram: e
4550
4554
  };
4551
4555
  }, "loader")
4552
- }, Qo = "kanban", $o = {
4553
- id: Qo,
4556
+ }, Zo = "kanban", Qo = {
4557
+ id: Zo,
4554
4558
  detector: /* @__PURE__ */ a((e) => /^\s*kanban/.test(e), "detector"),
4555
4559
  loader: /* @__PURE__ */ a(async () => {
4556
- let { diagram: e } = await import("./kanban-definition-3W4ZIXB7-BA-P9_O1.js");
4560
+ let { diagram: e } = await import("./kanban-definition-3W4ZIXB7-CRenxDOa.js");
4557
4561
  return {
4558
- id: Qo,
4562
+ id: Zo,
4559
4563
  diagram: e
4560
4564
  };
4561
4565
  }, "loader")
4562
- }, es = "sankey", ts = {
4563
- id: es,
4566
+ }, $o = "sankey", es = {
4567
+ id: $o,
4564
4568
  detector: /* @__PURE__ */ a((e) => /^\s*sankey(-beta)?/.test(e), "detector"),
4565
4569
  loader: /* @__PURE__ */ a(async () => {
4566
4570
  let { diagram: e } = await import("./sankeyDiagram-TZEHDZUN-DD6bkI4Z.js");
4567
4571
  return {
4568
- id: es,
4572
+ id: $o,
4569
4573
  diagram: e
4570
4574
  };
4571
4575
  }, "loader")
4572
- }, ns = "packet", rs = {
4573
- id: ns,
4576
+ }, ts = "packet", ns = {
4577
+ id: ts,
4574
4578
  detector: /* @__PURE__ */ a((e) => /^\s*packet(-beta)?/.test(e), "detector"),
4575
4579
  loader: /* @__PURE__ */ a(async () => {
4576
- let { diagram: e } = await import("./diagram-S2PKOQOG-R3_EPZ4Z.js");
4580
+ let { diagram: e } = await import("./diagram-S2PKOQOG-CT-b436r.js");
4577
4581
  return {
4578
- id: ns,
4582
+ id: ts,
4579
4583
  diagram: e
4580
4584
  };
4581
4585
  }, "loader")
4582
- }, is = "radar", as = {
4583
- id: is,
4586
+ }, rs = "radar", is = {
4587
+ id: rs,
4584
4588
  detector: /* @__PURE__ */ a((e) => /^\s*radar-beta/.test(e), "detector"),
4585
4589
  loader: /* @__PURE__ */ a(async () => {
4586
- let { diagram: e } = await import("./diagram-QEK2KX5R-wbcwN2OH.js");
4590
+ let { diagram: e } = await import("./diagram-QEK2KX5R-meoSBUIM.js");
4587
4591
  return {
4588
- id: is,
4592
+ id: rs,
4589
4593
  diagram: e
4590
4594
  };
4591
4595
  }, "loader")
4592
- }, os = "block", ss = {
4593
- id: os,
4596
+ }, as = "block", os = {
4597
+ id: as,
4594
4598
  detector: /* @__PURE__ */ a((e) => /^\s*block(-beta)?/.test(e), "detector"),
4595
4599
  loader: /* @__PURE__ */ a(async () => {
4596
- let { diagram: e } = await import("./blockDiagram-VD42YOAC-kn2a-098.js");
4600
+ let { diagram: e } = await import("./blockDiagram-VD42YOAC-Btz-ItbV.js");
4597
4601
  return {
4598
- id: os,
4602
+ id: as,
4599
4603
  diagram: e
4600
4604
  };
4601
4605
  }, "loader")
4602
- }, cs = "architecture", ls = {
4603
- id: cs,
4606
+ }, ss = "architecture", cs = {
4607
+ id: ss,
4604
4608
  detector: /* @__PURE__ */ a((e) => /^\s*architecture/.test(e), "detector"),
4605
4609
  loader: /* @__PURE__ */ a(async () => {
4606
- let { diagram: e } = await import("./architectureDiagram-VXUJARFQ-BjO8TT3C.js");
4610
+ let { diagram: e } = await import("./architectureDiagram-VXUJARFQ-DcNHf7VL.js");
4607
4611
  return {
4608
- id: cs,
4612
+ id: ss,
4609
4613
  diagram: e
4610
4614
  };
4611
4615
  }, "loader")
4612
- }, us = "treemap", ds = {
4613
- id: us,
4616
+ }, ls = "treemap", us = {
4617
+ id: ls,
4614
4618
  detector: /* @__PURE__ */ a((e) => /^\s*treemap/.test(e), "detector"),
4615
4619
  loader: /* @__PURE__ */ a(async () => {
4616
- let { diagram: e } = await import("./diagram-PSM6KHXK-DgowxSOD.js");
4620
+ let { diagram: e } = await import("./diagram-PSM6KHXK-DpWcqYnH.js");
4617
4621
  return {
4618
- id: us,
4622
+ id: ls,
4619
4623
  diagram: e
4620
4624
  };
4621
4625
  }, "loader")
4622
- }, fs = !1, ps = /* @__PURE__ */ a(() => {
4623
- fs || (fs = !0, x("error", Go, (e) => e.toLowerCase().trim() === "error"), x("---", {
4626
+ }, ds = !1, fs = /* @__PURE__ */ a(() => {
4627
+ ds || (ds = !0, x("error", Wo, (e) => e.toLowerCase().trim() === "error"), x("---", {
4624
4628
  db: { clear: /* @__PURE__ */ a(() => {}, "clear") },
4625
4629
  styles: {},
4626
4630
  renderer: { draw: /* @__PURE__ */ a(() => {}, "draw") },
@@ -4628,8 +4632,8 @@ var co = "c4", lo = {
4628
4632
  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");
4629
4633
  }, "parse") },
4630
4634
  init: /* @__PURE__ */ a(() => null, "init")
4631
- }, (e) => e.toLowerCase().trimStart().startsWith("---")), c(qo, Zo, ls), c(lo, $o, Io, Po, go, bo, So, wo, Ao, Mo, mo, fo, Yo, vo, Bo, Ro, Ho, Eo, ts, rs, Oo, ss, as, ds));
4632
- }, "addDiagrams"), ms = /* @__PURE__ */ a(async () => {
4635
+ }, (e) => e.toLowerCase().trimStart().startsWith("---")), c(Ko, Xo, cs), c(co, Qo, Fo, No, ho, yo, xo, Co, ko, jo, po, uo, Jo, _o, zo, Lo, Vo, To, es, ns, Do, os, is, us));
4636
+ }, "addDiagrams"), ps = /* @__PURE__ */ a(async () => {
4633
4637
  i.debug("Loading registered diagrams");
4634
4638
  let e = (await Promise.allSettled(Object.entries(w).map(async ([e, { detector: t, loader: n }]) => {
4635
4639
  if (n) try {
@@ -4648,12 +4652,12 @@ var co = "c4", lo = {
4648
4652
  for (let t of e) i.error(t);
4649
4653
  throw Error(`Failed to load ${e.length} external diagrams`);
4650
4654
  }
4651
- }, "loadRegisteredDiagrams"), hs = "graphics-document document";
4652
- function gs(e, t) {
4653
- e.attr("role", hs), t !== "" && e.attr("aria-roledescription", t);
4655
+ }, "loadRegisteredDiagrams"), ms = "graphics-document document";
4656
+ function hs(e, t) {
4657
+ e.attr("role", ms), t !== "" && e.attr("aria-roledescription", t);
4654
4658
  }
4655
- a(gs, "setA11yDiagramInfo");
4656
- function _s(e, t, n, r) {
4659
+ a(hs, "setA11yDiagramInfo");
4660
+ function gs(e, t, n, r) {
4657
4661
  if (e.insert !== void 0) {
4658
4662
  if (n) {
4659
4663
  let t = `chart-desc-${r}`;
@@ -4665,8 +4669,8 @@ function _s(e, t, n, r) {
4665
4669
  }
4666
4670
  }
4667
4671
  }
4668
- a(_s, "addSVGa11yTitleDescription");
4669
- var vs = class e {
4672
+ a(gs, "addSVGa11yTitleDescription");
4673
+ var _s = class e {
4670
4674
  constructor(e, t, n, r, i) {
4671
4675
  this.type = e, this.text = t, this.db = n, this.parser = r, this.renderer = i;
4672
4676
  }
@@ -4696,18 +4700,18 @@ var vs = class e {
4696
4700
  getType() {
4697
4701
  return this.type;
4698
4702
  }
4699
- }, ys = [], bs = /* @__PURE__ */ a(() => {
4700
- ys.forEach((e) => {
4703
+ }, vs = [], ys = /* @__PURE__ */ a(() => {
4704
+ vs.forEach((e) => {
4701
4705
  e();
4702
- }), ys = [];
4703
- }, "attachFunctions"), xs = /* @__PURE__ */ a((e) => e.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart(), "cleanupComments");
4704
- function Ss(e) {
4706
+ }), vs = [];
4707
+ }, "attachFunctions"), bs = /* @__PURE__ */ a((e) => e.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart(), "cleanupComments");
4708
+ function xs(e) {
4705
4709
  let t = e.match(y);
4706
4710
  if (!t) return {
4707
4711
  text: e,
4708
4712
  metadata: {}
4709
4713
  };
4710
- let n = Wi(t[1], { schema: Ui }) ?? {};
4714
+ let n = Ui(t[1], { schema: Hi }) ?? {};
4711
4715
  n = typeof n == "object" && !Array.isArray(n) ? n : {};
4712
4716
  let r = {};
4713
4717
  return n.displayMode && (r.displayMode = n.displayMode.toString()), n.title && (r.title = n.title.toString()), n.config && (r.config = n.config), {
@@ -4715,47 +4719,47 @@ function Ss(e) {
4715
4719
  metadata: r
4716
4720
  };
4717
4721
  }
4718
- a(Ss, "extractFrontMatter");
4719
- var Cs = /* @__PURE__ */ a((e) => e.replace(/\r\n?/g, "\n").replace(/<(\w+)([^>]*)>/g, (e, t, n) => "<" + t + n.replace(/="([^"]*)"/g, "='$1'") + ">"), "cleanupText"), ws = /* @__PURE__ */ a((e) => {
4720
- let { text: t, metadata: n } = Ss(e), { displayMode: r, title: i, config: a = {} } = n;
4722
+ a(xs, "extractFrontMatter");
4723
+ var Ss = /* @__PURE__ */ a((e) => e.replace(/\r\n?/g, "\n").replace(/<(\w+)([^>]*)>/g, (e, t, n) => "<" + t + n.replace(/="([^"]*)"/g, "='$1'") + ">"), "cleanupText"), Cs = /* @__PURE__ */ a((e) => {
4724
+ let { text: t, metadata: n } = xs(e), { displayMode: r, title: i, config: a = {} } = n;
4721
4725
  return r && (a.gantt ||= {}, a.gantt.displayMode = r), {
4722
4726
  title: i,
4723
4727
  config: a,
4724
4728
  text: t
4725
4729
  };
4726
- }, "processFrontmatter"), Ts = /* @__PURE__ */ a((e) => {
4730
+ }, "processFrontmatter"), ws = /* @__PURE__ */ a((e) => {
4727
4731
  let t = N.detectInit(e) ?? {}, n = N.detectDirective(e, "wrap");
4728
4732
  return Array.isArray(n) ? t.wrap = n.some(({ type: e }) => e === "wrap") : n?.type === "wrap" && (t.wrap = !0), {
4729
4733
  text: ne(e),
4730
4734
  directive: t
4731
4735
  };
4732
4736
  }, "processDirectives");
4733
- function Es(e) {
4734
- let t = ws(Cs(e)), n = Ts(t.text), r = re(t.config, n.directive);
4735
- return e = xs(n.text), {
4737
+ function Ts(e) {
4738
+ let t = Cs(Ss(e)), n = ws(t.text), r = re(t.config, n.directive);
4739
+ return e = bs(n.text), {
4736
4740
  code: e,
4737
4741
  title: t.title,
4738
4742
  config: r
4739
4743
  };
4740
4744
  }
4741
- a(Es, "preprocessDiagram");
4742
- function Ds(e) {
4745
+ a(Ts, "preprocessDiagram");
4746
+ function Es(e) {
4743
4747
  let t = new TextEncoder().encode(e), n = Array.from(t, (e) => String.fromCodePoint(e)).join("");
4744
4748
  return btoa(n);
4745
4749
  }
4746
- a(Ds, "toBase64");
4747
- var Os = 5e4, ks = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", As = "sandbox", js = "loose", Ms = "http://www.w3.org/2000/svg", Ns = "http://www.w3.org/1999/xlink", Ps = "http://www.w3.org/1999/xhtml", Fs = "100%", Is = "100%", Ls = "border:0;margin:0;", Rs = "margin:0", zs = "allow-top-navigation-by-user-activation allow-popups", Bs = "The \"iframe\" tag is not supported by your browser.", Vs = ["foreignobject"], Hs = ["dominant-baseline"];
4748
- function Us(e) {
4749
- let t = Es(e);
4750
+ a(Es, "toBase64");
4751
+ var Ds = 5e4, Os = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", ks = "sandbox", As = "loose", js = "http://www.w3.org/2000/svg", Ms = "http://www.w3.org/1999/xlink", Ns = "http://www.w3.org/1999/xhtml", Ps = "100%", Fs = "100%", Is = "border:0;margin:0;", Ls = "margin:0", Rs = "allow-top-navigation-by-user-activation allow-popups", zs = "The \"iframe\" tag is not supported by your browser.", Bs = ["foreignobject"], Vs = ["dominant-baseline"];
4752
+ function Hs(e) {
4753
+ let t = Ts(e);
4750
4754
  return l(), C(t.config ?? {}), t;
4751
4755
  }
4752
- a(Us, "processAndSetConfigs");
4753
- async function Ws(e, t) {
4754
- ps();
4756
+ a(Hs, "processAndSetConfigs");
4757
+ async function Us(e, t) {
4758
+ fs();
4755
4759
  try {
4756
- let { code: t, config: n } = Us(e);
4760
+ let { code: t, config: n } = Hs(e);
4757
4761
  return {
4758
- diagramType: (await tc(t)).type,
4762
+ diagramType: (await ec(t)).type,
4759
4763
  config: n
4760
4764
  };
4761
4765
  } catch (e) {
@@ -4763,9 +4767,9 @@ async function Ws(e, t) {
4763
4767
  throw e;
4764
4768
  }
4765
4769
  }
4766
- a(Ws, "parse");
4767
- var Gs = /* @__PURE__ */ a((e, t, n = []) => `
4768
- .${e} ${t} { ${n.join(" !important; ")} !important; }`, "cssImportantStyles"), Ks = /* @__PURE__ */ a((e, t = /* @__PURE__ */ new Map()) => {
4770
+ a(Us, "parse");
4771
+ var Ws = /* @__PURE__ */ a((e, t, n = []) => `
4772
+ .${e} ${t} { ${n.join(" !important; ")} !important; }`, "cssImportantStyles"), Gs = /* @__PURE__ */ a((e, t = /* @__PURE__ */ new Map()) => {
4769
4773
  let n = "";
4770
4774
  if (e.themeCSS !== void 0 && (n += `
4771
4775
  ${e.themeCSS}`), e.fontFamily !== void 0 && (n += `
@@ -4779,90 +4783,90 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (n += `
4779
4783
  "path"
4780
4784
  ];
4781
4785
  t.forEach((e) => {
4782
- so(e.styles) || r.forEach((t) => {
4783
- n += Gs(e.id, t, e.styles);
4784
- }), so(e.textStyles) || (n += Gs(e.id, "tspan", (e?.textStyles || []).map((e) => e.replace("color", "fill"))));
4786
+ oo(e.styles) || r.forEach((t) => {
4787
+ n += Ws(e.id, t, e.styles);
4788
+ }), oo(e.textStyles) || (n += Ws(e.id, "tspan", (e?.textStyles || []).map((e) => e.replace("color", "fill"))));
4785
4789
  });
4786
4790
  }
4787
4791
  return n;
4788
- }, "createCssStyles"), qs = /* @__PURE__ */ a((e, t, n, r) => Ia(ja(`${r}{${T(t, Ks(e, n), e.themeVariables)}}`), La), "createUserStyles"), Js = /* @__PURE__ */ a((e = "", t, n) => {
4792
+ }, "createCssStyles"), Ks = /* @__PURE__ */ a((e, t, n, r) => Fa(Aa(`${r}{${T(t, Gs(e, n), e.themeVariables)}}`), Ia), "createUserStyles"), qs = /* @__PURE__ */ a((e = "", t, n) => {
4789
4793
  let r = e;
4790
4794
  return !n && !t && (r = r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g, "marker-end=\"url(#")), r = te(r), r = r.replace(/<br>/g, "<br/>"), r;
4791
- }, "cleanUpSvgCode"), Ys = /* @__PURE__ */ a((e = "", t) => `<iframe style="width:${Fs};height:${t?.viewBox?.baseVal?.height ? t.viewBox.baseVal.height + "px" : Is};${Ls}" src="data:text/html;charset=UTF-8;base64,${Ds(`<body style="${Rs}">${e}</body>`)}" sandbox="${zs}">
4792
- ${Bs}
4793
- </iframe>`, "putIntoIFrame"), Xs = /* @__PURE__ */ a((e, t, n, r, i) => {
4795
+ }, "cleanUpSvgCode"), Js = /* @__PURE__ */ a((e = "", t) => `<iframe style="width:${Ps};height:${t?.viewBox?.baseVal?.height ? t.viewBox.baseVal.height + "px" : Fs};${Is}" src="data:text/html;charset=UTF-8;base64,${Es(`<body style="${Ls}">${e}</body>`)}" sandbox="${Rs}">
4796
+ ${zs}
4797
+ </iframe>`, "putIntoIFrame"), Ys = /* @__PURE__ */ a((e, t, n, r, i) => {
4794
4798
  let a = e.append("div");
4795
4799
  a.attr("id", n), r && a.attr("style", r);
4796
- let o = a.append("svg").attr("id", t).attr("width", "100%").attr("xmlns", Ms);
4800
+ let o = a.append("svg").attr("id", t).attr("width", "100%").attr("xmlns", js);
4797
4801
  return i && o.attr("xmlns:xlink", i), o.append("g"), e;
4798
4802
  }, "appendDivSvgG");
4799
- function Zs(e, t) {
4803
+ function Xs(e, t) {
4800
4804
  return e.append("iframe").attr("id", t).attr("style", "width: 100%; height: 100%;").attr("sandbox", "");
4801
4805
  }
4802
- a(Zs, "sandboxedIframe");
4803
- var Qs = /* @__PURE__ */ a((e, t, n, r) => {
4806
+ a(Xs, "sandboxedIframe");
4807
+ var Zs = /* @__PURE__ */ a((e, t, n, r) => {
4804
4808
  e.getElementById(t)?.remove(), e.getElementById(n)?.remove(), e.getElementById(r)?.remove();
4805
- }, "removeExistingElements"), $s = /* @__PURE__ */ a(async function(e, t, n) {
4806
- ps();
4807
- let r = Us(t);
4809
+ }, "removeExistingElements"), Qs = /* @__PURE__ */ a(async function(e, t, n) {
4810
+ fs();
4811
+ let r = Hs(t);
4808
4812
  t = r.code;
4809
4813
  let s = j();
4810
- i.debug(s), t.length > (s?.maxTextSize ?? Os) && (t = ks);
4814
+ i.debug(s), t.length > (s?.maxTextSize ?? Ds) && (t = Os);
4811
4815
  let c = "#" + e, l = "i" + e, u = "#" + l, d = "d" + e, f = "#" + d, p = /* @__PURE__ */ a(() => {
4812
4816
  let e = o(g ? u : f).node();
4813
4817
  e && "remove" in e && e.remove();
4814
- }, "removeTempElements"), h = o("body"), g = s.securityLevel === As, _ = s.securityLevel === js, v = s.fontFamily;
4815
- n === void 0 ? (Qs(document, e, d, l), g ? (h = o(Zs(o("body"), l).nodes()[0].contentDocument.body), h.node().style.margin = 0) : h = o("body"), Xs(h, e, d)) : (n && (n.innerHTML = ""), g ? (h = o(Zs(o(n), l).nodes()[0].contentDocument.body), h.node().style.margin = 0) : h = o(n), Xs(h, e, d, `font-family: ${v}`, Ns));
4818
+ }, "removeTempElements"), h = o("body"), g = s.securityLevel === ks, _ = s.securityLevel === As, v = s.fontFamily;
4819
+ n === void 0 ? (Zs(document, e, d, l), g ? (h = o(Xs(o("body"), l).nodes()[0].contentDocument.body), h.node().style.margin = 0) : h = o("body"), Ys(h, e, d)) : (n && (n.innerHTML = ""), g ? (h = o(Xs(o(n), l).nodes()[0].contentDocument.body), h.node().style.margin = 0) : h = o(n), Ys(h, e, d, `font-family: ${v}`, Ms));
4816
4820
  let y, x;
4817
4821
  try {
4818
- y = await vs.fromText(t, { title: r.title });
4822
+ y = await _s.fromText(t, { title: r.title });
4819
4823
  } catch (e) {
4820
4824
  if (s.suppressErrorRendering) throw p(), e;
4821
- y = await vs.fromText("error"), x = e;
4825
+ y = await _s.fromText("error"), x = e;
4822
4826
  }
4823
- let S = h.select(f).node(), C = y.type, w = S.firstChild, T = w.firstChild, E = y.renderer.getClasses?.(t, y), D = qs(s, C, E, c), O = document.createElement("style");
4827
+ let S = h.select(f).node(), C = y.type, w = S.firstChild, T = w.firstChild, E = y.renderer.getClasses?.(t, y), D = Ks(s, C, E, c), O = document.createElement("style");
4824
4828
  O.innerHTML = D, w.insertBefore(O, T);
4825
4829
  try {
4826
- await y.renderer.draw(t, e, mt.version, y);
4830
+ await y.renderer.draw(t, e, pt.version, y);
4827
4831
  } catch (n) {
4828
- throw s.suppressErrorRendering ? p() : Wo.draw(t, e, mt.version), n;
4832
+ throw s.suppressErrorRendering ? p() : Uo.draw(t, e, pt.version), n;
4829
4833
  }
4830
4834
  let k = h.select(`${f} svg`), A = y.db.getAccTitle?.(), ee = y.db.getAccDescription?.();
4831
- nc(C, k, A, ee), h.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns", Ps);
4835
+ tc(C, k, A, ee), h.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns", Ns);
4832
4836
  let M = h.select(f).node().innerHTML;
4833
- if (i.debug("config.arrowMarkerAbsolute", s.arrowMarkerAbsolute), M = Js(M, g, b(s.arrowMarkerAbsolute)), g) {
4837
+ if (i.debug("config.arrowMarkerAbsolute", s.arrowMarkerAbsolute), M = qs(M, g, b(s.arrowMarkerAbsolute)), g) {
4834
4838
  let e = h.select(f + " svg").node();
4835
- M = Ys(M, e);
4839
+ M = Js(M, e);
4836
4840
  } else _ || (M = m.sanitize(M, {
4837
- ADD_TAGS: Vs,
4838
- ADD_ATTR: Hs,
4841
+ ADD_TAGS: Bs,
4842
+ ADD_ATTR: Vs,
4839
4843
  HTML_INTEGRATION_POINTS: { foreignobject: !0 }
4840
4844
  }));
4841
- if (bs(), x) throw x;
4845
+ if (ys(), x) throw x;
4842
4846
  return p(), {
4843
4847
  diagramType: C,
4844
4848
  svg: M,
4845
4849
  bindFunctions: y.db.bindFunctions
4846
4850
  };
4847
4851
  }, "render");
4848
- function ec(e = {}) {
4852
+ function $s(e = {}) {
4849
4853
  let t = E({}, e);
4850
- t?.fontFamily && !t.themeVariables?.fontFamily && (t.themeVariables ||= {}, t.themeVariables.fontFamily = t.fontFamily), u(t), t?.theme && t.theme in s ? t.themeVariables = s[t.theme].getThemeVariables(t.themeVariables) : t && (t.themeVariables = s.default.getThemeVariables(t.themeVariables)), r((typeof t == "object" ? p(t) : k()).logLevel), ps();
4854
+ t?.fontFamily && !t.themeVariables?.fontFamily && (t.themeVariables ||= {}, t.themeVariables.fontFamily = t.fontFamily), u(t), t?.theme && t.theme in s ? t.themeVariables = s[t.theme].getThemeVariables(t.themeVariables) : t && (t.themeVariables = s.default.getThemeVariables(t.themeVariables)), r((typeof t == "object" ? p(t) : k()).logLevel), fs();
4851
4855
  }
4852
- a(ec, "initialize");
4853
- var tc = /* @__PURE__ */ a((e, t = {}) => {
4854
- let { code: n } = Es(e);
4855
- return vs.fromText(n, t);
4856
+ a($s, "initialize");
4857
+ var ec = /* @__PURE__ */ a((e, t = {}) => {
4858
+ let { code: n } = Ts(e);
4859
+ return _s.fromText(n, t);
4856
4860
  }, "getDiagramFromText");
4857
- function nc(e, t, n, r) {
4858
- gs(t, e), _s(t, n, r, t.attr("id"));
4859
- }
4860
- a(nc, "addA11yInfo");
4861
- var rc = Object.freeze({
4862
- render: $s,
4863
- parse: Ws,
4864
- getDiagramFromText: tc,
4865
- initialize: ec,
4861
+ function tc(e, t, n, r) {
4862
+ hs(t, e), gs(t, n, r, t.attr("id"));
4863
+ }
4864
+ a(tc, "addA11yInfo");
4865
+ var nc = Object.freeze({
4866
+ render: Qs,
4867
+ parse: Us,
4868
+ getDiagramFromText: ec,
4869
+ initialize: $s,
4866
4870
  getConfig: j,
4867
4871
  setConfig: f,
4868
4872
  getSiteConfig: k,
@@ -4876,7 +4880,7 @@ var rc = Object.freeze({
4876
4880
  defaultConfig: S
4877
4881
  });
4878
4882
  r(j().logLevel), l(j());
4879
- var ic = /* @__PURE__ */ a((e, t, n) => {
4883
+ var rc = /* @__PURE__ */ a((e, t, n) => {
4880
4884
  i.warn(e), M(e) ? (n && n(e.str, e.hash), t.push({
4881
4885
  ...e,
4882
4886
  message: e.str,
@@ -4887,20 +4891,20 @@ var ic = /* @__PURE__ */ a((e, t, n) => {
4887
4891
  hash: e.name,
4888
4892
  error: e
4889
4893
  }));
4890
- }, "handleError"), ac = /* @__PURE__ */ a(async function(e = { querySelector: ".mermaid" }) {
4894
+ }, "handleError"), ic = /* @__PURE__ */ a(async function(e = { querySelector: ".mermaid" }) {
4891
4895
  try {
4892
- await oc(e);
4896
+ await ac(e);
4893
4897
  } catch (t) {
4894
- if (M(t) && i.error(t.str), $.parseError && $.parseError(t), !e.suppressErrors) throw i.error("Use the suppressErrors option to suppress these errors"), t;
4898
+ if (M(t) && i.error(t.str), gc.parseError && gc.parseError(t), !e.suppressErrors) throw i.error("Use the suppressErrors option to suppress these errors"), t;
4895
4899
  }
4896
- }, "run"), oc = /* @__PURE__ */ a(async function({ postRenderCallback: e, querySelector: t, nodes: n } = { querySelector: ".mermaid" }) {
4897
- let r = rc.getConfig();
4900
+ }, "run"), ac = /* @__PURE__ */ a(async function({ postRenderCallback: e, querySelector: t, nodes: n } = { querySelector: ".mermaid" }) {
4901
+ let r = nc.getConfig();
4898
4902
  i.debug(`${e ? "" : "No "}Callback function found`);
4899
4903
  let a;
4900
4904
  if (n) a = n;
4901
4905
  else if (t) a = document.querySelectorAll(t);
4902
4906
  else throw Error("Nodes and querySelector are both undefined");
4903
- i.debug(`Found ${a.length} diagrams`), r?.startOnLoad !== void 0 && (i.debug("Start On Load: " + r?.startOnLoad), rc.updateSiteConfig({ startOnLoad: r?.startOnLoad }));
4907
+ i.debug(`Found ${a.length} diagrams`), r?.startOnLoad !== void 0 && (i.debug("Start On Load: " + r?.startOnLoad), nc.updateSiteConfig({ startOnLoad: r?.startOnLoad }));
4904
4908
  let o = new N.InitIDGenerator(r.deterministicIds, r.deterministicIDSeed), s, c = [];
4905
4909
  for (let t of Array.from(a)) {
4906
4910
  if (i.info("Rendering diagram: " + t.id), t.getAttribute("data-processed")) continue;
@@ -4910,80 +4914,80 @@ var ic = /* @__PURE__ */ a((e, t, n) => {
4910
4914
  let r = N.detectInit(s);
4911
4915
  r && i.debug("Detected early reinit: ", r);
4912
4916
  try {
4913
- let { svg: r, bindFunctions: i } = await gc(n, s, t);
4917
+ let { svg: r, bindFunctions: i } = await hc(n, s, t);
4914
4918
  t.innerHTML = r, e && await e(n), i && i(t);
4915
4919
  } catch (e) {
4916
- ic(e, c, $.parseError);
4920
+ rc(e, c, gc.parseError);
4917
4921
  }
4918
4922
  }
4919
4923
  if (c.length > 0) throw c[0];
4920
- }, "runThrowsErrors"), sc = /* @__PURE__ */ a(function(e) {
4921
- rc.initialize(e);
4922
- }, "initialize"), cc = /* @__PURE__ */ a(async function(e, t, n) {
4923
- i.warn("mermaid.init is deprecated. Please use run instead."), e && sc(e);
4924
+ }, "runThrowsErrors"), oc = /* @__PURE__ */ a(function(e) {
4925
+ nc.initialize(e);
4926
+ }, "initialize"), sc = /* @__PURE__ */ a(async function(e, t, n) {
4927
+ i.warn("mermaid.init is deprecated. Please use run instead."), e && oc(e);
4924
4928
  let r = {
4925
4929
  postRenderCallback: n,
4926
4930
  querySelector: ".mermaid"
4927
4931
  };
4928
- typeof t == "string" ? r.querySelector = t : t && (t instanceof HTMLElement ? r.nodes = [t] : r.nodes = t), await ac(r);
4929
- }, "init"), lc = /* @__PURE__ */ a(async (e, { lazyLoad: t = !0 } = {}) => {
4930
- ps(), c(...e), t === !1 && await ms();
4931
- }, "registerExternalDiagrams"), uc = /* @__PURE__ */ a(function() {
4932
- if ($.startOnLoad) {
4933
- let { startOnLoad: e } = rc.getConfig();
4934
- e && $.run().catch((e) => i.error("Mermaid failed to initialize", e));
4932
+ typeof t == "string" ? r.querySelector = t : t && (t instanceof HTMLElement ? r.nodes = [t] : r.nodes = t), await ic(r);
4933
+ }, "init"), cc = /* @__PURE__ */ a(async (e, { lazyLoad: t = !0 } = {}) => {
4934
+ fs(), c(...e), t === !1 && await ps();
4935
+ }, "registerExternalDiagrams"), lc = /* @__PURE__ */ a(function() {
4936
+ if (gc.startOnLoad) {
4937
+ let { startOnLoad: e } = nc.getConfig();
4938
+ e && gc.run().catch((e) => i.error("Mermaid failed to initialize", e));
4935
4939
  }
4936
4940
  }, "contentLoaded");
4937
- typeof document < "u" && window.addEventListener("load", uc, !1);
4938
- var dc = /* @__PURE__ */ a(function(e) {
4939
- $.parseError = e;
4940
- }, "setParseErrorHandler"), fc = [], pc = !1, mc = /* @__PURE__ */ a(async () => {
4941
- if (!pc) {
4942
- for (pc = !0; fc.length > 0;) {
4943
- let e = fc.shift();
4941
+ typeof document < "u" && window.addEventListener("load", lc, !1);
4942
+ var uc = /* @__PURE__ */ a(function(e) {
4943
+ gc.parseError = e;
4944
+ }, "setParseErrorHandler"), dc = [], fc = !1, pc = /* @__PURE__ */ a(async () => {
4945
+ if (!fc) {
4946
+ for (fc = !0; dc.length > 0;) {
4947
+ let e = dc.shift();
4944
4948
  if (e) try {
4945
4949
  await e();
4946
4950
  } catch (e) {
4947
4951
  i.error("Error executing queue", e);
4948
4952
  }
4949
4953
  }
4950
- pc = !1;
4954
+ fc = !1;
4951
4955
  }
4952
- }, "executeQueue"), hc = /* @__PURE__ */ a(async (e, t) => new Promise((n, r) => {
4956
+ }, "executeQueue"), mc = /* @__PURE__ */ a(async (e, t) => new Promise((n, r) => {
4953
4957
  let o = /* @__PURE__ */ a(() => new Promise((a, o) => {
4954
- rc.parse(e, t).then((e) => {
4958
+ nc.parse(e, t).then((e) => {
4955
4959
  a(e), n(e);
4956
4960
  }, (e) => {
4957
- i.error("Error parsing", e), $.parseError?.(e), o(e), r(e);
4961
+ i.error("Error parsing", e), gc.parseError?.(e), o(e), r(e);
4958
4962
  });
4959
4963
  }), "performCall");
4960
- fc.push(o), mc().catch(r);
4961
- }), "parse"), gc = /* @__PURE__ */ a((e, t, n) => new Promise((r, o) => {
4964
+ dc.push(o), pc().catch(r);
4965
+ }), "parse"), hc = /* @__PURE__ */ a((e, t, n) => new Promise((r, o) => {
4962
4966
  let s = /* @__PURE__ */ a(() => new Promise((a, s) => {
4963
- rc.render(e, t, n).then((e) => {
4967
+ nc.render(e, t, n).then((e) => {
4964
4968
  a(e), r(e);
4965
4969
  }, (e) => {
4966
- i.error("Error parsing", e), $.parseError?.(e), s(e), o(e);
4970
+ i.error("Error parsing", e), gc.parseError?.(e), s(e), o(e);
4967
4971
  });
4968
4972
  }), "performCall");
4969
- fc.push(s), mc().catch(o);
4970
- }), "render"), $ = {
4973
+ dc.push(s), pc().catch(o);
4974
+ }), "render"), gc = {
4971
4975
  startOnLoad: !0,
4972
- mermaidAPI: rc,
4973
- parse: hc,
4974
- render: gc,
4975
- init: cc,
4976
- run: ac,
4977
- registerExternalDiagrams: lc,
4978
- registerLayoutLoaders: qi,
4979
- initialize: sc,
4976
+ mermaidAPI: nc,
4977
+ parse: mc,
4978
+ render: hc,
4979
+ init: sc,
4980
+ run: ic,
4981
+ registerExternalDiagrams: cc,
4982
+ registerLayoutLoaders: Ki,
4983
+ initialize: oc,
4980
4984
  parseError: void 0,
4981
- contentLoaded: uc,
4982
- setParseErrorHandler: dc,
4985
+ contentLoaded: lc,
4986
+ setParseErrorHandler: uc,
4983
4987
  detectType: v,
4984
4988
  registerIconPacks: _e,
4985
4989
  getRegisteredDiagramsMetadata: /* @__PURE__ */ a(() => Object.keys(w).map((e) => ({ id: e })), "getRegisteredDiagramsMetadata")
4986
- }, _c = $, vc = { class: "mermaid-controls" }, yc = ["title"], bc = {
4990
+ }, _c = gc, vc = { class: "mermaid-controls" }, yc = ["title"], bc = {
4987
4991
  key: 0,
4988
4992
  width: "16",
4989
4993
  height: "16",
@@ -4998,7 +5002,7 @@ var dc = /* @__PURE__ */ a(function(e) {
4998
5002
  }, Sc = { class: "zoom-indicator" }, Cc = {
4999
5003
  key: 0,
5000
5004
  class: "mermaid-error"
5001
- }, wc = /* @__PURE__ */ ut(/* @__PURE__ */ Ae({
5005
+ }, wc = /* @__PURE__ */ lt(/* @__PURE__ */ ke({
5002
5006
  __name: "MermaidDiagram",
5003
5007
  props: {
5004
5008
  code: {},
@@ -5006,10 +5010,12 @@ var dc = /* @__PURE__ */ a(function(e) {
5006
5010
  onError: { type: Function }
5007
5011
  },
5008
5012
  setup(e) {
5009
- let t = e, n = R(null), r = R(null), i = R(null), a = R("default"), o = R(1), s = R(0), c = R(0), l = R(!1), u = R(0), d = R(0), f = R(0), p = R(0), m = R(!1), h = R(null), g = R(null), _ = () => {
5010
- let e = document.documentElement.classList.contains("theme-dark") || document.body.classList.contains("theme-dark") || document.documentElement.classList.contains("dark") || document.body.classList.contains("dark") || document.documentElement.getAttribute("data-theme") === "dark" || document.body.getAttribute("data-theme") === "dark", t = document.documentElement.classList.contains("theme-light") || document.body.classList.contains("theme-light") || document.documentElement.classList.contains("light") || document.body.classList.contains("light") || document.documentElement.getAttribute("data-theme") === "light" || document.body.getAttribute("data-theme") === "light";
5011
- return e ? "dark" : t ? "default" : window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "default";
5012
- }, v = (e) => {
5013
+ let t = e, n = z(null), r = z(null), i = z(null), a = z("default"), o = z(1), s = z(0), c = z(0), l = z(!1), u = z(0), d = z(0), f = z(0), p = z(0), m = z(!1), h = z(null), g = z(null), _ = je("isMarkdownDark"), v = P(() => _ ? _.value : !1), y = () => v.value ? "dark" : "default";
5014
+ ze(() => v.value, (e) => {
5015
+ let t = e ? "dark" : "default";
5016
+ a.value = t, b(t), A();
5017
+ });
5018
+ let b = (e) => {
5013
5019
  _c.initialize({
5014
5020
  suppressErrorRendering: !0,
5015
5021
  startOnLoad: !1,
@@ -5047,42 +5053,42 @@ var dc = /* @__PURE__ */ a(function(e) {
5047
5053
  sequenceNumberColor: "#1e1e1e"
5048
5054
  } : {}
5049
5055
  });
5050
- }, y = () => {
5056
+ }, x = () => {
5051
5057
  if (!h.value || !g.value) return;
5052
5058
  let e = g.value, t = e.width / o.value, n = e.height / o.value, r = (e.width - t) / 2, i = (e.height - n) / 2, a = e.x + r - s.value / o.value, l = e.y + i - c.value / o.value;
5053
5059
  h.value.setAttribute("viewBox", `${a} ${l} ${t} ${n}`);
5054
- }, b = (e) => {
5060
+ }, S = (e) => {
5055
5061
  if (!h.value || !r.value || !g.value) return;
5056
5062
  let t = e.deltaY > 0 ? .9 : 1.1, n = o.value, i = Math.min(Math.max(.1, o.value * t), 5);
5057
5063
  if (n === i) return;
5058
- let a = r.value.getBoundingClientRect(), l = e.clientX - a.left, u = e.clientY - a.top, d = h.value.getBoundingClientRect(), f = d.left - a.left, p = d.top - a.top, m = l - f, _ = u - p, v = g.value, b = v.width / n, x = v.height / n, S = m / d.width, C = _ / d.height, w = (v.width - b) / 2, T = (v.height - x) / 2, E = v.x + w - s.value / n, D = v.y + T - c.value / n, O = E + S * b, k = D + C * x, A = v.width / i, j = v.height / i, ee = O - S * A, M = k - C * j, N = (v.width - A) / 2, te = (v.height - j) / 2;
5059
- s.value = (v.x + N - ee) * i, c.value = (v.y + te - M) * i, o.value = i, y();
5060
- }, x = (e) => {
5064
+ let a = r.value.getBoundingClientRect(), l = e.clientX - a.left, u = e.clientY - a.top, d = h.value.getBoundingClientRect(), f = d.left - a.left, p = d.top - a.top, m = l - f, _ = u - p, v = g.value, y = v.width / n, b = v.height / n, S = m / d.width, C = _ / d.height, w = (v.width - y) / 2, T = (v.height - b) / 2, E = v.x + w - s.value / n, D = v.y + T - c.value / n, O = E + S * y, k = D + C * b, A = v.width / i, j = v.height / i, ee = O - S * A, M = k - C * j, N = (v.width - A) / 2, te = (v.height - j) / 2;
5065
+ s.value = (v.x + N - ee) * i, c.value = (v.y + te - M) * i, o.value = i, x();
5066
+ }, C = (e) => {
5061
5067
  l.value = !0, u.value = e.clientX, d.value = e.clientY, f.value = s.value, p.value = c.value, r.value && (r.value.style.cursor = "grabbing");
5062
- }, S = (e) => {
5068
+ }, w = (e) => {
5063
5069
  if (!l.value) return;
5064
5070
  let t = e.clientX - u.value, n = e.clientY - d.value;
5065
- s.value = f.value + t, c.value = p.value + n, y();
5066
- }, C = () => {
5067
- l.value = !1, r.value && (r.value.style.cursor = "grab");
5068
- }, w = () => {
5069
- l.value && (l.value = !1, r.value && (r.value.style.cursor = "grab"));
5071
+ s.value = f.value + t, c.value = p.value + n, x();
5070
5072
  }, T = () => {
5071
- o.value = 1, s.value = 0, c.value = 0, y();
5073
+ l.value = !1, r.value && (r.value.style.cursor = "grab");
5072
5074
  }, E = () => {
5075
+ l.value && (l.value = !1, r.value && (r.value.style.cursor = "grab"));
5076
+ }, D = () => {
5077
+ o.value = 1, s.value = 0, c.value = 0, x();
5078
+ }, O = () => {
5073
5079
  m.value = !m.value;
5074
- }, D = (e) => {
5075
- e.key === "Escape" && m.value && E();
5080
+ }, k = (e) => {
5081
+ e.key === "Escape" && m.value && O();
5076
5082
  };
5077
- Be(m, (e) => {
5078
- e ? document.body.style.overflow = "hidden" : (document.body.style.overflow = "", T()), h.value && (e ? h.value.style.maxHeight = "100vh" : h.value.style.maxHeight = "600px");
5083
+ ze(m, (e) => {
5084
+ e ? document.body.style.overflow = "hidden" : (document.body.style.overflow = "", D()), h.value && (e ? h.value.style.maxHeight = "100vh" : h.value.style.maxHeight = "600px");
5079
5085
  });
5080
- let O = async () => {
5086
+ let A = async () => {
5081
5087
  if (!(!n.value || !t.code)) {
5082
5088
  i.value = null, n.value.innerHTML = "";
5083
5089
  try {
5084
- let e = _();
5085
- e !== a.value && (a.value = e, v(e));
5090
+ let e = y();
5091
+ e !== a.value && (a.value = e, b(e));
5086
5092
  let r = `mermaid-${Math.random().toString(36).substr(2, 9)}`, { svg: i } = await _c.render(r, t.code);
5087
5093
  if (n.value.innerHTML = i, h.value = n.value.querySelector("svg"), h.value) {
5088
5094
  let e = h.value.getAttribute("viewBox");
@@ -5103,7 +5109,7 @@ var dc = /* @__PURE__ */ a(function(e) {
5103
5109
  height: t
5104
5110
  }, h.value.setAttribute("viewBox", `0 0 ${e} ${t}`);
5105
5111
  }
5106
- h.value.removeAttribute("width"), h.value.removeAttribute("height"), h.value.style.width = "100%", h.value.style.height = "100%", h.value.style.maxWidth = "100%", h.value.style.maxHeight = "600px", y();
5112
+ h.value.removeAttribute("width"), h.value.removeAttribute("height"), h.value.style.width = "100%", h.value.style.height = "100%", h.value.style.maxWidth = "100%", h.value.style.maxHeight = "600px", x();
5107
5113
  }
5108
5114
  } catch (e) {
5109
5115
  let n = e?.message || String(e);
@@ -5115,65 +5121,57 @@ var dc = /* @__PURE__ */ a(function(e) {
5115
5121
  console.log("Mermaid render skipped in streaming mode.");
5116
5122
  }
5117
5123
  }
5118
- }, k = null, A = () => {
5119
- O();
5120
5124
  };
5121
- return Fe(() => {
5122
- a.value = _(), v(a.value), O(), window.matchMedia && (k = window.matchMedia("(prefers-color-scheme: dark)"), k.addEventListener("change", A));
5123
- let e = new MutationObserver(() => {
5124
- O();
5125
- });
5126
- e.observe(document.documentElement, {
5127
- attributes: !0,
5128
- attributeFilter: ["class"]
5129
- }), e.observe(document.body, {
5130
- attributes: !0,
5131
- attributeFilter: ["class"]
5132
- }), n.value.__observer = e, window.addEventListener("keydown", D);
5133
- }), Ie(() => {
5134
- k && k.removeEventListener("change", A), n.value && n.value.__observer && n.value.__observer.disconnect(), window.removeEventListener("keydown", D), document.body.style.overflow = "";
5135
- }), Be(() => [t.code, t.isStreaming], () => {
5136
- O();
5137
- }), (t, a) => (L(), ke(De, {
5125
+ return Pe(() => {
5126
+ a.value = y(), b(a.value), A(), window.addEventListener("keydown", k);
5127
+ }), Fe(() => {
5128
+ window.removeEventListener("keydown", k), document.body.style.overflow = "";
5129
+ }), ze(() => [t.code, t.isStreaming], () => {
5130
+ A();
5131
+ }), (t, a) => (R(), Oe(De, {
5138
5132
  to: "body",
5139
5133
  disabled: !m.value
5140
- }, [I("div", { class: Ne(["mermaid-diagram-wrapper", { fullscreen: m.value }]) }, [
5141
- I("div", vc, [
5142
- I("button", {
5143
- onClick: T,
5134
+ }, [L("div", { class: Me(["mermaid-diagram-wrapper", {
5135
+ fullscreen: m.value,
5136
+ "theme-dark": v.value,
5137
+ "theme-light": !v.value
5138
+ }]) }, [
5139
+ L("div", vc, [
5140
+ L("button", {
5141
+ onClick: D,
5144
5142
  class: "control-btn",
5145
5143
  title: "重置缩放"
5146
- }, [...a[0] ||= [I("svg", {
5144
+ }, [...a[0] ||= [L("svg", {
5147
5145
  width: "16",
5148
5146
  height: "16",
5149
5147
  viewBox: "0 0 16 16",
5150
5148
  fill: "currentColor"
5151
- }, [I("path", { d: "M8 3a5 5 0 1 0 0 10A5 5 0 0 0 8 3zM1 8a7 7 0 1 1 14 0A7 7 0 0 1 1 8z" }), I("path", { d: "M8 4.5a.5.5 0 0 1 .5.5v2h2a.5.5 0 0 1 0 1h-2v2a.5.5 0 0 1-1 0v-2h-2a.5.5 0 0 1 0-1h2v-2A.5.5 0 0 1 8 4.5z" })], -1)]]),
5152
- I("button", {
5153
- onClick: E,
5149
+ }, [L("path", { d: "M8 3a5 5 0 1 0 0 10A5 5 0 0 0 8 3zM1 8a7 7 0 1 1 14 0A7 7 0 0 1 1 8z" }), L("path", { d: "M8 4.5a.5.5 0 0 1 .5.5v2h2a.5.5 0 0 1 0 1h-2v2a.5.5 0 0 1-1 0v-2h-2a.5.5 0 0 1 0-1h2v-2A.5.5 0 0 1 8 4.5z" })], -1)]]),
5150
+ L("button", {
5151
+ onClick: O,
5154
5152
  class: "control-btn",
5155
5153
  title: m.value ? "退出全屏" : "全屏预览"
5156
- }, [m.value ? (L(), F("svg", xc, [...a[2] ||= [I("path", { d: "M5.5 0a.5.5 0 0 1 .5.5v4A1.5 1.5 0 0 1 4.5 6h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5zm5 0a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 10 4.5v-4a.5.5 0 0 1 .5-.5zM0 10.5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 6 11.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zm10 1a1.5 1.5 0 0 1 1.5-1.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4z" }, null, -1)]])) : (L(), F("svg", bc, [...a[1] ||= [I("path", { d: "M1.5 1a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4A1.5 1.5 0 0 1 1.5 0h4a.5.5 0 0 1 0 1h-4zM10 .5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 16 1.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zM.5 10a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 0 14.5v-4a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v4a1.5 1.5 0 0 1-1.5 1.5h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5z" }, null, -1)]]))], 8, yc),
5157
- I("span", Sc, Re(Math.round(o.value * 100)) + "%", 1)
5154
+ }, [m.value ? (R(), I("svg", xc, [...a[2] ||= [L("path", { d: "M5.5 0a.5.5 0 0 1 .5.5v4A1.5 1.5 0 0 1 4.5 6h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5zm5 0a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 10 4.5v-4a.5.5 0 0 1 .5-.5zM0 10.5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 6 11.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zm10 1a1.5 1.5 0 0 1 1.5-1.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4z" }, null, -1)]])) : (R(), I("svg", bc, [...a[1] ||= [L("path", { d: "M1.5 1a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4A1.5 1.5 0 0 1 1.5 0h4a.5.5 0 0 1 0 1h-4zM10 .5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 16 1.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zM.5 10a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 0 14.5v-4a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v4a1.5 1.5 0 0 1-1.5 1.5h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5z" }, null, -1)]]))], 8, yc),
5155
+ L("span", Sc, Le(Math.round(o.value * 100)) + "%", 1)
5158
5156
  ]),
5159
- I("div", {
5157
+ L("div", {
5160
5158
  ref_key: "containerRef",
5161
5159
  ref: r,
5162
- class: Ne(["mermaid-diagram", { "is-dragging": l.value }]),
5163
- onWheel: He(b, ["prevent"]),
5164
- onMousedown: x,
5165
- onMousemove: S,
5166
- onMouseup: C,
5167
- onMouseleave: w
5168
- }, [I("div", {
5160
+ class: Me(["mermaid-diagram", { "is-dragging": l.value }]),
5161
+ onWheel: Ve(S, ["prevent"]),
5162
+ onMousedown: C,
5163
+ onMousemove: w,
5164
+ onMouseup: T,
5165
+ onMouseleave: E
5166
+ }, [L("div", {
5169
5167
  ref_key: "diagramRef",
5170
5168
  ref: n,
5171
5169
  class: "mermaid-diagram-content"
5172
5170
  }, null, 512)], 34),
5173
- i.value && !e.isStreaming ? (L(), F("div", Cc, [a[3] ||= I("strong", null, "Mermaid 渲染错误:", -1), I("pre", null, Re(i.value), 1)])) : P("", !0)
5171
+ i.value && !e.isStreaming ? (R(), I("div", Cc, [a[3] ||= L("strong", null, "Mermaid 渲染错误:", -1), L("pre", null, Le(i.value), 1)])) : F("", !0)
5174
5172
  ], 2)], 8, ["disabled"]));
5175
5173
  }
5176
- }), [["__scopeId", "data-v-f3845ab0"]]);
5174
+ }), [["__scopeId", "data-v-5f6504e7"]]);
5177
5175
  //#endregion
5178
5176
  //#region src/plugins/custom/mermaidPlugin.ts
5179
5177
  function Tc(e) {
@@ -5198,28 +5196,28 @@ function Dc(e) {
5198
5196
  },
5199
5197
  render: (e, t, n, i) => {
5200
5198
  let o = e.children?.find((e) => e.type === "tag" && e.name === "code");
5201
- if (!o) return je("div", { class: "mermaid-error" }, "No code content found");
5199
+ if (!o) return Ae("div", { class: "mermaid-error" }, "No code content found");
5202
5200
  let s = {
5203
5201
  code: Ec(o),
5204
5202
  isStreaming: i?.isStreaming || !1
5205
5203
  };
5206
- return r && (s.theme = r), a && (s.onError = a), je(wc, s);
5204
+ return r && (s.theme = r), a && (s.onError = a), Ae(wc, s);
5207
5205
  }
5208
5206
  };
5209
5207
  }
5210
5208
  //#endregion
5211
5209
  //#region src/components/BlinkingCursor.vue
5212
- var Oc = /* @__PURE__ */ ut(/* @__PURE__ */ Ae({
5210
+ var Oc = /* @__PURE__ */ lt(/* @__PURE__ */ ke({
5213
5211
  __name: "BlinkingCursor",
5214
5212
  props: {
5215
5213
  shape: { default: "square" },
5216
5214
  color: { default: "#333" }
5217
5215
  },
5218
5216
  setup(e) {
5219
- let t = e, n = Oe(() => ({ backgroundColor: t.color }));
5220
- return (t, r) => (L(), F("span", {
5221
- class: Ne(["blinking-cursor", `cursor-${e.shape}`]),
5222
- style: Pe(n.value)
5217
+ let t = e, n = P(() => ({ backgroundColor: t.color }));
5218
+ return (t, r) => (R(), I("span", {
5219
+ class: Me(["blinking-cursor", `cursor-${e.shape}`]),
5220
+ style: Ne(n.value)
5223
5221
  }, null, 6));
5224
5222
  }
5225
5223
  }), [["__scopeId", "data-v-0d4d5123"]]);
@@ -5231,7 +5229,7 @@ function kc(e = {}) {
5231
5229
  name: "cursor",
5232
5230
  priority: r,
5233
5231
  test: (e) => e.type === "component" && e.name === "cursor",
5234
- render: (e, r, i, a) => je(Oc, {
5232
+ render: (e, r, i, a) => Ae(Oc, {
5235
5233
  ...e.attribs,
5236
5234
  shape: t,
5237
5235
  ...n && { color: n }
@@ -5247,7 +5245,7 @@ var Ac = [
5247
5245
  "data-original",
5248
5246
  "data-index",
5249
5247
  "crossorigin"
5250
- ], jc = /* @__PURE__ */ ut(/* @__PURE__ */ Ae({
5248
+ ], jc = /* @__PURE__ */ lt(/* @__PURE__ */ ke({
5251
5249
  __name: "ImageViewer",
5252
5250
  props: {
5253
5251
  src: {},
@@ -5261,27 +5259,27 @@ var Ac = [
5261
5259
  context: {}
5262
5260
  },
5263
5261
  setup(e) {
5264
- let t = e, n = R(null), r = Me("imageViewerManager", null), i = {
5262
+ let t = e, n = z(null), r = je("imageViewerManager", null), i = {
5265
5263
  cursor: "pointer",
5266
5264
  maxWidth: "100%",
5267
5265
  height: "auto"
5268
- }, a = Oe(() => {
5266
+ }, a = P(() => {
5269
5267
  let e = t.context?.images || [];
5270
5268
  if (t.src && e.length > 0) {
5271
5269
  let n = e.findIndex((e) => e.src === t.src);
5272
5270
  return n === -1 ? 0 : n;
5273
5271
  }
5274
5272
  return 0;
5275
- }), o = Oe(() => t.crossOrigin ? t.src.startsWith("http") && !t.src.includes(window.location.host) : Ue(t.src, t.context?.autoCors));
5276
- Fe(() => {
5273
+ }), o = P(() => t.crossOrigin ? t.src.startsWith("http") && !t.src.includes(window.location.host) : He(t.src, t.context?.autoCors));
5274
+ Pe(() => {
5277
5275
  r && n.value && r.registerImage(n.value);
5278
- }), Ie(() => {
5276
+ }), Fe(() => {
5279
5277
  r && n.value && r.unregisterImage(n.value);
5280
5278
  });
5281
5279
  function s() {
5282
5280
  r && r.show(a.value);
5283
5281
  }
5284
- return (t, r) => (L(), F("img", {
5282
+ return (t, r) => (R(), I("img", {
5285
5283
  ref_key: "imgRef",
5286
5284
  ref: n,
5287
5285
  src: e.src,
@@ -5310,7 +5308,7 @@ function Mc(e) {
5310
5308
  let t = o.findIndex((t) => t.src === e.attribs?.src);
5311
5309
  t !== -1 && (s = t);
5312
5310
  }
5313
- return je(jc, {
5311
+ return Ae(jc, {
5314
5312
  src: e.attribs?.src || "",
5315
5313
  alt: e.attribs?.alt || "",
5316
5314
  title: e.attribs?.title || "",
@@ -5323,4 +5321,4 @@ function Mc(e) {
5323
5321
  };
5324
5322
  }
5325
5323
  //#endregion
5326
- export { ro as a, Yi as c, Wi as d, ht as f, Ue as g, ft as h, so as i, Ji as l, pt as m, kc as n, Ua as o, mt as p, Dc as r, Ba as s, Mc as t, Ui as u };
5324
+ export { no as a, Ji as c, Ui as d, mt as f, He as g, dt as h, oo as i, qi as l, ft as m, kc as n, Ha as o, pt as p, Dc as r, za as s, Mc as t, Hi as u };