@bleedingdev/modern-js-utils 3.2.0-ultramodern.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +26 -0
  3. package/dist/cjs/cli/alias.js +82 -0
  4. package/dist/cjs/cli/applyOptionsChain.js +50 -0
  5. package/dist/cjs/cli/commands.js +69 -0
  6. package/dist/cjs/cli/common.js +59 -0
  7. package/dist/cjs/cli/config.js +39 -0
  8. package/dist/cjs/cli/constants.js +136 -0
  9. package/dist/cjs/cli/ensure.js +56 -0
  10. package/dist/cjs/cli/fs.js +46 -0
  11. package/dist/cjs/cli/get/config.js +48 -0
  12. package/dist/cjs/cli/get/data.js +106 -0
  13. package/dist/cjs/cli/get/index.js +112 -0
  14. package/dist/cjs/cli/index.js +212 -0
  15. package/dist/cjs/cli/is/config.js +86 -0
  16. package/dist/cjs/cli/is/env.js +52 -0
  17. package/dist/cjs/cli/is/index.js +79 -0
  18. package/dist/cjs/cli/is/project.js +147 -0
  19. package/dist/cjs/cli/is/type.js +84 -0
  20. package/dist/cjs/cli/logger.js +39 -0
  21. package/dist/cjs/cli/modulePath.js +87 -0
  22. package/dist/cjs/cli/monorepo.js +110 -0
  23. package/dist/cjs/cli/package.js +97 -0
  24. package/dist/cjs/cli/path.js +111 -0
  25. package/dist/cjs/cli/port.js +79 -0
  26. package/dist/cjs/cli/prettyInstructions.js +117 -0
  27. package/dist/cjs/cli/require.js +127 -0
  28. package/dist/cjs/cli/route.js +76 -0
  29. package/dist/cjs/cli/runtimeExports.js +86 -0
  30. package/dist/cjs/cli/tsconfig.js +51 -0
  31. package/dist/cjs/cli/version.js +67 -0
  32. package/dist/cjs/cli/watch.js +87 -0
  33. package/dist/cjs/compiled.js +209 -0
  34. package/dist/cjs/import.js +56 -0
  35. package/dist/cjs/index.js +72 -0
  36. package/dist/cjs/universal/constants.js +84 -0
  37. package/dist/cjs/universal/index.js +36 -0
  38. package/dist/cjs/universal/path.js +36 -0
  39. package/dist/cjs/universal/pluginDagSort.js +75 -0
  40. package/dist/compiled/address/index.js +171 -0
  41. package/dist/compiled/address/lib/address.d.ts +28 -0
  42. package/dist/compiled/address/package.json +1 -0
  43. package/dist/compiled/browserslist/index.d.ts +178 -0
  44. package/dist/compiled/browserslist/index.js +1329 -0
  45. package/dist/compiled/browserslist/license +20 -0
  46. package/dist/compiled/browserslist/package.json +1 -0
  47. package/dist/compiled/chalk/index.d.ts +415 -0
  48. package/dist/compiled/chalk/index.js +2368 -0
  49. package/dist/compiled/chalk/license +9 -0
  50. package/dist/compiled/chalk/package.json +1 -0
  51. package/dist/compiled/chokidar/anymatch/index.d.ts +19 -0
  52. package/dist/compiled/chokidar/fsevents.node +0 -0
  53. package/dist/compiled/chokidar/index.js +4162 -0
  54. package/dist/compiled/chokidar/index.js.LICENSE.txt +41 -0
  55. package/dist/compiled/chokidar/license +21 -0
  56. package/dist/compiled/chokidar/package.json +1 -0
  57. package/dist/compiled/chokidar/types/index.d.ts +188 -0
  58. package/dist/compiled/commander/index.js +1540 -0
  59. package/dist/compiled/commander/index.mjs +2 -0
  60. package/dist/compiled/commander/license +22 -0
  61. package/dist/compiled/commander/package.json +1 -0
  62. package/dist/compiled/commander/typings/index.d.ts +890 -0
  63. package/dist/compiled/debug/index.d.ts +54 -0
  64. package/dist/compiled/debug/index.js +621 -0
  65. package/dist/compiled/debug/license +20 -0
  66. package/dist/compiled/debug/ms/index.d.ts +25 -0
  67. package/dist/compiled/debug/package.json +1 -0
  68. package/dist/compiled/dotenv/index.js +101 -0
  69. package/dist/compiled/dotenv/license +23 -0
  70. package/dist/compiled/dotenv/package.json +1 -0
  71. package/dist/compiled/dotenv/types/index.d.ts +59 -0
  72. package/dist/compiled/dotenv-expand/index.d.ts +15 -0
  73. package/dist/compiled/dotenv-expand/index.js +54 -0
  74. package/dist/compiled/dotenv-expand/license +24 -0
  75. package/dist/compiled/dotenv-expand/package.json +1 -0
  76. package/dist/compiled/execa/index.d.ts +564 -0
  77. package/dist/compiled/execa/index.js +1738 -0
  78. package/dist/compiled/execa/license +9 -0
  79. package/dist/compiled/execa/package.json +1 -0
  80. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  81. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +12 -0
  82. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  83. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  84. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  85. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  86. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +12 -0
  87. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  88. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +16 -0
  89. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  90. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +14 -0
  91. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  92. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  93. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  94. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +30 -0
  95. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  96. package/dist/compiled/fast-glob/index.js +4665 -0
  97. package/dist/compiled/fast-glob/index.js.LICENSE.txt +38 -0
  98. package/dist/compiled/fast-glob/license +21 -0
  99. package/dist/compiled/fast-glob/out/index.d.ts +27 -0
  100. package/dist/compiled/fast-glob/out/managers/tasks.d.ts +22 -0
  101. package/dist/compiled/fast-glob/out/settings.d.ts +164 -0
  102. package/dist/compiled/fast-glob/out/types/index.d.ts +31 -0
  103. package/dist/compiled/fast-glob/package.json +1 -0
  104. package/dist/compiled/filesize/filesize.d.ts +131 -0
  105. package/dist/compiled/filesize/index.js +198 -0
  106. package/dist/compiled/filesize/index.js.LICENSE.txt +7 -0
  107. package/dist/compiled/filesize/license +28 -0
  108. package/dist/compiled/filesize/package.json +1 -0
  109. package/dist/compiled/fs-extra/index.d.ts +563 -0
  110. package/dist/compiled/fs-extra/index.js +2222 -0
  111. package/dist/compiled/fs-extra/license +15 -0
  112. package/dist/compiled/fs-extra/package.json +1 -0
  113. package/dist/compiled/glob/index.d.ts +91 -0
  114. package/dist/compiled/glob/index.js +2011 -0
  115. package/dist/compiled/glob/license +21 -0
  116. package/dist/compiled/glob/minimatch/index.d.ts +204 -0
  117. package/dist/compiled/glob/package.json +1 -0
  118. package/dist/compiled/globby/index.d.ts +186 -0
  119. package/dist/compiled/globby/index.js +690 -0
  120. package/dist/compiled/globby/license +9 -0
  121. package/dist/compiled/globby/package.json +1 -0
  122. package/dist/compiled/gzip-size/index.d.ts +96 -0
  123. package/dist/compiled/gzip-size/index.js +157 -0
  124. package/dist/compiled/gzip-size/license +9 -0
  125. package/dist/compiled/gzip-size/package.json +1 -0
  126. package/dist/compiled/import-lazy/index.d.ts +26 -0
  127. package/dist/compiled/import-lazy/index.js +45 -0
  128. package/dist/compiled/import-lazy/license +9 -0
  129. package/dist/compiled/import-lazy/package.json +1 -0
  130. package/dist/compiled/inquirer/index.d.ts +997 -0
  131. package/dist/compiled/inquirer/index.js +20167 -0
  132. package/dist/compiled/inquirer/index.js.LICENSE.txt +7 -0
  133. package/dist/compiled/inquirer/lib/objects/choice.d.ts +65 -0
  134. package/dist/compiled/inquirer/lib/objects/choices.d.ts +206 -0
  135. package/dist/compiled/inquirer/lib/objects/separator.d.ts +37 -0
  136. package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +37 -0
  137. package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +65 -0
  138. package/dist/compiled/inquirer/lib/ui/prompt.d.ts +104 -0
  139. package/dist/compiled/inquirer/license +22 -0
  140. package/dist/compiled/inquirer/package.json +1 -0
  141. package/dist/compiled/inquirer/through/index.d.ts +25 -0
  142. package/dist/compiled/js-yaml/index.d.ts +154 -0
  143. package/dist/compiled/js-yaml/index.js +2191 -0
  144. package/dist/compiled/js-yaml/index.mjs +2167 -0
  145. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -0
  146. package/dist/compiled/js-yaml/license +21 -0
  147. package/dist/compiled/js-yaml/package.json +1 -0
  148. package/dist/compiled/json5/index.js +983 -0
  149. package/dist/compiled/json5/lib/index.d.ts +4 -0
  150. package/dist/compiled/json5/lib/parse.d.ts +15 -0
  151. package/dist/compiled/json5/lib/stringify.d.ts +89 -0
  152. package/dist/compiled/json5/package.json +1 -0
  153. package/dist/compiled/lodash/common/array.d.ts +2126 -0
  154. package/dist/compiled/lodash/common/collection.d.ts +1930 -0
  155. package/dist/compiled/lodash/common/common.d.ts +280 -0
  156. package/dist/compiled/lodash/common/date.d.ts +23 -0
  157. package/dist/compiled/lodash/common/function.d.ts +1446 -0
  158. package/dist/compiled/lodash/common/lang.d.ts +1693 -0
  159. package/dist/compiled/lodash/common/math.d.ts +405 -0
  160. package/dist/compiled/lodash/common/number.d.ts +131 -0
  161. package/dist/compiled/lodash/common/object.d.ts +2519 -0
  162. package/dist/compiled/lodash/common/seq.d.ts +210 -0
  163. package/dist/compiled/lodash/common/string.d.ts +788 -0
  164. package/dist/compiled/lodash/common/util.d.ts +1220 -0
  165. package/dist/compiled/lodash/index.d.ts +46 -0
  166. package/dist/compiled/lodash/index.js +1 -0
  167. package/dist/compiled/lodash/index.mjs +1 -0
  168. package/dist/compiled/lodash/license +47 -0
  169. package/dist/compiled/lodash/package.json +1 -0
  170. package/dist/compiled/mime-types/index.d.ts +14 -0
  171. package/dist/compiled/mime-types/index.js +116 -0
  172. package/dist/compiled/mime-types/index.js.LICENSE.txt +13 -0
  173. package/dist/compiled/mime-types/license +23 -0
  174. package/dist/compiled/mime-types/package.json +1 -0
  175. package/dist/compiled/minimist/index.d.ts +95 -0
  176. package/dist/compiled/minimist/index.js +202 -0
  177. package/dist/compiled/minimist/license +18 -0
  178. package/dist/compiled/minimist/package.json +1 -0
  179. package/dist/compiled/nanoid/index.d.ts +91 -0
  180. package/dist/compiled/nanoid/index.js +83 -0
  181. package/dist/compiled/nanoid/index.mjs +69 -0
  182. package/dist/compiled/nanoid/license +20 -0
  183. package/dist/compiled/nanoid/package.json +1 -0
  184. package/dist/compiled/ora/cli-spinners/index.d.ts +125 -0
  185. package/dist/compiled/ora/index.d.ts +277 -0
  186. package/dist/compiled/ora/index.js +3936 -0
  187. package/dist/compiled/ora/index.js.LICENSE.txt +1 -0
  188. package/dist/compiled/ora/license +9 -0
  189. package/dist/compiled/ora/package.json +1 -0
  190. package/dist/compiled/pkg-up/index.d.ts +48 -0
  191. package/dist/compiled/pkg-up/index.js +15 -0
  192. package/dist/compiled/pkg-up/license +9 -0
  193. package/dist/compiled/pkg-up/package.json +1 -0
  194. package/dist/compiled/semver/classes/comparator.d.ts +17 -0
  195. package/dist/compiled/semver/classes/range.d.ts +21 -0
  196. package/dist/compiled/semver/classes/semver.d.ts +62 -0
  197. package/dist/compiled/semver/functions/clean.d.ts +8 -0
  198. package/dist/compiled/semver/functions/cmp.d.ts +16 -0
  199. package/dist/compiled/semver/functions/coerce.d.ts +12 -0
  200. package/dist/compiled/semver/functions/compare-build.d.ts +16 -0
  201. package/dist/compiled/semver/functions/compare-loose.d.ts +5 -0
  202. package/dist/compiled/semver/functions/compare.d.ts +20 -0
  203. package/dist/compiled/semver/functions/diff.d.ts +13 -0
  204. package/dist/compiled/semver/functions/eq.d.ts +9 -0
  205. package/dist/compiled/semver/functions/gt.d.ts +9 -0
  206. package/dist/compiled/semver/functions/gte.d.ts +9 -0
  207. package/dist/compiled/semver/functions/inc.d.ts +15 -0
  208. package/dist/compiled/semver/functions/lt.d.ts +9 -0
  209. package/dist/compiled/semver/functions/lte.d.ts +8 -0
  210. package/dist/compiled/semver/functions/major.d.ts +9 -0
  211. package/dist/compiled/semver/functions/minor.d.ts +9 -0
  212. package/dist/compiled/semver/functions/neq.d.ts +9 -0
  213. package/dist/compiled/semver/functions/parse.d.ts +12 -0
  214. package/dist/compiled/semver/functions/patch.d.ts +9 -0
  215. package/dist/compiled/semver/functions/prerelease.d.ts +12 -0
  216. package/dist/compiled/semver/functions/rcompare.d.ts +15 -0
  217. package/dist/compiled/semver/functions/rsort.d.ts +9 -0
  218. package/dist/compiled/semver/functions/satisfies.d.ts +14 -0
  219. package/dist/compiled/semver/functions/sort.d.ts +9 -0
  220. package/dist/compiled/semver/functions/valid.d.ts +11 -0
  221. package/dist/compiled/semver/index.d.ts +133 -0
  222. package/dist/compiled/semver/index.js +1779 -0
  223. package/dist/compiled/semver/internals/identifiers.d.ts +13 -0
  224. package/dist/compiled/semver/license +15 -0
  225. package/dist/compiled/semver/package.json +1 -0
  226. package/dist/compiled/semver/ranges/gtr.d.ts +14 -0
  227. package/dist/compiled/semver/ranges/intersects.d.ts +13 -0
  228. package/dist/compiled/semver/ranges/ltr.d.ts +14 -0
  229. package/dist/compiled/semver/ranges/max-satisfying.d.ts +14 -0
  230. package/dist/compiled/semver/ranges/min-satisfying.d.ts +14 -0
  231. package/dist/compiled/semver/ranges/min-version.d.ts +10 -0
  232. package/dist/compiled/semver/ranges/outside.d.ts +15 -0
  233. package/dist/compiled/semver/ranges/simplify.d.ts +14 -0
  234. package/dist/compiled/semver/ranges/subset.d.ts +13 -0
  235. package/dist/compiled/semver/ranges/to-comparators.d.ts +9 -0
  236. package/dist/compiled/semver/ranges/valid.d.ts +12 -0
  237. package/dist/compiled/signale/index.d.ts +162 -0
  238. package/dist/compiled/signale/index.js +1704 -0
  239. package/dist/compiled/signale/package.json +1 -0
  240. package/dist/compiled/slash/index.d.ts +25 -0
  241. package/dist/compiled/slash/index.js +32 -0
  242. package/dist/compiled/slash/license +9 -0
  243. package/dist/compiled/slash/package.json +1 -0
  244. package/dist/compiled/strip-ansi/index.d.ts +17 -0
  245. package/dist/compiled/strip-ansi/index.js +34 -0
  246. package/dist/compiled/strip-ansi/license +9 -0
  247. package/dist/compiled/strip-ansi/package.json +1 -0
  248. package/dist/compiled/tsconfig-paths/index.js +629 -0
  249. package/dist/compiled/tsconfig-paths/index.mjs +2 -0
  250. package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +33 -0
  251. package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +34 -0
  252. package/dist/compiled/tsconfig-paths/lib/index.d.ts +5 -0
  253. package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +18 -0
  254. package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +21 -0
  255. package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +32 -0
  256. package/dist/compiled/tsconfig-paths/lib/register.d.ts +12 -0
  257. package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +15 -0
  258. package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
  259. package/dist/compiled/tsconfig-paths/license +21 -0
  260. package/dist/compiled/tsconfig-paths/package.json +1 -0
  261. package/dist/compiled/upath/index.js +135 -0
  262. package/dist/compiled/upath/license +22 -0
  263. package/dist/compiled/upath/package.json +1 -0
  264. package/dist/compiled/upath/upath.d.ts +241 -0
  265. package/dist/compiled/url-join/index.d.ts +17 -0
  266. package/dist/compiled/url-join/index.js +61 -0
  267. package/dist/compiled/url-join/license +21 -0
  268. package/dist/compiled/url-join/package.json +1 -0
  269. package/dist/compiled/webpack-chain/index.js +1475 -0
  270. package/dist/compiled/webpack-chain/license +373 -0
  271. package/dist/compiled/webpack-chain/package.json +1 -0
  272. package/dist/compiled/webpack-chain/types/index.d.ts +599 -0
  273. package/dist/esm/cli/alias.mjs +31 -0
  274. package/dist/esm/cli/applyOptionsChain.mjs +16 -0
  275. package/dist/esm/cli/commands.mjs +23 -0
  276. package/dist/esm/cli/common.mjs +9 -0
  277. package/dist/esm/cli/config.mjs +5 -0
  278. package/dist/esm/cli/constants.mjs +30 -0
  279. package/dist/esm/cli/ensure.mjs +9 -0
  280. package/dist/esm/cli/fs.mjs +9 -0
  281. package/dist/esm/cli/get/config.mjs +14 -0
  282. package/dist/esm/cli/get/data.mjs +49 -0
  283. package/dist/esm/cli/get/index.mjs +18 -0
  284. package/dist/esm/cli/index.mjs +23 -0
  285. package/dist/esm/cli/is/config.mjs +37 -0
  286. package/dist/esm/cli/is/env.mjs +6 -0
  287. package/dist/esm/cli/is/index.mjs +4 -0
  288. package/dist/esm/cli/is/project.mjs +75 -0
  289. package/dist/esm/cli/is/type.mjs +26 -0
  290. package/dist/esm/cli/logger.mjs +1 -0
  291. package/dist/esm/cli/modulePath.mjs +33 -0
  292. package/dist/esm/cli/monorepo.mjs +50 -0
  293. package/dist/esm/cli/package.mjs +51 -0
  294. package/dist/esm/cli/path.mjs +35 -0
  295. package/dist/esm/cli/port.mjs +35 -0
  296. package/dist/esm/cli/prettyInstructions.mjs +70 -0
  297. package/dist/esm/cli/require.mjs +79 -0
  298. package/dist/esm/cli/route.mjs +36 -0
  299. package/dist/esm/cli/runtimeExports.mjs +42 -0
  300. package/dist/esm/cli/tsconfig.mjs +7 -0
  301. package/dist/esm/cli/version.mjs +24 -0
  302. package/dist/esm/cli/watch.mjs +40 -0
  303. package/dist/esm/compiled.mjs +45 -0
  304. package/dist/esm/import.mjs +9 -0
  305. package/dist/esm/index.mjs +3 -0
  306. package/dist/esm/rslib-runtime.mjs +12 -0
  307. package/dist/esm/universal/constants.mjs +14 -0
  308. package/dist/esm/universal/index.mjs +1 -0
  309. package/dist/esm/universal/path.mjs +2 -0
  310. package/dist/esm/universal/pluginDagSort.mjs +41 -0
  311. package/dist/esm-node/cli/alias.mjs +32 -0
  312. package/dist/esm-node/cli/applyOptionsChain.mjs +17 -0
  313. package/dist/esm-node/cli/commands.mjs +24 -0
  314. package/dist/esm-node/cli/common.mjs +10 -0
  315. package/dist/esm-node/cli/config.mjs +6 -0
  316. package/dist/esm-node/cli/constants.mjs +31 -0
  317. package/dist/esm-node/cli/ensure.mjs +10 -0
  318. package/dist/esm-node/cli/fs.mjs +10 -0
  319. package/dist/esm-node/cli/get/config.mjs +15 -0
  320. package/dist/esm-node/cli/get/data.mjs +50 -0
  321. package/dist/esm-node/cli/get/index.mjs +19 -0
  322. package/dist/esm-node/cli/index.mjs +24 -0
  323. package/dist/esm-node/cli/is/config.mjs +38 -0
  324. package/dist/esm-node/cli/is/env.mjs +7 -0
  325. package/dist/esm-node/cli/is/index.mjs +5 -0
  326. package/dist/esm-node/cli/is/project.mjs +76 -0
  327. package/dist/esm-node/cli/is/type.mjs +27 -0
  328. package/dist/esm-node/cli/logger.mjs +2 -0
  329. package/dist/esm-node/cli/modulePath.mjs +34 -0
  330. package/dist/esm-node/cli/monorepo.mjs +51 -0
  331. package/dist/esm-node/cli/package.mjs +52 -0
  332. package/dist/esm-node/cli/path.mjs +36 -0
  333. package/dist/esm-node/cli/port.mjs +36 -0
  334. package/dist/esm-node/cli/prettyInstructions.mjs +71 -0
  335. package/dist/esm-node/cli/require.mjs +80 -0
  336. package/dist/esm-node/cli/route.mjs +37 -0
  337. package/dist/esm-node/cli/runtimeExports.mjs +43 -0
  338. package/dist/esm-node/cli/tsconfig.mjs +8 -0
  339. package/dist/esm-node/cli/version.mjs +25 -0
  340. package/dist/esm-node/cli/watch.mjs +41 -0
  341. package/dist/esm-node/compiled.mjs +45 -0
  342. package/dist/esm-node/import.mjs +10 -0
  343. package/dist/esm-node/index.mjs +4 -0
  344. package/dist/esm-node/universal/constants.mjs +15 -0
  345. package/dist/esm-node/universal/index.mjs +2 -0
  346. package/dist/esm-node/universal/path.mjs +3 -0
  347. package/dist/esm-node/universal/pluginDagSort.mjs +42 -0
  348. package/dist/types/cli/alias.d.ts +20 -0
  349. package/dist/types/cli/applyOptionsChain.d.ts +3 -0
  350. package/dist/types/cli/commands.d.ts +8 -0
  351. package/dist/types/cli/common.d.ts +9 -0
  352. package/dist/types/cli/config.d.ts +4 -0
  353. package/dist/types/cli/constants.d.ts +55 -0
  354. package/dist/types/cli/ensure.d.ts +8 -0
  355. package/dist/types/cli/fs.d.ts +7 -0
  356. package/dist/types/cli/get/config.d.ts +1 -0
  357. package/dist/types/cli/get/data.d.ts +6 -0
  358. package/dist/types/cli/get/index.d.ts +11 -0
  359. package/dist/types/cli/index.d.ts +23 -0
  360. package/dist/types/cli/is/config.d.ts +22 -0
  361. package/dist/types/cli/is/env.d.ts +8 -0
  362. package/dist/types/cli/is/index.d.ts +4 -0
  363. package/dist/types/cli/is/project.d.ts +39 -0
  364. package/dist/types/cli/is/type.d.ts +15 -0
  365. package/dist/types/cli/logger.d.ts +1 -0
  366. package/dist/types/cli/modulePath.d.ts +5 -0
  367. package/dist/types/cli/monorepo.d.ts +9 -0
  368. package/dist/types/cli/package.d.ts +5 -0
  369. package/dist/types/cli/path.d.ts +11 -0
  370. package/dist/types/cli/port.d.ts +12 -0
  371. package/dist/types/cli/prettyInstructions.d.ts +9 -0
  372. package/dist/types/cli/require.d.ts +9 -0
  373. package/dist/types/cli/route.d.ts +4 -0
  374. package/dist/types/cli/runtimeExports.d.ts +5 -0
  375. package/dist/types/cli/tsconfig.d.ts +1 -0
  376. package/dist/types/cli/version.d.ts +4 -0
  377. package/dist/types/cli/watch.d.ts +8 -0
  378. package/dist/types/compiled.d.ts +37 -0
  379. package/dist/types/import.d.ts +5 -0
  380. package/dist/types/index.d.ts +3 -0
  381. package/dist/types/universal/constants.d.ts +47 -0
  382. package/dist/types/universal/index.d.ts +1 -0
  383. package/dist/types/universal/path.d.ts +1 -0
  384. package/dist/types/universal/pluginDagSort.d.ts +1 -0
  385. package/package.json +174 -0
  386. package/rslib.config.mts +162 -0
  387. package/rstest.config.mts +8 -0
@@ -0,0 +1,2191 @@
1
+ (()=>{
2
+ "use strict";
3
+ var e = {
4
+ 309: (e, t, r)=>{
5
+ var i = r(802);
6
+ var n = r(208);
7
+ function renamed(e, t) {
8
+ return function() {
9
+ throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
10
+ };
11
+ }
12
+ e.exports.Type = r(313);
13
+ e.exports.Schema = r(706);
14
+ e.exports.FAILSAFE_SCHEMA = r(68);
15
+ e.exports.JSON_SCHEMA = r(875);
16
+ e.exports.CORE_SCHEMA = r(454);
17
+ e.exports.DEFAULT_SCHEMA = r(260);
18
+ e.exports.load = i.load;
19
+ e.exports.loadAll = i.loadAll;
20
+ e.exports.dump = n.dump;
21
+ e.exports.YAMLException = r(716);
22
+ e.exports.types = {
23
+ binary: r(497),
24
+ float: r(980),
25
+ map: r(952),
26
+ null: r(697),
27
+ pairs: r(399),
28
+ set: r(610),
29
+ timestamp: r(98),
30
+ bool: r(204),
31
+ int: r(707),
32
+ merge: r(546),
33
+ omap: r(5),
34
+ seq: r(941),
35
+ str: r(501)
36
+ };
37
+ e.exports.safeLoad = renamed("safeLoad", "load");
38
+ e.exports.safeLoadAll = renamed("safeLoadAll", "loadAll");
39
+ e.exports.safeDump = renamed("safeDump", "dump");
40
+ },
41
+ 20: (e)=>{
42
+ function isNothing(e) {
43
+ return null == e;
44
+ }
45
+ function isObject(e) {
46
+ return "object" == typeof e && null !== e;
47
+ }
48
+ function toArray(e) {
49
+ if (Array.isArray(e)) return e;
50
+ if (isNothing(e)) return [];
51
+ return [
52
+ e
53
+ ];
54
+ }
55
+ function extend(e, t) {
56
+ var r, i, n, a;
57
+ if (t) {
58
+ a = Object.keys(t);
59
+ for(r = 0, i = a.length; r < i; r += 1){
60
+ n = a[r];
61
+ e[n] = t[n];
62
+ }
63
+ }
64
+ return e;
65
+ }
66
+ function repeat(e, t) {
67
+ var r = "", i;
68
+ for(i = 0; i < t; i += 1)r += e;
69
+ return r;
70
+ }
71
+ function isNegativeZero(e) {
72
+ return 0 === e && -1 / 0 === 1 / e;
73
+ }
74
+ e.exports.isNothing = isNothing;
75
+ e.exports.isObject = isObject;
76
+ e.exports.toArray = toArray;
77
+ e.exports.repeat = repeat;
78
+ e.exports.isNegativeZero = isNegativeZero;
79
+ e.exports.extend = extend;
80
+ },
81
+ 208: (e, t, r)=>{
82
+ var i = r(20);
83
+ var n = r(716);
84
+ var a = r(260);
85
+ var o = Object.prototype.toString;
86
+ var l = Object.prototype.hasOwnProperty;
87
+ var s = 65279;
88
+ var c = 9;
89
+ var u = 10;
90
+ var p = 13;
91
+ var f = 32;
92
+ var d = 33;
93
+ var h = 34;
94
+ var m = 35;
95
+ var g = 37;
96
+ var v = 38;
97
+ var w = 39;
98
+ var y = 42;
99
+ var S = 44;
100
+ var A = 45;
101
+ var b = 58;
102
+ var x = 61;
103
+ var k = 62;
104
+ var E = 63;
105
+ var _ = 64;
106
+ var O = 91;
107
+ var C = 93;
108
+ var I = 96;
109
+ var L = 123;
110
+ var N = 124;
111
+ var T = 125;
112
+ var F = {};
113
+ F[0] = "\\0";
114
+ F[7] = "\\a";
115
+ F[8] = "\\b";
116
+ F[9] = "\\t";
117
+ F[10] = "\\n";
118
+ F[11] = "\\v";
119
+ F[12] = "\\f";
120
+ F[13] = "\\r";
121
+ F[27] = "\\e";
122
+ F[34] = '\\"';
123
+ F[92] = "\\\\";
124
+ F[133] = "\\N";
125
+ F[160] = "\\_";
126
+ F[8232] = "\\L";
127
+ F[8233] = "\\P";
128
+ var M = [
129
+ "y",
130
+ "Y",
131
+ "yes",
132
+ "Yes",
133
+ "YES",
134
+ "on",
135
+ "On",
136
+ "ON",
137
+ "n",
138
+ "N",
139
+ "no",
140
+ "No",
141
+ "NO",
142
+ "off",
143
+ "Off",
144
+ "OFF"
145
+ ];
146
+ var j = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
147
+ function compileStyleMap(e, t) {
148
+ var r, i, n, a, o, s, c;
149
+ if (null === t) return {};
150
+ r = {};
151
+ i = Object.keys(t);
152
+ for(n = 0, a = i.length; n < a; n += 1){
153
+ o = i[n];
154
+ s = String(t[o]);
155
+ if ("!!" === o.slice(0, 2)) o = "tag:yaml.org,2002:" + o.slice(2);
156
+ c = e.compiledTypeMap["fallback"][o];
157
+ if (c && l.call(c.styleAliases, s)) s = c.styleAliases[s];
158
+ r[o] = s;
159
+ }
160
+ return r;
161
+ }
162
+ function encodeHex(e) {
163
+ var t, r, a;
164
+ t = e.toString(16).toUpperCase();
165
+ if (e <= 255) {
166
+ r = "x";
167
+ a = 2;
168
+ } else if (e <= 65535) {
169
+ r = "u";
170
+ a = 4;
171
+ } else if (e <= 4294967295) {
172
+ r = "U";
173
+ a = 8;
174
+ } else throw new n("code point within a string may not be greater than 0xFFFFFFFF");
175
+ return "\\" + r + i.repeat("0", a - t.length) + t;
176
+ }
177
+ var Y = 1, P = 2;
178
+ function State(e) {
179
+ this.schema = e["schema"] || a;
180
+ this.indent = Math.max(1, e["indent"] || 2);
181
+ this.noArrayIndent = e["noArrayIndent"] || false;
182
+ this.skipInvalid = e["skipInvalid"] || false;
183
+ this.flowLevel = i.isNothing(e["flowLevel"]) ? -1 : e["flowLevel"];
184
+ this.styleMap = compileStyleMap(this.schema, e["styles"] || null);
185
+ this.sortKeys = e["sortKeys"] || false;
186
+ this.lineWidth = e["lineWidth"] || 80;
187
+ this.noRefs = e["noRefs"] || false;
188
+ this.noCompatMode = e["noCompatMode"] || false;
189
+ this.condenseFlow = e["condenseFlow"] || false;
190
+ this.quotingType = '"' === e["quotingType"] ? P : Y;
191
+ this.forceQuotes = e["forceQuotes"] || false;
192
+ this.replacer = "function" == typeof e["replacer"] ? e["replacer"] : null;
193
+ this.implicitTypes = this.schema.compiledImplicit;
194
+ this.explicitTypes = this.schema.compiledExplicit;
195
+ this.tag = null;
196
+ this.result = "";
197
+ this.duplicates = [];
198
+ this.usedDuplicates = null;
199
+ }
200
+ function indentString(e, t) {
201
+ var r = i.repeat(" ", t), n = 0, a = -1, o = "", l, s = e.length;
202
+ while(n < s){
203
+ a = e.indexOf("\n", n);
204
+ if (-1 === a) {
205
+ l = e.slice(n);
206
+ n = s;
207
+ } else {
208
+ l = e.slice(n, a + 1);
209
+ n = a + 1;
210
+ }
211
+ if (l.length && "\n" !== l) o += r;
212
+ o += l;
213
+ }
214
+ return o;
215
+ }
216
+ function generateNextLine(e, t) {
217
+ return "\n" + i.repeat(" ", e.indent * t);
218
+ }
219
+ function testImplicitResolving(e, t) {
220
+ var r, i, n;
221
+ for(r = 0, i = e.implicitTypes.length; r < i; r += 1){
222
+ n = e.implicitTypes[r];
223
+ if (n.resolve(t)) return true;
224
+ }
225
+ return false;
226
+ }
227
+ function isWhitespace(e) {
228
+ return e === f || e === c;
229
+ }
230
+ function isPrintable(e) {
231
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && 8232 !== e && 8233 !== e || 57344 <= e && e <= 65533 && e !== s || 65536 <= e && e <= 1114111;
232
+ }
233
+ function isNsCharOrWhitespace(e) {
234
+ return isPrintable(e) && e !== s && e !== p && e !== u;
235
+ }
236
+ function isPlainSafe(e, t, r) {
237
+ var i = isNsCharOrWhitespace(e);
238
+ var n = i && !isWhitespace(e);
239
+ return (r ? i : i && e !== S && e !== O && e !== C && e !== L && e !== T) && e !== m && !(t === b && !n) || isNsCharOrWhitespace(t) && !isWhitespace(t) && e === m || t === b && n;
240
+ }
241
+ function isPlainSafeFirst(e) {
242
+ return isPrintable(e) && e !== s && !isWhitespace(e) && e !== A && e !== E && e !== b && e !== S && e !== O && e !== C && e !== L && e !== T && e !== m && e !== v && e !== y && e !== d && e !== N && e !== x && e !== k && e !== w && e !== h && e !== g && e !== _ && e !== I;
243
+ }
244
+ function isPlainSafeLast(e) {
245
+ return !isWhitespace(e) && e !== b;
246
+ }
247
+ function codePointAt(e, t) {
248
+ var r = e.charCodeAt(t), i;
249
+ if (r >= 55296 && r <= 56319 && t + 1 < e.length) {
250
+ i = e.charCodeAt(t + 1);
251
+ if (i >= 56320 && i <= 57343) return (r - 55296) * 1024 + i - 56320 + 65536;
252
+ }
253
+ return r;
254
+ }
255
+ function needIndentIndicator(e) {
256
+ var t = /^\n* /;
257
+ return t.test(e);
258
+ }
259
+ var W = 1, D = 2, B = 3, R = 4, q = 5;
260
+ function chooseScalarStyle(e, t, r, i, n, a, o, l) {
261
+ var s;
262
+ var c = 0;
263
+ var p = null;
264
+ var f = false;
265
+ var d = false;
266
+ var h = -1 !== i;
267
+ var m = -1;
268
+ var g = isPlainSafeFirst(codePointAt(e, 0)) && isPlainSafeLast(codePointAt(e, e.length - 1));
269
+ if (t || o) for(s = 0; s < e.length; c >= 65536 ? s += 2 : s++){
270
+ c = codePointAt(e, s);
271
+ if (!isPrintable(c)) return q;
272
+ g = g && isPlainSafe(c, p, l);
273
+ p = c;
274
+ }
275
+ else {
276
+ for(s = 0; s < e.length; c >= 65536 ? s += 2 : s++){
277
+ c = codePointAt(e, s);
278
+ if (c === u) {
279
+ f = true;
280
+ if (h) {
281
+ d = d || s - m - 1 > i && " " !== e[m + 1];
282
+ m = s;
283
+ }
284
+ } else if (!isPrintable(c)) return q;
285
+ g = g && isPlainSafe(c, p, l);
286
+ p = c;
287
+ }
288
+ d = d || h && s - m - 1 > i && " " !== e[m + 1];
289
+ }
290
+ if (!f && !d) {
291
+ if (g && !o && !n(e)) return W;
292
+ return a === P ? q : D;
293
+ }
294
+ if (r > 9 && needIndentIndicator(e)) return q;
295
+ if (!o) return d ? R : B;
296
+ return a === P ? q : D;
297
+ }
298
+ function writeScalar(e, t, r, i, a) {
299
+ e.dump = function() {
300
+ if (0 === t.length) return e.quotingType === P ? '""' : "''";
301
+ if (!e.noCompatMode) {
302
+ if (-1 !== M.indexOf(t) || j.test(t)) return e.quotingType === P ? '"' + t + '"' : "'" + t + "'";
303
+ }
304
+ var o = e.indent * Math.max(1, r);
305
+ var l = -1 === e.lineWidth ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o);
306
+ var s = i || e.flowLevel > -1 && r >= e.flowLevel;
307
+ function testAmbiguity(t) {
308
+ return testImplicitResolving(e, t);
309
+ }
310
+ switch(chooseScalarStyle(t, s, e.indent, l, testAmbiguity, e.quotingType, e.forceQuotes && !i, a)){
311
+ case W:
312
+ return t;
313
+ case D:
314
+ return "'" + t.replace(/'/g, "''") + "'";
315
+ case B:
316
+ return "|" + blockHeader(t, e.indent) + dropEndingNewline(indentString(t, o));
317
+ case R:
318
+ return ">" + blockHeader(t, e.indent) + dropEndingNewline(indentString(foldString(t, l), o));
319
+ case q:
320
+ return '"' + escapeString(t) + '"';
321
+ default:
322
+ throw new n("impossible error: invalid scalar style");
323
+ }
324
+ }();
325
+ }
326
+ function blockHeader(e, t) {
327
+ var r = needIndentIndicator(e) ? String(t) : "";
328
+ var i = "\n" === e[e.length - 1];
329
+ var n = i && ("\n" === e[e.length - 2] || "\n" === e);
330
+ var a = n ? "+" : i ? "" : "-";
331
+ return r + a + "\n";
332
+ }
333
+ function dropEndingNewline(e) {
334
+ return "\n" === e[e.length - 1] ? e.slice(0, -1) : e;
335
+ }
336
+ function foldString(e, t) {
337
+ var r = /(\n+)([^\n]*)/g;
338
+ var i = function() {
339
+ var i = e.indexOf("\n");
340
+ i = -1 !== i ? i : e.length;
341
+ r.lastIndex = i;
342
+ return foldLine(e.slice(0, i), t);
343
+ }();
344
+ var n = "\n" === e[0] || " " === e[0];
345
+ var a;
346
+ var o;
347
+ while(o = r.exec(e)){
348
+ var l = o[1], s = o[2];
349
+ a = " " === s[0];
350
+ i += l + (n || a || "" === s ? "" : "\n") + foldLine(s, t);
351
+ n = a;
352
+ }
353
+ return i;
354
+ }
355
+ function foldLine(e, t) {
356
+ if ("" === e || " " === e[0]) return e;
357
+ var r = / [^ ]/g;
358
+ var i;
359
+ var n = 0, a, o = 0, l = 0;
360
+ var s = "";
361
+ while(i = r.exec(e)){
362
+ l = i.index;
363
+ if (l - n > t) {
364
+ a = o > n ? o : l;
365
+ s += "\n" + e.slice(n, a);
366
+ n = a + 1;
367
+ }
368
+ o = l;
369
+ }
370
+ s += "\n";
371
+ if (e.length - n > t && o > n) s += e.slice(n, o) + "\n" + e.slice(o + 1);
372
+ else s += e.slice(n);
373
+ return s.slice(1);
374
+ }
375
+ function escapeString(e) {
376
+ var t = "";
377
+ var r = 0;
378
+ var i;
379
+ for(var n = 0; n < e.length; r >= 65536 ? n += 2 : n++){
380
+ r = codePointAt(e, n);
381
+ i = F[r];
382
+ if (!i && isPrintable(r)) {
383
+ t += e[n];
384
+ if (r >= 65536) t += e[n + 1];
385
+ } else t += i || encodeHex(r);
386
+ }
387
+ return t;
388
+ }
389
+ function writeFlowSequence(e, t, r) {
390
+ var i = "", n = e.tag, a, o, l;
391
+ for(a = 0, o = r.length; a < o; a += 1){
392
+ l = r[a];
393
+ if (e.replacer) l = e.replacer.call(r, String(a), l);
394
+ if (writeNode(e, t, l, false, false) || void 0 === l && writeNode(e, t, null, false, false)) {
395
+ if ("" !== i) i += "," + (e.condenseFlow ? "" : " ");
396
+ i += e.dump;
397
+ }
398
+ }
399
+ e.tag = n;
400
+ e.dump = "[" + i + "]";
401
+ }
402
+ function writeBlockSequence(e, t, r, i) {
403
+ var n = "", a = e.tag, o, l, s;
404
+ for(o = 0, l = r.length; o < l; o += 1){
405
+ s = r[o];
406
+ if (e.replacer) s = e.replacer.call(r, String(o), s);
407
+ if (writeNode(e, t + 1, s, true, true, false, true) || void 0 === s && writeNode(e, t + 1, null, true, true, false, true)) {
408
+ if (!i || "" !== n) n += generateNextLine(e, t);
409
+ if (e.dump && u === e.dump.charCodeAt(0)) n += "-";
410
+ else n += "- ";
411
+ n += e.dump;
412
+ }
413
+ }
414
+ e.tag = a;
415
+ e.dump = n || "[]";
416
+ }
417
+ function writeFlowMapping(e, t, r) {
418
+ var i = "", n = e.tag, a = Object.keys(r), o, l, s, c, u;
419
+ for(o = 0, l = a.length; o < l; o += 1){
420
+ u = "";
421
+ if ("" !== i) u += ", ";
422
+ if (e.condenseFlow) u += '"';
423
+ s = a[o];
424
+ c = r[s];
425
+ if (e.replacer) c = e.replacer.call(r, s, c);
426
+ if (writeNode(e, t, s, false, false)) {
427
+ if (e.dump.length > 1024) u += "? ";
428
+ u += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " ");
429
+ if (writeNode(e, t, c, false, false)) {
430
+ u += e.dump;
431
+ i += u;
432
+ }
433
+ }
434
+ }
435
+ e.tag = n;
436
+ e.dump = "{" + i + "}";
437
+ }
438
+ function writeBlockMapping(e, t, r, i) {
439
+ var a = "", o = e.tag, l = Object.keys(r), s, c, p, f, d, h;
440
+ if (true === e.sortKeys) l.sort();
441
+ else if ("function" == typeof e.sortKeys) l.sort(e.sortKeys);
442
+ else if (e.sortKeys) throw new n("sortKeys must be a boolean or a function");
443
+ for(s = 0, c = l.length; s < c; s += 1){
444
+ h = "";
445
+ if (!i || "" !== a) h += generateNextLine(e, t);
446
+ p = l[s];
447
+ f = r[p];
448
+ if (e.replacer) f = e.replacer.call(r, p, f);
449
+ if (writeNode(e, t + 1, p, true, true, true)) {
450
+ d = null !== e.tag && "?" !== e.tag || e.dump && e.dump.length > 1024;
451
+ if (d) if (e.dump && u === e.dump.charCodeAt(0)) h += "?";
452
+ else h += "? ";
453
+ h += e.dump;
454
+ if (d) h += generateNextLine(e, t);
455
+ if (writeNode(e, t + 1, f, true, d)) {
456
+ if (e.dump && u === e.dump.charCodeAt(0)) h += ":";
457
+ else h += ": ";
458
+ h += e.dump;
459
+ a += h;
460
+ }
461
+ }
462
+ }
463
+ e.tag = o;
464
+ e.dump = a || "{}";
465
+ }
466
+ function detectType(e, t, r) {
467
+ var i, a, s, c, u, p;
468
+ a = r ? e.explicitTypes : e.implicitTypes;
469
+ for(s = 0, c = a.length; s < c; s += 1){
470
+ u = a[s];
471
+ if ((u.instanceOf || u.predicate) && (!u.instanceOf || "object" == typeof t && t instanceof u.instanceOf) && (!u.predicate || u.predicate(t))) {
472
+ if (r) if (u.multi && u.representName) e.tag = u.representName(t);
473
+ else e.tag = u.tag;
474
+ else e.tag = "?";
475
+ if (u.represent) {
476
+ p = e.styleMap[u.tag] || u.defaultStyle;
477
+ if ("[object Function]" === o.call(u.represent)) i = u.represent(t, p);
478
+ else if (l.call(u.represent, p)) i = u.represent[p](t, p);
479
+ else throw new n("!<" + u.tag + '> tag resolver accepts not "' + p + '" style');
480
+ e.dump = i;
481
+ }
482
+ return true;
483
+ }
484
+ }
485
+ return false;
486
+ }
487
+ function writeNode(e, t, r, i, a, l, s) {
488
+ e.tag = null;
489
+ e.dump = r;
490
+ if (!detectType(e, r, false)) detectType(e, r, true);
491
+ var c = o.call(e.dump);
492
+ var u = i;
493
+ var p;
494
+ if (i) i = e.flowLevel < 0 || e.flowLevel > t;
495
+ var f = "[object Object]" === c || "[object Array]" === c, d, h;
496
+ if (f) {
497
+ d = e.duplicates.indexOf(r);
498
+ h = -1 !== d;
499
+ }
500
+ if (null !== e.tag && "?" !== e.tag || h || 2 !== e.indent && t > 0) a = false;
501
+ if (h && e.usedDuplicates[d]) e.dump = "*ref_" + d;
502
+ else {
503
+ if (f && h && !e.usedDuplicates[d]) e.usedDuplicates[d] = true;
504
+ if ("[object Object]" === c) if (i && 0 !== Object.keys(e.dump).length) {
505
+ writeBlockMapping(e, t, e.dump, a);
506
+ if (h) e.dump = "&ref_" + d + e.dump;
507
+ } else {
508
+ writeFlowMapping(e, t, e.dump);
509
+ if (h) e.dump = "&ref_" + d + " " + e.dump;
510
+ }
511
+ else if ("[object Array]" === c) if (i && 0 !== e.dump.length) {
512
+ e.noArrayIndent && !s && t > 0 ? writeBlockSequence(e, t - 1, e.dump, a) : writeBlockSequence(e, t, e.dump, a);
513
+ if (h) e.dump = "&ref_" + d + e.dump;
514
+ } else {
515
+ writeFlowSequence(e, t, e.dump);
516
+ if (h) e.dump = "&ref_" + d + " " + e.dump;
517
+ }
518
+ else if ("[object String]" === c) {
519
+ if ("?" !== e.tag) writeScalar(e, e.dump, t, l, u);
520
+ } else {
521
+ if ("[object Undefined]" === c) return false;
522
+ if (e.skipInvalid) return false;
523
+ throw new n("unacceptable kind of an object to dump " + c);
524
+ }
525
+ if (null !== e.tag && "?" !== e.tag) {
526
+ p = encodeURI("!" === e.tag[0] ? e.tag.slice(1) : e.tag).replace(/!/g, "%21");
527
+ p = "!" === e.tag[0] ? "!" + p : "tag:yaml.org,2002:" === p.slice(0, 18) ? "!!" + p.slice(18) : "!<" + p + ">";
528
+ e.dump = p + " " + e.dump;
529
+ }
530
+ }
531
+ return true;
532
+ }
533
+ function getDuplicateReferences(e, t) {
534
+ var r = [], i = [], n, a;
535
+ inspectNode(e, r, i);
536
+ for(n = 0, a = i.length; n < a; n += 1)t.duplicates.push(r[i[n]]);
537
+ t.usedDuplicates = new Array(a);
538
+ }
539
+ function inspectNode(e, t, r) {
540
+ var i, n, a;
541
+ if (null !== e && "object" == typeof e) {
542
+ n = t.indexOf(e);
543
+ if (-1 !== n) {
544
+ if (-1 === r.indexOf(n)) r.push(n);
545
+ } else {
546
+ t.push(e);
547
+ if (Array.isArray(e)) for(n = 0, a = e.length; n < a; n += 1)inspectNode(e[n], t, r);
548
+ else {
549
+ i = Object.keys(e);
550
+ for(n = 0, a = i.length; n < a; n += 1)inspectNode(e[i[n]], t, r);
551
+ }
552
+ }
553
+ }
554
+ }
555
+ function dump(e, t) {
556
+ t = t || {};
557
+ var r = new State(t);
558
+ if (!r.noRefs) getDuplicateReferences(e, r);
559
+ var i = e;
560
+ if (r.replacer) i = r.replacer.call({
561
+ "": i
562
+ }, "", i);
563
+ if (writeNode(r, 0, i, true, true)) return r.dump + "\n";
564
+ return "";
565
+ }
566
+ e.exports.dump = dump;
567
+ },
568
+ 716: (e)=>{
569
+ function formatError(e, t) {
570
+ var r = "", i = e.reason || "(unknown reason)";
571
+ if (!e.mark) return i;
572
+ if (e.mark.name) r += 'in "' + e.mark.name + '" ';
573
+ r += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")";
574
+ if (!t && e.mark.snippet) r += "\n\n" + e.mark.snippet;
575
+ return i + " " + r;
576
+ }
577
+ function YAMLException(e, t) {
578
+ Error.call(this);
579
+ this.name = "YAMLException";
580
+ this.reason = e;
581
+ this.mark = t;
582
+ this.message = formatError(this, false);
583
+ if (Error.captureStackTrace) Error.captureStackTrace(this, this.constructor);
584
+ else this.stack = (new Error).stack || "";
585
+ }
586
+ YAMLException.prototype = Object.create(Error.prototype);
587
+ YAMLException.prototype.constructor = YAMLException;
588
+ YAMLException.prototype.toString = function(e) {
589
+ return this.name + ": " + formatError(this, e);
590
+ };
591
+ e.exports = YAMLException;
592
+ },
593
+ 802: (e, t, r)=>{
594
+ var i = r(20);
595
+ var n = r(716);
596
+ var a = r(148);
597
+ var o = r(260);
598
+ var l = Object.prototype.hasOwnProperty;
599
+ var s = 1;
600
+ var c = 2;
601
+ var u = 3;
602
+ var p = 4;
603
+ var f = 1;
604
+ var d = 2;
605
+ var h = 3;
606
+ var m = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
607
+ var g = /[\x85\u2028\u2029]/;
608
+ var v = /[,\[\]\{\}]/;
609
+ var w = /^(?:!|!!|![a-z\-]+!)$/i;
610
+ var y = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
611
+ function _class(e) {
612
+ return Object.prototype.toString.call(e);
613
+ }
614
+ function is_EOL(e) {
615
+ return 10 === e || 13 === e;
616
+ }
617
+ function is_WHITE_SPACE(e) {
618
+ return 9 === e || 32 === e;
619
+ }
620
+ function is_WS_OR_EOL(e) {
621
+ return 9 === e || 32 === e || 10 === e || 13 === e;
622
+ }
623
+ function is_FLOW_INDICATOR(e) {
624
+ return 44 === e || 91 === e || 93 === e || 123 === e || 125 === e;
625
+ }
626
+ function fromHexCode(e) {
627
+ var t;
628
+ if (48 <= e && e <= 57) return e - 48;
629
+ t = 32 | e;
630
+ if (97 <= t && t <= 102) return t - 97 + 10;
631
+ return -1;
632
+ }
633
+ function escapedHexLen(e) {
634
+ if (120 === e) return 2;
635
+ if (117 === e) return 4;
636
+ if (85 === e) return 8;
637
+ return 0;
638
+ }
639
+ function fromDecimalCode(e) {
640
+ if (48 <= e && e <= 57) return e - 48;
641
+ return -1;
642
+ }
643
+ function simpleEscapeSequence(e) {
644
+ return 48 === e ? "\0" : 97 === e ? "" : 98 === e ? "\b" : 116 === e ? "\t" : 9 === e ? "\t" : 110 === e ? "\n" : 118 === e ? "\v" : 102 === e ? "\f" : 114 === e ? "\r" : 101 === e ? "" : 32 === e ? " " : 34 === e ? '"' : 47 === e ? "/" : 92 === e ? "\\" : 78 === e ? "…" : 95 === e ? " " : 76 === e ? "\u2028" : 80 === e ? "\u2029" : "";
645
+ }
646
+ function charFromCodepoint(e) {
647
+ if (e <= 65535) return String.fromCharCode(e);
648
+ return String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
649
+ }
650
+ function setProperty(e, t, r) {
651
+ if ("__proto__" === t) Object.defineProperty(e, t, {
652
+ configurable: true,
653
+ enumerable: true,
654
+ writable: true,
655
+ value: r
656
+ });
657
+ else e[t] = r;
658
+ }
659
+ var S = new Array(256);
660
+ var A = new Array(256);
661
+ for(var b = 0; b < 256; b++){
662
+ S[b] = simpleEscapeSequence(b) ? 1 : 0;
663
+ A[b] = simpleEscapeSequence(b);
664
+ }
665
+ function State(e, t) {
666
+ this.input = e;
667
+ this.filename = t["filename"] || null;
668
+ this.schema = t["schema"] || o;
669
+ this.onWarning = t["onWarning"] || null;
670
+ this.legacy = t["legacy"] || false;
671
+ this.json = t["json"] || false;
672
+ this.listener = t["listener"] || null;
673
+ this.implicitTypes = this.schema.compiledImplicit;
674
+ this.typeMap = this.schema.compiledTypeMap;
675
+ this.length = e.length;
676
+ this.position = 0;
677
+ this.line = 0;
678
+ this.lineStart = 0;
679
+ this.lineIndent = 0;
680
+ this.firstTabInLine = -1;
681
+ this.documents = [];
682
+ }
683
+ function generateError(e, t) {
684
+ var r = {
685
+ name: e.filename,
686
+ buffer: e.input.slice(0, -1),
687
+ position: e.position,
688
+ line: e.line,
689
+ column: e.position - e.lineStart
690
+ };
691
+ r.snippet = a(r);
692
+ return new n(t, r);
693
+ }
694
+ function throwError(e, t) {
695
+ throw generateError(e, t);
696
+ }
697
+ function throwWarning(e, t) {
698
+ if (e.onWarning) e.onWarning.call(null, generateError(e, t));
699
+ }
700
+ var x = {
701
+ YAML: function(e, t, r) {
702
+ var i, n, a;
703
+ if (null !== e.version) throwError(e, "duplication of %YAML directive");
704
+ if (1 !== r.length) throwError(e, "YAML directive accepts exactly one argument");
705
+ i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]);
706
+ if (null === i) throwError(e, "ill-formed argument of the YAML directive");
707
+ n = parseInt(i[1], 10);
708
+ a = parseInt(i[2], 10);
709
+ if (1 !== n) throwError(e, "unacceptable YAML version of the document");
710
+ e.version = r[0];
711
+ e.checkLineBreaks = a < 2;
712
+ if (1 !== a && 2 !== a) throwWarning(e, "unsupported YAML version of the document");
713
+ },
714
+ TAG: function(e, t, r) {
715
+ var i, n;
716
+ if (2 !== r.length) throwError(e, "TAG directive accepts exactly two arguments");
717
+ i = r[0];
718
+ n = r[1];
719
+ if (!w.test(i)) throwError(e, "ill-formed tag handle (first argument) of the TAG directive");
720
+ if (l.call(e.tagMap, i)) throwError(e, 'there is a previously declared suffix for "' + i + '" tag handle');
721
+ if (!y.test(n)) throwError(e, "ill-formed tag prefix (second argument) of the TAG directive");
722
+ try {
723
+ n = decodeURIComponent(n);
724
+ } catch (t) {
725
+ throwError(e, "tag prefix is malformed: " + n);
726
+ }
727
+ e.tagMap[i] = n;
728
+ }
729
+ };
730
+ function captureSegment(e, t, r, i) {
731
+ var n, a, o, l;
732
+ if (t < r) {
733
+ l = e.input.slice(t, r);
734
+ if (i) for(n = 0, a = l.length; n < a; n += 1){
735
+ o = l.charCodeAt(n);
736
+ if (!(9 === o || 32 <= o && o <= 1114111)) throwError(e, "expected valid JSON character");
737
+ }
738
+ else if (m.test(l)) throwError(e, "the stream contains non-printable characters");
739
+ e.result += l;
740
+ }
741
+ }
742
+ function mergeMappings(e, t, r, n) {
743
+ var a, o, s, c;
744
+ if (!i.isObject(r)) throwError(e, "cannot merge mappings; the provided source object is unacceptable");
745
+ a = Object.keys(r);
746
+ for(s = 0, c = a.length; s < c; s += 1){
747
+ o = a[s];
748
+ if (!l.call(t, o)) {
749
+ setProperty(t, o, r[o]);
750
+ n[o] = true;
751
+ }
752
+ }
753
+ }
754
+ function storeMappingPair(e, t, r, i, n, a, o, s, c) {
755
+ var u, p;
756
+ if (Array.isArray(n)) {
757
+ n = Array.prototype.slice.call(n);
758
+ for(u = 0, p = n.length; u < p; u += 1){
759
+ if (Array.isArray(n[u])) throwError(e, "nested arrays are not supported inside keys");
760
+ if ("object" == typeof n && "[object Object]" === _class(n[u])) n[u] = "[object Object]";
761
+ }
762
+ }
763
+ if ("object" == typeof n && "[object Object]" === _class(n)) n = "[object Object]";
764
+ n = String(n);
765
+ if (null === t) t = {};
766
+ if ("tag:yaml.org,2002:merge" === i) if (Array.isArray(a)) for(u = 0, p = a.length; u < p; u += 1)mergeMappings(e, t, a[u], r);
767
+ else mergeMappings(e, t, a, r);
768
+ else {
769
+ if (!e.json && !l.call(r, n) && l.call(t, n)) {
770
+ e.line = o || e.line;
771
+ e.lineStart = s || e.lineStart;
772
+ e.position = c || e.position;
773
+ throwError(e, "duplicated mapping key");
774
+ }
775
+ setProperty(t, n, a);
776
+ delete r[n];
777
+ }
778
+ return t;
779
+ }
780
+ function readLineBreak(e) {
781
+ var t;
782
+ t = e.input.charCodeAt(e.position);
783
+ if (10 === t) e.position++;
784
+ else if (13 === t) {
785
+ e.position++;
786
+ if (10 === e.input.charCodeAt(e.position)) e.position++;
787
+ } else throwError(e, "a line break is expected");
788
+ e.line += 1;
789
+ e.lineStart = e.position;
790
+ e.firstTabInLine = -1;
791
+ }
792
+ function skipSeparationSpace(e, t, r) {
793
+ var i = 0, n = e.input.charCodeAt(e.position);
794
+ while(0 !== n){
795
+ while(is_WHITE_SPACE(n)){
796
+ if (9 === n && -1 === e.firstTabInLine) e.firstTabInLine = e.position;
797
+ n = e.input.charCodeAt(++e.position);
798
+ }
799
+ if (t && 35 === n) do n = e.input.charCodeAt(++e.position);
800
+ while (10 !== n && 13 !== n && 0 !== n);
801
+ if (is_EOL(n)) {
802
+ readLineBreak(e);
803
+ n = e.input.charCodeAt(e.position);
804
+ i++;
805
+ e.lineIndent = 0;
806
+ while(32 === n){
807
+ e.lineIndent++;
808
+ n = e.input.charCodeAt(++e.position);
809
+ }
810
+ } else break;
811
+ }
812
+ if (-1 !== r && 0 !== i && e.lineIndent < r) throwWarning(e, "deficient indentation");
813
+ return i;
814
+ }
815
+ function testDocumentSeparator(e) {
816
+ var t = e.position, r;
817
+ r = e.input.charCodeAt(t);
818
+ if ((45 === r || 46 === r) && r === e.input.charCodeAt(t + 1) && r === e.input.charCodeAt(t + 2)) {
819
+ t += 3;
820
+ r = e.input.charCodeAt(t);
821
+ if (0 === r || is_WS_OR_EOL(r)) return true;
822
+ }
823
+ return false;
824
+ }
825
+ function writeFoldedLines(e, t) {
826
+ if (1 === t) e.result += " ";
827
+ else if (t > 1) e.result += i.repeat("\n", t - 1);
828
+ }
829
+ function readPlainScalar(e, t, r) {
830
+ var i, n, a, o, l, s, c, u, p = e.kind, f = e.result, d;
831
+ d = e.input.charCodeAt(e.position);
832
+ if (is_WS_OR_EOL(d) || is_FLOW_INDICATOR(d) || 35 === d || 38 === d || 42 === d || 33 === d || 124 === d || 62 === d || 39 === d || 34 === d || 37 === d || 64 === d || 96 === d) return false;
833
+ if (63 === d || 45 === d) {
834
+ n = e.input.charCodeAt(e.position + 1);
835
+ if (is_WS_OR_EOL(n) || r && is_FLOW_INDICATOR(n)) return false;
836
+ }
837
+ e.kind = "scalar";
838
+ e.result = "";
839
+ a = o = e.position;
840
+ l = false;
841
+ while(0 !== d){
842
+ if (58 === d) {
843
+ n = e.input.charCodeAt(e.position + 1);
844
+ if (is_WS_OR_EOL(n) || r && is_FLOW_INDICATOR(n)) break;
845
+ } else if (35 === d) {
846
+ i = e.input.charCodeAt(e.position - 1);
847
+ if (is_WS_OR_EOL(i)) break;
848
+ } else if (e.position === e.lineStart && testDocumentSeparator(e) || r && is_FLOW_INDICATOR(d)) break;
849
+ else if (is_EOL(d)) {
850
+ s = e.line;
851
+ c = e.lineStart;
852
+ u = e.lineIndent;
853
+ skipSeparationSpace(e, false, -1);
854
+ if (e.lineIndent >= t) {
855
+ l = true;
856
+ d = e.input.charCodeAt(e.position);
857
+ continue;
858
+ }
859
+ e.position = o;
860
+ e.line = s;
861
+ e.lineStart = c;
862
+ e.lineIndent = u;
863
+ break;
864
+ }
865
+ if (l) {
866
+ captureSegment(e, a, o, false);
867
+ writeFoldedLines(e, e.line - s);
868
+ a = o = e.position;
869
+ l = false;
870
+ }
871
+ if (!is_WHITE_SPACE(d)) o = e.position + 1;
872
+ d = e.input.charCodeAt(++e.position);
873
+ }
874
+ captureSegment(e, a, o, false);
875
+ if (e.result) return true;
876
+ e.kind = p;
877
+ e.result = f;
878
+ return false;
879
+ }
880
+ function readSingleQuotedScalar(e, t) {
881
+ var r, i, n;
882
+ r = e.input.charCodeAt(e.position);
883
+ if (39 !== r) return false;
884
+ e.kind = "scalar";
885
+ e.result = "";
886
+ e.position++;
887
+ i = n = e.position;
888
+ while(0 !== (r = e.input.charCodeAt(e.position)))if (39 === r) {
889
+ captureSegment(e, i, e.position, true);
890
+ r = e.input.charCodeAt(++e.position);
891
+ if (39 !== r) return true;
892
+ i = e.position;
893
+ e.position++;
894
+ n = e.position;
895
+ } else if (is_EOL(r)) {
896
+ captureSegment(e, i, n, true);
897
+ writeFoldedLines(e, skipSeparationSpace(e, false, t));
898
+ i = n = e.position;
899
+ } else if (e.position === e.lineStart && testDocumentSeparator(e)) throwError(e, "unexpected end of the document within a single quoted scalar");
900
+ else {
901
+ e.position++;
902
+ n = e.position;
903
+ }
904
+ throwError(e, "unexpected end of the stream within a single quoted scalar");
905
+ }
906
+ function readDoubleQuotedScalar(e, t) {
907
+ var r, i, n, a, o, l;
908
+ l = e.input.charCodeAt(e.position);
909
+ if (34 !== l) return false;
910
+ e.kind = "scalar";
911
+ e.result = "";
912
+ e.position++;
913
+ r = i = e.position;
914
+ while(0 !== (l = e.input.charCodeAt(e.position)))if (34 === l) {
915
+ captureSegment(e, r, e.position, true);
916
+ e.position++;
917
+ return true;
918
+ } else if (92 === l) {
919
+ captureSegment(e, r, e.position, true);
920
+ l = e.input.charCodeAt(++e.position);
921
+ if (is_EOL(l)) skipSeparationSpace(e, false, t);
922
+ else if (l < 256 && S[l]) {
923
+ e.result += A[l];
924
+ e.position++;
925
+ } else if ((o = escapedHexLen(l)) > 0) {
926
+ n = o;
927
+ a = 0;
928
+ for(; n > 0; n--){
929
+ l = e.input.charCodeAt(++e.position);
930
+ if ((o = fromHexCode(l)) >= 0) a = (a << 4) + o;
931
+ else throwError(e, "expected hexadecimal character");
932
+ }
933
+ e.result += charFromCodepoint(a);
934
+ e.position++;
935
+ } else throwError(e, "unknown escape sequence");
936
+ r = i = e.position;
937
+ } else if (is_EOL(l)) {
938
+ captureSegment(e, r, i, true);
939
+ writeFoldedLines(e, skipSeparationSpace(e, false, t));
940
+ r = i = e.position;
941
+ } else if (e.position === e.lineStart && testDocumentSeparator(e)) throwError(e, "unexpected end of the document within a double quoted scalar");
942
+ else {
943
+ e.position++;
944
+ i = e.position;
945
+ }
946
+ throwError(e, "unexpected end of the stream within a double quoted scalar");
947
+ }
948
+ function readFlowCollection(e, t) {
949
+ var r = true, i, n, a, o = e.tag, l, c = e.anchor, u, p, f, d, h, m = Object.create(null), g, v, w, y;
950
+ y = e.input.charCodeAt(e.position);
951
+ if (91 === y) {
952
+ p = 93;
953
+ h = false;
954
+ l = [];
955
+ } else {
956
+ if (123 !== y) return false;
957
+ p = 125;
958
+ h = true;
959
+ l = {};
960
+ }
961
+ if (null !== e.anchor) e.anchorMap[e.anchor] = l;
962
+ y = e.input.charCodeAt(++e.position);
963
+ while(0 !== y){
964
+ skipSeparationSpace(e, true, t);
965
+ y = e.input.charCodeAt(e.position);
966
+ if (y === p) {
967
+ e.position++;
968
+ e.tag = o;
969
+ e.anchor = c;
970
+ e.kind = h ? "mapping" : "sequence";
971
+ e.result = l;
972
+ return true;
973
+ }
974
+ if (r) {
975
+ if (44 === y) throwError(e, "expected the node content, but found ','");
976
+ } else throwError(e, "missed comma between flow collection entries");
977
+ v = g = w = null;
978
+ f = d = false;
979
+ if (63 === y) {
980
+ u = e.input.charCodeAt(e.position + 1);
981
+ if (is_WS_OR_EOL(u)) {
982
+ f = d = true;
983
+ e.position++;
984
+ skipSeparationSpace(e, true, t);
985
+ }
986
+ }
987
+ i = e.line;
988
+ n = e.lineStart;
989
+ a = e.position;
990
+ composeNode(e, t, s, false, true);
991
+ v = e.tag;
992
+ g = e.result;
993
+ skipSeparationSpace(e, true, t);
994
+ y = e.input.charCodeAt(e.position);
995
+ if ((d || e.line === i) && 58 === y) {
996
+ f = true;
997
+ y = e.input.charCodeAt(++e.position);
998
+ skipSeparationSpace(e, true, t);
999
+ composeNode(e, t, s, false, true);
1000
+ w = e.result;
1001
+ }
1002
+ if (h) storeMappingPair(e, l, m, v, g, w, i, n, a);
1003
+ else if (f) l.push(storeMappingPair(e, null, m, v, g, w, i, n, a));
1004
+ else l.push(g);
1005
+ skipSeparationSpace(e, true, t);
1006
+ y = e.input.charCodeAt(e.position);
1007
+ if (44 === y) {
1008
+ r = true;
1009
+ y = e.input.charCodeAt(++e.position);
1010
+ } else r = false;
1011
+ }
1012
+ throwError(e, "unexpected end of the stream within a flow collection");
1013
+ }
1014
+ function readBlockScalar(e, t) {
1015
+ var r, n, a = f, o = false, l = false, s = t, c = 0, u = false, p, m;
1016
+ m = e.input.charCodeAt(e.position);
1017
+ if (124 === m) n = false;
1018
+ else {
1019
+ if (62 !== m) return false;
1020
+ n = true;
1021
+ }
1022
+ e.kind = "scalar";
1023
+ e.result = "";
1024
+ while(0 !== m){
1025
+ m = e.input.charCodeAt(++e.position);
1026
+ if (43 === m || 45 === m) if (f === a) a = 43 === m ? h : d;
1027
+ else throwError(e, "repeat of a chomping mode identifier");
1028
+ else if ((p = fromDecimalCode(m)) >= 0) if (0 === p) throwError(e, "bad explicit indentation width of a block scalar; it cannot be less than one");
1029
+ else if (l) throwError(e, "repeat of an indentation width identifier");
1030
+ else {
1031
+ s = t + p - 1;
1032
+ l = true;
1033
+ }
1034
+ else break;
1035
+ }
1036
+ if (is_WHITE_SPACE(m)) {
1037
+ do m = e.input.charCodeAt(++e.position);
1038
+ while (is_WHITE_SPACE(m));
1039
+ if (35 === m) do m = e.input.charCodeAt(++e.position);
1040
+ while (!is_EOL(m) && 0 !== m);
1041
+ }
1042
+ while(0 !== m){
1043
+ readLineBreak(e);
1044
+ e.lineIndent = 0;
1045
+ m = e.input.charCodeAt(e.position);
1046
+ while((!l || e.lineIndent < s) && 32 === m){
1047
+ e.lineIndent++;
1048
+ m = e.input.charCodeAt(++e.position);
1049
+ }
1050
+ if (!l && e.lineIndent > s) s = e.lineIndent;
1051
+ if (is_EOL(m)) {
1052
+ c++;
1053
+ continue;
1054
+ }
1055
+ if (e.lineIndent < s) {
1056
+ if (a === h) e.result += i.repeat("\n", o ? 1 + c : c);
1057
+ else if (a === f) {
1058
+ if (o) e.result += "\n";
1059
+ }
1060
+ break;
1061
+ }
1062
+ if (n) if (is_WHITE_SPACE(m)) {
1063
+ u = true;
1064
+ e.result += i.repeat("\n", o ? 1 + c : c);
1065
+ } else if (u) {
1066
+ u = false;
1067
+ e.result += i.repeat("\n", c + 1);
1068
+ } else if (0 === c) {
1069
+ if (o) e.result += " ";
1070
+ } else e.result += i.repeat("\n", c);
1071
+ else e.result += i.repeat("\n", o ? 1 + c : c);
1072
+ o = true;
1073
+ l = true;
1074
+ c = 0;
1075
+ r = e.position;
1076
+ while(!is_EOL(m) && 0 !== m)m = e.input.charCodeAt(++e.position);
1077
+ captureSegment(e, r, e.position, false);
1078
+ }
1079
+ return true;
1080
+ }
1081
+ function readBlockSequence(e, t) {
1082
+ var r, i = e.tag, n = e.anchor, a = [], o, l = false, s;
1083
+ if (-1 !== e.firstTabInLine) return false;
1084
+ if (null !== e.anchor) e.anchorMap[e.anchor] = a;
1085
+ s = e.input.charCodeAt(e.position);
1086
+ while(0 !== s){
1087
+ if (-1 !== e.firstTabInLine) {
1088
+ e.position = e.firstTabInLine;
1089
+ throwError(e, "tab characters must not be used in indentation");
1090
+ }
1091
+ if (45 !== s) break;
1092
+ o = e.input.charCodeAt(e.position + 1);
1093
+ if (!is_WS_OR_EOL(o)) break;
1094
+ l = true;
1095
+ e.position++;
1096
+ if (skipSeparationSpace(e, true, -1)) {
1097
+ if (e.lineIndent <= t) {
1098
+ a.push(null);
1099
+ s = e.input.charCodeAt(e.position);
1100
+ continue;
1101
+ }
1102
+ }
1103
+ r = e.line;
1104
+ composeNode(e, t, u, false, true);
1105
+ a.push(e.result);
1106
+ skipSeparationSpace(e, true, -1);
1107
+ s = e.input.charCodeAt(e.position);
1108
+ if ((e.line === r || e.lineIndent > t) && 0 !== s) throwError(e, "bad indentation of a sequence entry");
1109
+ else if (e.lineIndent < t) break;
1110
+ }
1111
+ if (l) {
1112
+ e.tag = i;
1113
+ e.anchor = n;
1114
+ e.kind = "sequence";
1115
+ e.result = a;
1116
+ return true;
1117
+ }
1118
+ return false;
1119
+ }
1120
+ function readBlockMapping(e, t, r) {
1121
+ var i, n, a, o, l, s, u = e.tag, f = e.anchor, d = {}, h = Object.create(null), m = null, g = null, v = null, w = false, y = false, S;
1122
+ if (-1 !== e.firstTabInLine) return false;
1123
+ if (null !== e.anchor) e.anchorMap[e.anchor] = d;
1124
+ S = e.input.charCodeAt(e.position);
1125
+ while(0 !== S){
1126
+ if (!w && -1 !== e.firstTabInLine) {
1127
+ e.position = e.firstTabInLine;
1128
+ throwError(e, "tab characters must not be used in indentation");
1129
+ }
1130
+ i = e.input.charCodeAt(e.position + 1);
1131
+ a = e.line;
1132
+ if ((63 === S || 58 === S) && is_WS_OR_EOL(i)) {
1133
+ if (63 === S) {
1134
+ if (w) {
1135
+ storeMappingPair(e, d, h, m, g, null, o, l, s);
1136
+ m = g = v = null;
1137
+ }
1138
+ y = true;
1139
+ w = true;
1140
+ n = true;
1141
+ } else if (w) {
1142
+ w = false;
1143
+ n = true;
1144
+ } else throwError(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");
1145
+ e.position += 1;
1146
+ S = i;
1147
+ } else {
1148
+ o = e.line;
1149
+ l = e.lineStart;
1150
+ s = e.position;
1151
+ if (!composeNode(e, r, c, false, true)) break;
1152
+ if (e.line === a) {
1153
+ S = e.input.charCodeAt(e.position);
1154
+ while(is_WHITE_SPACE(S))S = e.input.charCodeAt(++e.position);
1155
+ if (58 === S) {
1156
+ S = e.input.charCodeAt(++e.position);
1157
+ if (!is_WS_OR_EOL(S)) throwError(e, "a whitespace character is expected after the key-value separator within a block mapping");
1158
+ if (w) {
1159
+ storeMappingPair(e, d, h, m, g, null, o, l, s);
1160
+ m = g = v = null;
1161
+ }
1162
+ y = true;
1163
+ w = false;
1164
+ n = false;
1165
+ m = e.tag;
1166
+ g = e.result;
1167
+ } else if (y) throwError(e, "can not read an implicit mapping pair; a colon is missed");
1168
+ else {
1169
+ e.tag = u;
1170
+ e.anchor = f;
1171
+ return true;
1172
+ }
1173
+ } else if (y) throwError(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1174
+ else {
1175
+ e.tag = u;
1176
+ e.anchor = f;
1177
+ return true;
1178
+ }
1179
+ }
1180
+ if (e.line === a || e.lineIndent > t) {
1181
+ if (w) {
1182
+ o = e.line;
1183
+ l = e.lineStart;
1184
+ s = e.position;
1185
+ }
1186
+ if (composeNode(e, t, p, true, n)) if (w) g = e.result;
1187
+ else v = e.result;
1188
+ if (!w) {
1189
+ storeMappingPair(e, d, h, m, g, v, o, l, s);
1190
+ m = g = v = null;
1191
+ }
1192
+ skipSeparationSpace(e, true, -1);
1193
+ S = e.input.charCodeAt(e.position);
1194
+ }
1195
+ if ((e.line === a || e.lineIndent > t) && 0 !== S) throwError(e, "bad indentation of a mapping entry");
1196
+ else if (e.lineIndent < t) break;
1197
+ }
1198
+ if (w) storeMappingPair(e, d, h, m, g, null, o, l, s);
1199
+ if (y) {
1200
+ e.tag = u;
1201
+ e.anchor = f;
1202
+ e.kind = "mapping";
1203
+ e.result = d;
1204
+ }
1205
+ return y;
1206
+ }
1207
+ function readTagProperty(e) {
1208
+ var t, r = false, i = false, n, a, o;
1209
+ o = e.input.charCodeAt(e.position);
1210
+ if (33 !== o) return false;
1211
+ if (null !== e.tag) throwError(e, "duplication of a tag property");
1212
+ o = e.input.charCodeAt(++e.position);
1213
+ if (60 === o) {
1214
+ r = true;
1215
+ o = e.input.charCodeAt(++e.position);
1216
+ } else if (33 === o) {
1217
+ i = true;
1218
+ n = "!!";
1219
+ o = e.input.charCodeAt(++e.position);
1220
+ } else n = "!";
1221
+ t = e.position;
1222
+ if (r) {
1223
+ do o = e.input.charCodeAt(++e.position);
1224
+ while (0 !== o && 62 !== o);
1225
+ if (e.position < e.length) {
1226
+ a = e.input.slice(t, e.position);
1227
+ o = e.input.charCodeAt(++e.position);
1228
+ } else throwError(e, "unexpected end of the stream within a verbatim tag");
1229
+ } else {
1230
+ while(0 !== o && !is_WS_OR_EOL(o)){
1231
+ if (33 === o) if (i) throwError(e, "tag suffix cannot contain exclamation marks");
1232
+ else {
1233
+ n = e.input.slice(t - 1, e.position + 1);
1234
+ if (!w.test(n)) throwError(e, "named tag handle cannot contain such characters");
1235
+ i = true;
1236
+ t = e.position + 1;
1237
+ }
1238
+ o = e.input.charCodeAt(++e.position);
1239
+ }
1240
+ a = e.input.slice(t, e.position);
1241
+ if (v.test(a)) throwError(e, "tag suffix cannot contain flow indicator characters");
1242
+ }
1243
+ if (a && !y.test(a)) throwError(e, "tag name cannot contain such characters: " + a);
1244
+ try {
1245
+ a = decodeURIComponent(a);
1246
+ } catch (t) {
1247
+ throwError(e, "tag name is malformed: " + a);
1248
+ }
1249
+ if (r) e.tag = a;
1250
+ else if (l.call(e.tagMap, n)) e.tag = e.tagMap[n] + a;
1251
+ else if ("!" === n) e.tag = "!" + a;
1252
+ else if ("!!" === n) e.tag = "tag:yaml.org,2002:" + a;
1253
+ else throwError(e, 'undeclared tag handle "' + n + '"');
1254
+ return true;
1255
+ }
1256
+ function readAnchorProperty(e) {
1257
+ var t, r;
1258
+ r = e.input.charCodeAt(e.position);
1259
+ if (38 !== r) return false;
1260
+ if (null !== e.anchor) throwError(e, "duplication of an anchor property");
1261
+ r = e.input.charCodeAt(++e.position);
1262
+ t = e.position;
1263
+ while(0 !== r && !is_WS_OR_EOL(r) && !is_FLOW_INDICATOR(r))r = e.input.charCodeAt(++e.position);
1264
+ if (e.position === t) throwError(e, "name of an anchor node must contain at least one character");
1265
+ e.anchor = e.input.slice(t, e.position);
1266
+ return true;
1267
+ }
1268
+ function readAlias(e) {
1269
+ var t, r, i;
1270
+ i = e.input.charCodeAt(e.position);
1271
+ if (42 !== i) return false;
1272
+ i = e.input.charCodeAt(++e.position);
1273
+ t = e.position;
1274
+ while(0 !== i && !is_WS_OR_EOL(i) && !is_FLOW_INDICATOR(i))i = e.input.charCodeAt(++e.position);
1275
+ if (e.position === t) throwError(e, "name of an alias node must contain at least one character");
1276
+ r = e.input.slice(t, e.position);
1277
+ if (!l.call(e.anchorMap, r)) throwError(e, 'unidentified alias "' + r + '"');
1278
+ e.result = e.anchorMap[r];
1279
+ skipSeparationSpace(e, true, -1);
1280
+ return true;
1281
+ }
1282
+ function composeNode(e, t, r, i, n) {
1283
+ var a, o, f, d = 1, h = false, m = false, g, v, w, y, S, A;
1284
+ if (null !== e.listener) e.listener("open", e);
1285
+ e.tag = null;
1286
+ e.anchor = null;
1287
+ e.kind = null;
1288
+ e.result = null;
1289
+ a = o = f = p === r || u === r;
1290
+ if (i) {
1291
+ if (skipSeparationSpace(e, true, -1)) {
1292
+ h = true;
1293
+ if (e.lineIndent > t) d = 1;
1294
+ else if (e.lineIndent === t) d = 0;
1295
+ else if (e.lineIndent < t) d = -1;
1296
+ }
1297
+ }
1298
+ if (1 === d) while(readTagProperty(e) || readAnchorProperty(e))if (skipSeparationSpace(e, true, -1)) {
1299
+ h = true;
1300
+ f = a;
1301
+ if (e.lineIndent > t) d = 1;
1302
+ else if (e.lineIndent === t) d = 0;
1303
+ else if (e.lineIndent < t) d = -1;
1304
+ } else f = false;
1305
+ if (f) f = h || n;
1306
+ if (1 === d || p === r) {
1307
+ S = s === r || c === r ? t : t + 1;
1308
+ A = e.position - e.lineStart;
1309
+ if (1 === d) if (f && (readBlockSequence(e, A) || readBlockMapping(e, A, S)) || readFlowCollection(e, S)) m = true;
1310
+ else {
1311
+ if (o && readBlockScalar(e, S) || readSingleQuotedScalar(e, S) || readDoubleQuotedScalar(e, S)) m = true;
1312
+ else if (readAlias(e)) {
1313
+ m = true;
1314
+ if (null !== e.tag || null !== e.anchor) throwError(e, "alias node should not have any properties");
1315
+ } else if (readPlainScalar(e, S, s === r)) {
1316
+ m = true;
1317
+ if (null === e.tag) e.tag = "?";
1318
+ }
1319
+ if (null !== e.anchor) e.anchorMap[e.anchor] = e.result;
1320
+ }
1321
+ else if (0 === d) m = f && readBlockSequence(e, A);
1322
+ }
1323
+ if (null === e.tag) {
1324
+ if (null !== e.anchor) e.anchorMap[e.anchor] = e.result;
1325
+ } else if ("?" === e.tag) {
1326
+ if (null !== e.result && "scalar" !== e.kind) throwError(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"');
1327
+ for(g = 0, v = e.implicitTypes.length; g < v; g += 1){
1328
+ y = e.implicitTypes[g];
1329
+ if (y.resolve(e.result)) {
1330
+ e.result = y.construct(e.result);
1331
+ e.tag = y.tag;
1332
+ if (null !== e.anchor) e.anchorMap[e.anchor] = e.result;
1333
+ break;
1334
+ }
1335
+ }
1336
+ } else if ("!" !== e.tag) {
1337
+ if (l.call(e.typeMap[e.kind || "fallback"], e.tag)) y = e.typeMap[e.kind || "fallback"][e.tag];
1338
+ else {
1339
+ y = null;
1340
+ w = e.typeMap.multi[e.kind || "fallback"];
1341
+ for(g = 0, v = w.length; g < v; g += 1)if (e.tag.slice(0, w[g].tag.length) === w[g].tag) {
1342
+ y = w[g];
1343
+ break;
1344
+ }
1345
+ }
1346
+ if (!y) throwError(e, "unknown tag !<" + e.tag + ">");
1347
+ if (null !== e.result && y.kind !== e.kind) throwError(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + y.kind + '", not "' + e.kind + '"');
1348
+ if (y.resolve(e.result, e.tag)) {
1349
+ e.result = y.construct(e.result, e.tag);
1350
+ if (null !== e.anchor) e.anchorMap[e.anchor] = e.result;
1351
+ } else throwError(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
1352
+ }
1353
+ if (null !== e.listener) e.listener("close", e);
1354
+ return null !== e.tag || null !== e.anchor || m;
1355
+ }
1356
+ function readDocument(e) {
1357
+ var t = e.position, r, i, n, a = false, o;
1358
+ e.version = null;
1359
+ e.checkLineBreaks = e.legacy;
1360
+ e.tagMap = Object.create(null);
1361
+ e.anchorMap = Object.create(null);
1362
+ while(0 !== (o = e.input.charCodeAt(e.position))){
1363
+ skipSeparationSpace(e, true, -1);
1364
+ o = e.input.charCodeAt(e.position);
1365
+ if (e.lineIndent > 0 || 37 !== o) break;
1366
+ a = true;
1367
+ o = e.input.charCodeAt(++e.position);
1368
+ r = e.position;
1369
+ while(0 !== o && !is_WS_OR_EOL(o))o = e.input.charCodeAt(++e.position);
1370
+ i = e.input.slice(r, e.position);
1371
+ n = [];
1372
+ if (i.length < 1) throwError(e, "directive name must not be less than one character in length");
1373
+ while(0 !== o){
1374
+ while(is_WHITE_SPACE(o))o = e.input.charCodeAt(++e.position);
1375
+ if (35 === o) {
1376
+ do o = e.input.charCodeAt(++e.position);
1377
+ while (0 !== o && !is_EOL(o));
1378
+ break;
1379
+ }
1380
+ if (is_EOL(o)) break;
1381
+ r = e.position;
1382
+ while(0 !== o && !is_WS_OR_EOL(o))o = e.input.charCodeAt(++e.position);
1383
+ n.push(e.input.slice(r, e.position));
1384
+ }
1385
+ if (0 !== o) readLineBreak(e);
1386
+ if (l.call(x, i)) x[i](e, i, n);
1387
+ else throwWarning(e, 'unknown document directive "' + i + '"');
1388
+ }
1389
+ skipSeparationSpace(e, true, -1);
1390
+ if (0 === e.lineIndent && 45 === e.input.charCodeAt(e.position) && 45 === e.input.charCodeAt(e.position + 1) && 45 === e.input.charCodeAt(e.position + 2)) {
1391
+ e.position += 3;
1392
+ skipSeparationSpace(e, true, -1);
1393
+ } else if (a) throwError(e, "directives end mark is expected");
1394
+ composeNode(e, e.lineIndent - 1, p, false, true);
1395
+ skipSeparationSpace(e, true, -1);
1396
+ if (e.checkLineBreaks && g.test(e.input.slice(t, e.position))) throwWarning(e, "non-ASCII line breaks are interpreted as content");
1397
+ e.documents.push(e.result);
1398
+ if (e.position === e.lineStart && testDocumentSeparator(e)) {
1399
+ if (46 === e.input.charCodeAt(e.position)) {
1400
+ e.position += 3;
1401
+ skipSeparationSpace(e, true, -1);
1402
+ }
1403
+ return;
1404
+ }
1405
+ if (!(e.position < e.length - 1)) return;
1406
+ throwError(e, "end of the stream or a document separator is expected");
1407
+ }
1408
+ function loadDocuments(e, t) {
1409
+ e = String(e);
1410
+ t = t || {};
1411
+ if (0 !== e.length) {
1412
+ if (10 !== e.charCodeAt(e.length - 1) && 13 !== e.charCodeAt(e.length - 1)) e += "\n";
1413
+ if (65279 === e.charCodeAt(0)) e = e.slice(1);
1414
+ }
1415
+ var r = new State(e, t);
1416
+ var i = e.indexOf("\0");
1417
+ if (-1 !== i) {
1418
+ r.position = i;
1419
+ throwError(r, "null byte is not allowed in input");
1420
+ }
1421
+ r.input += "\0";
1422
+ while(32 === r.input.charCodeAt(r.position)){
1423
+ r.lineIndent += 1;
1424
+ r.position += 1;
1425
+ }
1426
+ while(r.position < r.length - 1)readDocument(r);
1427
+ return r.documents;
1428
+ }
1429
+ function loadAll(e, t, r) {
1430
+ if (null !== t && "object" == typeof t && void 0 === r) {
1431
+ r = t;
1432
+ t = null;
1433
+ }
1434
+ var i = loadDocuments(e, r);
1435
+ if ("function" != typeof t) return i;
1436
+ for(var n = 0, a = i.length; n < a; n += 1)t(i[n]);
1437
+ }
1438
+ function load(e, t) {
1439
+ var r = loadDocuments(e, t);
1440
+ if (0 === r.length) return;
1441
+ if (1 === r.length) return r[0];
1442
+ throw new n("expected a single document in the stream, but found more");
1443
+ }
1444
+ e.exports.loadAll = loadAll;
1445
+ e.exports.load = load;
1446
+ },
1447
+ 706: (e, t, r)=>{
1448
+ var i = r(716);
1449
+ var n = r(313);
1450
+ function compileList(e, t) {
1451
+ var r = [];
1452
+ e[t].forEach(function(e) {
1453
+ var t = r.length;
1454
+ r.forEach(function(r, i) {
1455
+ if (r.tag === e.tag && r.kind === e.kind && r.multi === e.multi) t = i;
1456
+ });
1457
+ r[t] = e;
1458
+ });
1459
+ return r;
1460
+ }
1461
+ function compileMap() {
1462
+ var e = {
1463
+ scalar: {},
1464
+ sequence: {},
1465
+ mapping: {},
1466
+ fallback: {},
1467
+ multi: {
1468
+ scalar: [],
1469
+ sequence: [],
1470
+ mapping: [],
1471
+ fallback: []
1472
+ }
1473
+ }, t, r;
1474
+ function collectType(t) {
1475
+ if (t.multi) {
1476
+ e.multi[t.kind].push(t);
1477
+ e.multi["fallback"].push(t);
1478
+ } else e[t.kind][t.tag] = e["fallback"][t.tag] = t;
1479
+ }
1480
+ for(t = 0, r = arguments.length; t < r; t += 1)arguments[t].forEach(collectType);
1481
+ return e;
1482
+ }
1483
+ function Schema(e) {
1484
+ return this.extend(e);
1485
+ }
1486
+ Schema.prototype.extend = function(e) {
1487
+ var t = [];
1488
+ var r = [];
1489
+ if (e instanceof n) r.push(e);
1490
+ else if (Array.isArray(e)) r = r.concat(e);
1491
+ else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit))) {
1492
+ if (e.implicit) t = t.concat(e.implicit);
1493
+ if (e.explicit) r = r.concat(e.explicit);
1494
+ } else throw new i("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1495
+ t.forEach(function(e) {
1496
+ if (!(e instanceof n)) throw new i("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1497
+ if (e.loadKind && "scalar" !== e.loadKind) throw new i("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1498
+ if (e.multi) throw new i("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1499
+ });
1500
+ r.forEach(function(e) {
1501
+ if (!(e instanceof n)) throw new i("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1502
+ });
1503
+ var a = Object.create(Schema.prototype);
1504
+ a.implicit = (this.implicit || []).concat(t);
1505
+ a.explicit = (this.explicit || []).concat(r);
1506
+ a.compiledImplicit = compileList(a, "implicit");
1507
+ a.compiledExplicit = compileList(a, "explicit");
1508
+ a.compiledTypeMap = compileMap(a.compiledImplicit, a.compiledExplicit);
1509
+ return a;
1510
+ };
1511
+ e.exports = Schema;
1512
+ },
1513
+ 454: (e, t, r)=>{
1514
+ e.exports = r(875);
1515
+ },
1516
+ 260: (e, t, r)=>{
1517
+ e.exports = r(454).extend({
1518
+ implicit: [
1519
+ r(98),
1520
+ r(546)
1521
+ ],
1522
+ explicit: [
1523
+ r(497),
1524
+ r(5),
1525
+ r(399),
1526
+ r(610)
1527
+ ]
1528
+ });
1529
+ },
1530
+ 68: (e, t, r)=>{
1531
+ var i = r(706);
1532
+ e.exports = new i({
1533
+ explicit: [
1534
+ r(501),
1535
+ r(941),
1536
+ r(952)
1537
+ ]
1538
+ });
1539
+ },
1540
+ 875: (e, t, r)=>{
1541
+ e.exports = r(68).extend({
1542
+ implicit: [
1543
+ r(697),
1544
+ r(204),
1545
+ r(707),
1546
+ r(980)
1547
+ ]
1548
+ });
1549
+ },
1550
+ 148: (e, t, r)=>{
1551
+ var i = r(20);
1552
+ function getLine(e, t, r, i, n) {
1553
+ var a = "";
1554
+ var o = "";
1555
+ var l = Math.floor(n / 2) - 1;
1556
+ if (i - t > l) {
1557
+ a = " ... ";
1558
+ t = i - l + a.length;
1559
+ }
1560
+ if (r - i > l) {
1561
+ o = " ...";
1562
+ r = i + l - o.length;
1563
+ }
1564
+ return {
1565
+ str: a + e.slice(t, r).replace(/\t/g, "→") + o,
1566
+ pos: i - t + a.length
1567
+ };
1568
+ }
1569
+ function padStart(e, t) {
1570
+ return i.repeat(" ", t - e.length) + e;
1571
+ }
1572
+ function makeSnippet(e, t) {
1573
+ t = Object.create(t || null);
1574
+ if (!e.buffer) return null;
1575
+ if (!t.maxLength) t.maxLength = 79;
1576
+ if ("number" != typeof t.indent) t.indent = 1;
1577
+ if ("number" != typeof t.linesBefore) t.linesBefore = 3;
1578
+ if ("number" != typeof t.linesAfter) t.linesAfter = 2;
1579
+ var r = /\r?\n|\r|\0/g;
1580
+ var n = [
1581
+ 0
1582
+ ];
1583
+ var a = [];
1584
+ var o;
1585
+ var l = -1;
1586
+ while(o = r.exec(e.buffer)){
1587
+ a.push(o.index);
1588
+ n.push(o.index + o[0].length);
1589
+ if (e.position <= o.index && l < 0) l = n.length - 2;
1590
+ }
1591
+ if (l < 0) l = n.length - 1;
1592
+ var s = "", c, u;
1593
+ var p = Math.min(e.line + t.linesAfter, a.length).toString().length;
1594
+ var f = t.maxLength - (t.indent + p + 3);
1595
+ for(c = 1; c <= t.linesBefore; c++){
1596
+ if (l - c < 0) break;
1597
+ u = getLine(e.buffer, n[l - c], a[l - c], e.position - (n[l] - n[l - c]), f);
1598
+ s = i.repeat(" ", t.indent) + padStart((e.line - c + 1).toString(), p) + " | " + u.str + "\n" + s;
1599
+ }
1600
+ u = getLine(e.buffer, n[l], a[l], e.position, f);
1601
+ s += i.repeat(" ", t.indent) + padStart((e.line + 1).toString(), p) + " | " + u.str + "\n";
1602
+ s += i.repeat("-", t.indent + p + 3 + u.pos) + "^\n";
1603
+ for(c = 1; c <= t.linesAfter; c++){
1604
+ if (l + c >= a.length) break;
1605
+ u = getLine(e.buffer, n[l + c], a[l + c], e.position - (n[l] - n[l + c]), f);
1606
+ s += i.repeat(" ", t.indent) + padStart((e.line + c + 1).toString(), p) + " | " + u.str + "\n";
1607
+ }
1608
+ return s.replace(/\n$/, "");
1609
+ }
1610
+ e.exports = makeSnippet;
1611
+ },
1612
+ 313: (e, t, r)=>{
1613
+ var i = r(716);
1614
+ var n = [
1615
+ "kind",
1616
+ "multi",
1617
+ "resolve",
1618
+ "construct",
1619
+ "instanceOf",
1620
+ "predicate",
1621
+ "represent",
1622
+ "representName",
1623
+ "defaultStyle",
1624
+ "styleAliases"
1625
+ ];
1626
+ var a = [
1627
+ "scalar",
1628
+ "sequence",
1629
+ "mapping"
1630
+ ];
1631
+ function compileStyleAliases(e) {
1632
+ var t = {};
1633
+ if (null !== e) Object.keys(e).forEach(function(r) {
1634
+ e[r].forEach(function(e) {
1635
+ t[String(e)] = r;
1636
+ });
1637
+ });
1638
+ return t;
1639
+ }
1640
+ function Type(e, t) {
1641
+ t = t || {};
1642
+ Object.keys(t).forEach(function(t) {
1643
+ if (-1 === n.indexOf(t)) throw new i('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1644
+ });
1645
+ this.options = t;
1646
+ this.tag = e;
1647
+ this.kind = t["kind"] || null;
1648
+ this.resolve = t["resolve"] || function() {
1649
+ return true;
1650
+ };
1651
+ this.construct = t["construct"] || function(e) {
1652
+ return e;
1653
+ };
1654
+ this.instanceOf = t["instanceOf"] || null;
1655
+ this.predicate = t["predicate"] || null;
1656
+ this.represent = t["represent"] || null;
1657
+ this.representName = t["representName"] || null;
1658
+ this.defaultStyle = t["defaultStyle"] || null;
1659
+ this.multi = t["multi"] || false;
1660
+ this.styleAliases = compileStyleAliases(t["styleAliases"] || null);
1661
+ if (-1 === a.indexOf(this.kind)) throw new i('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1662
+ }
1663
+ e.exports = Type;
1664
+ },
1665
+ 497: (e, t, r)=>{
1666
+ var i = r(313);
1667
+ var n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
1668
+ function resolveYamlBinary(e) {
1669
+ if (null === e) return false;
1670
+ var t, r, i = 0, a = e.length, o = n;
1671
+ for(r = 0; r < a; r++){
1672
+ t = o.indexOf(e.charAt(r));
1673
+ if (!(t > 64)) {
1674
+ if (t < 0) return false;
1675
+ i += 6;
1676
+ }
1677
+ }
1678
+ return i % 8 === 0;
1679
+ }
1680
+ function constructYamlBinary(e) {
1681
+ var t, r, i = e.replace(/[\r\n=]/g, ""), a = i.length, o = n, l = 0, s = [];
1682
+ for(t = 0; t < a; t++){
1683
+ if (t % 4 === 0 && t) {
1684
+ s.push(l >> 16 & 255);
1685
+ s.push(l >> 8 & 255);
1686
+ s.push(255 & l);
1687
+ }
1688
+ l = l << 6 | o.indexOf(i.charAt(t));
1689
+ }
1690
+ r = a % 4 * 6;
1691
+ if (0 === r) {
1692
+ s.push(l >> 16 & 255);
1693
+ s.push(l >> 8 & 255);
1694
+ s.push(255 & l);
1695
+ } else if (18 === r) {
1696
+ s.push(l >> 10 & 255);
1697
+ s.push(l >> 2 & 255);
1698
+ } else if (12 === r) s.push(l >> 4 & 255);
1699
+ return new Uint8Array(s);
1700
+ }
1701
+ function representYamlBinary(e) {
1702
+ var t = "", r = 0, i, a, o = e.length, l = n;
1703
+ for(i = 0; i < o; i++){
1704
+ if (i % 3 === 0 && i) {
1705
+ t += l[r >> 18 & 63];
1706
+ t += l[r >> 12 & 63];
1707
+ t += l[r >> 6 & 63];
1708
+ t += l[63 & r];
1709
+ }
1710
+ r = (r << 8) + e[i];
1711
+ }
1712
+ a = o % 3;
1713
+ if (0 === a) {
1714
+ t += l[r >> 18 & 63];
1715
+ t += l[r >> 12 & 63];
1716
+ t += l[r >> 6 & 63];
1717
+ t += l[63 & r];
1718
+ } else if (2 === a) {
1719
+ t += l[r >> 10 & 63];
1720
+ t += l[r >> 4 & 63];
1721
+ t += l[r << 2 & 63];
1722
+ t += l[64];
1723
+ } else if (1 === a) {
1724
+ t += l[r >> 2 & 63];
1725
+ t += l[r << 4 & 63];
1726
+ t += l[64];
1727
+ t += l[64];
1728
+ }
1729
+ return t;
1730
+ }
1731
+ function isBinary(e) {
1732
+ return "[object Uint8Array]" === Object.prototype.toString.call(e);
1733
+ }
1734
+ e.exports = new i("tag:yaml.org,2002:binary", {
1735
+ kind: "scalar",
1736
+ resolve: resolveYamlBinary,
1737
+ construct: constructYamlBinary,
1738
+ predicate: isBinary,
1739
+ represent: representYamlBinary
1740
+ });
1741
+ },
1742
+ 204: (e, t, r)=>{
1743
+ var i = r(313);
1744
+ function resolveYamlBoolean(e) {
1745
+ if (null === e) return false;
1746
+ var t = e.length;
1747
+ return 4 === t && ("true" === e || "True" === e || "TRUE" === e) || 5 === t && ("false" === e || "False" === e || "FALSE" === e);
1748
+ }
1749
+ function constructYamlBoolean(e) {
1750
+ return "true" === e || "True" === e || "TRUE" === e;
1751
+ }
1752
+ function isBoolean(e) {
1753
+ return "[object Boolean]" === Object.prototype.toString.call(e);
1754
+ }
1755
+ e.exports = new i("tag:yaml.org,2002:bool", {
1756
+ kind: "scalar",
1757
+ resolve: resolveYamlBoolean,
1758
+ construct: constructYamlBoolean,
1759
+ predicate: isBoolean,
1760
+ represent: {
1761
+ lowercase: function(e) {
1762
+ return e ? "true" : "false";
1763
+ },
1764
+ uppercase: function(e) {
1765
+ return e ? "TRUE" : "FALSE";
1766
+ },
1767
+ camelcase: function(e) {
1768
+ return e ? "True" : "False";
1769
+ }
1770
+ },
1771
+ defaultStyle: "lowercase"
1772
+ });
1773
+ },
1774
+ 980: (e, t, r)=>{
1775
+ var i = r(20);
1776
+ var n = r(313);
1777
+ var a = new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
1778
+ function resolveYamlFloat(e) {
1779
+ if (null === e) return false;
1780
+ if (!a.test(e) || "_" === e[e.length - 1]) return false;
1781
+ return true;
1782
+ }
1783
+ function constructYamlFloat(e) {
1784
+ var t, r;
1785
+ t = e.replace(/_/g, "").toLowerCase();
1786
+ r = "-" === t[0] ? -1 : 1;
1787
+ if ("+-".indexOf(t[0]) >= 0) t = t.slice(1);
1788
+ if (".inf" === t) return 1 === r ? 1 / 0 : -1 / 0;
1789
+ if (".nan" === t) return NaN;
1790
+ return r * parseFloat(t, 10);
1791
+ }
1792
+ var o = /^[-+]?[0-9]+e/;
1793
+ function representYamlFloat(e, t) {
1794
+ var r;
1795
+ if (isNaN(e)) switch(t){
1796
+ case "lowercase":
1797
+ return ".nan";
1798
+ case "uppercase":
1799
+ return ".NAN";
1800
+ case "camelcase":
1801
+ return ".NaN";
1802
+ }
1803
+ else if (1 / 0 === e) switch(t){
1804
+ case "lowercase":
1805
+ return ".inf";
1806
+ case "uppercase":
1807
+ return ".INF";
1808
+ case "camelcase":
1809
+ return ".Inf";
1810
+ }
1811
+ else if (-1 / 0 === e) switch(t){
1812
+ case "lowercase":
1813
+ return "-.inf";
1814
+ case "uppercase":
1815
+ return "-.INF";
1816
+ case "camelcase":
1817
+ return "-.Inf";
1818
+ }
1819
+ else if (i.isNegativeZero(e)) return "-0.0";
1820
+ r = e.toString(10);
1821
+ return o.test(r) ? r.replace("e", ".e") : r;
1822
+ }
1823
+ function isFloat(e) {
1824
+ return "[object Number]" === Object.prototype.toString.call(e) && (e % 1 !== 0 || i.isNegativeZero(e));
1825
+ }
1826
+ e.exports = new n("tag:yaml.org,2002:float", {
1827
+ kind: "scalar",
1828
+ resolve: resolveYamlFloat,
1829
+ construct: constructYamlFloat,
1830
+ predicate: isFloat,
1831
+ represent: representYamlFloat,
1832
+ defaultStyle: "lowercase"
1833
+ });
1834
+ },
1835
+ 707: (e, t, r)=>{
1836
+ var i = r(20);
1837
+ var n = r(313);
1838
+ function isHexCode(e) {
1839
+ return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1840
+ }
1841
+ function isOctCode(e) {
1842
+ return 48 <= e && e <= 55;
1843
+ }
1844
+ function isDecCode(e) {
1845
+ return 48 <= e && e <= 57;
1846
+ }
1847
+ function resolveYamlInteger(e) {
1848
+ if (null === e) return false;
1849
+ var t = e.length, r = 0, i = false, n;
1850
+ if (!t) return false;
1851
+ n = e[r];
1852
+ if ("-" === n || "+" === n) n = e[++r];
1853
+ if ("0" === n) {
1854
+ if (r + 1 === t) return true;
1855
+ n = e[++r];
1856
+ if ("b" === n) {
1857
+ r++;
1858
+ for(; r < t; r++){
1859
+ n = e[r];
1860
+ if ("_" !== n) {
1861
+ if ("0" !== n && "1" !== n) return false;
1862
+ i = true;
1863
+ }
1864
+ }
1865
+ return i && "_" !== n;
1866
+ }
1867
+ if ("x" === n) {
1868
+ r++;
1869
+ for(; r < t; r++){
1870
+ n = e[r];
1871
+ if ("_" !== n) {
1872
+ if (!isHexCode(e.charCodeAt(r))) return false;
1873
+ i = true;
1874
+ }
1875
+ }
1876
+ return i && "_" !== n;
1877
+ }
1878
+ if ("o" === n) {
1879
+ r++;
1880
+ for(; r < t; r++){
1881
+ n = e[r];
1882
+ if ("_" !== n) {
1883
+ if (!isOctCode(e.charCodeAt(r))) return false;
1884
+ i = true;
1885
+ }
1886
+ }
1887
+ return i && "_" !== n;
1888
+ }
1889
+ }
1890
+ if ("_" === n) return false;
1891
+ for(; r < t; r++){
1892
+ n = e[r];
1893
+ if ("_" !== n) {
1894
+ if (!isDecCode(e.charCodeAt(r))) return false;
1895
+ i = true;
1896
+ }
1897
+ }
1898
+ if (!i || "_" === n) return false;
1899
+ return true;
1900
+ }
1901
+ function constructYamlInteger(e) {
1902
+ var t = e, r = 1, i;
1903
+ if (-1 !== t.indexOf("_")) t = t.replace(/_/g, "");
1904
+ i = t[0];
1905
+ if ("-" === i || "+" === i) {
1906
+ if ("-" === i) r = -1;
1907
+ t = t.slice(1);
1908
+ i = t[0];
1909
+ }
1910
+ if ("0" === t) return 0;
1911
+ if ("0" === i) {
1912
+ if ("b" === t[1]) return r * parseInt(t.slice(2), 2);
1913
+ if ("x" === t[1]) return r * parseInt(t.slice(2), 16);
1914
+ if ("o" === t[1]) return r * parseInt(t.slice(2), 8);
1915
+ }
1916
+ return r * parseInt(t, 10);
1917
+ }
1918
+ function isInteger(e) {
1919
+ return "[object Number]" === Object.prototype.toString.call(e) && e % 1 === 0 && !i.isNegativeZero(e);
1920
+ }
1921
+ e.exports = new n("tag:yaml.org,2002:int", {
1922
+ kind: "scalar",
1923
+ resolve: resolveYamlInteger,
1924
+ construct: constructYamlInteger,
1925
+ predicate: isInteger,
1926
+ represent: {
1927
+ binary: function(e) {
1928
+ return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
1929
+ },
1930
+ octal: function(e) {
1931
+ return e >= 0 ? "0o" + e.toString(8) : "-0o" + e.toString(8).slice(1);
1932
+ },
1933
+ decimal: function(e) {
1934
+ return e.toString(10);
1935
+ },
1936
+ hexadecimal: function(e) {
1937
+ return e >= 0 ? "0x" + e.toString(16).toUpperCase() : "-0x" + e.toString(16).toUpperCase().slice(1);
1938
+ }
1939
+ },
1940
+ defaultStyle: "decimal",
1941
+ styleAliases: {
1942
+ binary: [
1943
+ 2,
1944
+ "bin"
1945
+ ],
1946
+ octal: [
1947
+ 8,
1948
+ "oct"
1949
+ ],
1950
+ decimal: [
1951
+ 10,
1952
+ "dec"
1953
+ ],
1954
+ hexadecimal: [
1955
+ 16,
1956
+ "hex"
1957
+ ]
1958
+ }
1959
+ });
1960
+ },
1961
+ 952: (e, t, r)=>{
1962
+ var i = r(313);
1963
+ e.exports = new i("tag:yaml.org,2002:map", {
1964
+ kind: "mapping",
1965
+ construct: function(e) {
1966
+ return null !== e ? e : {};
1967
+ }
1968
+ });
1969
+ },
1970
+ 546: (e, t, r)=>{
1971
+ var i = r(313);
1972
+ function resolveYamlMerge(e) {
1973
+ return "<<" === e || null === e;
1974
+ }
1975
+ e.exports = new i("tag:yaml.org,2002:merge", {
1976
+ kind: "scalar",
1977
+ resolve: resolveYamlMerge
1978
+ });
1979
+ },
1980
+ 697: (e, t, r)=>{
1981
+ var i = r(313);
1982
+ function resolveYamlNull(e) {
1983
+ if (null === e) return true;
1984
+ var t = e.length;
1985
+ return 1 === t && "~" === e || 4 === t && ("null" === e || "Null" === e || "NULL" === e);
1986
+ }
1987
+ function constructYamlNull() {
1988
+ return null;
1989
+ }
1990
+ function isNull(e) {
1991
+ return null === e;
1992
+ }
1993
+ e.exports = new i("tag:yaml.org,2002:null", {
1994
+ kind: "scalar",
1995
+ resolve: resolveYamlNull,
1996
+ construct: constructYamlNull,
1997
+ predicate: isNull,
1998
+ represent: {
1999
+ canonical: function() {
2000
+ return "~";
2001
+ },
2002
+ lowercase: function() {
2003
+ return "null";
2004
+ },
2005
+ uppercase: function() {
2006
+ return "NULL";
2007
+ },
2008
+ camelcase: function() {
2009
+ return "Null";
2010
+ },
2011
+ empty: function() {
2012
+ return "";
2013
+ }
2014
+ },
2015
+ defaultStyle: "lowercase"
2016
+ });
2017
+ },
2018
+ 5: (e, t, r)=>{
2019
+ var i = r(313);
2020
+ var n = Object.prototype.hasOwnProperty;
2021
+ var a = Object.prototype.toString;
2022
+ function resolveYamlOmap(e) {
2023
+ if (null === e) return true;
2024
+ var t = [], r, i, o, l, s, c = e;
2025
+ for(r = 0, i = c.length; r < i; r += 1){
2026
+ o = c[r];
2027
+ s = false;
2028
+ if ("[object Object]" !== a.call(o)) return false;
2029
+ for(l in o)if (n.call(o, l)) if (s) return false;
2030
+ else s = true;
2031
+ if (!s) return false;
2032
+ if (-1 !== t.indexOf(l)) return false;
2033
+ t.push(l);
2034
+ }
2035
+ return true;
2036
+ }
2037
+ function constructYamlOmap(e) {
2038
+ return null !== e ? e : [];
2039
+ }
2040
+ e.exports = new i("tag:yaml.org,2002:omap", {
2041
+ kind: "sequence",
2042
+ resolve: resolveYamlOmap,
2043
+ construct: constructYamlOmap
2044
+ });
2045
+ },
2046
+ 399: (e, t, r)=>{
2047
+ var i = r(313);
2048
+ var n = Object.prototype.toString;
2049
+ function resolveYamlPairs(e) {
2050
+ if (null === e) return true;
2051
+ var t, r, i, a, o, l = e;
2052
+ o = new Array(l.length);
2053
+ for(t = 0, r = l.length; t < r; t += 1){
2054
+ i = l[t];
2055
+ if ("[object Object]" !== n.call(i)) return false;
2056
+ a = Object.keys(i);
2057
+ if (1 !== a.length) return false;
2058
+ o[t] = [
2059
+ a[0],
2060
+ i[a[0]]
2061
+ ];
2062
+ }
2063
+ return true;
2064
+ }
2065
+ function constructYamlPairs(e) {
2066
+ if (null === e) return [];
2067
+ var t, r, i, n, a, o = e;
2068
+ a = new Array(o.length);
2069
+ for(t = 0, r = o.length; t < r; t += 1){
2070
+ i = o[t];
2071
+ n = Object.keys(i);
2072
+ a[t] = [
2073
+ n[0],
2074
+ i[n[0]]
2075
+ ];
2076
+ }
2077
+ return a;
2078
+ }
2079
+ e.exports = new i("tag:yaml.org,2002:pairs", {
2080
+ kind: "sequence",
2081
+ resolve: resolveYamlPairs,
2082
+ construct: constructYamlPairs
2083
+ });
2084
+ },
2085
+ 941: (e, t, r)=>{
2086
+ var i = r(313);
2087
+ e.exports = new i("tag:yaml.org,2002:seq", {
2088
+ kind: "sequence",
2089
+ construct: function(e) {
2090
+ return null !== e ? e : [];
2091
+ }
2092
+ });
2093
+ },
2094
+ 610: (e, t, r)=>{
2095
+ var i = r(313);
2096
+ var n = Object.prototype.hasOwnProperty;
2097
+ function resolveYamlSet(e) {
2098
+ if (null === e) return true;
2099
+ var t, r = e;
2100
+ for(t in r)if (n.call(r, t)) {
2101
+ if (null !== r[t]) return false;
2102
+ }
2103
+ return true;
2104
+ }
2105
+ function constructYamlSet(e) {
2106
+ return null !== e ? e : {};
2107
+ }
2108
+ e.exports = new i("tag:yaml.org,2002:set", {
2109
+ kind: "mapping",
2110
+ resolve: resolveYamlSet,
2111
+ construct: constructYamlSet
2112
+ });
2113
+ },
2114
+ 501: (e, t, r)=>{
2115
+ var i = r(313);
2116
+ e.exports = new i("tag:yaml.org,2002:str", {
2117
+ kind: "scalar",
2118
+ construct: function(e) {
2119
+ return null !== e ? e : "";
2120
+ }
2121
+ });
2122
+ },
2123
+ 98: (e, t, r)=>{
2124
+ var i = r(313);
2125
+ var n = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
2126
+ var a = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
2127
+ function resolveYamlTimestamp(e) {
2128
+ if (null === e) return false;
2129
+ if (null !== n.exec(e)) return true;
2130
+ if (null !== a.exec(e)) return true;
2131
+ return false;
2132
+ }
2133
+ function constructYamlTimestamp(e) {
2134
+ var t, r, i, o, l, s, c, u = 0, p = null, f, d, h;
2135
+ t = n.exec(e);
2136
+ if (null === t) t = a.exec(e);
2137
+ if (null === t) throw new Error("Date resolve error");
2138
+ r = +t[1];
2139
+ i = t[2] - 1;
2140
+ o = +t[3];
2141
+ if (!t[4]) return new Date(Date.UTC(r, i, o));
2142
+ l = +t[4];
2143
+ s = +t[5];
2144
+ c = +t[6];
2145
+ if (t[7]) {
2146
+ u = t[7].slice(0, 3);
2147
+ while(u.length < 3)u += "0";
2148
+ u *= 1;
2149
+ }
2150
+ if (t[9]) {
2151
+ f = +t[10];
2152
+ d = +(t[11] || 0);
2153
+ p = (60 * f + d) * 6e4;
2154
+ if ("-" === t[9]) p = -p;
2155
+ }
2156
+ h = new Date(Date.UTC(r, i, o, l, s, c, u));
2157
+ if (p) h.setTime(h.getTime() - p);
2158
+ return h;
2159
+ }
2160
+ function representYamlTimestamp(e) {
2161
+ return e.toISOString();
2162
+ }
2163
+ e.exports = new i("tag:yaml.org,2002:timestamp", {
2164
+ kind: "scalar",
2165
+ resolve: resolveYamlTimestamp,
2166
+ construct: constructYamlTimestamp,
2167
+ instanceOf: Date,
2168
+ represent: representYamlTimestamp
2169
+ });
2170
+ }
2171
+ };
2172
+ var t = {};
2173
+ function __nccwpck_require__(r) {
2174
+ var i = t[r];
2175
+ if (void 0 !== i) return i.exports;
2176
+ var n = t[r] = {
2177
+ exports: {}
2178
+ };
2179
+ var a = true;
2180
+ try {
2181
+ e[r](n, n.exports, __nccwpck_require__);
2182
+ a = false;
2183
+ } finally{
2184
+ if (a) delete t[r];
2185
+ }
2186
+ return n.exports;
2187
+ }
2188
+ if (void 0 !== __nccwpck_require__) __nccwpck_require__.ab = __dirname + "/";
2189
+ var r = __nccwpck_require__(309);
2190
+ module.exports = r;
2191
+ })();