@orangelogic/design-system 2.176.0 → 2.178.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/library/chunks/{abnfDiagram-VRR7QNED.DKqYa5p7.js → abnfDiagram-N423BO3Z.DmbxJEYP.js} +3 -3
  2. package/library/chunks/architectureDiagram-T3A2C74G.B3-MGxdy.js +4782 -0
  3. package/library/chunks/{asset-link-format.NhSLWk_Y.js → asset-link-format.Ckb6Eq0e.js} +5 -5
  4. package/library/chunks/{blockDiagram-677ZJIJ3.CeQxLPwj.js → blockDiagram-VBNYF7ZC.Dw_7h8Aq.js} +3 -3
  5. package/library/chunks/{button.zWaIO1sl.js → button.Bj14A10c.js} +1 -1
  6. package/library/chunks/{c4Diagram-LMCZKHZV.B73xdpNh.js → c4Diagram-5PPSVZJV.sgkQad3b.js} +2 -2
  7. package/library/chunks/{channel.s_XjcUYI.js → channel.BgACV0Fb.js} +1 -1
  8. package/library/chunks/{chunk-32BRIVSS.BbIrVi3j.js → chunk-2GRJ4B5K.r19kfrEk.js} +1 -1
  9. package/library/chunks/{chunk-2Q5K7J3B.Dy1Z-bMH.js → chunk-2Q5K7J3B.DR95kRDU.js} +1 -1
  10. package/library/chunks/{chunk-EX3LRPZG.L693y8d4.js → chunk-5RXB4S5H.4NblUr61.js} +4 -4
  11. package/library/chunks/{chunk-5VM5RSS4.D0-lddDM.js → chunk-5VM5RSS4.DjAk9wN1.js} +1 -1
  12. package/library/chunks/{chunk-MOJQB5TN.BZstBMYC.js → chunk-6Q2QTUOP.RrRW6s5_.js} +1 -1
  13. package/library/chunks/{chunk-V7JOEXUC.DcJlyQO0.js → chunk-GF5L2VYU.DBI3JTKM.js} +5 -5
  14. package/library/chunks/{chunk-JWPE2WC7.BV0i4LDu.js → chunk-JWPE2WC7.Bw21g4Xj.js} +1 -1
  15. package/library/chunks/{chunk-VR4S4FIN.BpryBs7q.js → chunk-KBJHAD2P.DfRrJw9t.js} +1 -1
  16. package/library/chunks/{chunk-RYQCIY6F.BMsuG7ya.js → chunk-RYQCIY6F.DkJNx6hl.js} +1 -1
  17. package/library/chunks/{chunk-XXDRQBXY.CSOjab1V.js → chunk-XXDRQBXY.CLvgdAsG.js} +1 -1
  18. package/library/chunks/{classDiagram-OUVF2IWQ.Dvz7CNwe.js → classDiagram-JCYQIIEL.DQ9axGI4.js} +2 -2
  19. package/library/chunks/{classDiagram-v2-EOCWNBFH.Dvz7CNwe.js → classDiagram-v2-OCEON4UE.DQ9axGI4.js} +2 -2
  20. package/library/chunks/{color-swatch-group.NJnbc24w.js → color-swatch-group.JIvuSR7O.js} +6 -6
  21. package/library/chunks/{confirm-popover.Cn1BaP0W.js → confirm-popover.BVWtAu5T.js} +1 -1
  22. package/library/chunks/{cose-bilkent-JH36ORCC.cfzS2XsK.js → cose-bilkent-JH36ORCC.DaEeg-T2.js} +1 -1
  23. package/library/chunks/{cynefinDiagram-TSTJHNR4.C8SgNXWI.js → cynefinDiagram-MW4NZA55.BPUjzF-9.js} +2 -2
  24. package/library/chunks/{dagre-VKFMJZFB.D5B1cAri.js → dagre-VZM6K2ZE.D8ZW6jWn.js} +2 -2
  25. package/library/chunks/{diagram-OA4YK3LP.Dm5WJs91.js → diagram-7IWD3JNH.DEn-8Nyk.js} +3 -3
  26. package/library/chunks/{diagram-FQU43EPY.DJukDcLl.js → diagram-B4RE2ZJO.D8OadPQp.js} +2 -2
  27. package/library/chunks/{diagram-NH7WQ7WH.DOpRwmC2.js → diagram-LBJQPF4R.uE98W6WL.js} +2 -2
  28. package/library/chunks/{diagram-G47NLZAW.BBOvcbcR.js → diagram-Q27KOJAE.yof_N5m5.js} +3 -3
  29. package/library/chunks/{diagram-WEI45ONY.COuzdmSR.js → diagram-UB23O5K3.Ch7qaZ8N.js} +66 -64
  30. package/library/chunks/{document-viewer.DxPw7xHV.js → document-viewer.5jZ0djNd.js} +3 -3
  31. package/library/chunks/{dom.C5aVLhKS.js → dom.gRV2cDjL.js} +1 -1
  32. package/library/chunks/{ebnfDiagram-CCIWWBDH.Dz-QBH6Y.js → ebnfDiagram-BXEA7PRR.BCGi4Or-.js} +3 -3
  33. package/library/chunks/{endpoints.CwgTrs4A.js → endpoints.mJ5S-tIs.js} +51 -52
  34. package/library/chunks/{erDiagram-Q63AITRT.sSw_w-2B.js → erDiagram-JOGREHBK.Dj_WQ9-P.js} +4 -4
  35. package/library/chunks/{flowDiagram-23GEKE2U.CMMbuUHf.js → flowDiagram-UKHOOZJN.C0pE4e9K.js} +25 -25
  36. package/library/chunks/{folder-select.Di9wfqIU.js → folder-select.CXrAwaij.js} +4 -4
  37. package/library/chunks/{form.CP9KLGjF.js → form.DSsy3Fcy.js} +1 -1
  38. package/library/chunks/{ganttDiagram-NO4QXBWP.DZdwd0O4.js → ganttDiagram-PKOTCBZU.Cz_H5LNn.js} +1 -1
  39. package/library/chunks/{gitGraphDiagram-IHSO6WYX.F6mwS3uS.js → gitGraphDiagram-DS77QQ5N.BwyVHdCu.js} +3 -3
  40. package/library/chunks/{infoDiagram-FWYZ7A6U.BnktKL7i.js → infoDiagram-6WML65LV.D986xkxa.js} +2 -2
  41. package/library/chunks/{input.B-c9KEAH.js → input.CftMH3MT.js} +1 -1
  42. package/library/chunks/{ishikawaDiagram-FXEZZL3T.CFp-9Kes.js → ishikawaDiagram-WSZJBQD7.DS_s73xV.js} +1 -1
  43. package/library/chunks/{journeyDiagram-5HDEW3XC.BxO1aPu_.js → journeyDiagram-NVQOT4AX.CpnBzO_7.js} +3 -3
  44. package/library/chunks/{kanban-definition-HUTT4EX6.Bk8vmLFK.js → kanban-definition-27J2QSJJ.BWQ1LbN9.js} +2 -2
  45. package/library/chunks/{markdown.CESgIEEE.js → markdown.ClRfC7SP.js} +665 -653
  46. package/library/chunks/{mermaid.core.Dspbw7Ig.js → mermaid.core.CPVTuCpJ.js} +1202 -1167
  47. package/library/chunks/{mindmap-definition-LN4V7U3C.DuCBBYwE.js → mindmap-definition-FAOFIHXS.tV221P-F.js} +3 -3
  48. package/library/chunks/{pagination.Do36kaZK.js → pagination.CW3yynt_.js} +2 -2
  49. package/library/chunks/{pegDiagram-2B236MQR.DQrkEdJr.js → pegDiagram-VL7TDLO6.SjdhjwPL.js} +3 -3
  50. package/library/chunks/{pieDiagram-ENE6RG2P.B6nPW8Pj.js → pieDiagram-7S7Q4E2Y.BCRXd1yD.js} +2 -2
  51. package/library/chunks/{quadrantDiagram-ABIIQ3AL.BFy9moxz.js → quadrantDiagram-CIZ2JOQS.BMNbRkIQ.js} +1 -1
  52. package/library/chunks/{railroadDiagram-RFXS5EU6.CSao8YZX.js → railroadDiagram-AXF67PYL.2IwXOeL6.js} +3 -3
  53. package/library/chunks/{requirementDiagram-TGXJPOKE.CjpliZnF.js → requirementDiagram-LRYGKXZP.BtyA_EuA.js} +3 -3
  54. package/library/chunks/{sankeyDiagram-HTMAVEWB.D8aAxVGe.js → sankeyDiagram-W5VNT64P.BUBAWIOI.js} +1 -1
  55. package/library/chunks/{sequenceDiagram-DBY2YBRQ.Cu9MV3h-.js → sequenceDiagram-SI44F4Z6.Cys6U73s.js} +3 -3
  56. package/library/chunks/{sizeCapture-X5ZJPWSS.BDByEFcW.js → sizeCapture-X5ZJPWSS.CEEU5-VT.js} +1 -1
  57. package/library/chunks/{stateDiagram-2N3HPSRC.DvrAW9Ck.js → stateDiagram-OKZ733FA.r1-hE_hN.js} +2 -2
  58. package/library/chunks/{stateDiagram-v2-6OUMAXLB.CFfuaFM1.js → stateDiagram-v2-UEYNNEHI.BMfu2Zly.js} +2 -2
  59. package/library/chunks/{string.BhJ0Zogu.js → string.CfI2ejyR.js} +60 -63
  60. package/library/chunks/{swimlanes-5IMT3BWC.AtMD47q7.js → swimlanes-SLNWSIFB.X2WxIaD_.js} +3 -3
  61. package/library/chunks/{swimlanesDiagram-G3AALYLV.26A1eX7s.js → swimlanesDiagram-ULZ7WXOC.BTivMnAR.js} +2 -2
  62. package/library/chunks/{tab-group.DYywhd3A.js → tab-group.DvPwuInt.js} +2 -2
  63. package/library/chunks/{timeline-definition-FHXFAJF6.CYSh6xl5.js → timeline-definition-Z64GVDOM.DFfCN4wg.js} +1 -1
  64. package/library/chunks/{vennDiagram-L72KCM5P.CSk1WWlu.js → vennDiagram-T6HMQDX7.C-CHsl0o.js} +1 -1
  65. package/library/chunks/{wardleyDiagram-EHGQE667.C7UzXYG7.js → wardleyDiagram-T6FBY63Y.BauqS3ST.js} +2 -2
  66. package/library/chunks/{xychartDiagram-FW5EYKEG.idiZWvYS.js → xychartDiagram-ELKLHX3M.BgPK-qcM.js} +76 -73
  67. package/library/components/asset-link-format.js +2 -2
  68. package/library/components/atoms.js +6 -6
  69. package/library/components/avatar.js +7 -7
  70. package/library/components/border-input-group.js +1 -1
  71. package/library/components/button.js +2 -2
  72. package/library/components/checkbox.js +1 -1
  73. package/library/components/color-picker.js +3 -3
  74. package/library/components/color-swatch-group.js +1 -1
  75. package/library/components/confirm-popover.js +2 -2
  76. package/library/components/corner-position-input-group.js +1 -1
  77. package/library/components/diff.js +1 -1
  78. package/library/components/document-viewer.js +1 -1
  79. package/library/components/dropdown.js +1 -1
  80. package/library/components/dynamic-select.js +1 -1
  81. package/library/components/element-clamp.js +1 -1
  82. package/library/components/file-on-demand.js +5 -5
  83. package/library/components/folder-select.js +4 -4
  84. package/library/components/input.js +2 -2
  85. package/library/components/line-clamp.js +1 -1
  86. package/library/components/markdown.js +2 -2
  87. package/library/components/molecules.js +2 -2
  88. package/library/components/organisms.js +2 -2
  89. package/library/components/padding-input-group.js +1 -1
  90. package/library/components/pagination.js +3 -3
  91. package/library/components/radio-group.js +1 -1
  92. package/library/components/range.js +1 -1
  93. package/library/components/select.js +1 -1
  94. package/library/components/shadow-input-group.js +1 -1
  95. package/library/components/share-option-list.js +1 -1
  96. package/library/components/size-input-group.js +1 -1
  97. package/library/components/switch.js +1 -1
  98. package/library/components/tab-group.js +3 -3
  99. package/library/components/textarea.js +1 -1
  100. package/library/components/timecode.js +1 -1
  101. package/library/components/types.js +48203 -49659
  102. package/library/package.json +1 -1
  103. package/library/packages/atoms/src/components/avatar/avatar.d.ts +2 -0
  104. package/library/packages/events/src/cx-video-annotation-layer-change.d.ts +8 -0
  105. package/library/packages/events/src/cx-video-closed.d.ts +6 -0
  106. package/library/packages/events/src/cx-video-comment-click.d.ts +8 -0
  107. package/library/packages/events/src/cx-video-comment-mouseleave.d.ts +8 -0
  108. package/library/packages/events/src/cx-video-comment-mouseover.d.ts +8 -0
  109. package/library/packages/events/src/cx-video-context-change.d.ts +27 -0
  110. package/library/packages/events/src/cx-video-enter-fullscreen.d.ts +6 -0
  111. package/library/packages/events/src/cx-video-event.d.ts +9 -0
  112. package/library/packages/events/src/cx-video-exit-fullscreen.d.ts +6 -0
  113. package/library/packages/events/src/cx-video-next-frame.d.ts +6 -0
  114. package/library/packages/events/src/cx-video-paused.d.ts +8 -0
  115. package/library/packages/events/src/cx-video-played.d.ts +8 -0
  116. package/library/packages/events/src/cx-video-prev-frame.d.ts +6 -0
  117. package/library/packages/events/src/cx-video-seeked.d.ts +8 -0
  118. package/library/packages/events/src/cx-video-segment-change.d.ts +9 -0
  119. package/library/packages/events/src/cx-video-time-update.d.ts +8 -0
  120. package/library/packages/events/src/events.d.ts +16 -0
  121. package/library/packages/organisms/src/annotator-comment/annotator-comment.d.ts +6 -0
  122. package/library/packages/organisms/src/content-builder/plugins/telemetry/metrics.d.ts +1 -0
  123. package/library/packages/organisms/src/index.d.ts +0 -2
  124. package/library/react-web-component.d.ts +243 -4
  125. package/library/utils.js +5 -5
  126. package/package.json +1 -1
  127. package/library/chunks/architectureDiagram-ZJ3FMSHR.CBIOk9Kp.js +0 -4757
  128. package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.d.ts +0 -71
  129. package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.styles.d.ts +0 -2
  130. package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.utils.d.ts +0 -25
  131. package/library/packages/organisms/src/video-editor/components/video-editor-timeline/video-editor-timeline.d.ts +0 -66
  132. package/library/packages/organisms/src/video-editor/components/video-editor-timeline/video-editor-timeline.styles.d.ts +0 -2
  133. package/library/packages/organisms/src/video-editor/components/video-editor-toolbar/video-editor-toolbar.d.ts +0 -84
  134. package/library/packages/organisms/src/video-editor/components/video-editor-toolbar/video-editor-toolbar.styles.d.ts +0 -2
  135. package/library/packages/organisms/src/video-editor/components/video-editor-track/video-editor-track.d.ts +0 -59
  136. package/library/packages/organisms/src/video-editor/components/video-editor-track/video-editor-track.styles.d.ts +0 -2
  137. package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.d.ts +0 -79
  138. package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.styles.d.ts +0 -2
  139. package/library/packages/organisms/src/video-editor/components/video-editor-transition/video-editor-transition.d.ts +0 -26
  140. package/library/packages/organisms/src/video-editor/components/video-editor-transition/video-editor-transition.styles.d.ts +0 -2
  141. package/library/packages/organisms/src/video-editor/video-editor.d.ts +0 -102
  142. package/library/packages/organisms/src/video-editor/video-editor.styles.d.ts +0 -2
  143. package/library/packages/services/src/api/chapter/chapter.d.ts +0 -7
@@ -1,14 +1,14 @@
1
- import { C as qn, I as Yn } from "./icon-button.BWToMtdK.js";
2
- import { C as jn, n as de } from "./lib-cortex-element.CVMmyPMC.js";
3
- import { c as Un } from "./custom-element.L4WJXn1j.js";
4
- import { L as Gn } from "./i18n.DbXTTLXx.js";
5
- import { w as _e } from "./watch.DJF5K-8U.js";
6
- import { s as Hn } from "./string.BhJ0Zogu.js";
7
- import { i as dt, x as Wn } from "./lit-element.jLBm65_O.js";
8
- import { r as Kn } from "./state.CSDxrqLd.js";
9
- import { o as Zn } from "./unsafe-html.Dff7-rCx.js";
1
+ import { C as jn, I as Yn } from "./icon-button.BWToMtdK.js";
2
+ import { C as Un, n as me } from "./lib-cortex-element.CVMmyPMC.js";
3
+ import { c as Gn } from "./custom-element.L4WJXn1j.js";
4
+ import { L as Hn } from "./i18n.DbXTTLXx.js";
5
+ import { w as Ne } from "./watch.DJF5K-8U.js";
6
+ import { s as Kn } from "./string.CfI2ejyR.js";
7
+ import { i as mt, x as Wn } from "./lit-element.jLBm65_O.js";
8
+ import { r as Zn } from "./state.CSDxrqLd.js";
9
+ import { o as Vn } from "./unsafe-html.Dff7-rCx.js";
10
10
  import { c as Ot } from "./_commonjsHelpers.DQNKXVTB.js";
11
- class Vn extends jn {
11
+ class Qn extends Un {
12
12
  constructor() {
13
13
  super(), this.#e();
14
14
  }
@@ -20,7 +20,7 @@ class Vn extends jn {
20
20
  * CortexLightElement applies the styles of a component to the Light DOM.
21
21
  */
22
22
  #e() {
23
- if (!Qn(this.constructor))
23
+ if (!Xn(this.constructor))
24
24
  return;
25
25
  const t = `${this.constructor.name}-styles`;
26
26
  if (!document.getElementById(t)) {
@@ -32,11 +32,11 @@ class Vn extends jn {
32
32
  }
33
33
  }
34
34
  }
35
- function Qn(e) {
35
+ function Xn(e) {
36
36
  return e.styles !== void 0;
37
37
  }
38
- /*! js-yaml 5.2.2 https://github.com/nodeca/js-yaml @license MIT */
39
- var C = Symbol("NOT_RESOLVED"), mt = Symbol("MERGE_KEY");
38
+ /*! js-yaml 5.2.3 https://github.com/nodeca/js-yaml @license MIT */
39
+ var C = Symbol("NOT_RESOLVED"), kt = Symbol("MERGE_KEY");
40
40
  function O(e, t) {
41
41
  return {
42
42
  tagName: e,
@@ -50,7 +50,7 @@ function O(e, t) {
50
50
  representTagName: t.representTagName ?? null
51
51
  };
52
52
  }
53
- function kt(e, t) {
53
+ function xt(e, t) {
54
54
  const n = t.finalize === void 0;
55
55
  return {
56
56
  tagName: e,
@@ -66,7 +66,7 @@ function kt(e, t) {
66
66
  representTagName: t.representTagName ?? null
67
67
  };
68
68
  }
69
- function Be(e, t) {
69
+ function qe(e, t) {
70
70
  const n = t.finalize === void 0;
71
71
  return {
72
72
  tagName: e,
@@ -85,16 +85,16 @@ function Be(e, t) {
85
85
  representTagName: t.representTagName ?? null
86
86
  };
87
87
  }
88
- var Xn = O("tag:yaml.org,2002:str", {
88
+ var Jn = O("tag:yaml.org,2002:str", {
89
89
  resolve: (e) => e,
90
90
  identify: (e) => typeof e == "string"
91
- }), Jn = [
91
+ }), er = [
92
92
  "",
93
93
  "~",
94
94
  "null",
95
95
  "Null",
96
96
  "NULL"
97
- ], er = O("tag:yaml.org,2002:null", {
97
+ ], tr = O("tag:yaml.org,2002:null", {
98
98
  implicit: !0,
99
99
  implicitFirstChars: [
100
100
  "",
@@ -102,22 +102,22 @@ var Xn = O("tag:yaml.org,2002:str", {
102
102
  "n",
103
103
  "N"
104
104
  ],
105
- resolve: (e) => Jn.indexOf(e) !== -1 ? null : C,
105
+ resolve: (e) => er.indexOf(e) !== -1 ? null : C,
106
106
  identify: (e) => e === null,
107
107
  represent: () => "null"
108
- }), tr = O("tag:yaml.org,2002:null", {
108
+ }), nr = O("tag:yaml.org,2002:null", {
109
109
  implicit: !0,
110
110
  implicitFirstChars: ["n"],
111
111
  resolve: (e, t) => e === "null" || t && e === "" ? null : C,
112
112
  identify: (e) => e === null,
113
113
  represent: () => "null"
114
- }), nr = [
114
+ }), rr = [
115
115
  "",
116
116
  "~",
117
117
  "null",
118
118
  "Null",
119
119
  "NULL"
120
- ], rr = O("tag:yaml.org,2002:null", {
120
+ ], ir = O("tag:yaml.org,2002:null", {
121
121
  implicit: !0,
122
122
  implicitFirstChars: [
123
123
  "",
@@ -125,18 +125,18 @@ var Xn = O("tag:yaml.org,2002:str", {
125
125
  "n",
126
126
  "N"
127
127
  ],
128
- resolve: (e) => nr.indexOf(e) !== -1 ? null : C,
128
+ resolve: (e) => rr.indexOf(e) !== -1 ? null : C,
129
129
  identify: (e) => e === null,
130
130
  represent: () => "null"
131
- }), ir = [
131
+ }), ar = [
132
132
  "true",
133
133
  "True",
134
134
  "TRUE"
135
- ], ar = [
135
+ ], or = [
136
136
  "false",
137
137
  "False",
138
138
  "FALSE"
139
- ], or = O("tag:yaml.org,2002:bool", {
139
+ ], sr = O("tag:yaml.org,2002:bool", {
140
140
  implicit: !0,
141
141
  implicitFirstChars: [
142
142
  "t",
@@ -144,16 +144,16 @@ var Xn = O("tag:yaml.org,2002:str", {
144
144
  "f",
145
145
  "F"
146
146
  ],
147
- resolve: (e) => ir.indexOf(e) !== -1 ? !0 : ar.indexOf(e) !== -1 ? !1 : C,
147
+ resolve: (e) => ar.indexOf(e) !== -1 ? !0 : or.indexOf(e) !== -1 ? !1 : C,
148
148
  identify: (e) => Object.prototype.toString.call(e) === "[object Boolean]",
149
149
  represent: (e) => e ? "true" : "false"
150
- }), sr = ["true"], lr = ["false"], cr = O("tag:yaml.org,2002:bool", {
150
+ }), lr = ["true"], cr = ["false"], ur = O("tag:yaml.org,2002:bool", {
151
151
  implicit: !0,
152
152
  implicitFirstChars: ["t", "f"],
153
- resolve: (e) => sr.indexOf(e) !== -1 ? !0 : lr.indexOf(e) !== -1 ? !1 : C,
153
+ resolve: (e) => lr.indexOf(e) !== -1 ? !0 : cr.indexOf(e) !== -1 ? !1 : C,
154
154
  identify: (e) => Object.prototype.toString.call(e) === "[object Boolean]",
155
155
  represent: (e) => e ? "true" : "false"
156
- }), ur = [
156
+ }), pr = [
157
157
  "true",
158
158
  "True",
159
159
  "TRUE",
@@ -165,7 +165,7 @@ var Xn = O("tag:yaml.org,2002:str", {
165
165
  "on",
166
166
  "On",
167
167
  "ON"
168
- ], pr = [
168
+ ], hr = [
169
169
  "false",
170
170
  "False",
171
171
  "FALSE",
@@ -177,7 +177,7 @@ var Xn = O("tag:yaml.org,2002:str", {
177
177
  "off",
178
178
  "Off",
179
179
  "OFF"
180
- ], hr = O("tag:yaml.org,2002:bool", {
180
+ ], fr = O("tag:yaml.org,2002:bool", {
181
181
  implicit: !0,
182
182
  implicitFirstChars: [
183
183
  "y",
@@ -191,51 +191,51 @@ var Xn = O("tag:yaml.org,2002:str", {
191
191
  "o",
192
192
  "O"
193
193
  ],
194
- resolve: (e) => ur.indexOf(e) !== -1 ? !0 : pr.indexOf(e) !== -1 ? !1 : C,
194
+ resolve: (e) => pr.indexOf(e) !== -1 ? !0 : hr.indexOf(e) !== -1 ? !1 : C,
195
195
  identify: (e) => Object.prototype.toString.call(e) === "[object Boolean]",
196
196
  represent: (e) => e ? "true" : "false"
197
- }), fr = /* @__PURE__ */ new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"), gr = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
198
- function dr(e) {
197
+ }), gr = /* @__PURE__ */ new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"), dr = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
198
+ function mr(e) {
199
199
  let t = e, n = 1;
200
200
  return (t[0] === "-" || t[0] === "+") && (t[0] === "-" && (n = -1), t = t.slice(1)), t.startsWith("0b") ? n * parseInt(t.slice(2), 2) : t.startsWith("0o") ? n * parseInt(t.slice(2), 8) : t.startsWith("0x") ? n * parseInt(t.slice(2), 16) : n * parseInt(t, 10);
201
201
  }
202
- function mr(e, t) {
202
+ function kr(e, t) {
203
203
  if (t) {
204
- if (!gr.test(e)) return C;
205
- } else if (!fr.test(e)) return C;
206
- const n = dr(e);
204
+ if (!dr.test(e)) return C;
205
+ } else if (!gr.test(e)) return C;
206
+ const n = mr(e);
207
207
  return Number.isFinite(n) ? n : C;
208
208
  }
209
- var an = O("tag:yaml.org,2002:int", {
209
+ var on = O("tag:yaml.org,2002:int", {
210
210
  implicit: !0,
211
211
  implicitFirstChars: [
212
212
  "-",
213
213
  "+",
214
214
  ..."0123456789"
215
215
  ],
216
- resolve: mr,
216
+ resolve: kr,
217
217
  identify: (e) => Number.isInteger(e) && !Object.is(e, -0) && e.toString(10).indexOf("e") < 0,
218
218
  represent: (e) => e.toString(10)
219
- }), kr = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)$"), xr = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
220
- function br(e) {
219
+ }), xr = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)$"), br = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
220
+ function yr(e) {
221
221
  let t = e, n = 1;
222
222
  return (t[0] === "-" || t[0] === "+") && (t[0] === "-" && (n = -1), t = t.slice(1)), t.startsWith("0b") ? n * parseInt(t.slice(2), 2) : t.startsWith("0o") ? n * parseInt(t.slice(2), 8) : t.startsWith("0x") ? n * parseInt(t.slice(2), 16) : n * parseInt(t, 10);
223
223
  }
224
- function yr(e, t) {
224
+ function wr(e, t) {
225
225
  if (t) {
226
- if (!xr.test(e)) return C;
227
- } else if (!kr.test(e)) return C;
228
- const n = br(e);
226
+ if (!br.test(e)) return C;
227
+ } else if (!xr.test(e)) return C;
228
+ const n = yr(e);
229
229
  return Number.isFinite(n) ? n : C;
230
230
  }
231
- var wr = O("tag:yaml.org,2002:int", {
231
+ var vr = O("tag:yaml.org,2002:int", {
232
232
  implicit: !0,
233
233
  implicitFirstChars: ["-", ..."0123456789"],
234
- resolve: yr,
234
+ resolve: wr,
235
235
  identify: (e) => Number.isInteger(e) && !Object.is(e, -0) && e.toString(10).indexOf("e") < 0,
236
236
  represent: (e) => e.toString(10)
237
- }), vr = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$");
238
- function Ar(e) {
237
+ }), Ar = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$");
238
+ function Sr(e) {
239
239
  let t = e.replace(/_/g, ""), n = 1;
240
240
  if ((t[0] === "-" || t[0] === "+") && (t[0] === "-" && (n = -1), t = t.slice(1)), t.startsWith("0b")) return n * parseInt(t.slice(2), 2);
241
241
  if (t.startsWith("0x")) return n * parseInt(t.slice(2), 16);
@@ -246,30 +246,30 @@ function Ar(e) {
246
246
  }
247
247
  return t !== "0" && t[0] === "0" ? n * parseInt(t, 8) : n * parseInt(t, 10);
248
248
  }
249
- function Sr(e) {
250
- if (!vr.test(e)) return C;
251
- const t = Ar(e);
249
+ function Tr(e) {
250
+ if (!Ar.test(e)) return C;
251
+ const t = Sr(e);
252
252
  return Number.isFinite(t) ? t : C;
253
253
  }
254
- var nt = O("tag:yaml.org,2002:int", {
254
+ var rt = O("tag:yaml.org,2002:int", {
255
255
  implicit: !0,
256
256
  implicitFirstChars: [
257
257
  "-",
258
258
  "+",
259
259
  ..."0123456789"
260
260
  ],
261
- resolve: Sr,
261
+ resolve: Tr,
262
262
  identify: (e) => Number.isInteger(e) && !Object.is(e, -0) && e.toString(10).indexOf("e") < 0,
263
263
  represent: (e) => e.toString(10)
264
- }), Tr = /* @__PURE__ */ new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), Er = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
265
- function Cr(e) {
266
- if (!Tr.test(e)) return C;
264
+ }), Er = /* @__PURE__ */ new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), Cr = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
265
+ function _r(e) {
266
+ if (!Er.test(e)) return C;
267
267
  let t = e.toLowerCase();
268
268
  const n = t[0] === "-" ? -1 : 1;
269
269
  if ("+-".includes(t[0]) && (t = t.slice(1)), t === ".inf") return n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
270
270
  if (t === ".nan") return NaN;
271
271
  const r = n * parseFloat(t);
272
- return Number.isFinite(r) || Er.test(e) ? r : C;
272
+ return Number.isFinite(r) || Cr.test(e) ? r : C;
273
273
  }
274
274
  function $r(e) {
275
275
  if (isNaN(e)) return ".nan";
@@ -279,7 +279,7 @@ function $r(e) {
279
279
  const t = e.toString(10);
280
280
  return /^[-+]?[0-9]+e/.test(t) ? t.replace("e", ".e") : t;
281
281
  }
282
- var on = O("tag:yaml.org,2002:float", {
282
+ var sn = O("tag:yaml.org,2002:float", {
283
283
  implicit: !0,
284
284
  implicitFirstChars: [
285
285
  "-",
@@ -287,11 +287,11 @@ var on = O("tag:yaml.org,2002:float", {
287
287
  ".",
288
288
  ..."0123456789"
289
289
  ],
290
- resolve: Cr,
290
+ resolve: _r,
291
291
  identify: (e) => typeof e == "number" && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf("e") >= 0),
292
292
  represent: $r
293
293
  }), Fr = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"), Ir = /* @__PURE__ */ new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
294
- function _r(e, t) {
294
+ function Rr(e, t) {
295
295
  if (t) {
296
296
  if (!Ir.test(e)) return C;
297
297
  let r = e.toLowerCase();
@@ -305,7 +305,7 @@ function _r(e, t) {
305
305
  const n = Number(e);
306
306
  return Number.isFinite(n) ? n : C;
307
307
  }
308
- function Rr(e) {
308
+ function Nr(e) {
309
309
  if (isNaN(e)) return ".nan";
310
310
  if (e === Number.POSITIVE_INFINITY) return ".inf";
311
311
  if (e === Number.NEGATIVE_INFINITY) return "-.inf";
@@ -313,15 +313,15 @@ function Rr(e) {
313
313
  const t = e.toString(10);
314
314
  return /^[-+]?[0-9]+e/.test(t) ? t.replace("e", ".e") : t;
315
315
  }
316
- var Nr = O("tag:yaml.org,2002:float", {
316
+ var Lr = O("tag:yaml.org,2002:float", {
317
317
  implicit: !0,
318
318
  implicitFirstChars: ["-", ..."0123456789"],
319
- resolve: _r,
319
+ resolve: Rr,
320
320
  identify: (e) => typeof e == "number" && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf("e") >= 0),
321
- represent: Rr
322
- }), Lr = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), Pr = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
323
- function Or(e) {
324
- if (!Lr.test(e)) return C;
321
+ represent: Nr
322
+ }), Pr = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), Or = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
323
+ function zr(e) {
324
+ if (!Pr.test(e)) return C;
325
325
  let t = e.toLowerCase().replace(/_/g, "");
326
326
  const n = t[0] === "-" ? -1 : 1;
327
327
  if ("+-".includes(t[0]) && (t = t.slice(1)), t === ".inf") return n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
@@ -331,9 +331,9 @@ function Or(e) {
331
331
  for (const i of t.split(":")) r = r * 60 + Number(i);
332
332
  r *= n;
333
333
  } else r = n * parseFloat(t);
334
- return Number.isFinite(r) || Pr.test(e) ? r : C;
334
+ return Number.isFinite(r) || Or.test(e) ? r : C;
335
335
  }
336
- function zr(e) {
336
+ function Mr(e) {
337
337
  if (isNaN(e)) return ".nan";
338
338
  if (e === Number.POSITIVE_INFINITY) return ".inf";
339
339
  if (e === Number.NEGATIVE_INFINITY) return "-.inf";
@@ -341,7 +341,7 @@ function zr(e) {
341
341
  const t = e.toString(10);
342
342
  return /^[-+]?[0-9]+e/.test(t) ? t.replace("e", ".e") : t;
343
343
  }
344
- var rt = O("tag:yaml.org,2002:float", {
344
+ var it = O("tag:yaml.org,2002:float", {
345
345
  implicit: !0,
346
346
  implicitFirstChars: [
347
347
  "-",
@@ -349,37 +349,41 @@ var rt = O("tag:yaml.org,2002:float", {
349
349
  ".",
350
350
  ..."0123456789"
351
351
  ],
352
- resolve: Or,
352
+ resolve: zr,
353
353
  identify: (e) => typeof e == "number" && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf("e") >= 0),
354
- represent: zr
355
- }), Mr = O("tag:yaml.org,2002:merge", {
354
+ represent: Mr
355
+ }), Br = O("tag:yaml.org,2002:merge", {
356
356
  implicit: !0,
357
357
  implicitFirstChars: ["<"],
358
- resolve: (e, t) => e === "<<" || t && e === "" ? mt : C
359
- }), Br = /^[A-Za-z0-9+/]*={0,2}$/;
360
- function Dr(e) {
358
+ resolve: (e, t) => e === "<<" || t && e === "" ? kt : C
359
+ }), Dr = /^[A-Za-z0-9+/]*={0,2}$/;
360
+ function qr(e) {
361
361
  const t = e.replace(/\s/g, "");
362
- if (t.length % 4 !== 0 || !Br.test(t)) return C;
362
+ if (t.length % 4 !== 0 || !Dr.test(t)) return C;
363
363
  const n = atob(t), r = new Uint8Array(n.length);
364
364
  for (let i = 0; i < n.length; i++) r[i] = n.charCodeAt(i);
365
365
  return r;
366
366
  }
367
- function qr(e) {
367
+ function jr(e) {
368
368
  let t = "";
369
369
  for (let n = 0; n < e.length; n++) t += String.fromCharCode(e[n]);
370
370
  return btoa(t);
371
371
  }
372
372
  var Yr = O("tag:yaml.org,2002:binary", {
373
- resolve: Dr,
373
+ resolve: qr,
374
374
  identify: (e) => Object.prototype.toString.call(e) === "[object Uint8Array]",
375
- represent: qr
376
- }), jr = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), Ur = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
377
- function Gr(e) {
378
- let t = jr.exec(e);
379
- if (t === null && (t = Ur.exec(e)), t === null) return C;
375
+ represent: jr
376
+ }), Ur = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), Gr = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
377
+ function zt(e, t, n, r = 0, i = 0, a = 0, s = 0) {
378
+ const o = new Date(Date.UTC(e, t, n, r, i, a, s));
379
+ return o.setUTCFullYear(e, t, n), o;
380
+ }
381
+ function Hr(e) {
382
+ let t = Ur.exec(e);
383
+ if (t === null && (t = Gr.exec(e)), t === null) return C;
380
384
  const n = +t[1], r = +t[2] - 1, i = +t[3];
381
385
  if (!t[4]) {
382
- const u = new Date(Date.UTC(n, r, i));
386
+ const u = zt(n, r, i);
383
387
  return u.getUTCFullYear() !== n || u.getUTCMonth() !== r || u.getUTCDate() !== i ? C : u;
384
388
  }
385
389
  const a = +t[4], s = +t[5], o = +t[6];
@@ -390,7 +394,7 @@ function Gr(e) {
390
394
  for (; u.length < 3; ) u += "0";
391
395
  l = +u;
392
396
  }
393
- const c = new Date(Date.UTC(n, r, i, a, s, o, l));
397
+ const c = zt(n, r, i, a, s, o, l);
394
398
  if (c.getUTCFullYear() !== n || c.getUTCMonth() !== r || c.getUTCDate() !== i) return C;
395
399
  if (t[9]) {
396
400
  const u = +t[10], f = +(t[11] || 0);
@@ -400,30 +404,30 @@ function Gr(e) {
400
404
  }
401
405
  return c;
402
406
  }
403
- var Hr = O("tag:yaml.org,2002:timestamp", {
407
+ var Kr = O("tag:yaml.org,2002:timestamp", {
404
408
  implicit: !0,
405
409
  implicitFirstChars: [..."0123456789"],
406
- resolve: Gr,
410
+ resolve: Hr,
407
411
  identify: (e) => e instanceof Date,
408
412
  represent: (e) => e.toISOString()
409
- }), Wr = kt("tag:yaml.org,2002:seq", {
413
+ }), Wr = xt("tag:yaml.org,2002:seq", {
410
414
  create: () => [],
411
415
  addItem: (e, t) => {
412
416
  e.push(t);
413
417
  },
414
418
  identify: Array.isArray
415
419
  });
416
- function De(e) {
420
+ function je(e) {
417
421
  if (e === null || typeof e != "object" || Array.isArray(e)) return !1;
418
422
  const t = Object.getPrototypeOf(e);
419
423
  return t === null || t === Object.prototype;
420
424
  }
421
- function zt(e, t) {
425
+ function Mt(e, t) {
422
426
  const n = {};
423
427
  for (const r of t) e[r] !== void 0 && (n[r] = e[r]);
424
428
  return n;
425
429
  }
426
- var Kr = kt("tag:yaml.org,2002:omap", {
430
+ var Zr = xt("tag:yaml.org,2002:omap", {
427
431
  create: () => ({
428
432
  list: [],
429
433
  seen: /* @__PURE__ */ new Set()
@@ -433,7 +437,7 @@ var Kr = kt("tag:yaml.org,2002:omap", {
433
437
  if (t instanceof Map) {
434
438
  if (t.size !== 1) return "cannot resolve an ordered map item";
435
439
  n = t.keys().next().value;
436
- } else if (De(t)) {
440
+ } else if (je(t)) {
437
441
  const r = Object.keys(t);
438
442
  if (r.length !== 1) return "cannot resolve an ordered map item";
439
443
  n = r[0];
@@ -441,7 +445,7 @@ var Kr = kt("tag:yaml.org,2002:omap", {
441
445
  return e.seen.has(n) ? "duplicate key in ordered map" : (e.seen.add(n), e.list.push(t), "");
442
446
  },
443
447
  finalize: (e) => e.list
444
- }), Zr = kt("tag:yaml.org,2002:pairs", {
448
+ }), Vr = xt("tag:yaml.org,2002:pairs", {
445
449
  create: () => [],
446
450
  addItem: (e, t) => {
447
451
  if (t instanceof Map)
@@ -450,9 +454,9 @@ var Kr = kt("tag:yaml.org,2002:omap", {
450
454
  const n = t, r = Object.keys(n);
451
455
  return r.length !== 1 ? "cannot resolve a pairs item" : (e.push([r[0], n[r[0]]]), "");
452
456
  }
453
- }), Vr = Be("tag:yaml.org,2002:map", {
457
+ }), Qr = qe("tag:yaml.org,2002:map", {
454
458
  create: () => ({}),
455
- identify: De,
459
+ identify: je,
456
460
  represent: (e) => {
457
461
  const t = /* @__PURE__ */ new Map();
458
462
  for (const n of Object.keys(e)) t.set(n, e[n]);
@@ -470,8 +474,11 @@ var Kr = kt("tag:yaml.org,2002:omap", {
470
474
  },
471
475
  has: (e, t) => t !== null && typeof t == "object" ? !1 : Object.prototype.hasOwnProperty.call(e, String(t)),
472
476
  keys: (e) => Object.keys(e),
473
- get: (e, t) => e[String(t)]
474
- }), Qr = Be("tag:yaml.org,2002:set", {
477
+ get: (e, t) => {
478
+ const n = String(t);
479
+ return Object.prototype.hasOwnProperty.call(e, n) ? e[n] : null;
480
+ }
481
+ }), Xr = qe("tag:yaml.org,2002:set", {
475
482
  create: () => /* @__PURE__ */ new Set(),
476
483
  identify: (e) => e instanceof Set,
477
484
  represent: (e) => {
@@ -484,21 +491,21 @@ var Kr = kt("tag:yaml.org,2002:omap", {
484
491
  keys: (e) => e.keys(),
485
492
  get: () => null
486
493
  });
487
- function Xr() {
494
+ function Jr() {
488
495
  return {
489
- scalar: {},
490
- sequence: {},
491
- mapping: {}
496
+ scalar: /* @__PURE__ */ Object.create(null),
497
+ sequence: /* @__PURE__ */ Object.create(null),
498
+ mapping: /* @__PURE__ */ Object.create(null)
492
499
  };
493
500
  }
494
- function Jr() {
501
+ function ei() {
495
502
  return {
496
503
  scalar: [],
497
504
  sequence: [],
498
505
  mapping: []
499
506
  };
500
507
  }
501
- function ei(e) {
508
+ function ti(e) {
502
509
  const t = [];
503
510
  for (const n of e) {
504
511
  let r = t.length;
@@ -513,7 +520,7 @@ function ei(e) {
513
520
  }
514
521
  return t;
515
522
  }
516
- var qe = class sn {
523
+ var Ye = class ln {
517
524
  tags;
518
525
  implicitScalarTags;
519
526
  implicitScalarByFirstChar;
@@ -524,7 +531,7 @@ var qe = class sn {
524
531
  exact;
525
532
  prefix;
526
533
  constructor(t) {
527
- const n = ei(t), r = [], i = Xr(), a = Jr();
534
+ const n = ti(t), r = [], i = Jr(), a = ei();
528
535
  for (const u of n) {
529
536
  if (u.nodeKind === "scalar" && u.implicit) {
530
537
  if (u.matchByTagPrefix) throw new Error("Implicit scalar tags cannot match by tag prefix");
@@ -553,46 +560,46 @@ var qe = class sn {
553
560
  withTags(...t) {
554
561
  let n = [];
555
562
  for (const r of t) n = n.concat(r);
556
- return new sn([...this.tags, ...n]);
563
+ return new ln([...this.tags, ...n]);
557
564
  }
558
- }, xt = new qe([
559
- Xn,
565
+ }, bt = new Ye([
566
+ Jn,
560
567
  Wr,
561
- Vr
568
+ Qr
562
569
  ]);
563
- new qe([
564
- ...xt.tags,
565
- tr,
566
- cr,
567
- wr,
568
- Nr
570
+ new Ye([
571
+ ...bt.tags,
572
+ nr,
573
+ ur,
574
+ vr,
575
+ Lr
569
576
  ]);
570
- var ti = new qe([
571
- ...xt.tags,
572
- er,
573
- or,
574
- an,
575
- on
576
- ]), ni = new qe([
577
- ...xt.tags,
578
- rr,
579
- hr,
580
- nt,
577
+ var ni = new Ye([
578
+ ...bt.tags,
579
+ tr,
580
+ sr,
581
+ on,
582
+ sn
583
+ ]), ri = new Ye([
584
+ ...bt.tags,
585
+ ir,
586
+ fr,
581
587
  rt,
582
- Hr,
583
- Mr,
584
- Yr,
588
+ it,
585
589
  Kr,
590
+ Br,
591
+ Yr,
586
592
  Zr,
587
- Qr
593
+ Vr,
594
+ Xr
588
595
  ]);
589
- Be("tag:yaml.org,2002:map", {
596
+ qe("tag:yaml.org,2002:map", {
590
597
  create: () => /* @__PURE__ */ new Map(),
591
598
  addPair: (e, t, n) => (e.set(t, n), ""),
592
599
  has: (e, t) => e.has(t),
593
600
  keys: (e) => e.keys(),
594
601
  get: (e, t) => e.get(t),
595
- identify: (e) => e instanceof Map || De(e),
602
+ identify: (e) => e instanceof Map || je(e),
596
603
  represent: (e) => {
597
604
  if (e instanceof Map) return e;
598
605
  const t = /* @__PURE__ */ new Map(), n = e;
@@ -600,7 +607,7 @@ Be("tag:yaml.org,2002:map", {
600
607
  return t;
601
608
  }
602
609
  });
603
- function Mt(e) {
610
+ function Bt(e) {
604
611
  if (Array.isArray(e)) {
605
612
  const t = Array.prototype.slice.call(e);
606
613
  for (let n = 0; n < t.length; n++) {
@@ -611,16 +618,16 @@ function Mt(e) {
611
618
  }
612
619
  return typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" ? "[object Object]" : String(e);
613
620
  }
614
- Be("tag:yaml.org,2002:map", {
621
+ qe("tag:yaml.org,2002:map", {
615
622
  create: () => ({}),
616
- identify: De,
623
+ identify: je,
617
624
  represent: (e) => {
618
625
  const t = /* @__PURE__ */ new Map();
619
626
  for (const n of Object.keys(e)) t.set(n, e[n]);
620
627
  return t;
621
628
  },
622
629
  addPair: (e, t, n) => {
623
- const r = Mt(t);
630
+ const r = Bt(t);
624
631
  return r === null ? "nested arrays are not supported inside keys" : (r === "__proto__" ? Object.defineProperty(e, r, {
625
632
  value: n,
626
633
  enumerable: !0,
@@ -629,19 +636,22 @@ Be("tag:yaml.org,2002:map", {
629
636
  }) : e[r] = n, "");
630
637
  },
631
638
  has: (e, t) => {
632
- const n = Mt(t);
639
+ const n = Bt(t);
633
640
  return n !== null && Object.prototype.hasOwnProperty.call(e, n);
634
641
  },
635
642
  keys: (e) => Object.keys(e),
636
- get: (e, t) => e[String(t)]
643
+ get: (e, t) => {
644
+ const n = String(t);
645
+ return Object.prototype.hasOwnProperty.call(e, n) ? e[n] : null;
646
+ }
637
647
  });
638
- var ri = {
648
+ var ii = {
639
649
  maxLength: 79,
640
650
  indent: 1,
641
651
  linesBefore: 3,
642
652
  linesAfter: 2
643
653
  };
644
- function Ke(e, t, n, r, i) {
654
+ function Ze(e, t, n, r, i) {
645
655
  let a = "", s = "";
646
656
  const o = Math.floor(i / 2) - 1;
647
657
  return r - t > o && (a = " ... ", t = r - o + a.length), n - r > o && (s = " ...", n = r + o - s.length), {
@@ -649,13 +659,13 @@ function Ke(e, t, n, r, i) {
649
659
  pos: r - t + a.length
650
660
  };
651
661
  }
652
- function Ze(e, t) {
662
+ function Ve(e, t) {
653
663
  return " ".repeat(Math.max(t - e.length, 0)) + e;
654
664
  }
655
- function ii(e, t) {
665
+ function ai(e, t) {
656
666
  if (!e.buffer) return null;
657
667
  const n = {
658
- ...ri,
668
+ ...ii,
659
669
  ...t
660
670
  }, r = /\r?\n|\r|\0/g, i = [0], a = [];
661
671
  let s, o = -1;
@@ -665,38 +675,38 @@ function ii(e, t) {
665
675
  let l = "";
666
676
  const c = Math.min(e.line + n.linesAfter, a.length).toString().length, u = n.maxLength - (n.indent + c + 3);
667
677
  for (let g = 1; g <= n.linesBefore && !(o - g < 0); g++) {
668
- const y = Ke(e.buffer, i[o - g], a[o - g], e.position - (i[o] - i[o - g]), u);
669
- l = `${" ".repeat(n.indent)}${Ze((e.line - g + 1).toString(), c)} | ${y.str}
678
+ const y = Ze(e.buffer, i[o - g], a[o - g], e.position - (i[o] - i[o - g]), u);
679
+ l = `${" ".repeat(n.indent)}${Ve((e.line - g + 1).toString(), c)} | ${y.str}
670
680
  ${l}`;
671
681
  }
672
- const f = Ke(e.buffer, i[o], a[o], e.position, u);
673
- l += `${" ".repeat(n.indent)}${Ze((e.line + 1).toString(), c)} | ${f.str}
682
+ const f = Ze(e.buffer, i[o], a[o], e.position, u);
683
+ l += `${" ".repeat(n.indent)}${Ve((e.line + 1).toString(), c)} | ${f.str}
674
684
  `, l += `${"-".repeat(n.indent + c + 3 + f.pos)}^
675
685
  `;
676
686
  for (let g = 1; g <= n.linesAfter && !(o + g >= a.length); g++) {
677
- const y = Ke(e.buffer, i[o + g], a[o + g], e.position - (i[o] - i[o + g]), u);
678
- l += `${" ".repeat(n.indent)}${Ze((e.line + g + 1).toString(), c)} | ${y.str}
687
+ const y = Ze(e.buffer, i[o + g], a[o + g], e.position - (i[o] - i[o + g]), u);
688
+ l += `${" ".repeat(n.indent)}${Ve((e.line + g + 1).toString(), c)} | ${y.str}
679
689
  `;
680
690
  }
681
691
  return l.replace(/\n$/, "");
682
692
  }
683
- function Bt(e, t) {
693
+ function Dt(e, t) {
684
694
  let n = "";
685
695
  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 += `
686
696
 
687
697
  ${e.mark.snippet}`), `${e.reason} ${n}`) : e.reason;
688
698
  }
689
- var Re = class extends Error {
699
+ var Le = class extends Error {
690
700
  reason;
691
701
  mark;
692
702
  constructor(e, t) {
693
- super(), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Bt(this, !1), Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
703
+ super(), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Dt(this, !1), Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
694
704
  }
695
705
  toString(e) {
696
- return `${this.name}: ${Bt(this, e)}`;
706
+ return `${this.name}: ${Dt(this, e)}`;
697
707
  }
698
708
  };
699
- function Ye(e, t, n, r = "") {
709
+ function Ue(e, t, n, r = "") {
700
710
  let i = 0, a = 0;
701
711
  for (let o = 0; o < t; o++) {
702
712
  const l = e.charCodeAt(o);
@@ -709,10 +719,10 @@ function Ye(e, t, n, r = "") {
709
719
  line: i,
710
720
  column: t - a
711
721
  };
712
- throw s.snippet = ii(s), new Re(n, s);
722
+ throw s.snippet = ai(s), new Le(n, s);
713
723
  }
714
- var ai = -1;
715
- function Dt(e) {
724
+ var oi = -1;
725
+ function qt(e) {
716
726
  switch (e) {
717
727
  case 48:
718
728
  return "\0";
@@ -755,19 +765,19 @@ function Dt(e) {
755
765
  return "";
756
766
  }
757
767
  }
758
- var ln = new Array(256), cn = new Array(256);
768
+ var cn = new Array(256), un = new Array(256);
759
769
  for (let e = 0; e < 256; e++)
760
- ln[e] = Dt(e) ? 1 : 0, cn[e] = Dt(e);
761
- function oi(e) {
770
+ cn[e] = qt(e) ? 1 : 0, un[e] = qt(e);
771
+ function si(e) {
762
772
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
763
773
  }
764
- function si(e) {
774
+ function li(e) {
765
775
  return e >= 48 && e <= 57 ? e - 48 : (e | 32) - 97 + 10;
766
776
  }
767
- function li(e) {
777
+ function ci(e) {
768
778
  return e === 120 ? 2 : e === 117 ? 4 : 8;
769
779
  }
770
- function Ne(e, t, n) {
780
+ function Pe(e, t, n) {
771
781
  let r = 0;
772
782
  for (; t < n; ) {
773
783
  const i = e.charCodeAt(t);
@@ -783,24 +793,24 @@ function Ne(e, t, n) {
783
793
  breaks: r
784
794
  };
785
795
  }
786
- function bt(e) {
796
+ function yt(e) {
787
797
  return e === 1 ? " " : `
788
798
  `.repeat(e - 1);
789
799
  }
790
- function ci(e, t, n) {
800
+ function ui(e, t, n) {
791
801
  let r = "", i = t, a = t, s = t;
792
802
  for (; i < n; ) {
793
803
  const o = e.charCodeAt(i);
794
804
  if (o === 10 || o === 13) {
795
805
  r += e.slice(a, s);
796
- const l = Ne(e, i, n);
797
- r += bt(l.breaks), i = a = s = l.position;
806
+ const l = Pe(e, i, n);
807
+ r += yt(l.breaks), i = a = s = l.position;
798
808
  } else
799
809
  i++, o !== 32 && o !== 9 && (s = i);
800
810
  }
801
811
  return r + e.slice(a, s);
802
812
  }
803
- function ui(e, t, n) {
813
+ function pi(e, t, n) {
804
814
  let r = "", i = t, a = t, s = t;
805
815
  for (; i < n; ) {
806
816
  const o = e.charCodeAt(i);
@@ -808,43 +818,43 @@ function ui(e, t, n) {
808
818
  r += e.slice(a, i) + "'", i += 2, a = s = i;
809
819
  else if (o === 10 || o === 13) {
810
820
  r += e.slice(a, s);
811
- const l = Ne(e, i, n);
812
- r += bt(l.breaks), i = a = s = l.position;
821
+ const l = Pe(e, i, n);
822
+ r += yt(l.breaks), i = a = s = l.position;
813
823
  } else
814
824
  i++, o !== 32 && o !== 9 && (s = i);
815
825
  }
816
826
  return r + e.slice(a, n);
817
827
  }
818
- function pi(e, t, n) {
828
+ function hi(e, t, n) {
819
829
  let r = "", i = t, a = t, s = t;
820
830
  for (; i < n; ) {
821
831
  const o = e.charCodeAt(i);
822
832
  if (o === 92) {
823
833
  r += e.slice(a, i), i++;
824
834
  const l = e.charCodeAt(i);
825
- if (l === 10 || l === 13) i = Ne(e, i, n).position;
826
- else if (l < 256 && ln[l])
827
- r += cn[l], i++;
835
+ if (l === 10 || l === 13) i = Pe(e, i, n).position;
836
+ else if (l < 256 && cn[l])
837
+ r += un[l], i++;
828
838
  else {
829
- let c = li(l), u = 0;
839
+ let c = ci(l), u = 0;
830
840
  for (; c > 0; c--) {
831
841
  i++;
832
- const f = si(e.charCodeAt(i));
842
+ const f = li(e.charCodeAt(i));
833
843
  u = (u << 4) + f;
834
844
  }
835
- r += oi(u), i++;
845
+ r += si(u), i++;
836
846
  }
837
847
  a = s = i;
838
848
  } else if (o === 10 || o === 13) {
839
849
  r += e.slice(a, s);
840
- const l = Ne(e, i, n);
841
- r += bt(l.breaks), i = a = s = l.position;
850
+ const l = Pe(e, i, n);
851
+ r += yt(l.breaks), i = a = s = l.position;
842
852
  } else
843
853
  i++, o !== 32 && o !== 9 && (s = i);
844
854
  }
845
855
  return r + e.slice(a, n);
846
856
  }
847
- function qt(e, t, n, r, i, a) {
857
+ function jt(e, t, n, r, i, a) {
848
858
  const s = r < 0 ? 0 : r, o = e.slice(t, n).replace(/\r\n?/g, `
849
859
  `), l = o === "" ? [] : (o.endsWith(`
850
860
  `) ? o.slice(0, -1) : o).split(`
@@ -868,71 +878,71 @@ function qt(e, t, n, r, i, a) {
868
878
  `.repeat(u ? 1 + f : f) : i !== 2 && u && (c += `
869
879
  `), c;
870
880
  }
871
- function hi(e, t) {
872
- if (t.valueStart === ai) return "";
881
+ function fi(e, t) {
882
+ if (t.valueStart === oi) return "";
873
883
  const { valueStart: n, valueEnd: r } = t;
874
884
  if (t.fast) return e.slice(n, r);
875
885
  switch (t.style) {
876
886
  case 2:
877
- return ui(e, n, r);
878
- case 3:
879
887
  return pi(e, n, r);
888
+ case 3:
889
+ return hi(e, n, r);
880
890
  case 4:
881
- return qt(e, n, r, t.indent, t.chomping, !1);
891
+ return jt(e, n, r, t.indent, t.chomping, !1);
882
892
  case 5:
883
- return qt(e, n, r, t.indent, t.chomping, !0);
893
+ return jt(e, n, r, t.indent, t.chomping, !0);
884
894
  default:
885
- return ci(e, n, r);
895
+ return ui(e, n, r);
886
896
  }
887
897
  }
888
- var fi = {
898
+ var gi = Object.assign(/* @__PURE__ */ Object.create(null), {
889
899
  "!": "!",
890
900
  "!!": "tag:yaml.org,2002:"
891
- };
892
- function un(e, t) {
901
+ });
902
+ function pn(e, t) {
893
903
  if (e.startsWith("!<") && e.endsWith(">")) return decodeURIComponent(e.slice(2, -1));
894
- const n = e.indexOf("!", 1), r = n === -1 ? "!" : e.slice(0, n + 1), i = t?.[r] ?? fi[r] ?? r;
904
+ const n = e.indexOf("!", 1), r = n === -1 ? "!" : e.slice(0, n + 1), i = t?.[r] ?? gi[r] ?? r;
895
905
  return decodeURIComponent(i) + decodeURIComponent(e.slice(r.length));
896
906
  }
897
- var pe = -1, yt = {
907
+ var he = -1, wt = {
898
908
  filename: "",
899
- schema: ti,
909
+ schema: ni,
900
910
  json: !1,
901
911
  maxTotalMergeKeys: 1e4,
902
912
  maxAliases: -1
903
913
  };
904
- function gi(e) {
905
- return "tagStart" in e && e.tagStart !== pe ? e.tagStart : "anchorStart" in e && e.anchorStart !== pe ? e.anchorStart : "valueStart" in e && e.valueStart !== pe ? e.valueStart : "start" in e ? e.start : 0;
914
+ function di(e) {
915
+ return "tagStart" in e && e.tagStart !== he ? e.tagStart : "anchorStart" in e && e.anchorStart !== he ? e.anchorStart : "valueStart" in e && e.valueStart !== he ? e.valueStart : "start" in e ? e.start : 0;
906
916
  }
907
917
  function B(e, t) {
908
- Ye(e.source, e.position, t, e.filename);
918
+ Ue(e.source, e.position, t, e.filename);
909
919
  }
910
- function pn(e, t, n, r) {
920
+ function hn(e, t, n, r) {
911
921
  try {
912
922
  return n.finalize(r);
913
923
  } catch (i) {
914
- if (i instanceof Re) throw i;
915
- Ye(e.source, t, i instanceof Error ? i.message : String(i), e.filename);
924
+ if (i instanceof Le) throw i;
925
+ Ue(e.source, t, i instanceof Error ? i.message : String(i), e.filename);
916
926
  }
917
927
  }
918
- function Ie(e, t, n) {
928
+ function Re(e, t, n) {
919
929
  const r = e[n];
920
930
  if (r) return r;
921
931
  for (const i of t) if (n.startsWith(i.tagName)) return i;
922
932
  }
923
- function di(e, t, n, r, i) {
924
- const a = Ie(t, n, r);
933
+ function mi(e, t, n, r, i) {
934
+ const a = Re(t, n, r);
925
935
  if (a) return a;
926
936
  B(e, `unknown ${i} tag !<${r}>`);
927
937
  }
928
- function mi(e, t) {
929
- const n = hi(e.source, t), r = t.tagStart === pe ? "" : e.source.slice(t.tagStart, t.tagEnd), i = e.schema.defaultScalarTag;
938
+ function ki(e, t) {
939
+ const n = fi(e.source, t), r = t.tagStart === he ? "" : e.source.slice(t.tagStart, t.tagEnd), i = e.schema.defaultScalarTag;
930
940
  if (r !== "") {
931
941
  if (r === "!") return {
932
942
  value: n,
933
943
  tag: i
934
944
  };
935
- const a = un(r, e.tagHandlers), s = Ie(e.schema.exact.scalar, e.schema.prefix.scalar, a);
945
+ const a = pn(r, e.tagHandlers), s = Re(e.schema.exact.scalar, e.schema.prefix.scalar, a);
936
946
  if (s) {
937
947
  const l = s.resolve(n, !0, a);
938
948
  return l === C && B(e, `cannot resolve a node with !<${a}> explicit tag`), {
@@ -940,12 +950,12 @@ function mi(e, t) {
940
950
  tag: s
941
951
  };
942
952
  }
943
- const o = Ie(e.schema.exact.mapping, e.schema.prefix.mapping, a) ?? Ie(e.schema.exact.sequence, e.schema.prefix.sequence, a);
953
+ const o = Re(e.schema.exact.mapping, e.schema.prefix.mapping, a) ?? Re(e.schema.exact.sequence, e.schema.prefix.sequence, a);
944
954
  if (o) {
945
955
  n !== "" && B(e, `cannot resolve a node with !<${a}> explicit tag`);
946
956
  const l = o.create(a);
947
957
  return {
948
- value: o.carrierIsResult ? l : pn(e, e.position, o, l),
958
+ value: o.carrierIsResult ? l : hn(e, e.position, o, l),
949
959
  tag: o
950
960
  };
951
961
  }
@@ -967,52 +977,52 @@ function mi(e, t) {
967
977
  };
968
978
  }
969
979
  function Yt(e, t, n, r, i, a) {
970
- const s = t.tagStart === pe ? "" : e.source.slice(t.tagStart, t.tagEnd), o = s === "" || s === "!" ? i : un(s, e.tagHandlers);
980
+ const s = t.tagStart === he ? "" : e.source.slice(t.tagStart, t.tagEnd), o = s === "" || s === "!" ? i : pn(s, e.tagHandlers);
971
981
  return {
972
982
  tagName: o,
973
- tag: di(e, n, r, o, a)
983
+ tag: mi(e, n, r, o, a)
974
984
  };
975
985
  }
976
- function hn(e) {
986
+ function fn(e) {
977
987
  return e.nodeKind === "mapping";
978
988
  }
979
- function jt(e, t, n, r) {
989
+ function Ut(e, t, n, r) {
980
990
  for (const i of r.keys(n)) {
981
991
  if (e.maxTotalMergeKeys !== -1 && ++e.totalMergeKeys > e.maxTotalMergeKeys && B(e, `merge keys exceeded maxTotalMergeKeys (${e.maxTotalMergeKeys})`), t.tag.has(t.value, i)) continue;
982
992
  const a = t.tag.addPair(t.value, i, r.get(n, i));
983
993
  a && B(e, a), (t.overridable ??= /* @__PURE__ */ new Set()).add(i);
984
994
  }
985
995
  }
986
- function ki(e, t, n, r) {
987
- if (e.position = t.keyPosition, hn(r)) jt(e, t, n, r);
988
- else if (r.nodeKind === "sequence" && Array.isArray(n)) for (const i of n) jt(e, t, i, t.tag);
996
+ function xi(e, t, n, r) {
997
+ if (e.position = t.keyPosition, fn(r)) Ut(e, t, n, r);
998
+ else if (r.nodeKind === "sequence" && Array.isArray(n)) for (const i of n) Ut(e, t, i, t.tag);
989
999
  else B(e, "cannot merge mappings; the provided source object is unacceptable");
990
1000
  }
991
- function xi(e, t, n, r, i) {
992
- if (e.position = t.keyPosition, n === mt) {
993
- ki(e, t, r, i);
1001
+ function bi(e, t, n, r, i) {
1002
+ if (e.position = t.keyPosition, n === kt) {
1003
+ xi(e, t, r, i);
994
1004
  return;
995
1005
  }
996
1006
  !e.json && t.tag.has(t.value, n) && !t.overridable?.has(n) && B(e, "duplicated mapping key");
997
1007
  const a = t.tag.addPair(t.value, n, r);
998
1008
  a && B(e, a), t.overridable?.delete(n);
999
1009
  }
1000
- function Ve(e, t, n) {
1010
+ function Qe(e, t, n) {
1001
1011
  const r = e.frames[e.frames.length - 1];
1002
1012
  if (r.kind === "document")
1003
1013
  r.value = t, r.hasValue = !0;
1004
1014
  else if (r.kind === "sequence") {
1005
- r.merge && (hn(n) || B(e, "cannot merge mappings; the provided source object is unacceptable"));
1015
+ r.merge && (fn(n) || B(e, "cannot merge mappings; the provided source object is unacceptable"));
1006
1016
  const i = r.tag.addItem(r.value, t, r.index++);
1007
1017
  i && B(e, i);
1008
1018
  } else if (r.hasKey) {
1009
1019
  const i = r.key;
1010
- r.key = void 0, r.hasKey = !1, xi(e, r, i, t, n);
1020
+ r.key = void 0, r.hasKey = !1, bi(e, r, i, t, n);
1011
1021
  } else
1012
1022
  r.key = t, r.keyPosition = e.position, r.hasKey = !0;
1013
1023
  }
1014
- function Qe(e, t, n, r, i) {
1015
- if (t.anchorStart !== pe) {
1024
+ function Xe(e, t, n, r, i) {
1025
+ if (t.anchorStart !== he) {
1016
1026
  const a = {
1017
1027
  value: n,
1018
1028
  tag: r,
@@ -1022,9 +1032,9 @@ function Qe(e, t, n, r, i) {
1022
1032
  }
1023
1033
  return null;
1024
1034
  }
1025
- function bi(e, t) {
1035
+ function yi(e, t) {
1026
1036
  const n = {
1027
- ...yt,
1037
+ ...wt,
1028
1038
  ...t,
1029
1039
  events: e,
1030
1040
  documents: [],
@@ -1038,7 +1048,7 @@ function bi(e, t) {
1038
1048
  };
1039
1049
  for (; n.eventIndex < n.events.length; ) {
1040
1050
  const r = n.events[n.eventIndex++];
1041
- switch (n.position = gi(r), r.type) {
1051
+ switch (n.position = di(r), r.type) {
1042
1052
  case 1:
1043
1053
  n.anchors = /* @__PURE__ */ new Map(), n.aliasCount = 0, n.tagHandlers = /* @__PURE__ */ Object.create(null);
1044
1054
  for (const i of r.directives) i.kind === "tag" && (n.tagHandlers[i.handle] = i.prefix);
@@ -1050,12 +1060,12 @@ function bi(e, t) {
1050
1060
  });
1051
1061
  break;
1052
1062
  case 4: {
1053
- const { value: i, tag: a } = mi(n, r);
1054
- Qe(n, r, i, a, !0), Ve(n, i, a);
1063
+ const { value: i, tag: a } = ki(n, r);
1064
+ Xe(n, r, i, a, !0), Qe(n, i, a);
1055
1065
  break;
1056
1066
  }
1057
1067
  case 2: {
1058
- const i = Yt(n, r, n.schema.exact.sequence, n.schema.prefix.sequence, "tag:yaml.org,2002:seq", "sequence"), a = i.tag.create(i.tagName), s = Qe(n, r, a, i.tag, i.tag.carrierIsResult), o = n.frames[n.frames.length - 1], l = o !== void 0 && o.kind === "mapping" && o.hasKey && o.key === mt;
1068
+ const i = Yt(n, r, n.schema.exact.sequence, n.schema.prefix.sequence, "tag:yaml.org,2002:seq", "sequence"), a = i.tag.create(i.tagName), s = Xe(n, r, a, i.tag, i.tag.carrierIsResult), o = n.frames[n.frames.length - 1], l = o !== void 0 && o.kind === "mapping" && o.hasKey && o.key === kt;
1059
1069
  n.frames.push({
1060
1070
  kind: "sequence",
1061
1071
  position: n.position,
@@ -1068,7 +1078,7 @@ function bi(e, t) {
1068
1078
  break;
1069
1079
  }
1070
1080
  case 3: {
1071
- const i = Yt(n, r, n.schema.exact.mapping, n.schema.prefix.mapping, "tag:yaml.org,2002:map", "mapping"), a = i.tag.create(i.tagName), s = Qe(n, r, a, i.tag, i.tag.carrierIsResult);
1081
+ const i = Yt(n, r, n.schema.exact.mapping, n.schema.prefix.mapping, "tag:yaml.org,2002:map", "mapping"), a = i.tag.create(i.tagName), s = Xe(n, r, a, i.tag, i.tag.carrierIsResult);
1072
1082
  n.frames.push({
1073
1083
  kind: "mapping",
1074
1084
  position: n.position,
@@ -1085,15 +1095,15 @@ function bi(e, t) {
1085
1095
  case 5: {
1086
1096
  n.maxAliases !== -1 && ++n.aliasCount > n.maxAliases && B(n, `aliases exceeded maxAliases (${n.maxAliases})`);
1087
1097
  const i = n.source.slice(r.anchorStart, r.anchorEnd), a = n.anchors.get(i);
1088
- a || B(n, `unidentified alias "${i}"`), a.isValueFinal || B(n, `recursive alias "${i}" is not supported for tag ${a.tag.tagName} because it uses finalize()`), Ve(n, a.value, a.tag);
1098
+ a || B(n, `unidentified alias "${i}"`), a.isValueFinal || B(n, `recursive alias "${i}" is not supported for tag ${a.tag.tagName} because it uses finalize()`), Qe(n, a.value, a.tag);
1089
1099
  break;
1090
1100
  }
1091
1101
  case 6: {
1092
1102
  const i = n.frames.pop();
1093
- if (i.kind === "document") n.documents.push(i.value);
1103
+ if (i.kind === "mapping" && i.hasKey && (n.position = i.keyPosition, B(n, "incomplete mapping pair in event stream")), i.kind === "document") n.documents.push(i.value);
1094
1104
  else {
1095
- const a = i.tag.carrierIsResult ? i.value : pn(n, i.position, i.tag, i.value);
1096
- i.anchor && (i.anchor.value = a, i.anchor.isValueFinal = !0), Ve(n, a, i.tag);
1105
+ const a = i.tag.carrierIsResult ? i.value : hn(n, i.position, i.tag, i.value);
1106
+ i.anchor && (i.anchor.value = a, i.anchor.isValueFinal = !0), Qe(n, a, i.tag);
1097
1107
  }
1098
1108
  break;
1099
1109
  }
@@ -1101,11 +1111,11 @@ function bi(e, t) {
1101
1111
  }
1102
1112
  return n.documents;
1103
1113
  }
1104
- var $ = -1, fn = Object.prototype.hasOwnProperty, ge = 1, it = 2, gn = 3, Le = 4, yi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, wi = /[,\[\]{}]/, dn = /^(?:!|!!|![0-9A-Za-z-]+!)$/, at = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`, mn = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`, vi = new RegExp(`^(?:${at})*$`), Ai = new RegExp(`^(?:${mn})+$`), Si = new RegExp(`^(?:!(?:${at})*|${mn}(?:${at})*)$`), wt = {
1114
+ var _ = -1, gn = Object.prototype.hasOwnProperty, de = 1, at = 2, dn = 3, Oe = 4, wi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, vi = /[,\[\]{}]/, mn = /^(?:!|!!|![0-9A-Za-z-]+!)$/, ot = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`, kn = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`, Ai = new RegExp(`^(?:${ot})*$`), Si = new RegExp(`^(?:${kn})+$`), Ti = new RegExp(`^(?:!(?:${ot})*|${kn}(?:${ot})*)$`), vt = {
1105
1115
  filename: "",
1106
1116
  maxDepth: 100
1107
1117
  };
1108
- function Ti(e, t, n) {
1118
+ function Ei(e, t, n) {
1109
1119
  e.events.push({
1110
1120
  type: 1,
1111
1121
  explicitStart: t,
@@ -1113,7 +1123,7 @@ function Ti(e, t, n) {
1113
1123
  directives: e.directives
1114
1124
  });
1115
1125
  }
1116
- function kn(e, t, n, r, i, a, s) {
1126
+ function xn(e, t, n, r, i, a, s) {
1117
1127
  e.events.push({
1118
1128
  type: 2,
1119
1129
  start: t,
@@ -1124,7 +1134,7 @@ function kn(e, t, n, r, i, a, s) {
1124
1134
  style: s
1125
1135
  });
1126
1136
  }
1127
- function ot(e, t, n, r, i, a, s) {
1137
+ function st(e, t, n, r, i, a, s) {
1128
1138
  e.events.push({
1129
1139
  type: 3,
1130
1140
  start: t,
@@ -1135,18 +1145,18 @@ function ot(e, t, n, r, i, a, s) {
1135
1145
  style: s
1136
1146
  });
1137
1147
  }
1138
- function Ut(e, t) {
1148
+ function Gt(e, t) {
1139
1149
  e.events.splice(t.eventsLength, 0, {
1140
1150
  type: 3,
1141
1151
  start: t.position,
1142
- anchorStart: $,
1143
- anchorEnd: $,
1144
- tagStart: $,
1145
- tagEnd: $,
1152
+ anchorStart: _,
1153
+ anchorEnd: _,
1154
+ tagStart: _,
1155
+ tagEnd: _,
1146
1156
  style: 2
1147
1157
  });
1148
1158
  }
1149
- function me(e, t, n, r, i, a, s, o, l = 1, c = -1, u = !1) {
1159
+ function ke(e, t, n, r, i, a, s, o, l = 1, c = -1, u = !1) {
1150
1160
  e.events.push({
1151
1161
  type: 4,
1152
1162
  valueStart: t,
@@ -1161,28 +1171,28 @@ function me(e, t, n, r, i, a, s, o, l = 1, c = -1, u = !1) {
1161
1171
  fast: u
1162
1172
  });
1163
1173
  }
1164
- function Ei(e, t, n) {
1174
+ function Ci(e, t, n) {
1165
1175
  e.events.push({
1166
1176
  type: 5,
1167
1177
  anchorStart: t,
1168
1178
  anchorEnd: n
1169
1179
  });
1170
1180
  }
1171
- function he(e) {
1181
+ function fe(e) {
1172
1182
  e.events.push({ type: 6 });
1173
1183
  }
1174
1184
  function z(e) {
1175
- me(e, $, $, $, $, $, $, 1);
1185
+ ke(e, _, _, _, _, _, _, 1);
1176
1186
  }
1177
- function Gt() {
1187
+ function Ht() {
1178
1188
  return {
1179
- anchorStart: $,
1180
- anchorEnd: $,
1181
- tagStart: $,
1182
- tagEnd: $
1189
+ anchorStart: _,
1190
+ anchorEnd: _,
1191
+ tagStart: _,
1192
+ tagEnd: _
1183
1193
  };
1184
1194
  }
1185
- function ve(e) {
1195
+ function Ae(e) {
1186
1196
  return {
1187
1197
  position: e.position,
1188
1198
  line: e.line,
@@ -1192,28 +1202,28 @@ function ve(e) {
1192
1202
  eventsLength: e.events.length
1193
1203
  };
1194
1204
  }
1195
- function fe(e, t) {
1205
+ function ge(e, t) {
1196
1206
  e.position = t.position, e.line = t.line, e.lineStart = t.lineStart, e.lineIndent = t.lineIndent, e.firstTabInLine = t.firstTabInLine, e.events.length = t.eventsLength;
1197
1207
  }
1198
1208
  function b(e, t) {
1199
- Ye(e.input.slice(0, e.length), e.position, t, e.filename);
1209
+ Ue(e.input.slice(0, e.length), e.position, t, e.filename);
1200
1210
  }
1201
1211
  function R(e) {
1202
1212
  return e === 10 || e === 13;
1203
1213
  }
1204
- function ae(e) {
1214
+ function oe(e) {
1205
1215
  return e === 9 || e === 32;
1206
1216
  }
1207
1217
  function G(e) {
1208
- return ae(e) || R(e);
1218
+ return oe(e) || R(e);
1209
1219
  }
1210
1220
  function V(e) {
1211
1221
  return e === 0 || G(e);
1212
1222
  }
1213
- function oe(e) {
1223
+ function se(e) {
1214
1224
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1215
1225
  }
1216
- function Ci(e) {
1226
+ function _i(e) {
1217
1227
  return e >= 48 && e <= 57 ? e - 48 : -1;
1218
1228
  }
1219
1229
  function $i(e) {
@@ -1227,24 +1237,24 @@ function Fi(e) {
1227
1237
  function Ii(e) {
1228
1238
  return e === 48 || e === 97 || e === 98 || e === 116 || e === 9 || e === 110 || e === 118 || e === 102 || e === 114 || e === 101 || e === 32 || e === 34 || e === 47 || e === 92 || e === 78 || e === 95 || e === 76 || e === 80;
1229
1239
  }
1230
- function Pe(e) {
1240
+ function ze(e) {
1231
1241
  e.input.charCodeAt(e.position) === 10 ? e.position++ : (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++), e.line++, e.lineStart = e.position, e.lineIndent = 0, e.firstTabInLine = -1;
1232
1242
  }
1233
1243
  function M(e, t) {
1234
1244
  let n = 0, r = e.input.charCodeAt(e.position), i = e.position === e.lineStart || G(e.input.charCodeAt(e.position - 1));
1235
1245
  for (; r !== 0; ) {
1236
- for (; ae(r); )
1246
+ for (; oe(r); )
1237
1247
  i = !0, r === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), r = e.input.charCodeAt(++e.position);
1238
1248
  if (t && i && r === 35) do
1239
1249
  r = e.input.charCodeAt(++e.position);
1240
1250
  while (!R(r) && r !== 0);
1241
1251
  if (!R(r)) break;
1242
- for (Pe(e), n++, i = !0, r = e.input.charCodeAt(e.position); r === 32; )
1252
+ for (ze(e), n++, i = !0, r = e.input.charCodeAt(e.position); r === 32; )
1243
1253
  e.lineIndent++, r = e.input.charCodeAt(++e.position);
1244
1254
  }
1245
1255
  return n;
1246
1256
  }
1247
- function ee(e, t = e.position) {
1257
+ function ne(e, t = e.position) {
1248
1258
  const n = e.input.charCodeAt(t);
1249
1259
  if ((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2)) {
1250
1260
  const r = e.input.charCodeAt(t + 3);
@@ -1252,16 +1262,16 @@ function ee(e, t = e.position) {
1252
1262
  }
1253
1263
  return !1;
1254
1264
  }
1255
- function Ht(e) {
1265
+ function Kt(e) {
1256
1266
  let t = e.input.charCodeAt(e.position);
1257
1267
  for (; t !== 0 && !R(t); ) t = e.input.charCodeAt(++e.position);
1258
1268
  }
1259
- function xn(e, t, n) {
1260
- yi.test(e.input.slice(t, n)) && b(e, "the stream contains non-printable characters");
1269
+ function bn(e, t, n) {
1270
+ wi.test(e.input.slice(t, n)) && b(e, "the stream contains non-printable characters");
1261
1271
  }
1262
- function _i(e, t, n) {
1272
+ function Ri(e, t, n) {
1263
1273
  if (e.input.charCodeAt(e.position) !== 33) return !1;
1264
- t.tagStart !== $ && b(e, "duplication of a tag property");
1274
+ t.tagStart !== _ && b(e, "duplication of a tag property");
1265
1275
  const r = e.position;
1266
1276
  let i = !1, a = !1, s = "!", o = e.input.charCodeAt(++e.position);
1267
1277
  o === 60 ? (i = !0, o = e.input.charCodeAt(++e.position)) : o === 33 && (a = !0, s = "!!", o = e.input.charCodeAt(++e.position));
@@ -1270,30 +1280,30 @@ function _i(e, t, n) {
1270
1280
  for (; o !== 0 && o !== 62; ) o = e.input.charCodeAt(++e.position);
1271
1281
  o !== 62 && b(e, "unexpected end of the stream within a verbatim tag"), c = e.input.slice(l, e.position), e.position++;
1272
1282
  } else {
1273
- for (; o !== 0 && !G(o) && !(n && oe(o)); )
1274
- o === 33 && (a ? b(e, "tag suffix cannot contain exclamation marks") : (s = e.input.slice(l - 1, e.position + 1), dn.test(s) || b(e, "named tag handle cannot contain such characters"), a = !0, l = e.position + 1)), o = e.input.charCodeAt(++e.position);
1275
- c = e.input.slice(l, e.position), wi.test(c) && b(e, "tag suffix cannot contain flow indicator characters");
1283
+ for (; o !== 0 && !G(o) && !(n && se(o)); )
1284
+ o === 33 && (a ? b(e, "tag suffix cannot contain exclamation marks") : (s = e.input.slice(l - 1, e.position + 1), mn.test(s) || b(e, "named tag handle cannot contain such characters"), a = !0, l = e.position + 1)), o = e.input.charCodeAt(++e.position);
1285
+ c = e.input.slice(l, e.position), vi.test(c) && b(e, "tag suffix cannot contain flow indicator characters");
1276
1286
  }
1277
- return c && !(i ? vi.test(c) : Ai.test(c)) && b(e, `tag name cannot contain such characters: ${c}`), !i && s !== "!" && s !== "!!" && !fn.call(e.tagHandlers, s) && b(e, `undeclared tag handle "${s}"`), t.tagStart = r, t.tagEnd = e.position, !0;
1287
+ return c && !(i ? Ai.test(c) : Si.test(c)) && b(e, `tag name cannot contain such characters: ${c}`), !i && s !== "!" && s !== "!!" && !gn.call(e.tagHandlers, s) && b(e, `undeclared tag handle "${s}"`), t.tagStart = r, t.tagEnd = e.position, !0;
1278
1288
  }
1279
- function Ri(e, t) {
1289
+ function Ni(e, t) {
1280
1290
  if (e.input.charCodeAt(e.position) !== 38) return !1;
1281
- t.anchorStart !== $ && b(e, "duplication of an anchor property"), e.position++;
1291
+ t.anchorStart !== _ && b(e, "duplication of an anchor property"), e.position++;
1282
1292
  const n = e.position;
1283
- for (; e.input.charCodeAt(e.position) !== 0 && !G(e.input.charCodeAt(e.position)) && !oe(e.input.charCodeAt(e.position)); ) e.position++;
1293
+ for (; e.input.charCodeAt(e.position) !== 0 && !G(e.input.charCodeAt(e.position)) && !se(e.input.charCodeAt(e.position)); ) e.position++;
1284
1294
  return e.position === n && b(e, "name of an anchor node must contain at least one character"), t.anchorStart = n, t.anchorEnd = e.position, !0;
1285
1295
  }
1286
- function Ni(e, t) {
1296
+ function Li(e, t) {
1287
1297
  if (e.input.charCodeAt(e.position) !== 42) return !1;
1288
- (t.anchorStart !== $ || t.tagStart !== $) && b(e, "alias node should not have any properties"), e.position++;
1298
+ (t.anchorStart !== _ || t.tagStart !== _) && b(e, "alias node should not have any properties"), e.position++;
1289
1299
  const n = e.position;
1290
- for (; e.input.charCodeAt(e.position) !== 0 && !G(e.input.charCodeAt(e.position)) && !oe(e.input.charCodeAt(e.position)); ) e.position++;
1291
- return e.position === n && b(e, "name of an alias node must contain at least one character"), Ei(e, n, e.position), !0;
1300
+ for (; e.input.charCodeAt(e.position) !== 0 && !G(e.input.charCodeAt(e.position)) && !se(e.input.charCodeAt(e.position)); ) e.position++;
1301
+ return e.position === n && b(e, "name of an alias node must contain at least one character"), Ci(e, n, e.position), !0;
1292
1302
  }
1293
- function st(e, t) {
1303
+ function lt(e, t) {
1294
1304
  M(e, !1), e.lineIndent < t && b(e, "deficient indentation");
1295
1305
  }
1296
- function Li(e, t, n) {
1306
+ function Pi(e, t, n) {
1297
1307
  if (e.input.charCodeAt(e.position) !== 39) return !1;
1298
1308
  e.position++;
1299
1309
  const r = e.position;
@@ -1306,13 +1316,13 @@ function Li(e, t, n) {
1306
1316
  continue;
1307
1317
  }
1308
1318
  const s = e.position;
1309
- return e.position++, me(e, r, s, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, 2, 1, -1, i), !0;
1319
+ return e.position++, ke(e, r, s, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, 2, 1, -1, i), !0;
1310
1320
  }
1311
- R(a) ? (i = !1, st(e, t)) : e.position === e.lineStart && ee(e) ? b(e, "unexpected end of the document within a single quoted scalar") : a !== 9 && a < 32 ? b(e, "expected valid JSON character") : e.position++;
1321
+ R(a) ? (i = !1, lt(e, t)) : e.position === e.lineStart && ne(e) ? b(e, "unexpected end of the document within a single quoted scalar") : a !== 9 && a < 32 ? b(e, "expected valid JSON character") : e.position++;
1312
1322
  }
1313
1323
  b(e, "unexpected end of the stream within a single quoted scalar");
1314
1324
  }
1315
- function Pi(e, t, n) {
1325
+ function Oi(e, t, n) {
1316
1326
  if (e.input.charCodeAt(e.position) !== 34) return !1;
1317
1327
  e.position++;
1318
1328
  const r = e.position;
@@ -1321,12 +1331,12 @@ function Pi(e, t, n) {
1321
1331
  const a = e.input.charCodeAt(e.position);
1322
1332
  if (a === 34) {
1323
1333
  const s = e.position;
1324
- return e.position++, me(e, r, s, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, 3, 1, -1, i), !0;
1334
+ return e.position++, ke(e, r, s, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, 3, 1, -1, i), !0;
1325
1335
  }
1326
1336
  if (a === 92) {
1327
1337
  i = !1;
1328
1338
  const s = e.input.charCodeAt(++e.position);
1329
- if (R(s)) st(e, t);
1339
+ if (R(s)) lt(e, t);
1330
1340
  else if (Ii(s)) e.position++;
1331
1341
  else {
1332
1342
  let o = Fi(s);
@@ -1334,17 +1344,17 @@ function Pi(e, t, n) {
1334
1344
  e.position++, $i(e.input.charCodeAt(e.position)) < 0 && b(e, "expected hexadecimal character");
1335
1345
  e.position++;
1336
1346
  }
1337
- } else R(a) ? (i = !1, st(e, t)) : e.position === e.lineStart && ee(e) ? b(e, "unexpected end of the document within a double quoted scalar") : a !== 9 && a < 32 ? b(e, "expected valid JSON character") : e.position++;
1347
+ } else R(a) ? (i = !1, lt(e, t)) : e.position === e.lineStart && ne(e) ? b(e, "unexpected end of the document within a double quoted scalar") : a !== 9 && a < 32 ? b(e, "expected valid JSON character") : e.position++;
1338
1348
  }
1339
1349
  b(e, "unexpected end of the stream within a double quoted scalar");
1340
1350
  }
1341
- function Oi(e, t, n) {
1351
+ function zi(e, t, n) {
1342
1352
  const r = e.input.charCodeAt(e.position);
1343
1353
  let i = 1, a = -1, s = !1;
1344
1354
  if (r !== 124 && r !== 62) return !1;
1345
1355
  const o = r === 124 ? 4 : 5;
1346
1356
  for (e.position++; e.input.charCodeAt(e.position) !== 0; ) {
1347
- const y = e.input.charCodeAt(e.position), x = Ci(y);
1357
+ const y = e.input.charCodeAt(e.position), x = _i(y);
1348
1358
  if (y === 43 || y === 45)
1349
1359
  i !== 1 && b(e, "repeat of a chomping mode identifier"), i = y === 43 ? 3 : 2, e.position++;
1350
1360
  else if (x >= 0)
@@ -1352,9 +1362,9 @@ function Oi(e, t, n) {
1352
1362
  else break;
1353
1363
  }
1354
1364
  let l = !1;
1355
- for (; ae(e.input.charCodeAt(e.position)); )
1365
+ for (; oe(e.input.charCodeAt(e.position)); )
1356
1366
  l = !0, e.position++;
1357
- l && e.input.charCodeAt(e.position) === 35 && Ht(e), R(e.input.charCodeAt(e.position)) ? Pe(e) : e.input.charCodeAt(e.position) !== 0 && b(e, "a line break is expected");
1367
+ l && e.input.charCodeAt(e.position) === 35 && Kt(e), R(e.input.charCodeAt(e.position)) ? ze(e) : e.input.charCodeAt(e.position) !== 0 && b(e, "a line break is expected");
1358
1368
  let c = s ? a : -1, u = 0;
1359
1369
  const f = e.position;
1360
1370
  let g = e.position;
@@ -1367,7 +1377,7 @@ function Oi(e, t, n) {
1367
1377
  c >= 0 ? x > c && (g = y + x) : x > 0 && (g = y + x);
1368
1378
  break;
1369
1379
  }
1370
- if (y === e.lineStart && ee(e, y)) break;
1380
+ if (y === e.lineStart && ne(e, y)) break;
1371
1381
  if (!s && c === -1 && R(A) && (u = Math.max(u, x)), !s && c === -1 && !R(A) && (A === 9 && x < t && (e.position = y + x, b(e, "tab characters must not be used in indentation")), x < u && (e.position = y + x, b(e, "bad indentation of a mapping entry"))), c === -1 && A !== 0 && !R(A) && x < t) {
1372
1382
  e.lineIndent = x, e.position = y + x;
1373
1383
  break;
@@ -1378,33 +1388,33 @@ function Oi(e, t, n) {
1378
1388
  e.lineIndent = x, e.position = y + x;
1379
1389
  break;
1380
1390
  }
1381
- Ht(e), g = e.position, R(e.input.charCodeAt(e.position)) && (Pe(e), g = e.position);
1391
+ Kt(e), g = e.position, R(e.input.charCodeAt(e.position)) && (ze(e), g = e.position);
1382
1392
  }
1383
- return xn(e, f, g), me(e, f, g, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, o, i, c), !0;
1393
+ return bn(e, f, g), ke(e, f, g, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, o, i, c), !0;
1384
1394
  }
1385
- function zi(e, t) {
1386
- const n = e.input.charCodeAt(e.position), r = t === ge;
1387
- if (n === 0 || G(n) || n === 35 || n === 38 || n === 42 || n === 33 || n === 124 || n === 62 || n === 39 || n === 34 || n === 37 || n === 64 || n === 96 || r && oe(n)) return !1;
1395
+ function Mi(e, t) {
1396
+ const n = e.input.charCodeAt(e.position), r = t === de;
1397
+ if (n === 0 || G(n) || n === 35 || n === 38 || n === 42 || n === 33 || n === 124 || n === 62 || n === 39 || n === 34 || n === 37 || n === 64 || n === 96 || r && se(n)) return !1;
1388
1398
  if (n === 63 || n === 45) {
1389
1399
  const i = e.input.charCodeAt(e.position + 1);
1390
- if (V(i) || r && oe(i)) return !1;
1400
+ if (V(i) || r && se(i)) return !1;
1391
1401
  }
1392
1402
  return !0;
1393
1403
  }
1394
- function Mi(e, t, n, r) {
1395
- if (!zi(e, n)) return !1;
1404
+ function Bi(e, t, n, r) {
1405
+ if (!Mi(e, n)) return !1;
1396
1406
  const i = e.position;
1397
1407
  let a = e.position, s = e.input.charCodeAt(e.position);
1398
- const o = n === ge;
1408
+ const o = n === de;
1399
1409
  let l = !1;
1400
- for (; s !== 0 && !(e.position === e.lineStart && ee(e)); ) {
1410
+ for (; s !== 0 && !(e.position === e.lineStart && ne(e)); ) {
1401
1411
  if (s === 58) {
1402
1412
  const c = e.input.charCodeAt(e.position + 1);
1403
- if (V(c) || o && oe(c)) break;
1413
+ if (V(c) || o && se(c)) break;
1404
1414
  } else if (s === 35) {
1405
1415
  if (G(e.input.charCodeAt(e.position - 1))) break;
1406
1416
  } else {
1407
- if (o && oe(s)) break;
1417
+ if (o && se(s)) break;
1408
1418
  if (R(s)) {
1409
1419
  const c = e.position, u = e.line, f = e.lineStart, g = e.lineIndent;
1410
1420
  if (M(e, !1), e.lineIndent >= t) {
@@ -1415,45 +1425,45 @@ function Mi(e, t, n, r) {
1415
1425
  break;
1416
1426
  }
1417
1427
  }
1418
- ae(s) || (a = e.position + 1), s = e.input.charCodeAt(++e.position);
1428
+ oe(s) || (a = e.position + 1), s = e.input.charCodeAt(++e.position);
1419
1429
  }
1420
- return a === i ? !1 : (xn(e, i, a), me(e, i, a, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, 1, 1, -1, !l), !0);
1430
+ return a === i ? !1 : (bn(e, i, a), ke(e, i, a, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, 1, 1, -1, !l), !0);
1421
1431
  }
1422
- function be(e, t) {
1432
+ function ye(e, t) {
1423
1433
  const n = e.line;
1424
1434
  M(e, !0), (e.line > n && e.lineIndent < t || e.firstTabInLine !== -1 && e.lineIndent < t) && b(e, "deficient indentation");
1425
1435
  }
1426
- function Bi(e, t, n) {
1436
+ function Di(e, t, n) {
1427
1437
  const r = e.input.charCodeAt(e.position), i = r === 123, a = e.position;
1428
1438
  let s = !0;
1429
1439
  if (r !== 91 && r !== 123) return !1;
1430
1440
  const o = i ? 125 : 93;
1431
- for (i ? ot(e, a, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, 2) : kn(e, a, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, 2), e.position++; e.input.charCodeAt(e.position) !== 0; ) {
1432
- be(e, t);
1441
+ for (i ? st(e, a, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, 2) : xn(e, a, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, 2), e.position++; e.input.charCodeAt(e.position) !== 0; ) {
1442
+ ye(e, t);
1433
1443
  let l = e.input.charCodeAt(e.position);
1434
1444
  if (l === o)
1435
- return e.position++, he(e), !0;
1445
+ return e.position++, fe(e), !0;
1436
1446
  s ? l === 44 && b(e, "expected the node content, but found ','") : b(e, "missed comma between flow collection entries");
1437
1447
  let c = !1, u = !1;
1438
- l === 63 && G(e.input.charCodeAt(e.position + 1)) && (c = u = !0, e.position += 1, be(e, t));
1439
- const f = e.line, g = ve(e), y = ne(e, t, ge, !1, !0);
1440
- be(e, t), l = e.input.charCodeAt(e.position), (i || u || e.line === f) && l === 58 ? (c = !0, e.position++, be(e, t), i || Ut(e, g), y || z(e), ne(e, t, ge, !1, !0) || z(e), be(e, t), i || he(e)) : i && c ? (y || z(e), z(e)) : i ? z(e) : c && (Ut(e, g), y || z(e), z(e), he(e)), l = e.input.charCodeAt(e.position), l === 44 ? (s = !0, e.position++) : s = !1;
1448
+ l === 63 && G(e.input.charCodeAt(e.position + 1)) && (c = u = !0, e.position += 1, ye(e, t));
1449
+ const f = e.line, g = Ae(e), y = re(e, t, de, !1, !0);
1450
+ ye(e, t), l = e.input.charCodeAt(e.position), (i || u || e.line === f) && l === 58 ? (c = !0, e.position++, ye(e, t), i || Gt(e, g), y || z(e), re(e, t, de, !1, !0) || z(e), ye(e, t), i || fe(e)) : i && c ? (y || z(e), z(e)) : i ? z(e) : c && (Gt(e, g), y || z(e), z(e), fe(e)), l = e.input.charCodeAt(e.position), l === 44 ? (s = !0, e.position++) : s = !1;
1441
1451
  }
1442
1452
  b(e, "unexpected end of the stream within a flow collection");
1443
1453
  }
1444
1454
  function Wt(e, t, n) {
1445
1455
  if (e.firstTabInLine !== -1 || e.input.charCodeAt(e.position) !== 45 || !V(e.input.charCodeAt(e.position + 1))) return !1;
1446
- for (kn(e, e.position, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, 1); e.input.charCodeAt(e.position) === 45 && V(e.input.charCodeAt(e.position + 1)); ) {
1456
+ for (xn(e, e.position, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, 1); e.input.charCodeAt(e.position) === 45 && V(e.input.charCodeAt(e.position + 1)); ) {
1447
1457
  e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, b(e, "tab characters must not be used in indentation"));
1448
1458
  const r = e.line;
1449
1459
  e.position++;
1450
1460
  const i = M(e, !0) > 0;
1451
- if (e.firstTabInLine !== -1 && e.input.charCodeAt(e.position) === 45 && V(e.input.charCodeAt(e.position + 1)) && b(e, "bad indentation of a sequence entry"), i && e.lineIndent <= t ? z(e) : ne(e, t, gn, !1, !0), M(e, !0), e.lineIndent < t || e.position >= e.length) break;
1461
+ if (e.firstTabInLine !== -1 && e.input.charCodeAt(e.position) === 45 && V(e.input.charCodeAt(e.position + 1)) && b(e, "bad indentation of a sequence entry"), i && e.lineIndent <= t ? z(e) : re(e, t, dn, !1, !0), M(e, !0), e.lineIndent < t || e.position >= e.length) break;
1452
1462
  e.lineIndent > t && b(e, "bad indentation of a sequence entry"), e.line === r && e.input.charCodeAt(e.position) === 45 && V(e.input.charCodeAt(e.position + 1)) && b(e, "bad indentation of a sequence entry");
1453
1463
  }
1454
- return he(e), !0;
1464
+ return fe(e), !0;
1455
1465
  }
1456
- function Xe(e, t, n, r) {
1466
+ function Je(e, t, n, r) {
1457
1467
  let i = !1, a = !1, s = !1, o = !1;
1458
1468
  if (e.firstTabInLine !== -1) return !1;
1459
1469
  let l = e.input.charCodeAt(e.position);
@@ -1461,80 +1471,78 @@ function Xe(e, t, n, r) {
1461
1471
  !i && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, b(e, "tab characters must not be used in indentation"));
1462
1472
  const c = e.input.charCodeAt(e.position + 1), u = e.line;
1463
1473
  if ((l === 63 || l === 58) && V(c))
1464
- s || (ot(e, e.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, 1), s = !0), l === 63 ? (i && z(e), a = !0, i = !0) : (i || (z(e), a = !0), i = !1), e.position += 1, o = !0;
1474
+ s || (st(e, e.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, 1), s = !0), l === 63 ? (i && z(e), a = !0, i = !0) : (i || (z(e), a = !0), i = !1), e.position += 1, o = !0;
1465
1475
  else {
1466
1476
  i && (z(e), i = !1);
1467
- const f = ve(e);
1468
- if (!ne(e, n, it, !1, !0)) break;
1477
+ const f = Ae(e);
1478
+ if (!re(e, n, at, !1, !0)) break;
1469
1479
  if (e.line === u) {
1470
- for (l = e.input.charCodeAt(e.position); ae(l); ) l = e.input.charCodeAt(++e.position);
1480
+ for (l = e.input.charCodeAt(e.position); oe(l); ) l = e.input.charCodeAt(++e.position);
1471
1481
  if (l === 58) {
1472
1482
  if (l = e.input.charCodeAt(++e.position), V(l) || b(e, "a whitespace character is expected after the key-value separator within a block mapping"), !s) {
1473
- for (fe(e, f), ot(e, f.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, 1), s = !0, ne(e, n, it, !1, !0), l = e.input.charCodeAt(e.position); ae(l); ) l = e.input.charCodeAt(++e.position);
1483
+ for (ge(e, f), st(e, f.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, 1), s = !0, re(e, n, at, !1, !0), l = e.input.charCodeAt(e.position); oe(l); ) l = e.input.charCodeAt(++e.position);
1474
1484
  e.position++;
1475
1485
  }
1476
1486
  a = !0, i = !1, o = !1;
1477
1487
  } else if (a) b(e, "expected ':' after a mapping key");
1478
1488
  else
1479
- return r.anchorStart !== $ || r.tagStart !== $ ? (fe(e, f), !1) : !0;
1489
+ return r.anchorStart !== _ || r.tagStart !== _ ? (ge(e, f), !1) : !0;
1480
1490
  } else if (a) b(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1481
1491
  else
1482
- return r.anchorStart !== $ || r.tagStart !== $ ? (fe(e, f), !1) : !0;
1492
+ return r.anchorStart !== _ || r.tagStart !== _ ? (ge(e, f), !1) : !0;
1483
1493
  }
1484
- if (ne(e, t, Le, !0, o) && (o = !1), i || o && (z(e), o = !1), M(e, !0), l = e.input.charCodeAt(e.position), (e.line === u || e.lineIndent > t) && l !== 0) b(e, "bad indentation of a mapping entry");
1494
+ if (re(e, t, Oe, !0, o) && (o = !1), i || o && (z(e), o = !1), M(e, !0), l = e.input.charCodeAt(e.position), (e.line === u || e.lineIndent > t) && l !== 0) b(e, "bad indentation of a mapping entry");
1485
1495
  else if (e.lineIndent < t) break;
1486
1496
  }
1487
- return a ? (i && z(e), s && he(e), !0) : !1;
1497
+ return a ? (i && z(e), s && fe(e), !0) : !1;
1488
1498
  }
1489
- function ne(e, t, n, r, i, a = !0) {
1499
+ function re(e, t, n, r, i, a = !0) {
1490
1500
  e.depth >= e.maxDepth && b(e, `nesting exceeded maxDepth (${e.maxDepth})`), e.depth++;
1491
1501
  let s = 1, o = !1, l = !1, c = null;
1492
- const u = Gt();
1493
- let f = n === Le || n === gn, g = f;
1502
+ const u = Ht();
1503
+ let f = n === Oe || n === dn, g = f;
1494
1504
  const y = f;
1495
- if (r && M(e, !0) && (o = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : s = -1), e.position === e.lineStart && ee(e))
1496
- return e.depth--, !1;
1497
- if (s === 1) for (; ; ) {
1498
- const x = e.input.charCodeAt(e.position), A = ve(e);
1505
+ if (r && M(e, !0) && (o = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : s = -1), s === 1) for (; ; ) {
1506
+ const x = e.input.charCodeAt(e.position), A = Ae(e);
1499
1507
  if (o && s !== 1 && (x === 33 || x === 38)) break;
1500
- if (o && y && (u.tagStart !== $ || u.anchorStart !== $) && (x === 33 || x === 38)) {
1501
- const S = ve(e), I = t + 1;
1502
- if (Xe(e, e.position - e.lineStart, I, u) && e.events[S.eventsLength]?.type === 3)
1508
+ if (o && y && (u.tagStart !== _ || u.anchorStart !== _) && (x === 33 || x === 38)) {
1509
+ const S = Ae(e), F = t + 1;
1510
+ if (Je(e, e.position - e.lineStart, F, u) && e.events[S.eventsLength]?.type === 3)
1503
1511
  return e.depth--, !0;
1504
- fe(e, S);
1512
+ ge(e, S);
1505
1513
  }
1506
- if (o && (x === 33 && u.tagStart !== $ || x === 38 && u.anchorStart !== $) || !_i(e, u, n === ge) && !Ri(e, u)) break;
1514
+ if (o && (x === 33 && u.tagStart !== _ || x === 38 && u.anchorStart !== _) || !Ri(e, u, n === de) && !Ni(e, u)) break;
1507
1515
  c === null && (c = A), M(e, !0) ? (o = !0, g = y, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : s = -1) : g = !1;
1508
1516
  }
1509
- if (g && (g = o || i), s === 1 || n === Le) {
1510
- const x = n === ge || n === it ? t : t + 1, A = e.position - e.lineStart;
1511
- if (s === 1) if (g && (Wt(e, A, u) || Xe(e, A, x, u)) || Bi(e, x, u)) l = !0;
1517
+ if (g && (g = o || i), s === 1 || n === Oe) {
1518
+ const x = n === de || n === at ? t : t + 1, A = e.position - e.lineStart;
1519
+ if (s === 1) if (g && (Wt(e, A, u) || Je(e, A, x, u)) || Di(e, x, u)) l = !0;
1512
1520
  else {
1513
1521
  const S = e.input.charCodeAt(e.position);
1514
1522
  if (c !== null && a && y && !g && S !== 124 && S !== 62) {
1515
- const I = ve(e), p = c.position - c.lineStart;
1516
- fe(e, c), Xe(e, p, x, Gt()) && e.events[I.eventsLength]?.type === 3 ? l = !0 : fe(e, I);
1523
+ const F = Ae(e), p = c.position - c.lineStart;
1524
+ ge(e, c), Je(e, p, x, Ht()) && e.events[F.eventsLength]?.type === 3 ? l = !0 : ge(e, F);
1517
1525
  }
1518
- !l && (f && Oi(e, x, u) || Li(e, x, u) || Pi(e, x, u) || Ni(e, u) || Mi(e, x, n, u)) && (l = !0);
1526
+ !l && (f && zi(e, x, u) || Pi(e, x, u) || Oi(e, x, u) || Li(e, u) || Bi(e, x, n, u)) && (l = !0);
1519
1527
  }
1520
1528
  else s === 0 && (l = g && Wt(e, A, u));
1521
1529
  }
1522
- return f = f && !l, !l && (u.anchorStart !== $ || u.tagStart !== $ || f) && (me(e, $, $, u.anchorStart, u.anchorEnd, u.tagStart, u.tagEnd, 1), l = !0), e.depth--, l || u.anchorStart !== $ || u.tagStart !== $;
1530
+ return f = f && !l, !l && (u.anchorStart !== _ || u.tagStart !== _ || f) && (ke(e, _, _, u.anchorStart, u.anchorEnd, u.tagStart, u.tagEnd, 1), l = !0), e.depth--, l || u.anchorStart !== _ || u.tagStart !== _;
1523
1531
  }
1524
- function Di(e) {
1532
+ function qi(e) {
1525
1533
  if (e.lineIndent > 0 || e.input.charCodeAt(e.position) !== 37) return !1;
1526
1534
  e.position++;
1527
1535
  const t = e.position;
1528
1536
  for (; e.input.charCodeAt(e.position) !== 0 && !G(e.input.charCodeAt(e.position)); ) e.position++;
1529
1537
  const n = e.input.slice(t, e.position), r = [];
1530
1538
  for (n.length === 0 && b(e, "directive name must not be less than one character in length"); e.input.charCodeAt(e.position) !== 0 && !R(e.input.charCodeAt(e.position)); ) {
1531
- for (; ae(e.input.charCodeAt(e.position)); ) e.position++;
1539
+ for (; oe(e.input.charCodeAt(e.position)); ) e.position++;
1532
1540
  if (e.input.charCodeAt(e.position) === 35 || R(e.input.charCodeAt(e.position)) || e.input.charCodeAt(e.position) === 0) break;
1533
1541
  const i = e.position;
1534
1542
  for (; e.input.charCodeAt(e.position) !== 0 && !G(e.input.charCodeAt(e.position)); ) e.position++;
1535
1543
  r.push(e.input.slice(i, e.position));
1536
1544
  }
1537
- if (R(e.input.charCodeAt(e.position)) && Pe(e), n === "YAML") {
1545
+ if (R(e.input.charCodeAt(e.position)) && ze(e), n === "YAML") {
1538
1546
  e.directives.some((a) => a.kind === "yaml") && b(e, "duplication of %YAML directive"), r.length !== 1 && b(e, "YAML directive accepts exactly one argument");
1539
1547
  const i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]);
1540
1548
  i === null && b(e, "ill-formed argument of the YAML directive"), parseInt(i[1], 10) !== 1 && b(e, "unacceptable YAML version of the document"), e.directives.push({
@@ -1544,7 +1552,7 @@ function Di(e) {
1544
1552
  } else if (n === "TAG") {
1545
1553
  r.length !== 2 && b(e, "TAG directive accepts exactly two arguments");
1546
1554
  const [i, a] = r;
1547
- dn.test(i) || b(e, "ill-formed tag handle (first argument) of the TAG directive"), fn.call(e.tagHandlers, i) && b(e, `there is a previously declared suffix for "${i}" tag handle`), Si.test(a) || b(e, "ill-formed tag prefix (second argument) of the TAG directive"), e.tagHandlers[i] = a, e.directives.push({
1555
+ mn.test(i) || b(e, "ill-formed tag handle (first argument) of the TAG directive"), gn.call(e.tagHandlers, i) && b(e, `there is a previously declared suffix for "${i}" tag handle`), Ti.test(a) || b(e, "ill-formed tag prefix (second argument) of the TAG directive"), e.tagHandlers[i] = a, e.directives.push({
1548
1556
  kind: "tag",
1549
1557
  handle: i,
1550
1558
  prefix: a
@@ -1552,10 +1560,10 @@ function Di(e) {
1552
1560
  }
1553
1561
  return !0;
1554
1562
  }
1555
- function qi(e) {
1563
+ function ji(e) {
1556
1564
  e.directives = [], e.tagHandlers = /* @__PURE__ */ Object.create(null);
1557
1565
  let t = !1;
1558
- for (M(e, !0); Di(e); )
1566
+ for (M(e, !0); qi(e); )
1559
1567
  t = !0, M(e, !0);
1560
1568
  let n = !1, r = !1, i = !0;
1561
1569
  if (e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 && V(e.input.charCodeAt(e.position + 3))) {
@@ -1564,20 +1572,20 @@ function qi(e) {
1564
1572
  e.position += 3, M(e, !0), i = e.line > o;
1565
1573
  } else t && b(e, "directives end mark is expected");
1566
1574
  const a = e.events.length;
1567
- if (!n && e.position === e.lineStart && e.input.charCodeAt(e.position) === 46 && ee(e)) {
1575
+ if (!n && e.position === e.lineStart && e.input.charCodeAt(e.position) === 46 && ne(e)) {
1568
1576
  e.position += 3, M(e, !0);
1569
1577
  return;
1570
1578
  }
1571
- if (Ti(e, n, !1), ne(e, e.lineIndent - 1, Le, !1, i, i) || z(e), M(e, !0), e.position === e.lineStart && ee(e) && (r = e.input.charCodeAt(e.position) === 46, r)) {
1579
+ if (Ei(e, n, !1), re(e, e.lineIndent - 1, Oe, !1, i, i) || z(e), M(e, !0), e.position === e.lineStart && ne(e) && (r = e.input.charCodeAt(e.position) === 46, r)) {
1572
1580
  const o = e.line;
1573
1581
  e.position += 3, M(e, !0), e.line === o && e.position < e.length && b(e, "end of the stream or a document separator is expected");
1574
1582
  }
1575
1583
  const s = e.events[a];
1576
- s?.type === 1 && (s.explicitEnd = r), he(e), !r && e.position < e.length && !(e.position === e.lineStart && ee(e)) && b(e, "end of the stream or a document separator is expected");
1584
+ s?.type === 1 && (s.explicitEnd = r), fe(e), !r && e.position < e.length && !(e.position === e.lineStart && ne(e)) && b(e, "end of the stream or a document separator is expected");
1577
1585
  }
1578
1586
  function Yi(e, t) {
1579
1587
  const n = e.length, r = {
1580
- ...wt,
1588
+ ...vt,
1581
1589
  ...t,
1582
1590
  input: `${e}\0`,
1583
1591
  length: n,
@@ -1591,54 +1599,54 @@ function Yi(e, t) {
1591
1599
  tagHandlers: /* @__PURE__ */ Object.create(null),
1592
1600
  events: []
1593
1601
  }, i = e.indexOf("\0");
1594
- for (i !== -1 && Ye(e, i, "null byte is not allowed in input", r.filename), r.input.charCodeAt(r.position) === 65279 && r.position++; r.position < r.length && (M(r, !0), !(r.position >= r.length)); ) {
1602
+ for (i !== -1 && Ue(e, i, "null byte is not allowed in input", r.filename), r.input.charCodeAt(r.position) === 65279 && r.position++; r.position < r.length && (M(r, !0), !(r.position >= r.length)); ) {
1595
1603
  const a = r.position;
1596
- qi(r), r.position === a && b(r, "can not read a document");
1604
+ ji(r), r.position === a && b(r, "can not read a document");
1597
1605
  }
1598
1606
  return r.events;
1599
1607
  }
1600
- var ji = {
1601
- ...wt,
1602
- ...yt
1608
+ var Ui = {
1609
+ ...vt,
1610
+ ...wt
1603
1611
  };
1604
- function Ui(e, t = {}) {
1612
+ function Gi(e, t = {}) {
1605
1613
  const n = {
1606
- ...ji,
1614
+ ...Ui,
1607
1615
  ...t
1608
- }, r = String(e), i = Object.keys(wt), a = Object.keys(yt);
1609
- return bi(Yi(r, zt(n, i)), {
1610
- ...zt(n, a),
1616
+ }, r = String(e), i = Object.keys(vt), a = Object.keys(wt);
1617
+ return yi(Yi(r, Mt(n, i)), {
1618
+ ...Mt(n, a),
1611
1619
  source: r
1612
1620
  });
1613
1621
  }
1614
- function Gi(e, t) {
1615
- const n = Ui(e, t);
1616
- if (n.length === 0) throw new Re("expected a document, but the input is empty");
1622
+ function Hi(e, t) {
1623
+ const n = Gi(e, t);
1624
+ if (n.length === 0) throw new Le("expected a document, but the input is empty");
1617
1625
  if (n.length === 1) return n[0];
1618
- throw new Re("expected a single document in the stream, but found more");
1626
+ throw new Le("expected a single document in the stream, but found more");
1619
1627
  }
1620
- ni.withTags({
1621
- ...nt,
1622
- resolve: (e, t, n) => {
1623
- const r = nt.resolve(e, t, n);
1624
- return r === C ? an.resolve(e, t, n) : r;
1625
- }
1626
- }, {
1628
+ ri.withTags({
1627
1629
  ...rt,
1628
1630
  resolve: (e, t, n) => {
1629
1631
  const r = rt.resolve(e, t, n);
1630
1632
  return r === C ? on.resolve(e, t, n) : r;
1631
1633
  }
1634
+ }, {
1635
+ ...it,
1636
+ resolve: (e, t, n) => {
1637
+ const r = it.resolve(e, t, n);
1638
+ return r === C ? sn.resolve(e, t, n) : r;
1639
+ }
1632
1640
  });
1633
- function vt() {
1641
+ function At() {
1634
1642
  return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
1635
1643
  }
1636
- var le = vt();
1637
- function bn(e) {
1638
- le = e;
1644
+ var ce = At();
1645
+ function yn(e) {
1646
+ ce = e;
1639
1647
  }
1640
1648
  var te = { exec: () => null };
1641
- function ue(e) {
1649
+ function pe(e) {
1642
1650
  let t = [];
1643
1651
  return (n) => {
1644
1652
  let r = Math.max(0, Math.min(3, n - 1)), i = t[r];
@@ -1652,21 +1660,21 @@ function T(e, t = "") {
1652
1660
  }, getRegex: () => new RegExp(n, t) };
1653
1661
  return r;
1654
1662
  }
1655
- var Hi = ((e = "") => {
1663
+ var Ki = ((e = "") => {
1656
1664
  try {
1657
1665
  return !!new RegExp("(?<=1)(?<!1)" + e);
1658
1666
  } catch {
1659
1667
  return !1;
1660
1668
  }
1661
- })(), P = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (e) => new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: ue((e) => new RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)), hrRegex: ue((e) => new RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)), fencesBeginRegex: ue((e) => new RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)), headingBeginRegex: ue((e) => new RegExp(`^ {0,${e}}#`)), htmlBeginRegex: ue((e) => new RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")), blockquoteBeginRegex: ue((e) => new RegExp(`^ {0,${e}}>`)) }, Wi = /^(?:[ \t]*(?:\n|$))+/, Ki = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Zi = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Se = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Vi = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, At = / {0,3}(?:[*+-]|\d{1,9}[.)])/, yn = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, wn = T(yn).replace(/bull/g, At).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}(?:\s|$)/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Qi = T(yn).replace(/bull/g, At).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}(?:\s|$)/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), St = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/, Xi = /^[^\n]+/, Tt = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Ji = T(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Tt).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), ea = T(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, At).getRegex(), je = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Et = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ta = T("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Et).replace("tag", je).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), vn = (e) => T(St).replace("hr", Se).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list", e).replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", je).getRegex(), na = vn(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/), ra = vn(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/), ia = T(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ra).getRegex(), Ct = { blockquote: ia, code: Ki, def: Ji, fences: Zi, heading: Vi, hr: Se, html: ta, lheading: wn, list: ea, newline: Wi, paragraph: na, table: te, text: Xi }, Kt = T("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Se).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", je).getRegex(), aa = { ...Ct, lheading: Qi, table: Kt, paragraph: T(St).replace("hr", Se).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Kt).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", je).getRegex() }, oa = { ...Ct, html: T(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Et).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: te, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: T(St).replace("hr", Se).replace("heading", ` *#{1,6} *[^
1662
- ]`).replace("lheading", wn).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, sa = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, la = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, An = /^( {2,}|\\)\n(?!\s*$)/, ca = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, ke = /[\p{P}\p{S}]/u, Ue = /[\s\p{P}\p{S}]/u, $t = /[^\s\p{P}\p{S}]/u, ua = T(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ue).getRegex(), Sn = /(?!~)[\p{P}\p{S}]/u, pa = /(?!~)[\s\p{P}\p{S}]/u, ha = /(?:[^\s\p{P}\p{S}]|~)/u, fa = T(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Hi ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Tn = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, ga = T(Tn, "u").replace(/punct/g, ke).getRegex(), da = T(Tn, "u").replace(/punct/g, Sn).getRegex(), En = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", ma = T(En, "gu").replace(/notPunctSpace/g, $t).replace(/punctSpace/g, Ue).replace(/punct/g, ke).getRegex(), ka = T(En, "gu").replace(/notPunctSpace/g, ha).replace(/punctSpace/g, pa).replace(/punct/g, Sn).getRegex(), xa = T("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, $t).replace(/punctSpace/g, Ue).replace(/punct/g, ke).getRegex(), ba = T(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, ke).getRegex(), ya = "^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", wa = T(ya, "gu").replace(/notPunctSpace/g, $t).replace(/punctSpace/g, Ue).replace(/punct/g, ke).getRegex(), va = T(/\\(punct)/, "gu").replace(/punct/g, ke).getRegex(), Aa = T(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Sa = T(Et).replace("(?:-->|$)", "-->").getRegex(), Ta = T("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Sa).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Oe = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, Ea = T(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", Oe).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Cn = T(/^!?\[(label)\]\[(ref)\]/).replace("label", Oe).replace("ref", Tt).getRegex(), $n = T(/^!?\[(ref)\](?:\[\])?/).replace("ref", Tt).getRegex(), Ca = T("reflink|nolink(?!\\()", "g").replace("reflink", Cn).replace("nolink", $n).getRegex(), Zt = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Ft = { _backpedal: te, anyPunctuation: va, autolink: Aa, blockSkip: fa, br: An, code: la, del: te, delLDelim: te, delRDelim: te, emStrongLDelim: ga, emStrongRDelimAst: ma, emStrongRDelimUnd: xa, escape: sa, link: Ea, nolink: $n, punctuation: ua, reflink: Cn, reflinkSearch: Ca, tag: Ta, text: ca, url: te }, $a = { ...Ft, link: T(/^!?\[(label)\]\((.*?)\)/).replace("label", Oe).getRegex(), reflink: T(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Oe).getRegex() }, lt = { ...Ft, emStrongRDelimAst: ka, emStrongLDelim: da, delLDelim: ba, delRDelim: wa, url: T(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Zt).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: T(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Zt).getRegex() }, Fa = { ...lt, br: T(An).replace("{2,}", "*").getRegex(), text: T(lt.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, Fe = { normal: Ct, gfm: aa, pedantic: oa }, ye = { normal: Ft, gfm: lt, breaks: Fa, pedantic: $a }, Ia = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, Vt = (e) => Ia[e];
1663
- function W(e, t) {
1669
+ })(), P = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (e) => new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: pe((e) => new RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)), hrRegex: pe((e) => new RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)), fencesBeginRegex: pe((e) => new RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)), headingBeginRegex: pe((e) => new RegExp(`^ {0,${e}}#`)), htmlBeginRegex: pe((e) => new RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")), blockquoteBeginRegex: pe((e) => new RegExp(`^ {0,${e}}>`)) }, Wi = /^(?:[ \t]*(?:\n|$))+/, Zi = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Vi = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Te = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Qi = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, St = / {0,3}(?:[*+-]|\d{1,9}[.)])/, wn = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, vn = T(wn).replace(/bull/g, St).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}(?:\s|$)/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Xi = T(wn).replace(/bull/g, St).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}(?:\s|$)/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Tt = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/, Ji = /^[^\n]+/, Et = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, ea = T(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Et).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), ta = T(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, St).getRegex(), Ge = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Ct = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, na = T("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Ct).replace("tag", Ge).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), An = (e) => T(Tt).replace("hr", Te).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list", e).replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ge).getRegex(), ra = An(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/), ia = An(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/), aa = T(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ia).getRegex(), _t = { blockquote: aa, code: Zi, def: ea, fences: Vi, heading: Qi, hr: Te, html: na, lheading: vn, list: ta, newline: Wi, paragraph: ra, table: te, text: Ji }, Zt = T("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Te).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ge).getRegex(), oa = { ..._t, lheading: Xi, table: Zt, paragraph: T(Tt).replace("hr", Te).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Zt).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ge).getRegex() }, sa = { ..._t, html: T(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Ct).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: te, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: T(Tt).replace("hr", Te).replace("heading", ` *#{1,6} *[^
1670
+ ]`).replace("lheading", vn).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, la = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ca = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Sn = /^( {2,}|\\)\n(?!\s*$)/, ua = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Q = /[\p{P}\p{S}]/u, xe = /[\s\p{P}\p{S}]/u, Ee = /[^\s\p{P}\p{S}]/u, pa = T(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, xe).getRegex(), ha = /[\p{Pi}\p{Ps}"']/u, Tn = /(?!~)[\p{P}\p{S}]/u, fa = /(?!~)[\s\p{P}\p{S}]/u, ga = /(?:[^\s\p{P}\p{S}]|~)/u, da = T(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Ki ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), En = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, ma = T(En, "u").replace(/punct/g, Q).getRegex(), ka = T(En, "u").replace(/punct/g, Tn).getRegex(), xa = /^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/, ba = T(xa, "u").replace(/openQuote/g, ha).replace(/punct/g, Q).getRegex(), Cn = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", ya = T(Cn, "gu").replace(/notPunctSpace/g, Ee).replace(/punctSpace/g, xe).replace(/punct/g, Q).getRegex(), wa = T(Cn, "gu").replace(/notPunctSpace/g, ga).replace(/punctSpace/g, fa).replace(/punct/g, Tn).getRegex(), va = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)", Aa = T(va, "gu").replace(/notPunctSpace/g, Ee).replace(/punctSpace/g, xe).replace(/punct/g, Q).getRegex(), Sa = T("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Ee).replace(/punctSpace/g, xe).replace(/punct/g, Q).getRegex(), Ta = "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)", Ea = T(Ta, "gu").replace(/notPunctSpace/g, Ee).replace(/punctSpace/g, xe).replace(/punct/g, Q).getRegex(), Ca = T(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Q).getRegex(), _a = "^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", $a = T(_a, "gu").replace(/notPunctSpace/g, Ee).replace(/punctSpace/g, xe).replace(/punct/g, Q).getRegex(), Fa = T(/\\(punct)/, "gu").replace(/punct/g, Q).getRegex(), Ia = T(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Ra = T(Ct).replace("(?:-->|$)", "-->").getRegex(), Na = T("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Ra).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Me = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, La = T(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", Me).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), _n = T(/^!?\[(label)\]\[(ref)\]/).replace("label", Me).replace("ref", Et).getRegex(), $n = T(/^!?\[(ref)\](?:\[\])?/).replace("ref", Et).getRegex(), Pa = T("reflink|nolink(?!\\()", "g").replace("reflink", _n).replace("nolink", $n).getRegex(), Vt = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, $t = { _backpedal: te, anyPunctuation: Fa, autolink: Ia, blockSkip: da, br: Sn, code: ca, del: te, delLDelim: te, delRDelim: te, emStrongLDelim: ma, emStrongRDelimAst: ya, emStrongRDelimUnd: Sa, escape: la, link: La, nolink: $n, punctuation: pa, reflink: _n, reflinkSearch: Pa, tag: Na, text: ua, url: te }, Oa = { ...$t, emStrongLDelim: ba, emStrongRDelimAst: Aa, emStrongRDelimUnd: Ea, link: T(/^!?\[(label)\]\((.*?)\)/).replace("label", Me).getRegex(), reflink: T(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Me).getRegex() }, ct = { ...$t, emStrongRDelimAst: wa, emStrongLDelim: ka, delLDelim: Ca, delRDelim: $a, url: T(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Vt).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: T(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Vt).getRegex() }, za = { ...ct, br: T(Sn).replace("{2,}", "*").getRegex(), text: T(ct.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, Ie = { normal: _t, gfm: oa, pedantic: sa }, we = { normal: $t, gfm: ct, breaks: za, pedantic: Oa }, Ma = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, Qt = (e) => Ma[e];
1671
+ function K(e, t) {
1664
1672
  if (t) {
1665
- if (P.escapeTest.test(e)) return e.replace(P.escapeReplace, Vt);
1666
- } else if (P.escapeTestNoEncode.test(e)) return e.replace(P.escapeReplaceNoEncode, Vt);
1673
+ if (P.escapeTest.test(e)) return e.replace(P.escapeReplace, Qt);
1674
+ } else if (P.escapeTestNoEncode.test(e)) return e.replace(P.escapeReplaceNoEncode, Qt);
1667
1675
  return e;
1668
1676
  }
1669
- function Qt(e) {
1677
+ function Xt(e) {
1670
1678
  try {
1671
1679
  e = encodeURI(e).replace(P.percentDecode, "%");
1672
1680
  } catch {
@@ -1674,7 +1682,7 @@ function Qt(e) {
1674
1682
  }
1675
1683
  return e;
1676
1684
  }
1677
- function Xt(e, t) {
1685
+ function Jt(e, t) {
1678
1686
  let n = e.replace(P.findPipe, (a, s, o) => {
1679
1687
  let l = !1, c = s;
1680
1688
  for (; --c >= 0 && o[c] === "\\"; ) l = !l;
@@ -1685,7 +1693,7 @@ function Xt(e, t) {
1685
1693
  for (; i < r.length; i++) r[i] = r[i].trim().replace(P.slashPipe, "|");
1686
1694
  return r;
1687
1695
  }
1688
- function J(e, t, n) {
1696
+ function ee(e, t, n) {
1689
1697
  let r = e.length;
1690
1698
  if (r === 0) return "";
1691
1699
  let i = 0;
@@ -1693,14 +1701,14 @@ function J(e, t, n) {
1693
1701
  i++;
1694
1702
  return e.slice(0, r - i);
1695
1703
  }
1696
- function Jt(e) {
1704
+ function en(e) {
1697
1705
  let t = e.split(`
1698
1706
  `), n = t.length - 1;
1699
1707
  for (; n >= 0 && P.blankLine.test(t[n]); ) n--;
1700
1708
  return t.length - n <= 2 ? e : t.slice(0, n + 1).join(`
1701
1709
  `);
1702
1710
  }
1703
- function _a(e, t) {
1711
+ function Ba(e, t) {
1704
1712
  if (e.indexOf(t[1]) === -1) return -1;
1705
1713
  let n = 0;
1706
1714
  for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
@@ -1708,7 +1716,7 @@ function _a(e, t) {
1708
1716
  else if (e[r] === t[1] && (n--, n < 0)) return r;
1709
1717
  return n > 0 ? -2 : -1;
1710
1718
  }
1711
- function Ra(e, t = 0) {
1719
+ function Da(e, t = 0) {
1712
1720
  let n = t, r = "";
1713
1721
  for (let i of e) if (i === " ") {
1714
1722
  let a = 4 - n % 4;
@@ -1716,13 +1724,13 @@ function Ra(e, t = 0) {
1716
1724
  } else r += i, n++;
1717
1725
  return r;
1718
1726
  }
1719
- function en(e, t, n, r, i) {
1727
+ function tn(e, t, n, r, i) {
1720
1728
  let a = t.href, s = t.title || null, o = e[1].replace(i.other.outputLinkReplace, "$1");
1721
1729
  r.state.inLink = !0;
1722
1730
  let l = { type: e[0].charAt(0) === "!" ? "image" : "link", raw: n, href: a, title: s, text: o, tokens: r.inlineTokens(o) };
1723
1731
  return r.state.inLink = !1, l;
1724
1732
  }
1725
- function Na(e, t, n) {
1733
+ function qa(e, t, n) {
1726
1734
  let r = e.match(n.other.indentCodeCompensation);
1727
1735
  if (r === null) return t;
1728
1736
  let i = r[1];
@@ -1735,12 +1743,12 @@ function Na(e, t, n) {
1735
1743
  }).join(`
1736
1744
  `);
1737
1745
  }
1738
- var ze = class {
1746
+ var Be = class {
1739
1747
  options;
1740
1748
  rules;
1741
1749
  lexer;
1742
1750
  constructor(e) {
1743
- this.options = e || le;
1751
+ this.options = e || ce;
1744
1752
  }
1745
1753
  space(e) {
1746
1754
  let t = this.rules.block.newline.exec(e);
@@ -1749,14 +1757,14 @@ var ze = class {
1749
1757
  code(e) {
1750
1758
  let t = this.rules.block.code.exec(e);
1751
1759
  if (t) {
1752
- let n = this.options.pedantic ? t[0] : Jt(t[0]), r = n.replace(this.rules.other.codeRemoveIndent, "");
1760
+ let n = this.options.pedantic ? t[0] : en(t[0]), r = n.replace(this.rules.other.codeRemoveIndent, "");
1753
1761
  return { type: "code", raw: n, codeBlockStyle: "indented", text: r };
1754
1762
  }
1755
1763
  }
1756
1764
  fences(e) {
1757
1765
  let t = this.rules.block.fences.exec(e);
1758
1766
  if (t) {
1759
- let n = t[0], r = Na(n, t[3] || "", this.rules);
1767
+ let n = t[0], r = qa(n, t[3] || "", this.rules);
1760
1768
  return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: r };
1761
1769
  }
1762
1770
  }
@@ -1765,22 +1773,22 @@ var ze = class {
1765
1773
  if (t) {
1766
1774
  let n = t[2].trim();
1767
1775
  if (this.rules.other.endingHash.test(n)) {
1768
- let r = J(n, "#");
1776
+ let r = ee(n, "#");
1769
1777
  (this.options.pedantic || !r || this.rules.other.endingSpaceChar.test(r)) && (n = r.trim());
1770
1778
  }
1771
- return { type: "heading", raw: J(t[0], `
1779
+ return { type: "heading", raw: ee(t[0], `
1772
1780
  `), depth: t[1].length, text: n, tokens: this.lexer.inline(n) };
1773
1781
  }
1774
1782
  }
1775
1783
  hr(e) {
1776
1784
  let t = this.rules.block.hr.exec(e);
1777
- if (t) return { type: "hr", raw: J(t[0], `
1785
+ if (t) return { type: "hr", raw: ee(t[0], `
1778
1786
  `) };
1779
1787
  }
1780
1788
  blockquote(e) {
1781
1789
  let t = this.rules.block.blockquote.exec(e);
1782
1790
  if (t) {
1783
- let n = J(t[0], `
1791
+ let n = ee(t[0], `
1784
1792
  `).split(`
1785
1793
  `), r = "", i = "", a = [];
1786
1794
  for (; n.length > 0; ) {
@@ -1800,10 +1808,11 @@ ${u}` : u;
1800
1808
  let g = a.at(-1);
1801
1809
  if (g?.type === "code") break;
1802
1810
  if (g?.type === "blockquote") {
1803
- let y = g, x = y.raw + `
1804
- ` + n.join(`
1805
- `), A = this.blockquote(x);
1806
- a[a.length - 1] = A, r = r.substring(0, r.length - y.raw.length) + A.raw, i = i.substring(0, i.length - y.text.length) + A.text;
1811
+ let y = g, x = n.join(`
1812
+ `), A = y.raw + `
1813
+ ` + x.replace(this.rules.other.blockquoteSetextReplace2, ""), S = this.blockquote(A);
1814
+ a[a.length - 1] = S, r = `${r}
1815
+ ${x}`, i = i.substring(0, i.length - y.text.length) + S.text;
1807
1816
  break;
1808
1817
  } else if (g?.type === "list") {
1809
1818
  let y = g, x = y.raw + `
@@ -1827,20 +1836,20 @@ ${u}` : u;
1827
1836
  let l = !1, c = "", u = "";
1828
1837
  if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
1829
1838
  c = t[0], e = e.substring(c.length);
1830
- let f = Ra(t[2].split(`
1839
+ let f = Da(t[2].split(`
1831
1840
  `, 1)[0], t[1].length), g = e.split(`
1832
1841
  `, 1)[0], y = !f.trim(), x = 0;
1833
1842
  if (this.options.pedantic ? (x = 2, u = f.trimStart()) : y ? x = t[1].length + 1 : (x = f.search(this.rules.other.nonSpaceChar), x = x > 4 ? 1 : x, u = f.slice(x), x += t[1].length), y && this.rules.other.blankLine.test(g) && (c += g + `
1834
1843
  `, e = e.substring(g.length + 1), l = !0), !l) {
1835
- let A = this.rules.other.nextBulletRegex(x), S = this.rules.other.hrRegex(x), I = this.rules.other.fencesBeginRegex(x), p = this.rules.other.headingBeginRegex(x), h = this.rules.other.htmlBeginRegex(x), d = this.rules.other.blockquoteBeginRegex(x);
1844
+ let A = this.rules.other.nextBulletRegex(x), S = this.rules.other.hrRegex(x), F = this.rules.other.fencesBeginRegex(x), p = this.rules.other.headingBeginRegex(x), h = this.rules.other.htmlBeginRegex(x), d = this.rules.other.blockquoteBeginRegex(x);
1836
1845
  for (; e; ) {
1837
1846
  let k = e.split(`
1838
1847
  `, 1)[0], m;
1839
- if (g = k, this.options.pedantic ? (g = g.replace(this.rules.other.listReplaceNesting, " "), m = g) : m = g.replace(this.rules.other.tabCharGlobal, " "), I.test(g) || p.test(g) || h.test(g) || d.test(g) || A.test(g) || S.test(g)) break;
1848
+ if (g = k, this.options.pedantic ? (g = g.replace(this.rules.other.listReplaceNesting, " "), m = g) : m = g.replace(this.rules.other.tabCharGlobal, " "), F.test(g) || p.test(g) || h.test(g) || d.test(g) || A.test(g) || S.test(g)) break;
1840
1849
  if (m.search(this.rules.other.nonSpaceChar) >= x || !g.trim()) u += `
1841
1850
  ` + m.slice(x);
1842
1851
  else {
1843
- if (y || f.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || I.test(f) || p.test(f) || S.test(f)) break;
1852
+ if (y || f.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || F.test(f) || p.test(f) || S.test(f)) break;
1844
1853
  u += `
1845
1854
  ` + g;
1846
1855
  }
@@ -1884,7 +1893,7 @@ ${u}` : u;
1884
1893
  html(e) {
1885
1894
  let t = this.rules.block.html.exec(e);
1886
1895
  if (t) {
1887
- let n = Jt(t[0]);
1896
+ let n = en(t[0]);
1888
1897
  return { type: "html", block: !0, raw: n, pre: t[1] === "pre" || t[1] === "script" || t[1] === "style", text: n };
1889
1898
  }
1890
1899
  }
@@ -1892,20 +1901,20 @@ ${u}` : u;
1892
1901
  let t = this.rules.block.def.exec(e);
1893
1902
  if (t) {
1894
1903
  let n = t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal, " "), r = t[2] ? t[2].replace(this.rules.other.hrefBrackets, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "", i = t[3] ? t[3].substring(1, t[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : t[3];
1895
- return { type: "def", tag: n, raw: J(t[0], `
1904
+ return { type: "def", tag: n, raw: ee(t[0], `
1896
1905
  `), href: r, title: i };
1897
1906
  }
1898
1907
  }
1899
1908
  table(e) {
1900
1909
  let t = this.rules.block.table.exec(e);
1901
1910
  if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
1902
- let n = Xt(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split(`
1903
- `) : [], a = { type: "table", raw: J(t[0], `
1911
+ let n = Jt(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split(`
1912
+ `) : [], a = { type: "table", raw: ee(t[0], `
1904
1913
  `), header: [], align: [], rows: [] };
1905
1914
  if (n.length === r.length) {
1906
1915
  for (let s of r) this.rules.other.tableAlignRight.test(s) ? a.align.push("right") : this.rules.other.tableAlignCenter.test(s) ? a.align.push("center") : this.rules.other.tableAlignLeft.test(s) ? a.align.push("left") : a.align.push(null);
1907
1916
  for (let s = 0; s < n.length; s++) a.header.push({ text: n[s], tokens: this.lexer.inline(n[s]), header: !0, align: a.align[s] });
1908
- for (let s of i) a.rows.push(Xt(s, a.header.length).map((o, l) => ({ text: o, tokens: this.lexer.inline(o), header: !1, align: a.align[l] })));
1917
+ for (let s of i) a.rows.push(Jt(s, a.header.length).map((o, l) => ({ text: o, tokens: this.lexer.inline(o), header: !1, align: a.align[l] })));
1909
1918
  return a;
1910
1919
  }
1911
1920
  }
@@ -1913,7 +1922,7 @@ ${u}` : u;
1913
1922
  let t = this.rules.block.lheading.exec(e);
1914
1923
  if (t) {
1915
1924
  let n = t[1].trim();
1916
- return { type: "heading", raw: J(t[0], `
1925
+ return { type: "heading", raw: ee(t[0], `
1917
1926
  `), depth: t[2].charAt(0) === "=" ? 1 : 2, text: n, tokens: this.lexer.inline(n) };
1918
1927
  }
1919
1928
  }
@@ -1943,10 +1952,10 @@ ${u}` : u;
1943
1952
  let n = t[2].trim();
1944
1953
  if (!this.options.pedantic && this.rules.other.startAngleBracket.test(n)) {
1945
1954
  if (!this.rules.other.endAngleBracket.test(n)) return;
1946
- let a = J(n.slice(0, -1), "\\");
1955
+ let a = ee(n.slice(0, -1), "\\");
1947
1956
  if ((n.length - a.length) % 2 === 0) return;
1948
1957
  } else {
1949
- let a = _a(t[2], "()");
1958
+ let a = Ba(t[2], "()");
1950
1959
  if (a === -2) return;
1951
1960
  if (a > -1) {
1952
1961
  let s = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + a;
@@ -1958,7 +1967,7 @@ ${u}` : u;
1958
1967
  let a = this.rules.other.pedanticHrefTitle.exec(r);
1959
1968
  a && (r = a[1], i = a[3]);
1960
1969
  } else i = t[3] ? t[3].slice(1, -1) : "";
1961
- return r = r.trim(), this.rules.other.startAngleBracket.test(r) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n) ? r = r.slice(1) : r = r.slice(1, -1)), en(t, { href: r && r.replace(this.rules.inline.anyPunctuation, "$1"), title: i && i.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
1970
+ return r = r.trim(), this.rules.other.startAngleBracket.test(r) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n) ? r = r.slice(1) : r = r.slice(1, -1)), tn(t, { href: r && r.replace(this.rules.inline.anyPunctuation, "$1"), title: i && i.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
1962
1971
  }
1963
1972
  }
1964
1973
  reflink(e, t) {
@@ -1969,31 +1978,34 @@ ${u}` : u;
1969
1978
  let a = n[0].charAt(0);
1970
1979
  return { type: "text", raw: a, text: a };
1971
1980
  }
1972
- return en(n, i, n[0], this.lexer, this.rules);
1981
+ return tn(n, i, n[0], this.lexer, this.rules);
1973
1982
  }
1974
1983
  }
1975
1984
  emStrong(e, t, n = "") {
1976
1985
  let r = this.rules.inline.emStrongLDelim.exec(e);
1977
1986
  if (!(!r || !r[1] && !r[2] && !r[3] && !r[4] || r[4] && n.match(this.rules.other.unicodeAlphaNumeric)) && (!(r[1] || r[3]) || !n || this.rules.inline.punctuation.exec(n))) {
1978
- let i = [...r[0]].length - 1, a, s, o = i, l = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
1979
- for (c.lastIndex = 0, t = t.slice(-1 * e.length + i); (r = c.exec(t)) !== null; ) {
1987
+ let i = [...r[0]].length - 1, a, s, o = i, l = 0, c = r[0][0], u = n === c, f = c === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
1988
+ for (f.lastIndex = 0, t = t.slice(-1 * e.length + i); (r = f.exec(t)) !== null; ) {
1980
1989
  if (a = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !a) continue;
1981
1990
  if (s = [...a].length, r[3] || r[4]) {
1982
1991
  o += s;
1983
1992
  continue;
1984
- } else if ((r[5] || r[6]) && i % 3 && !((i + s) % 3)) {
1985
- l += s;
1986
- continue;
1993
+ } else if (r[5] || r[6]) {
1994
+ if (i % 3 && !((i + s) % 3)) {
1995
+ l += s;
1996
+ continue;
1997
+ }
1998
+ if (u) break;
1987
1999
  }
1988
2000
  if (o -= s, o > 0) continue;
1989
2001
  s = Math.min(s, s + o + l);
1990
- let u = [...r[0]][0].length, f = e.slice(0, i + r.index + u + s);
2002
+ let g = [...r[0]][0].length, y = e.slice(0, i + r.index + g + s);
1991
2003
  if (Math.min(i, s) % 2) {
1992
- let y = f.slice(1, -1);
1993
- return { type: "em", raw: f, text: y, tokens: this.lexer.inlineTokens(y) };
2004
+ let A = y.slice(1, -1);
2005
+ return { type: "em", raw: y, text: A, tokens: this.lexer.inlineTokens(A) };
1994
2006
  }
1995
- let g = f.slice(2, -2);
1996
- return { type: "strong", raw: f, text: g, tokens: this.lexer.inlineTokens(g) };
2007
+ let x = y.slice(2, -2);
2008
+ return { type: "strong", raw: y, text: x, tokens: this.lexer.inlineTokens(x) };
1997
2009
  }
1998
2010
  }
1999
2011
  }
@@ -2054,25 +2066,25 @@ ${u}` : u;
2054
2066
  return { type: "text", raw: t[0], text: t[0], escaped: n };
2055
2067
  }
2056
2068
  }
2057
- }, j = class ct {
2069
+ }, Y = class ut {
2058
2070
  tokens;
2059
2071
  options;
2060
2072
  state;
2061
2073
  inlineQueue;
2062
2074
  tokenizer;
2063
2075
  constructor(t) {
2064
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || le, this.options.tokenizer = this.options.tokenizer || new ze(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
2065
- let n = { other: P, block: Fe.normal, inline: ye.normal };
2066
- this.options.pedantic ? (n.block = Fe.pedantic, n.inline = ye.pedantic) : this.options.gfm && (n.block = Fe.gfm, this.options.breaks ? n.inline = ye.breaks : n.inline = ye.gfm), this.tokenizer.rules = n;
2076
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || ce, this.options.tokenizer = this.options.tokenizer || new Be(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
2077
+ let n = { other: P, block: Ie.normal, inline: we.normal };
2078
+ this.options.pedantic ? (n.block = Ie.pedantic, n.inline = we.pedantic) : this.options.gfm && (n.block = Ie.gfm, this.options.breaks ? n.inline = we.breaks : n.inline = we.gfm), this.tokenizer.rules = n;
2067
2079
  }
2068
2080
  static get rules() {
2069
- return { block: Fe, inline: ye };
2081
+ return { block: Ie, inline: we };
2070
2082
  }
2071
2083
  static lex(t, n) {
2072
- return new ct(n).lex(t);
2084
+ return new ut(n).lex(t);
2073
2085
  }
2074
2086
  static lexInline(t, n) {
2075
- return new ct(n).inlineTokens(t);
2087
+ return new ut(n).inlineTokens(t);
2076
2088
  }
2077
2089
  lex(t) {
2078
2090
  t = t.replace(P.carriageReturn, `
@@ -2273,11 +2285,11 @@ ${u}` : u;
2273
2285
  if (this.options.silent) console.error(n);
2274
2286
  else throw new Error(n);
2275
2287
  }
2276
- }, Me = class {
2288
+ }, De = class {
2277
2289
  options;
2278
2290
  parser;
2279
2291
  constructor(e) {
2280
- this.options = e || le;
2292
+ this.options = e || ce;
2281
2293
  }
2282
2294
  space(e) {
2283
2295
  return "";
@@ -2285,8 +2297,8 @@ ${u}` : u;
2285
2297
  code({ text: e, lang: t, escaped: n }) {
2286
2298
  let r = (t || "").match(P.notSpaceStart)?.[0], i = e.replace(P.endingNewline, "") + `
2287
2299
  `;
2288
- return r ? '<pre><code class="language-' + W(r) + '">' + (n ? i : W(i, !0)) + `</code></pre>
2289
- ` : "<pre><code>" + (n ? i : W(i, !0)) + `</code></pre>
2300
+ return r ? '<pre><code class="language-' + K(r) + '">' + (n ? i : K(i, !0)) + `</code></pre>
2301
+ ` : "<pre><code>" + (n ? i : K(i, !0)) + `</code></pre>
2290
2302
  `;
2291
2303
  }
2292
2304
  blockquote({ tokens: e }) {
@@ -2364,7 +2376,7 @@ ${e}</tr>
2364
2376
  return `<em>${this.parser.parseInline(e)}</em>`;
2365
2377
  }
2366
2378
  codespan({ text: e }) {
2367
- return `<code>${W(e, !0)}</code>`;
2379
+ return `<code>${K(e, !0)}</code>`;
2368
2380
  }
2369
2381
  br(e) {
2370
2382
  return "<br>";
@@ -2373,24 +2385,24 @@ ${e}</tr>
2373
2385
  return `<del>${this.parser.parseInline(e)}</del>`;
2374
2386
  }
2375
2387
  link({ href: e, title: t, tokens: n }) {
2376
- let r = this.parser.parseInline(n), i = Qt(e);
2388
+ let r = this.parser.parseInline(n), i = Xt(e);
2377
2389
  if (i === null) return r;
2378
2390
  e = i;
2379
2391
  let a = '<a href="' + e + '"';
2380
- return t && (a += ' title="' + W(t) + '"'), a += ">" + r + "</a>", a;
2392
+ return t && (a += ' title="' + K(t) + '"'), a += ">" + r + "</a>", a;
2381
2393
  }
2382
2394
  image({ href: e, title: t, text: n, tokens: r }) {
2383
2395
  r && (n = this.parser.parseInline(r, this.parser.textRenderer));
2384
- let i = Qt(e);
2385
- if (i === null) return W(n);
2396
+ let i = Xt(e);
2397
+ if (i === null) return K(n);
2386
2398
  e = i;
2387
- let a = `<img src="${e}" alt="${W(n)}"`;
2388
- return t && (a += ` title="${W(t)}"`), a += ">", a;
2399
+ let a = `<img src="${e}" alt="${K(n)}"`;
2400
+ return t && (a += ` title="${K(t)}"`), a += ">", a;
2389
2401
  }
2390
2402
  text(e) {
2391
- return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : W(e.text);
2403
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : K(e.text);
2392
2404
  }
2393
- }, It = class {
2405
+ }, Ft = class {
2394
2406
  strong({ text: e }) {
2395
2407
  return e;
2396
2408
  }
@@ -2421,18 +2433,18 @@ ${e}</tr>
2421
2433
  checkbox({ raw: e }) {
2422
2434
  return e;
2423
2435
  }
2424
- }, U = class ut {
2436
+ }, U = class pt {
2425
2437
  options;
2426
2438
  renderer;
2427
2439
  textRenderer;
2428
2440
  constructor(t) {
2429
- this.options = t || le, this.options.renderer = this.options.renderer || new Me(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new It();
2441
+ this.options = t || ce, this.options.renderer = this.options.renderer || new De(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Ft();
2430
2442
  }
2431
2443
  static parse(t, n) {
2432
- return new ut(n).parse(t);
2444
+ return new pt(n).parse(t);
2433
2445
  }
2434
2446
  static parseInline(t, n) {
2435
- return new ut(n).parseInline(t);
2447
+ return new pt(n).parseInline(t);
2436
2448
  }
2437
2449
  parse(t) {
2438
2450
  this.renderer.parser = this;
@@ -2441,7 +2453,7 @@ ${e}</tr>
2441
2453
  let i = t[r];
2442
2454
  if (this.options.extensions?.renderers?.[i.type]) {
2443
2455
  let s = i, o = this.options.extensions.renderers[s.type].call({ parser: this }, s);
2444
- if (o !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(s.type)) {
2456
+ if (o !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "checkbox", "html", "def", "paragraph", "text"].includes(s.type)) {
2445
2457
  n += o || "";
2446
2458
  continue;
2447
2459
  }
@@ -2512,7 +2524,7 @@ ${e}</tr>
2512
2524
  let a = t[i];
2513
2525
  if (this.options.extensions?.renderers?.[a.type]) {
2514
2526
  let o = this.options.extensions.renderers[a.type].call({ parser: this }, a);
2515
- if (o !== !1 || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(a.type)) {
2527
+ if (o !== !1 || !["escape", "html", "link", "image", "checkbox", "strong", "em", "codespan", "br", "del", "text"].includes(a.type)) {
2516
2528
  r += o || "";
2517
2529
  continue;
2518
2530
  }
@@ -2572,11 +2584,11 @@ ${e}</tr>
2572
2584
  }
2573
2585
  return r;
2574
2586
  }
2575
- }, we = class {
2587
+ }, ve = class {
2576
2588
  options;
2577
2589
  block;
2578
2590
  constructor(e) {
2579
- this.options = e || le;
2591
+ this.options = e || ce;
2580
2592
  }
2581
2593
  static passThroughHooks = /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"]);
2582
2594
  static passThroughHooksRespectAsync = /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"]);
@@ -2593,22 +2605,22 @@ ${e}</tr>
2593
2605
  return e;
2594
2606
  }
2595
2607
  provideLexer(e = this.block) {
2596
- return e ? j.lex : j.lexInline;
2608
+ return e ? Y.lex : Y.lexInline;
2597
2609
  }
2598
2610
  provideParser(e = this.block) {
2599
2611
  return e ? U.parse : U.parseInline;
2600
2612
  }
2601
2613
  }, Fn = class {
2602
- defaults = vt();
2614
+ defaults = At();
2603
2615
  options = this.setOptions;
2604
2616
  parse = this.parseMarkdown(!0);
2605
2617
  parseInline = this.parseMarkdown(!1);
2606
2618
  Parser = U;
2607
- Renderer = Me;
2608
- TextRenderer = It;
2609
- Lexer = j;
2610
- Tokenizer = ze;
2611
- Hooks = we;
2619
+ Renderer = De;
2620
+ TextRenderer = Ft;
2621
+ Lexer = Y;
2622
+ Tokenizer = Be;
2623
+ Hooks = ve;
2612
2624
  constructor(...e) {
2613
2625
  this.use(...e);
2614
2626
  }
@@ -2656,7 +2668,7 @@ ${e}</tr>
2656
2668
  }
2657
2669
  "childTokens" in i && i.childTokens && (t.childTokens[i.name] = i.childTokens);
2658
2670
  }), r.extensions = t), n.renderer) {
2659
- let i = this.defaults.renderer || new Me(this.defaults);
2671
+ let i = this.defaults.renderer || new De(this.defaults);
2660
2672
  for (let a in n.renderer) {
2661
2673
  if (!(a in i)) throw new Error(`renderer '${a}' does not exist`);
2662
2674
  if (["options", "parser"].includes(a)) continue;
@@ -2669,7 +2681,7 @@ ${e}</tr>
2669
2681
  r.renderer = i;
2670
2682
  }
2671
2683
  if (n.tokenizer) {
2672
- let i = this.defaults.tokenizer || new ze(this.defaults);
2684
+ let i = this.defaults.tokenizer || new Be(this.defaults);
2673
2685
  for (let a in n.tokenizer) {
2674
2686
  if (!(a in i)) throw new Error(`tokenizer '${a}' does not exist`);
2675
2687
  if (["options", "rules", "lexer"].includes(a)) continue;
@@ -2682,13 +2694,13 @@ ${e}</tr>
2682
2694
  r.tokenizer = i;
2683
2695
  }
2684
2696
  if (n.hooks) {
2685
- let i = this.defaults.hooks || new we();
2697
+ let i = this.defaults.hooks || new ve();
2686
2698
  for (let a in n.hooks) {
2687
2699
  if (!(a in i)) throw new Error(`hook '${a}' does not exist`);
2688
2700
  if (["options", "block"].includes(a)) continue;
2689
2701
  let s = a, o = n.hooks[s], l = i[s];
2690
- we.passThroughHooks.has(a) ? i[s] = (c) => {
2691
- if (this.defaults.async && we.passThroughHooksRespectAsync.has(a)) return (async () => {
2702
+ ve.passThroughHooks.has(a) ? i[s] = (c) => {
2703
+ if (this.defaults.async && ve.passThroughHooksRespectAsync.has(a)) return (async () => {
2692
2704
  let f = await o.call(i, c);
2693
2705
  return l.call(i, f);
2694
2706
  })();
@@ -2719,7 +2731,7 @@ ${e}</tr>
2719
2731
  return this.defaults = { ...this.defaults, ...e }, this;
2720
2732
  }
2721
2733
  lexer(e, t) {
2722
- return j.lex(e, t ?? this.defaults);
2734
+ return Y.lex(e, t ?? this.defaults);
2723
2735
  }
2724
2736
  parser(e, t) {
2725
2737
  return U.parse(e, t ?? this.defaults);
@@ -2731,14 +2743,14 @@ ${e}</tr>
2731
2743
  if (typeof t > "u" || t === null) return a(new Error("marked(): input parameter is undefined or null"));
2732
2744
  if (typeof t != "string") return a(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
2733
2745
  if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
2734
- let s = i.hooks ? await i.hooks.preprocess(t) : t, o = await (i.hooks ? await i.hooks.provideLexer(e) : e ? j.lex : j.lexInline)(s, i), l = i.hooks ? await i.hooks.processAllTokens(o) : o;
2746
+ let s = i.hooks ? await i.hooks.preprocess(t) : t, o = await (i.hooks ? await i.hooks.provideLexer(e) : e ? Y.lex : Y.lexInline)(s, i), l = i.hooks ? await i.hooks.processAllTokens(o) : o;
2735
2747
  i.walkTokens && await Promise.all(this.walkTokens(l, i.walkTokens));
2736
2748
  let c = await (i.hooks ? await i.hooks.provideParser(e) : e ? U.parse : U.parseInline)(l, i);
2737
2749
  return i.hooks ? await i.hooks.postprocess(c) : c;
2738
2750
  })().catch(a);
2739
2751
  try {
2740
2752
  i.hooks && (t = i.hooks.preprocess(t));
2741
- let s = (i.hooks ? i.hooks.provideLexer(e) : e ? j.lex : j.lexInline)(t, i);
2753
+ let s = (i.hooks ? i.hooks.provideLexer(e) : e ? Y.lex : Y.lexInline)(t, i);
2742
2754
  i.hooks && (s = i.hooks.processAllTokens(s)), i.walkTokens && this.walkTokens(s, i.walkTokens);
2743
2755
  let o = (i.hooks ? i.hooks.provideParser(e) : e ? U.parse : U.parseInline)(s, i);
2744
2756
  return i.hooks && (o = i.hooks.postprocess(o)), o;
@@ -2751,48 +2763,48 @@ ${e}</tr>
2751
2763
  return (n) => {
2752
2764
  if (n.message += `
2753
2765
  Please report this to https://github.com/markedjs/marked.`, e) {
2754
- let r = "<p>An error occurred:</p><pre>" + W(n.message + "", !0) + "</pre>";
2766
+ let r = "<p>An error occurred:</p><pre>" + K(n.message + "", !0) + "</pre>";
2755
2767
  return t ? Promise.resolve(r) : r;
2756
2768
  }
2757
2769
  if (t) return Promise.reject(n);
2758
2770
  throw n;
2759
2771
  };
2760
2772
  }
2761
- }, se = new Fn();
2762
- function F(e, t) {
2763
- return se.parse(e, t);
2773
+ }, le = new Fn();
2774
+ function $(e, t) {
2775
+ return le.parse(e, t);
2764
2776
  }
2765
- F.options = F.setOptions = function(e) {
2766
- return se.setOptions(e), F.defaults = se.defaults, bn(F.defaults), F;
2767
- };
2768
- F.getDefaults = vt;
2769
- F.defaults = le;
2770
- F.use = function(...e) {
2771
- return se.use(...e), F.defaults = se.defaults, bn(F.defaults), F;
2777
+ $.options = $.setOptions = function(e) {
2778
+ return le.setOptions(e), $.defaults = le.defaults, yn($.defaults), $;
2772
2779
  };
2773
- F.walkTokens = function(e, t) {
2774
- return se.walkTokens(e, t);
2780
+ $.getDefaults = At;
2781
+ $.defaults = ce;
2782
+ function ja(...e) {
2783
+ return le.use(...e), $.defaults = le.defaults, yn($.defaults), $;
2784
+ }
2785
+ $.use = ja;
2786
+ $.walkTokens = function(e, t) {
2787
+ return le.walkTokens(e, t);
2775
2788
  };
2776
- F.parseInline = se.parseInline;
2777
- F.Parser = U;
2778
- F.parser = U.parse;
2779
- F.Renderer = Me;
2780
- F.TextRenderer = It;
2781
- F.Lexer = j;
2782
- F.lexer = j.lex;
2783
- F.Tokenizer = ze;
2784
- F.Hooks = we;
2785
- F.parse = F;
2786
- F.options;
2787
- F.setOptions;
2788
- F.use;
2789
- F.walkTokens;
2790
- F.parseInline;
2789
+ $.parseInline = le.parseInline;
2790
+ $.Parser = U;
2791
+ $.parser = U.parse;
2792
+ $.Renderer = De;
2793
+ $.TextRenderer = Ft;
2794
+ $.Lexer = Y;
2795
+ $.lexer = Y.lex;
2796
+ $.Tokenizer = Be;
2797
+ $.Hooks = ve;
2798
+ $.parse = $;
2799
+ $.options;
2800
+ $.setOptions;
2801
+ $.walkTokens;
2802
+ $.parseInline;
2791
2803
  U.parse;
2792
- j.lex;
2793
- var Je = { exports: {} }, tn;
2794
- function La() {
2795
- return tn || (tn = 1, function(e) {
2804
+ Y.lex;
2805
+ var et = { exports: {} }, nn;
2806
+ function Ya() {
2807
+ return nn || (nn = 1, function(e) {
2796
2808
  var t = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
2797
2809
  /**
2798
2810
  * Prism: Lightweight, robust, elegant syntax highlighting
@@ -3146,9 +3158,9 @@ function La() {
3146
3158
  d.hasOwnProperty(w) && (v[w] = d[w]);
3147
3159
  d.hasOwnProperty(E) || (v[E] = m[E]);
3148
3160
  }
3149
- var _ = k[p];
3150
- return k[p] = v, o.languages.DFS(o.languages, function(N, Q) {
3151
- Q === _ && N != p && (this[N] = v);
3161
+ var I = k[p];
3162
+ return k[p] = v, o.languages.DFS(o.languages, function(N, X) {
3163
+ X === I && N != p && (this[N] = v);
3152
3164
  }), v;
3153
3165
  },
3154
3166
  // Traverse a language definition with Depth First Search
@@ -3158,8 +3170,8 @@ function La() {
3158
3170
  for (var E in h)
3159
3171
  if (h.hasOwnProperty(E)) {
3160
3172
  d.call(h, E, h[E], k || E);
3161
- var w = h[E], _ = o.util.type(w);
3162
- _ === "Object" && !m[v(w)] ? (m[v(w)] = !0, p(w, d, null, m)) : _ === "Array" && !m[v(w)] && (m[v(w)] = !0, p(w, d, E, m));
3173
+ var w = h[E], I = o.util.type(w);
3174
+ I === "Object" && !m[v(w)] ? (m[v(w)] = !0, p(w, d, null, m)) : I === "Array" && !m[v(w)] && (m[v(w)] = !0, p(w, d, E, m));
3163
3175
  }
3164
3176
  }
3165
3177
  },
@@ -3243,28 +3255,28 @@ function La() {
3243
3255
  grammar: m,
3244
3256
  code: E
3245
3257
  };
3246
- function _(Q) {
3247
- w.highlightedCode = Q, o.hooks.run("before-insert", w), w.element.innerHTML = w.highlightedCode, o.hooks.run("after-highlight", w), o.hooks.run("complete", w), d && d.call(w.element);
3258
+ function I(X) {
3259
+ w.highlightedCode = X, o.hooks.run("before-insert", w), w.element.innerHTML = w.highlightedCode, o.hooks.run("after-highlight", w), o.hooks.run("complete", w), d && d.call(w.element);
3248
3260
  }
3249
3261
  if (o.hooks.run("before-sanity-check", w), v = w.element.parentElement, v && v.nodeName.toLowerCase() === "pre" && !v.hasAttribute("tabindex") && v.setAttribute("tabindex", "0"), !w.code) {
3250
3262
  o.hooks.run("complete", w), d && d.call(w.element);
3251
3263
  return;
3252
3264
  }
3253
3265
  if (o.hooks.run("before-highlight", w), !w.grammar) {
3254
- _(o.util.encode(w.code));
3266
+ I(o.util.encode(w.code));
3255
3267
  return;
3256
3268
  }
3257
3269
  if (h && r.Worker) {
3258
3270
  var N = new Worker(o.filename);
3259
- N.onmessage = function(Q) {
3260
- _(Q.data);
3271
+ N.onmessage = function(X) {
3272
+ I(X.data);
3261
3273
  }, N.postMessage(JSON.stringify({
3262
3274
  language: w.language,
3263
3275
  code: w.code,
3264
3276
  immediateClose: !0
3265
3277
  }));
3266
3278
  } else
3267
- _(o.highlight(w.code, w.grammar, w.language));
3279
+ I(o.highlight(w.code, w.grammar, w.language));
3268
3280
  },
3269
3281
  /**
3270
3282
  * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
@@ -3380,8 +3392,8 @@ function La() {
3380
3392
  return h;
3381
3393
  if (Array.isArray(h)) {
3382
3394
  var k = "";
3383
- return h.forEach(function(_) {
3384
- k += p(_, d);
3395
+ return h.forEach(function(I) {
3396
+ k += p(I, d);
3385
3397
  }), k;
3386
3398
  }
3387
3399
  var m = {
@@ -3412,42 +3424,42 @@ function La() {
3412
3424
  if (!(!d.hasOwnProperty(E) || !d[E])) {
3413
3425
  var w = d[E];
3414
3426
  w = Array.isArray(w) ? w : [w];
3415
- for (var _ = 0; _ < w.length; ++_) {
3416
- if (v && v.cause == E + "," + _)
3427
+ for (var I = 0; I < w.length; ++I) {
3428
+ if (v && v.cause == E + "," + I)
3417
3429
  return;
3418
- var N = w[_], Q = N.inside, Rt = !!N.lookbehind, Nt = !!N.greedy, zn = N.alias;
3430
+ var N = w[I], X = N.inside, Rt = !!N.lookbehind, Nt = !!N.greedy, Mn = N.alias;
3419
3431
  if (Nt && !N.pattern.global) {
3420
- var Mn = N.pattern.toString().match(/[imsuy]*$/)[0];
3421
- N.pattern = RegExp(N.pattern.source, Mn + "g");
3432
+ var Bn = N.pattern.toString().match(/[imsuy]*$/)[0];
3433
+ N.pattern = RegExp(N.pattern.source, Bn + "g");
3422
3434
  }
3423
3435
  for (var Lt = N.pattern || N, L = k.next, H = m; L !== h.tail && !(v && H >= v.reach); H += L.value.length, L = L.next) {
3424
- var ce = L.value;
3436
+ var ue = L.value;
3425
3437
  if (h.length > p.length)
3426
3438
  return;
3427
- if (!(ce instanceof l)) {
3428
- var Te = 1, q;
3439
+ if (!(ue instanceof l)) {
3440
+ var Ce = 1, q;
3429
3441
  if (Nt) {
3430
3442
  if (q = c(Lt, H, p, Rt), !q || q.index >= p.length)
3431
3443
  break;
3432
- var Ee = q.index, Bn = q.index + q[0].length, X = H;
3433
- for (X += L.value.length; Ee >= X; )
3434
- L = L.next, X += L.value.length;
3435
- if (X -= L.value.length, H = X, L.value instanceof l)
3444
+ var _e = q.index, Dn = q.index + q[0].length, J = H;
3445
+ for (J += L.value.length; _e >= J; )
3446
+ L = L.next, J += L.value.length;
3447
+ if (J -= L.value.length, H = J, L.value instanceof l)
3436
3448
  continue;
3437
- for (var xe = L; xe !== h.tail && (X < Bn || typeof xe.value == "string"); xe = xe.next)
3438
- Te++, X += xe.value.length;
3439
- Te--, ce = p.slice(H, X), q.index -= H;
3440
- } else if (q = c(Lt, 0, ce, Rt), !q)
3449
+ for (var be = L; be !== h.tail && (J < Dn || typeof be.value == "string"); be = be.next)
3450
+ Ce++, J += be.value.length;
3451
+ Ce--, ue = p.slice(H, J), q.index -= H;
3452
+ } else if (q = c(Lt, 0, ue, Rt), !q)
3441
3453
  continue;
3442
- var Ee = q.index, Ce = q[0], Ge = ce.slice(0, Ee), Pt = ce.slice(Ee + Ce.length), He = H + ce.length;
3443
- v && He > v.reach && (v.reach = He);
3444
- var $e = L.prev;
3445
- Ge && ($e = g(h, $e, Ge), H += Ge.length), y(h, $e, Te);
3446
- var Dn = new l(E, Q ? o.tokenize(Ce, Q) : Ce, zn, Ce);
3447
- if (L = g(h, $e, Dn), Pt && g(h, L, Pt), Te > 1) {
3454
+ var _e = q.index, $e = q[0], He = ue.slice(0, _e), Pt = ue.slice(_e + $e.length), Ke = H + ue.length;
3455
+ v && Ke > v.reach && (v.reach = Ke);
3456
+ var Fe = L.prev;
3457
+ He && (Fe = g(h, Fe, He), H += He.length), y(h, Fe, Ce);
3458
+ var qn = new l(E, X ? o.tokenize($e, X) : $e, Mn, $e);
3459
+ if (L = g(h, Fe, qn), Pt && g(h, L, Pt), Ce > 1) {
3448
3460
  var We = {
3449
- cause: E + "," + _,
3450
- reach: He
3461
+ cause: E + "," + I,
3462
+ reach: Ke
3451
3463
  };
3452
3464
  u(p, h, d, L.prev, H, We), v && We.reach > v.reach && (v.reach = We.reach);
3453
3465
  }
@@ -3485,8 +3497,8 @@ function La() {
3485
3497
  o.manual || o.highlightAll();
3486
3498
  }
3487
3499
  if (!o.manual) {
3488
- var I = document.readyState;
3489
- I === "loading" || I === "interactive" && A && A.defer ? document.addEventListener("DOMContentLoaded", S) : window.requestAnimationFrame ? window.requestAnimationFrame(S) : window.setTimeout(S, 16);
3500
+ var F = document.readyState;
3501
+ F === "loading" || F === "interactive" && A && A.defer ? document.addEventListener("DOMContentLoaded", S) : window.requestAnimationFrame ? window.requestAnimationFrame(S) : window.setTimeout(S, 16);
3490
3502
  }
3491
3503
  return o;
3492
3504
  }(t);
@@ -3881,17 +3893,17 @@ function La() {
3881
3893
  h: "c",
3882
3894
  tex: "latex"
3883
3895
  }, o = "data-src-status", l = "loading", c = "loaded", u = "failed", f = "pre[data-src]:not([" + o + '="' + c + '"]):not([' + o + '="' + l + '"])';
3884
- function g(A, S, I) {
3896
+ function g(A, S, F) {
3885
3897
  var p = new XMLHttpRequest();
3886
3898
  p.open("GET", A, !0), p.onreadystatechange = function() {
3887
- p.readyState == 4 && (p.status < 400 && p.responseText ? S(p.responseText) : p.status >= 400 ? I(i(p.status, p.statusText)) : I(a));
3899
+ p.readyState == 4 && (p.status < 400 && p.responseText ? S(p.responseText) : p.status >= 400 ? F(i(p.status, p.statusText)) : F(a));
3888
3900
  }, p.send(null);
3889
3901
  }
3890
3902
  function y(A) {
3891
3903
  var S = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(A || "");
3892
3904
  if (S) {
3893
- var I = Number(S[1]), p = S[2], h = S[3];
3894
- return p ? h ? [I, Number(h)] : [I, void 0] : [I, I];
3905
+ var F = Number(S[1]), p = S[2], h = S[3];
3906
+ return p ? h ? [F, Number(h)] : [F, void 0] : [F, F];
3895
3907
  }
3896
3908
  }
3897
3909
  n.hooks.add("before-highlightall", function(A) {
@@ -3903,14 +3915,14 @@ function La() {
3903
3915
  );
3904
3916
  if (S.matches(f)) {
3905
3917
  A.code = "", S.setAttribute(o, l);
3906
- var I = S.appendChild(document.createElement("CODE"));
3907
- I.textContent = r;
3918
+ var F = S.appendChild(document.createElement("CODE"));
3919
+ F.textContent = r;
3908
3920
  var p = S.getAttribute("data-src"), h = A.language;
3909
3921
  if (h === "none") {
3910
3922
  var d = (/\.(\w+)$/.exec(p) || [, "none"])[1];
3911
3923
  h = s[d] || d;
3912
3924
  }
3913
- n.util.setLanguage(I, h), n.util.setLanguage(S, h);
3925
+ n.util.setLanguage(F, h), n.util.setLanguage(S, h);
3914
3926
  var k = n.plugins.autoloader;
3915
3927
  k && k.loadLanguages(h), g(
3916
3928
  p,
@@ -3918,14 +3930,14 @@ function La() {
3918
3930
  S.setAttribute(o, c);
3919
3931
  var v = y(S.getAttribute("data-range"));
3920
3932
  if (v) {
3921
- var E = m.split(/\r\n?|\n/g), w = v[0], _ = v[1] == null ? E.length : v[1];
3922
- w < 0 && (w += E.length), w = Math.max(0, Math.min(w - 1, E.length)), _ < 0 && (_ += E.length), _ = Math.max(0, Math.min(_, E.length)), m = E.slice(w, _).join(`
3933
+ var E = m.split(/\r\n?|\n/g), w = v[0], I = v[1] == null ? E.length : v[1];
3934
+ w < 0 && (w += E.length), w = Math.max(0, Math.min(w - 1, E.length)), I < 0 && (I += E.length), I = Math.max(0, Math.min(I, E.length)), m = E.slice(w, I).join(`
3923
3935
  `), S.hasAttribute("data-start") || S.setAttribute("data-start", String(w + 1));
3924
3936
  }
3925
- I.textContent = m, n.highlightElement(I);
3937
+ F.textContent = m, n.highlightElement(F);
3926
3938
  },
3927
3939
  function(m) {
3928
- S.setAttribute(o, u), I.textContent = m;
3940
+ S.setAttribute(o, u), F.textContent = m;
3929
3941
  }
3930
3942
  );
3931
3943
  }
@@ -3938,7 +3950,7 @@ function La() {
3938
3950
  * @param {ParentNode} [container=document]
3939
3951
  */
3940
3952
  highlight: function(S) {
3941
- for (var I = (S || document).querySelectorAll(f), p = 0, h; h = I[p++]; )
3953
+ for (var F = (S || document).querySelectorAll(f), p = 0, h; h = F[p++]; )
3942
3954
  n.highlightElement(h);
3943
3955
  }
3944
3956
  };
@@ -3947,73 +3959,73 @@ function La() {
3947
3959
  x || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), x = !0), n.plugins.fileHighlight.highlight.apply(this, arguments);
3948
3960
  };
3949
3961
  }();
3950
- }(Je)), Je.exports;
3962
+ }(et)), et.exports;
3951
3963
  }
3952
- var et = La();
3953
- const pt = "mermaid", Pa = "cx-frontmatter", Oa = /^---[ \t]*\r?\n([\s\S]*?)\r?\n---[ \t]*(?:\r?\n|$)/;
3954
- function za(e) {
3955
- const t = Oa.exec(e);
3964
+ var tt = Ya();
3965
+ const ht = "mermaid", Ua = "cx-frontmatter", Ga = /^---[ \t]*\r?\n([\s\S]*?)\r?\n---[ \t]*(?:\r?\n|$)/;
3966
+ function Ha(e) {
3967
+ const t = Ga.exec(e);
3956
3968
  if (!t)
3957
3969
  return { body: e, data: {}, raw: "" };
3958
3970
  const n = t[1], r = e.slice(t[0].length);
3959
3971
  try {
3960
- const i = Gi(n);
3972
+ const i = Hi(n);
3961
3973
  if (i && typeof i == "object" && !Array.isArray(i))
3962
3974
  return { body: r, data: i, raw: n };
3963
3975
  } catch {
3964
3976
  }
3965
3977
  return { body: r, data: {}, raw: n };
3966
3978
  }
3967
- function Ma(e, t) {
3968
- return `<details class="${Pa}"><summary>${ht(t)}</summary><pre>${ht(e)}</pre></details>`;
3979
+ function Ka(e, t) {
3980
+ return `<details class="${Ua}"><summary>${ft(t)}</summary><pre>${ft(e)}</pre></details>`;
3969
3981
  }
3970
- function ht(e) {
3982
+ function ft(e) {
3971
3983
  return e.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#39;");
3972
3984
  }
3973
- const Ba = {
3985
+ const Wa = {
3974
3986
  code({ escaped: e, lang: t, text: n }) {
3975
- const r = (t || "").match(/\S*/)?.[0]?.toLowerCase(), i = e ? n : ht(n);
3976
- if (r === pt)
3977
- return `<pre class="${pt}">${i}</pre>`;
3987
+ const r = (t || "").match(/\S*/)?.[0]?.toLowerCase(), i = e ? n : ft(n);
3988
+ if (r === ht)
3989
+ return `<pre class="${ht}">${i}</pre>`;
3978
3990
  const a = ["ts", "typescript", "js", "javascript"].includes(
3979
3991
  r ?? ""
3980
3992
  ) ? "javascript" : r;
3981
- if (!a || !et.languages[a])
3993
+ if (!a || !tt.languages[a])
3982
3994
  return `<pre class="language-"><code>${i}</code></pre>`;
3983
- const s = et.highlight(n, et.languages[a], a);
3995
+ const s = tt.highlight(n, tt.languages[a], a);
3984
3996
  return `<pre class="language-${a}"><code>${s}</code></pre>`;
3985
3997
  }
3986
3998
  };
3987
3999
  function In() {
3988
4000
  const e = new Fn();
3989
- return e.use({ renderer: Ba }), e;
4001
+ return e.use({ renderer: Wa }), e;
3990
4002
  }
3991
- const Da = dt`:host{line-height:1.6;display:block}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{margin:var(--cx-spacing-x-large) 0 var(--cx-spacing-medium);font-weight:var(--cx-font-weight-semibold);line-height:1.3;display:block}:host p,:host ul,:host ol,:host blockquote,:host pre{display:block}:host :first-child{margin-top:0}:host h1{padding-bottom:var(--cx-spacing-x-small);border-bottom:1px solid var(--cx-color-neutral-300);font-size:var(--cx-font-size-2x-large)}:host h2{padding-bottom:var(--cx-spacing-x-small);border-bottom:1px solid var(--cx-color-neutral-300);font-size:var(--cx-font-size-x-large)}:host h3{font-size:var(--cx-font-size-large)}:host h4{font-size:var(--cx-font-size-medium-large)}:host h5{font-size:var(--cx-font-size-medium)}:host h6{color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-medium)}:host p{margin:0 0 var(--cx-spacing-medium)}:host ul,:host ol{margin:0 0 var(--cx-spacing-medium);padding-left:var(--cx-spacing-2x-large)}:host li+li{margin-top:var(--cx-spacing-2x-small)}:host li>ul,:host li>ol{margin-top:var(--cx-spacing-2x-small);margin-bottom:0}:host li>input[type=checkbox]{margin-right:var(--cx-spacing-2x-small)}:host blockquote{margin:0 0 var(--cx-spacing-medium);padding:var(--cx-spacing-small) var(--cx-spacing-medium);border-left:4px solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-100);color:var(--cx-color-neutral-700)}:host blockquote blockquote{margin-top:var(--cx-spacing-small);background:0 0}:host blockquote>:last-child{margin-bottom:0}:host a{color:var(--cx-color-primary-600);text-decoration:none}:host a:hover{text-decoration:underline}:host hr{height:0;margin:var(--cx-spacing-x-large) 0;border:0;border-top:1px solid var(--cx-color-neutral-300)}:host img{max-width:100%;height:auto}:host :not(pre)>code:not([class*=language-]){border-radius:var(--cx-border-radius-small);background:var(--cx-color-neutral-100);font-family:var(--cx-font-mono);padding:.15em .35em;font-size:.9em}:host table{margin:0 0 var(--cx-spacing-medium);border-collapse:collapse;width:auto;max-width:100%}:host th,:host td{padding:var(--cx-spacing-x-small) var(--cx-spacing-medium);border-bottom:1px solid var(--cx-color-neutral-200)}:host th:not([align]),:host td:not([align]),:host th[align=left],:host td[align=left]{text-align:left}:host th[align=center],:host td[align=center]{text-align:center}:host th[align=right],:host td[align=right]{text-align:right}:host th{border-bottom:2px solid var(--cx-color-neutral-300);font-weight:var(--cx-font-weight-semibold);white-space:nowrap}:host tbody tr:last-child td{border-bottom:0}:host kbd{border:1px solid var(--cx-color-neutral-300);border-radius:var(--cx-border-radius-small);background:var(--cx-color-neutral-100);font-family:var(--cx-font-mono);padding:.1em .4em;font-size:.85em}`, qa = dt`:host code[class*=language-],:host pre[class*=language-]{color:#000;text-shadow:0 1px #fff;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;tab-size:4;hyphens:none;background:0 0;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;line-height:1.5}:host code[class*=language-] ::-moz-selection,:host code[class*=language-]::-moz-selection,:host pre[class*=language-] ::-moz-selection,:host pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}:host code[class*=language-] ::selection,:host code[class*=language-]::selection,:host pre[class*=language-] ::selection,:host pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{:host code[class*=language-],:host pre[class*=language-]{text-shadow:none}}:host pre[class*=language-]{margin:.5em 0;padding:1em;overflow:auto}:host :not(pre)>code[class*=language-],:host pre[class*=language-]{background:#f5f2f0}:host :not(pre)>code[class*=language-]{white-space:normal;border-radius:.3em;padding:.1em}:host .token.cdata,:host .token.comment,:host .token.doctype,:host .token.prolog{color:#708090}:host .token.punctuation{color:#999}:host .token.namespace{opacity:.7}:host .token.boolean,:host .token.constant,:host .token.deleted,:host .token.number,:host .token.property,:host .token.symbol,:host .token.tag{color:#905}:host .token.attr-name,:host .token.builtin,:host .token.char,:host .token.inserted,:host .token.selector,:host .token.string{color:#690}:host .language-css .token.string,:host .style .token.string,:host .token.entity,:host .token.operator,:host .token.url{color:#9a6e3a;background:#ffffff80}:host .token.atrule,:host .token.attr-value,:host .token.keyword{color:#07a}:host .token.class-name,:host .token.function{color:#dd4a68}:host .token.important,:host .token.regex,:host .token.variable{color:#e90}:host .token.bold,:host .token.important{font-weight:700}:host .token.italic{font-style:italic}:host .token.entity{cursor:help}:host details.cx-frontmatter{margin:var(--cx-spacing-medium) 0;color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-small)}:host details.cx-frontmatter summary{cursor:pointer}:host details.cx-frontmatter pre{margin:var(--cx-spacing-2x-small) 0 0;padding:var(--cx-spacing-small);border-radius:var(--cx-border-radius-medium);background:var(--cx-color-neutral-100);overflow-x:auto}:host pre.mermaid{margin:var(--cx-spacing-medium) 0;text-align:center;background:0 0;overflow-x:auto}:host pre.mermaid svg{max-width:100%;height:auto}:host .cx-code-block{position:relative}:host .cx-code-block>cx-icon-button{opacity:0;transition:opacity var(--cx-transition-fast) ease;position:absolute;inset-block-start:var(--cx-spacing-2x-small);inset-inline-end:var(--cx-spacing-2x-small)}:host .cx-code-block:hover>cx-icon-button,:host .cx-code-block:focus-within>cx-icon-button{opacity:1}`, Ya = dt`
3992
- ${Da}
3993
- ${qa}
4003
+ const Za = mt`:host{line-height:1.6;display:block}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{margin:var(--cx-spacing-x-large) 0 var(--cx-spacing-medium);font-weight:var(--cx-font-weight-semibold);line-height:1.3;display:block}:host p,:host ul,:host ol,:host blockquote,:host pre{display:block}:host :first-child{margin-top:0}:host h1{padding-bottom:var(--cx-spacing-x-small);border-bottom:1px solid var(--cx-color-neutral-300);font-size:var(--cx-font-size-2x-large)}:host h2{padding-bottom:var(--cx-spacing-x-small);border-bottom:1px solid var(--cx-color-neutral-300);font-size:var(--cx-font-size-x-large)}:host h3{font-size:var(--cx-font-size-large)}:host h4{font-size:var(--cx-font-size-medium-large)}:host h5{font-size:var(--cx-font-size-medium)}:host h6{color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-medium)}:host p{margin:0 0 var(--cx-spacing-medium)}:host ul,:host ol{margin:0 0 var(--cx-spacing-medium);padding-left:var(--cx-spacing-2x-large)}:host li+li{margin-top:var(--cx-spacing-2x-small)}:host li>ul,:host li>ol{margin-top:var(--cx-spacing-2x-small);margin-bottom:0}:host li>input[type=checkbox]{margin-right:var(--cx-spacing-2x-small)}:host blockquote{margin:0 0 var(--cx-spacing-medium);padding:var(--cx-spacing-small) var(--cx-spacing-medium);border-left:4px solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-100);color:var(--cx-color-neutral-700)}:host blockquote blockquote{margin-top:var(--cx-spacing-small);background:0 0}:host blockquote>:last-child{margin-bottom:0}:host a{color:var(--cx-color-primary-600);text-decoration:none}:host a:hover{text-decoration:underline}:host hr{height:0;margin:var(--cx-spacing-x-large) 0;border:0;border-top:1px solid var(--cx-color-neutral-300)}:host img{max-width:100%;height:auto}:host :not(pre)>code:not([class*=language-]){border-radius:var(--cx-border-radius-small);background:var(--cx-color-neutral-100);font-family:var(--cx-font-mono);padding:.15em .35em;font-size:.9em}:host table{margin:0 0 var(--cx-spacing-medium);border-collapse:collapse;width:auto;max-width:100%}:host th,:host td{padding:var(--cx-spacing-x-small) var(--cx-spacing-medium);border-bottom:1px solid var(--cx-color-neutral-200)}:host th:not([align]),:host td:not([align]),:host th[align=left],:host td[align=left]{text-align:left}:host th[align=center],:host td[align=center]{text-align:center}:host th[align=right],:host td[align=right]{text-align:right}:host th{border-bottom:2px solid var(--cx-color-neutral-300);font-weight:var(--cx-font-weight-semibold);white-space:nowrap}:host tbody tr:last-child td{border-bottom:0}:host kbd{border:1px solid var(--cx-color-neutral-300);border-radius:var(--cx-border-radius-small);background:var(--cx-color-neutral-100);font-family:var(--cx-font-mono);padding:.1em .4em;font-size:.85em}`, Va = mt`:host code[class*=language-],:host pre[class*=language-]{color:#000;text-shadow:0 1px #fff;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;tab-size:4;hyphens:none;background:0 0;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;line-height:1.5}:host code[class*=language-] ::-moz-selection,:host code[class*=language-]::-moz-selection,:host pre[class*=language-] ::-moz-selection,:host pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}:host code[class*=language-] ::selection,:host code[class*=language-]::selection,:host pre[class*=language-] ::selection,:host pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{:host code[class*=language-],:host pre[class*=language-]{text-shadow:none}}:host pre[class*=language-]{margin:.5em 0;padding:1em;overflow:auto}:host :not(pre)>code[class*=language-],:host pre[class*=language-]{background:#f5f2f0}:host :not(pre)>code[class*=language-]{white-space:normal;border-radius:.3em;padding:.1em}:host .token.cdata,:host .token.comment,:host .token.doctype,:host .token.prolog{color:#708090}:host .token.punctuation{color:#999}:host .token.namespace{opacity:.7}:host .token.boolean,:host .token.constant,:host .token.deleted,:host .token.number,:host .token.property,:host .token.symbol,:host .token.tag{color:#905}:host .token.attr-name,:host .token.builtin,:host .token.char,:host .token.inserted,:host .token.selector,:host .token.string{color:#690}:host .language-css .token.string,:host .style .token.string,:host .token.entity,:host .token.operator,:host .token.url{color:#9a6e3a;background:#ffffff80}:host .token.atrule,:host .token.attr-value,:host .token.keyword{color:#07a}:host .token.class-name,:host .token.function{color:#dd4a68}:host .token.important,:host .token.regex,:host .token.variable{color:#e90}:host .token.bold,:host .token.important{font-weight:700}:host .token.italic{font-style:italic}:host .token.entity{cursor:help}:host details.cx-frontmatter{margin:var(--cx-spacing-medium) 0;color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-small)}:host details.cx-frontmatter summary{cursor:pointer}:host details.cx-frontmatter pre{margin:var(--cx-spacing-2x-small) 0 0;padding:var(--cx-spacing-small);border-radius:var(--cx-border-radius-medium);background:var(--cx-color-neutral-100);overflow-x:auto}:host pre.mermaid{margin:var(--cx-spacing-medium) 0;text-align:center;background:0 0;overflow-x:auto}:host pre.mermaid svg{max-width:100%;height:auto}:host .cx-code-block{position:relative}:host .cx-code-block>cx-icon-button{opacity:0;transition:opacity var(--cx-transition-fast) ease;position:absolute;inset-block-start:var(--cx-spacing-2x-small);inset-inline-end:var(--cx-spacing-2x-small)}:host .cx-code-block:hover>cx-icon-button,:host .cx-code-block:focus-within>cx-icon-button{opacity:1}`, Qa = mt`
4004
+ ${Za}
4005
+ ${Va}
3994
4006
  `;
3995
- var ja = Object.defineProperty, Ua = Object.getOwnPropertyDescriptor, _n = (e) => {
4007
+ var Xa = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor, Rn = (e) => {
3996
4008
  throw TypeError(e);
3997
- }, K = (e, t, n, r) => {
3998
- for (var i = r > 1 ? void 0 : r ? Ua(t, n) : t, a = e.length - 1, s; a >= 0; a--)
4009
+ }, W = (e, t, n, r) => {
4010
+ for (var i = r > 1 ? void 0 : r ? Ja(t, n) : t, a = e.length - 1, s; a >= 0; a--)
3999
4011
  (s = e[a]) && (i = (r ? s(t, n, i) : s(i)) || i);
4000
- return r && i && ja(t, n, i), i;
4001
- }, _t = (e, t, n) => t.has(e) || _n("Cannot " + n), re = (e, t, n) => (_t(e, t, "read from private field"), n ? n.call(e) : t.get(e)), tt = (e, t, n) => t.has(e) ? _n("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Ga = (e, t, n, r) => (_t(e, t, "write to private field"), t.set(e, n), n), Z = (e, t, n) => (_t(e, t, "access private method"), n), Ae, ie, Y, ft, Rn, Nn, Ln, Pn, gt, On;
4002
- const Ha = `pre.${pt}:not([data-processed])`;
4003
- let nn = 0;
4004
- const Wa = 'a[href], details, summary, button, cx-icon-button, input, label, [role="button"], .clickable', Ka = "pre > code", rn = "cx-code-block", Za = 1500;
4005
- let D = class extends Vn {
4012
+ return r && i && Xa(t, n, i), i;
4013
+ }, It = (e, t, n) => t.has(e) || Rn("Cannot " + n), ie = (e, t, n) => (It(e, t, "read from private field"), n ? n.call(e) : t.get(e)), nt = (e, t, n) => t.has(e) ? Rn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), eo = (e, t, n, r) => (It(e, t, "write to private field"), t.set(e, n), n), Z = (e, t, n) => (It(e, t, "access private method"), n), Se, ae, j, gt, Nn, Ln, Pn, On, dt, zn;
4014
+ const to = `pre.${ht}:not([data-processed])`;
4015
+ let rn = 0;
4016
+ const no = 'a[href], details, summary, button, cx-icon-button, input, label, [role="button"], .clickable', ro = "pre > code", an = "cx-code-block", io = 1500;
4017
+ let D = class extends Qn {
4006
4018
  constructor() {
4007
- super(...arguments), tt(this, Y), this.localize = new Gn(this), tt(this, Ae, In()), tt(this, ie, /* @__PURE__ */ new Map()), this.frontmatter = {}, this.classname = "", this.liveScript = !1, this.linkTarget = "", this.renderer = {}, this.extensions = [];
4019
+ super(...arguments), nt(this, j), this.localize = new Hn(this), nt(this, Se, In()), nt(this, ae, /* @__PURE__ */ new Map()), this.frontmatter = {}, this.classname = "", this.liveScript = !1, this.linkTarget = "", this.renderer = {}, this.extensions = [];
4008
4020
  }
4009
4021
  connectedCallback() {
4010
- super.connectedCallback(), Z(this, Y, gt).call(this);
4022
+ super.connectedCallback(), Z(this, j, dt).call(this);
4011
4023
  }
4012
4024
  disconnectedCallback() {
4013
- super.disconnectedCallback(), re(this, ie).forEach(clearTimeout), re(this, ie).clear();
4025
+ super.disconnectedCallback(), ie(this, ae).forEach(clearTimeout), ie(this, ae).clear();
4014
4026
  }
4015
4027
  updateRendered() {
4016
- this.rendered = Z(this, Y, ft).call(this);
4028
+ this.rendered = Z(this, j, gt).call(this);
4017
4029
  }
4018
4030
  /**
4019
4031
  * Light DOM means every click reaches ancestors, which commonly treat one as "start editing".
@@ -4022,83 +4034,83 @@ let D = class extends Vn {
4022
4034
  */
4023
4035
  handleClick(e) {
4024
4036
  const t = e.target?.closest(
4025
- Wa
4037
+ no
4026
4038
  );
4027
4039
  t && this.contains(t) && e.stopPropagation();
4028
4040
  }
4029
4041
  handleRenderedWithNewMarkdown() {
4030
- Z(this, Y, gt).call(this), this.markdown && (this.rendered = Z(this, Y, ft).call(this));
4042
+ Z(this, j, dt).call(this), this.markdown && (this.rendered = Z(this, j, gt).call(this));
4031
4043
  }
4032
4044
  render() {
4033
- return Wn`<div class=${this.classname} @click=${this.handleClick}>${Zn(
4045
+ return Wn`<div class=${this.classname} @click=${this.handleClick}>${Vn(
4034
4046
  this.rendered
4035
4047
  )}</div>`;
4036
4048
  }
4037
4049
  updated() {
4038
- Z(this, Y, Rn).call(this), Z(this, Y, Nn).call(this), this.liveScript && Va(this);
4050
+ Z(this, j, Nn).call(this), Z(this, j, Ln).call(this), this.liveScript && ao(this);
4039
4051
  const e = this.querySelectorAll(
4040
- Ha
4052
+ to
4041
4053
  );
4042
4054
  if (e.length === 0) {
4043
4055
  this.emit("cx-ready");
4044
4056
  return;
4045
4057
  }
4046
- Z(this, Y, On).call(this, e);
4058
+ Z(this, j, zn).call(this, e);
4047
4059
  }
4048
4060
  };
4049
- Ae = /* @__PURE__ */ new WeakMap();
4050
- ie = /* @__PURE__ */ new WeakMap();
4051
- Y = /* @__PURE__ */ new WeakSet();
4052
- ft = function() {
4061
+ Se = /* @__PURE__ */ new WeakMap();
4062
+ ae = /* @__PURE__ */ new WeakMap();
4063
+ j = /* @__PURE__ */ new WeakSet();
4064
+ gt = function() {
4053
4065
  if (!this.markdown)
4054
4066
  return this.frontmatter = {}, "";
4055
- const { body: e, data: t, raw: n } = za(this.markdown);
4067
+ const { body: e, data: t, raw: n } = Ha(this.markdown);
4056
4068
  this.frontmatter = t;
4057
- const r = re(this, Ae).parse(e), i = n ? Ma(n, this.localize.term("metadata")) + r : r;
4058
- return this.liveScript ? i : Hn(i);
4069
+ const r = ie(this, Se).parse(e), i = n ? Ka(n, this.localize.term("metadata")) + r : r;
4070
+ return this.liveScript ? i : Kn(i);
4059
4071
  };
4060
- Rn = function() {
4072
+ Nn = function() {
4061
4073
  if (this.linkTarget)
4062
4074
  for (const e of this.querySelectorAll("a[href]"))
4063
4075
  e.setAttribute("target", this.linkTarget), this.linkTarget === "_blank" && e.setAttribute("rel", "noopener noreferrer");
4064
4076
  };
4065
- Nn = function() {
4066
- for (const e of this.querySelectorAll(Ka)) {
4077
+ Ln = function() {
4078
+ for (const e of this.querySelectorAll(ro)) {
4067
4079
  const t = e.parentElement;
4068
- if (!t || t.parentElement?.classList.contains(rn))
4080
+ if (!t || t.parentElement?.classList.contains(an))
4069
4081
  continue;
4070
4082
  const n = document.createElement("div");
4071
- n.className = rn, t.replaceWith(n), n.append(t, Z(this, Y, Ln).call(this, e));
4083
+ n.className = an, t.replaceWith(n), n.append(t, Z(this, j, Pn).call(this, e));
4072
4084
  }
4073
4085
  };
4074
- Ln = function(e) {
4086
+ Pn = function(e) {
4075
4087
  const t = document.createElement("cx-icon-button");
4076
4088
  return t.name = "content_copy", t.label = this.localize.term("copy"), t.size = Yn.Small, t.addEventListener("click", () => {
4077
- Z(this, Y, Pn).call(this, e.textContent ?? "", t);
4089
+ Z(this, j, On).call(this, e.textContent ?? "", t);
4078
4090
  }), t;
4079
4091
  };
4080
- Pn = async function(e, t) {
4092
+ On = async function(e, t) {
4081
4093
  try {
4082
4094
  await navigator.clipboard.writeText(e);
4083
4095
  } catch {
4084
4096
  return;
4085
4097
  }
4086
- t.name = "check", t.label = this.localize.term("copied"), clearTimeout(re(this, ie).get(t)), re(this, ie).set(
4098
+ t.name = "check", t.label = this.localize.term("copied"), clearTimeout(ie(this, ae).get(t)), ie(this, ae).set(
4087
4099
  t,
4088
4100
  window.setTimeout(() => {
4089
- t.name = "content_copy", t.label = this.localize.term("copy"), re(this, ie).delete(t);
4090
- }, Za)
4101
+ t.name = "content_copy", t.label = this.localize.term("copy"), ie(this, ae).delete(t);
4102
+ }, io)
4091
4103
  );
4092
4104
  };
4093
- gt = function() {
4094
- Ga(this, Ae, In()), re(this, Ae).use({
4105
+ dt = function() {
4106
+ eo(this, Se, In()), ie(this, Se).use({
4095
4107
  extensions: this.extensions,
4096
4108
  renderer: this.renderer
4097
4109
  });
4098
4110
  };
4099
- On = async function(e) {
4111
+ zn = async function(e) {
4100
4112
  try {
4101
- const { default: t } = await import("./mermaid.core.Dspbw7Ig.js").then((n) => n.aW);
4113
+ const { default: t } = await import("./mermaid.core.CPVTuCpJ.js").then((n) => n.aW);
4102
4114
  t.initialize({
4103
4115
  securityLevel: "strict",
4104
4116
  startOnLoad: !1,
@@ -4110,9 +4122,9 @@ On = async function(e) {
4110
4122
  const r = n.textContent ?? "";
4111
4123
  n.setAttribute("data-processed", "true");
4112
4124
  try {
4113
- nn += 1;
4125
+ rn += 1;
4114
4126
  const { bindFunctions: i, svg: a } = await t.render(
4115
- `cx-mermaid-${nn}`,
4127
+ `cx-mermaid-${rn}`,
4116
4128
  r
4117
4129
  );
4118
4130
  n.innerHTML = a, i?.(n);
@@ -4125,43 +4137,43 @@ On = async function(e) {
4125
4137
  this.emit("cx-ready");
4126
4138
  }
4127
4139
  };
4128
- D.styles = Ya;
4140
+ D.styles = Qa;
4129
4141
  D.dependencies = {
4130
- "cx-icon-button": qn
4142
+ "cx-icon-button": jn
4131
4143
  };
4132
- K([
4133
- de({ type: String })
4144
+ W([
4145
+ me({ type: String })
4134
4146
  ], D.prototype, "classname", 2);
4135
- K([
4136
- de({ attribute: "live-script", reflect: !0, type: Boolean })
4147
+ W([
4148
+ me({ attribute: "live-script", reflect: !0, type: Boolean })
4137
4149
  ], D.prototype, "liveScript", 2);
4138
- K([
4139
- de({ attribute: "link-target", type: String })
4150
+ W([
4151
+ me({ attribute: "link-target", type: String })
4140
4152
  ], D.prototype, "linkTarget", 2);
4141
- K([
4142
- de({ type: String })
4153
+ W([
4154
+ me({ type: String })
4143
4155
  ], D.prototype, "markdown", 2);
4144
- K([
4145
- de({ type: Object })
4156
+ W([
4157
+ me({ type: Object })
4146
4158
  ], D.prototype, "renderer", 2);
4147
- K([
4148
- de({ type: Object })
4159
+ W([
4160
+ me({ type: Object })
4149
4161
  ], D.prototype, "extensions", 2);
4150
- K([
4151
- Kn()
4162
+ W([
4163
+ Zn()
4152
4164
  ], D.prototype, "rendered", 2);
4153
- K([
4154
- _e("liveScript"),
4155
- _e("markdown")
4165
+ W([
4166
+ Ne("liveScript"),
4167
+ Ne("markdown")
4156
4168
  ], D.prototype, "updateRendered", 1);
4157
- K([
4158
- _e("renderer", { waitUntilFirstUpdate: !0 }),
4159
- _e("extensions", { waitUntilFirstUpdate: !0 })
4169
+ W([
4170
+ Ne("renderer", { waitUntilFirstUpdate: !0 }),
4171
+ Ne("extensions", { waitUntilFirstUpdate: !0 })
4160
4172
  ], D.prototype, "handleRenderedWithNewMarkdown", 1);
4161
- D = K([
4162
- Un("cx-markdown")
4173
+ D = W([
4174
+ Gn("cx-markdown")
4163
4175
  ], D);
4164
- function Va(e) {
4176
+ function ao(e) {
4165
4177
  e.querySelectorAll("script").forEach((n) => {
4166
4178
  const r = document.createElement("script");
4167
4179
  n.src ? r.src = n.src : r.text = `(function() {
@@ -4173,8 +4185,8 @@ ${n.text}
4173
4185
  }
4174
4186
  export {
4175
4187
  D as C,
4176
- za as e,
4177
- et as p,
4178
- Ya as s,
4179
- j as x
4188
+ Ha as e,
4189
+ tt as p,
4190
+ Qa as s,
4191
+ Y as x
4180
4192
  };