@techdocs/cli 1.1.3-next.0 → 1.1.4-next.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 (291) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/cjs/{PublisherConfig-7a0dc71c.cjs.js → PublisherConfig-0ea58467.cjs.js} +9 -3
  3. package/dist/cjs/{PublisherConfig-7a0dc71c.cjs.js.map → PublisherConfig-0ea58467.cjs.js.map} +1 -1
  4. package/dist/cjs/{generate-b637bb78.cjs.js → generate-b897bd89.cjs.js} +6 -4
  5. package/dist/cjs/generate-b897bd89.cjs.js.map +1 -0
  6. package/dist/cjs/{migrate-122ec4bf.cjs.js → migrate-62035c68.cjs.js} +6 -4
  7. package/dist/cjs/{migrate-122ec4bf.cjs.js.map → migrate-62035c68.cjs.js.map} +1 -1
  8. package/dist/cjs/{mkdocs-3c3898e8.cjs.js → mkdocs-1961b6ea.cjs.js} +3 -3
  9. package/dist/cjs/{mkdocs-3c3898e8.cjs.js.map → mkdocs-1961b6ea.cjs.js.map} +1 -1
  10. package/dist/cjs/{mkdocsServer-0af6527d.cjs.js → mkdocsServer-f7081578.cjs.js} +30 -24
  11. package/dist/cjs/{mkdocsServer-0af6527d.cjs.js.map → mkdocsServer-f7081578.cjs.js.map} +1 -1
  12. package/dist/cjs/{publish-efa348a5.cjs.js → publish-af5607e2.cjs.js} +3 -3
  13. package/dist/cjs/{publish-efa348a5.cjs.js.map → publish-af5607e2.cjs.js.map} +1 -1
  14. package/dist/cjs/{serve-48337ec4.cjs.js → serve-0818dbae.cjs.js} +47 -31
  15. package/dist/cjs/{serve-48337ec4.cjs.js.map → serve-0818dbae.cjs.js.map} +1 -1
  16. package/dist/cjs/{utility-51f4a306.cjs.js → utility-647ad232.cjs.js} +4 -2
  17. package/dist/cjs/{utility-51f4a306.cjs.js.map → utility-647ad232.cjs.js.map} +1 -1
  18. package/dist/embedded-app/.config-schema.json +10 -0
  19. package/dist/embedded-app/index.html +1 -1
  20. package/dist/embedded-app/static/{1553.09ef0e28.chunk.js → 1553.c2a9eb50.chunk.js} +2 -2
  21. package/dist/embedded-app/static/1553.c2a9eb50.chunk.js.map +1 -0
  22. package/dist/embedded-app/static/{2426.56f057f3.chunk.js → 2426.32fc1ca1.chunk.js} +2 -2
  23. package/dist/embedded-app/static/2426.32fc1ca1.chunk.js.map +1 -0
  24. package/dist/embedded-app/static/3555.f3a9371e.chunk.js +8 -0
  25. package/dist/embedded-app/static/3555.f3a9371e.chunk.js.map +1 -0
  26. package/dist/embedded-app/static/{390.0d686030.chunk.js → 390.74a27040.chunk.js} +2 -2
  27. package/dist/embedded-app/static/390.74a27040.chunk.js.map +1 -0
  28. package/dist/embedded-app/static/{4022.7b5d6caf.chunk.js → 4022.ca590614.chunk.js} +2 -2
  29. package/dist/embedded-app/static/4022.ca590614.chunk.js.map +1 -0
  30. package/dist/embedded-app/static/4949.bffcfed7.chunk.js +3 -0
  31. package/dist/embedded-app/static/4949.bffcfed7.chunk.js.map +1 -0
  32. package/dist/embedded-app/static/5162.95e4bb5d.chunk.js +3 -0
  33. package/dist/embedded-app/static/5162.95e4bb5d.chunk.js.map +1 -0
  34. package/dist/embedded-app/static/{6235.8385fd0b.chunk.js → 6235.61c00d19.chunk.js} +2 -2
  35. package/dist/embedded-app/static/6235.61c00d19.chunk.js.map +1 -0
  36. package/dist/embedded-app/static/{6583.19098eda.chunk.js → 6583.492e5219.chunk.js} +2 -2
  37. package/dist/embedded-app/static/6583.492e5219.chunk.js.map +1 -0
  38. package/dist/embedded-app/static/{7110.b2c2b46c.chunk.js → 7110.766c71fc.chunk.js} +2 -2
  39. package/dist/embedded-app/static/7110.766c71fc.chunk.js.map +1 -0
  40. package/dist/embedded-app/static/{8061.411cf8de.chunk.js → 8061.f5e20bb7.chunk.js} +2 -2
  41. package/dist/embedded-app/static/8061.f5e20bb7.chunk.js.map +1 -0
  42. package/dist/embedded-app/static/{8718.b6fd1dca.chunk.js → 8718.2becf372.chunk.js} +2 -2
  43. package/dist/embedded-app/static/8718.2becf372.chunk.js.map +1 -0
  44. package/dist/embedded-app/static/{8792.bd5eec10.chunk.js → 8792.6f60e67c.chunk.js} +2 -2
  45. package/dist/embedded-app/static/8792.6f60e67c.chunk.js.map +1 -0
  46. package/dist/embedded-app/static/{9028.afacb85a.chunk.js → 9028.1e31ab6a.chunk.js} +2 -2
  47. package/dist/embedded-app/static/9028.1e31ab6a.chunk.js.map +1 -0
  48. package/dist/embedded-app/static/main.77934963.js +487 -0
  49. package/dist/embedded-app/static/main.77934963.js.map +1 -0
  50. package/dist/embedded-app/static/module-ajv.f2ae340e.js.map +1 -1
  51. package/dist/embedded-app/static/module-date-fns.667c4862.js.map +1 -1
  52. package/dist/embedded-app/static/module-hot-loader.baa19dda.js.map +1 -1
  53. package/dist/embedded-app/static/module-jss.df150ef8.js.map +1 -1
  54. package/dist/embedded-app/static/module-lodash.32f2edbb.js.map +1 -1
  55. package/dist/embedded-app/static/module-luxon.ee0def5d.js +3 -0
  56. package/dist/embedded-app/static/module-luxon.ee0def5d.js.map +1 -0
  57. package/dist/embedded-app/static/module-material-table.cd3af251.js.map +1 -1
  58. package/dist/embedded-app/static/{module-material-ui.1e05f502.js → module-material-ui.cd8dff4a.js} +11 -11
  59. package/dist/embedded-app/static/module-material-ui.cd8dff4a.js.map +1 -0
  60. package/dist/embedded-app/static/module-react-beautiful-dnd.6085a9b0.js.map +1 -1
  61. package/dist/embedded-app/static/module-yaml.cef9da5e.js +136 -0
  62. package/dist/embedded-app/static/module-yaml.cef9da5e.js.map +1 -0
  63. package/dist/embedded-app/static/module-zod.fe17cc67.js +3 -0
  64. package/dist/embedded-app/static/module-zod.fe17cc67.js.map +1 -0
  65. package/dist/embedded-app/static/react-syntax-highlighter/lowlight-import.6d99819e.chunk.js.map +1 -1
  66. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_abnf.e39098ec.chunk.js.map +1 -1
  67. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_accesslog.f0866c63.chunk.js.map +1 -1
  68. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_actionscript.07a8cb8b.chunk.js.map +1 -1
  69. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ada.cabf0da1.chunk.js.map +1 -1
  70. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_angelscript.a3a8277d.chunk.js.map +1 -1
  71. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_apache.ca80f87c.chunk.js.map +1 -1
  72. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_applescript.135bfeaa.chunk.js.map +1 -1
  73. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_arcade.26715cf0.chunk.js.map +1 -1
  74. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_arduino.222eae4d.chunk.js.map +1 -1
  75. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_armasm.36438d34.chunk.js.map +1 -1
  76. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_asciidoc.2f5b7895.chunk.js.map +1 -1
  77. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_aspectj.2b57cc97.chunk.js.map +1 -1
  78. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_autohotkey.e3c8bfdd.chunk.js.map +1 -1
  79. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_autoit.147f6883.chunk.js.map +1 -1
  80. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_avrasm.1c4bfd59.chunk.js.map +1 -1
  81. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_awk.ac969aa7.chunk.js.map +1 -1
  82. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_axapta.fd64947c.chunk.js.map +1 -1
  83. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_bash.0b9ed769.chunk.js.map +1 -1
  84. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_basic.eccb9aa9.chunk.js.map +1 -1
  85. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_bnf.fe69e953.chunk.js.map +1 -1
  86. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_brainfuck.ee6d6d18.chunk.js.map +1 -1
  87. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_c.3c6326f1.chunk.js.map +1 -1
  88. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cLike.3e97e143.chunk.js.map +1 -1
  89. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cal.4e11b53a.chunk.js.map +1 -1
  90. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_capnproto.85379200.chunk.js.map +1 -1
  91. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ceylon.4a7a71f8.chunk.js.map +1 -1
  92. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clean.387c63bc.chunk.js.map +1 -1
  93. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clojure.0dceed35.chunk.js.map +1 -1
  94. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clojureRepl.9dabb11c.chunk.js.map +1 -1
  95. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cmake.db17d430.chunk.js.map +1 -1
  96. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_coffeescript.f6d8e1a0.chunk.js.map +1 -1
  97. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_coq.9042b6b2.chunk.js.map +1 -1
  98. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cos.e50bcc7d.chunk.js.map +1 -1
  99. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cpp.82d44ead.chunk.js.map +1 -1
  100. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_crmsh.d381eca6.chunk.js.map +1 -1
  101. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_crystal.272a9559.chunk.js.map +1 -1
  102. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_csharp.d3c472c1.chunk.js.map +1 -1
  103. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_csp.d4ccbf98.chunk.js.map +1 -1
  104. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_css.0a9e5a1c.chunk.js.map +1 -1
  105. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_d.94da0b62.chunk.js.map +1 -1
  106. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dart.3786913e.chunk.js.map +1 -1
  107. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_delphi.94507fa8.chunk.js.map +1 -1
  108. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_diff.c75af221.chunk.js.map +1 -1
  109. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_django.c900f58e.chunk.js.map +1 -1
  110. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dns.1dd8382b.chunk.js.map +1 -1
  111. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dockerfile.a72872c7.chunk.js.map +1 -1
  112. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dos.fa8d03f3.chunk.js.map +1 -1
  113. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dsconfig.c5c47576.chunk.js.map +1 -1
  114. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dts.7b510c64.chunk.js.map +1 -1
  115. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dust.8c2deb45.chunk.js.map +1 -1
  116. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ebnf.11d9c7cc.chunk.js.map +1 -1
  117. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_elixir.3904fcdc.chunk.js.map +1 -1
  118. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_elm.eba0f5f3.chunk.js.map +1 -1
  119. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erb.e8306333.chunk.js.map +1 -1
  120. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erlang.bd9dfabc.chunk.js.map +1 -1
  121. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erlangRepl.81bf896d.chunk.js.map +1 -1
  122. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_excel.11a999a4.chunk.js.map +1 -1
  123. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fix.8fa1382d.chunk.js.map +1 -1
  124. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_flix.f9581318.chunk.js.map +1 -1
  125. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fortran.82f42614.chunk.js.map +1 -1
  126. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fsharp.1ab23dc7.chunk.js.map +1 -1
  127. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gams.f8848957.chunk.js.map +1 -1
  128. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gauss.dc02450b.chunk.js.map +1 -1
  129. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gcode.2898dc2c.chunk.js.map +1 -1
  130. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gherkin.d1d5658b.chunk.js.map +1 -1
  131. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_glsl.3293da06.chunk.js.map +1 -1
  132. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gml.9e71221f.chunk.js.map +1 -1
  133. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_go.8db77f58.chunk.js.map +1 -1
  134. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_golo.f5a950c4.chunk.js.map +1 -1
  135. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gradle.e2abba03.chunk.js.map +1 -1
  136. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_groovy.b688ce0f.chunk.js.map +1 -1
  137. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haml.7c96773e.chunk.js.map +1 -1
  138. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_handlebars.2b1aa2f3.chunk.js.map +1 -1
  139. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haskell.391c5d81.chunk.js.map +1 -1
  140. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haxe.c3248588.chunk.js.map +1 -1
  141. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_hsp.7c51613c.chunk.js.map +1 -1
  142. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_htmlbars.29ebeff4.chunk.js.map +1 -1
  143. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_http.0d666e71.chunk.js.map +1 -1
  144. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_hy.a7c3ac6d.chunk.js.map +1 -1
  145. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_inform7.8b3a856c.chunk.js.map +1 -1
  146. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ini.ecdd651d.chunk.js.map +1 -1
  147. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_irpf90.fb690b85.chunk.js.map +1 -1
  148. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_isbl.00db46b1.chunk.js.map +1 -1
  149. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_java.9a95a2be.chunk.js.map +1 -1
  150. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_javascript.9dce5c58.chunk.js.map +1 -1
  151. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_jbossCli.5c16ea99.chunk.js.map +1 -1
  152. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_json.15050774.chunk.js.map +1 -1
  153. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_julia.838f4b42.chunk.js.map +1 -1
  154. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_juliaRepl.fe1b93bd.chunk.js.map +1 -1
  155. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_kotlin.e1b0b375.chunk.js.map +1 -1
  156. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lasso.802249c5.chunk.js.map +1 -1
  157. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_latex.bc3d17c7.chunk.js.map +1 -1
  158. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ldif.bbef1e04.chunk.js.map +1 -1
  159. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_leaf.5bd76867.chunk.js.map +1 -1
  160. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_less.7deafe1c.chunk.js.map +1 -1
  161. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lisp.d6ae9322.chunk.js.map +1 -1
  162. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_livecodeserver.86c42558.chunk.js.map +1 -1
  163. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_livescript.e488203b.chunk.js.map +1 -1
  164. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_llvm.c255e5d7.chunk.js.map +1 -1
  165. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lsl.6a316349.chunk.js.map +1 -1
  166. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lua.c95335ca.chunk.js.map +1 -1
  167. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_makefile.f2c5bd60.chunk.js.map +1 -1
  168. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_markdown.6464cedd.chunk.js.map +1 -1
  169. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mathematica.2e443797.chunk.js.map +1 -1
  170. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_matlab.4b560b02.chunk.js.map +1 -1
  171. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_maxima.69619b02.chunk.js.map +1 -1
  172. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mel.9b354734.chunk.js.map +1 -1
  173. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mercury.5613c599.chunk.js.map +1 -1
  174. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mipsasm.7281c70c.chunk.js.map +1 -1
  175. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mizar.d4e16722.chunk.js.map +1 -1
  176. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mojolicious.dcd5722f.chunk.js.map +1 -1
  177. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_monkey.7ef13093.chunk.js.map +1 -1
  178. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_moonscript.2d227b16.chunk.js.map +1 -1
  179. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_n1ql.dc787036.chunk.js.map +1 -1
  180. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nginx.2c25fa32.chunk.js.map +1 -1
  181. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nim.b7cc093e.chunk.js.map +1 -1
  182. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nix.14ee6a41.chunk.js.map +1 -1
  183. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nodeRepl.e51239c3.chunk.js.map +1 -1
  184. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nsis.42bd0ec6.chunk.js.map +1 -1
  185. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_objectivec.4d2b6b78.chunk.js.map +1 -1
  186. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ocaml.71bd6857.chunk.js.map +1 -1
  187. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_oneC.6e9bd373.chunk.js.map +1 -1
  188. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_openscad.049274c0.chunk.js.map +1 -1
  189. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_oxygene.55cfb5e8.chunk.js.map +1 -1
  190. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_parser3.d2c708be.chunk.js.map +1 -1
  191. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_perl.8c1aa06b.chunk.js.map +1 -1
  192. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pf.0223cc81.chunk.js.map +1 -1
  193. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pgsql.77178bf9.chunk.js.map +1 -1
  194. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_php.bad25c03.chunk.js.map +1 -1
  195. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_phpTemplate.d7121bcf.chunk.js.map +1 -1
  196. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_plaintext.6313f5e4.chunk.js.map +1 -1
  197. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pony.e09a7a8f.chunk.js.map +1 -1
  198. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_powershell.d5b5c33d.chunk.js.map +1 -1
  199. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_processing.65e160b6.chunk.js.map +1 -1
  200. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_profile.f852c59d.chunk.js.map +1 -1
  201. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_prolog.f397de12.chunk.js.map +1 -1
  202. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_properties.fd1db466.chunk.js.map +1 -1
  203. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_protobuf.8ab8a533.chunk.js.map +1 -1
  204. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_puppet.537bb714.chunk.js.map +1 -1
  205. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_purebasic.1d7e0865.chunk.js.map +1 -1
  206. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_python.4824cc5a.chunk.js.map +1 -1
  207. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pythonRepl.ae681e7d.chunk.js.map +1 -1
  208. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_q.35cb97bc.chunk.js.map +1 -1
  209. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_qml.2cbe5345.chunk.js.map +1 -1
  210. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_r.7b8f8566.chunk.js.map +1 -1
  211. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_reasonml.740d48de.chunk.js.map +1 -1
  212. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rib.28f71cc9.chunk.js.map +1 -1
  213. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_roboconf.a3dfe5d0.chunk.js.map +1 -1
  214. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_routeros.b3d0aad6.chunk.js.map +1 -1
  215. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rsl.27f27574.chunk.js.map +1 -1
  216. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ruby.45e641c6.chunk.js.map +1 -1
  217. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ruleslanguage.cb817a76.chunk.js.map +1 -1
  218. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rust.f82df236.chunk.js.map +1 -1
  219. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sas.111d6691.chunk.js.map +1 -1
  220. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scala.d6161773.chunk.js.map +1 -1
  221. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scheme.df9e0798.chunk.js.map +1 -1
  222. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scilab.0f5a4588.chunk.js.map +1 -1
  223. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scss.98065d4c.chunk.js.map +1 -1
  224. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_shell.1528656a.chunk.js.map +1 -1
  225. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_smali.3bf7bbf8.chunk.js.map +1 -1
  226. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_smalltalk.79718255.chunk.js.map +1 -1
  227. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sml.ff9a0389.chunk.js.map +1 -1
  228. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sqf.7cf62869.chunk.js.map +1 -1
  229. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sql.80fd4019.chunk.js.map +1 -1
  230. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sqlMore.3f7789bb.chunk.js.map +1 -1
  231. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stan.262d2dee.chunk.js.map +1 -1
  232. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stata.87f07d4d.chunk.js.map +1 -1
  233. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_step21.db98e52e.chunk.js.map +1 -1
  234. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stylus.406058a9.chunk.js.map +1 -1
  235. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_subunit.ce1af113.chunk.js.map +1 -1
  236. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_swift.f2a2cdba.chunk.js.map +1 -1
  237. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_taggerscript.f4bc1bb5.chunk.js.map +1 -1
  238. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tap.367ea734.chunk.js.map +1 -1
  239. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tcl.802ccc02.chunk.js.map +1 -1
  240. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_thrift.10b7ec1d.chunk.js.map +1 -1
  241. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tp.3646c41b.chunk.js.map +1 -1
  242. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_twig.f866e314.chunk.js.map +1 -1
  243. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_typescript.e4681d1d.chunk.js.map +1 -1
  244. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vala.4f6422d1.chunk.js.map +1 -1
  245. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbnet.dec3a738.chunk.js.map +1 -1
  246. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbscript.612b911b.chunk.js.map +1 -1
  247. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbscriptHtml.3c097556.chunk.js.map +1 -1
  248. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_verilog.914ae836.chunk.js.map +1 -1
  249. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vhdl.6f7c3028.chunk.js.map +1 -1
  250. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vim.a3a567f0.chunk.js.map +1 -1
  251. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_x86asm.ac1eeb4d.chunk.js.map +1 -1
  252. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xl.dec26abf.chunk.js.map +1 -1
  253. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xml.befe59df.chunk.js.map +1 -1
  254. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xquery.73a992c2.chunk.js.map +1 -1
  255. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_yaml.031487c1.chunk.js.map +1 -1
  256. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_zephir.14d469e9.chunk.js.map +1 -1
  257. package/dist/embedded-app/static/{runtime.ca83e3a7.js → runtime.77934963.js} +2 -2
  258. package/dist/embedded-app/static/runtime.77934963.js.map +1 -0
  259. package/dist/embedded-app/static/vendor.77934963.js +102 -0
  260. package/dist/embedded-app/static/vendor.77934963.js.map +1 -0
  261. package/dist/index.cjs.js +152 -6
  262. package/dist/index.cjs.js.map +1 -1
  263. package/package.json +7 -7
  264. package/dist/cjs/generate-b637bb78.cjs.js.map +0 -1
  265. package/dist/embedded-app/static/1553.09ef0e28.chunk.js.map +0 -1
  266. package/dist/embedded-app/static/1959.9f791e1b.chunk.js +0 -8
  267. package/dist/embedded-app/static/1959.9f791e1b.chunk.js.map +0 -1
  268. package/dist/embedded-app/static/2426.56f057f3.chunk.js.map +0 -1
  269. package/dist/embedded-app/static/3860.30afe880.chunk.js +0 -3
  270. package/dist/embedded-app/static/3860.30afe880.chunk.js.map +0 -1
  271. package/dist/embedded-app/static/390.0d686030.chunk.js.map +0 -1
  272. package/dist/embedded-app/static/4022.7b5d6caf.chunk.js.map +0 -1
  273. package/dist/embedded-app/static/6235.8385fd0b.chunk.js.map +0 -1
  274. package/dist/embedded-app/static/6583.19098eda.chunk.js.map +0 -1
  275. package/dist/embedded-app/static/7110.b2c2b46c.chunk.js.map +0 -1
  276. package/dist/embedded-app/static/7758.94a98122.chunk.js +0 -3
  277. package/dist/embedded-app/static/7758.94a98122.chunk.js.map +0 -1
  278. package/dist/embedded-app/static/8061.411cf8de.chunk.js.map +0 -1
  279. package/dist/embedded-app/static/8718.b6fd1dca.chunk.js.map +0 -1
  280. package/dist/embedded-app/static/8792.bd5eec10.chunk.js.map +0 -1
  281. package/dist/embedded-app/static/9028.afacb85a.chunk.js.map +0 -1
  282. package/dist/embedded-app/static/main.ca83e3a7.js +0 -487
  283. package/dist/embedded-app/static/main.ca83e3a7.js.map +0 -1
  284. package/dist/embedded-app/static/module-material-ui.1e05f502.js.map +0 -1
  285. package/dist/embedded-app/static/module-yaml.63d08f2d.js +0 -151
  286. package/dist/embedded-app/static/module-yaml.63d08f2d.js.map +0 -1
  287. package/dist/embedded-app/static/module-zod.2193e794.js +0 -3
  288. package/dist/embedded-app/static/module-zod.2193e794.js.map +0 -1
  289. package/dist/embedded-app/static/runtime.ca83e3a7.js.map +0 -1
  290. package/dist/embedded-app/static/vendor.ca83e3a7.js +0 -103
  291. package/dist/embedded-app/static/vendor.ca83e3a7.js.map +0 -1
@@ -0,0 +1,136 @@
1
+ "use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[9035],{72847:function(Yn,Cs,G){G.d(Cs,{ZP:function(){return Vn}});var Ze={};G.r(Ze),G.d(Ze,{BOM:function(){return We},DOCUMENT:function(){return He},FLOW_END:function(){return Xe},SCALAR:function(){return Ae},createScalarToken:function(){return $n},isCollection:function(){return Pn},isScalar:function(){return jn},prettyToken:function(){return Dn},resolveAsScalar:function(){return _n},setScalarValue:function(){return Cn},stringify:function(){return Bn},tokenType:function(){return Ns},visit:function(){return x}});var xe={};G.r(xe),G.d(xe,{Alias:function(){return Ie},CST:function(){return Ze},Composer:function(){return Nt},Document:function(){return ae},Lexer:function(){return As},LineCounter:function(){return Es},Pair:function(){return _},Parser:function(){return It},Scalar:function(){return O},Schema:function(){return Ye},YAMLError:function(){return gt},YAMLMap:function(){return M},YAMLParseError:function(){return Z},YAMLSeq:function(){return z},YAMLWarning:function(){return fs},isAlias:function(){return Q},isCollection:function(){return L},isDocument:function(){return he},isMap:function(){return W},isNode:function(){return I},isPair:function(){return E},isScalar:function(){return A},isSeq:function(){return te},parse:function(){return Un},parseAllDocuments:function(){return Fn},parseDocument:function(){return $s},stringify:function(){return Rn},visit:function(){return Y},visitAsync:function(){return Le}});const et=Symbol.for("yaml.alias"),tt=Symbol.for("yaml.document"),V=Symbol.for("yaml.map"),_t=Symbol.for("yaml.pair"),U=Symbol.for("yaml.scalar"),ee=Symbol.for("yaml.seq"),B=Symbol.for("yaml.node.type"),Q=s=>!!s&&typeof s=="object"&&s[B]===et,he=s=>!!s&&typeof s=="object"&&s[B]===tt,W=s=>!!s&&typeof s=="object"&&s[B]===V,E=s=>!!s&&typeof s=="object"&&s[B]===_t,A=s=>!!s&&typeof s=="object"&&s[B]===U,te=s=>!!s&&typeof s=="object"&&s[B]===ee;function L(s){if(s&&typeof s=="object")switch(s[B]){case V:case ee:return!0}return!1}function I(s){if(s&&typeof s=="object")switch(s[B]){case et:case V:case U:case ee:return!0}return!1}const vs=s=>(A(s)||L(s))&&!!s.anchor;class st{constructor(e){Object.defineProperty(this,B,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}}const C=Symbol("break visit"),$t=Symbol("skip children"),K=Symbol("remove node");function Y(s,e){const t=Ct(e);he(s)?se(null,s.contents,t,Object.freeze([s]))===K&&(s.contents=null):se(null,s,t,Object.freeze([]))}Y.BREAK=C,Y.SKIP=$t,Y.REMOVE=K;function se(s,e,t,n){const i=vt(s,e,t,n);if(I(i)||E(i))return Bt(s,n,i),se(s,i,t,n);if(typeof i!="symbol"){if(L(e)){n=Object.freeze(n.concat(e));for(let r=0;r<e.items.length;++r){const o=se(r,e.items[r],t,n);if(typeof o=="number")r=o-1;else{if(o===C)return C;o===K&&(e.items.splice(r,1),r-=1)}}}else if(E(e)){n=Object.freeze(n.concat(e));const r=se("key",e.key,t,n);if(r===C)return C;r===K&&(e.key=null);const o=se("value",e.value,t,n);if(o===C)return C;o===K&&(e.value=null)}}return i}async function Le(s,e){const t=Ct(e);he(s)?await ne(null,s.contents,t,Object.freeze([s]))===K&&(s.contents=null):await ne(null,s,t,Object.freeze([]))}Le.BREAK=C,Le.SKIP=$t,Le.REMOVE=K;async function ne(s,e,t,n){const i=await vt(s,e,t,n);if(I(i)||E(i))return Bt(s,n,i),ne(s,i,t,n);if(typeof i!="symbol"){if(L(e)){n=Object.freeze(n.concat(e));for(let r=0;r<e.items.length;++r){const o=await ne(r,e.items[r],t,n);if(typeof o=="number")r=o-1;else{if(o===C)return C;o===K&&(e.items.splice(r,1),r-=1)}}}else if(E(e)){n=Object.freeze(n.concat(e));const r=await ne("key",e.key,t,n);if(r===C)return C;r===K&&(e.key=null);const o=await ne("value",e.value,t,n);if(o===C)return C;o===K&&(e.value=null)}}return i}function Ct(s){return typeof s=="object"&&(s.Collection||s.Node||s.Value)?Object.assign({Alias:s.Node,Map:s.Node,Scalar:s.Node,Seq:s.Node},s.Value&&{Map:s.Value,Scalar:s.Value,Seq:s.Value},s.Collection&&{Map:s.Collection,Seq:s.Collection},s):s}function vt(s,e,t,n){var i,r,o,l,a;if(typeof t=="function")return t(s,e,n);if(W(e))return(i=t.Map)==null?void 0:i.call(t,s,e,n);if(te(e))return(r=t.Seq)==null?void 0:r.call(t,s,e,n);if(E(e))return(o=t.Pair)==null?void 0:o.call(t,s,e,n);if(A(e))return(l=t.Scalar)==null?void 0:l.call(t,s,e,n);if(Q(e))return(a=t.Alias)==null?void 0:a.call(t,s,e,n)}function Bt(s,e,t){const n=e[e.length-1];if(L(n))n.items[s]=t;else if(E(n))s==="key"?n.key=t:n.value=t;else if(he(n))n.contents=t;else{const i=Q(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const Bs={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Ms=s=>s.replace(/[!,[\]{}]/g,e=>Bs[e]);class ${constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},$.defaultYaml,e),this.tags=Object.assign({},$.defaultTags,t)}clone(){const e=new $(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new $(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:$.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},$.defaultTags);break}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:$.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},$.defaultTags),this.atNextDocument=!1);const n=e.trim().split(/[ \t]+/),i=n.shift();switch(i){case"%TAG":{if(n.length!==2&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;const[r,o]=n;return this.tags[r]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,n.length!==1)return t(0,"%YAML directive should contain exactly one part"),!1;const[r]=n;if(r==="1.1"||r==="1.2")return this.yaml.version=r,!0;{const o=/^\d+\.\d+$/.test(r);return t(6,`Unsupported YAML version ${r}`,o),!1}}default:return t(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e==="!")return"!";if(e[0]!=="!")return t(`Not a valid tag: ${e}`),null;if(e[1]==="<"){const o=e.slice(2,-1);return o==="!"||o==="!!"?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&t("Verbatim tags must end with a >"),o)}const[,n,i]=e.match(/^(.*!)([^!]*)$/);i||t(`The ${e} tag has no suffix`);const r=this.tags[n];return r?r+decodeURIComponent(i):n==="!"?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+Ms(e.substring(n.length));return e[0]==="!"?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let i;if(e&&n.length>0&&I(e.contents)){const r={};Y(e.contents,(o,l)=>{I(l)&&l.tag&&(r[l.tag]=!0)}),i=Object.keys(r)}else i=[];for(const[r,o]of n)r==="!!"&&o==="tag:yaml.org,2002:"||(!e||i.some(l=>l.startsWith(o)))&&t.push(`%TAG ${r} ${o}`);return t.join(`
2
+ `)}}$.defaultYaml={explicit:!1,version:"1.2"},$.defaultTags={"!!":"tag:yaml.org,2002:"};function Mt(s){if(/[\x00-\x19\s,[\]{}]/.test(s)){const t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(s)}`;throw new Error(t)}return!0}function Pt(s){const e=new Set;return Y(s,{Value(t,n){n.anchor&&e.add(n.anchor)}}),e}function jt(s,e){for(let t=1;;++t){const n=`${s}${t}`;if(!e.has(n))return n}}function Ps(s,e){const t=[],n=new Map;let i=null;return{onAnchor:r=>{t.push(r),i||(i=Pt(s));const o=jt(e,i);return i.add(o),o},setAnchors:()=>{for(const r of t){const o=n.get(r);if(typeof o=="object"&&o.anchor&&(A(o.node)||L(o.node)))o.node.anchor=o.anchor;else{const l=new Error("Failed to resolve repeated object (this should not happen)");throw l.source=r,l}}},sourceObjects:n}}class Ie extends st{constructor(e){super(et),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return Y(e,{Node:(n,i)=>{if(i===this)return Y.BREAK;i.anchor===this.source&&(t=i)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:i,maxAliasCount:r}=t,o=this.resolve(i);if(!o){const a=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(a)}const l=n.get(o);if(!l||l.res===void 0){const a="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(a)}if(r>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=Te(i,o,n)),l.count*l.aliasCount>r)){const a="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(a)}return l.res}toString(e,t,n){const i=`*${this.source}`;if(e){if(Mt(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const r=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(r)}if(e.implicitKey)return`${i} `}return i}}function Te(s,e,t){if(Q(e)){const n=e.resolve(s),i=t&&n&&t.get(n);return i?i.count*i.aliasCount:0}else if(L(e)){let n=0;for(const i of e.items){const r=Te(s,i,t);r>n&&(n=r)}return n}else if(E(e)){const n=Te(s,e.key,t),i=Te(s,e.value,t);return Math.max(n,i)}return 1}function q(s,e,t){if(Array.isArray(s))return s.map((n,i)=>q(n,String(i),t));if(s&&typeof s.toJSON=="function"){if(!t||!vs(s))return s.toJSON(e,t);const n={aliasCount:0,count:1,res:void 0};t.anchors.set(s,n),t.onCreate=r=>{n.res=r,delete t.onCreate};const i=s.toJSON(e,t);return t.onCreate&&t.onCreate(i),i}return typeof s=="bigint"&&!(t!=null&&t.keep)?Number(s):s}const Dt=s=>!s||typeof s!="function"&&typeof s!="object";class O extends st{constructor(e){super(U),this.value=e}toJSON(e,t){return t!=null&&t.keep?this.value:q(this.value,e,t)}toString(){return String(this.value)}}O.BLOCK_FOLDED="BLOCK_FOLDED",O.BLOCK_LITERAL="BLOCK_LITERAL",O.PLAIN="PLAIN",O.QUOTE_DOUBLE="QUOTE_DOUBLE",O.QUOTE_SINGLE="QUOTE_SINGLE";const js="tag:yaml.org,2002:";function Ds(s,e,t){var n;if(e){const i=t.filter(o=>o.tag===e),r=(n=i.find(o=>!o.format))!=null?n:i[0];if(!r)throw new Error(`Tag ${e} not found`);return r}return t.find(i=>{var r;return((r=i.identify)==null?void 0:r.call(i,s))&&!i.format})}function de(s,e,t){var h,u;if(he(s)&&(s=s.contents),I(s))return s;if(E(s)){const p=(u=(h=t.schema[V]).createNode)==null?void 0:u.call(h,t.schema,null,t);return p.items.push(s),p}(s instanceof String||s instanceof Number||s instanceof Boolean||typeof BigInt=="function"&&s instanceof BigInt)&&(s=s.valueOf());const{aliasDuplicateObjects:n,onAnchor:i,onTagObj:r,schema:o,sourceObjects:l}=t;let a;if(n&&s&&typeof s=="object"){if(a=l.get(s),a)return a.anchor||(a.anchor=i(s)),new Ie(a.anchor);a={anchor:null,node:null},l.set(s,a)}e!=null&&e.startsWith("!!")&&(e=js+e.slice(2));let c=Ds(s,e,o.tags);if(!c){if(s&&typeof s.toJSON=="function"&&(s=s.toJSON()),!s||typeof s!="object"){const p=new O(s);return a&&(a.node=p),p}c=s instanceof Map?o[V]:Symbol.iterator in Object(s)?o[ee]:o[V]}r&&(r(c),delete t.onTagObj);const f=c!=null&&c.createNode?c.createNode(t.schema,s,t):new O(s);return e&&(f.tag=e),a&&(a.node=f),f}function _e(s,e,t){let n=t;for(let i=e.length-1;i>=0;--i){const r=e[i];if(typeof r=="number"&&Number.isInteger(r)&&r>=0){const o=[];o[r]=n,n=o}else n=new Map([[r,n]])}return de(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:s,sourceObjects:new Map})}const pe=s=>s==null||typeof s=="object"&&!!s[Symbol.iterator]().next().done;class $e extends st{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(n=>I(n)||E(n)?n.clone(e):n),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(pe(e))this.add(t);else{const[n,...i]=e,r=this.get(n,!0);if(L(r))r.addIn(i,t);else if(r===void 0&&this.schema)this.set(n,_e(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn(e){const[t,...n]=e;if(n.length===0)return this.delete(t);const i=this.get(t,!0);if(L(i))return i.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...i]=e,r=this.get(n,!0);return i.length===0?!t&&A(r)?r.value:r:L(r)?r.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!E(t))return!1;const n=t.value;return n==null||e&&A(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){const[t,...n]=e;if(n.length===0)return this.has(t);const i=this.get(t,!0);return L(i)?i.hasIn(n):!1}setIn(e,t){const[n,...i]=e;if(i.length===0)this.set(n,t);else{const r=this.get(n,!0);if(L(r))r.setIn(i,t);else if(r===void 0&&this.schema)this.set(n,_e(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}}$e.maxFlowStringSingleLineLength=60;const Ks=s=>s.replace(/^(?!$)(?: $)?/gm,"#");function R(s,e){return/^\n+$/.test(s)?s.substring(1):e?s.replace(/^(?! *$)/gm,e):s}const J=(s,e,t)=>s.endsWith(`
3
+ `)?R(t,e):t.includes(`
4
+ `)?`
5
+ `+R(t,e):(s.endsWith(" ")?"":" ")+t,Kt="flow",nt="block",Ce="quoted";function ve(s,e,t="flow",{indentAtStart:n,lineWidth:i=80,minContentWidth:r=20,onFold:o,onOverflow:l}={}){if(!i||i<0)return s;const a=Math.max(1+r,1+i-e.length);if(s.length<=a)return s;const c=[],f={};let h=i-e.length;typeof n=="number"&&(n>i-Math.max(2,r)?c.push(0):h=i-n);let u,p,S=!1,d=-1,m=-1,y=-1;t===nt&&(d=qt(s,d),d!==-1&&(h=d+a));for(let k;k=s[d+=1];){if(t===Ce&&k==="\\"){switch(m=d,s[d+1]){case"x":d+=3;break;case"u":d+=5;break;case"U":d+=9;break;default:d+=1}y=d}if(k===`
6
+ `)t===nt&&(d=qt(s,d)),h=d+a,u=void 0;else{if(k===" "&&p&&p!==" "&&p!==`
7
+ `&&p!==" "){const b=s[d+1];b&&b!==" "&&b!==`
8
+ `&&b!==" "&&(u=d)}if(d>=h)if(u)c.push(u),h=u+a,u=void 0;else if(t===Ce){for(;p===" "||p===" ";)p=k,k=s[d+=1],S=!0;const b=d>y+1?d-2:m-1;if(f[b])return s;c.push(b),f[b]=!0,h=b+a,u=void 0}else S=!0}p=k}if(S&&l&&l(),c.length===0)return s;o&&o();let g=s.slice(0,c[0]);for(let k=0;k<c.length;++k){const b=c[k],N=c[k+1]||s.length;b===0?g=`
9
+ ${e}${s.slice(0,N)}`:(t===Ce&&f[b]&&(g+=`${s[b]}\\`),g+=`
10
+ ${e}${s.slice(b+1,N)}`)}return g}function qt(s,e){let t=s[e+1];for(;t===" "||t===" ";){do t=s[e+=1];while(t&&t!==`
11
+ `);t=s[e+1]}return e}const Be=s=>({indentAtStart:s.indentAtStart,lineWidth:s.options.lineWidth,minContentWidth:s.options.minContentWidth}),Me=s=>/^(%|---|\.\.\.)/m.test(s);function qs(s,e,t){if(!e||e<0)return!1;const n=e-t,i=s.length;if(i<=n)return!1;for(let r=0,o=0;r<i;++r)if(s[r]===`
12
+ `){if(r-o>n)return!0;if(o=r+1,i-o<=n)return!1}return!0}function me(s,e){const t=JSON.stringify(s);if(e.options.doubleQuotedAsJSON)return t;const{implicitKey:n}=e,i=e.options.doubleQuotedMinMultiLineLength,r=e.indent||(Me(s)?" ":"");let o="",l=0;for(let a=0,c=t[a];c;c=t[++a])if(c===" "&&t[a+1]==="\\"&&t[a+2]==="n"&&(o+=t.slice(l,a)+"\\ ",a+=1,l=a,c="\\"),c==="\\")switch(t[a+1]){case"u":{o+=t.slice(l,a);const f=t.substr(a+2,4);switch(f){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:f.substr(0,2)==="00"?o+="\\x"+f.substr(2):o+=t.substr(a,6)}a+=5,l=a+1}break;case"n":if(n||t[a+2]==='"'||t.length<i)a+=1;else{for(o+=t.slice(l,a)+`
13
+
14
+ `;t[a+2]==="\\"&&t[a+3]==="n"&&t[a+4]!=='"';)o+=`
15
+ `,a+=2;o+=r,t[a+2]===" "&&(o+="\\"),a+=1,l=a+1}break;default:a+=1}return o=l?o+t.slice(l):t,n?o:ve(o,r,Ce,Be(e))}function it(s,e){if(e.options.singleQuote===!1||e.implicitKey&&s.includes(`
16
+ `)||/[ \t]\n|\n[ \t]/.test(s))return me(s,e);const t=e.indent||(Me(s)?" ":""),n="'"+s.replace(/'/g,"''").replace(/\n+/g,`$&
17
+ ${t}`)+"'";return e.implicitKey?n:ve(n,t,Kt,Be(e))}function ye(s,e){const{singleQuote:t}=e.options;let n;if(t===!1)n=me;else{const i=s.includes('"'),r=s.includes("'");i&&!r?n=it:r&&!i?n=me:n=t?it:me}return n(s,e)}function Pe({comment:s,type:e,value:t},n,i,r){const{blockQuote:o,commentString:l,lineWidth:a}=n.options;if(!o||/\n[\t ]+$/.test(t)||/^\s*$/.test(t))return ye(t,n);const c=n.indent||(n.forceBlockIndent||Me(t)?" ":""),f=o==="literal"?!0:o==="folded"||e===O.BLOCK_FOLDED?!1:e===O.BLOCK_LITERAL?!0:!qs(t,a,c.length);if(!t)return f?`|
18
+ `:`>
19
+ `;let h,u;for(u=t.length;u>0;--u){const w=t[u-1];if(w!==`
20
+ `&&w!==" "&&w!==" ")break}let p=t.substring(u);const S=p.indexOf(`
21
+ `);S===-1?h="-":t===p||S!==p.length-1?(h="+",r&&r()):h="",p&&(t=t.slice(0,-p.length),p[p.length-1]===`
22
+ `&&(p=p.slice(0,-1)),p=p.replace(/\n+(?!\n|$)/g,`$&${c}`));let d=!1,m,y=-1;for(m=0;m<t.length;++m){const w=t[m];if(w===" ")d=!0;else if(w===`
23
+ `)y=m;else break}let g=t.substring(0,y<m?y+1:m);g&&(t=t.substring(g.length),g=g.replace(/\n+/g,`$&${c}`));let b=(f?"|":">")+(d?c?"2":"1":"")+h;if(s&&(b+=" "+l(s.replace(/ ?[\r\n]+/g," ")),i&&i()),f)return t=t.replace(/\n+/g,`$&${c}`),`${b}
24
+ ${c}${g}${t}${p}`;t=t.replace(/\n+/g,`
25
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);const N=ve(`${g}${t}${p}`,c,nt,Be(n));return`${b}
26
+ ${c}${N}`}function Fs(s,e,t,n){const{type:i,value:r}=s,{actualString:o,implicitKey:l,indent:a,inFlow:c}=e;if(l&&/[\n[\]{},]/.test(r)||c&&/[[\]{},]/.test(r))return ye(r,e);if(!r||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(r))return l||c||!r.includes(`
27
+ `)?ye(r,e):Pe(s,e,t,n);if(!l&&!c&&i!==O.PLAIN&&r.includes(`
28
+ `))return Pe(s,e,t,n);if(a===""&&Me(r))return e.forceBlockIndent=!0,Pe(s,e,t,n);const f=r.replace(/\n+/g,`$&
29
+ ${a}`);if(o){const h=S=>{var d;return S.default&&S.tag!=="tag:yaml.org,2002:str"&&((d=S.test)==null?void 0:d.test(f))},{compat:u,tags:p}=e.doc.schema;if(p.some(h)||(u==null?void 0:u.some(h)))return ye(r,e)}return l?f:ve(f,a,Kt,Be(e))}function ge(s,e,t,n){const{implicitKey:i,inFlow:r}=e,o=typeof s.value=="string"?s:Object.assign({},s,{value:String(s.value)});let{type:l}=s;l!==O.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(l=O.QUOTE_DOUBLE);const a=f=>{switch(f){case O.BLOCK_FOLDED:case O.BLOCK_LITERAL:return i||r?ye(o.value,e):Pe(o,e,t,n);case O.QUOTE_DOUBLE:return me(o.value,e);case O.QUOTE_SINGLE:return it(o.value,e);case O.PLAIN:return Fs(o,e,t,n);default:return null}};let c=a(l);if(c===null){const{defaultKeyType:f,defaultStringType:h}=e.options,u=i&&f||h;if(c=a(u),c===null)throw new Error(`Unsupported default string type ${u}`)}return c}function Ft(s,e){const t=Object.assign({blockQuote:!0,commentString:Ks,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},s.schema.toStringOptions,e);let n;switch(t.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:s,indent:"",indentStep:typeof t.indent=="number"?" ".repeat(t.indent):" ",inFlow:n,options:t}}function Us(s,e){var i,r,o,l;if(e.tag){const a=s.filter(c=>c.tag===e.tag);if(a.length>0)return(i=a.find(c=>c.format===e.format))!=null?i:a[0]}let t,n;if(A(e)){n=e.value;const a=s.filter(c=>{var f;return(f=c.identify)==null?void 0:f.call(c,n)});t=(r=a.find(c=>c.format===e.format))!=null?r:a.find(c=>!c.format)}else n=e,t=s.find(a=>a.nodeClass&&n instanceof a.nodeClass);if(!t){const a=(l=(o=n==null?void 0:n.constructor)==null?void 0:o.name)!=null?l:typeof n;throw new Error(`Tag not resolved for ${a} value`)}return t}function Rs(s,e,{anchors:t,doc:n}){if(!n.directives)return"";const i=[],r=(A(s)||L(s))&&s.anchor;r&&Mt(r)&&(t.add(r),i.push(`&${r}`));const o=s.tag?s.tag:e.default?null:e.tag;return o&&i.push(n.directives.tagString(o)),i.join(" ")}function H(s,e,t,n){var a,c;if(E(s))return s.toString(e,t,n);if(Q(s)){if(e.doc.directives)return s.toString(e);if((a=e.resolvedAliases)!=null&&a.has(s))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(s):e.resolvedAliases=new Set([s]),s=s.resolve(e.doc)}let i;const r=I(s)?s:e.doc.createNode(s,{onTagObj:f=>i=f});i||(i=Us(e.doc.schema.tags,r));const o=Rs(r,i,e);o.length>0&&(e.indentAtStart=((c=e.indentAtStart)!=null?c:0)+o.length+1);const l=typeof i.stringify=="function"?i.stringify(r,e,t,n):A(r)?ge(r,e,t,n):r.toString(e,t,n);return o?A(r)||l[0]==="{"||l[0]==="["?`${o} ${l}`:`${o}
30
+ ${e.indent}${l}`:l}function Vs({key:s,value:e},t,n,i){const{allNullValues:r,doc:o,indent:l,indentStep:a,options:{commentString:c,indentSeq:f,simpleKeys:h}}=t;let u=I(s)&&s.comment||null;if(h){if(u)throw new Error("With simple keys, key nodes cannot have comments");if(L(s)){const w="With simple keys, collection cannot be used as a key value";throw new Error(w)}}let p=!h&&(!s||u&&e==null&&!t.inFlow||L(s)||(A(s)?s.type===O.BLOCK_FOLDED||s.type===O.BLOCK_LITERAL:typeof s=="object"));t=Object.assign({},t,{allNullValues:!1,implicitKey:!p&&(h||!r),indent:l+a});let S=!1,d=!1,m=H(s,t,()=>S=!0,()=>d=!0);if(!p&&!t.inFlow&&m.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");p=!0}if(t.inFlow){if(r||e==null)return S&&n&&n(),m===""?"?":p?`? ${m}`:m}else if(r&&!h||e==null&&p)return m=`? ${m}`,u&&!S?m+=J(m,t.indent,c(u)):d&&i&&i(),m;S&&(u=null),p?(u&&(m+=J(m,t.indent,c(u))),m=`? ${m}
31
+ ${l}:`):(m=`${m}:`,u&&(m+=J(m,t.indent,c(u))));let y="",g=null;if(I(e)){if(e.spaceBefore&&(y=`
32
+ `),e.commentBefore){const w=c(e.commentBefore);y+=`
33
+ ${R(w,t.indent)}`}g=e.comment}else e&&typeof e=="object"&&(e=o.createNode(e));t.implicitKey=!1,!p&&!u&&A(e)&&(t.indentAtStart=m.length+1),d=!1,!f&&a.length>=2&&!t.inFlow&&!p&&te(e)&&!e.flow&&!e.tag&&!e.anchor&&(t.indent=t.indent.substr(2));let k=!1;const b=H(e,t,()=>k=!0,()=>d=!0);let N=" ";return y||u?b===""&&!t.inFlow?N=y===`
34
+ `?`
35
+
36
+ `:y:N=`${y}
37
+ ${t.indent}`:!p&&L(e)?(!(b[0]==="["||b[0]==="{")||b.includes(`
38
+ `))&&(N=`
39
+ ${t.indent}`):(b===""||b[0]===`
40
+ `)&&(N=""),m+=N+b,t.inFlow?k&&n&&n():g&&!k?m+=J(m,t.indent,c(g)):d&&i&&i(),m}var rt=G(34406);function Jn(s,...e){s==="debug"&&console.log(...e)}function Ut(s,e){(s==="debug"||s==="warn")&&(typeof rt!="undefined"&&rt.emitWarning?rt.emitWarning(e):console.warn(e))}const Rt="<<";function Vt(s,e,{key:t,value:n}){if((s==null?void 0:s.doc.schema.merge)&&Ys(t))if(n=Q(n)?n.resolve(s.doc):n,te(n))for(const i of n.items)ot(s,e,i);else if(Array.isArray(n))for(const i of n)ot(s,e,i);else ot(s,e,n);else{const i=q(t,"",s);if(e instanceof Map)e.set(i,q(n,i,s));else if(e instanceof Set)e.add(i);else{const r=Js(t,i,s),o=q(n,r,s);r in e?Object.defineProperty(e,r,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[r]=o}}return e}const Ys=s=>s===Rt||A(s)&&s.value===Rt&&(!s.type||s.type===O.PLAIN);function ot(s,e,t){const n=s&&Q(t)?t.resolve(s.doc):t;if(!W(n))throw new Error("Merge sources must be maps or map aliases");const i=n.toJSON(null,s,Map);for(const[r,o]of i)e instanceof Map?e.has(r)||e.set(r,o):e instanceof Set?e.add(r):Object.prototype.hasOwnProperty.call(e,r)||Object.defineProperty(e,r,{value:o,writable:!0,enumerable:!0,configurable:!0});return e}function Js(s,e,t){if(e===null)return"";if(typeof e!="object")return String(e);if(I(s)&&t&&t.doc){const n=Ft(t.doc,{});n.anchors=new Set;for(const r of t.anchors.keys())n.anchors.add(r.anchor);n.inFlow=!0,n.inStringifyKey=!0;const i=s.toString(n);if(!t.mapKeyWarned){let r=JSON.stringify(i);r.length>40&&(r=r.substring(0,36)+'..."'),Ut(t.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${r}. Set mapAsMap: true to use object keys.`),t.mapKeyWarned=!0}return i}return JSON.stringify(e)}function lt(s,e,t){const n=de(s,void 0,t),i=de(e,void 0,t);return new _(n,i)}class _{constructor(e,t=null){Object.defineProperty(this,B,{value:_t}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return I(t)&&(t=t.clone(e)),I(n)&&(n=n.clone(e)),new _(t,n)}toJSON(e,t){const n=t!=null&&t.mapAsMap?new Map:{};return Vt(t,n,this)}toString(e,t,n){return e!=null&&e.doc?Vs(this,e,t,n):JSON.stringify(this)}}function Yt(s,e,t){var r;return(((r=e.inFlow)!=null?r:s.flow)?Qs:Gs)(s,e,t)}function Gs({comment:s,items:e},t,{blockItemPrefix:n,flowChars:i,itemIndent:r,onChompKeep:o,onComment:l}){const{indent:a,options:{commentString:c}}=t,f=Object.assign({},t,{indent:r,type:null});let h=!1;const u=[];for(let S=0;S<e.length;++S){const d=e[S];let m=null;if(I(d))!h&&d.spaceBefore&&u.push(""),je(t,u,d.commentBefore,h),d.comment&&(m=d.comment);else if(E(d)){const g=I(d.key)?d.key:null;g&&(!h&&g.spaceBefore&&u.push(""),je(t,u,g.commentBefore,h))}h=!1;let y=H(d,f,()=>m=null,()=>h=!0);m&&(y+=J(y,r,c(m))),h&&m&&(h=!1),u.push(n+y)}let p;if(u.length===0)p=i.start+i.end;else{p=u[0];for(let S=1;S<u.length;++S){const d=u[S];p+=d?`
41
+ ${a}${d}`:`
42
+ `}}return s?(p+=`
43
+ `+R(c(s),a),l&&l()):h&&o&&o(),p}function Qs({comment:s,items:e},t,{flowChars:n,itemIndent:i,onComment:r}){const{indent:o,indentStep:l,options:{commentString:a}}=t;i+=l;const c=Object.assign({},t,{indent:i,inFlow:!0,type:null});let f=!1,h=0;const u=[];for(let m=0;m<e.length;++m){const y=e[m];let g=null;if(I(y))y.spaceBefore&&u.push(""),je(t,u,y.commentBefore,!1),y.comment&&(g=y.comment);else if(E(y)){const b=I(y.key)?y.key:null;b&&(b.spaceBefore&&u.push(""),je(t,u,b.commentBefore,!1),b.comment&&(f=!0));const N=I(y.value)?y.value:null;N?(N.comment&&(g=N.comment),N.commentBefore&&(f=!0)):y.value==null&&b&&b.comment&&(g=b.comment)}g&&(f=!0);let k=H(y,c,()=>g=null);m<e.length-1&&(k+=","),g&&(k+=J(k,i,a(g))),!f&&(u.length>h||k.includes(`
44
+ `))&&(f=!0),u.push(k),h=u.length}let p;const{start:S,end:d}=n;if(u.length===0)p=S+d;else if(f||(f=u.reduce((y,g)=>y+g.length+2,2)>$e.maxFlowStringSingleLineLength),f){p=S;for(const m of u)p+=m?`
45
+ ${l}${o}${m}`:`
46
+ `;p+=`
47
+ ${o}${d}`}else p=`${S} ${u.join(" ")} ${d}`;return s&&(p+=J(p,a(s),o),r&&r()),p}function je({indent:s,options:{commentString:e}},t,n,i){if(n&&i&&(n=n.replace(/^\n+/,"")),n){const r=R(e(n),s);t.push(r.trimStart())}}function X(s,e){const t=A(e)?e.value:e;for(const n of s)if(E(n)&&(n.key===e||n.key===t||A(n.key)&&n.key.value===t))return n}class M extends $e{constructor(e){super(V,e),this.items=[]}static get tagName(){return"tag:yaml.org,2002:map"}add(e,t){var o;let n;E(e)?n=e:!e||typeof e!="object"||!("key"in e)?n=new _(e,e==null?void 0:e.value):n=new _(e.key,e.value);const i=X(this.items,n.key),r=(o=this.schema)==null?void 0:o.sortMapEntries;if(i){if(!t)throw new Error(`Key ${n.key} already set`);A(i.value)&&Dt(n.value)?i.value.value=n.value:i.value=n.value}else if(r){const l=this.items.findIndex(a=>r(n,a)<0);l===-1?this.items.push(n):this.items.splice(l,0,n)}else this.items.push(n)}delete(e){const t=X(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){var r;const n=X(this.items,e),i=n==null?void 0:n.value;return(r=!t&&A(i)?i.value:i)!=null?r:void 0}has(e){return!!X(this.items,e)}set(e,t){this.add(new _(e,t),!0)}toJSON(e,t,n){const i=n?new n:t!=null&&t.mapAsMap?new Map:{};t!=null&&t.onCreate&&t.onCreate(i);for(const r of this.items)Vt(t,i,r);return i}toString(e,t,n){if(!e)return JSON.stringify(this);for(const i of this.items)if(!E(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),Yt(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}function Ws(s,e,t){const{keepUndefined:n,replacer:i}=t,r=new M(s),o=(l,a)=>{if(typeof i=="function")a=i.call(e,l,a);else if(Array.isArray(i)&&!i.includes(l))return;(a!==void 0||n)&&r.items.push(lt(l,a,t))};if(e instanceof Map)for(const[l,a]of e)o(l,a);else if(e&&typeof e=="object")for(const l of Object.keys(e))o(l,e[l]);return typeof s.sortMapEntries=="function"&&r.items.sort(s.sortMapEntries),r}const ie={collection:"map",createNode:Ws,default:!0,nodeClass:M,tag:"tag:yaml.org,2002:map",resolve(s,e){return W(s)||e("Expected a mapping for this tag"),s}};class z extends $e{constructor(e){super(ee,e),this.items=[]}static get tagName(){return"tag:yaml.org,2002:seq"}add(e){this.items.push(e)}delete(e){const t=De(e);return typeof t!="number"?!1:this.items.splice(t,1).length>0}get(e,t){const n=De(e);if(typeof n!="number")return;const i=this.items[n];return!t&&A(i)?i.value:i}has(e){const t=De(e);return typeof t=="number"&&t<this.items.length}set(e,t){const n=De(e);if(typeof n!="number")throw new Error(`Expected a valid index, not ${e}.`);const i=this.items[n];A(i)&&Dt(t)?i.value=t:this.items[n]=t}toJSON(e,t){const n=[];t!=null&&t.onCreate&&t.onCreate(n);let i=0;for(const r of this.items)n.push(q(r,String(i++),t));return n}toString(e,t,n){return e?Yt(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}}function De(s){let e=A(s)?s.value:s;return e&&typeof e=="string"&&(e=Number(e)),typeof e=="number"&&Number.isInteger(e)&&e>=0?e:null}function Hs(s,e,t){const{replacer:n}=t,i=new z(s);if(e&&Symbol.iterator in Object(e)){let r=0;for(let o of e){if(typeof n=="function"){const l=e instanceof Set?o:String(r++);o=n.call(e,l,o)}i.items.push(de(o,void 0,t))}}return i}const re={collection:"seq",createNode:Hs,default:!0,nodeClass:z,tag:"tag:yaml.org,2002:seq",resolve(s,e){return te(s)||e("Expected a sequence for this tag"),s}},Ke={identify:s=>typeof s=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:s=>s,stringify(s,e,t,n){return e=Object.assign({actualString:!0},e),ge(s,e,t,n)}},qe={identify:s=>s==null,createNode:()=>new O(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new O(null),stringify:({source:s},e)=>typeof s=="string"&&qe.test.test(s)?s:e.options.nullStr},at={identify:s=>typeof s=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:s=>new O(s[0]==="t"||s[0]==="T"),stringify({source:s,value:e},t){if(s&&at.test.test(s)){const n=s[0]==="t"||s[0]==="T";if(e===n)return s}return e?t.options.trueStr:t.options.falseStr}};function j({format:s,minFractionDigits:e,tag:t,value:n}){if(typeof n=="bigint")return String(n);const i=typeof n=="number"?n:Number(n);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let r=JSON.stringify(n);if(!s&&e&&(!t||t==="tag:yaml.org,2002:float")&&/^\d/.test(r)){let o=r.indexOf(".");o<0&&(o=r.length,r+=".");let l=e-(r.length-o-1);for(;l-- >0;)r+="0"}return r}const Jt={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:s=>s.slice(-3).toLowerCase()==="nan"?NaN:s[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:j},Gt={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:s=>parseFloat(s),stringify(s){const e=Number(s.value);return isFinite(e)?e.toExponential():j(s)}},Qt={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(s){const e=new O(parseFloat(s)),t=s.indexOf(".");return t!==-1&&s[s.length-1]==="0"&&(e.minFractionDigits=s.length-t-1),e},stringify:j},Fe=s=>typeof s=="bigint"||Number.isInteger(s),ct=(s,e,t,{intAsBigInt:n})=>n?BigInt(s):parseInt(s.substring(e),t);function Wt(s,e,t){const{value:n}=s;return Fe(n)&&n>=0?t+n.toString(e):j(s)}const Ht={identify:s=>Fe(s)&&s>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(s,e,t)=>ct(s,2,8,t),stringify:s=>Wt(s,8,"0o")},Xt={identify:Fe,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(s,e,t)=>ct(s,0,10,t),stringify:j},zt={identify:s=>Fe(s)&&s>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(s,e,t)=>ct(s,2,16,t),stringify:s=>Wt(s,16,"0x")},Xs=[ie,re,Ke,qe,at,Ht,Xt,zt,Jt,Gt,Qt];function Zt(s){return typeof s=="bigint"||Number.isInteger(s)}const Ue=({value:s})=>JSON.stringify(s),zs=[{identify:s=>typeof s=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:s=>s,stringify:Ue},{identify:s=>s==null,createNode:()=>new O(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Ue},{identify:s=>typeof s=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:s=>s==="true",stringify:Ue},{identify:Zt,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(s,e,{intAsBigInt:t})=>t?BigInt(s):parseInt(s,10),stringify:({value:s})=>Zt(s)?s.toString():JSON.stringify(s)},{identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:s=>parseFloat(s),stringify:Ue}],Zs={default:!0,tag:"",test:/^/,resolve(s,e){return e(`Unresolved plain scalar ${JSON.stringify(s)}`),s}},xs=[ie,re].concat(zs,Zs);var be=G(48834).lW;const ft={identify:s=>s instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(s,e){if(typeof be=="function")return be.from(s,"base64");if(typeof atob=="function"){const t=atob(s.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let i=0;i<t.length;++i)n[i]=t.charCodeAt(i);return n}else return e("This environment does not support reading binary tags; either Buffer or atob is required"),s},stringify({comment:s,type:e,value:t},n,i,r){const o=t;let l;if(typeof be=="function")l=o instanceof be?o.toString("base64"):be.from(o.buffer).toString("base64");else if(typeof btoa=="function"){let a="";for(let c=0;c<o.length;++c)a+=String.fromCharCode(o[c]);l=btoa(a)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e||(e=O.BLOCK_LITERAL),e!==O.QUOTE_DOUBLE){const a=Math.max(n.options.lineWidth-n.indent.length,n.options.minContentWidth),c=Math.ceil(l.length/a),f=new Array(c);for(let h=0,u=0;h<c;++h,u+=a)f[h]=l.substr(u,a);l=f.join(e===O.BLOCK_LITERAL?`
48
+ `:" ")}return ge({comment:s,type:e,value:l},n,i,r)}};function xt(s,e){var t;if(te(s))for(let n=0;n<s.items.length;++n){let i=s.items[n];if(!E(i)){if(W(i)){i.items.length>1&&e("Each pair must have its own sequence indicator");const r=i.items[0]||new _(new O(null));if(i.commentBefore&&(r.key.commentBefore=r.key.commentBefore?`${i.commentBefore}
49
+ ${r.key.commentBefore}`:i.commentBefore),i.comment){const o=(t=r.value)!=null?t:r.key;o.comment=o.comment?`${i.comment}
50
+ ${o.comment}`:i.comment}i=r}s.items[n]=E(i)?i:new _(i)}}else e("Expected a sequence for this tag");return s}function es(s,e,t){const{replacer:n}=t,i=new z(s);i.tag="tag:yaml.org,2002:pairs";let r=0;if(e&&Symbol.iterator in Object(e))for(let o of e){typeof n=="function"&&(o=n.call(e,String(r++),o));let l,a;if(Array.isArray(o))if(o.length===2)l=o[0],a=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){const c=Object.keys(o);if(c.length===1)l=c[0],a=o[l];else throw new TypeError(`Expected { key: value } tuple: ${o}`)}else l=o;i.items.push(lt(l,a,t))}return i}const ut={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:xt,createNode:es};class oe extends z{constructor(){super(),this.add=M.prototype.add.bind(this),this.delete=M.prototype.delete.bind(this),this.get=M.prototype.get.bind(this),this.has=M.prototype.has.bind(this),this.set=M.prototype.set.bind(this),this.tag=oe.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t!=null&&t.onCreate&&t.onCreate(n);for(const i of this.items){let r,o;if(E(i)?(r=q(i.key,"",t),o=q(i.value,r,t)):r=q(i,"",t),n.has(r))throw new Error("Ordered maps must not include duplicate keys");n.set(r,o)}return n}}oe.tag="tag:yaml.org,2002:omap";const ht={collection:"seq",identify:s=>s instanceof Map,nodeClass:oe,default:!1,tag:"tag:yaml.org,2002:omap",resolve(s,e){const t=xt(s,e),n=[];for(const{key:i}of t.items)A(i)&&(n.includes(i.value)?e(`Ordered maps must not include duplicate keys: ${i.value}`):n.push(i.value));return Object.assign(new oe,t)},createNode(s,e,t){const n=es(s,e,t),i=new oe;return i.items=n.items,i}};function ts({value:s,source:e},t){return e&&(s?ss:ns).test.test(e)?e:s?t.options.trueStr:t.options.falseStr}const ss={identify:s=>s===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new O(!0),stringify:ts},ns={identify:s=>s===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new O(!1),stringify:ts},en={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:s=>s.slice(-3).toLowerCase()==="nan"?NaN:s[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:j},tn={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:s=>parseFloat(s.replace(/_/g,"")),stringify(s){const e=Number(s.value);return isFinite(e)?e.toExponential():j(s)}},sn={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(s){const e=new O(parseFloat(s.replace(/_/g,""))),t=s.indexOf(".");if(t!==-1){const n=s.substring(t+1).replace(/_/g,"");n[n.length-1]==="0"&&(e.minFractionDigits=n.length)}return e},stringify:j},we=s=>typeof s=="bigint"||Number.isInteger(s);function Re(s,e,t,{intAsBigInt:n}){const i=s[0];if((i==="-"||i==="+")&&(e+=1),s=s.substring(e).replace(/_/g,""),n){switch(t){case 2:s=`0b${s}`;break;case 8:s=`0o${s}`;break;case 16:s=`0x${s}`;break}const o=BigInt(s);return i==="-"?BigInt(-1)*o:o}const r=parseInt(s,t);return i==="-"?-1*r:r}function dt(s,e,t){const{value:n}=s;if(we(n)){const i=n.toString(e);return n<0?"-"+t+i.substr(1):t+i}return j(s)}const nn={identify:we,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(s,e,t)=>Re(s,2,2,t),stringify:s=>dt(s,2,"0b")},rn={identify:we,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(s,e,t)=>Re(s,1,8,t),stringify:s=>dt(s,8,"0")},on={identify:we,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(s,e,t)=>Re(s,0,10,t),stringify:j},ln={identify:we,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(s,e,t)=>Re(s,2,16,t),stringify:s=>dt(s,16,"0x")};class le extends M{constructor(e){super(e),this.tag=le.tag}add(e){let t;E(e)?t=e:typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?t=new _(e.key,null):t=new _(e,null),X(this.items,t.key)||this.items.push(t)}get(e,t){const n=X(this.items,e);return!t&&E(n)?A(n.key)?n.key.value:n.key:n}set(e,t){if(typeof t!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const n=X(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new _(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}}le.tag="tag:yaml.org,2002:set";const pt={collection:"map",identify:s=>s instanceof Set,nodeClass:le,default:!1,tag:"tag:yaml.org,2002:set",resolve(s,e){if(W(s)){if(s.hasAllNullValues(!0))return Object.assign(new le,s);e("Set items must all have null values")}else e("Expected a mapping for this tag");return s},createNode(s,e,t){const{replacer:n}=t,i=new le(s);if(e&&Symbol.iterator in Object(e))for(let r of e)typeof n=="function"&&(r=n.call(e,r,r)),i.items.push(lt(r,null,t));return i}};function mt(s,e){const t=s[0],n=t==="-"||t==="+"?s.substring(1):s,i=o=>e?BigInt(o):Number(o),r=n.replace(/_/g,"").split(":").reduce((o,l)=>o*i(60)+i(l),i(0));return t==="-"?i(-1)*r:r}function is(s){let{value:e}=s,t=o=>o;if(typeof e=="bigint")t=o=>BigInt(o);else if(isNaN(e)||!isFinite(e))return j(s);let n="";e<0&&(n="-",e*=t(-1));const i=t(60),r=[e%i];return e<60?r.unshift(0):(e=(e-r[0])/i,r.unshift(e%i),e>=60&&(e=(e-r[0])/i,r.unshift(e))),n+r.map(o=>o<10?"0"+String(o):String(o)).join(":").replace(/000000\d*$/,"")}const rs={identify:s=>typeof s=="bigint"||Number.isInteger(s),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(s,e,{intAsBigInt:t})=>mt(s,t),stringify:is},os={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:s=>mt(s,!1),stringify:is},Ve={identify:s=>s instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(s){const e=s.match(Ve.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,t,n,i,r,o,l]=e.map(Number),a=e[7]?Number((e[7]+"00").substr(1,3)):0;let c=Date.UTC(t,n-1,i,r||0,o||0,l||0,a);const f=e[8];if(f&&f!=="Z"){let h=mt(f,!1);Math.abs(h)<30&&(h*=60),c-=6e4*h}return new Date(c)},stringify:({value:s})=>s.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},ls=[ie,re,Ke,qe,ss,ns,nn,rn,on,ln,en,tn,sn,ft,ht,ut,pt,rs,os,Ve],as=new Map([["core",Xs],["failsafe",[ie,re,Ke]],["json",xs],["yaml11",ls],["yaml-1.1",ls]]),cs={binary:ft,bool:at,float:Qt,floatExp:Gt,floatNaN:Jt,floatTime:os,int:Xt,intHex:zt,intOct:Ht,intTime:rs,map:ie,null:qe,omap:ht,pairs:ut,seq:re,set:pt,timestamp:Ve},an={"tag:yaml.org,2002:binary":ft,"tag:yaml.org,2002:omap":ht,"tag:yaml.org,2002:pairs":ut,"tag:yaml.org,2002:set":pt,"tag:yaml.org,2002:timestamp":Ve};function yt(s,e){let t=as.get(e);if(!t)if(Array.isArray(s))t=[];else{const n=Array.from(as.keys()).filter(i=>i!=="yaml11").map(i=>JSON.stringify(i)).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${n} or define customTags array`)}if(Array.isArray(s))for(const n of s)t=t.concat(n);else typeof s=="function"&&(t=s(t.slice()));return t.map(n=>{if(typeof n!="string")return n;const i=cs[n];if(i)return i;const r=Object.keys(cs).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown custom tag "${n}"; use one of ${r}`)})}const cn=(s,e)=>s.key<e.key?-1:s.key>e.key?1:0;class Ye{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:i,schema:r,sortMapEntries:o,toStringDefaults:l}){this.compat=Array.isArray(e)?yt(e,"compat"):e?yt(null,e):null,this.merge=!!n,this.name=typeof r=="string"&&r||"core",this.knownTags=i?an:{},this.tags=yt(t,this.name),this.toStringOptions=l!=null?l:null,Object.defineProperty(this,V,{value:ie}),Object.defineProperty(this,U,{value:Ke}),Object.defineProperty(this,ee,{value:re}),this.sortMapEntries=typeof o=="function"?o:o===!0?cn:null}clone(){const e=Object.create(Ye.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}function fn(s,e){var a;const t=[];let n=e.directives===!0;if(e.directives!==!1&&s.directives){const c=s.directives.toString(s);c?(t.push(c),n=!0):s.directives.docStart&&(n=!0)}n&&t.push("---");const i=Ft(s,e),{commentString:r}=i.options;if(s.commentBefore){t.length!==1&&t.unshift("");const c=r(s.commentBefore);t.unshift(R(c,""))}let o=!1,l=null;if(s.contents){if(I(s.contents)){if(s.contents.spaceBefore&&n&&t.push(""),s.contents.commentBefore){const h=r(s.contents.commentBefore);t.push(R(h,""))}i.forceBlockIndent=!!s.comment,l=s.contents.comment}const c=l?void 0:()=>o=!0;let f=H(s.contents,i,()=>l=null,c);l&&(f+=J(f,"",r(l))),(f[0]==="|"||f[0]===">")&&t[t.length-1]==="---"?t[t.length-1]=`--- ${f}`:t.push(f)}else t.push(H(s.contents,i));if((a=s.directives)!=null&&a.docEnd)if(s.comment){const c=r(s.comment);c.includes(`
51
+ `)?(t.push("..."),t.push(R(c,""))):t.push(`... ${c}`)}else t.push("...");else{let c=s.comment;c&&o&&(c=c.replace(/^\n+/,"")),c&&((!o||l)&&t[t.length-1]!==""&&t.push(""),t.push(R(r(c),"")))}return t.join(`
52
+ `)+`
53
+ `}function Se(s,e,t,n){if(n&&typeof n=="object")if(Array.isArray(n))for(let i=0,r=n.length;i<r;++i){const o=n[i],l=Se(s,n,String(i),o);l===void 0?delete n[i]:l!==o&&(n[i]=l)}else if(n instanceof Map)for(const i of Array.from(n.keys())){const r=n.get(i),o=Se(s,n,i,r);o===void 0?n.delete(i):o!==r&&n.set(i,o)}else if(n instanceof Set)for(const i of Array.from(n)){const r=Se(s,n,i,i);r===void 0?n.delete(i):r!==i&&(n.delete(i),n.add(r))}else for(const[i,r]of Object.entries(n)){const o=Se(s,n,i,r);o===void 0?delete n[i]:o!==r&&(n[i]=o)}return s.call(e,t,n)}class ae{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,B,{value:tt});let i=null;typeof t=="function"||Array.isArray(t)?i=t:n===void 0&&t&&(n=t,t=void 0);const r=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=r;let{version:o}=r;n!=null&&n._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new $({version:o}),this.setSchema(o,n),e===void 0?this.contents=null:this.contents=this.createNode(e,i,n)}clone(){const e=Object.create(ae.prototype,{[B]:{value:tt}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=I(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){ce(this.contents)&&this.contents.add(e)}addIn(e,t){ce(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=Pt(this);e.anchor=!t||n.has(t)?jt(t||"a",n):t}return new Ie(e.anchor)}createNode(e,t,n){let i;if(typeof t=="function")e=t.call({"":e},"",e),i=t;else if(Array.isArray(t)){const m=g=>typeof g=="number"||g instanceof String||g instanceof Number,y=t.filter(m).map(String);y.length>0&&(t=t.concat(y)),i=t}else n===void 0&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:r,anchorPrefix:o,flow:l,keepUndefined:a,onTagObj:c,tag:f}=n!=null?n:{},{onAnchor:h,setAnchors:u,sourceObjects:p}=Ps(this,o||"a"),S={aliasDuplicateObjects:r!=null?r:!0,keepUndefined:a!=null?a:!1,onAnchor:h,onTagObj:c,replacer:i,schema:this.schema,sourceObjects:p},d=de(e,f,S);return l&&L(d)&&(d.flow=!0),u(),d}createPair(e,t,n={}){const i=this.createNode(e,null,n),r=this.createNode(t,null,n);return new _(i,r)}delete(e){return ce(this.contents)?this.contents.delete(e):!1}deleteIn(e){return pe(e)?this.contents==null?!1:(this.contents=null,!0):ce(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return L(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return pe(e)?!t&&A(this.contents)?this.contents.value:this.contents:L(this.contents)?this.contents.getIn(e,t):void 0}has(e){return L(this.contents)?this.contents.has(e):!1}hasIn(e){return pe(e)?this.contents!==void 0:L(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=_e(this.schema,[e],t):ce(this.contents)&&this.contents.set(e,t)}setIn(e,t){pe(e)?this.contents=t:this.contents==null?this.contents=_e(this.schema,Array.from(e),t):ce(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e=="number"&&(e=String(e));let n;switch(e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new $({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new $({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const i=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new Ye(Object.assign(n,t));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:i,onAnchor:r,reviver:o}={}){const l={anchors:new Map,doc:this,keep:!e,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100,stringify:H},a=q(this.contents,t!=null?t:"",l);if(typeof r=="function")for(const{count:c,res:f}of l.anchors.values())r(f,c);return typeof o=="function"?Se(o,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return fn(this,e)}}function ce(s){if(L(s))return!0;throw new Error("Expected a YAML collection as document contents")}class gt extends Error{constructor(e,t,n,i){super(),this.name=e,this.code=n,this.message=i,this.pos=t}}class Z extends gt{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class fs extends gt{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const Je=(s,e)=>t=>{if(t.pos[0]===-1)return;t.linePos=t.pos.map(l=>e.linePos(l));const{line:n,col:i}=t.linePos[0];t.message+=` at line ${n}, column ${i}`;let r=i-1,o=s.substring(e.lineStarts[n-1],e.lineStarts[n]).replace(/[\n\r]+$/,"");if(r>=60&&o.length>80){const l=Math.min(r-39,o.length-79);o="\u2026"+o.substring(l),r-=l-1}if(o.length>80&&(o=o.substring(0,79)+"\u2026"),n>1&&/^ *$/.test(o.substring(0,r))){let l=s.substring(e.lineStarts[n-2],e.lineStarts[n-1]);l.length>80&&(l=l.substring(0,79)+`\u2026
54
+ `),o=l+o}if(/[^ ]/.test(o)){let l=1;const a=t.linePos[1];a&&a.line===n&&a.col>i&&(l=Math.min(a.col-i,80-r));const c=" ".repeat(r)+"^".repeat(l);t.message+=`:
55
+
56
+ ${o}
57
+ ${c}
58
+ `}};function fe(s,{flow:e,indicator:t,next:n,offset:i,onError:r,startOnNewline:o}){let l=!1,a=o,c=o,f="",h="",u=!1,p=!1,S=!1,d=null,m=null,y=null,g=null,k=null;for(const w of s)switch(S&&(w.type!=="space"&&w.type!=="newline"&&w.type!=="comma"&&r(w.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),S=!1),w.type){case"space":!e&&a&&t!=="doc-start"&&w.source[0]===" "&&r(w,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||r(w,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const T=w.source.substring(1)||" ";f?f+=h+T:f=T,h="",a=!1;break}case"newline":a?f?f+=w.source:l=!0:h+=w.source,a=!0,u=!0,(d||m)&&(p=!0),c=!0;break;case"anchor":d&&r(w,"MULTIPLE_ANCHORS","A node can have at most one anchor"),w.source.endsWith(":")&&r(w.offset+w.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),d=w,k===null&&(k=w.offset),a=!1,c=!1,S=!0;break;case"tag":{m&&r(w,"MULTIPLE_TAGS","A node can have at most one tag"),m=w,k===null&&(k=w.offset),a=!1,c=!1,S=!0;break}case t:(d||m)&&r(w,"BAD_PROP_ORDER",`Anchors and tags must be after the ${w.source} indicator`),g&&r(w,"UNEXPECTED_TOKEN",`Unexpected ${w.source} in ${e!=null?e:"collection"}`),g=w,a=!1,c=!1;break;case"comma":if(e){y&&r(w,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),y=w,a=!1,c=!1;break}default:r(w,"UNEXPECTED_TOKEN",`Unexpected ${w.type} token`),a=!1,c=!1}const b=s[s.length-1],N=b?b.offset+b.source.length:i;return S&&n&&n.type!=="space"&&n.type!=="newline"&&n.type!=="comma"&&(n.type!=="scalar"||n.source!=="")&&r(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:y,found:g,spaceBefore:l,comment:f,hasNewline:u,hasNewlineAfterProp:p,anchor:d,tag:m,end:N,start:k!=null?k:N}}function ke(s){if(!s)return null;switch(s.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(s.source.includes(`
59
+ `))return!0;if(s.end){for(const e of s.end)if(e.type==="newline")return!0}return!1;case"flow-collection":for(const e of s.items){for(const t of e.start)if(t.type==="newline")return!0;if(e.sep){for(const t of e.sep)if(t.type==="newline")return!0}if(ke(e.key)||ke(e.value))return!0}return!1;default:return!0}}function bt(s,e,t){if((e==null?void 0:e.type)==="flow-collection"){const n=e.end[0];n.indent===s&&(n.source==="]"||n.source==="}")&&ke(e)&&t(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function us(s,e,t){const{uniqueKeys:n}=s.options;if(n===!1)return!1;const i=typeof n=="function"?n:(r,o)=>r===o||A(r)&&A(o)&&r.value===o.value&&!(r.value==="<<"&&s.schema.merge);return e.some(r=>i(r.key,t))}const hs="All mapping items must start at the same column";function un({composeNode:s,composeEmptyNode:e},t,n,i){var l;const r=new M(t.schema);t.atRoot&&(t.atRoot=!1);let o=n.offset;for(const a of n.items){const{start:c,key:f,sep:h,value:u}=a,p=fe(c,{indicator:"explicit-key-ind",next:f!=null?f:h==null?void 0:h[0],offset:o,onError:i,startOnNewline:!0}),S=!p.found;if(S){if(f&&(f.type==="block-seq"?i(o,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in f&&f.indent!==n.indent&&i(o,"BAD_INDENT",hs)),!p.anchor&&!p.tag&&!h){p.comment&&(r.comment?r.comment+=`
60
+ `+p.comment:r.comment=p.comment);continue}(p.hasNewlineAfterProp||ke(f))&&i(f!=null?f:c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else((l=p.found)==null?void 0:l.indent)!==n.indent&&i(o,"BAD_INDENT",hs);const d=p.end,m=f?s(t,f,p,i):e(t,d,c,null,p,i);t.schema.compat&&bt(n.indent,f,i),us(t,r.items,m)&&i(d,"DUPLICATE_KEY","Map keys must be unique");const y=fe(h!=null?h:[],{indicator:"map-value-ind",next:u,offset:m.range[2],onError:i,startOnNewline:!f||f.type==="block-scalar"});if(o=y.end,y.found){S&&((u==null?void 0:u.type)==="block-map"&&!y.hasNewline&&i(o,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),t.options.strict&&p.start<y.found.offset-1024&&i(m.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const g=u?s(t,u,y,i):e(t,o,h,null,y,i);t.schema.compat&&bt(n.indent,u,i),o=g.range[2];const k=new _(m,g);t.options.keepSourceTokens&&(k.srcToken=a),r.items.push(k)}else{S&&i(m.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),y.comment&&(m.comment?m.comment+=`
61
+ `+y.comment:m.comment=y.comment);const g=new _(m);t.options.keepSourceTokens&&(g.srcToken=a),r.items.push(g)}}return r.range=[n.offset,o,o],r}function hn({composeNode:s,composeEmptyNode:e},t,n,i){const r=new z(t.schema);t.atRoot&&(t.atRoot=!1);let o=n.offset;for(const{start:l,value:a}of n.items){const c=fe(l,{indicator:"seq-item-ind",next:a,offset:o,onError:i,startOnNewline:!0});if(o=c.end,!c.found)if(c.anchor||c.tag||a)a&&a.type==="block-seq"?i(o,"BAD_INDENT","All sequence items must start at the same column"):i(o,"MISSING_CHAR","Sequence item without - indicator");else{c.comment&&(r.comment=c.comment);continue}const f=a?s(t,a,c,i):e(t,o,l,null,c,i);t.schema.compat&&bt(n.indent,a,i),o=f.range[2],r.items.push(f)}return r.range=[n.offset,o,o],r}function Ne(s,e,t,n){let i="";if(s){let r=!1,o="";for(const l of s){const{source:a,type:c}=l;switch(c){case"space":r=!0;break;case"comment":{t&&!r&&n(l,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const f=a.substring(1)||" ";i?i+=o+f:i=f,o="";break}case"newline":i&&(o+=a),r=!0;break;default:n(l,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}e+=a.length}}return{comment:i,offset:e}}const wt="Block collections are not allowed within flow collections",St=s=>s&&(s.type==="block-map"||s.type==="block-seq");function dn({composeNode:s,composeEmptyNode:e},t,n,i){var S;const r=n.start.source==="{",o=r?"flow map":"flow sequence",l=r?new M(t.schema):new z(t.schema);l.flow=!0;const a=t.atRoot;a&&(t.atRoot=!1);let c=n.offset+n.start.source.length;for(let d=0;d<n.items.length;++d){const m=n.items[d],{start:y,key:g,sep:k,value:b}=m,N=fe(y,{flow:o,indicator:"explicit-key-ind",next:g!=null?g:k==null?void 0:k[0],offset:c,onError:i,startOnNewline:!1});if(!N.found){if(!N.anchor&&!N.tag&&!k&&!b){d===0&&N.comma?i(N.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):d<n.items.length-1&&i(N.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),N.comment&&(l.comment?l.comment+=`
62
+ `+N.comment:l.comment=N.comment),c=N.end;continue}!r&&t.options.strict&&ke(g)&&i(g,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(d===0)N.comma&&i(N.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(N.comma||i(N.start,"MISSING_CHAR",`Missing , between ${o} items`),N.comment){let w="";e:for(const T of y)switch(T.type){case"comma":case"space":break;case"comment":w=T.source.substring(1);break e;default:break e}if(w){let T=l.items[l.items.length-1];E(T)&&(T=(S=T.value)!=null?S:T.key),T.comment?T.comment+=`
63
+ `+w:T.comment=w,N.comment=N.comment.substring(w.length+1)}}if(!r&&!k&&!N.found){const w=b?s(t,b,N,i):e(t,N.end,k,null,N,i);l.items.push(w),c=w.range[2],St(b)&&i(w.range,"BLOCK_IN_FLOW",wt)}else{const w=N.end,T=g?s(t,g,N,i):e(t,w,y,null,N,i);St(g)&&i(T.range,"BLOCK_IN_FLOW",wt);const v=fe(k!=null?k:[],{flow:o,indicator:"map-value-ind",next:b,offset:T.range[2],onError:i,startOnNewline:!1});if(v.found){if(!r&&!N.found&&t.options.strict){if(k)for(const F of k){if(F===v.found)break;if(F.type==="newline"){i(F,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}N.start<v.found.offset-1024&&i(v.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else b&&("source"in b&&b.source&&b.source[0]===":"?i(b,"MISSING_CHAR",`Missing space after : in ${o}`):i(v.start,"MISSING_CHAR",`Missing , or : between ${o} items`));const Ee=b?s(t,b,v,i):v.found?e(t,v.end,k,null,v,i):null;Ee?St(b)&&i(Ee.range,"BLOCK_IN_FLOW",wt):v.comment&&(T.comment?T.comment+=`
64
+ `+v.comment:T.comment=v.comment);const Tt=new _(T,Ee);if(t.options.keepSourceTokens&&(Tt.srcToken=m),r){const F=l;us(t,F.items,T)&&i(w,"DUPLICATE_KEY","Map keys must be unique"),F.items.push(Tt)}else{const F=new M(t.schema);F.flow=!0,F.items.push(Tt),l.items.push(F)}c=Ee?Ee.range[2]:v.end}}const f=r?"}":"]",[h,...u]=n.end;let p=c;if(h&&h.source===f)p=h.offset+h.source.length;else{const d=o[0].toUpperCase()+o.substring(1),m=a?`${d} must end with a ${f}`:`${d} in block collection must be sufficiently indented and end with a ${f}`;i(c,a?"MISSING_CHAR":"BAD_INDENT",m),h&&h.source.length!==1&&u.unshift(h)}if(u.length>0){const d=Ne(u,p,t.options.strict,i);d.comment&&(l.comment?l.comment+=`
65
+ `+d.comment:l.comment=d.comment),l.range=[n.offset,p,d.offset]}else l.range=[n.offset,p,p];return l}function pn(s,e,t,n,i){let r;switch(t.type){case"block-map":{r=un(s,e,t,i);break}case"block-seq":{r=hn(s,e,t,i);break}case"flow-collection":{r=dn(s,e,t,i);break}}if(!n)return r;const o=e.directives.tagName(n.source,u=>i(n,"TAG_RESOLVE_FAILED",u));if(!o)return r;const l=r.constructor;if(o==="!"||o===l.tagName)return r.tag=l.tagName,r;const a=W(r)?"map":"seq";let c=e.schema.tags.find(u=>u.collection===a&&u.tag===o);if(!c){const u=e.schema.knownTags[o];if(u&&u.collection===a)e.schema.tags.push(Object.assign({},u,{default:!1})),c=u;else return i(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),r.tag=o,r}const f=c.resolve(r,u=>i(n,"TAG_RESOLVE_FAILED",u),e.options),h=I(f)?f:new O(f);return h.range=r.range,h.tag=o,c!=null&&c.format&&(h.format=c.format),h}function ds(s,e,t){const n=s.offset,i=mn(s,e,t);if(!i)return{value:"",type:null,comment:"",range:[n,n,n]};const r=i.mode===">"?O.BLOCK_FOLDED:O.BLOCK_LITERAL,o=s.source?yn(s.source):[];let l=o.length;for(let d=o.length-1;d>=0;--d){const m=o[d][1];if(m===""||m==="\r")l=d;else break}if(l===0){const d=i.chomp==="+"&&o.length>0?`
66
+ `.repeat(Math.max(1,o.length-1)):"";let m=n+i.length;return s.source&&(m+=s.source.length),{value:d,type:r,comment:i.comment,range:[n,m,m]}}let a=s.indent+i.indent,c=s.offset+i.length,f=0;for(let d=0;d<l;++d){const[m,y]=o[d];if(y===""||y==="\r")i.indent===0&&m.length>a&&(a=m.length);else{if(m.length<a){const g="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";t(c+m.length,"MISSING_CHAR",g)}i.indent===0&&(a=m.length),f=d;break}c+=m.length+y.length+1}for(let d=o.length-1;d>=l;--d)o[d][0].length>a&&(l=d+1);let h="",u="",p=!1;for(let d=0;d<f;++d)h+=o[d][0].slice(a)+`
67
+ `;for(let d=f;d<l;++d){let[m,y]=o[d];c+=m.length+y.length+1;const g=y[y.length-1]==="\r";if(g&&(y=y.slice(0,-1)),y&&m.length<a){const b=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;t(c-y.length-(g?2:1),"BAD_INDENT",b),m=""}r===O.BLOCK_LITERAL?(h+=u+m.slice(a)+y,u=`
68
+ `):m.length>a||y[0]===" "?(u===" "?u=`
69
+ `:!p&&u===`
70
+ `&&(u=`
71
+
72
+ `),h+=u+m.slice(a)+y,u=`
73
+ `,p=!0):y===""?u===`
74
+ `?h+=`
75
+ `:u=`
76
+ `:(h+=u+y,u=" ",p=!1)}switch(i.chomp){case"-":break;case"+":for(let d=l;d<o.length;++d)h+=`
77
+ `+o[d][0].slice(a);h[h.length-1]!==`
78
+ `&&(h+=`
79
+ `);break;default:h+=`
80
+ `}const S=n+i.length+s.source.length;return{value:h,type:r,comment:i.comment,range:[n,S,S]}}function mn({offset:s,props:e},t,n){if(e[0].type!=="block-scalar-header")return n(e[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=e[0],r=i[0];let o=0,l="",a=-1;for(let u=1;u<i.length;++u){const p=i[u];if(!l&&(p==="-"||p==="+"))l=p;else{const S=Number(p);!o&&S?o=S:a===-1&&(a=s+u)}}a!==-1&&n(a,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,f="",h=i.length;for(let u=1;u<e.length;++u){const p=e[u];switch(p.type){case"space":c=!0;case"newline":h+=p.source.length;break;case"comment":t&&!c&&n(p,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),h+=p.source.length,f=p.source.substring(1);break;case"error":n(p,"UNEXPECTED_TOKEN",p.message),h+=p.source.length;break;default:{const S=`Unexpected token in block scalar header: ${p.type}`;n(p,"UNEXPECTED_TOKEN",S);const d=p.source;d&&typeof d=="string"&&(h+=d.length)}}}return{mode:r,indent:o,chomp:l,comment:f,length:h}}function yn(s){const e=s.split(/\n( *)/),t=e[0],n=t.match(/^( *)/),r=[n!=null&&n[1]?[n[1],t.slice(n[1].length)]:["",t]];for(let o=1;o<e.length;o+=2)r.push([e[o],e[o+1]]);return r}function ps(s,e,t){const{offset:n,type:i,source:r,end:o}=s;let l,a;const c=(u,p,S)=>t(n+u,p,S);switch(i){case"scalar":l=O.PLAIN,a=gn(r,c);break;case"single-quoted-scalar":l=O.QUOTE_SINGLE,a=bn(r,c);break;case"double-quoted-scalar":l=O.QUOTE_DOUBLE,a=wn(r,c);break;default:return t(s,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[n,n+r.length,n+r.length]}}const f=n+r.length,h=Ne(o,f,e,t);return{value:a,type:l,comment:h.comment,range:[n,f,h.offset]}}function gn(s,e){let t="";switch(s[0]){case" ":t="a tab character";break;case",":t="flow indicator character ,";break;case"%":t="directive indicator character %";break;case"|":case">":{t=`block scalar indicator ${s[0]}`;break}case"@":case"`":{t=`reserved character ${s[0]}`;break}}return t&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${t}`),ms(s)}function bn(s,e){return(s[s.length-1]!=="'"||s.length===1)&&e(s.length,"MISSING_CHAR","Missing closing 'quote"),ms(s.slice(1,-1)).replace(/''/g,"'")}function ms(s){var a;let e,t;try{e=new RegExp(`(.*?)(?<![ ])[ ]*\r?
81
+ `,"sy"),t=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
82
+ `,"sy")}catch{e=/(.*?)[ \t]*\r?\n/sy,t=/[ \t]*(.*?)[ \t]*\r?\n/sy}let n=e.exec(s);if(!n)return s;let i=n[1],r=" ",o=e.lastIndex;for(t.lastIndex=o;n=t.exec(s);)n[1]===""?r===`
83
+ `?i+=r:r=`
84
+ `:(i+=r+n[1],r=" "),o=t.lastIndex;const l=/[ \t]*(.*)/sy;return l.lastIndex=o,n=l.exec(s),i+r+((a=n==null?void 0:n[1])!=null?a:"")}function wn(s,e){let t="";for(let n=1;n<s.length-1;++n){const i=s[n];if(!(i==="\r"&&s[n+1]===`
85
+ `))if(i===`
86
+ `){const{fold:r,offset:o}=Sn(s,n);t+=r,n=o}else if(i==="\\"){let r=s[++n];const o=kn[r];if(o)t+=o;else if(r===`
87
+ `)for(r=s[n+1];r===" "||r===" ";)r=s[++n+1];else if(r==="\r"&&s[n+1]===`
88
+ `)for(r=s[++n+1];r===" "||r===" ";)r=s[++n+1];else if(r==="x"||r==="u"||r==="U"){const l={x:2,u:4,U:8}[r];t+=Nn(s,n+1,l,e),n+=l}else{const l=s.substr(n-1,2);e(n-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),t+=l}}else if(i===" "||i===" "){const r=n;let o=s[n+1];for(;o===" "||o===" ";)o=s[++n+1];o!==`
89
+ `&&!(o==="\r"&&s[n+2]===`
90
+ `)&&(t+=n>r?s.slice(r,n+1):i)}else t+=i}return(s[s.length-1]!=='"'||s.length===1)&&e(s.length,"MISSING_CHAR",'Missing closing "quote'),t}function Sn(s,e){let t="",n=s[e+1];for(;(n===" "||n===" "||n===`
91
+ `||n==="\r")&&!(n==="\r"&&s[e+2]!==`
92
+ `);)n===`
93
+ `&&(t+=`
94
+ `),e+=1,n=s[e+1];return t||(t=" "),{fold:t,offset:e}}const kn={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
95
+ `,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function Nn(s,e,t,n){const i=s.substr(e,t),o=i.length===t&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(o)){const l=s.substr(e-2,t+2);return n(e-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),l}return String.fromCodePoint(o)}function ys(s,e,t,n){const{value:i,type:r,comment:o,range:l}=e.type==="block-scalar"?ds(e,s.options.strict,n):ps(e,s.options.strict,n),a=t?s.directives.tagName(t.source,h=>n(t,"TAG_RESOLVE_FAILED",h)):null,c=t&&a?On(s.schema,i,a,t,n):e.type==="scalar"?An(s,i,e,n):s.schema[U];let f;try{const h=c.resolve(i,u=>n(t!=null?t:e,"TAG_RESOLVE_FAILED",u),s.options);f=A(h)?h:new O(h)}catch(h){const u=h instanceof Error?h.message:String(h);n(t!=null?t:e,"TAG_RESOLVE_FAILED",u),f=new O(i)}return f.range=l,f.source=i,r&&(f.type=r),a&&(f.tag=a),c.format&&(f.format=c.format),o&&(f.comment=o),f}function On(s,e,t,n,i){var l;if(t==="!")return s[U];const r=[];for(const a of s.tags)if(!a.collection&&a.tag===t)if(a.default&&a.test)r.push(a);else return a;for(const a of r)if((l=a.test)!=null&&l.test(e))return a;const o=s.knownTags[t];return o&&!o.collection?(s.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${t}`,t!=="tag:yaml.org,2002:str"),s[U])}function An({directives:s,schema:e},t,n,i){var o;const r=e.tags.find(l=>{var a;return l.default&&((a=l.test)==null?void 0:a.test(t))})||e[U];if(e.compat){const l=(o=e.compat.find(a=>{var c;return a.default&&((c=a.test)==null?void 0:c.test(t))}))!=null?o:e[U];if(r.tag!==l.tag){const a=s.tagString(r.tag),c=s.tagString(l.tag),f=`Value may be parsed as either ${a} or ${c}`;i(n,"TAG_RESOLVE_FAILED",f,!0)}}return r}function En(s,e,t){if(e){t===null&&(t=e.length);for(let n=t-1;n>=0;--n){let i=e[n];switch(i.type){case"space":case"comment":case"newline":s-=i.source.length;continue}for(i=e[++n];(i==null?void 0:i.type)==="space";)s+=i.source.length,i=e[++n];break}}return s}const Ln={composeNode:gs,composeEmptyNode:kt};function gs(s,e,t,n){const{spaceBefore:i,comment:r,anchor:o,tag:l}=t;let a,c=!0;switch(e.type){case"alias":a=In(s,e,n),(o||l)&&n(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":a=ys(s,e,l,n),o&&(a.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":a=pn(Ln,s,e,l,n),o&&(a.anchor=o.source.substring(1));break;default:{const f=e.type==="error"?e.message:`Unsupported token (type: ${e.type})`;n(e,"UNEXPECTED_TOKEN",f),a=kt(s,e.offset,void 0,null,t,n),c=!1}}return o&&a.anchor===""&&n(o,"BAD_ALIAS","Anchor cannot be an empty string"),i&&(a.spaceBefore=!0),r&&(e.type==="scalar"&&e.source===""?a.comment=r:a.commentBefore=r),s.options.keepSourceTokens&&c&&(a.srcToken=e),a}function kt(s,e,t,n,{spaceBefore:i,comment:r,anchor:o,tag:l},a){const c={type:"scalar",offset:En(e,t,n),indent:-1,source:""},f=ys(s,c,l,a);return o&&(f.anchor=o.source.substring(1),f.anchor===""&&a(o,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(f.spaceBefore=!0),r&&(f.comment=r),f}function In({options:s},{offset:e,source:t,end:n},i){const r=new Ie(t.substring(1));r.source===""&&i(e,"BAD_ALIAS","Alias cannot be an empty string"),r.source.endsWith(":")&&i(e+t.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=e+t.length,l=Ne(n,o,s.strict,i);return r.range=[e,o,l.offset],l.comment&&(r.comment=l.comment),r}function Tn(s,e,{offset:t,start:n,value:i,end:r},o){const l=Object.assign({_directives:e},s),a=new ae(void 0,l),c={atRoot:!0,directives:a.directives,options:a.options,schema:a.schema},f=fe(n,{indicator:"doc-start",next:i!=null?i:r==null?void 0:r[0],offset:t,onError:o,startOnNewline:!0});f.found&&(a.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!f.hasNewline&&o(f.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),a.contents=i?gs(c,i,f,o):kt(c,f.end,n,null,f,o);const h=a.contents.range[2],u=Ne(r,h,!1,o);return u.comment&&(a.comment=u.comment),a.range=[t,h,u.offset],a}function Oe(s){if(typeof s=="number")return[s,s+1];if(Array.isArray(s))return s.length===2?s:[s[0],s[1]];const{offset:e,source:t}=s;return[e,e+(typeof t=="string"?t.length:1)]}function bs(s){var i;let e="",t=!1,n=!1;for(let r=0;r<s.length;++r){const o=s[r];switch(o[0]){case"#":e+=(e===""?"":n?`
96
+
97
+ `:`
98
+ `)+(o.substring(1)||" "),t=!0,n=!1;break;case"%":((i=s[r+1])==null?void 0:i[0])!=="#"&&(r+=1),t=!1;break;default:t||(n=!0),t=!1}}return{comment:e,afterEmptyLine:n}}class Nt{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(t,n,i,r)=>{const o=Oe(t);r?this.warnings.push(new fs(o,n,i)):this.errors.push(new Z(o,n,i))},this.directives=new $({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:i}=bs(this.prelude);if(n){const r=e.contents;if(t)e.comment=e.comment?`${e.comment}
99
+ ${n}`:n;else if(i||e.directives.docStart||!r)e.commentBefore=n;else if(L(r)&&!r.flow&&r.items.length>0){let o=r.items[0];E(o)&&(o=o.key);const l=o.commentBefore;o.commentBefore=l?`${n}
100
+ ${l}`:n}else{const o=r.commentBefore;r.commentBefore=o?`${n}
101
+ ${o}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:bs(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const i of e)yield*this.next(i);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,n,i)=>{const r=Oe(e);r[0]+=t,this.onError(r,"BAD_DIRECTIVE",n,i)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=Tn(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new Z(Oe(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const n="Unexpected doc-end without preceding document";this.errors.push(new Z(Oe(e),"UNEXPECTED_TOKEN",n));break}this.doc.directives.docEnd=!0;const t=Ne(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const n=this.doc.comment;this.doc.comment=n?`${n}
102
+ ${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Z(Oe(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const n=Object.assign({_directives:this.directives},this.options),i=new ae(void 0,n);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,t,t],this.decorate(i,!1),yield i}}}function _n(s,e=!0,t){if(s){const n=(i,r,o)=>{const l=typeof i=="number"?i:Array.isArray(i)?i[0]:i.offset;if(t)t(l,r,o);else throw new Z([l,l+1],r,o)};switch(s.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return ps(s,e,n);case"block-scalar":return ds(s,e,n)}}return null}function $n(s,e){var c;const{implicitKey:t=!1,indent:n,inFlow:i=!1,offset:r=-1,type:o="PLAIN"}=e,l=ge({type:o,value:s},{implicitKey:t,indent:n>0?" ".repeat(n):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),a=(c=e.end)!=null?c:[{type:"newline",offset:-1,indent:n,source:`
103
+ `}];switch(l[0]){case"|":case">":{const f=l.indexOf(`
104
+ `),h=l.substring(0,f),u=l.substring(f+1)+`
105
+ `,p=[{type:"block-scalar-header",offset:r,indent:n,source:h}];return ws(p,a)||p.push({type:"newline",offset:-1,indent:n,source:`
106
+ `}),{type:"block-scalar",offset:r,indent:n,props:p,source:u}}case'"':return{type:"double-quoted-scalar",offset:r,indent:n,source:l,end:a};case"'":return{type:"single-quoted-scalar",offset:r,indent:n,source:l,end:a};default:return{type:"scalar",offset:r,indent:n,source:l,end:a}}}function Cn(s,e,t={}){let{afterKey:n=!1,implicitKey:i=!1,inFlow:r=!1,type:o}=t,l="indent"in s?s.indent:null;if(n&&typeof l=="number"&&(l+=2),!o)switch(s.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{const c=s.props[0];if(c.type!=="block-scalar-header")throw new Error("Invalid block scalar header");o=c.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}const a=ge({type:o,value:e},{implicitKey:i||l===null,indent:l!==null&&l>0?" ".repeat(l):"",inFlow:r,options:{blockQuote:!0,lineWidth:-1}});switch(a[0]){case"|":case">":vn(s,a);break;case'"':Ot(s,a,"double-quoted-scalar");break;case"'":Ot(s,a,"single-quoted-scalar");break;default:Ot(s,a,"scalar")}}function vn(s,e){const t=e.indexOf(`
107
+ `),n=e.substring(0,t),i=e.substring(t+1)+`
108
+ `;if(s.type==="block-scalar"){const r=s.props[0];if(r.type!=="block-scalar-header")throw new Error("Invalid block scalar header");r.source=n,s.source=i}else{const{offset:r}=s,o="indent"in s?s.indent:-1,l=[{type:"block-scalar-header",offset:r,indent:o,source:n}];ws(l,"end"in s?s.end:void 0)||l.push({type:"newline",offset:-1,indent:o,source:`
109
+ `});for(const a of Object.keys(s))a!=="type"&&a!=="offset"&&delete s[a];Object.assign(s,{type:"block-scalar",indent:o,props:l,source:i})}}function ws(s,e){if(e)for(const t of e)switch(t.type){case"space":case"comment":s.push(t);break;case"newline":return s.push(t),!0}return!1}function Ot(s,e,t){switch(s.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":s.type=t,s.source=e;break;case"block-scalar":{const n=s.props.slice(1);let i=e.length;s.props[0].type==="block-scalar-header"&&(i-=s.props[0].source.length);for(const r of n)r.offset+=i;delete s.props,Object.assign(s,{type:t,source:e,end:n});break}case"block-map":case"block-seq":{const n=s.offset+e.length,i={type:"newline",offset:n,indent:s.indent,source:`
110
+ `};delete s.items,Object.assign(s,{type:t,source:e,end:[i]});break}default:{const n="indent"in s?s.indent:-1,i="end"in s&&Array.isArray(s.end)?s.end.filter(r=>r.type==="space"||r.type==="comment"||r.type==="newline"):[];for(const r of Object.keys(s))r!=="type"&&r!=="offset"&&delete s[r];Object.assign(s,{type:t,indent:n,source:e,end:i})}}}const Bn=s=>"type"in s?Ge(s):Qe(s);function Ge(s){switch(s.type){case"block-scalar":{let e="";for(const t of s.props)e+=Ge(t);return e+s.source}case"block-map":case"block-seq":{let e="";for(const t of s.items)e+=Qe(t);return e}case"flow-collection":{let e=s.start.source;for(const t of s.items)e+=Qe(t);for(const t of s.end)e+=t.source;return e}case"document":{let e=Qe(s);if(s.end)for(const t of s.end)e+=t.source;return e}default:{let e=s.source;if("end"in s&&s.end)for(const t of s.end)e+=t.source;return e}}}function Qe({start:s,key:e,sep:t,value:n}){let i="";for(const r of s)i+=r.source;if(e&&(i+=Ge(e)),t)for(const r of t)i+=r.source;return n&&(i+=Ge(n)),i}const At=Symbol("break visit"),Mn=Symbol("skip children"),Ss=Symbol("remove item");function x(s,e){"type"in s&&s.type==="document"&&(s={start:s.start,value:s.value}),ks(Object.freeze([]),s,e)}x.BREAK=At,x.SKIP=Mn,x.REMOVE=Ss,x.itemAtPath=(s,e)=>{let t=s;for(const[n,i]of e){const r=t==null?void 0:t[n];if(r&&"items"in r)t=r.items[i];else return}return t},x.parentCollection=(s,e)=>{const t=x.itemAtPath(s,e.slice(0,-1)),n=e[e.length-1][0],i=t==null?void 0:t[n];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function ks(s,e,t){let n=t(e,s);if(typeof n=="symbol")return n;for(const i of["key","value"]){const r=e[i];if(r&&"items"in r){for(let o=0;o<r.items.length;++o){const l=ks(Object.freeze(s.concat([[i,o]])),r.items[o],t);if(typeof l=="number")o=l-1;else{if(l===At)return At;l===Ss&&(r.items.splice(o,1),o-=1)}}typeof n=="function"&&i==="key"&&(n=n(e,s))}}return typeof n=="function"?n(e,s):n}const We="\uFEFF",He="",Xe="",Ae="",Pn=s=>!!s&&"items"in s,jn=s=>!!s&&(s.type==="scalar"||s.type==="single-quoted-scalar"||s.type==="double-quoted-scalar"||s.type==="block-scalar");function Dn(s){switch(s){case We:return"<BOM>";case He:return"<DOC>";case Xe:return"<FLOW_END>";case Ae:return"<SCALAR>";default:return JSON.stringify(s)}}function Ns(s){switch(s){case We:return"byte-order-mark";case He:return"doc-mode";case Xe:return"flow-error-end";case Ae:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
111
+ `:case`\r
112
+ `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(s[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function P(s){switch(s){case void 0:case" ":case`
113
+ `:case"\r":case" ":return!0;default:return!1}}const Os="0123456789ABCDEFabcdef".split(""),Kn="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),Et=",[]{}".split(""),qn=` ,[]{}
114
+ \r `.split(""),Lt=s=>!s||qn.includes(s);class As{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){var i;e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=(i=this.next)!=null?i:"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;t===" "||t===" ";)t=this.buffer[++e];return!t||t==="#"||t===`
115
+ `?!0:t==="\r"?this.buffer[e+1]===`
116
+ `:!1}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;t===" ";)t=this.buffer[++n+e];if(t==="\r"){const i=this.buffer[n+e+1];if(i===`
117
+ `||!i&&!this.atEnd)return e+n+1}return t===`
118
+ `||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if(t==="-"||t==="."){const n=this.buffer.substr(e,3);if((n==="---"||n==="...")&&P(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return(typeof e!="number"||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
119
+ `,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]==="\r"&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(e===null)return this.setNext("stream");if(e[0]===We&&(yield*this.pushCount(1),e=e.substring(1)),e[0]==="%"){let t=e.length;const n=e.indexOf("#");if(n!==-1){const r=e[n-1];(r===" "||r===" ")&&(t=n-1)}for(;;){const r=e[t-1];if(r===" "||r===" ")t-=1;else break}const i=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield He,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if(e==="-"||e==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const t=this.peek(3);if(t==="---"&&P(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(t==="..."&&P(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!P(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if((e==="-"||e==="?"||e===":")&&P(t)){const n=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=n,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(e===null)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Lt),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);const i=this.getLine();if(i===null)return this.setNext("flow");if((n!==-1&&n<this.indentNext&&i[0]!=="#"||n===0&&(i.startsWith("---")||i.startsWith("..."))&&P(i[3]))&&!(n===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield Xe,yield*this.parseLineStart();let r=0;for(;i[r]===",";)r+=yield*this.pushCount(1),r+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(r+=yield*this.pushIndicators(),i[r]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-r),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Lt),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const o=this.charAt(1);if(this.flowKey||P(o)||o===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if(e==="'")for(;t!==-1&&this.buffer[t+1]==="'";)t=this.buffer.indexOf("'",t+2);else for(;t!==-1;){let r=0;for(;this.buffer[t-1-r]==="\\";)r+=1;if(r%2===0)break;t=this.buffer.indexOf('"',t+1)}const n=this.buffer.substring(0,t);let i=n.indexOf(`
120
+ `,this.pos);if(i!==-1){for(;i!==-1;){const r=this.continueScalar(i+1);if(r===-1)break;i=n.indexOf(`
121
+ `,r)}i!==-1&&(t=i-(n[i-1]==="\r"?2:1))}if(t===-1){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if(t==="+")this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if(t!=="-")break}return yield*this.pushUntil(t=>P(t)||t==="#")}*parseBlockScalar(){let e=this.pos-1,t=0,n;e:for(let i=this.pos;n=this.buffer[i];++i)switch(n){case" ":t+=1;break;case`
122
+ `:e=i,t=0;break;case"\r":{const r=this.buffer[i+1];if(!r&&!this.atEnd)return this.setNext("block-scalar");if(r===`
123
+ `)break}default:break e}if(!n&&!this.atEnd)return this.setNext("block-scalar");if(t>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=t:this.indentNext+=this.blockScalarIndent;do{const i=this.continueScalar(e+1);if(i===-1)break;e=this.buffer.indexOf(`
124
+ `,i)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}if(!this.blockScalarKeep)do{let i=e-1,r=this.buffer[i];r==="\r"&&(r=this.buffer[--i]);const o=i;for(;r===" "||r===" ";)r=this.buffer[--i];if(r===`
125
+ `&&i>=this.pos&&i+1+t>o)e=i;else break}while(!0);return yield Ae,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t=this.pos-1,n=this.pos-1,i;for(;i=this.buffer[++n];)if(i===":"){const r=this.buffer[n+1];if(P(r)||e&&r===",")break;t=n}else if(P(i)){let r=this.buffer[n+1];if(i==="\r"&&(r===`
126
+ `?(n+=1,i=`
127
+ `,r=this.buffer[n+1]):t=n),r==="#"||e&&Et.includes(r))break;if(i===`
128
+ `){const o=this.continueScalar(n+1);if(o===-1)break;n=Math.max(n,o-2)}}else{if(e&&Et.includes(i))break;t=n}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield Ae,yield*this.pushToIndex(t+1,!0),e?"flow":"doc")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(Lt))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(P(t)||e&&Et.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let e=this.pos+2,t=this.buffer[e];for(;!P(t)&&t!==">";)t=this.buffer[++e];return yield*this.pushToIndex(t===">"?e+1:e,!1)}else{let e=this.pos+1,t=this.buffer[e];for(;t;)if(Kn.includes(t))t=this.buffer[++e];else if(t==="%"&&Os.includes(this.buffer[e+1])&&Os.includes(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return e===`
129
+ `?yield*this.pushCount(1):e==="\r"&&this.charAt(1)===`
130
+ `?yield*this.pushCount(2):0}*pushSpaces(e){let t=this.pos-1,n;do n=this.buffer[++t];while(n===" "||e&&n===" ");const i=t-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=t),i}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class Es{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){const r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(t===0)return{line:0,col:e};const i=this.lineStarts[t-1];return{line:t,col:e-i+1}}}}function D(s,e){for(let t=0;t<s.length;++t)if(s[t].type===e)return!0;return!1}function Ls(s){for(let e=0;e<s.length;++e)switch(s[e].type){case"space":case"comment":case"newline":break;default:return e}return-1}function Is(s){switch(s==null?void 0:s.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function ze(s){var e;switch(s.type){case"document":return s.start;case"block-map":{const t=s.items[s.items.length-1];return(e=t.sep)!=null?e:t.start}case"block-seq":return s.items[s.items.length-1].start;default:return[]}}function ue(s){var t;if(s.length===0)return[];let e=s.length;e:for(;--e>=0;)switch(s[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;((t=s[++e])==null?void 0:t.type)==="space";);return s.splice(e,s.length)}function Ts(s){if(s.start.type==="flow-seq-start")for(const e of s.items)e.sep&&!e.value&&!D(e.start,"explicit-key-ind")&&!D(e.sep,"map-value-ind")&&(e.key&&(e.value=e.key),delete e.key,Is(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep)}class It{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new As,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}const t=Ns(e);if(t)if(t==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&e[0]===" "&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const n=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:n,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if(this.type==="doc-end"&&(!e||e.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e!=null?e:this.stack.pop();if(t)if(this.stack.length===0)yield t;else{const n=this.peek(1);switch(t.type==="block-scalar"?t.indent="indent"in n?n.indent:0:t.type==="flow-collection"&&n.type==="document"&&(t.indent=0),t.type==="flow-collection"&&Ts(t),n.type){case"document":n.value=t;break;case"block-scalar":n.props.push(t);break;case"block-map":{const i=n.items[n.items.length-1];if(i.value){n.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=t;else{Object.assign(i,{key:t,sep:[]}),this.onKeyLine=!D(i.start,"explicit-key-ind");return}break}case"block-seq":{const i=n.items[n.items.length-1];i.value?n.items.push({start:[],value:t}):i.value=t;break}case"flow-collection":{const i=n.items[n.items.length-1];!i||i.value?n.items.push({start:[],key:t,sep:[]}):i.sep?i.value=t:Object.assign(i,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if((n.type==="document"||n.type==="block-map"||n.type==="block-seq")&&(t.type==="block-map"||t.type==="block-seq")){const i=t.items[t.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&Ls(i.start)===-1&&(t.indent===0||i.start.every(r=>r.type!=="comment"||r.indent<t.indent))&&(n.type==="document"?n.end=i.start:n.items.push({start:i.start}),t.items.splice(-1,1))}}else{const n="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:n}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":{Ls(e.start)!==-1?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if(this.type==="map-value-ind"){const t=ze(this.peek(2)),n=ue(t);let i;e.end?(i=e.end,i.push(this.sourceToken),delete e.end):i=[this.sourceToken];const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let t=this.source.indexOf(`
131
+ `)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(`
132
+ `,t)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){var n;const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const i="end"in t.value?t.value.end:void 0,r=Array.isArray(i)?i[i.length-1]:void 0;(r==null?void 0:r.type)==="comment"?i==null||i.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const i=e.items[e.items.length-2],r=(n=i==null?void 0:i.value)==null?void 0:n.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const i=!this.onKeyLine&&this.indent===e.indent&&t.sep;let r=[];if(i&&t.sep&&!t.value){const o=[];for(let l=0;l<t.sep.length;++l){const a=t.sep[l];switch(a.type){case"newline":o.push(l);break;case"space":break;case"comment":a.indent>e.indent&&(o.length=0);break;default:o.length=0}}o.length>=2&&(r=t.sep.splice(o[1]))}switch(this.type){case"anchor":case"tag":i||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":!t.sep&&!D(t.start,"explicit-key-ind")?t.start.push(this.sourceToken):i||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}),this.onKeyLine=!0;return;case"map-value-ind":if(D(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(D(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(Is(t.key)&&!D(t.sep,"newline")){const o=ue(t.start),l=t.key,a=t.sep;a.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:l,sep:a}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if(D(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const o=ue(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||i?e.items.push({start:r,key:null,sep:[this.sourceToken]}):D(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);i||t.value?(e.items.push({start:r,key:o,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(o):(Object.assign(t,{key:o,sep:[]}),this.onKeyLine=!0);return}default:{const o=this.startBlockValue(e);if(o){i&&o.type!=="block-seq"&&D(t.start,"explicit-key-ind")&&e.items.push({start:r}),this.stack.push(o);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){var n;const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const i="end"in t.value?t.value.end:void 0,r=Array.isArray(i)?i[i.length-1]:void 0;(r==null?void 0:r.type)==="comment"?i==null||i.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const i=e.items[e.items.length-2],r=(n=i==null?void 0:i.value)==null?void 0:n.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||D(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){const i=this.startBlockValue(e);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if(this.type==="flow-error-end"){let n;do yield*this.pop(),n=this.peek(1);while(n&&n.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:i,sep:[]}):t.sep?this.stack.push(i):Object.assign(t,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const n=this.peek(2);if(n.type==="block-map"&&(this.type==="map-value-ind"&&n.indent===e.indent||this.type==="newline"&&!n.items[n.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&n.type!=="flow-collection"){const i=ze(n),r=ue(i);Ts(e);const o=e.end.splice(1,e.end.length);o.push(this.sourceToken);const l={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=l}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let t=this.source.indexOf(`
133
+ `)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(`
134
+ `,t)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=ze(e),n=ue(t);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n}]}}case"map-value-ind":{this.onKeyLine=!0;const t=ze(e),n=ue(t);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!=="comment"||this.indent<=t?!1:e.every(n=>n.type==="newline"||n.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function _s(s){const e=s.prettyErrors!==!1;return{lineCounter:s.lineCounter||e&&new Es||null,prettyErrors:e}}function Fn(s,e={}){const{lineCounter:t,prettyErrors:n}=_s(e),i=new It(t==null?void 0:t.addNewLine),r=new Nt(e),o=Array.from(r.compose(i.parse(s)));if(n&&t)for(const l of o)l.errors.forEach(Je(s,t)),l.warnings.forEach(Je(s,t));return o.length>0?o:Object.assign([],{empty:!0},r.streamInfo())}function $s(s,e={}){const{lineCounter:t,prettyErrors:n}=_s(e),i=new It(t==null?void 0:t.addNewLine),r=new Nt(e);let o=null;for(const l of r.compose(i.parse(s),!0,s.length))if(!o)o=l;else if(o.options.logLevel!=="silent"){o.errors.push(new Z(l.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&t&&(o.errors.forEach(Je(s,t)),o.warnings.forEach(Je(s,t))),o}function Un(s,e,t){let n;typeof e=="function"?n=e:t===void 0&&e&&typeof e=="object"&&(t=e);const i=$s(s,t);if(!i)return null;if(i.warnings.forEach(r=>Ut(i.options.logLevel,r)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:n},t))}function Rn(s,e,t){var i;let n=null;if(typeof e=="function"||Array.isArray(e)?n=e:t===void 0&&e&&(t=e),typeof t=="string"&&(t=t.length),typeof t=="number"){const r=Math.round(t);t=r<1?void 0:r>8?{indent:8}:{indent:r}}if(s===void 0){const{keepUndefined:r}=(i=t!=null?t:e)!=null?i:{};if(!r)return}return new ae(s,n,t).toString(t)}var Vn=xe}}]);})();
135
+
136
+ //# sourceMappingURL=module-yaml.cef9da5e.js.map