@powerlines/plugin-env 0.16.60 → 0.16.62

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 (215) hide show
  1. package/README.md +14 -16
  2. package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -3
  3. package/dist/_virtual/{rolldown_runtime.mjs → _rolldown/runtime.mjs} +2 -3
  4. package/dist/babel/index.cjs +1 -0
  5. package/dist/babel/plugin.cjs +20 -19
  6. package/dist/babel/plugin.d.cts +0 -1
  7. package/dist/babel/plugin.d.cts.map +1 -1
  8. package/dist/babel/plugin.d.mts +0 -1
  9. package/dist/babel/plugin.d.mts.map +1 -1
  10. package/dist/babel/plugin.mjs +3 -3
  11. package/dist/babel/plugin.mjs.map +1 -1
  12. package/dist/components/docs.cjs +26 -25
  13. package/dist/components/docs.d.cts.map +1 -1
  14. package/dist/components/docs.d.mts.map +1 -1
  15. package/dist/components/docs.mjs +1 -1
  16. package/dist/components/env-builtin.cjs +155 -153
  17. package/dist/components/env-builtin.d.cts +0 -1
  18. package/dist/components/env-builtin.d.cts.map +1 -1
  19. package/dist/components/env-builtin.d.mts +0 -1
  20. package/dist/components/env-builtin.d.mts.map +1 -1
  21. package/dist/components/env-builtin.mjs +1 -1
  22. package/dist/components/index.cjs +1 -0
  23. package/dist/helpers/automd-generator.cjs +4 -3
  24. package/dist/helpers/automd-generator.d.cts +2 -3
  25. package/dist/helpers/automd-generator.d.cts.map +1 -1
  26. package/dist/helpers/automd-generator.d.mts +2 -3
  27. package/dist/helpers/automd-generator.d.mts.map +1 -1
  28. package/dist/helpers/automd-generator.mjs +1 -1
  29. package/dist/helpers/automd-generator.mjs.map +1 -1
  30. package/dist/helpers/create-reflection-resource.cjs +1 -0
  31. package/dist/helpers/create-reflection-resource.d.cts +0 -1
  32. package/dist/helpers/create-reflection-resource.d.cts.map +1 -1
  33. package/dist/helpers/create-reflection-resource.d.mts +0 -1
  34. package/dist/helpers/create-reflection-resource.d.mts.map +1 -1
  35. package/dist/helpers/create-reflection-resource.mjs.map +1 -1
  36. package/dist/helpers/docs-helper.cjs +4 -2
  37. package/dist/helpers/docs-helper.d.cts +0 -1
  38. package/dist/helpers/docs-helper.d.cts.map +1 -1
  39. package/dist/helpers/docs-helper.d.mts +0 -1
  40. package/dist/helpers/docs-helper.d.mts.map +1 -1
  41. package/dist/helpers/docs-helper.mjs +1 -1
  42. package/dist/helpers/docs-helper.mjs.map +1 -1
  43. package/dist/helpers/index.cjs +1 -0
  44. package/dist/helpers/load.cjs +19 -17
  45. package/dist/helpers/load.d.cts +0 -1
  46. package/dist/helpers/load.d.cts.map +1 -1
  47. package/dist/helpers/load.d.mts +0 -1
  48. package/dist/helpers/load.d.mts.map +1 -1
  49. package/dist/helpers/load.mjs +2 -2
  50. package/dist/helpers/load.mjs.map +1 -1
  51. package/dist/helpers/persistence.cjs +59 -58
  52. package/dist/helpers/persistence.d.cts +0 -1
  53. package/dist/helpers/persistence.d.cts.map +1 -1
  54. package/dist/helpers/persistence.d.mts +0 -1
  55. package/dist/helpers/persistence.d.mts.map +1 -1
  56. package/dist/helpers/persistence.mjs +15 -15
  57. package/dist/helpers/persistence.mjs.map +1 -1
  58. package/dist/helpers/reflect.cjs +40 -39
  59. package/dist/helpers/reflect.d.cts.map +1 -1
  60. package/dist/helpers/reflect.d.mts.map +1 -1
  61. package/dist/helpers/reflect.mjs +2 -2
  62. package/dist/helpers/reflect.mjs.map +1 -1
  63. package/dist/helpers/source-file-env.cjs +8 -7
  64. package/dist/helpers/source-file-env.d.cts.map +1 -1
  65. package/dist/helpers/source-file-env.d.mts.map +1 -1
  66. package/dist/helpers/source-file-env.mjs.map +1 -1
  67. package/dist/helpers/template-helpers.cjs +6 -5
  68. package/dist/helpers/template-helpers.d.cts +0 -1
  69. package/dist/helpers/template-helpers.d.cts.map +1 -1
  70. package/dist/helpers/template-helpers.d.mts +0 -1
  71. package/dist/helpers/template-helpers.d.mts.map +1 -1
  72. package/dist/helpers/template-helpers.mjs.map +1 -1
  73. package/dist/index.cjs +49 -49
  74. package/dist/index.d.cts +0 -1
  75. package/dist/index.d.cts.map +1 -1
  76. package/dist/index.d.mts +0 -1
  77. package/dist/index.d.mts.map +1 -1
  78. package/dist/index.mjs +5 -6
  79. package/dist/index.mjs.map +1 -1
  80. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs +7 -7
  81. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs +6 -6
  82. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs.map +1 -1
  83. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.cjs +6 -6
  84. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs +6 -6
  85. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs.map +1 -1
  86. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.cjs +3 -3
  87. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs +3 -3
  88. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs.map +1 -1
  89. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.cjs +655 -655
  90. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +655 -655
  91. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs.map +1 -1
  92. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.cjs +179 -179
  93. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs +179 -179
  94. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs.map +1 -1
  95. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.cjs +188 -188
  96. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +188 -188
  97. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs.map +1 -1
  98. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.cjs +297 -297
  99. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +297 -297
  100. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs.map +1 -1
  101. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.cjs +8 -8
  102. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +8 -8
  103. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs.map +1 -1
  104. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.cjs +3 -3
  105. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs +4 -4
  106. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs.map +1 -1
  107. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.cjs +3 -3
  108. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs +3 -3
  109. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs.map +1 -1
  110. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.cjs +2 -2
  111. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs +2 -2
  112. package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs.map +1 -1
  113. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.cjs +5 -5
  114. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs +4 -4
  115. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs.map +1 -1
  116. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.cjs +2 -2
  117. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs +1 -1
  118. package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs.map +1 -1
  119. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +18 -18
  120. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +2 -2
  121. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +1 -1
  122. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +1 -1
  123. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +1 -1
  124. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +1308 -1311
  125. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +1294 -1297
  126. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +1 -1
  127. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +2194 -2194
  128. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +2193 -2193
  129. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +1 -1
  130. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +3 -3
  131. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +2 -2
  132. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +3 -3
  133. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -2
  134. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +1 -1
  135. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +2 -2
  136. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +1 -1
  137. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +34 -34
  138. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +33 -33
  139. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +1 -1
  140. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +221 -223
  141. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +220 -222
  142. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +1 -1
  143. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +2 -2
  144. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +1 -1
  145. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +2 -2
  146. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +1 -1
  147. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.cjs +3 -3
  148. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs +5 -5
  149. package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs.map +1 -1
  150. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +1 -1
  151. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +6 -6
  152. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +5 -5
  153. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -1
  154. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +10 -10
  155. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +16 -16
  156. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +1 -1
  157. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +412 -412
  158. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +189 -189
  159. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +1 -1
  160. package/dist/types/index.cjs +1 -0
  161. package/dist/types/plugin.cjs +20 -19
  162. package/dist/types/plugin.d.cts.map +1 -1
  163. package/dist/types/plugin.d.mts.map +1 -1
  164. package/dist/types/plugin.mjs.map +1 -1
  165. package/dist/types/runtime.cjs +1 -0
  166. package/dist/types/runtime.d.cts.map +1 -1
  167. package/dist/types/runtime.d.mts.map +1 -1
  168. package/dist/types/runtime.mjs.map +1 -1
  169. package/package.json +45 -26
  170. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.cjs +0 -37
  171. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs +0 -38
  172. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs.map +0 -1
  173. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.cjs +0 -15
  174. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs +0 -15
  175. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs.map +0 -1
  176. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +0 -15
  177. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +0 -15
  178. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs.map +0 -1
  179. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +0 -3
  180. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +0 -5
  181. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +0 -6
  182. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +0 -7
  183. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs.map +0 -1
  184. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +0 -1
  185. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +0 -3
  186. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +0 -19
  187. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +0 -20
  188. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs.map +0 -1
  189. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +0 -63
  190. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +0 -64
  191. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs.map +0 -1
  192. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +0 -12
  193. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +0 -12
  194. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs.map +0 -1
  195. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +0 -15
  196. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +0 -17
  197. package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs.map +0 -1
  198. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.cjs +0 -32
  199. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs +0 -33
  200. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs.map +0 -1
  201. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.cjs +0 -28
  202. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs +0 -29
  203. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs.map +0 -1
  204. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.cjs +0 -122
  205. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs +0 -123
  206. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs.map +0 -1
  207. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.cjs +0 -12
  208. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs +0 -9
  209. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs.map +0 -1
  210. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.cjs +0 -15
  211. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs +0 -15
  212. package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs.map +0 -1
  213. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +0 -43
  214. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +0 -43
  215. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs.map +0 -1
@@ -1,26 +1,26 @@
1
1
  //#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs
2
2
  /*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
3
- function e(e$1) {
4
- return e$1 == null;
3
+ function e(e) {
4
+ return e == null;
5
5
  }
6
- function t(e$1) {
7
- return typeof e$1 == `object` && !!e$1;
6
+ function t(e) {
7
+ return typeof e == `object` && !!e;
8
8
  }
9
- function n(t$1) {
10
- return Array.isArray(t$1) ? t$1 : e(t$1) ? [] : [t$1];
9
+ function n(t) {
10
+ return Array.isArray(t) ? t : e(t) ? [] : [t];
11
11
  }
12
- function r(e$1, t$1) {
13
- var n$1, r$1, i$1, a$1;
14
- if (t$1) for (a$1 = Object.keys(t$1), n$1 = 0, r$1 = a$1.length; n$1 < r$1; n$1 += 1) i$1 = a$1[n$1], e$1[i$1] = t$1[i$1];
15
- return e$1;
12
+ function r(e, t) {
13
+ var n, r, i, a;
14
+ if (t) for (a = Object.keys(t), n = 0, r = a.length; n < r; n += 1) i = a[n], e[i] = t[i];
15
+ return e;
16
16
  }
17
- function i(e$1, t$1) {
18
- var n$1 = ``, r$1;
19
- for (r$1 = 0; r$1 < t$1; r$1 += 1) n$1 += e$1;
20
- return n$1;
17
+ function i(e, t) {
18
+ var n = ``, r;
19
+ for (r = 0; r < t; r += 1) n += e;
20
+ return n;
21
21
  }
22
- function a(e$1) {
23
- return e$1 === 0 && 1 / e$1 == -Infinity;
22
+ function a(e) {
23
+ return e === 0 && 1 / e == -Infinity;
24
24
  }
25
25
  var o = {
26
26
  isNothing: e,
@@ -30,42 +30,42 @@ var o = {
30
30
  isNegativeZero: a,
31
31
  extend: r
32
32
  };
33
- function s(e$1, t$1) {
34
- var n$1 = ``, r$1 = e$1.reason || `(unknown reason)`;
35
- return e$1.mark ? (e$1.mark.name && (n$1 += `in "` + e$1.mark.name + `" `), n$1 += `(` + (e$1.mark.line + 1) + `:` + (e$1.mark.column + 1) + `)`, !t$1 && e$1.mark.snippet && (n$1 += `
33
+ function s(e, t) {
34
+ var n = ``, r = e.reason || `(unknown reason)`;
35
+ return e.mark ? (e.mark.name && (n += `in "` + e.mark.name + `" `), n += `(` + (e.mark.line + 1) + `:` + (e.mark.column + 1) + `)`, !t && e.mark.snippet && (n += `
36
36
 
37
- ` + e$1.mark.snippet), r$1 + ` ` + n$1) : r$1;
37
+ ` + e.mark.snippet), r + ` ` + n) : r;
38
38
  }
39
- function c(e$1, t$1) {
40
- Error.call(this), this.name = `YAMLException`, this.reason = e$1, this.mark = t$1, this.message = s(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = Error().stack || ``;
39
+ function c(e, t) {
40
+ Error.call(this), this.name = `YAMLException`, this.reason = e, this.mark = t, this.message = s(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = Error().stack || ``;
41
41
  }
42
- c.prototype = Object.create(Error.prototype), c.prototype.constructor = c, c.prototype.toString = function(e$1) {
43
- return this.name + `: ` + s(this, e$1);
42
+ c.prototype = Object.create(Error.prototype), c.prototype.constructor = c, c.prototype.toString = function(e) {
43
+ return this.name + `: ` + s(this, e);
44
44
  };
45
45
  var l = c;
46
- function u(e$1, t$1, n$1, r$1, i$1) {
47
- var a$1 = ``, o$1 = ``, s$1 = Math.floor(i$1 / 2) - 1;
48
- return r$1 - t$1 > s$1 && (a$1 = ` ... `, t$1 = r$1 - s$1 + a$1.length), n$1 - r$1 > s$1 && (o$1 = ` ...`, n$1 = r$1 + s$1 - o$1.length), {
49
- str: a$1 + e$1.slice(t$1, n$1).replace(/\t/g, `→`) + o$1,
50
- pos: r$1 - t$1 + a$1.length
46
+ function u(e, t, n, r, i) {
47
+ var a = ``, o = ``, s = Math.floor(i / 2) - 1;
48
+ return r - t > s && (a = ` ... `, t = r - s + a.length), n - r > s && (o = ` ...`, n = r + s - o.length), {
49
+ str: a + e.slice(t, n).replace(/\t/g, `→`) + o,
50
+ pos: r - t + a.length
51
51
  };
52
52
  }
53
- function d(e$1, t$1) {
54
- return o.repeat(` `, t$1 - e$1.length) + e$1;
55
- }
56
- function f(e$1, t$1) {
57
- if (t$1 = Object.create(t$1 || null), !e$1.buffer) return null;
58
- t$1.maxLength ||= 79, typeof t$1.indent != `number` && (t$1.indent = 1), typeof t$1.linesBefore != `number` && (t$1.linesBefore = 3), typeof t$1.linesAfter != `number` && (t$1.linesAfter = 2);
59
- for (var n$1 = /\r?\n|\r|\0/g, r$1 = [0], i$1 = [], a$1, s$1 = -1; a$1 = n$1.exec(e$1.buffer);) i$1.push(a$1.index), r$1.push(a$1.index + a$1[0].length), e$1.position <= a$1.index && s$1 < 0 && (s$1 = r$1.length - 2);
60
- s$1 < 0 && (s$1 = r$1.length - 1);
61
- var c$1 = ``, l$1, f$1, p$1 = Math.min(e$1.line + t$1.linesAfter, i$1.length).toString().length, m$1 = t$1.maxLength - (t$1.indent + p$1 + 3);
62
- for (l$1 = 1; l$1 <= t$1.linesBefore && !(s$1 - l$1 < 0); l$1++) f$1 = u(e$1.buffer, r$1[s$1 - l$1], i$1[s$1 - l$1], e$1.position - (r$1[s$1] - r$1[s$1 - l$1]), m$1), c$1 = o.repeat(` `, t$1.indent) + d((e$1.line - l$1 + 1).toString(), p$1) + ` | ` + f$1.str + `
63
- ` + c$1;
64
- for (f$1 = u(e$1.buffer, r$1[s$1], i$1[s$1], e$1.position, m$1), c$1 += o.repeat(` `, t$1.indent) + d((e$1.line + 1).toString(), p$1) + ` | ` + f$1.str + `
65
- `, c$1 += o.repeat(`-`, t$1.indent + p$1 + 3 + f$1.pos) + `^
66
- `, l$1 = 1; l$1 <= t$1.linesAfter && !(s$1 + l$1 >= i$1.length); l$1++) f$1 = u(e$1.buffer, r$1[s$1 + l$1], i$1[s$1 + l$1], e$1.position - (r$1[s$1] - r$1[s$1 + l$1]), m$1), c$1 += o.repeat(` `, t$1.indent) + d((e$1.line + l$1 + 1).toString(), p$1) + ` | ` + f$1.str + `
53
+ function d(e, t) {
54
+ return o.repeat(` `, t - e.length) + e;
55
+ }
56
+ function f(e, t) {
57
+ if (t = Object.create(t || null), !e.buffer) return null;
58
+ t.maxLength ||= 79, typeof t.indent != `number` && (t.indent = 1), typeof t.linesBefore != `number` && (t.linesBefore = 3), typeof t.linesAfter != `number` && (t.linesAfter = 2);
59
+ for (var n = /\r?\n|\r|\0/g, r = [0], i = [], a, s = -1; a = n.exec(e.buffer);) i.push(a.index), r.push(a.index + a[0].length), e.position <= a.index && s < 0 && (s = r.length - 2);
60
+ s < 0 && (s = r.length - 1);
61
+ var c = ``, l, f, p = Math.min(e.line + t.linesAfter, i.length).toString().length, m = t.maxLength - (t.indent + p + 3);
62
+ for (l = 1; l <= t.linesBefore && !(s - l < 0); l++) f = u(e.buffer, r[s - l], i[s - l], e.position - (r[s] - r[s - l]), m), c = o.repeat(` `, t.indent) + d((e.line - l + 1).toString(), p) + ` | ` + f.str + `
63
+ ` + c;
64
+ for (f = u(e.buffer, r[s], i[s], e.position, m), c += o.repeat(` `, t.indent) + d((e.line + 1).toString(), p) + ` | ` + f.str + `
65
+ `, c += o.repeat(`-`, t.indent + p + 3 + f.pos) + `^
66
+ `, l = 1; l <= t.linesAfter && !(s + l >= i.length); l++) f = u(e.buffer, r[s + l], i[s + l], e.position - (r[s] - r[s + l]), m), c += o.repeat(` `, t.indent) + d((e.line + l + 1).toString(), p) + ` | ` + f.str + `
67
67
  `;
68
- return c$1.replace(/\n$/, ``);
68
+ return c.replace(/\n$/, ``);
69
69
  }
70
70
  var p = f, m = [
71
71
  `kind`,
@@ -83,35 +83,35 @@ var p = f, m = [
83
83
  `sequence`,
84
84
  `mapping`
85
85
  ];
86
- function g(e$1) {
87
- var t$1 = {};
88
- return e$1 !== null && Object.keys(e$1).forEach(function(n$1) {
89
- e$1[n$1].forEach(function(e$2) {
90
- t$1[String(e$2)] = n$1;
86
+ function g(e) {
87
+ var t = {};
88
+ return e !== null && Object.keys(e).forEach(function(n) {
89
+ e[n].forEach(function(e) {
90
+ t[String(e)] = n;
91
91
  });
92
- }), t$1;
92
+ }), t;
93
93
  }
94
- function _(e$1, t$1) {
95
- if (t$1 ||= {}, Object.keys(t$1).forEach(function(t$2) {
96
- if (m.indexOf(t$2) === -1) throw new l(`Unknown option "` + t$2 + `" is met in definition of "` + e$1 + `" YAML type.`);
97
- }), this.options = t$1, this.tag = e$1, this.kind = t$1.kind || null, this.resolve = t$1.resolve || function() {
94
+ function _(e, t) {
95
+ if (t ||= {}, Object.keys(t).forEach(function(t) {
96
+ if (m.indexOf(t) === -1) throw new l(`Unknown option "` + t + `" is met in definition of "` + e + `" YAML type.`);
97
+ }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
98
98
  return !0;
99
- }, this.construct = t$1.construct || function(e$2) {
100
- return e$2;
101
- }, this.instanceOf = t$1.instanceOf || null, this.predicate = t$1.predicate || null, this.represent = t$1.represent || null, this.representName = t$1.representName || null, this.defaultStyle = t$1.defaultStyle || null, this.multi = t$1.multi || !1, this.styleAliases = g(t$1.styleAliases || null), h.indexOf(this.kind) === -1) throw new l(`Unknown kind "` + this.kind + `" is specified for "` + e$1 + `" YAML type.`);
99
+ }, this.construct = t.construct || function(e) {
100
+ return e;
101
+ }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = g(t.styleAliases || null), h.indexOf(this.kind) === -1) throw new l(`Unknown kind "` + this.kind + `" is specified for "` + e + `" YAML type.`);
102
102
  }
103
103
  var v = _;
104
- function ee(e$1, t$1) {
105
- var n$1 = [];
106
- return e$1[t$1].forEach(function(e$2) {
107
- var t$2 = n$1.length;
108
- n$1.forEach(function(n$2, r$1) {
109
- n$2.tag === e$2.tag && n$2.kind === e$2.kind && n$2.multi === e$2.multi && (t$2 = r$1);
110
- }), n$1[t$2] = e$2;
111
- }), n$1;
104
+ function ee(e, t) {
105
+ var n = [];
106
+ return e[t].forEach(function(e) {
107
+ var t = n.length;
108
+ n.forEach(function(n, r) {
109
+ n.tag === e.tag && n.kind === e.kind && n.multi === e.multi && (t = r);
110
+ }), n[t] = e;
111
+ }), n;
112
112
  }
113
113
  function te() {
114
- var e$1 = {
114
+ var e = {
115
115
  scalar: {},
116
116
  sequence: {},
117
117
  mapping: {},
@@ -122,62 +122,62 @@ function te() {
122
122
  mapping: [],
123
123
  fallback: []
124
124
  }
125
- }, t$1, n$1;
126
- function r$1(t$2) {
127
- t$2.multi ? (e$1.multi[t$2.kind].push(t$2), e$1.multi.fallback.push(t$2)) : e$1[t$2.kind][t$2.tag] = e$1.fallback[t$2.tag] = t$2;
125
+ }, t, n;
126
+ function r(t) {
127
+ t.multi ? (e.multi[t.kind].push(t), e.multi.fallback.push(t)) : e[t.kind][t.tag] = e.fallback[t.tag] = t;
128
128
  }
129
- for (t$1 = 0, n$1 = arguments.length; t$1 < n$1; t$1 += 1) arguments[t$1].forEach(r$1);
130
- return e$1;
129
+ for (t = 0, n = arguments.length; t < n; t += 1) arguments[t].forEach(r);
130
+ return e;
131
131
  }
132
- function y(e$1) {
133
- return this.extend(e$1);
132
+ function y(e) {
133
+ return this.extend(e);
134
134
  }
135
- y.prototype.extend = function(e$1) {
136
- var t$1 = [], n$1 = [];
137
- if (e$1 instanceof v) n$1.push(e$1);
138
- else if (Array.isArray(e$1)) n$1 = n$1.concat(e$1);
139
- else if (e$1 && (Array.isArray(e$1.implicit) || Array.isArray(e$1.explicit))) e$1.implicit && (t$1 = t$1.concat(e$1.implicit)), e$1.explicit && (n$1 = n$1.concat(e$1.explicit));
135
+ y.prototype.extend = function(e) {
136
+ var t = [], n = [];
137
+ if (e instanceof v) n.push(e);
138
+ else if (Array.isArray(e)) n = n.concat(e);
139
+ else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit))) e.implicit && (t = t.concat(e.implicit)), e.explicit && (n = n.concat(e.explicit));
140
140
  else throw new l(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);
141
- t$1.forEach(function(e$2) {
142
- if (!(e$2 instanceof v)) throw new l(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);
143
- if (e$2.loadKind && e$2.loadKind !== `scalar`) throw new l(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);
144
- if (e$2.multi) throw new l(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`);
145
- }), n$1.forEach(function(e$2) {
146
- if (!(e$2 instanceof v)) throw new l(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);
141
+ t.forEach(function(e) {
142
+ if (!(e instanceof v)) throw new l(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);
143
+ if (e.loadKind && e.loadKind !== `scalar`) throw new l(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);
144
+ if (e.multi) throw new l(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`);
145
+ }), n.forEach(function(e) {
146
+ if (!(e instanceof v)) throw new l(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);
147
147
  });
148
- var r$1 = Object.create(y.prototype);
149
- return r$1.implicit = (this.implicit || []).concat(t$1), r$1.explicit = (this.explicit || []).concat(n$1), r$1.compiledImplicit = ee(r$1, `implicit`), r$1.compiledExplicit = ee(r$1, `explicit`), r$1.compiledTypeMap = te(r$1.compiledImplicit, r$1.compiledExplicit), r$1;
148
+ var r = Object.create(y.prototype);
149
+ return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = ee(r, `implicit`), r.compiledExplicit = ee(r, `explicit`), r.compiledTypeMap = te(r.compiledImplicit, r.compiledExplicit), r;
150
150
  };
151
151
  var ne = new y({ explicit: [
152
152
  new v(`tag:yaml.org,2002:str`, {
153
153
  kind: `scalar`,
154
- construct: function(e$1) {
155
- return e$1 === null ? `` : e$1;
154
+ construct: function(e) {
155
+ return e === null ? `` : e;
156
156
  }
157
157
  }),
158
158
  new v(`tag:yaml.org,2002:seq`, {
159
159
  kind: `sequence`,
160
- construct: function(e$1) {
161
- return e$1 === null ? [] : e$1;
160
+ construct: function(e) {
161
+ return e === null ? [] : e;
162
162
  }
163
163
  }),
164
164
  new v(`tag:yaml.org,2002:map`, {
165
165
  kind: `mapping`,
166
- construct: function(e$1) {
167
- return e$1 === null ? {} : e$1;
166
+ construct: function(e) {
167
+ return e === null ? {} : e;
168
168
  }
169
169
  })
170
170
  ] });
171
- function re(e$1) {
172
- if (e$1 === null) return !0;
173
- var t$1 = e$1.length;
174
- return t$1 === 1 && e$1 === `~` || t$1 === 4 && (e$1 === `null` || e$1 === `Null` || e$1 === `NULL`);
171
+ function re(e) {
172
+ if (e === null) return !0;
173
+ var t = e.length;
174
+ return t === 1 && e === `~` || t === 4 && (e === `null` || e === `Null` || e === `NULL`);
175
175
  }
176
176
  function ie() {
177
177
  return null;
178
178
  }
179
- function ae(e$1) {
180
- return e$1 === null;
179
+ function ae(e) {
180
+ return e === null;
181
181
  }
182
182
  var oe = new v(`tag:yaml.org,2002:null`, {
183
183
  kind: `scalar`,
@@ -203,16 +203,16 @@ var oe = new v(`tag:yaml.org,2002:null`, {
203
203
  },
204
204
  defaultStyle: `lowercase`
205
205
  });
206
- function se(e$1) {
207
- if (e$1 === null) return !1;
208
- var t$1 = e$1.length;
209
- return t$1 === 4 && (e$1 === `true` || e$1 === `True` || e$1 === `TRUE`) || t$1 === 5 && (e$1 === `false` || e$1 === `False` || e$1 === `FALSE`);
206
+ function se(e) {
207
+ if (e === null) return !1;
208
+ var t = e.length;
209
+ return t === 4 && (e === `true` || e === `True` || e === `TRUE`) || t === 5 && (e === `false` || e === `False` || e === `FALSE`);
210
210
  }
211
- function ce(e$1) {
212
- return e$1 === `true` || e$1 === `True` || e$1 === `TRUE`;
211
+ function ce(e) {
212
+ return e === `true` || e === `True` || e === `TRUE`;
213
213
  }
214
- function le(e$1) {
215
- return Object.prototype.toString.call(e$1) === `[object Boolean]`;
214
+ function le(e) {
215
+ return Object.prototype.toString.call(e) === `[object Boolean]`;
216
216
  }
217
217
  var ue = new v(`tag:yaml.org,2002:bool`, {
218
218
  kind: `scalar`,
@@ -220,74 +220,74 @@ var ue = new v(`tag:yaml.org,2002:bool`, {
220
220
  construct: ce,
221
221
  predicate: le,
222
222
  represent: {
223
- lowercase: function(e$1) {
224
- return e$1 ? `true` : `false`;
223
+ lowercase: function(e) {
224
+ return e ? `true` : `false`;
225
225
  },
226
- uppercase: function(e$1) {
227
- return e$1 ? `TRUE` : `FALSE`;
226
+ uppercase: function(e) {
227
+ return e ? `TRUE` : `FALSE`;
228
228
  },
229
- camelcase: function(e$1) {
230
- return e$1 ? `True` : `False`;
229
+ camelcase: function(e) {
230
+ return e ? `True` : `False`;
231
231
  }
232
232
  },
233
233
  defaultStyle: `lowercase`
234
234
  });
235
- function de(e$1) {
236
- return 48 <= e$1 && e$1 <= 57 || 65 <= e$1 && e$1 <= 70 || 97 <= e$1 && e$1 <= 102;
237
- }
238
- function fe(e$1) {
239
- return 48 <= e$1 && e$1 <= 55;
240
- }
241
- function pe(e$1) {
242
- return 48 <= e$1 && e$1 <= 57;
243
- }
244
- function me(e$1) {
245
- if (e$1 === null) return !1;
246
- var t$1 = e$1.length, n$1 = 0, r$1 = !1, i$1;
247
- if (!t$1) return !1;
248
- if (i$1 = e$1[n$1], (i$1 === `-` || i$1 === `+`) && (i$1 = e$1[++n$1]), i$1 === `0`) {
249
- if (n$1 + 1 === t$1) return !0;
250
- if (i$1 = e$1[++n$1], i$1 === `b`) {
251
- for (n$1++; n$1 < t$1; n$1++) if (i$1 = e$1[n$1], i$1 !== `_`) {
252
- if (i$1 !== `0` && i$1 !== `1`) return !1;
253
- r$1 = !0;
235
+ function de(e) {
236
+ return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
237
+ }
238
+ function fe(e) {
239
+ return 48 <= e && e <= 55;
240
+ }
241
+ function pe(e) {
242
+ return 48 <= e && e <= 57;
243
+ }
244
+ function me(e) {
245
+ if (e === null) return !1;
246
+ var t = e.length, n = 0, r = !1, i;
247
+ if (!t) return !1;
248
+ if (i = e[n], (i === `-` || i === `+`) && (i = e[++n]), i === `0`) {
249
+ if (n + 1 === t) return !0;
250
+ if (i = e[++n], i === `b`) {
251
+ for (n++; n < t; n++) if (i = e[n], i !== `_`) {
252
+ if (i !== `0` && i !== `1`) return !1;
253
+ r = !0;
254
254
  }
255
- return r$1 && i$1 !== `_`;
255
+ return r && i !== `_`;
256
256
  }
257
- if (i$1 === `x`) {
258
- for (n$1++; n$1 < t$1; n$1++) if (i$1 = e$1[n$1], i$1 !== `_`) {
259
- if (!de(e$1.charCodeAt(n$1))) return !1;
260
- r$1 = !0;
257
+ if (i === `x`) {
258
+ for (n++; n < t; n++) if (i = e[n], i !== `_`) {
259
+ if (!de(e.charCodeAt(n))) return !1;
260
+ r = !0;
261
261
  }
262
- return r$1 && i$1 !== `_`;
262
+ return r && i !== `_`;
263
263
  }
264
- if (i$1 === `o`) {
265
- for (n$1++; n$1 < t$1; n$1++) if (i$1 = e$1[n$1], i$1 !== `_`) {
266
- if (!fe(e$1.charCodeAt(n$1))) return !1;
267
- r$1 = !0;
264
+ if (i === `o`) {
265
+ for (n++; n < t; n++) if (i = e[n], i !== `_`) {
266
+ if (!fe(e.charCodeAt(n))) return !1;
267
+ r = !0;
268
268
  }
269
- return r$1 && i$1 !== `_`;
269
+ return r && i !== `_`;
270
270
  }
271
271
  }
272
- if (i$1 === `_`) return !1;
273
- for (; n$1 < t$1; n$1++) if (i$1 = e$1[n$1], i$1 !== `_`) {
274
- if (!pe(e$1.charCodeAt(n$1))) return !1;
275
- r$1 = !0;
272
+ if (i === `_`) return !1;
273
+ for (; n < t; n++) if (i = e[n], i !== `_`) {
274
+ if (!pe(e.charCodeAt(n))) return !1;
275
+ r = !0;
276
276
  }
277
- return !(!r$1 || i$1 === `_`);
278
- }
279
- function he(e$1) {
280
- var t$1 = e$1, n$1 = 1, r$1;
281
- if (t$1.indexOf(`_`) !== -1 && (t$1 = t$1.replace(/_/g, ``)), r$1 = t$1[0], (r$1 === `-` || r$1 === `+`) && (r$1 === `-` && (n$1 = -1), t$1 = t$1.slice(1), r$1 = t$1[0]), t$1 === `0`) return 0;
282
- if (r$1 === `0`) {
283
- if (t$1[1] === `b`) return n$1 * parseInt(t$1.slice(2), 2);
284
- if (t$1[1] === `x`) return n$1 * parseInt(t$1.slice(2), 16);
285
- if (t$1[1] === `o`) return n$1 * parseInt(t$1.slice(2), 8);
277
+ return !(!r || i === `_`);
278
+ }
279
+ function he(e) {
280
+ var t = e, n = 1, r;
281
+ if (t.indexOf(`_`) !== -1 && (t = t.replace(/_/g, ``)), r = t[0], (r === `-` || r === `+`) && (r === `-` && (n = -1), t = t.slice(1), r = t[0]), t === `0`) return 0;
282
+ if (r === `0`) {
283
+ if (t[1] === `b`) return n * parseInt(t.slice(2), 2);
284
+ if (t[1] === `x`) return n * parseInt(t.slice(2), 16);
285
+ if (t[1] === `o`) return n * parseInt(t.slice(2), 8);
286
286
  }
287
- return n$1 * parseInt(t$1, 10);
287
+ return n * parseInt(t, 10);
288
288
  }
289
- function ge(e$1) {
290
- return Object.prototype.toString.call(e$1) === `[object Number]` && e$1 % 1 == 0 && !o.isNegativeZero(e$1);
289
+ function ge(e) {
290
+ return Object.prototype.toString.call(e) === `[object Number]` && e % 1 == 0 && !o.isNegativeZero(e);
291
291
  }
292
292
  var _e = new v(`tag:yaml.org,2002:int`, {
293
293
  kind: `scalar`,
@@ -295,17 +295,17 @@ var _e = new v(`tag:yaml.org,2002:int`, {
295
295
  construct: he,
296
296
  predicate: ge,
297
297
  represent: {
298
- binary: function(e$1) {
299
- return e$1 >= 0 ? `0b` + e$1.toString(2) : `-0b` + e$1.toString(2).slice(1);
298
+ binary: function(e) {
299
+ return e >= 0 ? `0b` + e.toString(2) : `-0b` + e.toString(2).slice(1);
300
300
  },
301
- octal: function(e$1) {
302
- return e$1 >= 0 ? `0o` + e$1.toString(8) : `-0o` + e$1.toString(8).slice(1);
301
+ octal: function(e) {
302
+ return e >= 0 ? `0o` + e.toString(8) : `-0o` + e.toString(8).slice(1);
303
303
  },
304
- decimal: function(e$1) {
305
- return e$1.toString(10);
304
+ decimal: function(e) {
305
+ return e.toString(10);
306
306
  },
307
- hexadecimal: function(e$1) {
308
- return e$1 >= 0 ? `0x` + e$1.toString(16).toUpperCase() : `-0x` + e$1.toString(16).toUpperCase().slice(1);
307
+ hexadecimal: function(e) {
308
+ return e >= 0 ? `0x` + e.toString(16).toUpperCase() : `-0x` + e.toString(16).toUpperCase().slice(1);
309
309
  }
310
310
  },
311
311
  defaultStyle: `decimal`,
@@ -316,36 +316,36 @@ var _e = new v(`tag:yaml.org,2002:int`, {
316
316
  hexadecimal: [16, `hex`]
317
317
  }
318
318
  }), ve = RegExp(`^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);
319
- function ye(e$1) {
320
- return !(e$1 === null || !ve.test(e$1) || e$1[e$1.length - 1] === `_`);
319
+ function ye(e) {
320
+ return !(e === null || !ve.test(e) || e[e.length - 1] === `_`);
321
321
  }
322
- function be(e$1) {
323
- var t$1 = e$1.replace(/_/g, ``).toLowerCase(), n$1 = t$1[0] === `-` ? -1 : 1;
324
- return `+-`.indexOf(t$1[0]) >= 0 && (t$1 = t$1.slice(1)), t$1 === `.inf` ? n$1 === 1 ? Infinity : -Infinity : t$1 === `.nan` ? NaN : n$1 * parseFloat(t$1, 10);
322
+ function be(e) {
323
+ var t = e.replace(/_/g, ``).toLowerCase(), n = t[0] === `-` ? -1 : 1;
324
+ return `+-`.indexOf(t[0]) >= 0 && (t = t.slice(1)), t === `.inf` ? n === 1 ? Infinity : -Infinity : t === `.nan` ? NaN : n * parseFloat(t, 10);
325
325
  }
326
326
  var xe = /^[-+]?[0-9]+e/;
327
- function Se(e$1, t$1) {
328
- var n$1;
329
- if (isNaN(e$1)) switch (t$1) {
327
+ function Se(e, t) {
328
+ var n;
329
+ if (isNaN(e)) switch (t) {
330
330
  case `lowercase`: return `.nan`;
331
331
  case `uppercase`: return `.NAN`;
332
332
  case `camelcase`: return `.NaN`;
333
333
  }
334
- else if (e$1 === Infinity) switch (t$1) {
334
+ else if (e === Infinity) switch (t) {
335
335
  case `lowercase`: return `.inf`;
336
336
  case `uppercase`: return `.INF`;
337
337
  case `camelcase`: return `.Inf`;
338
338
  }
339
- else if (e$1 === -Infinity) switch (t$1) {
339
+ else if (e === -Infinity) switch (t) {
340
340
  case `lowercase`: return `-.inf`;
341
341
  case `uppercase`: return `-.INF`;
342
342
  case `camelcase`: return `-.Inf`;
343
343
  }
344
- else if (o.isNegativeZero(e$1)) return `-0.0`;
345
- return n$1 = e$1.toString(10), xe.test(n$1) ? n$1.replace(`e`, `.e`) : n$1;
344
+ else if (o.isNegativeZero(e)) return `-0.0`;
345
+ return n = e.toString(10), xe.test(n) ? n.replace(`e`, `.e`) : n;
346
346
  }
347
- function Ce(e$1) {
348
- return Object.prototype.toString.call(e$1) === `[object Number]` && (e$1 % 1 != 0 || o.isNegativeZero(e$1));
347
+ function Ce(e) {
348
+ return Object.prototype.toString.call(e) === `[object Number]` && (e % 1 != 0 || o.isNegativeZero(e));
349
349
  }
350
350
  var we = new v(`tag:yaml.org,2002:float`, {
351
351
  kind: `scalar`,
@@ -360,21 +360,21 @@ var we = new v(`tag:yaml.org,2002:float`, {
360
360
  _e,
361
361
  we
362
362
  ] }), Ee = RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`), De = RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);
363
- function Oe(e$1) {
364
- return e$1 === null ? !1 : Ee.exec(e$1) !== null || De.exec(e$1) !== null;
365
- }
366
- function ke(e$1) {
367
- var t$1, n$1, r$1, i$1, a$1, o$1, s$1, c$1 = 0, l$1 = null, u$1, d$1, f$1;
368
- if (t$1 = Ee.exec(e$1), t$1 === null && (t$1 = De.exec(e$1)), t$1 === null) throw Error(`Date resolve error`);
369
- if (n$1 = +t$1[1], r$1 = t$1[2] - 1, i$1 = +t$1[3], !t$1[4]) return new Date(Date.UTC(n$1, r$1, i$1));
370
- if (a$1 = +t$1[4], o$1 = +t$1[5], s$1 = +t$1[6], t$1[7]) {
371
- for (c$1 = t$1[7].slice(0, 3); c$1.length < 3;) c$1 += `0`;
372
- c$1 = +c$1;
363
+ function Oe(e) {
364
+ return e === null ? !1 : Ee.exec(e) !== null || De.exec(e) !== null;
365
+ }
366
+ function ke(e) {
367
+ var t, n, r, i, a, o, s, c = 0, l = null, u, d, f;
368
+ if (t = Ee.exec(e), t === null && (t = De.exec(e)), t === null) throw Error(`Date resolve error`);
369
+ if (n = +t[1], r = t[2] - 1, i = +t[3], !t[4]) return new Date(Date.UTC(n, r, i));
370
+ if (a = +t[4], o = +t[5], s = +t[6], t[7]) {
371
+ for (c = t[7].slice(0, 3); c.length < 3;) c += `0`;
372
+ c = +c;
373
373
  }
374
- return t$1[9] && (u$1 = +t$1[10], d$1 = +(t$1[11] || 0), l$1 = (u$1 * 60 + d$1) * 6e4, t$1[9] === `-` && (l$1 = -l$1)), f$1 = new Date(Date.UTC(n$1, r$1, i$1, a$1, o$1, s$1, c$1)), l$1 && f$1.setTime(f$1.getTime() - l$1), f$1;
374
+ return t[9] && (u = +t[10], d = +(t[11] || 0), l = (u * 60 + d) * 6e4, t[9] === `-` && (l = -l)), f = new Date(Date.UTC(n, r, i, a, o, s, c)), l && f.setTime(f.getTime() - l), f;
375
375
  }
376
- function Ae(e$1) {
377
- return e$1.toISOString();
376
+ function Ae(e) {
377
+ return e.toISOString();
378
378
  }
379
379
  var je = new v(`tag:yaml.org,2002:timestamp`, {
380
380
  kind: `scalar`,
@@ -383,35 +383,35 @@ var je = new v(`tag:yaml.org,2002:timestamp`, {
383
383
  instanceOf: Date,
384
384
  represent: Ae
385
385
  });
386
- function Me(e$1) {
387
- return e$1 === `<<` || e$1 === null;
386
+ function Me(e) {
387
+ return e === `<<` || e === null;
388
388
  }
389
389
  var Ne = new v(`tag:yaml.org,2002:merge`, {
390
390
  kind: `scalar`,
391
391
  resolve: Me
392
392
  }), b = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
393
393
  \r`;
394
- function Pe(e$1) {
395
- if (e$1 === null) return !1;
396
- var t$1, n$1, r$1 = 0, i$1 = e$1.length, a$1 = b;
397
- for (n$1 = 0; n$1 < i$1; n$1++) if (t$1 = a$1.indexOf(e$1.charAt(n$1)), !(t$1 > 64)) {
398
- if (t$1 < 0) return !1;
399
- r$1 += 6;
394
+ function Pe(e) {
395
+ if (e === null) return !1;
396
+ var t, n, r = 0, i = e.length, a = b;
397
+ for (n = 0; n < i; n++) if (t = a.indexOf(e.charAt(n)), !(t > 64)) {
398
+ if (t < 0) return !1;
399
+ r += 6;
400
400
  }
401
- return r$1 % 8 == 0;
401
+ return r % 8 == 0;
402
402
  }
403
- function Fe(e$1) {
404
- var t$1, n$1, r$1 = e$1.replace(/[\r\n=]/g, ``), i$1 = r$1.length, a$1 = b, o$1 = 0, s$1 = [];
405
- for (t$1 = 0; t$1 < i$1; t$1++) t$1 % 4 == 0 && t$1 && (s$1.push(o$1 >> 16 & 255), s$1.push(o$1 >> 8 & 255), s$1.push(o$1 & 255)), o$1 = o$1 << 6 | a$1.indexOf(r$1.charAt(t$1));
406
- return n$1 = i$1 % 4 * 6, n$1 === 0 ? (s$1.push(o$1 >> 16 & 255), s$1.push(o$1 >> 8 & 255), s$1.push(o$1 & 255)) : n$1 === 18 ? (s$1.push(o$1 >> 10 & 255), s$1.push(o$1 >> 2 & 255)) : n$1 === 12 && s$1.push(o$1 >> 4 & 255), new Uint8Array(s$1);
403
+ function Fe(e) {
404
+ var t, n, r = e.replace(/[\r\n=]/g, ``), i = r.length, a = b, o = 0, s = [];
405
+ for (t = 0; t < i; t++) t % 4 == 0 && t && (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)), o = o << 6 | a.indexOf(r.charAt(t));
406
+ return n = i % 4 * 6, n === 0 ? (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)) : n === 18 ? (s.push(o >> 10 & 255), s.push(o >> 2 & 255)) : n === 12 && s.push(o >> 4 & 255), new Uint8Array(s);
407
407
  }
408
- function Ie(e$1) {
409
- var t$1 = ``, n$1 = 0, r$1, i$1, a$1 = e$1.length, o$1 = b;
410
- for (r$1 = 0; r$1 < a$1; r$1++) r$1 % 3 == 0 && r$1 && (t$1 += o$1[n$1 >> 18 & 63], t$1 += o$1[n$1 >> 12 & 63], t$1 += o$1[n$1 >> 6 & 63], t$1 += o$1[n$1 & 63]), n$1 = (n$1 << 8) + e$1[r$1];
411
- return i$1 = a$1 % 3, i$1 === 0 ? (t$1 += o$1[n$1 >> 18 & 63], t$1 += o$1[n$1 >> 12 & 63], t$1 += o$1[n$1 >> 6 & 63], t$1 += o$1[n$1 & 63]) : i$1 === 2 ? (t$1 += o$1[n$1 >> 10 & 63], t$1 += o$1[n$1 >> 4 & 63], t$1 += o$1[n$1 << 2 & 63], t$1 += o$1[64]) : i$1 === 1 && (t$1 += o$1[n$1 >> 2 & 63], t$1 += o$1[n$1 << 4 & 63], t$1 += o$1[64], t$1 += o$1[64]), t$1;
408
+ function Ie(e) {
409
+ var t = ``, n = 0, r, i, a = e.length, o = b;
410
+ for (r = 0; r < a; r++) r % 3 == 0 && r && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[r];
411
+ return i = a % 3, i === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : i === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : i === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
412
412
  }
413
- function Le(e$1) {
414
- return Object.prototype.toString.call(e$1) === `[object Uint8Array]`;
413
+ function Le(e) {
414
+ return Object.prototype.toString.call(e) === `[object Uint8Array]`;
415
415
  }
416
416
  var Re = new v(`tag:yaml.org,2002:binary`, {
417
417
  kind: `scalar`,
@@ -420,55 +420,55 @@ var Re = new v(`tag:yaml.org,2002:binary`, {
420
420
  predicate: Le,
421
421
  represent: Ie
422
422
  }), ze = Object.prototype.hasOwnProperty, Be = Object.prototype.toString;
423
- function Ve(e$1) {
424
- if (e$1 === null) return !0;
425
- var t$1 = [], n$1, r$1, i$1, a$1, o$1, s$1 = e$1;
426
- for (n$1 = 0, r$1 = s$1.length; n$1 < r$1; n$1 += 1) {
427
- if (i$1 = s$1[n$1], o$1 = !1, Be.call(i$1) !== `[object Object]`) return !1;
428
- for (a$1 in i$1) if (ze.call(i$1, a$1)) if (!o$1) o$1 = !0;
423
+ function Ve(e) {
424
+ if (e === null) return !0;
425
+ var t = [], n, r, i, a, o, s = e;
426
+ for (n = 0, r = s.length; n < r; n += 1) {
427
+ if (i = s[n], o = !1, Be.call(i) !== `[object Object]`) return !1;
428
+ for (a in i) if (ze.call(i, a)) if (!o) o = !0;
429
429
  else return !1;
430
- if (!o$1) return !1;
431
- if (t$1.indexOf(a$1) === -1) t$1.push(a$1);
430
+ if (!o) return !1;
431
+ if (t.indexOf(a) === -1) t.push(a);
432
432
  else return !1;
433
433
  }
434
434
  return !0;
435
435
  }
436
- function He(e$1) {
437
- return e$1 === null ? [] : e$1;
436
+ function He(e) {
437
+ return e === null ? [] : e;
438
438
  }
439
439
  var Ue = new v(`tag:yaml.org,2002:omap`, {
440
440
  kind: `sequence`,
441
441
  resolve: Ve,
442
442
  construct: He
443
443
  }), We = Object.prototype.toString;
444
- function Ge(e$1) {
445
- if (e$1 === null) return !0;
446
- var t$1, n$1, r$1, i$1, a$1, o$1 = e$1;
447
- for (a$1 = Array(o$1.length), t$1 = 0, n$1 = o$1.length; t$1 < n$1; t$1 += 1) {
448
- if (r$1 = o$1[t$1], We.call(r$1) !== `[object Object]` || (i$1 = Object.keys(r$1), i$1.length !== 1)) return !1;
449
- a$1[t$1] = [i$1[0], r$1[i$1[0]]];
444
+ function Ge(e) {
445
+ if (e === null) return !0;
446
+ var t, n, r, i, a, o = e;
447
+ for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) {
448
+ if (r = o[t], We.call(r) !== `[object Object]` || (i = Object.keys(r), i.length !== 1)) return !1;
449
+ a[t] = [i[0], r[i[0]]];
450
450
  }
451
451
  return !0;
452
452
  }
453
- function Ke(e$1) {
454
- if (e$1 === null) return [];
455
- var t$1, n$1, r$1, i$1, a$1, o$1 = e$1;
456
- for (a$1 = Array(o$1.length), t$1 = 0, n$1 = o$1.length; t$1 < n$1; t$1 += 1) r$1 = o$1[t$1], i$1 = Object.keys(r$1), a$1[t$1] = [i$1[0], r$1[i$1[0]]];
457
- return a$1;
453
+ function Ke(e) {
454
+ if (e === null) return [];
455
+ var t, n, r, i, a, o = e;
456
+ for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) r = o[t], i = Object.keys(r), a[t] = [i[0], r[i[0]]];
457
+ return a;
458
458
  }
459
459
  var qe = new v(`tag:yaml.org,2002:pairs`, {
460
460
  kind: `sequence`,
461
461
  resolve: Ge,
462
462
  construct: Ke
463
463
  }), Je = Object.prototype.hasOwnProperty;
464
- function Ye(e$1) {
465
- if (e$1 === null) return !0;
466
- var t$1, n$1 = e$1;
467
- for (t$1 in n$1) if (Je.call(n$1, t$1) && n$1[t$1] !== null) return !1;
464
+ function Ye(e) {
465
+ if (e === null) return !0;
466
+ var t, n = e;
467
+ for (t in n) if (Je.call(n, t) && n[t] !== null) return !1;
468
468
  return !0;
469
469
  }
470
- function Xe(e$1) {
471
- return e$1 === null ? {} : e$1;
470
+ function Xe(e) {
471
+ return e === null ? {} : e;
472
472
  }
473
473
  var Ze = new v(`tag:yaml.org,2002:set`, {
474
474
  kind: `mapping`,
@@ -483,343 +483,343 @@ var Ze = new v(`tag:yaml.org,2002:set`, {
483
483
  Ze
484
484
  ]
485
485
  }), x = Object.prototype.hasOwnProperty, S = 1, $e = 2, et = 3, C = 4, w = 1, tt = 2, nt = 3, rt = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, it = /[\x85\u2028\u2029]/, at = /[,\[\]\{\}]/, ot = /^(?:!|!!|![a-z\-]+!)$/i, st = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
486
- function ct(e$1) {
487
- return Object.prototype.toString.call(e$1);
486
+ function ct(e) {
487
+ return Object.prototype.toString.call(e);
488
488
  }
489
- function T(e$1) {
490
- return e$1 === 10 || e$1 === 13;
489
+ function T(e) {
490
+ return e === 10 || e === 13;
491
491
  }
492
- function E(e$1) {
493
- return e$1 === 9 || e$1 === 32;
492
+ function E(e) {
493
+ return e === 9 || e === 32;
494
494
  }
495
- function D(e$1) {
496
- return e$1 === 9 || e$1 === 32 || e$1 === 10 || e$1 === 13;
495
+ function D(e) {
496
+ return e === 9 || e === 32 || e === 10 || e === 13;
497
497
  }
498
- function O(e$1) {
499
- return e$1 === 44 || e$1 === 91 || e$1 === 93 || e$1 === 123 || e$1 === 125;
498
+ function O(e) {
499
+ return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
500
500
  }
501
- function lt(e$1) {
502
- var t$1;
503
- return 48 <= e$1 && e$1 <= 57 ? e$1 - 48 : (t$1 = e$1 | 32, 97 <= t$1 && t$1 <= 102 ? t$1 - 97 + 10 : -1);
501
+ function lt(e) {
502
+ var t;
503
+ return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
504
504
  }
505
- function ut(e$1) {
506
- return e$1 === 120 ? 2 : e$1 === 117 ? 4 : e$1 === 85 ? 8 : 0;
505
+ function ut(e) {
506
+ return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
507
507
  }
508
- function dt(e$1) {
509
- return 48 <= e$1 && e$1 <= 57 ? e$1 - 48 : -1;
508
+ function dt(e) {
509
+ return 48 <= e && e <= 57 ? e - 48 : -1;
510
510
  }
511
- function ft(e$1) {
512
- return e$1 === 48 ? `\0` : e$1 === 97 ? `\x07` : e$1 === 98 ? `\b` : e$1 === 116 || e$1 === 9 ? ` ` : e$1 === 110 ? `
513
- ` : e$1 === 118 ? `\v` : e$1 === 102 ? `\f` : e$1 === 114 ? `\r` : e$1 === 101 ? `\x1B` : e$1 === 32 ? ` ` : e$1 === 34 ? `"` : e$1 === 47 ? `/` : e$1 === 92 ? `\\` : e$1 === 78 ? `…` : e$1 === 95 ? `\xA0` : e$1 === 76 ? `\u2028` : e$1 === 80 ? `\u2029` : ``;
511
+ function ft(e) {
512
+ return e === 48 ? `\0` : e === 97 ? `\x07` : e === 98 ? `\b` : e === 116 || e === 9 ? ` ` : e === 110 ? `
513
+ ` : e === 118 ? `\v` : e === 102 ? `\f` : e === 114 ? `\r` : e === 101 ? `\x1B` : e === 32 ? ` ` : e === 34 ? `"` : e === 47 ? `/` : e === 92 ? `\\` : e === 78 ? `…` : e === 95 ? `\xA0` : e === 76 ? `\u2028` : e === 80 ? `\u2029` : ``;
514
514
  }
515
- function pt(e$1) {
516
- return e$1 <= 65535 ? String.fromCharCode(e$1) : String.fromCharCode((e$1 - 65536 >> 10) + 55296, (e$1 - 65536 & 1023) + 56320);
515
+ function pt(e) {
516
+ return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
517
517
  }
518
- function mt(e$1, t$1, n$1) {
519
- t$1 === `__proto__` ? Object.defineProperty(e$1, t$1, {
518
+ function mt(e, t, n) {
519
+ t === `__proto__` ? Object.defineProperty(e, t, {
520
520
  configurable: !0,
521
521
  enumerable: !0,
522
522
  writable: !0,
523
- value: n$1
524
- }) : e$1[t$1] = n$1;
523
+ value: n
524
+ }) : e[t] = n;
525
525
  }
526
526
  for (var ht = Array(256), gt = Array(256), k = 0; k < 256; k++) ht[k] = ft(k) ? 1 : 0, gt[k] = ft(k);
527
- function _t(e$1, t$1) {
528
- this.input = e$1, this.filename = t$1.filename || null, this.schema = t$1.schema || Qe, this.onWarning = t$1.onWarning || null, this.legacy = t$1.legacy || !1, this.json = t$1.json || !1, this.listener = t$1.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e$1.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
529
- }
530
- function vt(e$1, t$1) {
531
- var n$1 = {
532
- name: e$1.filename,
533
- buffer: e$1.input.slice(0, -1),
534
- position: e$1.position,
535
- line: e$1.line,
536
- column: e$1.position - e$1.lineStart
527
+ function _t(e, t) {
528
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || Qe, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
529
+ }
530
+ function vt(e, t) {
531
+ var n = {
532
+ name: e.filename,
533
+ buffer: e.input.slice(0, -1),
534
+ position: e.position,
535
+ line: e.line,
536
+ column: e.position - e.lineStart
537
537
  };
538
- return n$1.snippet = p(n$1), new l(t$1, n$1);
538
+ return n.snippet = p(n), new l(t, n);
539
539
  }
540
- function A(e$1, t$1) {
541
- throw vt(e$1, t$1);
540
+ function A(e, t) {
541
+ throw vt(e, t);
542
542
  }
543
- function j(e$1, t$1) {
544
- e$1.onWarning && e$1.onWarning.call(null, vt(e$1, t$1));
543
+ function j(e, t) {
544
+ e.onWarning && e.onWarning.call(null, vt(e, t));
545
545
  }
546
546
  var yt = {
547
- YAML: function(e$1, t$1, n$1) {
548
- var r$1, i$1, a$1;
549
- e$1.version !== null && A(e$1, `duplication of %YAML directive`), n$1.length !== 1 && A(e$1, `YAML directive accepts exactly one argument`), r$1 = /^([0-9]+)\.([0-9]+)$/.exec(n$1[0]), r$1 === null && A(e$1, `ill-formed argument of the YAML directive`), i$1 = parseInt(r$1[1], 10), a$1 = parseInt(r$1[2], 10), i$1 !== 1 && A(e$1, `unacceptable YAML version of the document`), e$1.version = n$1[0], e$1.checkLineBreaks = a$1 < 2, a$1 !== 1 && a$1 !== 2 && j(e$1, `unsupported YAML version of the document`);
547
+ YAML: function(e, t, n) {
548
+ var r, i, a;
549
+ e.version !== null && A(e, `duplication of %YAML directive`), n.length !== 1 && A(e, `YAML directive accepts exactly one argument`), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && A(e, `ill-formed argument of the YAML directive`), i = parseInt(r[1], 10), a = parseInt(r[2], 10), i !== 1 && A(e, `unacceptable YAML version of the document`), e.version = n[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && j(e, `unsupported YAML version of the document`);
550
550
  },
551
- TAG: function(e$1, t$1, n$1) {
552
- var r$1, i$1;
553
- n$1.length !== 2 && A(e$1, `TAG directive accepts exactly two arguments`), r$1 = n$1[0], i$1 = n$1[1], ot.test(r$1) || A(e$1, `ill-formed tag handle (first argument) of the TAG directive`), x.call(e$1.tagMap, r$1) && A(e$1, `there is a previously declared suffix for "` + r$1 + `" tag handle`), st.test(i$1) || A(e$1, `ill-formed tag prefix (second argument) of the TAG directive`);
551
+ TAG: function(e, t, n) {
552
+ var r, i;
553
+ n.length !== 2 && A(e, `TAG directive accepts exactly two arguments`), r = n[0], i = n[1], ot.test(r) || A(e, `ill-formed tag handle (first argument) of the TAG directive`), x.call(e.tagMap, r) && A(e, `there is a previously declared suffix for "` + r + `" tag handle`), st.test(i) || A(e, `ill-formed tag prefix (second argument) of the TAG directive`);
554
554
  try {
555
- i$1 = decodeURIComponent(i$1);
555
+ i = decodeURIComponent(i);
556
556
  } catch {
557
- A(e$1, `tag prefix is malformed: ` + i$1);
557
+ A(e, `tag prefix is malformed: ` + i);
558
558
  }
559
- e$1.tagMap[r$1] = i$1;
559
+ e.tagMap[r] = i;
560
560
  }
561
561
  };
562
- function M(e$1, t$1, n$1, r$1) {
563
- var i$1, a$1, o$1, s$1;
564
- if (t$1 < n$1) {
565
- if (s$1 = e$1.input.slice(t$1, n$1), r$1) for (i$1 = 0, a$1 = s$1.length; i$1 < a$1; i$1 += 1) o$1 = s$1.charCodeAt(i$1), o$1 === 9 || 32 <= o$1 && o$1 <= 1114111 || A(e$1, `expected valid JSON character`);
566
- else rt.test(s$1) && A(e$1, `the stream contains non-printable characters`);
567
- e$1.result += s$1;
562
+ function M(e, t, n, r) {
563
+ var i, a, o, s;
564
+ if (t < n) {
565
+ if (s = e.input.slice(t, n), r) for (i = 0, a = s.length; i < a; i += 1) o = s.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || A(e, `expected valid JSON character`);
566
+ else rt.test(s) && A(e, `the stream contains non-printable characters`);
567
+ e.result += s;
568
568
  }
569
569
  }
570
- function bt(e$1, t$1, n$1, r$1) {
571
- var i$1, a$1, s$1, c$1;
572
- for (o.isObject(n$1) || A(e$1, `cannot merge mappings; the provided source object is unacceptable`), i$1 = Object.keys(n$1), s$1 = 0, c$1 = i$1.length; s$1 < c$1; s$1 += 1) a$1 = i$1[s$1], x.call(t$1, a$1) || (mt(t$1, a$1, n$1[a$1]), r$1[a$1] = !0);
573
- }
574
- function N(e$1, t$1, n$1, r$1, i$1, a$1, o$1, s$1, c$1) {
575
- var l$1, u$1;
576
- if (Array.isArray(i$1)) for (i$1 = Array.prototype.slice.call(i$1), l$1 = 0, u$1 = i$1.length; l$1 < u$1; l$1 += 1) Array.isArray(i$1[l$1]) && A(e$1, `nested arrays are not supported inside keys`), typeof i$1 == `object` && ct(i$1[l$1]) === `[object Object]` && (i$1[l$1] = `[object Object]`);
577
- if (typeof i$1 == `object` && ct(i$1) === `[object Object]` && (i$1 = `[object Object]`), i$1 = String(i$1), t$1 === null && (t$1 = {}), r$1 === `tag:yaml.org,2002:merge`) if (Array.isArray(a$1)) for (l$1 = 0, u$1 = a$1.length; l$1 < u$1; l$1 += 1) bt(e$1, t$1, a$1[l$1], n$1);
578
- else bt(e$1, t$1, a$1, n$1);
579
- else !e$1.json && !x.call(n$1, i$1) && x.call(t$1, i$1) && (e$1.line = o$1 || e$1.line, e$1.lineStart = s$1 || e$1.lineStart, e$1.position = c$1 || e$1.position, A(e$1, `duplicated mapping key`)), mt(t$1, i$1, a$1), delete n$1[i$1];
580
- return t$1;
581
- }
582
- function P(e$1) {
583
- var t$1 = e$1.input.charCodeAt(e$1.position);
584
- t$1 === 10 ? e$1.position++ : t$1 === 13 ? (e$1.position++, e$1.input.charCodeAt(e$1.position) === 10 && e$1.position++) : A(e$1, `a line break is expected`), e$1.line += 1, e$1.lineStart = e$1.position, e$1.firstTabInLine = -1;
585
- }
586
- function F(e$1, t$1, n$1) {
587
- for (var r$1 = 0, i$1 = e$1.input.charCodeAt(e$1.position); i$1 !== 0;) {
588
- for (; E(i$1);) i$1 === 9 && e$1.firstTabInLine === -1 && (e$1.firstTabInLine = e$1.position), i$1 = e$1.input.charCodeAt(++e$1.position);
589
- if (t$1 && i$1 === 35) do
590
- i$1 = e$1.input.charCodeAt(++e$1.position);
591
- while (i$1 !== 10 && i$1 !== 13 && i$1 !== 0);
592
- if (T(i$1)) for (P(e$1), i$1 = e$1.input.charCodeAt(e$1.position), r$1++, e$1.lineIndent = 0; i$1 === 32;) e$1.lineIndent++, i$1 = e$1.input.charCodeAt(++e$1.position);
570
+ function bt(e, t, n, r) {
571
+ var i, a, s, c;
572
+ for (o.isObject(n) || A(e, `cannot merge mappings; the provided source object is unacceptable`), i = Object.keys(n), s = 0, c = i.length; s < c; s += 1) a = i[s], x.call(t, a) || (mt(t, a, n[a]), r[a] = !0);
573
+ }
574
+ function N(e, t, n, r, i, a, o, s, c) {
575
+ var l, u;
576
+ if (Array.isArray(i)) for (i = Array.prototype.slice.call(i), l = 0, u = i.length; l < u; l += 1) Array.isArray(i[l]) && A(e, `nested arrays are not supported inside keys`), typeof i == `object` && ct(i[l]) === `[object Object]` && (i[l] = `[object Object]`);
577
+ if (typeof i == `object` && ct(i) === `[object Object]` && (i = `[object Object]`), i = String(i), t === null && (t = {}), r === `tag:yaml.org,2002:merge`) if (Array.isArray(a)) for (l = 0, u = a.length; l < u; l += 1) bt(e, t, a[l], n);
578
+ else bt(e, t, a, n);
579
+ else !e.json && !x.call(n, i) && x.call(t, i) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, A(e, `duplicated mapping key`)), mt(t, i, a), delete n[i];
580
+ return t;
581
+ }
582
+ function P(e) {
583
+ var t = e.input.charCodeAt(e.position);
584
+ t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : A(e, `a line break is expected`), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
585
+ }
586
+ function F(e, t, n) {
587
+ for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0;) {
588
+ for (; E(i);) i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
589
+ if (t && i === 35) do
590
+ i = e.input.charCodeAt(++e.position);
591
+ while (i !== 10 && i !== 13 && i !== 0);
592
+ if (T(i)) for (P(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32;) e.lineIndent++, i = e.input.charCodeAt(++e.position);
593
593
  else break;
594
594
  }
595
- return n$1 !== -1 && r$1 !== 0 && e$1.lineIndent < n$1 && j(e$1, `deficient indentation`), r$1;
596
- }
597
- function I(e$1) {
598
- var t$1 = e$1.position, n$1 = e$1.input.charCodeAt(t$1);
599
- return !!((n$1 === 45 || n$1 === 46) && n$1 === e$1.input.charCodeAt(t$1 + 1) && n$1 === e$1.input.charCodeAt(t$1 + 2) && (t$1 += 3, n$1 = e$1.input.charCodeAt(t$1), n$1 === 0 || D(n$1)));
600
- }
601
- function L(e$1, t$1) {
602
- t$1 === 1 ? e$1.result += ` ` : t$1 > 1 && (e$1.result += o.repeat(`
603
- `, t$1 - 1));
604
- }
605
- function xt(e$1, t$1, n$1) {
606
- var r$1, i$1, a$1, o$1, s$1, c$1, l$1, u$1, d$1 = e$1.kind, f$1 = e$1.result, p$1 = e$1.input.charCodeAt(e$1.position);
607
- if (D(p$1) || O(p$1) || p$1 === 35 || p$1 === 38 || p$1 === 42 || p$1 === 33 || p$1 === 124 || p$1 === 62 || p$1 === 39 || p$1 === 34 || p$1 === 37 || p$1 === 64 || p$1 === 96 || (p$1 === 63 || p$1 === 45) && (i$1 = e$1.input.charCodeAt(e$1.position + 1), D(i$1) || n$1 && O(i$1))) return !1;
608
- for (e$1.kind = `scalar`, e$1.result = ``, a$1 = o$1 = e$1.position, s$1 = !1; p$1 !== 0;) {
609
- if (p$1 === 58) {
610
- if (i$1 = e$1.input.charCodeAt(e$1.position + 1), D(i$1) || n$1 && O(i$1)) break;
611
- } else if (p$1 === 35) {
612
- if (r$1 = e$1.input.charCodeAt(e$1.position - 1), D(r$1)) break;
613
- } else if (e$1.position === e$1.lineStart && I(e$1) || n$1 && O(p$1)) break;
614
- else if (T(p$1)) if (c$1 = e$1.line, l$1 = e$1.lineStart, u$1 = e$1.lineIndent, F(e$1, !1, -1), e$1.lineIndent >= t$1) {
615
- s$1 = !0, p$1 = e$1.input.charCodeAt(e$1.position);
595
+ return n !== -1 && r !== 0 && e.lineIndent < n && j(e, `deficient indentation`), r;
596
+ }
597
+ function I(e) {
598
+ var t = e.position, n = e.input.charCodeAt(t);
599
+ return !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || D(n)));
600
+ }
601
+ function L(e, t) {
602
+ t === 1 ? e.result += ` ` : t > 1 && (e.result += o.repeat(`
603
+ `, t - 1));
604
+ }
605
+ function xt(e, t, n) {
606
+ var r, i, a, o, s, c, l, u, d = e.kind, f = e.result, p = e.input.charCodeAt(e.position);
607
+ if (D(p) || O(p) || p === 35 || p === 38 || p === 42 || p === 33 || p === 124 || p === 62 || p === 39 || p === 34 || p === 37 || p === 64 || p === 96 || (p === 63 || p === 45) && (i = e.input.charCodeAt(e.position + 1), D(i) || n && O(i))) return !1;
608
+ for (e.kind = `scalar`, e.result = ``, a = o = e.position, s = !1; p !== 0;) {
609
+ if (p === 58) {
610
+ if (i = e.input.charCodeAt(e.position + 1), D(i) || n && O(i)) break;
611
+ } else if (p === 35) {
612
+ if (r = e.input.charCodeAt(e.position - 1), D(r)) break;
613
+ } else if (e.position === e.lineStart && I(e) || n && O(p)) break;
614
+ else if (T(p)) if (c = e.line, l = e.lineStart, u = e.lineIndent, F(e, !1, -1), e.lineIndent >= t) {
615
+ s = !0, p = e.input.charCodeAt(e.position);
616
616
  continue;
617
617
  } else {
618
- e$1.position = o$1, e$1.line = c$1, e$1.lineStart = l$1, e$1.lineIndent = u$1;
618
+ e.position = o, e.line = c, e.lineStart = l, e.lineIndent = u;
619
619
  break;
620
620
  }
621
- s$1 &&= (M(e$1, a$1, o$1, !1), L(e$1, e$1.line - c$1), a$1 = o$1 = e$1.position, !1), E(p$1) || (o$1 = e$1.position + 1), p$1 = e$1.input.charCodeAt(++e$1.position);
621
+ s &&= (M(e, a, o, !1), L(e, e.line - c), a = o = e.position, !1), E(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
622
622
  }
623
- return M(e$1, a$1, o$1, !1), e$1.result ? !0 : (e$1.kind = d$1, e$1.result = f$1, !1);
623
+ return M(e, a, o, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
624
624
  }
625
- function St(e$1, t$1) {
626
- var n$1 = e$1.input.charCodeAt(e$1.position), r$1, i$1;
627
- if (n$1 !== 39) return !1;
628
- for (e$1.kind = `scalar`, e$1.result = ``, e$1.position++, r$1 = i$1 = e$1.position; (n$1 = e$1.input.charCodeAt(e$1.position)) !== 0;) if (n$1 === 39) if (M(e$1, r$1, e$1.position, !0), n$1 = e$1.input.charCodeAt(++e$1.position), n$1 === 39) r$1 = e$1.position, e$1.position++, i$1 = e$1.position;
625
+ function St(e, t) {
626
+ var n = e.input.charCodeAt(e.position), r, i;
627
+ if (n !== 39) return !1;
628
+ for (e.kind = `scalar`, e.result = ``, e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0;) if (n === 39) if (M(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39) r = e.position, e.position++, i = e.position;
629
629
  else return !0;
630
- else T(n$1) ? (M(e$1, r$1, i$1, !0), L(e$1, F(e$1, !1, t$1)), r$1 = i$1 = e$1.position) : e$1.position === e$1.lineStart && I(e$1) ? A(e$1, `unexpected end of the document within a single quoted scalar`) : (e$1.position++, i$1 = e$1.position);
631
- A(e$1, `unexpected end of the stream within a single quoted scalar`);
632
- }
633
- function Ct(e$1, t$1) {
634
- var n$1, r$1, i$1, a$1, o$1, s$1 = e$1.input.charCodeAt(e$1.position);
635
- if (s$1 !== 34) return !1;
636
- for (e$1.kind = `scalar`, e$1.result = ``, e$1.position++, n$1 = r$1 = e$1.position; (s$1 = e$1.input.charCodeAt(e$1.position)) !== 0;) if (s$1 === 34) return M(e$1, n$1, e$1.position, !0), e$1.position++, !0;
637
- else if (s$1 === 92) {
638
- if (M(e$1, n$1, e$1.position, !0), s$1 = e$1.input.charCodeAt(++e$1.position), T(s$1)) F(e$1, !1, t$1);
639
- else if (s$1 < 256 && ht[s$1]) e$1.result += gt[s$1], e$1.position++;
640
- else if ((o$1 = ut(s$1)) > 0) {
641
- for (i$1 = o$1, a$1 = 0; i$1 > 0; i$1--) s$1 = e$1.input.charCodeAt(++e$1.position), (o$1 = lt(s$1)) >= 0 ? a$1 = (a$1 << 4) + o$1 : A(e$1, `expected hexadecimal character`);
642
- e$1.result += pt(a$1), e$1.position++;
643
- } else A(e$1, `unknown escape sequence`);
644
- n$1 = r$1 = e$1.position;
645
- } else T(s$1) ? (M(e$1, n$1, r$1, !0), L(e$1, F(e$1, !1, t$1)), n$1 = r$1 = e$1.position) : e$1.position === e$1.lineStart && I(e$1) ? A(e$1, `unexpected end of the document within a double quoted scalar`) : (e$1.position++, r$1 = e$1.position);
646
- A(e$1, `unexpected end of the stream within a double quoted scalar`);
647
- }
648
- function wt(e$1, t$1) {
649
- var n$1 = !0, r$1, i$1, a$1, o$1 = e$1.tag, s$1, c$1 = e$1.anchor, l$1, u$1, d$1, f$1, p$1, m$1 = Object.create(null), h$1, g$1, _$1, v$1 = e$1.input.charCodeAt(e$1.position);
650
- if (v$1 === 91) u$1 = 93, p$1 = !1, s$1 = [];
651
- else if (v$1 === 123) u$1 = 125, p$1 = !0, s$1 = {};
630
+ else T(n) ? (M(e, r, i, !0), L(e, F(e, !1, t)), r = i = e.position) : e.position === e.lineStart && I(e) ? A(e, `unexpected end of the document within a single quoted scalar`) : (e.position++, i = e.position);
631
+ A(e, `unexpected end of the stream within a single quoted scalar`);
632
+ }
633
+ function Ct(e, t) {
634
+ var n, r, i, a, o, s = e.input.charCodeAt(e.position);
635
+ if (s !== 34) return !1;
636
+ for (e.kind = `scalar`, e.result = ``, e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0;) if (s === 34) return M(e, n, e.position, !0), e.position++, !0;
637
+ else if (s === 92) {
638
+ if (M(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), T(s)) F(e, !1, t);
639
+ else if (s < 256 && ht[s]) e.result += gt[s], e.position++;
640
+ else if ((o = ut(s)) > 0) {
641
+ for (i = o, a = 0; i > 0; i--) s = e.input.charCodeAt(++e.position), (o = lt(s)) >= 0 ? a = (a << 4) + o : A(e, `expected hexadecimal character`);
642
+ e.result += pt(a), e.position++;
643
+ } else A(e, `unknown escape sequence`);
644
+ n = r = e.position;
645
+ } else T(s) ? (M(e, n, r, !0), L(e, F(e, !1, t)), n = r = e.position) : e.position === e.lineStart && I(e) ? A(e, `unexpected end of the document within a double quoted scalar`) : (e.position++, r = e.position);
646
+ A(e, `unexpected end of the stream within a double quoted scalar`);
647
+ }
648
+ function wt(e, t) {
649
+ var n = !0, r, i, a, o = e.tag, s, c = e.anchor, l, u, d, f, p, m = Object.create(null), h, g, _, v = e.input.charCodeAt(e.position);
650
+ if (v === 91) u = 93, p = !1, s = [];
651
+ else if (v === 123) u = 125, p = !0, s = {};
652
652
  else return !1;
653
- for (e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = s$1), v$1 = e$1.input.charCodeAt(++e$1.position); v$1 !== 0;) {
654
- if (F(e$1, !0, t$1), v$1 = e$1.input.charCodeAt(e$1.position), v$1 === u$1) return e$1.position++, e$1.tag = o$1, e$1.anchor = c$1, e$1.kind = p$1 ? `mapping` : `sequence`, e$1.result = s$1, !0;
655
- n$1 ? v$1 === 44 && A(e$1, `expected the node content, but found ','`) : A(e$1, `missed comma between flow collection entries`), g$1 = h$1 = _$1 = null, d$1 = f$1 = !1, v$1 === 63 && (l$1 = e$1.input.charCodeAt(e$1.position + 1), D(l$1) && (d$1 = f$1 = !0, e$1.position++, F(e$1, !0, t$1))), r$1 = e$1.line, i$1 = e$1.lineStart, a$1 = e$1.position, R(e$1, t$1, S, !1, !0), g$1 = e$1.tag, h$1 = e$1.result, F(e$1, !0, t$1), v$1 = e$1.input.charCodeAt(e$1.position), (f$1 || e$1.line === r$1) && v$1 === 58 && (d$1 = !0, v$1 = e$1.input.charCodeAt(++e$1.position), F(e$1, !0, t$1), R(e$1, t$1, S, !1, !0), _$1 = e$1.result), p$1 ? N(e$1, s$1, m$1, g$1, h$1, _$1, r$1, i$1, a$1) : d$1 ? s$1.push(N(e$1, null, m$1, g$1, h$1, _$1, r$1, i$1, a$1)) : s$1.push(h$1), F(e$1, !0, t$1), v$1 = e$1.input.charCodeAt(e$1.position), v$1 === 44 ? (n$1 = !0, v$1 = e$1.input.charCodeAt(++e$1.position)) : n$1 = !1;
653
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = s), v = e.input.charCodeAt(++e.position); v !== 0;) {
654
+ if (F(e, !0, t), v = e.input.charCodeAt(e.position), v === u) return e.position++, e.tag = o, e.anchor = c, e.kind = p ? `mapping` : `sequence`, e.result = s, !0;
655
+ n ? v === 44 && A(e, `expected the node content, but found ','`) : A(e, `missed comma between flow collection entries`), g = h = _ = null, d = f = !1, v === 63 && (l = e.input.charCodeAt(e.position + 1), D(l) && (d = f = !0, e.position++, F(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, R(e, t, S, !1, !0), g = e.tag, h = e.result, F(e, !0, t), v = e.input.charCodeAt(e.position), (f || e.line === r) && v === 58 && (d = !0, v = e.input.charCodeAt(++e.position), F(e, !0, t), R(e, t, S, !1, !0), _ = e.result), p ? N(e, s, m, g, h, _, r, i, a) : d ? s.push(N(e, null, m, g, h, _, r, i, a)) : s.push(h), F(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
656
656
  }
657
- A(e$1, `unexpected end of the stream within a flow collection`);
657
+ A(e, `unexpected end of the stream within a flow collection`);
658
658
  }
659
- function Tt(e$1, t$1) {
660
- var n$1, r$1, i$1 = w, a$1 = !1, s$1 = !1, c$1 = t$1, l$1 = 0, u$1 = !1, d$1, f$1 = e$1.input.charCodeAt(e$1.position);
661
- if (f$1 === 124) r$1 = !1;
662
- else if (f$1 === 62) r$1 = !0;
659
+ function Tt(e, t) {
660
+ var n, r, i = w, a = !1, s = !1, c = t, l = 0, u = !1, d, f = e.input.charCodeAt(e.position);
661
+ if (f === 124) r = !1;
662
+ else if (f === 62) r = !0;
663
663
  else return !1;
664
- for (e$1.kind = `scalar`, e$1.result = ``; f$1 !== 0;) if (f$1 = e$1.input.charCodeAt(++e$1.position), f$1 === 43 || f$1 === 45) w === i$1 ? i$1 = f$1 === 43 ? nt : tt : A(e$1, `repeat of a chomping mode identifier`);
665
- else if ((d$1 = dt(f$1)) >= 0) d$1 === 0 ? A(e$1, `bad explicit indentation width of a block scalar; it cannot be less than one`) : s$1 ? A(e$1, `repeat of an indentation width identifier`) : (c$1 = t$1 + d$1 - 1, s$1 = !0);
664
+ for (e.kind = `scalar`, e.result = ``; f !== 0;) if (f = e.input.charCodeAt(++e.position), f === 43 || f === 45) w === i ? i = f === 43 ? nt : tt : A(e, `repeat of a chomping mode identifier`);
665
+ else if ((d = dt(f)) >= 0) d === 0 ? A(e, `bad explicit indentation width of a block scalar; it cannot be less than one`) : s ? A(e, `repeat of an indentation width identifier`) : (c = t + d - 1, s = !0);
666
666
  else break;
667
- if (E(f$1)) {
667
+ if (E(f)) {
668
668
  do
669
- f$1 = e$1.input.charCodeAt(++e$1.position);
670
- while (E(f$1));
671
- if (f$1 === 35) do
672
- f$1 = e$1.input.charCodeAt(++e$1.position);
673
- while (!T(f$1) && f$1 !== 0);
669
+ f = e.input.charCodeAt(++e.position);
670
+ while (E(f));
671
+ if (f === 35) do
672
+ f = e.input.charCodeAt(++e.position);
673
+ while (!T(f) && f !== 0);
674
674
  }
675
- for (; f$1 !== 0;) {
676
- for (P(e$1), e$1.lineIndent = 0, f$1 = e$1.input.charCodeAt(e$1.position); (!s$1 || e$1.lineIndent < c$1) && f$1 === 32;) e$1.lineIndent++, f$1 = e$1.input.charCodeAt(++e$1.position);
677
- if (!s$1 && e$1.lineIndent > c$1 && (c$1 = e$1.lineIndent), T(f$1)) {
678
- l$1++;
675
+ for (; f !== 0;) {
676
+ for (P(e), e.lineIndent = 0, f = e.input.charCodeAt(e.position); (!s || e.lineIndent < c) && f === 32;) e.lineIndent++, f = e.input.charCodeAt(++e.position);
677
+ if (!s && e.lineIndent > c && (c = e.lineIndent), T(f)) {
678
+ l++;
679
679
  continue;
680
680
  }
681
- if (e$1.lineIndent < c$1) {
682
- i$1 === nt ? e$1.result += o.repeat(`
683
- `, a$1 ? 1 + l$1 : l$1) : i$1 === w && a$1 && (e$1.result += `
681
+ if (e.lineIndent < c) {
682
+ i === nt ? e.result += o.repeat(`
683
+ `, a ? 1 + l : l) : i === w && a && (e.result += `
684
684
  `);
685
685
  break;
686
686
  }
687
- for (r$1 ? E(f$1) ? (u$1 = !0, e$1.result += o.repeat(`
688
- `, a$1 ? 1 + l$1 : l$1)) : u$1 ? (u$1 = !1, e$1.result += o.repeat(`
689
- `, l$1 + 1)) : l$1 === 0 ? a$1 && (e$1.result += ` `) : e$1.result += o.repeat(`
690
- `, l$1) : e$1.result += o.repeat(`
691
- `, a$1 ? 1 + l$1 : l$1), a$1 = !0, s$1 = !0, l$1 = 0, n$1 = e$1.position; !T(f$1) && f$1 !== 0;) f$1 = e$1.input.charCodeAt(++e$1.position);
692
- M(e$1, n$1, e$1.position, !1);
687
+ for (r ? E(f) ? (u = !0, e.result += o.repeat(`
688
+ `, a ? 1 + l : l)) : u ? (u = !1, e.result += o.repeat(`
689
+ `, l + 1)) : l === 0 ? a && (e.result += ` `) : e.result += o.repeat(`
690
+ `, l) : e.result += o.repeat(`
691
+ `, a ? 1 + l : l), a = !0, s = !0, l = 0, n = e.position; !T(f) && f !== 0;) f = e.input.charCodeAt(++e.position);
692
+ M(e, n, e.position, !1);
693
693
  }
694
694
  return !0;
695
695
  }
696
- function Et(e$1, t$1) {
697
- var n$1, r$1 = e$1.tag, i$1 = e$1.anchor, a$1 = [], o$1, s$1 = !1, c$1;
698
- if (e$1.firstTabInLine !== -1) return !1;
699
- for (e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = a$1), c$1 = e$1.input.charCodeAt(e$1.position); c$1 !== 0 && (e$1.firstTabInLine !== -1 && (e$1.position = e$1.firstTabInLine, A(e$1, `tab characters must not be used in indentation`)), !(c$1 !== 45 || (o$1 = e$1.input.charCodeAt(e$1.position + 1), !D(o$1))));) {
700
- if (s$1 = !0, e$1.position++, F(e$1, !0, -1) && e$1.lineIndent <= t$1) {
701
- a$1.push(null), c$1 = e$1.input.charCodeAt(e$1.position);
696
+ function Et(e, t) {
697
+ var n, r = e.tag, i = e.anchor, a = [], o, s = !1, c;
698
+ if (e.firstTabInLine !== -1) return !1;
699
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = a), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, `tab characters must not be used in indentation`)), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !D(o))));) {
700
+ if (s = !0, e.position++, F(e, !0, -1) && e.lineIndent <= t) {
701
+ a.push(null), c = e.input.charCodeAt(e.position);
702
702
  continue;
703
703
  }
704
- if (n$1 = e$1.line, R(e$1, t$1, et, !1, !0), a$1.push(e$1.result), F(e$1, !0, -1), c$1 = e$1.input.charCodeAt(e$1.position), (e$1.line === n$1 || e$1.lineIndent > t$1) && c$1 !== 0) A(e$1, `bad indentation of a sequence entry`);
705
- else if (e$1.lineIndent < t$1) break;
704
+ if (n = e.line, R(e, t, et, !1, !0), a.push(e.result), F(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0) A(e, `bad indentation of a sequence entry`);
705
+ else if (e.lineIndent < t) break;
706
706
  }
707
- return s$1 ? (e$1.tag = r$1, e$1.anchor = i$1, e$1.kind = `sequence`, e$1.result = a$1, !0) : !1;
707
+ return s ? (e.tag = r, e.anchor = i, e.kind = `sequence`, e.result = a, !0) : !1;
708
708
  }
709
- function Dt(e$1, t$1, n$1) {
710
- var r$1, i$1, a$1, o$1, s$1, c$1, l$1 = e$1.tag, u$1 = e$1.anchor, d$1 = {}, f$1 = Object.create(null), p$1 = null, m$1 = null, h$1 = null, g$1 = !1, _$1 = !1, v$1;
711
- if (e$1.firstTabInLine !== -1) return !1;
712
- for (e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = d$1), v$1 = e$1.input.charCodeAt(e$1.position); v$1 !== 0;) {
713
- if (!g$1 && e$1.firstTabInLine !== -1 && (e$1.position = e$1.firstTabInLine, A(e$1, `tab characters must not be used in indentation`)), r$1 = e$1.input.charCodeAt(e$1.position + 1), a$1 = e$1.line, (v$1 === 63 || v$1 === 58) && D(r$1)) v$1 === 63 ? (g$1 && (N(e$1, d$1, f$1, p$1, m$1, null, o$1, s$1, c$1), p$1 = m$1 = h$1 = null), _$1 = !0, g$1 = !0, i$1 = !0) : g$1 ? (g$1 = !1, i$1 = !0) : A(e$1, `incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`), e$1.position += 1, v$1 = r$1;
709
+ function Dt(e, t, n) {
710
+ var r, i, a, o, s, c, l = e.tag, u = e.anchor, d = {}, f = Object.create(null), p = null, m = null, h = null, g = !1, _ = !1, v;
711
+ if (e.firstTabInLine !== -1) return !1;
712
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = d), v = e.input.charCodeAt(e.position); v !== 0;) {
713
+ if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, `tab characters must not be used in indentation`)), r = e.input.charCodeAt(e.position + 1), a = e.line, (v === 63 || v === 58) && D(r)) v === 63 ? (g && (N(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : A(e, `incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`), e.position += 1, v = r;
714
714
  else {
715
- if (o$1 = e$1.line, s$1 = e$1.lineStart, c$1 = e$1.position, !R(e$1, n$1, $e, !1, !0)) break;
716
- if (e$1.line === a$1) {
717
- for (v$1 = e$1.input.charCodeAt(e$1.position); E(v$1);) v$1 = e$1.input.charCodeAt(++e$1.position);
718
- if (v$1 === 58) v$1 = e$1.input.charCodeAt(++e$1.position), D(v$1) || A(e$1, `a whitespace character is expected after the key-value separator within a block mapping`), g$1 && (N(e$1, d$1, f$1, p$1, m$1, null, o$1, s$1, c$1), p$1 = m$1 = h$1 = null), _$1 = !0, g$1 = !1, i$1 = !1, p$1 = e$1.tag, m$1 = e$1.result;
719
- else if (_$1) A(e$1, `can not read an implicit mapping pair; a colon is missed`);
720
- else return e$1.tag = l$1, e$1.anchor = u$1, !0;
721
- } else if (_$1) A(e$1, `can not read a block mapping entry; a multiline key may not be an implicit key`);
722
- else return e$1.tag = l$1, e$1.anchor = u$1, !0;
715
+ if (o = e.line, s = e.lineStart, c = e.position, !R(e, n, $e, !1, !0)) break;
716
+ if (e.line === a) {
717
+ for (v = e.input.charCodeAt(e.position); E(v);) v = e.input.charCodeAt(++e.position);
718
+ if (v === 58) v = e.input.charCodeAt(++e.position), D(v) || A(e, `a whitespace character is expected after the key-value separator within a block mapping`), g && (N(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !1, i = !1, p = e.tag, m = e.result;
719
+ else if (_) A(e, `can not read an implicit mapping pair; a colon is missed`);
720
+ else return e.tag = l, e.anchor = u, !0;
721
+ } else if (_) A(e, `can not read a block mapping entry; a multiline key may not be an implicit key`);
722
+ else return e.tag = l, e.anchor = u, !0;
723
723
  }
724
- if ((e$1.line === a$1 || e$1.lineIndent > t$1) && (g$1 && (o$1 = e$1.line, s$1 = e$1.lineStart, c$1 = e$1.position), R(e$1, t$1, C, !0, i$1) && (g$1 ? m$1 = e$1.result : h$1 = e$1.result), g$1 || (N(e$1, d$1, f$1, p$1, m$1, h$1, o$1, s$1, c$1), p$1 = m$1 = h$1 = null), F(e$1, !0, -1), v$1 = e$1.input.charCodeAt(e$1.position)), (e$1.line === a$1 || e$1.lineIndent > t$1) && v$1 !== 0) A(e$1, `bad indentation of a mapping entry`);
725
- else if (e$1.lineIndent < t$1) break;
724
+ if ((e.line === a || e.lineIndent > t) && (g && (o = e.line, s = e.lineStart, c = e.position), R(e, t, C, !0, i) && (g ? m = e.result : h = e.result), g || (N(e, d, f, p, m, h, o, s, c), p = m = h = null), F(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && v !== 0) A(e, `bad indentation of a mapping entry`);
725
+ else if (e.lineIndent < t) break;
726
726
  }
727
- return g$1 && N(e$1, d$1, f$1, p$1, m$1, null, o$1, s$1, c$1), _$1 && (e$1.tag = l$1, e$1.anchor = u$1, e$1.kind = `mapping`, e$1.result = d$1), _$1;
727
+ return g && N(e, d, f, p, m, null, o, s, c), _ && (e.tag = l, e.anchor = u, e.kind = `mapping`, e.result = d), _;
728
728
  }
729
- function Ot(e$1) {
730
- var t$1, n$1 = !1, r$1 = !1, i$1, a$1, o$1 = e$1.input.charCodeAt(e$1.position);
731
- if (o$1 !== 33) return !1;
732
- if (e$1.tag !== null && A(e$1, `duplication of a tag property`), o$1 = e$1.input.charCodeAt(++e$1.position), o$1 === 60 ? (n$1 = !0, o$1 = e$1.input.charCodeAt(++e$1.position)) : o$1 === 33 ? (r$1 = !0, i$1 = `!!`, o$1 = e$1.input.charCodeAt(++e$1.position)) : i$1 = `!`, t$1 = e$1.position, n$1) {
729
+ function Ot(e) {
730
+ var t, n = !1, r = !1, i, a, o = e.input.charCodeAt(e.position);
731
+ if (o !== 33) return !1;
732
+ if (e.tag !== null && A(e, `duplication of a tag property`), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, i = `!!`, o = e.input.charCodeAt(++e.position)) : i = `!`, t = e.position, n) {
733
733
  do
734
- o$1 = e$1.input.charCodeAt(++e$1.position);
735
- while (o$1 !== 0 && o$1 !== 62);
736
- e$1.position < e$1.length ? (a$1 = e$1.input.slice(t$1, e$1.position), o$1 = e$1.input.charCodeAt(++e$1.position)) : A(e$1, `unexpected end of the stream within a verbatim tag`);
734
+ o = e.input.charCodeAt(++e.position);
735
+ while (o !== 0 && o !== 62);
736
+ e.position < e.length ? (a = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : A(e, `unexpected end of the stream within a verbatim tag`);
737
737
  } else {
738
- for (; o$1 !== 0 && !D(o$1);) o$1 === 33 && (r$1 ? A(e$1, `tag suffix cannot contain exclamation marks`) : (i$1 = e$1.input.slice(t$1 - 1, e$1.position + 1), ot.test(i$1) || A(e$1, `named tag handle cannot contain such characters`), r$1 = !0, t$1 = e$1.position + 1)), o$1 = e$1.input.charCodeAt(++e$1.position);
739
- a$1 = e$1.input.slice(t$1, e$1.position), at.test(a$1) && A(e$1, `tag suffix cannot contain flow indicator characters`);
738
+ for (; o !== 0 && !D(o);) o === 33 && (r ? A(e, `tag suffix cannot contain exclamation marks`) : (i = e.input.slice(t - 1, e.position + 1), ot.test(i) || A(e, `named tag handle cannot contain such characters`), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
739
+ a = e.input.slice(t, e.position), at.test(a) && A(e, `tag suffix cannot contain flow indicator characters`);
740
740
  }
741
- a$1 && !st.test(a$1) && A(e$1, `tag name cannot contain such characters: ` + a$1);
741
+ a && !st.test(a) && A(e, `tag name cannot contain such characters: ` + a);
742
742
  try {
743
- a$1 = decodeURIComponent(a$1);
743
+ a = decodeURIComponent(a);
744
744
  } catch {
745
- A(e$1, `tag name is malformed: ` + a$1);
745
+ A(e, `tag name is malformed: ` + a);
746
746
  }
747
- return n$1 ? e$1.tag = a$1 : x.call(e$1.tagMap, i$1) ? e$1.tag = e$1.tagMap[i$1] + a$1 : i$1 === `!` ? e$1.tag = `!` + a$1 : i$1 === `!!` ? e$1.tag = `tag:yaml.org,2002:` + a$1 : A(e$1, `undeclared tag handle "` + i$1 + `"`), !0;
748
- }
749
- function kt(e$1) {
750
- var t$1, n$1 = e$1.input.charCodeAt(e$1.position);
751
- if (n$1 !== 38) return !1;
752
- for (e$1.anchor !== null && A(e$1, `duplication of an anchor property`), n$1 = e$1.input.charCodeAt(++e$1.position), t$1 = e$1.position; n$1 !== 0 && !D(n$1) && !O(n$1);) n$1 = e$1.input.charCodeAt(++e$1.position);
753
- return e$1.position === t$1 && A(e$1, `name of an anchor node must contain at least one character`), e$1.anchor = e$1.input.slice(t$1, e$1.position), !0;
754
- }
755
- function At(e$1) {
756
- var t$1, n$1, r$1 = e$1.input.charCodeAt(e$1.position);
757
- if (r$1 !== 42) return !1;
758
- for (r$1 = e$1.input.charCodeAt(++e$1.position), t$1 = e$1.position; r$1 !== 0 && !D(r$1) && !O(r$1);) r$1 = e$1.input.charCodeAt(++e$1.position);
759
- return e$1.position === t$1 && A(e$1, `name of an alias node must contain at least one character`), n$1 = e$1.input.slice(t$1, e$1.position), x.call(e$1.anchorMap, n$1) || A(e$1, `unidentified alias "` + n$1 + `"`), e$1.result = e$1.anchorMap[n$1], F(e$1, !0, -1), !0;
760
- }
761
- function R(e$1, t$1, n$1, r$1, i$1) {
762
- var a$1, o$1, s$1, c$1 = 1, l$1 = !1, u$1 = !1, d$1, f$1, p$1, m$1, h$1, g$1;
763
- if (e$1.listener !== null && e$1.listener(`open`, e$1), e$1.tag = null, e$1.anchor = null, e$1.kind = null, e$1.result = null, a$1 = o$1 = s$1 = C === n$1 || et === n$1, r$1 && F(e$1, !0, -1) && (l$1 = !0, e$1.lineIndent > t$1 ? c$1 = 1 : e$1.lineIndent === t$1 ? c$1 = 0 : e$1.lineIndent < t$1 && (c$1 = -1)), c$1 === 1) for (; Ot(e$1) || kt(e$1);) F(e$1, !0, -1) ? (l$1 = !0, s$1 = a$1, e$1.lineIndent > t$1 ? c$1 = 1 : e$1.lineIndent === t$1 ? c$1 = 0 : e$1.lineIndent < t$1 && (c$1 = -1)) : s$1 = !1;
764
- if (s$1 &&= l$1 || i$1, (c$1 === 1 || C === n$1) && (h$1 = S === n$1 || $e === n$1 ? t$1 : t$1 + 1, g$1 = e$1.position - e$1.lineStart, c$1 === 1 ? s$1 && (Et(e$1, g$1) || Dt(e$1, g$1, h$1)) || wt(e$1, h$1) ? u$1 = !0 : (o$1 && Tt(e$1, h$1) || St(e$1, h$1) || Ct(e$1, h$1) ? u$1 = !0 : At(e$1) ? (u$1 = !0, (e$1.tag !== null || e$1.anchor !== null) && A(e$1, `alias node should not have any properties`)) : xt(e$1, h$1, S === n$1) && (u$1 = !0, e$1.tag === null && (e$1.tag = `?`)), e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = e$1.result)) : c$1 === 0 && (u$1 = s$1 && Et(e$1, g$1))), e$1.tag === null) e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = e$1.result);
765
- else if (e$1.tag === `?`) {
766
- for (e$1.result !== null && e$1.kind !== `scalar` && A(e$1, `unacceptable node kind for !<?> tag; it should be "scalar", not "` + e$1.kind + `"`), d$1 = 0, f$1 = e$1.implicitTypes.length; d$1 < f$1; d$1 += 1) if (m$1 = e$1.implicitTypes[d$1], m$1.resolve(e$1.result)) {
767
- e$1.result = m$1.construct(e$1.result), e$1.tag = m$1.tag, e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = e$1.result);
747
+ return n ? e.tag = a : x.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === `!` ? e.tag = `!` + a : i === `!!` ? e.tag = `tag:yaml.org,2002:` + a : A(e, `undeclared tag handle "` + i + `"`), !0;
748
+ }
749
+ function kt(e) {
750
+ var t, n = e.input.charCodeAt(e.position);
751
+ if (n !== 38) return !1;
752
+ for (e.anchor !== null && A(e, `duplication of an anchor property`), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !D(n) && !O(n);) n = e.input.charCodeAt(++e.position);
753
+ return e.position === t && A(e, `name of an anchor node must contain at least one character`), e.anchor = e.input.slice(t, e.position), !0;
754
+ }
755
+ function At(e) {
756
+ var t, n, r = e.input.charCodeAt(e.position);
757
+ if (r !== 42) return !1;
758
+ for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !D(r) && !O(r);) r = e.input.charCodeAt(++e.position);
759
+ return e.position === t && A(e, `name of an alias node must contain at least one character`), n = e.input.slice(t, e.position), x.call(e.anchorMap, n) || A(e, `unidentified alias "` + n + `"`), e.result = e.anchorMap[n], F(e, !0, -1), !0;
760
+ }
761
+ function R(e, t, n, r, i) {
762
+ var a, o, s, c = 1, l = !1, u = !1, d, f, p, m, h, g;
763
+ if (e.listener !== null && e.listener(`open`, e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = s = C === n || et === n, r && F(e, !0, -1) && (l = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1) for (; Ot(e) || kt(e);) F(e, !0, -1) ? (l = !0, s = a, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
764
+ if (s &&= l || i, (c === 1 || C === n) && (h = S === n || $e === n ? t : t + 1, g = e.position - e.lineStart, c === 1 ? s && (Et(e, g) || Dt(e, g, h)) || wt(e, h) ? u = !0 : (o && Tt(e, h) || St(e, h) || Ct(e, h) ? u = !0 : At(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && A(e, `alias node should not have any properties`)) : xt(e, h, S === n) && (u = !0, e.tag === null && (e.tag = `?`)), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (u = s && Et(e, g))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
765
+ else if (e.tag === `?`) {
766
+ for (e.result !== null && e.kind !== `scalar` && A(e, `unacceptable node kind for !<?> tag; it should be "scalar", not "` + e.kind + `"`), d = 0, f = e.implicitTypes.length; d < f; d += 1) if (m = e.implicitTypes[d], m.resolve(e.result)) {
767
+ e.result = m.construct(e.result), e.tag = m.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
768
768
  break;
769
769
  }
770
- } else if (e$1.tag !== `!`) {
771
- if (x.call(e$1.typeMap[e$1.kind || `fallback`], e$1.tag)) m$1 = e$1.typeMap[e$1.kind || `fallback`][e$1.tag];
772
- else for (m$1 = null, p$1 = e$1.typeMap.multi[e$1.kind || `fallback`], d$1 = 0, f$1 = p$1.length; d$1 < f$1; d$1 += 1) if (e$1.tag.slice(0, p$1[d$1].tag.length) === p$1[d$1].tag) {
773
- m$1 = p$1[d$1];
770
+ } else if (e.tag !== `!`) {
771
+ if (x.call(e.typeMap[e.kind || `fallback`], e.tag)) m = e.typeMap[e.kind || `fallback`][e.tag];
772
+ else for (m = null, p = e.typeMap.multi[e.kind || `fallback`], d = 0, f = p.length; d < f; d += 1) if (e.tag.slice(0, p[d].tag.length) === p[d].tag) {
773
+ m = p[d];
774
774
  break;
775
775
  }
776
- m$1 || A(e$1, `unknown tag !<` + e$1.tag + `>`), e$1.result !== null && m$1.kind !== e$1.kind && A(e$1, `unacceptable node kind for !<` + e$1.tag + `> tag; it should be "` + m$1.kind + `", not "` + e$1.kind + `"`), m$1.resolve(e$1.result, e$1.tag) ? (e$1.result = m$1.construct(e$1.result, e$1.tag), e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = e$1.result)) : A(e$1, `cannot resolve a node with !<` + e$1.tag + `> explicit tag`);
776
+ m || A(e, `unknown tag !<` + e.tag + `>`), e.result !== null && m.kind !== e.kind && A(e, `unacceptable node kind for !<` + e.tag + `> tag; it should be "` + m.kind + `", not "` + e.kind + `"`), m.resolve(e.result, e.tag) ? (e.result = m.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : A(e, `cannot resolve a node with !<` + e.tag + `> explicit tag`);
777
777
  }
778
- return e$1.listener !== null && e$1.listener(`close`, e$1), e$1.tag !== null || e$1.anchor !== null || u$1;
779
- }
780
- function jt(e$1) {
781
- var t$1 = e$1.position, n$1, r$1, i$1, a$1 = !1, o$1;
782
- for (e$1.version = null, e$1.checkLineBreaks = e$1.legacy, e$1.tagMap = Object.create(null), e$1.anchorMap = Object.create(null); (o$1 = e$1.input.charCodeAt(e$1.position)) !== 0 && (F(e$1, !0, -1), o$1 = e$1.input.charCodeAt(e$1.position), !(e$1.lineIndent > 0 || o$1 !== 37));) {
783
- for (a$1 = !0, o$1 = e$1.input.charCodeAt(++e$1.position), n$1 = e$1.position; o$1 !== 0 && !D(o$1);) o$1 = e$1.input.charCodeAt(++e$1.position);
784
- for (r$1 = e$1.input.slice(n$1, e$1.position), i$1 = [], r$1.length < 1 && A(e$1, `directive name must not be less than one character in length`); o$1 !== 0;) {
785
- for (; E(o$1);) o$1 = e$1.input.charCodeAt(++e$1.position);
786
- if (o$1 === 35) {
778
+ return e.listener !== null && e.listener(`close`, e), e.tag !== null || e.anchor !== null || u;
779
+ }
780
+ function jt(e) {
781
+ var t = e.position, n, r, i, a = !1, o;
782
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = Object.create(null), e.anchorMap = Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (F(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37));) {
783
+ for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !D(o);) o = e.input.charCodeAt(++e.position);
784
+ for (r = e.input.slice(n, e.position), i = [], r.length < 1 && A(e, `directive name must not be less than one character in length`); o !== 0;) {
785
+ for (; E(o);) o = e.input.charCodeAt(++e.position);
786
+ if (o === 35) {
787
787
  do
788
- o$1 = e$1.input.charCodeAt(++e$1.position);
789
- while (o$1 !== 0 && !T(o$1));
788
+ o = e.input.charCodeAt(++e.position);
789
+ while (o !== 0 && !T(o));
790
790
  break;
791
791
  }
792
- if (T(o$1)) break;
793
- for (n$1 = e$1.position; o$1 !== 0 && !D(o$1);) o$1 = e$1.input.charCodeAt(++e$1.position);
794
- i$1.push(e$1.input.slice(n$1, e$1.position));
792
+ if (T(o)) break;
793
+ for (n = e.position; o !== 0 && !D(o);) o = e.input.charCodeAt(++e.position);
794
+ i.push(e.input.slice(n, e.position));
795
795
  }
796
- o$1 !== 0 && P(e$1), x.call(yt, r$1) ? yt[r$1](e$1, r$1, i$1) : j(e$1, `unknown document directive "` + r$1 + `"`);
796
+ o !== 0 && P(e), x.call(yt, r) ? yt[r](e, r, i) : j(e, `unknown document directive "` + r + `"`);
797
797
  }
798
- if (F(e$1, !0, -1), e$1.lineIndent === 0 && e$1.input.charCodeAt(e$1.position) === 45 && e$1.input.charCodeAt(e$1.position + 1) === 45 && e$1.input.charCodeAt(e$1.position + 2) === 45 ? (e$1.position += 3, F(e$1, !0, -1)) : a$1 && A(e$1, `directives end mark is expected`), R(e$1, e$1.lineIndent - 1, C, !1, !0), F(e$1, !0, -1), e$1.checkLineBreaks && it.test(e$1.input.slice(t$1, e$1.position)) && j(e$1, `non-ASCII line breaks are interpreted as content`), e$1.documents.push(e$1.result), e$1.position === e$1.lineStart && I(e$1)) {
799
- e$1.input.charCodeAt(e$1.position) === 46 && (e$1.position += 3, F(e$1, !0, -1));
798
+ if (F(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, F(e, !0, -1)) : a && A(e, `directives end mark is expected`), R(e, e.lineIndent - 1, C, !1, !0), F(e, !0, -1), e.checkLineBreaks && it.test(e.input.slice(t, e.position)) && j(e, `non-ASCII line breaks are interpreted as content`), e.documents.push(e.result), e.position === e.lineStart && I(e)) {
799
+ e.input.charCodeAt(e.position) === 46 && (e.position += 3, F(e, !0, -1));
800
800
  return;
801
801
  }
802
- if (e$1.position < e$1.length - 1) A(e$1, `end of the stream or a document separator is expected`);
802
+ if (e.position < e.length - 1) A(e, `end of the stream or a document separator is expected`);
803
803
  else return;
804
804
  }
805
- function Mt(e$1, t$1) {
806
- e$1 = String(e$1), t$1 ||= {}, e$1.length !== 0 && (e$1.charCodeAt(e$1.length - 1) !== 10 && e$1.charCodeAt(e$1.length - 1) !== 13 && (e$1 += `
807
- `), e$1.charCodeAt(0) === 65279 && (e$1 = e$1.slice(1)));
808
- var n$1 = new _t(e$1, t$1), r$1 = e$1.indexOf(`\0`);
809
- for (r$1 !== -1 && (n$1.position = r$1, A(n$1, `null byte is not allowed in input`)), n$1.input += `\0`; n$1.input.charCodeAt(n$1.position) === 32;) n$1.lineIndent += 1, n$1.position += 1;
810
- for (; n$1.position < n$1.length - 1;) jt(n$1);
811
- return n$1.documents;
812
- }
813
- function Nt(e$1, t$1, n$1) {
814
- typeof t$1 == `object` && t$1 && n$1 === void 0 && (n$1 = t$1, t$1 = null);
815
- var r$1 = Mt(e$1, n$1);
816
- if (typeof t$1 != `function`) return r$1;
817
- for (var i$1 = 0, a$1 = r$1.length; i$1 < a$1; i$1 += 1) t$1(r$1[i$1]);
818
- }
819
- function Pt(e$1, t$1) {
820
- var n$1 = Mt(e$1, t$1);
821
- if (n$1.length !== 0) {
822
- if (n$1.length === 1) return n$1[0];
805
+ function Mt(e, t) {
806
+ e = String(e), t ||= {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
807
+ `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
808
+ var n = new _t(e, t), r = e.indexOf(`\0`);
809
+ for (r !== -1 && (n.position = r, A(n, `null byte is not allowed in input`)), n.input += `\0`; n.input.charCodeAt(n.position) === 32;) n.lineIndent += 1, n.position += 1;
810
+ for (; n.position < n.length - 1;) jt(n);
811
+ return n.documents;
812
+ }
813
+ function Nt(e, t, n) {
814
+ typeof t == `object` && t && n === void 0 && (n = t, t = null);
815
+ var r = Mt(e, n);
816
+ if (typeof t != `function`) return r;
817
+ for (var i = 0, a = r.length; i < a; i += 1) t(r[i]);
818
+ }
819
+ function Pt(e, t) {
820
+ var n = Mt(e, t);
821
+ if (n.length !== 0) {
822
+ if (n.length === 1) return n[0];
823
823
  throw new l(`expected a single document in the stream, but found more`);
824
824
  }
825
825
  }
@@ -846,209 +846,209 @@ var on = [
846
846
  `Off`,
847
847
  `OFF`
848
848
  ], sn = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
849
- function cn(e$1, t$1) {
850
- var n$1, r$1, i$1, a$1, o$1, s$1, c$1;
851
- if (t$1 === null) return {};
852
- for (n$1 = {}, r$1 = Object.keys(t$1), i$1 = 0, a$1 = r$1.length; i$1 < a$1; i$1 += 1) o$1 = r$1[i$1], s$1 = String(t$1[o$1]), o$1.slice(0, 2) === `!!` && (o$1 = `tag:yaml.org,2002:` + o$1.slice(2)), c$1 = e$1.compiledTypeMap.fallback[o$1], c$1 && Lt.call(c$1.styleAliases, s$1) && (s$1 = c$1.styleAliases[s$1]), n$1[o$1] = s$1;
853
- return n$1;
854
- }
855
- function ln(e$1) {
856
- var t$1 = e$1.toString(16).toUpperCase(), n$1, r$1;
857
- if (e$1 <= 255) n$1 = `x`, r$1 = 2;
858
- else if (e$1 <= 65535) n$1 = `u`, r$1 = 4;
859
- else if (e$1 <= 4294967295) n$1 = `U`, r$1 = 8;
849
+ function cn(e, t) {
850
+ var n, r, i, a, o, s, c;
851
+ if (t === null) return {};
852
+ for (n = {}, r = Object.keys(t), i = 0, a = r.length; i < a; i += 1) o = r[i], s = String(t[o]), o.slice(0, 2) === `!!` && (o = `tag:yaml.org,2002:` + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && Lt.call(c.styleAliases, s) && (s = c.styleAliases[s]), n[o] = s;
853
+ return n;
854
+ }
855
+ function ln(e) {
856
+ var t = e.toString(16).toUpperCase(), n, r;
857
+ if (e <= 255) n = `x`, r = 2;
858
+ else if (e <= 65535) n = `u`, r = 4;
859
+ else if (e <= 4294967295) n = `U`, r = 8;
860
860
  else throw new l(`code point within a string may not be greater than 0xFFFFFFFF`);
861
- return `\\` + n$1 + o.repeat(`0`, r$1 - t$1.length) + t$1;
861
+ return `\\` + n + o.repeat(`0`, r - t.length) + t;
862
862
  }
863
863
  var un = 1, W = 2;
864
- function dn(e$1) {
865
- this.schema = e$1.schema || Qe, this.indent = Math.max(1, e$1.indent || 2), this.noArrayIndent = e$1.noArrayIndent || !1, this.skipInvalid = e$1.skipInvalid || !1, this.flowLevel = o.isNothing(e$1.flowLevel) ? -1 : e$1.flowLevel, this.styleMap = cn(this.schema, e$1.styles || null), this.sortKeys = e$1.sortKeys || !1, this.lineWidth = e$1.lineWidth || 80, this.noRefs = e$1.noRefs || !1, this.noCompatMode = e$1.noCompatMode || !1, this.condenseFlow = e$1.condenseFlow || !1, this.quotingType = e$1.quotingType === `"` ? W : un, this.forceQuotes = e$1.forceQuotes || !1, this.replacer = typeof e$1.replacer == `function` ? e$1.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = ``, this.duplicates = [], this.usedDuplicates = null;
864
+ function dn(e) {
865
+ this.schema = e.schema || Qe, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = o.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = cn(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === `"` ? W : un, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == `function` ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = ``, this.duplicates = [], this.usedDuplicates = null;
866
866
  }
867
- function fn(e$1, t$1) {
868
- for (var n$1 = o.repeat(` `, t$1), r$1 = 0, i$1 = -1, a$1 = ``, s$1, c$1 = e$1.length; r$1 < c$1;) i$1 = e$1.indexOf(`
869
- `, r$1), i$1 === -1 ? (s$1 = e$1.slice(r$1), r$1 = c$1) : (s$1 = e$1.slice(r$1, i$1 + 1), r$1 = i$1 + 1), s$1.length && s$1 !== `
870
- ` && (a$1 += n$1), a$1 += s$1;
871
- return a$1;
867
+ function fn(e, t) {
868
+ for (var n = o.repeat(` `, t), r = 0, i = -1, a = ``, s, c = e.length; r < c;) i = e.indexOf(`
869
+ `, r), i === -1 ? (s = e.slice(r), r = c) : (s = e.slice(r, i + 1), r = i + 1), s.length && s !== `
870
+ ` && (a += n), a += s;
871
+ return a;
872
872
  }
873
- function G(e$1, t$1) {
873
+ function G(e, t) {
874
874
  return `
875
- ` + o.repeat(` `, e$1.indent * t$1);
875
+ ` + o.repeat(` `, e.indent * t);
876
876
  }
877
- function pn(e$1, t$1) {
878
- var n$1, r$1, i$1;
879
- for (n$1 = 0, r$1 = e$1.implicitTypes.length; n$1 < r$1; n$1 += 1) if (i$1 = e$1.implicitTypes[n$1], i$1.resolve(t$1)) return !0;
877
+ function pn(e, t) {
878
+ var n, r, i;
879
+ for (n = 0, r = e.implicitTypes.length; n < r; n += 1) if (i = e.implicitTypes[n], i.resolve(t)) return !0;
880
880
  return !1;
881
881
  }
882
- function K(e$1) {
883
- return e$1 === Bt || e$1 === Rt;
882
+ function K(e) {
883
+ return e === Bt || e === Rt;
884
884
  }
885
- function q(e$1) {
886
- return 32 <= e$1 && e$1 <= 126 || 161 <= e$1 && e$1 <= 55295 && e$1 !== 8232 && e$1 !== 8233 || 57344 <= e$1 && e$1 <= 65533 && e$1 !== z || 65536 <= e$1 && e$1 <= 1114111;
885
+ function q(e) {
886
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== z || 65536 <= e && e <= 1114111;
887
887
  }
888
- function mn(e$1) {
889
- return q(e$1) && e$1 !== z && e$1 !== zt && e$1 !== B;
888
+ function mn(e) {
889
+ return q(e) && e !== z && e !== zt && e !== B;
890
890
  }
891
- function hn(e$1, t$1, n$1) {
892
- var r$1 = mn(e$1), i$1 = r$1 && !K(e$1);
893
- return (n$1 ? r$1 : r$1 && e$1 !== qt && e$1 !== $t && e$1 !== en && e$1 !== nn && e$1 !== an) && e$1 !== V && !(t$1 === H && !i$1) || mn(t$1) && !K(t$1) && e$1 === V || t$1 === H && i$1;
891
+ function hn(e, t, n) {
892
+ var r = mn(e), i = r && !K(e);
893
+ return (n ? r : r && e !== qt && e !== $t && e !== en && e !== nn && e !== an) && e !== V && !(t === H && !i) || mn(t) && !K(t) && e === V || t === H && i;
894
894
  }
895
- function gn(e$1) {
896
- return q(e$1) && e$1 !== z && !K(e$1) && e$1 !== Jt && e$1 !== Zt && e$1 !== H && e$1 !== qt && e$1 !== $t && e$1 !== en && e$1 !== nn && e$1 !== an && e$1 !== V && e$1 !== Wt && e$1 !== Kt && e$1 !== Vt && e$1 !== rn && e$1 !== Yt && e$1 !== Xt && e$1 !== Gt && e$1 !== Ht && e$1 !== Ut && e$1 !== Qt && e$1 !== tn;
895
+ function gn(e) {
896
+ return q(e) && e !== z && !K(e) && e !== Jt && e !== Zt && e !== H && e !== qt && e !== $t && e !== en && e !== nn && e !== an && e !== V && e !== Wt && e !== Kt && e !== Vt && e !== rn && e !== Yt && e !== Xt && e !== Gt && e !== Ht && e !== Ut && e !== Qt && e !== tn;
897
897
  }
898
- function _n(e$1) {
899
- return !K(e$1) && e$1 !== H;
898
+ function _n(e) {
899
+ return !K(e) && e !== H;
900
900
  }
901
- function J(e$1, t$1) {
902
- var n$1 = e$1.charCodeAt(t$1), r$1;
903
- return n$1 >= 55296 && n$1 <= 56319 && t$1 + 1 < e$1.length && (r$1 = e$1.charCodeAt(t$1 + 1), r$1 >= 56320 && r$1 <= 57343) ? (n$1 - 55296) * 1024 + r$1 - 56320 + 65536 : n$1;
901
+ function J(e, t) {
902
+ var n = e.charCodeAt(t), r;
903
+ return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
904
904
  }
905
- function vn(e$1) {
906
- return /^\n* /.test(e$1);
905
+ function vn(e) {
906
+ return /^\n* /.test(e);
907
907
  }
908
908
  var yn = 1, Y = 2, bn = 3, xn = 4, X = 5;
909
- function Sn(e$1, t$1, n$1, r$1, i$1, a$1, o$1, s$1) {
910
- var c$1, l$1 = 0, u$1 = null, d$1 = !1, f$1 = !1, p$1 = r$1 !== -1, m$1 = -1, h$1 = gn(J(e$1, 0)) && _n(J(e$1, e$1.length - 1));
911
- if (t$1 || o$1) for (c$1 = 0; c$1 < e$1.length; l$1 >= 65536 ? c$1 += 2 : c$1++) {
912
- if (l$1 = J(e$1, c$1), !q(l$1)) return X;
913
- h$1 &&= hn(l$1, u$1, s$1), u$1 = l$1;
909
+ function Sn(e, t, n, r, i, a, o, s) {
910
+ var c, l = 0, u = null, d = !1, f = !1, p = r !== -1, m = -1, h = gn(J(e, 0)) && _n(J(e, e.length - 1));
911
+ if (t || o) for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
912
+ if (l = J(e, c), !q(l)) return X;
913
+ h &&= hn(l, u, s), u = l;
914
914
  }
915
915
  else {
916
- for (c$1 = 0; c$1 < e$1.length; l$1 >= 65536 ? c$1 += 2 : c$1++) {
917
- if (l$1 = J(e$1, c$1), l$1 === B) d$1 = !0, p$1 && (f$1 ||= c$1 - m$1 - 1 > r$1 && e$1[m$1 + 1] !== ` `, m$1 = c$1);
918
- else if (!q(l$1)) return X;
919
- h$1 &&= hn(l$1, u$1, s$1), u$1 = l$1;
916
+ for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
917
+ if (l = J(e, c), l === B) d = !0, p && (f ||= c - m - 1 > r && e[m + 1] !== ` `, m = c);
918
+ else if (!q(l)) return X;
919
+ h &&= hn(l, u, s), u = l;
920
920
  }
921
- f$1 ||= p$1 && c$1 - m$1 - 1 > r$1 && e$1[m$1 + 1] !== ` `;
921
+ f ||= p && c - m - 1 > r && e[m + 1] !== ` `;
922
922
  }
923
- return !d$1 && !f$1 ? h$1 && !o$1 && !i$1(e$1) ? yn : a$1 === W ? X : Y : n$1 > 9 && vn(e$1) ? X : o$1 ? a$1 === W ? X : Y : f$1 ? xn : bn;
924
- }
925
- function Cn(e$1, t$1, n$1, r$1, i$1) {
926
- e$1.dump = function() {
927
- if (t$1.length === 0) return e$1.quotingType === W ? `""` : `''`;
928
- if (!e$1.noCompatMode && (on.indexOf(t$1) !== -1 || sn.test(t$1))) return e$1.quotingType === W ? `"` + t$1 + `"` : `'` + t$1 + `'`;
929
- var a$1 = e$1.indent * Math.max(1, n$1), o$1 = e$1.lineWidth === -1 ? -1 : Math.max(Math.min(e$1.lineWidth, 40), e$1.lineWidth - a$1), s$1 = r$1 || e$1.flowLevel > -1 && n$1 >= e$1.flowLevel;
930
- function c$1(t$2) {
931
- return pn(e$1, t$2);
923
+ return !d && !f ? h && !o && !i(e) ? yn : a === W ? X : Y : n > 9 && vn(e) ? X : o ? a === W ? X : Y : f ? xn : bn;
924
+ }
925
+ function Cn(e, t, n, r, i) {
926
+ e.dump = function() {
927
+ if (t.length === 0) return e.quotingType === W ? `""` : `''`;
928
+ if (!e.noCompatMode && (on.indexOf(t) !== -1 || sn.test(t))) return e.quotingType === W ? `"` + t + `"` : `'` + t + `'`;
929
+ var a = e.indent * Math.max(1, n), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - a), s = r || e.flowLevel > -1 && n >= e.flowLevel;
930
+ function c(t) {
931
+ return pn(e, t);
932
932
  }
933
- switch (Sn(t$1, s$1, e$1.indent, o$1, c$1, e$1.quotingType, e$1.forceQuotes && !r$1, i$1)) {
934
- case yn: return t$1;
935
- case Y: return `'` + t$1.replace(/'/g, `''`) + `'`;
936
- case bn: return `|` + wn(t$1, e$1.indent) + Tn(fn(t$1, a$1));
937
- case xn: return `>` + wn(t$1, e$1.indent) + Tn(fn(En(t$1, o$1), a$1));
938
- case X: return `"` + Dn(t$1) + `"`;
933
+ switch (Sn(t, s, e.indent, o, c, e.quotingType, e.forceQuotes && !r, i)) {
934
+ case yn: return t;
935
+ case Y: return `'` + t.replace(/'/g, `''`) + `'`;
936
+ case bn: return `|` + wn(t, e.indent) + Tn(fn(t, a));
937
+ case xn: return `>` + wn(t, e.indent) + Tn(fn(En(t, o), a));
938
+ case X: return `"` + Dn(t) + `"`;
939
939
  default: throw new l(`impossible error: invalid scalar style`);
940
940
  }
941
941
  }();
942
942
  }
943
- function wn(e$1, t$1) {
944
- var n$1 = vn(e$1) ? String(t$1) : ``, r$1 = e$1[e$1.length - 1] === `
943
+ function wn(e, t) {
944
+ var n = vn(e) ? String(t) : ``, r = e[e.length - 1] === `
945
945
  `;
946
- return n$1 + (r$1 && (e$1[e$1.length - 2] === `
947
- ` || e$1 === `
948
- `) ? `+` : r$1 ? `` : `-`) + `
946
+ return n + (r && (e[e.length - 2] === `
947
+ ` || e === `
948
+ `) ? `+` : r ? `` : `-`) + `
949
949
  `;
950
950
  }
951
- function Tn(e$1) {
952
- return e$1[e$1.length - 1] === `
953
- ` ? e$1.slice(0, -1) : e$1;
951
+ function Tn(e) {
952
+ return e[e.length - 1] === `
953
+ ` ? e.slice(0, -1) : e;
954
954
  }
955
- function En(e$1, t$1) {
956
- for (var n$1 = /(\n+)([^\n]*)/g, r$1 = function() {
957
- var r$2 = e$1.indexOf(`
955
+ function En(e, t) {
956
+ for (var n = /(\n+)([^\n]*)/g, r = function() {
957
+ var r = e.indexOf(`
958
958
  `);
959
- return r$2 = r$2 === -1 ? e$1.length : r$2, n$1.lastIndex = r$2, Z(e$1.slice(0, r$2), t$1);
960
- }(), i$1 = e$1[0] === `
961
- ` || e$1[0] === ` `, a$1, o$1; o$1 = n$1.exec(e$1);) {
962
- var s$1 = o$1[1], c$1 = o$1[2];
963
- a$1 = c$1[0] === ` `, r$1 += s$1 + (!i$1 && !a$1 && c$1 !== `` ? `
964
- ` : ``) + Z(c$1, t$1), i$1 = a$1;
959
+ return r = r === -1 ? e.length : r, n.lastIndex = r, Z(e.slice(0, r), t);
960
+ }(), i = e[0] === `
961
+ ` || e[0] === ` `, a, o; o = n.exec(e);) {
962
+ var s = o[1], c = o[2];
963
+ a = c[0] === ` `, r += s + (!i && !a && c !== `` ? `
964
+ ` : ``) + Z(c, t), i = a;
965
965
  }
966
- return r$1;
967
- }
968
- function Z(e$1, t$1) {
969
- if (e$1 === `` || e$1[0] === ` `) return e$1;
970
- for (var n$1 = / [^ ]/g, r$1, i$1 = 0, a$1, o$1 = 0, s$1 = 0, c$1 = ``; r$1 = n$1.exec(e$1);) s$1 = r$1.index, s$1 - i$1 > t$1 && (a$1 = o$1 > i$1 ? o$1 : s$1, c$1 += `
971
- ` + e$1.slice(i$1, a$1), i$1 = a$1 + 1), o$1 = s$1;
972
- return c$1 += `
973
- `, e$1.length - i$1 > t$1 && o$1 > i$1 ? c$1 += e$1.slice(i$1, o$1) + `
974
- ` + e$1.slice(o$1 + 1) : c$1 += e$1.slice(i$1), c$1.slice(1);
975
- }
976
- function Dn(e$1) {
977
- for (var t$1 = ``, n$1 = 0, r$1, i$1 = 0; i$1 < e$1.length; n$1 >= 65536 ? i$1 += 2 : i$1++) n$1 = J(e$1, i$1), r$1 = U[n$1], !r$1 && q(n$1) ? (t$1 += e$1[i$1], n$1 >= 65536 && (t$1 += e$1[i$1 + 1])) : t$1 += r$1 || ln(n$1);
978
- return t$1;
979
- }
980
- function On(e$1, t$1, n$1) {
981
- var r$1 = ``, i$1 = e$1.tag, a$1, o$1, s$1;
982
- for (a$1 = 0, o$1 = n$1.length; a$1 < o$1; a$1 += 1) s$1 = n$1[a$1], e$1.replacer && (s$1 = e$1.replacer.call(n$1, String(a$1), s$1)), (Q(e$1, t$1, s$1, !1, !1) || s$1 === void 0 && Q(e$1, t$1, null, !1, !1)) && (r$1 !== `` && (r$1 += `,` + (e$1.condenseFlow ? `` : ` `)), r$1 += e$1.dump);
983
- e$1.tag = i$1, e$1.dump = `[` + r$1 + `]`;
984
- }
985
- function kn(e$1, t$1, n$1, r$1) {
986
- var i$1 = ``, a$1 = e$1.tag, o$1, s$1, c$1;
987
- for (o$1 = 0, s$1 = n$1.length; o$1 < s$1; o$1 += 1) c$1 = n$1[o$1], e$1.replacer && (c$1 = e$1.replacer.call(n$1, String(o$1), c$1)), (Q(e$1, t$1 + 1, c$1, !0, !0, !1, !0) || c$1 === void 0 && Q(e$1, t$1 + 1, null, !0, !0, !1, !0)) && ((!r$1 || i$1 !== ``) && (i$1 += G(e$1, t$1)), e$1.dump && B === e$1.dump.charCodeAt(0) ? i$1 += `-` : i$1 += `- `, i$1 += e$1.dump);
988
- e$1.tag = a$1, e$1.dump = i$1 || `[]`;
989
- }
990
- function An(e$1, t$1, n$1) {
991
- var r$1 = ``, i$1 = e$1.tag, a$1 = Object.keys(n$1), o$1, s$1, c$1, l$1, u$1;
992
- for (o$1 = 0, s$1 = a$1.length; o$1 < s$1; o$1 += 1) u$1 = ``, r$1 !== `` && (u$1 += `, `), e$1.condenseFlow && (u$1 += `"`), c$1 = a$1[o$1], l$1 = n$1[c$1], e$1.replacer && (l$1 = e$1.replacer.call(n$1, c$1, l$1)), Q(e$1, t$1, c$1, !1, !1) && (e$1.dump.length > 1024 && (u$1 += `? `), u$1 += e$1.dump + (e$1.condenseFlow ? `"` : ``) + `:` + (e$1.condenseFlow ? `` : ` `), Q(e$1, t$1, l$1, !1, !1) && (u$1 += e$1.dump, r$1 += u$1));
993
- e$1.tag = i$1, e$1.dump = `{` + r$1 + `}`;
994
- }
995
- function jn(e$1, t$1, n$1, r$1) {
996
- var i$1 = ``, a$1 = e$1.tag, o$1 = Object.keys(n$1), s$1, c$1, u$1, d$1, f$1, p$1;
997
- if (e$1.sortKeys === !0) o$1.sort();
998
- else if (typeof e$1.sortKeys == `function`) o$1.sort(e$1.sortKeys);
999
- else if (e$1.sortKeys) throw new l(`sortKeys must be a boolean or a function`);
1000
- for (s$1 = 0, c$1 = o$1.length; s$1 < c$1; s$1 += 1) p$1 = ``, (!r$1 || i$1 !== ``) && (p$1 += G(e$1, t$1)), u$1 = o$1[s$1], d$1 = n$1[u$1], e$1.replacer && (d$1 = e$1.replacer.call(n$1, u$1, d$1)), Q(e$1, t$1 + 1, u$1, !0, !0, !0) && (f$1 = e$1.tag !== null && e$1.tag !== `?` || e$1.dump && e$1.dump.length > 1024, f$1 && (e$1.dump && B === e$1.dump.charCodeAt(0) ? p$1 += `?` : p$1 += `? `), p$1 += e$1.dump, f$1 && (p$1 += G(e$1, t$1)), Q(e$1, t$1 + 1, d$1, !0, f$1) && (e$1.dump && B === e$1.dump.charCodeAt(0) ? p$1 += `:` : p$1 += `: `, p$1 += e$1.dump, i$1 += p$1));
1001
- e$1.tag = a$1, e$1.dump = i$1 || `{}`;
1002
- }
1003
- function Mn(e$1, t$1, n$1) {
1004
- var r$1, i$1 = n$1 ? e$1.explicitTypes : e$1.implicitTypes, a$1, o$1, s$1, c$1;
1005
- for (a$1 = 0, o$1 = i$1.length; a$1 < o$1; a$1 += 1) if (s$1 = i$1[a$1], (s$1.instanceOf || s$1.predicate) && (!s$1.instanceOf || typeof t$1 == `object` && t$1 instanceof s$1.instanceOf) && (!s$1.predicate || s$1.predicate(t$1))) {
1006
- if (n$1 ? s$1.multi && s$1.representName ? e$1.tag = s$1.representName(t$1) : e$1.tag = s$1.tag : e$1.tag = `?`, s$1.represent) {
1007
- if (c$1 = e$1.styleMap[s$1.tag] || s$1.defaultStyle, It.call(s$1.represent) === `[object Function]`) r$1 = s$1.represent(t$1, c$1);
1008
- else if (Lt.call(s$1.represent, c$1)) r$1 = s$1.represent[c$1](t$1, c$1);
1009
- else throw new l(`!<` + s$1.tag + `> tag resolver accepts not "` + c$1 + `" style`);
1010
- e$1.dump = r$1;
966
+ return r;
967
+ }
968
+ function Z(e, t) {
969
+ if (e === `` || e[0] === ` `) return e;
970
+ for (var n = / [^ ]/g, r, i = 0, a, o = 0, s = 0, c = ``; r = n.exec(e);) s = r.index, s - i > t && (a = o > i ? o : s, c += `
971
+ ` + e.slice(i, a), i = a + 1), o = s;
972
+ return c += `
973
+ `, e.length - i > t && o > i ? c += e.slice(i, o) + `
974
+ ` + e.slice(o + 1) : c += e.slice(i), c.slice(1);
975
+ }
976
+ function Dn(e) {
977
+ for (var t = ``, n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++) n = J(e, i), r = U[n], !r && q(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || ln(n);
978
+ return t;
979
+ }
980
+ function On(e, t, n) {
981
+ var r = ``, i = e.tag, a, o, s;
982
+ for (a = 0, o = n.length; a < o; a += 1) s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (Q(e, t, s, !1, !1) || s === void 0 && Q(e, t, null, !1, !1)) && (r !== `` && (r += `,` + (e.condenseFlow ? `` : ` `)), r += e.dump);
983
+ e.tag = i, e.dump = `[` + r + `]`;
984
+ }
985
+ function kn(e, t, n, r) {
986
+ var i = ``, a = e.tag, o, s, c;
987
+ for (o = 0, s = n.length; o < s; o += 1) c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (Q(e, t + 1, c, !0, !0, !1, !0) || c === void 0 && Q(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== ``) && (i += G(e, t)), e.dump && B === e.dump.charCodeAt(0) ? i += `-` : i += `- `, i += e.dump);
988
+ e.tag = a, e.dump = i || `[]`;
989
+ }
990
+ function An(e, t, n) {
991
+ var r = ``, i = e.tag, a = Object.keys(n), o, s, c, l, u;
992
+ for (o = 0, s = a.length; o < s; o += 1) u = ``, r !== `` && (u += `, `), e.condenseFlow && (u += `"`), c = a[o], l = n[c], e.replacer && (l = e.replacer.call(n, c, l)), Q(e, t, c, !1, !1) && (e.dump.length > 1024 && (u += `? `), u += e.dump + (e.condenseFlow ? `"` : ``) + `:` + (e.condenseFlow ? `` : ` `), Q(e, t, l, !1, !1) && (u += e.dump, r += u));
993
+ e.tag = i, e.dump = `{` + r + `}`;
994
+ }
995
+ function jn(e, t, n, r) {
996
+ var i = ``, a = e.tag, o = Object.keys(n), s, c, u, d, f, p;
997
+ if (e.sortKeys === !0) o.sort();
998
+ else if (typeof e.sortKeys == `function`) o.sort(e.sortKeys);
999
+ else if (e.sortKeys) throw new l(`sortKeys must be a boolean or a function`);
1000
+ for (s = 0, c = o.length; s < c; s += 1) p = ``, (!r || i !== ``) && (p += G(e, t)), u = o[s], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), Q(e, t + 1, u, !0, !0, !0) && (f = e.tag !== null && e.tag !== `?` || e.dump && e.dump.length > 1024, f && (e.dump && B === e.dump.charCodeAt(0) ? p += `?` : p += `? `), p += e.dump, f && (p += G(e, t)), Q(e, t + 1, d, !0, f) && (e.dump && B === e.dump.charCodeAt(0) ? p += `:` : p += `: `, p += e.dump, i += p));
1001
+ e.tag = a, e.dump = i || `{}`;
1002
+ }
1003
+ function Mn(e, t, n) {
1004
+ var r, i = n ? e.explicitTypes : e.implicitTypes, a, o, s, c;
1005
+ for (a = 0, o = i.length; a < o; a += 1) if (s = i[a], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof t == `object` && t instanceof s.instanceOf) && (!s.predicate || s.predicate(t))) {
1006
+ if (n ? s.multi && s.representName ? e.tag = s.representName(t) : e.tag = s.tag : e.tag = `?`, s.represent) {
1007
+ if (c = e.styleMap[s.tag] || s.defaultStyle, It.call(s.represent) === `[object Function]`) r = s.represent(t, c);
1008
+ else if (Lt.call(s.represent, c)) r = s.represent[c](t, c);
1009
+ else throw new l(`!<` + s.tag + `> tag resolver accepts not "` + c + `" style`);
1010
+ e.dump = r;
1011
1011
  }
1012
1012
  return !0;
1013
1013
  }
1014
1014
  return !1;
1015
1015
  }
1016
- function Q(e$1, t$1, n$1, r$1, i$1, a$1, o$1) {
1017
- e$1.tag = null, e$1.dump = n$1, Mn(e$1, n$1, !1) || Mn(e$1, n$1, !0);
1018
- var s$1 = It.call(e$1.dump), c$1 = r$1, u$1;
1019
- r$1 &&= e$1.flowLevel < 0 || e$1.flowLevel > t$1;
1020
- var d$1 = s$1 === `[object Object]` || s$1 === `[object Array]`, f$1, p$1;
1021
- if (d$1 && (f$1 = e$1.duplicates.indexOf(n$1), p$1 = f$1 !== -1), (e$1.tag !== null && e$1.tag !== `?` || p$1 || e$1.indent !== 2 && t$1 > 0) && (i$1 = !1), p$1 && e$1.usedDuplicates[f$1]) e$1.dump = `*ref_` + f$1;
1016
+ function Q(e, t, n, r, i, a, o) {
1017
+ e.tag = null, e.dump = n, Mn(e, n, !1) || Mn(e, n, !0);
1018
+ var s = It.call(e.dump), c = r, u;
1019
+ r &&= e.flowLevel < 0 || e.flowLevel > t;
1020
+ var d = s === `[object Object]` || s === `[object Array]`, f, p;
1021
+ if (d && (f = e.duplicates.indexOf(n), p = f !== -1), (e.tag !== null && e.tag !== `?` || p || e.indent !== 2 && t > 0) && (i = !1), p && e.usedDuplicates[f]) e.dump = `*ref_` + f;
1022
1022
  else {
1023
- if (d$1 && p$1 && !e$1.usedDuplicates[f$1] && (e$1.usedDuplicates[f$1] = !0), s$1 === `[object Object]`) r$1 && Object.keys(e$1.dump).length !== 0 ? (jn(e$1, t$1, e$1.dump, i$1), p$1 && (e$1.dump = `&ref_` + f$1 + e$1.dump)) : (An(e$1, t$1, e$1.dump), p$1 && (e$1.dump = `&ref_` + f$1 + ` ` + e$1.dump));
1024
- else if (s$1 === `[object Array]`) r$1 && e$1.dump.length !== 0 ? (e$1.noArrayIndent && !o$1 && t$1 > 0 ? kn(e$1, t$1 - 1, e$1.dump, i$1) : kn(e$1, t$1, e$1.dump, i$1), p$1 && (e$1.dump = `&ref_` + f$1 + e$1.dump)) : (On(e$1, t$1, e$1.dump), p$1 && (e$1.dump = `&ref_` + f$1 + ` ` + e$1.dump));
1025
- else if (s$1 === `[object String]`) e$1.tag !== `?` && Cn(e$1, e$1.dump, t$1, a$1, c$1);
1026
- else if (s$1 === `[object Undefined]`) return !1;
1023
+ if (d && p && !e.usedDuplicates[f] && (e.usedDuplicates[f] = !0), s === `[object Object]`) r && Object.keys(e.dump).length !== 0 ? (jn(e, t, e.dump, i), p && (e.dump = `&ref_` + f + e.dump)) : (An(e, t, e.dump), p && (e.dump = `&ref_` + f + ` ` + e.dump));
1024
+ else if (s === `[object Array]`) r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? kn(e, t - 1, e.dump, i) : kn(e, t, e.dump, i), p && (e.dump = `&ref_` + f + e.dump)) : (On(e, t, e.dump), p && (e.dump = `&ref_` + f + ` ` + e.dump));
1025
+ else if (s === `[object String]`) e.tag !== `?` && Cn(e, e.dump, t, a, c);
1026
+ else if (s === `[object Undefined]`) return !1;
1027
1027
  else {
1028
- if (e$1.skipInvalid) return !1;
1029
- throw new l(`unacceptable kind of an object to dump ` + s$1);
1028
+ if (e.skipInvalid) return !1;
1029
+ throw new l(`unacceptable kind of an object to dump ` + s);
1030
1030
  }
1031
- e$1.tag !== null && e$1.tag !== `?` && (u$1 = encodeURI(e$1.tag[0] === `!` ? e$1.tag.slice(1) : e$1.tag).replace(/!/g, `%21`), u$1 = e$1.tag[0] === `!` ? `!` + u$1 : u$1.slice(0, 18) === `tag:yaml.org,2002:` ? `!!` + u$1.slice(18) : `!<` + u$1 + `>`, e$1.dump = u$1 + ` ` + e$1.dump);
1031
+ e.tag !== null && e.tag !== `?` && (u = encodeURI(e.tag[0] === `!` ? e.tag.slice(1) : e.tag).replace(/!/g, `%21`), u = e.tag[0] === `!` ? `!` + u : u.slice(0, 18) === `tag:yaml.org,2002:` ? `!!` + u.slice(18) : `!<` + u + `>`, e.dump = u + ` ` + e.dump);
1032
1032
  }
1033
1033
  return !0;
1034
1034
  }
1035
- function Nn(e$1, t$1) {
1036
- var n$1 = [], r$1 = [], i$1, a$1;
1037
- for ($(e$1, n$1, r$1), i$1 = 0, a$1 = r$1.length; i$1 < a$1; i$1 += 1) t$1.duplicates.push(n$1[r$1[i$1]]);
1038
- t$1.usedDuplicates = Array(a$1);
1039
- }
1040
- function $(e$1, t$1, n$1) {
1041
- var r$1, i$1, a$1;
1042
- if (typeof e$1 == `object` && e$1) if (i$1 = t$1.indexOf(e$1), i$1 !== -1) n$1.indexOf(i$1) === -1 && n$1.push(i$1);
1043
- else if (t$1.push(e$1), Array.isArray(e$1)) for (i$1 = 0, a$1 = e$1.length; i$1 < a$1; i$1 += 1) $(e$1[i$1], t$1, n$1);
1044
- else for (r$1 = Object.keys(e$1), i$1 = 0, a$1 = r$1.length; i$1 < a$1; i$1 += 1) $(e$1[r$1[i$1]], t$1, n$1);
1045
- }
1046
- function Pn(e$1, t$1) {
1047
- t$1 ||= {};
1048
- var n$1 = new dn(t$1);
1049
- n$1.noRefs || Nn(e$1, n$1);
1050
- var r$1 = e$1;
1051
- return n$1.replacer && (r$1 = n$1.replacer.call({ "": r$1 }, ``, r$1)), Q(n$1, 0, r$1, !0, !0) ? n$1.dump + `
1035
+ function Nn(e, t) {
1036
+ var n = [], r = [], i, a;
1037
+ for ($(e, n, r), i = 0, a = r.length; i < a; i += 1) t.duplicates.push(n[r[i]]);
1038
+ t.usedDuplicates = Array(a);
1039
+ }
1040
+ function $(e, t, n) {
1041
+ var r, i, a;
1042
+ if (typeof e == `object` && e) if (i = t.indexOf(e), i !== -1) n.indexOf(i) === -1 && n.push(i);
1043
+ else if (t.push(e), Array.isArray(e)) for (i = 0, a = e.length; i < a; i += 1) $(e[i], t, n);
1044
+ else for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1) $(e[r[i]], t, n);
1045
+ }
1046
+ function Pn(e, t) {
1047
+ t ||= {};
1048
+ var n = new dn(t);
1049
+ n.noRefs || Nn(e, n);
1050
+ var r = e;
1051
+ return n.replacer && (r = n.replacer.call({ "": r }, ``, r)), Q(n, 0, r, !0, !0) ? n.dump + `
1052
1052
  ` : ``;
1053
1053
  }
1054
1054
  var Fn = { dump: Pn }, In = Ft.load;