flucto 1.17.0 → 1.18.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 (1419) hide show
  1. package/CHANGELOG.md +45 -1
  2. package/README.md +81 -9
  3. package/dist-electron/cli/args.js +0 -2
  4. package/dist-electron/cli/args.js.map +1 -1
  5. package/dist-electron/cli/index.js +8 -6
  6. package/dist-electron/cli/index.js.map +1 -1
  7. package/dist-electron/cli/output.js +1 -2
  8. package/dist-electron/cli/output.js.map +1 -1
  9. package/dist-electron/main/index.js +34 -217
  10. package/dist-electron/main/index.js.map +1 -1
  11. package/dist-electron/main/search/reddit.js.map +1 -1
  12. package/dist-electron/main/services/binaryInstaller.js +89 -27
  13. package/dist-electron/main/services/binaryInstaller.js.map +1 -1
  14. package/dist-electron/main/services/cliUpdater.js +102 -83
  15. package/dist-electron/main/services/cliUpdater.js.map +1 -1
  16. package/dist-electron/main/services/mediaDownload.js +20 -23
  17. package/dist-electron/main/services/mediaDownload.js.map +1 -1
  18. package/dist-electron/main/services/platformAssets.js +13 -39
  19. package/dist-electron/main/services/platformAssets.js.map +1 -1
  20. package/dist-electron/main/services/releaseDownload.js +101 -0
  21. package/dist-electron/main/services/releaseDownload.js.map +1 -0
  22. package/dist-electron/main/updater.js +193 -21
  23. package/dist-electron/main/updater.js.map +1 -1
  24. package/node_modules/adm-zip/LICENSE +21 -0
  25. package/node_modules/adm-zip/README.md +90 -0
  26. package/node_modules/adm-zip/adm-zip.js +1020 -0
  27. package/node_modules/adm-zip/headers/entryHeader.js +396 -0
  28. package/node_modules/adm-zip/headers/index.js +2 -0
  29. package/node_modules/adm-zip/headers/mainHeader.js +177 -0
  30. package/node_modules/adm-zip/methods/deflater.js +33 -0
  31. package/node_modules/adm-zip/methods/index.js +3 -0
  32. package/node_modules/adm-zip/methods/inflater.js +64 -0
  33. package/node_modules/adm-zip/methods/zipcrypto.js +175 -0
  34. package/node_modules/adm-zip/package.json +56 -0
  35. package/node_modules/adm-zip/types.d.ts +223 -0
  36. package/node_modules/adm-zip/util/constants.js +142 -0
  37. package/node_modules/adm-zip/util/decoder.js +5 -0
  38. package/node_modules/adm-zip/util/errors.js +66 -0
  39. package/node_modules/adm-zip/util/fattr.js +76 -0
  40. package/node_modules/adm-zip/util/index.js +5 -0
  41. package/node_modules/adm-zip/util/utils.js +481 -0
  42. package/node_modules/adm-zip/zipEntry.js +415 -0
  43. package/node_modules/adm-zip/zipFile.js +466 -0
  44. package/node_modules/ajv/.runkit_example.js +23 -0
  45. package/node_modules/ajv/LICENSE +22 -0
  46. package/node_modules/ajv/README.md +207 -0
  47. package/node_modules/ajv/dist/2019.d.ts +19 -0
  48. package/node_modules/ajv/dist/2019.js +61 -0
  49. package/node_modules/ajv/dist/2019.js.map +1 -0
  50. package/node_modules/ajv/dist/2020.d.ts +19 -0
  51. package/node_modules/ajv/dist/2020.js +55 -0
  52. package/node_modules/ajv/dist/2020.js.map +1 -0
  53. package/node_modules/ajv/dist/ajv.d.ts +18 -0
  54. package/node_modules/ajv/dist/ajv.js +50 -0
  55. package/node_modules/ajv/dist/ajv.js.map +1 -0
  56. package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
  57. package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  58. package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  59. package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  60. package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  61. package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  62. package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  63. package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  64. package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  65. package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
  66. package/node_modules/ajv/dist/compile/errors.js +123 -0
  67. package/node_modules/ajv/dist/compile/errors.js.map +1 -0
  68. package/node_modules/ajv/dist/compile/index.d.ts +80 -0
  69. package/node_modules/ajv/dist/compile/index.js +242 -0
  70. package/node_modules/ajv/dist/compile/index.js.map +1 -0
  71. package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  72. package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  73. package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  74. package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  75. package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
  76. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  77. package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  78. package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  79. package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  80. package/node_modules/ajv/dist/compile/names.d.ts +20 -0
  81. package/node_modules/ajv/dist/compile/names.js +28 -0
  82. package/node_modules/ajv/dist/compile/names.js.map +1 -0
  83. package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
  84. package/node_modules/ajv/dist/compile/ref_error.js +12 -0
  85. package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  86. package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  87. package/node_modules/ajv/dist/compile/resolve.js +155 -0
  88. package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  89. package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  90. package/node_modules/ajv/dist/compile/rules.js +26 -0
  91. package/node_modules/ajv/dist/compile/rules.js.map +1 -0
  92. package/node_modules/ajv/dist/compile/util.d.ts +40 -0
  93. package/node_modules/ajv/dist/compile/util.js +178 -0
  94. package/node_modules/ajv/dist/compile/util.js.map +1 -0
  95. package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  96. package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  97. package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  98. package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  99. package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  100. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  101. package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  102. package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  103. package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  104. package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  105. package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  106. package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  107. package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
  108. package/node_modules/ajv/dist/compile/validate/index.js +520 -0
  109. package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  110. package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
  111. package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  112. package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  113. package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
  114. package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  115. package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  116. package/node_modules/ajv/dist/core.d.ts +174 -0
  117. package/node_modules/ajv/dist/core.js +618 -0
  118. package/node_modules/ajv/dist/core.js.map +1 -0
  119. package/node_modules/ajv/dist/jtd.d.ts +47 -0
  120. package/node_modules/ajv/dist/jtd.js +72 -0
  121. package/node_modules/ajv/dist/jtd.js.map +1 -0
  122. package/node_modules/ajv/dist/refs/data.json +13 -0
  123. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  124. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  125. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  126. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  127. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  128. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  129. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  130. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  131. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  132. package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  133. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
  134. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  135. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
  136. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  137. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  138. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  139. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  140. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  141. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  142. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  143. package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  144. package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  145. package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  146. package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  147. package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  148. package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  149. package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  150. package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
  151. package/node_modules/ajv/dist/runtime/equal.js +7 -0
  152. package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  153. package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  154. package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
  155. package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  156. package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
  157. package/node_modules/ajv/dist/runtime/quote.js +30 -0
  158. package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  159. package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
  160. package/node_modules/ajv/dist/runtime/re2.js +6 -0
  161. package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
  162. package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
  163. package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  164. package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
  165. package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
  166. package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  167. package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  168. package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  169. package/node_modules/ajv/dist/runtime/uri.js +6 -0
  170. package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  171. package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
  172. package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  173. package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  174. package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
  175. package/node_modules/ajv/dist/standalone/index.js +90 -0
  176. package/node_modules/ajv/dist/standalone/index.js.map +1 -0
  177. package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  178. package/node_modules/ajv/dist/standalone/instance.js +35 -0
  179. package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  180. package/node_modules/ajv/dist/types/index.d.ts +183 -0
  181. package/node_modules/ajv/dist/types/index.js +3 -0
  182. package/node_modules/ajv/dist/types/index.js.map +1 -0
  183. package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
  184. package/node_modules/ajv/dist/types/json-schema.js +3 -0
  185. package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  186. package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
  187. package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  188. package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  189. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
  190. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  191. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  192. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  193. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  194. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  195. package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  196. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  197. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  198. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  199. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  200. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  201. package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  202. package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  203. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  204. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  205. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  206. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  207. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  208. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  209. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  210. package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  211. package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  212. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  213. package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  214. package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  215. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  216. package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
  217. package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  218. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  219. package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
  220. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  221. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  222. package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  223. package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  224. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  225. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  226. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  227. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  228. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  229. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  230. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  231. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
  232. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  233. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  234. package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  235. package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  236. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  237. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  238. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  239. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  240. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  241. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  242. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  243. package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  244. package/node_modules/ajv/dist/vocabularies/code.js +131 -0
  245. package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  246. package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  247. package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  248. package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  249. package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  250. package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  251. package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  252. package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  253. package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  254. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  255. package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
  256. package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  257. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  258. package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
  259. package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  260. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  261. package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
  262. package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  263. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
  264. package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  265. package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  266. package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  267. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  268. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  269. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  270. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  271. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  272. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  273. package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  274. package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  275. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  276. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  277. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  278. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  279. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  280. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  281. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  282. package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
  283. package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  284. package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  285. package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  286. package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  287. package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  288. package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  289. package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  290. package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  291. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
  292. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  293. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  294. package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
  295. package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  296. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  297. package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
  298. package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  299. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  300. package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
  301. package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  302. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
  303. package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
  304. package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  305. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  306. package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  307. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  308. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  309. package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  310. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  311. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  312. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  313. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  314. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  315. package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
  316. package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
  317. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  318. package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  319. package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  320. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  321. package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
  322. package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  323. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  324. package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  325. package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  326. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  327. package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
  328. package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
  329. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  330. package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  331. package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  332. package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  333. package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  334. package/node_modules/ajv/dist/vocabularies/next.js +8 -0
  335. package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  336. package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  337. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  338. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  339. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  340. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  341. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  342. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  343. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  344. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  345. package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  346. package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  347. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  348. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  349. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  350. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  351. package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  352. package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  353. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  354. package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  355. package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  356. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  357. package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  358. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  359. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  360. package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  361. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  362. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  363. package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  364. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  365. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  366. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  367. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  368. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  369. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  370. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  371. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  372. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  373. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  374. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  375. package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  376. package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
  377. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  378. package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  379. package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  380. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  381. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  382. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  383. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  384. package/node_modules/ajv/lib/2019.ts +81 -0
  385. package/node_modules/ajv/lib/2020.ts +75 -0
  386. package/node_modules/ajv/lib/ajv.ts +70 -0
  387. package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
  388. package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
  389. package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  390. package/node_modules/ajv/lib/compile/errors.ts +184 -0
  391. package/node_modules/ajv/lib/compile/index.ts +324 -0
  392. package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  393. package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
  394. package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  395. package/node_modules/ajv/lib/compile/names.ts +27 -0
  396. package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  397. package/node_modules/ajv/lib/compile/resolve.ts +149 -0
  398. package/node_modules/ajv/lib/compile/rules.ts +50 -0
  399. package/node_modules/ajv/lib/compile/util.ts +213 -0
  400. package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  401. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  402. package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
  403. package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  404. package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
  405. package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  406. package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  407. package/node_modules/ajv/lib/core.ts +892 -0
  408. package/node_modules/ajv/lib/jtd.ts +132 -0
  409. package/node_modules/ajv/lib/refs/data.json +13 -0
  410. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  411. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  412. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  413. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  414. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  415. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  416. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  417. package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  418. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  419. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  420. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  421. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  422. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  423. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  424. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  425. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  426. package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  427. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  428. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  429. package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  430. package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  431. package/node_modules/ajv/lib/runtime/equal.ts +7 -0
  432. package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
  433. package/node_modules/ajv/lib/runtime/quote.ts +31 -0
  434. package/node_modules/ajv/lib/runtime/re2.ts +6 -0
  435. package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  436. package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  437. package/node_modules/ajv/lib/runtime/uri.ts +6 -0
  438. package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  439. package/node_modules/ajv/lib/standalone/index.ts +100 -0
  440. package/node_modules/ajv/lib/standalone/instance.ts +36 -0
  441. package/node_modules/ajv/lib/types/index.ts +244 -0
  442. package/node_modules/ajv/lib/types/json-schema.ts +187 -0
  443. package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
  444. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  445. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  446. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  447. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  448. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  449. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  450. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  451. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  452. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  453. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  454. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  455. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  456. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  457. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  458. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  459. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  460. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  461. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  462. package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  463. package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  464. package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  465. package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  466. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
  467. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  468. package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  469. package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  470. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  471. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  472. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  473. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  474. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  475. package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  476. package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  477. package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  478. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  479. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  480. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  481. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  482. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  483. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  484. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  485. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  486. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
  487. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  488. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  489. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  490. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
  491. package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  492. package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  493. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  494. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  495. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  496. package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  497. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  498. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  499. package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  500. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  501. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  502. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  503. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  504. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  505. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  506. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
  507. package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  508. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  509. package/node_modules/ajv/package.json +126 -0
  510. package/node_modules/ajv-formats/LICENSE +21 -0
  511. package/node_modules/ajv-formats/README.md +125 -0
  512. package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
  513. package/node_modules/ajv-formats/dist/formats.js +208 -0
  514. package/node_modules/ajv-formats/dist/formats.js.map +1 -0
  515. package/node_modules/ajv-formats/dist/index.d.ts +15 -0
  516. package/node_modules/ajv-formats/dist/index.js +37 -0
  517. package/node_modules/ajv-formats/dist/index.js.map +1 -0
  518. package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
  519. package/node_modules/ajv-formats/dist/limit.js +69 -0
  520. package/node_modules/ajv-formats/dist/limit.js.map +1 -0
  521. package/node_modules/ajv-formats/package.json +74 -0
  522. package/node_modules/ajv-formats/src/formats.ts +269 -0
  523. package/node_modules/ajv-formats/src/index.ts +62 -0
  524. package/node_modules/ajv-formats/src/limit.ts +99 -0
  525. package/node_modules/argparse/LICENSE +254 -0
  526. package/node_modules/argparse/README.md +84 -0
  527. package/node_modules/argparse/argparse.js +3707 -0
  528. package/node_modules/argparse/lib/sub.js +67 -0
  529. package/node_modules/argparse/lib/textwrap.js +440 -0
  530. package/node_modules/argparse/package.json +31 -0
  531. package/node_modules/atomically/dist/constants.d.ts +15 -0
  532. package/node_modules/atomically/dist/constants.js +19 -0
  533. package/node_modules/atomically/dist/index.d.ts +15 -0
  534. package/node_modules/atomically/dist/index.js +209 -0
  535. package/node_modules/atomically/dist/types.d.ts +27 -0
  536. package/node_modules/atomically/dist/types.js +2 -0
  537. package/node_modules/atomically/dist/utils/lang.d.ts +6 -0
  538. package/node_modules/atomically/dist/utils/lang.js +16 -0
  539. package/node_modules/atomically/dist/utils/scheduler.d.ts +6 -0
  540. package/node_modules/atomically/dist/utils/scheduler.js +34 -0
  541. package/node_modules/atomically/dist/utils/temp.d.ts +11 -0
  542. package/node_modules/atomically/dist/utils/temp.js +59 -0
  543. package/node_modules/atomically/license +21 -0
  544. package/node_modules/atomically/package.json +42 -0
  545. package/node_modules/atomically/readme.md +147 -0
  546. package/node_modules/builder-util-runtime/LICENSE +22 -0
  547. package/node_modules/builder-util-runtime/out/CancellationToken.d.ts +17 -0
  548. package/node_modules/builder-util-runtime/out/CancellationToken.js +108 -0
  549. package/node_modules/builder-util-runtime/out/CancellationToken.js.map +1 -0
  550. package/node_modules/builder-util-runtime/out/MemoLazy.d.ts +10 -0
  551. package/node_modules/builder-util-runtime/out/MemoLazy.js +42 -0
  552. package/node_modules/builder-util-runtime/out/MemoLazy.js.map +1 -0
  553. package/node_modules/builder-util-runtime/out/ProgressCallbackTransform.d.ts +21 -0
  554. package/node_modules/builder-util-runtime/out/ProgressCallbackTransform.js +54 -0
  555. package/node_modules/builder-util-runtime/out/ProgressCallbackTransform.js.map +1 -0
  556. package/node_modules/builder-util-runtime/out/blockMapApi.d.ts +12 -0
  557. package/node_modules/builder-util-runtime/out/blockMapApi.js +3 -0
  558. package/node_modules/builder-util-runtime/out/blockMapApi.js.map +1 -0
  559. package/node_modules/builder-util-runtime/out/error.d.ts +1 -0
  560. package/node_modules/builder-util-runtime/out/error.js +9 -0
  561. package/node_modules/builder-util-runtime/out/error.js.map +1 -0
  562. package/node_modules/builder-util-runtime/out/httpExecutor.d.ts +86 -0
  563. package/node_modules/builder-util-runtime/out/httpExecutor.js +529 -0
  564. package/node_modules/builder-util-runtime/out/httpExecutor.js.map +1 -0
  565. package/node_modules/builder-util-runtime/out/index.d.ts +15 -0
  566. package/node_modules/builder-util-runtime/out/index.js +49 -0
  567. package/node_modules/builder-util-runtime/out/index.js.map +1 -0
  568. package/node_modules/builder-util-runtime/out/objects.d.ts +8 -0
  569. package/node_modules/builder-util-runtime/out/objects.js +106 -0
  570. package/node_modules/builder-util-runtime/out/objects.js.map +1 -0
  571. package/node_modules/builder-util-runtime/out/publishOptions.d.ts +396 -0
  572. package/node_modules/builder-util-runtime/out/publishOptions.js +76 -0
  573. package/node_modules/builder-util-runtime/out/publishOptions.js.map +1 -0
  574. package/node_modules/builder-util-runtime/out/retry.d.ts +9 -0
  575. package/node_modules/builder-util-runtime/out/retry.js +21 -0
  576. package/node_modules/builder-util-runtime/out/retry.js.map +1 -0
  577. package/node_modules/builder-util-runtime/out/rfc2253Parser.d.ts +1 -0
  578. package/node_modules/builder-util-runtime/out/rfc2253Parser.js +80 -0
  579. package/node_modules/builder-util-runtime/out/rfc2253Parser.js.map +1 -0
  580. package/node_modules/builder-util-runtime/out/updateInfo.d.ts +76 -0
  581. package/node_modules/builder-util-runtime/out/updateInfo.js +3 -0
  582. package/node_modules/builder-util-runtime/out/updateInfo.js.map +1 -0
  583. package/node_modules/builder-util-runtime/out/uuid.d.ts +21 -0
  584. package/node_modules/builder-util-runtime/out/uuid.js +200 -0
  585. package/node_modules/builder-util-runtime/out/uuid.js.map +1 -0
  586. package/node_modules/builder-util-runtime/out/xml.d.ts +15 -0
  587. package/node_modules/builder-util-runtime/out/xml.js +109 -0
  588. package/node_modules/builder-util-runtime/out/xml.js.map +1 -0
  589. package/node_modules/builder-util-runtime/package.json +29 -0
  590. package/node_modules/builder-util-runtime/readme.md +3 -0
  591. package/node_modules/conf/dist/source/index.d.ts +135 -0
  592. package/node_modules/conf/dist/source/index.js +672 -0
  593. package/node_modules/conf/dist/source/types.d.ts +311 -0
  594. package/node_modules/conf/dist/source/types.js +1 -0
  595. package/node_modules/conf/license +9 -0
  596. package/node_modules/conf/node_modules/semver/LICENSE +15 -0
  597. package/node_modules/conf/node_modules/semver/README.md +680 -0
  598. package/node_modules/conf/node_modules/semver/bin/semver.js +195 -0
  599. package/node_modules/conf/node_modules/semver/classes/comparator.js +143 -0
  600. package/node_modules/conf/node_modules/semver/classes/index.js +7 -0
  601. package/node_modules/conf/node_modules/semver/classes/range.js +577 -0
  602. package/node_modules/conf/node_modules/semver/classes/semver.js +350 -0
  603. package/node_modules/conf/node_modules/semver/functions/clean.js +8 -0
  604. package/node_modules/conf/node_modules/semver/functions/cmp.js +54 -0
  605. package/node_modules/conf/node_modules/semver/functions/coerce.js +62 -0
  606. package/node_modules/conf/node_modules/semver/functions/compare-build.js +9 -0
  607. package/node_modules/conf/node_modules/semver/functions/compare-loose.js +5 -0
  608. package/node_modules/conf/node_modules/semver/functions/compare.js +7 -0
  609. package/node_modules/conf/node_modules/semver/functions/diff.js +60 -0
  610. package/node_modules/conf/node_modules/semver/functions/eq.js +5 -0
  611. package/node_modules/conf/node_modules/semver/functions/gt.js +5 -0
  612. package/node_modules/conf/node_modules/semver/functions/gte.js +5 -0
  613. package/node_modules/conf/node_modules/semver/functions/inc.js +21 -0
  614. package/node_modules/conf/node_modules/semver/functions/lt.js +5 -0
  615. package/node_modules/conf/node_modules/semver/functions/lte.js +5 -0
  616. package/node_modules/conf/node_modules/semver/functions/major.js +5 -0
  617. package/node_modules/conf/node_modules/semver/functions/minor.js +5 -0
  618. package/node_modules/conf/node_modules/semver/functions/neq.js +5 -0
  619. package/node_modules/conf/node_modules/semver/functions/parse.js +18 -0
  620. package/node_modules/conf/node_modules/semver/functions/patch.js +5 -0
  621. package/node_modules/conf/node_modules/semver/functions/prerelease.js +8 -0
  622. package/node_modules/conf/node_modules/semver/functions/rcompare.js +5 -0
  623. package/node_modules/conf/node_modules/semver/functions/rsort.js +5 -0
  624. package/node_modules/conf/node_modules/semver/functions/satisfies.js +12 -0
  625. package/node_modules/conf/node_modules/semver/functions/sort.js +5 -0
  626. package/node_modules/conf/node_modules/semver/functions/truncate.js +48 -0
  627. package/node_modules/conf/node_modules/semver/functions/valid.js +8 -0
  628. package/node_modules/conf/node_modules/semver/index.js +93 -0
  629. package/node_modules/conf/node_modules/semver/internal/constants.js +37 -0
  630. package/node_modules/conf/node_modules/semver/internal/debug.js +11 -0
  631. package/node_modules/conf/node_modules/semver/internal/identifiers.js +29 -0
  632. package/node_modules/conf/node_modules/semver/internal/lrucache.js +42 -0
  633. package/node_modules/conf/node_modules/semver/internal/parse-options.js +17 -0
  634. package/node_modules/conf/node_modules/semver/internal/re.js +223 -0
  635. package/node_modules/conf/node_modules/semver/package.json +78 -0
  636. package/node_modules/conf/node_modules/semver/preload.js +4 -0
  637. package/node_modules/conf/node_modules/semver/range.bnf +17 -0
  638. package/node_modules/conf/node_modules/semver/ranges/gtr.js +6 -0
  639. package/node_modules/conf/node_modules/semver/ranges/intersects.js +9 -0
  640. package/node_modules/conf/node_modules/semver/ranges/ltr.js +6 -0
  641. package/node_modules/conf/node_modules/semver/ranges/max-satisfying.js +27 -0
  642. package/node_modules/conf/node_modules/semver/ranges/min-satisfying.js +26 -0
  643. package/node_modules/conf/node_modules/semver/ranges/min-version.js +63 -0
  644. package/node_modules/conf/node_modules/semver/ranges/outside.js +82 -0
  645. package/node_modules/conf/node_modules/semver/ranges/simplify.js +49 -0
  646. package/node_modules/conf/node_modules/semver/ranges/subset.js +249 -0
  647. package/node_modules/conf/node_modules/semver/ranges/to-comparators.js +10 -0
  648. package/node_modules/conf/node_modules/semver/ranges/valid.js +13 -0
  649. package/node_modules/conf/package.json +82 -0
  650. package/node_modules/conf/readme.md +599 -0
  651. package/node_modules/debounce-fn/index.d.ts +79 -0
  652. package/node_modules/debounce-fn/index.js +88 -0
  653. package/node_modules/debounce-fn/license +9 -0
  654. package/node_modules/debounce-fn/package.json +48 -0
  655. package/node_modules/debounce-fn/readme.md +73 -0
  656. package/node_modules/debug/LICENSE +20 -0
  657. package/node_modules/debug/README.md +481 -0
  658. package/node_modules/debug/package.json +64 -0
  659. package/node_modules/debug/src/browser.js +272 -0
  660. package/node_modules/debug/src/common.js +292 -0
  661. package/node_modules/debug/src/index.js +10 -0
  662. package/node_modules/debug/src/node.js +263 -0
  663. package/node_modules/dot-prop/index.d.ts +262 -0
  664. package/node_modules/dot-prop/index.js +551 -0
  665. package/node_modules/dot-prop/license +9 -0
  666. package/node_modules/dot-prop/package.json +58 -0
  667. package/node_modules/dot-prop/readme.md +312 -0
  668. package/node_modules/dotenv/CHANGELOG.md +643 -0
  669. package/node_modules/dotenv/LICENSE +23 -0
  670. package/node_modules/dotenv/README-es.md +757 -0
  671. package/node_modules/dotenv/README.md +812 -0
  672. package/node_modules/dotenv/SECURITY.md +1 -0
  673. package/node_modules/dotenv/config.d.ts +1 -0
  674. package/node_modules/dotenv/config.js +9 -0
  675. package/node_modules/dotenv/lib/cli-options.js +17 -0
  676. package/node_modules/dotenv/lib/env-options.js +28 -0
  677. package/node_modules/dotenv/lib/main.d.ts +179 -0
  678. package/node_modules/dotenv/lib/main.js +423 -0
  679. package/node_modules/dotenv/package.json +62 -0
  680. package/node_modules/dotenv/skills/dotenv/SKILL.md +200 -0
  681. package/node_modules/dotenv/skills/dotenvx/SKILL.md +118 -0
  682. package/node_modules/electron-store/index.d.ts +64 -0
  683. package/node_modules/electron-store/index.js +83 -0
  684. package/node_modules/electron-store/license +9 -0
  685. package/node_modules/electron-store/package.json +72 -0
  686. package/node_modules/electron-store/readme.md +482 -0
  687. package/node_modules/electron-updater/LICENSE +22 -0
  688. package/node_modules/electron-updater/README.md +15 -0
  689. package/node_modules/electron-updater/node_modules/fs-extra/LICENSE +15 -0
  690. package/node_modules/electron-updater/node_modules/fs-extra/README.md +262 -0
  691. package/node_modules/electron-updater/node_modules/fs-extra/lib/copy/copy-sync.js +169 -0
  692. package/node_modules/electron-updater/node_modules/fs-extra/lib/copy/copy.js +235 -0
  693. package/node_modules/electron-updater/node_modules/fs-extra/lib/copy/index.js +7 -0
  694. package/node_modules/electron-updater/node_modules/fs-extra/lib/empty/index.js +39 -0
  695. package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/file.js +69 -0
  696. package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/index.js +23 -0
  697. package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/link.js +64 -0
  698. package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/symlink-paths.js +99 -0
  699. package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/symlink-type.js +31 -0
  700. package/node_modules/electron-updater/node_modules/fs-extra/lib/ensure/symlink.js +82 -0
  701. package/node_modules/electron-updater/node_modules/fs-extra/lib/fs/index.js +128 -0
  702. package/node_modules/electron-updater/node_modules/fs-extra/lib/index.js +16 -0
  703. package/node_modules/electron-updater/node_modules/fs-extra/lib/json/index.js +16 -0
  704. package/node_modules/electron-updater/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
  705. package/node_modules/electron-updater/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
  706. package/node_modules/electron-updater/node_modules/fs-extra/lib/json/output-json.js +12 -0
  707. package/node_modules/electron-updater/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
  708. package/node_modules/electron-updater/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
  709. package/node_modules/electron-updater/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
  710. package/node_modules/electron-updater/node_modules/fs-extra/lib/move/index.js +7 -0
  711. package/node_modules/electron-updater/node_modules/fs-extra/lib/move/move-sync.js +54 -0
  712. package/node_modules/electron-updater/node_modules/fs-extra/lib/move/move.js +75 -0
  713. package/node_modules/electron-updater/node_modules/fs-extra/lib/output-file/index.js +40 -0
  714. package/node_modules/electron-updater/node_modules/fs-extra/lib/path-exists/index.js +12 -0
  715. package/node_modules/electron-updater/node_modules/fs-extra/lib/remove/index.js +22 -0
  716. package/node_modules/electron-updater/node_modules/fs-extra/lib/remove/rimraf.js +302 -0
  717. package/node_modules/electron-updater/node_modules/fs-extra/lib/util/stat.js +154 -0
  718. package/node_modules/electron-updater/node_modules/fs-extra/lib/util/utimes.js +26 -0
  719. package/node_modules/electron-updater/node_modules/fs-extra/package.json +67 -0
  720. package/node_modules/electron-updater/node_modules/semver/LICENSE +15 -0
  721. package/node_modules/electron-updater/node_modules/semver/README.md +665 -0
  722. package/node_modules/electron-updater/node_modules/semver/bin/semver.js +191 -0
  723. package/node_modules/electron-updater/node_modules/semver/classes/comparator.js +143 -0
  724. package/node_modules/electron-updater/node_modules/semver/classes/index.js +7 -0
  725. package/node_modules/electron-updater/node_modules/semver/classes/range.js +557 -0
  726. package/node_modules/electron-updater/node_modules/semver/classes/semver.js +333 -0
  727. package/node_modules/electron-updater/node_modules/semver/functions/clean.js +8 -0
  728. package/node_modules/electron-updater/node_modules/semver/functions/cmp.js +54 -0
  729. package/node_modules/electron-updater/node_modules/semver/functions/coerce.js +62 -0
  730. package/node_modules/electron-updater/node_modules/semver/functions/compare-build.js +9 -0
  731. package/node_modules/electron-updater/node_modules/semver/functions/compare-loose.js +5 -0
  732. package/node_modules/electron-updater/node_modules/semver/functions/compare.js +7 -0
  733. package/node_modules/electron-updater/node_modules/semver/functions/diff.js +60 -0
  734. package/node_modules/electron-updater/node_modules/semver/functions/eq.js +5 -0
  735. package/node_modules/electron-updater/node_modules/semver/functions/gt.js +5 -0
  736. package/node_modules/electron-updater/node_modules/semver/functions/gte.js +5 -0
  737. package/node_modules/electron-updater/node_modules/semver/functions/inc.js +21 -0
  738. package/node_modules/electron-updater/node_modules/semver/functions/lt.js +5 -0
  739. package/node_modules/electron-updater/node_modules/semver/functions/lte.js +5 -0
  740. package/node_modules/electron-updater/node_modules/semver/functions/major.js +5 -0
  741. package/node_modules/electron-updater/node_modules/semver/functions/minor.js +5 -0
  742. package/node_modules/electron-updater/node_modules/semver/functions/neq.js +5 -0
  743. package/node_modules/electron-updater/node_modules/semver/functions/parse.js +18 -0
  744. package/node_modules/electron-updater/node_modules/semver/functions/patch.js +5 -0
  745. package/node_modules/electron-updater/node_modules/semver/functions/prerelease.js +8 -0
  746. package/node_modules/electron-updater/node_modules/semver/functions/rcompare.js +5 -0
  747. package/node_modules/electron-updater/node_modules/semver/functions/rsort.js +5 -0
  748. package/node_modules/electron-updater/node_modules/semver/functions/satisfies.js +12 -0
  749. package/node_modules/electron-updater/node_modules/semver/functions/sort.js +5 -0
  750. package/node_modules/electron-updater/node_modules/semver/functions/valid.js +8 -0
  751. package/node_modules/electron-updater/node_modules/semver/index.js +91 -0
  752. package/node_modules/electron-updater/node_modules/semver/internal/constants.js +37 -0
  753. package/node_modules/electron-updater/node_modules/semver/internal/debug.js +11 -0
  754. package/node_modules/electron-updater/node_modules/semver/internal/identifiers.js +29 -0
  755. package/node_modules/electron-updater/node_modules/semver/internal/lrucache.js +42 -0
  756. package/node_modules/electron-updater/node_modules/semver/internal/parse-options.js +17 -0
  757. package/node_modules/electron-updater/node_modules/semver/internal/re.js +223 -0
  758. package/node_modules/electron-updater/node_modules/semver/package.json +78 -0
  759. package/node_modules/electron-updater/node_modules/semver/preload.js +4 -0
  760. package/node_modules/electron-updater/node_modules/semver/range.bnf +16 -0
  761. package/node_modules/electron-updater/node_modules/semver/ranges/gtr.js +6 -0
  762. package/node_modules/electron-updater/node_modules/semver/ranges/intersects.js +9 -0
  763. package/node_modules/electron-updater/node_modules/semver/ranges/ltr.js +6 -0
  764. package/node_modules/electron-updater/node_modules/semver/ranges/max-satisfying.js +27 -0
  765. package/node_modules/electron-updater/node_modules/semver/ranges/min-satisfying.js +26 -0
  766. package/node_modules/electron-updater/node_modules/semver/ranges/min-version.js +63 -0
  767. package/node_modules/electron-updater/node_modules/semver/ranges/outside.js +82 -0
  768. package/node_modules/electron-updater/node_modules/semver/ranges/simplify.js +49 -0
  769. package/node_modules/electron-updater/node_modules/semver/ranges/subset.js +249 -0
  770. package/node_modules/electron-updater/node_modules/semver/ranges/to-comparators.js +10 -0
  771. package/node_modules/electron-updater/node_modules/semver/ranges/valid.js +13 -0
  772. package/node_modules/electron-updater/out/AppAdapter.d.ts +22 -0
  773. package/node_modules/electron-updater/out/AppAdapter.js +21 -0
  774. package/node_modules/electron-updater/out/AppAdapter.js.map +1 -0
  775. package/node_modules/electron-updater/out/AppImageUpdater.d.ts +11 -0
  776. package/node_modules/electron-updater/out/AppImageUpdater.js +118 -0
  777. package/node_modules/electron-updater/out/AppImageUpdater.js.map +1 -0
  778. package/node_modules/electron-updater/out/AppUpdater.d.ts +241 -0
  779. package/node_modules/electron-updater/out/AppUpdater.js +735 -0
  780. package/node_modules/electron-updater/out/AppUpdater.js.map +1 -0
  781. package/node_modules/electron-updater/out/BaseUpdater.d.ts +33 -0
  782. package/node_modules/electron-updater/out/BaseUpdater.js +150 -0
  783. package/node_modules/electron-updater/out/BaseUpdater.js.map +1 -0
  784. package/node_modules/electron-updater/out/DebUpdater.d.ts +13 -0
  785. package/node_modules/electron-updater/out/DebUpdater.js +84 -0
  786. package/node_modules/electron-updater/out/DebUpdater.js.map +1 -0
  787. package/node_modules/electron-updater/out/DownloadedUpdateHelper.d.ts +35 -0
  788. package/node_modules/electron-updater/out/DownloadedUpdateHelper.js +169 -0
  789. package/node_modules/electron-updater/out/DownloadedUpdateHelper.js.map +1 -0
  790. package/node_modules/electron-updater/out/ElectronAppAdapter.d.ts +15 -0
  791. package/node_modules/electron-updater/out/ElectronAppAdapter.js +42 -0
  792. package/node_modules/electron-updater/out/ElectronAppAdapter.js.map +1 -0
  793. package/node_modules/electron-updater/out/LinuxUpdater.d.ts +29 -0
  794. package/node_modules/electron-updater/out/LinuxUpdater.js +119 -0
  795. package/node_modules/electron-updater/out/LinuxUpdater.js.map +1 -0
  796. package/node_modules/electron-updater/out/MacUpdater.d.ts +20 -0
  797. package/node_modules/electron-updater/out/MacUpdater.js +259 -0
  798. package/node_modules/electron-updater/out/MacUpdater.js.map +1 -0
  799. package/node_modules/electron-updater/out/NsisUpdater.d.ts +25 -0
  800. package/node_modules/electron-updater/out/NsisUpdater.js +178 -0
  801. package/node_modules/electron-updater/out/NsisUpdater.js.map +1 -0
  802. package/node_modules/electron-updater/out/PacmanUpdater.d.ts +13 -0
  803. package/node_modules/electron-updater/out/PacmanUpdater.js +67 -0
  804. package/node_modules/electron-updater/out/PacmanUpdater.js.map +1 -0
  805. package/node_modules/electron-updater/out/RpmUpdater.d.ts +13 -0
  806. package/node_modules/electron-updater/out/RpmUpdater.js +65 -0
  807. package/node_modules/electron-updater/out/RpmUpdater.js.map +1 -0
  808. package/node_modules/electron-updater/out/differentialDownloader/DataSplitter.d.ts +39 -0
  809. package/node_modules/electron-updater/out/differentialDownloader/DataSplitter.js +229 -0
  810. package/node_modules/electron-updater/out/differentialDownloader/DataSplitter.js.map +1 -0
  811. package/node_modules/electron-updater/out/differentialDownloader/DifferentialDownloader.d.ts +30 -0
  812. package/node_modules/electron-updater/out/differentialDownloader/DifferentialDownloader.js +268 -0
  813. package/node_modules/electron-updater/out/differentialDownloader/DifferentialDownloader.js.map +1 -0
  814. package/node_modules/electron-updater/out/differentialDownloader/FileWithEmbeddedBlockMapDifferentialDownloader.d.ts +4 -0
  815. package/node_modules/electron-updater/out/differentialDownloader/FileWithEmbeddedBlockMapDifferentialDownloader.js +37 -0
  816. package/node_modules/electron-updater/out/differentialDownloader/FileWithEmbeddedBlockMapDifferentialDownloader.js.map +1 -0
  817. package/node_modules/electron-updater/out/differentialDownloader/GenericDifferentialDownloader.d.ts +5 -0
  818. package/node_modules/electron-updater/out/differentialDownloader/GenericDifferentialDownloader.js +11 -0
  819. package/node_modules/electron-updater/out/differentialDownloader/GenericDifferentialDownloader.js.map +1 -0
  820. package/node_modules/electron-updater/out/differentialDownloader/ProgressDifferentialDownloadCallbackTransform.d.ts +31 -0
  821. package/node_modules/electron-updater/out/differentialDownloader/ProgressDifferentialDownloadCallbackTransform.js +90 -0
  822. package/node_modules/electron-updater/out/differentialDownloader/ProgressDifferentialDownloadCallbackTransform.js.map +1 -0
  823. package/node_modules/electron-updater/out/differentialDownloader/downloadPlanBuilder.d.ts +12 -0
  824. package/node_modules/electron-updater/out/differentialDownloader/downloadPlanBuilder.js +113 -0
  825. package/node_modules/electron-updater/out/differentialDownloader/downloadPlanBuilder.js.map +1 -0
  826. package/node_modules/electron-updater/out/differentialDownloader/multipleRangeDownloader.d.ts +6 -0
  827. package/node_modules/electron-updater/out/differentialDownloader/multipleRangeDownloader.js +114 -0
  828. package/node_modules/electron-updater/out/differentialDownloader/multipleRangeDownloader.js.map +1 -0
  829. package/node_modules/electron-updater/out/electronHttpExecutor.d.ts +16 -0
  830. package/node_modules/electron-updater/out/electronHttpExecutor.js +79 -0
  831. package/node_modules/electron-updater/out/electronHttpExecutor.js.map +1 -0
  832. package/node_modules/electron-updater/out/main.d.ts +19 -0
  833. package/node_modules/electron-updater/out/main.js +84 -0
  834. package/node_modules/electron-updater/out/main.js.map +1 -0
  835. package/node_modules/electron-updater/out/providerFactory.d.ts +5 -0
  836. package/node_modules/electron-updater/out/providerFactory.js +68 -0
  837. package/node_modules/electron-updater/out/providerFactory.js.map +1 -0
  838. package/node_modules/electron-updater/out/providers/BitbucketProvider.d.ts +14 -0
  839. package/node_modules/electron-updater/out/providers/BitbucketProvider.js +42 -0
  840. package/node_modules/electron-updater/out/providers/BitbucketProvider.js.map +1 -0
  841. package/node_modules/electron-updater/out/providers/GenericProvider.d.ts +13 -0
  842. package/node_modules/electron-updater/out/providers/GenericProvider.js +51 -0
  843. package/node_modules/electron-updater/out/providers/GenericProvider.js.map +1 -0
  844. package/node_modules/electron-updater/out/providers/GitHubProvider.d.ts +29 -0
  845. package/node_modules/electron-updater/out/providers/GitHubProvider.js +237 -0
  846. package/node_modules/electron-updater/out/providers/GitHubProvider.js.map +1 -0
  847. package/node_modules/electron-updater/out/providers/GitLabProvider.d.ts +58 -0
  848. package/node_modules/electron-updater/out/providers/GitLabProvider.js +281 -0
  849. package/node_modules/electron-updater/out/providers/GitLabProvider.js.map +1 -0
  850. package/node_modules/electron-updater/out/providers/KeygenProvider.d.ts +15 -0
  851. package/node_modules/electron-updater/out/providers/KeygenProvider.js +46 -0
  852. package/node_modules/electron-updater/out/providers/KeygenProvider.js.map +1 -0
  853. package/node_modules/electron-updater/out/providers/PrivateGitHubProvider.d.ts +26 -0
  854. package/node_modules/electron-updater/out/providers/PrivateGitHubProvider.js +95 -0
  855. package/node_modules/electron-updater/out/providers/PrivateGitHubProvider.js.map +1 -0
  856. package/node_modules/electron-updater/out/providers/Provider.d.ts +35 -0
  857. package/node_modules/electron-updater/out/providers/Provider.js +146 -0
  858. package/node_modules/electron-updater/out/providers/Provider.js.map +1 -0
  859. package/node_modules/electron-updater/out/types.d.ts +43 -0
  860. package/node_modules/electron-updater/out/types.js +42 -0
  861. package/node_modules/electron-updater/out/types.js.map +1 -0
  862. package/node_modules/electron-updater/out/util.d.ts +3 -0
  863. package/node_modules/electron-updater/out/util.js +33 -0
  864. package/node_modules/electron-updater/out/util.js.map +1 -0
  865. package/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.d.ts +2 -0
  866. package/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.js +142 -0
  867. package/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.js.map +1 -0
  868. package/node_modules/electron-updater/package.json +40 -0
  869. package/node_modules/env-paths/index.d.ts +90 -0
  870. package/node_modules/env-paths/index.js +68 -0
  871. package/node_modules/env-paths/license +9 -0
  872. package/node_modules/env-paths/package.json +48 -0
  873. package/node_modules/env-paths/readme.md +113 -0
  874. package/node_modules/fast-deep-equal/LICENSE +21 -0
  875. package/node_modules/fast-deep-equal/README.md +96 -0
  876. package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
  877. package/node_modules/fast-deep-equal/es6/index.js +72 -0
  878. package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
  879. package/node_modules/fast-deep-equal/es6/react.js +79 -0
  880. package/node_modules/fast-deep-equal/index.d.ts +4 -0
  881. package/node_modules/fast-deep-equal/index.js +46 -0
  882. package/node_modules/fast-deep-equal/package.json +61 -0
  883. package/node_modules/fast-deep-equal/react.d.ts +2 -0
  884. package/node_modules/fast-deep-equal/react.js +53 -0
  885. package/node_modules/fast-uri/.gitattributes +2 -0
  886. package/node_modules/fast-uri/.github/dependabot.yml +13 -0
  887. package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
  888. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
  889. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
  890. package/node_modules/fast-uri/LICENSE +30 -0
  891. package/node_modules/fast-uri/README.md +152 -0
  892. package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
  893. package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
  894. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
  895. package/node_modules/fast-uri/benchmark/package.json +17 -0
  896. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
  897. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
  898. package/node_modules/fast-uri/eslint.config.js +6 -0
  899. package/node_modules/fast-uri/index.js +631 -0
  900. package/node_modules/fast-uri/lib/schemes.js +272 -0
  901. package/node_modules/fast-uri/lib/utils.js +747 -0
  902. package/node_modules/fast-uri/package.json +68 -0
  903. package/node_modules/fast-uri/test/ajv.test.js +43 -0
  904. package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
  905. package/node_modules/fast-uri/test/equal.test.js +145 -0
  906. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
  907. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
  908. package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
  909. package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
  910. package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
  911. package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
  912. package/node_modules/fast-uri/test/parse.test.js +327 -0
  913. package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
  914. package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
  915. package/node_modules/fast-uri/test/resolve.test.js +87 -0
  916. package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
  917. package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
  918. package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
  919. package/node_modules/fast-uri/test/security.test.js +431 -0
  920. package/node_modules/fast-uri/test/serialize.test.js +151 -0
  921. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
  922. package/node_modules/fast-uri/test/uri-js.test.js +912 -0
  923. package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
  924. package/node_modules/fast-uri/test/util.test.js +38 -0
  925. package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
  926. package/node_modules/fast-uri/tsconfig.json +9 -0
  927. package/node_modules/fast-uri/types/index.d.ts +60 -0
  928. package/node_modules/fast-uri/types/index.test-d.ts +17 -0
  929. package/node_modules/graceful-fs/LICENSE +15 -0
  930. package/node_modules/graceful-fs/README.md +143 -0
  931. package/node_modules/graceful-fs/clone.js +23 -0
  932. package/node_modules/graceful-fs/graceful-fs.js +448 -0
  933. package/node_modules/graceful-fs/legacy-streams.js +118 -0
  934. package/node_modules/graceful-fs/package.json +53 -0
  935. package/node_modules/graceful-fs/polyfills.js +355 -0
  936. package/node_modules/js-yaml/LICENSE +21 -0
  937. package/node_modules/js-yaml/README.md +233 -0
  938. package/node_modules/js-yaml/bin/js-yaml.js +117 -0
  939. package/node_modules/js-yaml/dist/js-yaml.js +3022 -0
  940. package/node_modules/js-yaml/dist/js-yaml.js.map +1 -0
  941. package/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
  942. package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -0
  943. package/node_modules/js-yaml/dist/js-yaml.mjs +3082 -0
  944. package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -0
  945. package/node_modules/js-yaml/index.js +44 -0
  946. package/node_modules/js-yaml/lib/common.js +50 -0
  947. package/node_modules/js-yaml/lib/dumper.js +937 -0
  948. package/node_modules/js-yaml/lib/exception.js +51 -0
  949. package/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +37 -0
  950. package/node_modules/js-yaml/lib/loader.js +1803 -0
  951. package/node_modules/js-yaml/lib/schema/core.js +9 -0
  952. package/node_modules/js-yaml/lib/schema/default.js +20 -0
  953. package/node_modules/js-yaml/lib/schema/failsafe.js +14 -0
  954. package/node_modules/js-yaml/lib/schema/json.js +17 -0
  955. package/node_modules/js-yaml/lib/schema.js +109 -0
  956. package/node_modules/js-yaml/lib/snippet.js +96 -0
  957. package/node_modules/js-yaml/lib/type/binary.js +122 -0
  958. package/node_modules/js-yaml/lib/type/bool.js +35 -0
  959. package/node_modules/js-yaml/lib/type/float.js +99 -0
  960. package/node_modules/js-yaml/lib/type/int.js +142 -0
  961. package/node_modules/js-yaml/lib/type/map.js +8 -0
  962. package/node_modules/js-yaml/lib/type/merge.js +12 -0
  963. package/node_modules/js-yaml/lib/type/null.js +35 -0
  964. package/node_modules/js-yaml/lib/type/omap.js +45 -0
  965. package/node_modules/js-yaml/lib/type/pairs.js +50 -0
  966. package/node_modules/js-yaml/lib/type/seq.js +8 -0
  967. package/node_modules/js-yaml/lib/type/set.js +29 -0
  968. package/node_modules/js-yaml/lib/type/str.js +8 -0
  969. package/node_modules/js-yaml/lib/type/timestamp.js +88 -0
  970. package/node_modules/js-yaml/lib/type.js +66 -0
  971. package/node_modules/js-yaml/package.json +83 -0
  972. package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  973. package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
  974. package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
  975. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
  976. package/node_modules/json-schema-traverse/LICENSE +21 -0
  977. package/node_modules/json-schema-traverse/README.md +95 -0
  978. package/node_modules/json-schema-traverse/index.d.ts +40 -0
  979. package/node_modules/json-schema-traverse/index.js +93 -0
  980. package/node_modules/json-schema-traverse/package.json +43 -0
  981. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  982. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  983. package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  984. package/node_modules/json-schema-typed/LICENSE.md +57 -0
  985. package/node_modules/json-schema-typed/README.md +108 -0
  986. package/node_modules/json-schema-typed/draft_07.d.ts +882 -0
  987. package/node_modules/json-schema-typed/draft_07.js +328 -0
  988. package/node_modules/json-schema-typed/draft_2019_09.d.ts +1247 -0
  989. package/node_modules/json-schema-typed/draft_2019_09.js +349 -0
  990. package/node_modules/json-schema-typed/draft_2020_12.d.ts +1239 -0
  991. package/node_modules/json-schema-typed/draft_2020_12.js +352 -0
  992. package/node_modules/json-schema-typed/package.json +44 -0
  993. package/node_modules/jsonfile/LICENSE +15 -0
  994. package/node_modules/jsonfile/README.md +230 -0
  995. package/node_modules/jsonfile/index.js +88 -0
  996. package/node_modules/jsonfile/package.json +40 -0
  997. package/node_modules/jsonfile/utils.js +18 -0
  998. package/node_modules/lazy-val/out/main.d.ts +7 -0
  999. package/node_modules/lazy-val/out/main.js +26 -0
  1000. package/node_modules/lazy-val/out/main.js.map +1 -0
  1001. package/node_modules/lazy-val/package.json +21 -0
  1002. package/node_modules/lazy-val/readme.md +11 -0
  1003. package/node_modules/lodash.escaperegexp/LICENSE +47 -0
  1004. package/node_modules/lodash.escaperegexp/README.md +18 -0
  1005. package/node_modules/lodash.escaperegexp/index.js +166 -0
  1006. package/node_modules/lodash.escaperegexp/package.json +17 -0
  1007. package/node_modules/lodash.isequal/LICENSE +47 -0
  1008. package/node_modules/lodash.isequal/README.md +18 -0
  1009. package/node_modules/lodash.isequal/index.js +1848 -0
  1010. package/node_modules/lodash.isequal/package.json +16 -0
  1011. package/node_modules/mimic-function/index.d.ts +52 -0
  1012. package/node_modules/mimic-function/index.js +72 -0
  1013. package/node_modules/mimic-function/license +9 -0
  1014. package/node_modules/mimic-function/package.json +49 -0
  1015. package/node_modules/mimic-function/readme.md +80 -0
  1016. package/node_modules/ms/index.js +162 -0
  1017. package/node_modules/ms/license.md +21 -0
  1018. package/node_modules/ms/package.json +38 -0
  1019. package/node_modules/ms/readme.md +59 -0
  1020. package/node_modules/playwright-core/LICENSE +202 -0
  1021. package/node_modules/playwright-core/NOTICE +5 -0
  1022. package/node_modules/playwright-core/README.md +3 -0
  1023. package/node_modules/playwright-core/ThirdPartyNotices.txt +13 -0
  1024. package/node_modules/playwright-core/bin/install_media_pack.ps1 +5 -0
  1025. package/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +33 -0
  1026. package/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +42 -0
  1027. package/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +13 -0
  1028. package/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +24 -0
  1029. package/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +42 -0
  1030. package/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +12 -0
  1031. package/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +24 -0
  1032. package/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +48 -0
  1033. package/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +11 -0
  1034. package/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +23 -0
  1035. package/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +48 -0
  1036. package/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +11 -0
  1037. package/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +23 -0
  1038. package/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +48 -0
  1039. package/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +11 -0
  1040. package/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +24 -0
  1041. package/node_modules/playwright-core/browsers.json +52 -0
  1042. package/node_modules/playwright-core/cli.js +21 -0
  1043. package/node_modules/playwright-core/index.d.ts +17 -0
  1044. package/node_modules/playwright-core/index.js +17 -0
  1045. package/node_modules/playwright-core/index.mjs +28 -0
  1046. package/node_modules/playwright-core/lib/bootstrap.js +88 -0
  1047. package/node_modules/playwright-core/lib/coreBundle.js +75813 -0
  1048. package/node_modules/playwright-core/lib/entry/cliDaemon.js +5 -0
  1049. package/node_modules/playwright-core/lib/entry/dashboardApp.js +3 -0
  1050. package/node_modules/playwright-core/lib/entry/mcp.js +10 -0
  1051. package/node_modules/playwright-core/lib/entry/oopBrowserDownload.js +3 -0
  1052. package/node_modules/playwright-core/lib/package.js +50 -0
  1053. package/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
  1054. package/node_modules/playwright-core/lib/server/electron/loader.js +116 -0
  1055. package/node_modules/playwright-core/lib/serverRegistry.js +1939 -0
  1056. package/node_modules/playwright-core/lib/serverRegistry.js.LICENSE +65 -0
  1057. package/node_modules/playwright-core/lib/tools/cli-client/channelSessions.js +141 -0
  1058. package/node_modules/playwright-core/lib/tools/cli-client/cli.js +6 -0
  1059. package/node_modules/playwright-core/lib/tools/cli-client/help.json +721 -0
  1060. package/node_modules/playwright-core/lib/tools/cli-client/minimist.js +128 -0
  1061. package/node_modules/playwright-core/lib/tools/cli-client/output.js +351 -0
  1062. package/node_modules/playwright-core/lib/tools/cli-client/program.js +418 -0
  1063. package/node_modules/playwright-core/lib/tools/cli-client/registry.js +180 -0
  1064. package/node_modules/playwright-core/lib/tools/cli-client/session.js +259 -0
  1065. package/node_modules/playwright-core/lib/tools/dashboard/appIcon.png +0 -0
  1066. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/SKILL.md +425 -0
  1067. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/element-attributes.md +23 -0
  1068. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/playwright-tests.md +39 -0
  1069. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/request-mocking.md +87 -0
  1070. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/running-code.md +241 -0
  1071. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/session-management.md +225 -0
  1072. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/storage-state.md +275 -0
  1073. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/test-generation.md +433 -0
  1074. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/tracing.md +139 -0
  1075. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/video-recording.md +143 -0
  1076. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/SKILL.md +136 -0
  1077. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/gallery-spec.md +144 -0
  1078. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/migration.md +89 -0
  1079. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/react.md +69 -0
  1080. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/typing.md +173 -0
  1081. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/vue.md +77 -0
  1082. package/node_modules/playwright-core/lib/tools/skills/playwright-trace/SKILL.md +174 -0
  1083. package/node_modules/playwright-core/lib/tools/utils/extension.js +112 -0
  1084. package/node_modules/playwright-core/lib/tools/utils/socketConnection.js +108 -0
  1085. package/node_modules/playwright-core/lib/utilsBundle.js +85357 -0
  1086. package/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +1890 -0
  1087. package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule--QdMvsKi.css +1 -0
  1088. package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule-CQ8RZGBm.js +32 -0
  1089. package/node_modules/playwright-core/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
  1090. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
  1091. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
  1092. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
  1093. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-AwgwcYie.css +1 -0
  1094. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-hRvO4yU2.js +12 -0
  1095. package/node_modules/playwright-core/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
  1096. package/node_modules/playwright-core/lib/vite/dashboard/index.html +29 -0
  1097. package/node_modules/playwright-core/lib/vite/dashboard/playwright-logo.svg +24 -0
  1098. package/node_modules/playwright-core/lib/vite/htmlReport/index.html +16 -0
  1099. package/node_modules/playwright-core/lib/vite/htmlReport/report.css +2 -0
  1100. package/node_modules/playwright-core/lib/vite/htmlReport/report.js +32 -0
  1101. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
  1102. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-CVQWJZAA.js +32 -0
  1103. package/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  1104. package/node_modules/playwright-core/lib/vite/recorder/assets/index-BZpYJZ-P.css +1 -0
  1105. package/node_modules/playwright-core/lib/vite/recorder/assets/index-hrlLqLtq.js +129 -0
  1106. package/node_modules/playwright-core/lib/vite/recorder/index.html +29 -0
  1107. package/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +9 -0
  1108. package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BbkfBe3n.js +32 -0
  1109. package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-Ds6CBOo0.js +182 -0
  1110. package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
  1111. package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-DywYcAf8.js +7 -0
  1112. package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
  1113. package/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  1114. package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.Bqk9acqE.css +1 -0
  1115. package/node_modules/playwright-core/lib/vite/traceViewer/index.B4cLoZK3.js +1 -0
  1116. package/node_modules/playwright-core/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
  1117. package/node_modules/playwright-core/lib/vite/traceViewer/index.html +44 -0
  1118. package/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +16 -0
  1119. package/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +9 -0
  1120. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
  1121. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +10 -0
  1122. package/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +4 -0
  1123. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CU5KtEkS.js +5 -0
  1124. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CyMfwkXJ.css +1 -0
  1125. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +18 -0
  1126. package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
  1127. package/node_modules/playwright-core/lib/webp_codec.LICENSE +173 -0
  1128. package/node_modules/playwright-core/lib/webp_codec.wasm +0 -0
  1129. package/node_modules/playwright-core/lib/xdg-open +1267 -0
  1130. package/node_modules/playwright-core/package.json +34 -0
  1131. package/node_modules/playwright-core/types/protocol.d.ts +24645 -0
  1132. package/node_modules/playwright-core/types/structs.d.ts +52 -0
  1133. package/node_modules/playwright-core/types/types.d.ts +26632 -0
  1134. package/node_modules/require-from-string/index.js +34 -0
  1135. package/node_modules/require-from-string/license +21 -0
  1136. package/node_modules/require-from-string/package.json +28 -0
  1137. package/node_modules/require-from-string/readme.md +56 -0
  1138. package/node_modules/sax/LICENSE.md +55 -0
  1139. package/node_modules/sax/README.md +227 -0
  1140. package/node_modules/sax/lib/sax.js +1866 -0
  1141. package/node_modules/sax/package.json +34 -0
  1142. package/node_modules/stubborn-fs/dist/constants.d.ts +11 -0
  1143. package/node_modules/stubborn-fs/dist/constants.js +16 -0
  1144. package/node_modules/stubborn-fs/dist/handlers.d.ts +7 -0
  1145. package/node_modules/stubborn-fs/dist/handlers.js +36 -0
  1146. package/node_modules/stubborn-fs/dist/index.d.ts +274 -0
  1147. package/node_modules/stubborn-fs/dist/index.js +52 -0
  1148. package/node_modules/stubborn-fs/license +21 -0
  1149. package/node_modules/stubborn-fs/package.json +32 -0
  1150. package/node_modules/stubborn-fs/readme.md +69 -0
  1151. package/node_modules/stubborn-utils/dist/attemptify_async.d.ts +3 -0
  1152. package/node_modules/stubborn-utils/dist/attemptify_async.js +10 -0
  1153. package/node_modules/stubborn-utils/dist/attemptify_sync.d.ts +3 -0
  1154. package/node_modules/stubborn-utils/dist/attemptify_sync.js +15 -0
  1155. package/node_modules/stubborn-utils/dist/constants.d.ts +2 -0
  1156. package/node_modules/stubborn-utils/dist/constants.js +4 -0
  1157. package/node_modules/stubborn-utils/dist/index.d.ts +9 -0
  1158. package/node_modules/stubborn-utils/dist/index.js +7 -0
  1159. package/node_modules/stubborn-utils/dist/retryify_async.d.ts +3 -0
  1160. package/node_modules/stubborn-utils/dist/retryify_async.js +29 -0
  1161. package/node_modules/stubborn-utils/dist/retryify_sync.d.ts +3 -0
  1162. package/node_modules/stubborn-utils/dist/retryify_sync.js +25 -0
  1163. package/node_modules/stubborn-utils/dist/types.d.ts +44 -0
  1164. package/node_modules/stubborn-utils/dist/types.js +2 -0
  1165. package/node_modules/stubborn-utils/license +21 -0
  1166. package/node_modules/stubborn-utils/package.json +30 -0
  1167. package/node_modules/stubborn-utils/readme.md +139 -0
  1168. package/node_modules/tagged-tag/index.d.ts +3 -0
  1169. package/node_modules/tagged-tag/license +9 -0
  1170. package/node_modules/tagged-tag/package.json +36 -0
  1171. package/node_modules/tagged-tag/readme.md +5 -0
  1172. package/node_modules/tiny-typed-emitter/LICENSE +21 -0
  1173. package/node_modules/tiny-typed-emitter/README.md +85 -0
  1174. package/node_modules/tiny-typed-emitter/lib/index.d.ts +26 -0
  1175. package/node_modules/tiny-typed-emitter/lib/index.js +3 -0
  1176. package/node_modules/tiny-typed-emitter/package.json +37 -0
  1177. package/node_modules/type-fest/index.d.ts +227 -0
  1178. package/node_modules/type-fest/license-cc0 +121 -0
  1179. package/node_modules/type-fest/license-mit +9 -0
  1180. package/node_modules/type-fest/package.json +75 -0
  1181. package/node_modules/type-fest/readme.md +1085 -0
  1182. package/node_modules/type-fest/source/absolute.d.ts +52 -0
  1183. package/node_modules/type-fest/source/all-extend.d.ts +121 -0
  1184. package/node_modules/type-fest/source/all-union-fields.d.ts +91 -0
  1185. package/node_modules/type-fest/source/and-all.d.ts +76 -0
  1186. package/node_modules/type-fest/source/and.d.ts +82 -0
  1187. package/node_modules/type-fest/source/array-element.d.ts +46 -0
  1188. package/node_modules/type-fest/source/array-indices.d.ts +25 -0
  1189. package/node_modules/type-fest/source/array-length.d.ts +36 -0
  1190. package/node_modules/type-fest/source/array-reverse.d.ts +85 -0
  1191. package/node_modules/type-fest/source/array-slice.d.ts +132 -0
  1192. package/node_modules/type-fest/source/array-splice.d.ts +104 -0
  1193. package/node_modules/type-fest/source/array-tail.d.ts +70 -0
  1194. package/node_modules/type-fest/source/array-values.d.ts +24 -0
  1195. package/node_modules/type-fest/source/arrayable.d.ts +31 -0
  1196. package/node_modules/type-fest/source/async-return-type.d.ts +28 -0
  1197. package/node_modules/type-fest/source/asyncify.d.ts +25 -0
  1198. package/node_modules/type-fest/source/basic.d.ts +38 -0
  1199. package/node_modules/type-fest/source/camel-case.d.ts +125 -0
  1200. package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +106 -0
  1201. package/node_modules/type-fest/source/camel-cased-properties.d.ts +49 -0
  1202. package/node_modules/type-fest/source/characters.d.ts +67 -0
  1203. package/node_modules/type-fest/source/conditional-except.d.ts +47 -0
  1204. package/node_modules/type-fest/source/conditional-keys.d.ts +63 -0
  1205. package/node_modules/type-fest/source/conditional-pick-deep.d.ts +122 -0
  1206. package/node_modules/type-fest/source/conditional-pick.d.ts +48 -0
  1207. package/node_modules/type-fest/source/conditional-simplify-deep.d.ts +73 -0
  1208. package/node_modules/type-fest/source/conditional-simplify.d.ts +50 -0
  1209. package/node_modules/type-fest/source/delimiter-case.d.ts +79 -0
  1210. package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +115 -0
  1211. package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +52 -0
  1212. package/node_modules/type-fest/source/distributed-omit.d.ts +96 -0
  1213. package/node_modules/type-fest/source/distributed-pick.d.ts +92 -0
  1214. package/node_modules/type-fest/source/empty-object.d.ts +51 -0
  1215. package/node_modules/type-fest/source/entries.d.ts +64 -0
  1216. package/node_modules/type-fest/source/entry.d.ts +67 -0
  1217. package/node_modules/type-fest/source/exact.d.ts +73 -0
  1218. package/node_modules/type-fest/source/except.d.ts +112 -0
  1219. package/node_modules/type-fest/source/exclude-exactly.d.ts +57 -0
  1220. package/node_modules/type-fest/source/exclude-rest-element.d.ts +40 -0
  1221. package/node_modules/type-fest/source/exclude-strict.d.ts +51 -0
  1222. package/node_modules/type-fest/source/exclusify-union.d.ts +147 -0
  1223. package/node_modules/type-fest/source/extends-strict.d.ts +151 -0
  1224. package/node_modules/type-fest/source/extract-exactly.d.ts +56 -0
  1225. package/node_modules/type-fest/source/extract-rest-element.d.ts +30 -0
  1226. package/node_modules/type-fest/source/extract-strict.d.ts +51 -0
  1227. package/node_modules/type-fest/source/find-global-type.d.ts +68 -0
  1228. package/node_modules/type-fest/source/fixed-length-array.d.ts +97 -0
  1229. package/node_modules/type-fest/source/get.d.ts +227 -0
  1230. package/node_modules/type-fest/source/global-this.d.ts +24 -0
  1231. package/node_modules/type-fest/source/globals/index.d.ts +3 -0
  1232. package/node_modules/type-fest/source/globals/observable-like.d.ts +78 -0
  1233. package/node_modules/type-fest/source/greater-than-or-equal.d.ts +63 -0
  1234. package/node_modules/type-fest/source/greater-than.d.ts +92 -0
  1235. package/node_modules/type-fest/source/has-optional-keys.d.ts +23 -0
  1236. package/node_modules/type-fest/source/has-readonly-keys.d.ts +23 -0
  1237. package/node_modules/type-fest/source/has-required-keys.d.ts +61 -0
  1238. package/node_modules/type-fest/source/has-writable-keys.d.ts +23 -0
  1239. package/node_modules/type-fest/source/if-any.d.ts +28 -0
  1240. package/node_modules/type-fest/source/if-empty-object.d.ts +30 -0
  1241. package/node_modules/type-fest/source/if-never.d.ts +28 -0
  1242. package/node_modules/type-fest/source/if-null.d.ts +28 -0
  1243. package/node_modules/type-fest/source/if-unknown.d.ts +28 -0
  1244. package/node_modules/type-fest/source/if.d.ts +102 -0
  1245. package/node_modules/type-fest/source/includes.d.ts +24 -0
  1246. package/node_modules/type-fest/source/int-closed-range.d.ts +45 -0
  1247. package/node_modules/type-fest/source/int-range.d.ts +67 -0
  1248. package/node_modules/type-fest/source/internal/array.d.ts +144 -0
  1249. package/node_modules/type-fest/source/internal/characters.d.ts +65 -0
  1250. package/node_modules/type-fest/source/internal/enforce-optional.d.ts +49 -0
  1251. package/node_modules/type-fest/source/internal/index.d.ts +11 -0
  1252. package/node_modules/type-fest/source/internal/keys.d.ts +100 -0
  1253. package/node_modules/type-fest/source/internal/numeric.d.ts +143 -0
  1254. package/node_modules/type-fest/source/internal/object.d.ts +301 -0
  1255. package/node_modules/type-fest/source/internal/string.d.ts +127 -0
  1256. package/node_modules/type-fest/source/internal/tuple.d.ts +79 -0
  1257. package/node_modules/type-fest/source/internal/type.d.ts +171 -0
  1258. package/node_modules/type-fest/source/invariant-of.d.ts +85 -0
  1259. package/node_modules/type-fest/source/is-any.d.ts +31 -0
  1260. package/node_modules/type-fest/source/is-equal.d.ts +41 -0
  1261. package/node_modules/type-fest/source/is-float.d.ts +43 -0
  1262. package/node_modules/type-fest/source/is-integer.d.ts +60 -0
  1263. package/node_modules/type-fest/source/is-literal.d.ts +317 -0
  1264. package/node_modules/type-fest/source/is-lowercase.d.ts +38 -0
  1265. package/node_modules/type-fest/source/is-never.d.ts +56 -0
  1266. package/node_modules/type-fest/source/is-null.d.ts +22 -0
  1267. package/node_modules/type-fest/source/is-nullable.d.ts +30 -0
  1268. package/node_modules/type-fest/source/is-optional-key-of.d.ts +51 -0
  1269. package/node_modules/type-fest/source/is-optional.d.ts +28 -0
  1270. package/node_modules/type-fest/source/is-readonly-key-of.d.ts +55 -0
  1271. package/node_modules/type-fest/source/is-required-key-of.d.ts +51 -0
  1272. package/node_modules/type-fest/source/is-tuple.d.ts +92 -0
  1273. package/node_modules/type-fest/source/is-undefined.d.ts +22 -0
  1274. package/node_modules/type-fest/source/is-union.d.ts +40 -0
  1275. package/node_modules/type-fest/source/is-unknown.d.ts +43 -0
  1276. package/node_modules/type-fest/source/is-uppercase.d.ts +38 -0
  1277. package/node_modules/type-fest/source/is-writable-key-of.d.ts +51 -0
  1278. package/node_modules/type-fest/source/iterable-element.d.ts +66 -0
  1279. package/node_modules/type-fest/source/join.d.ts +79 -0
  1280. package/node_modules/type-fest/source/json-value.d.ts +33 -0
  1281. package/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
  1282. package/node_modules/type-fest/source/jsonify.d.ts +127 -0
  1283. package/node_modules/type-fest/source/kebab-case.d.ts +47 -0
  1284. package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +72 -0
  1285. package/node_modules/type-fest/source/kebab-cased-properties.d.ts +46 -0
  1286. package/node_modules/type-fest/source/key-as-string.d.ts +27 -0
  1287. package/node_modules/type-fest/source/keys-of-union.d.ts +44 -0
  1288. package/node_modules/type-fest/source/last-array-element.d.ts +89 -0
  1289. package/node_modules/type-fest/source/less-than-or-equal.d.ts +60 -0
  1290. package/node_modules/type-fest/source/less-than.d.ts +60 -0
  1291. package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +71 -0
  1292. package/node_modules/type-fest/source/literal-to-primitive.d.ts +38 -0
  1293. package/node_modules/type-fest/source/literal-union.d.ts +39 -0
  1294. package/node_modules/type-fest/source/merge-deep.d.ts +495 -0
  1295. package/node_modules/type-fest/source/merge-exclusive.d.ts +45 -0
  1296. package/node_modules/type-fest/source/merge.d.ts +87 -0
  1297. package/node_modules/type-fest/source/multidimensional-array.d.ts +38 -0
  1298. package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +38 -0
  1299. package/node_modules/type-fest/source/non-empty-object.d.ts +38 -0
  1300. package/node_modules/type-fest/source/non-empty-string.d.ts +32 -0
  1301. package/node_modules/type-fest/source/non-empty-tuple.d.ts +24 -0
  1302. package/node_modules/type-fest/source/non-nullable-deep.d.ts +102 -0
  1303. package/node_modules/type-fest/source/numeric.d.ts +226 -0
  1304. package/node_modules/type-fest/source/object-merge.d.ts +199 -0
  1305. package/node_modules/type-fest/source/omit-deep.d.ts +153 -0
  1306. package/node_modules/type-fest/source/omit-index-signature.d.ts +98 -0
  1307. package/node_modules/type-fest/source/opaque.d.ts +3 -0
  1308. package/node_modules/type-fest/source/optional-keys-of.d.ts +46 -0
  1309. package/node_modules/type-fest/source/optional.d.ts +31 -0
  1310. package/node_modules/type-fest/source/or-all.d.ts +73 -0
  1311. package/node_modules/type-fest/source/or.d.ts +82 -0
  1312. package/node_modules/type-fest/source/override-properties.d.ts +43 -0
  1313. package/node_modules/type-fest/source/package-json.d.ts +710 -0
  1314. package/node_modules/type-fest/source/partial-deep.d.ts +157 -0
  1315. package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +81 -0
  1316. package/node_modules/type-fest/source/pascal-case.d.ts +52 -0
  1317. package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +79 -0
  1318. package/node_modules/type-fest/source/pascal-cased-properties.d.ts +46 -0
  1319. package/node_modules/type-fest/source/paths.d.ts +241 -0
  1320. package/node_modules/type-fest/source/pick-deep.d.ts +139 -0
  1321. package/node_modules/type-fest/source/pick-index-signature.d.ts +52 -0
  1322. package/node_modules/type-fest/source/primitive.d.ts +15 -0
  1323. package/node_modules/type-fest/source/promisable.d.ts +27 -0
  1324. package/node_modules/type-fest/source/readonly-deep.d.ts +118 -0
  1325. package/node_modules/type-fest/source/readonly-keys-of.d.ts +38 -0
  1326. package/node_modules/type-fest/source/readonly-tuple.d.ts +34 -0
  1327. package/node_modules/type-fest/source/remove-prefix.d.ts +114 -0
  1328. package/node_modules/type-fest/source/remove-suffix.d.ts +114 -0
  1329. package/node_modules/type-fest/source/replace.d.ts +87 -0
  1330. package/node_modules/type-fest/source/require-all-or-none.d.ts +54 -0
  1331. package/node_modules/type-fest/source/require-at-least-one.d.ts +48 -0
  1332. package/node_modules/type-fest/source/require-exactly-one.d.ts +48 -0
  1333. package/node_modules/type-fest/source/require-one-or-none.d.ts +49 -0
  1334. package/node_modules/type-fest/source/required-deep.d.ts +78 -0
  1335. package/node_modules/type-fest/source/required-keys-of.d.ts +38 -0
  1336. package/node_modules/type-fest/source/schema.d.ts +127 -0
  1337. package/node_modules/type-fest/source/screaming-snake-case.d.ts +31 -0
  1338. package/node_modules/type-fest/source/set-field-type.d.ts +67 -0
  1339. package/node_modules/type-fest/source/set-non-nullable-deep.d.ts +89 -0
  1340. package/node_modules/type-fest/source/set-non-nullable.d.ts +34 -0
  1341. package/node_modules/type-fest/source/set-optional.d.ts +42 -0
  1342. package/node_modules/type-fest/source/set-parameter-type.d.ts +125 -0
  1343. package/node_modules/type-fest/source/set-readonly.d.ts +40 -0
  1344. package/node_modules/type-fest/source/set-required-deep.d.ts +65 -0
  1345. package/node_modules/type-fest/source/set-required.d.ts +75 -0
  1346. package/node_modules/type-fest/source/set-return-type.d.ts +31 -0
  1347. package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +180 -0
  1348. package/node_modules/type-fest/source/shared-union-fields.d.ts +79 -0
  1349. package/node_modules/type-fest/source/simplify-deep.d.ts +117 -0
  1350. package/node_modules/type-fest/source/simplify.d.ts +61 -0
  1351. package/node_modules/type-fest/source/single-key-object.d.ts +28 -0
  1352. package/node_modules/type-fest/source/snake-case.d.ts +48 -0
  1353. package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +72 -0
  1354. package/node_modules/type-fest/source/snake-cased-properties.d.ts +46 -0
  1355. package/node_modules/type-fest/source/some-extend.d.ts +115 -0
  1356. package/node_modules/type-fest/source/split-on-rest-element.d.ts +108 -0
  1357. package/node_modules/type-fest/source/split.d.ts +90 -0
  1358. package/node_modules/type-fest/source/spread.d.ts +78 -0
  1359. package/node_modules/type-fest/source/string-length.d.ts +38 -0
  1360. package/node_modules/type-fest/source/string-repeat.d.ts +76 -0
  1361. package/node_modules/type-fest/source/string-slice.d.ts +39 -0
  1362. package/node_modules/type-fest/source/string-to-array.d.ts +97 -0
  1363. package/node_modules/type-fest/source/string-to-number.d.ts +67 -0
  1364. package/node_modules/type-fest/source/stringified.d.ts +25 -0
  1365. package/node_modules/type-fest/source/structured-cloneable.d.ts +89 -0
  1366. package/node_modules/type-fest/source/subtract.d.ts +87 -0
  1367. package/node_modules/type-fest/source/sum.d.ts +82 -0
  1368. package/node_modules/type-fest/source/tagged-union.d.ts +53 -0
  1369. package/node_modules/type-fest/source/tagged.d.ts +261 -0
  1370. package/node_modules/type-fest/source/trim.d.ts +29 -0
  1371. package/node_modules/type-fest/source/tsconfig-json.d.ts +1356 -0
  1372. package/node_modules/type-fest/source/tuple-of.d.ts +114 -0
  1373. package/node_modules/type-fest/source/tuple-to-object.d.ts +47 -0
  1374. package/node_modules/type-fest/source/tuple-to-union.d.ts +54 -0
  1375. package/node_modules/type-fest/source/typed-array.d.ts +19 -0
  1376. package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +83 -0
  1377. package/node_modules/type-fest/source/union-length.d.ts +27 -0
  1378. package/node_modules/type-fest/source/union-member.d.ts +65 -0
  1379. package/node_modules/type-fest/source/union-to-intersection.d.ts +35 -0
  1380. package/node_modules/type-fest/source/union-to-tuple.d.ts +49 -0
  1381. package/node_modules/type-fest/source/unknown-array.d.ts +27 -0
  1382. package/node_modules/type-fest/source/unknown-map.d.ts +26 -0
  1383. package/node_modules/type-fest/source/unknown-record.d.ts +33 -0
  1384. package/node_modules/type-fest/source/unknown-set.d.ts +26 -0
  1385. package/node_modules/type-fest/source/unwrap-partial.d.ts +33 -0
  1386. package/node_modules/type-fest/source/unwrap-required.d.ts +37 -0
  1387. package/node_modules/type-fest/source/value-of.d.ts +24 -0
  1388. package/node_modules/type-fest/source/words.d.ts +148 -0
  1389. package/node_modules/type-fest/source/writable-deep.d.ts +84 -0
  1390. package/node_modules/type-fest/source/writable-keys-of.d.ts +34 -0
  1391. package/node_modules/type-fest/source/writable.d.ts +68 -0
  1392. package/node_modules/type-fest/source/xor.d.ts +83 -0
  1393. package/node_modules/uint8array-extras/index.d.ts +331 -0
  1394. package/node_modules/uint8array-extras/index.js +318 -0
  1395. package/node_modules/uint8array-extras/license +9 -0
  1396. package/node_modules/uint8array-extras/package.json +54 -0
  1397. package/node_modules/uint8array-extras/readme.md +318 -0
  1398. package/node_modules/universalify/LICENSE +20 -0
  1399. package/node_modules/universalify/README.md +76 -0
  1400. package/node_modules/universalify/index.js +24 -0
  1401. package/node_modules/universalify/package.json +34 -0
  1402. package/node_modules/when-exit/dist/browser/index.d.ts +2 -0
  1403. package/node_modules/when-exit/dist/browser/index.js +6 -0
  1404. package/node_modules/when-exit/dist/browser/interceptor.d.ts +10 -0
  1405. package/node_modules/when-exit/dist/browser/interceptor.js +27 -0
  1406. package/node_modules/when-exit/dist/node/constants.d.ts +3 -0
  1407. package/node_modules/when-exit/dist/node/constants.js +7 -0
  1408. package/node_modules/when-exit/dist/node/index.d.ts +2 -0
  1409. package/node_modules/when-exit/dist/node/index.js +6 -0
  1410. package/node_modules/when-exit/dist/node/interceptor.d.ts +11 -0
  1411. package/node_modules/when-exit/dist/node/interceptor.js +50 -0
  1412. package/node_modules/when-exit/dist/node/signals.d.ts +2 -0
  1413. package/node_modules/when-exit/dist/node/signals.js +13 -0
  1414. package/node_modules/when-exit/dist/types.d.ts +3 -0
  1415. package/node_modules/when-exit/dist/types.js +2 -0
  1416. package/node_modules/when-exit/license +21 -0
  1417. package/node_modules/when-exit/package.json +35 -0
  1418. package/node_modules/when-exit/readme.md +41 -0
  1419. package/package.json +27 -12
@@ -0,0 +1,3082 @@
1
+ function getDefaultExportFromCjs(x) {
2
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
3
+ }
4
+ var jsYaml = {};
5
+ var loader = {};
6
+ var common = {};
7
+ var hasRequiredCommon;
8
+ function requireCommon() {
9
+ if (hasRequiredCommon) return common;
10
+ hasRequiredCommon = 1;
11
+ function isNothing(subject) {
12
+ return typeof subject === "undefined" || subject === null;
13
+ }
14
+ function isObject(subject) {
15
+ return typeof subject === "object" && subject !== null;
16
+ }
17
+ function toArray(sequence) {
18
+ if (Array.isArray(sequence)) return sequence;
19
+ else if (isNothing(sequence)) return [];
20
+ return [sequence];
21
+ }
22
+ function extend(target, source) {
23
+ if (source) {
24
+ const sourceKeys = Object.keys(source);
25
+ for (let index = 0, length = sourceKeys.length; index < length; index += 1) {
26
+ const key = sourceKeys[index];
27
+ target[key] = source[key];
28
+ }
29
+ }
30
+ return target;
31
+ }
32
+ function repeat(string, count) {
33
+ let result = "";
34
+ for (let cycle = 0; cycle < count; cycle += 1) {
35
+ result += string;
36
+ }
37
+ return result;
38
+ }
39
+ function isNegativeZero(number) {
40
+ return number === 0 && Number.NEGATIVE_INFINITY === 1 / number;
41
+ }
42
+ common.isNothing = isNothing;
43
+ common.isObject = isObject;
44
+ common.toArray = toArray;
45
+ common.repeat = repeat;
46
+ common.isNegativeZero = isNegativeZero;
47
+ common.extend = extend;
48
+ return common;
49
+ }
50
+ var exception;
51
+ var hasRequiredException;
52
+ function requireException() {
53
+ if (hasRequiredException) return exception;
54
+ hasRequiredException = 1;
55
+ function formatError(exception2, compact) {
56
+ let where = "";
57
+ const message = exception2.reason || "(unknown reason)";
58
+ if (!exception2.mark) return message;
59
+ if (exception2.mark.name) {
60
+ where += 'in "' + exception2.mark.name + '" ';
61
+ }
62
+ where += "(" + (exception2.mark.line + 1) + ":" + (exception2.mark.column + 1) + ")";
63
+ if (!compact && exception2.mark.snippet) {
64
+ where += "\n\n" + exception2.mark.snippet;
65
+ }
66
+ return message + " " + where;
67
+ }
68
+ function YAMLException2(reason, mark) {
69
+ Error.call(this);
70
+ this.name = "YAMLException";
71
+ this.reason = reason;
72
+ this.mark = mark;
73
+ this.message = formatError(this, false);
74
+ if (Error.captureStackTrace) {
75
+ Error.captureStackTrace(this, this.constructor);
76
+ } else {
77
+ this.stack = new Error().stack || "";
78
+ }
79
+ }
80
+ YAMLException2.prototype = Object.create(Error.prototype);
81
+ YAMLException2.prototype.constructor = YAMLException2;
82
+ YAMLException2.prototype.toString = function toString(compact) {
83
+ return this.name + ": " + formatError(this, compact);
84
+ };
85
+ exception = YAMLException2;
86
+ return exception;
87
+ }
88
+ var snippet;
89
+ var hasRequiredSnippet;
90
+ function requireSnippet() {
91
+ if (hasRequiredSnippet) return snippet;
92
+ hasRequiredSnippet = 1;
93
+ const common2 = requireCommon();
94
+ function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
95
+ let head = "";
96
+ let tail = "";
97
+ const maxHalfLength = Math.floor(maxLineLength / 2) - 1;
98
+ if (position - lineStart > maxHalfLength) {
99
+ head = " ... ";
100
+ lineStart = position - maxHalfLength + head.length;
101
+ }
102
+ if (lineEnd - position > maxHalfLength) {
103
+ tail = " ...";
104
+ lineEnd = position + maxHalfLength - tail.length;
105
+ }
106
+ return {
107
+ str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, "→") + tail,
108
+ pos: position - lineStart + head.length
109
+ // relative position
110
+ };
111
+ }
112
+ function padStart(string, max) {
113
+ return common2.repeat(" ", max - string.length) + string;
114
+ }
115
+ function makeSnippet(mark, options) {
116
+ options = Object.create(options || null);
117
+ if (!mark.buffer) return null;
118
+ if (!options.maxLength) options.maxLength = 79;
119
+ if (typeof options.indent !== "number") options.indent = 1;
120
+ if (typeof options.linesBefore !== "number") options.linesBefore = 3;
121
+ if (typeof options.linesAfter !== "number") options.linesAfter = 2;
122
+ const re = /\r?\n|\r|\0/g;
123
+ const lineStarts = [0];
124
+ const lineEnds = [];
125
+ let match;
126
+ let foundLineNo = -1;
127
+ while (match = re.exec(mark.buffer)) {
128
+ lineEnds.push(match.index);
129
+ lineStarts.push(match.index + match[0].length);
130
+ if (mark.position <= match.index && foundLineNo < 0) {
131
+ foundLineNo = lineStarts.length - 2;
132
+ }
133
+ }
134
+ if (foundLineNo < 0) foundLineNo = lineStarts.length - 1;
135
+ let result = "";
136
+ const lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length;
137
+ const maxLineLength = options.maxLength - (options.indent + lineNoLength + 3);
138
+ for (let i = 1; i <= options.linesBefore; i++) {
139
+ if (foundLineNo - i < 0) break;
140
+ const line2 = getLine(
141
+ mark.buffer,
142
+ lineStarts[foundLineNo - i],
143
+ lineEnds[foundLineNo - i],
144
+ mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]),
145
+ maxLineLength
146
+ );
147
+ result = common2.repeat(" ", options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line2.str + "\n" + result;
148
+ }
149
+ const line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
150
+ result += common2.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + "\n";
151
+ result += common2.repeat("-", options.indent + lineNoLength + 3 + line.pos) + "^\n";
152
+ for (let i = 1; i <= options.linesAfter; i++) {
153
+ if (foundLineNo + i >= lineEnds.length) break;
154
+ const line2 = getLine(
155
+ mark.buffer,
156
+ lineStarts[foundLineNo + i],
157
+ lineEnds[foundLineNo + i],
158
+ mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]),
159
+ maxLineLength
160
+ );
161
+ result += common2.repeat(" ", options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line2.str + "\n";
162
+ }
163
+ return result.replace(/\n$/, "");
164
+ }
165
+ snippet = makeSnippet;
166
+ return snippet;
167
+ }
168
+ var type;
169
+ var hasRequiredType;
170
+ function requireType() {
171
+ if (hasRequiredType) return type;
172
+ hasRequiredType = 1;
173
+ const YAMLException2 = requireException();
174
+ const TYPE_CONSTRUCTOR_OPTIONS = [
175
+ "kind",
176
+ "multi",
177
+ "resolve",
178
+ "construct",
179
+ "instanceOf",
180
+ "predicate",
181
+ "represent",
182
+ "representName",
183
+ "defaultStyle",
184
+ "styleAliases"
185
+ ];
186
+ const YAML_NODE_KINDS = [
187
+ "scalar",
188
+ "sequence",
189
+ "mapping"
190
+ ];
191
+ function compileStyleAliases(map2) {
192
+ const result = {};
193
+ if (map2 !== null) {
194
+ Object.keys(map2).forEach(function(style) {
195
+ map2[style].forEach(function(alias) {
196
+ result[String(alias)] = style;
197
+ });
198
+ });
199
+ }
200
+ return result;
201
+ }
202
+ function Type2(tag, options) {
203
+ options = options || {};
204
+ Object.keys(options).forEach(function(name) {
205
+ if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {
206
+ throw new YAMLException2('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.');
207
+ }
208
+ });
209
+ this.options = options;
210
+ this.tag = tag;
211
+ this.kind = options["kind"] || null;
212
+ this.resolve = options["resolve"] || function() {
213
+ return true;
214
+ };
215
+ this.construct = options["construct"] || function(data) {
216
+ return data;
217
+ };
218
+ this.instanceOf = options["instanceOf"] || null;
219
+ this.predicate = options["predicate"] || null;
220
+ this.represent = options["represent"] || null;
221
+ this.representName = options["representName"] || null;
222
+ this.defaultStyle = options["defaultStyle"] || null;
223
+ this.multi = options["multi"] || false;
224
+ this.styleAliases = compileStyleAliases(options["styleAliases"] || null);
225
+ if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {
226
+ throw new YAMLException2('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.');
227
+ }
228
+ }
229
+ type = Type2;
230
+ return type;
231
+ }
232
+ var schema;
233
+ var hasRequiredSchema;
234
+ function requireSchema() {
235
+ if (hasRequiredSchema) return schema;
236
+ hasRequiredSchema = 1;
237
+ const YAMLException2 = requireException();
238
+ const Type2 = requireType();
239
+ function compileList(schema2, name) {
240
+ const result = [];
241
+ schema2[name].forEach(function(currentType) {
242
+ let newIndex = result.length;
243
+ result.forEach(function(previousType, previousIndex) {
244
+ if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) {
245
+ newIndex = previousIndex;
246
+ }
247
+ });
248
+ result[newIndex] = currentType;
249
+ });
250
+ return result;
251
+ }
252
+ function compileMap() {
253
+ const result = {
254
+ scalar: {},
255
+ sequence: {},
256
+ mapping: {},
257
+ fallback: {},
258
+ multi: {
259
+ scalar: [],
260
+ sequence: [],
261
+ mapping: [],
262
+ fallback: []
263
+ }
264
+ };
265
+ function collectType(type2) {
266
+ if (type2.multi) {
267
+ result.multi[type2.kind].push(type2);
268
+ result.multi["fallback"].push(type2);
269
+ } else {
270
+ result[type2.kind][type2.tag] = result["fallback"][type2.tag] = type2;
271
+ }
272
+ }
273
+ for (let index = 0, length = arguments.length; index < length; index += 1) {
274
+ arguments[index].forEach(collectType);
275
+ }
276
+ return result;
277
+ }
278
+ function Schema2(definition) {
279
+ return this.extend(definition);
280
+ }
281
+ Schema2.prototype.extend = function extend(definition) {
282
+ let implicit = [];
283
+ let explicit = [];
284
+ if (definition instanceof Type2) {
285
+ explicit.push(definition);
286
+ } else if (Array.isArray(definition)) {
287
+ explicit = explicit.concat(definition);
288
+ } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
289
+ if (definition.implicit) implicit = implicit.concat(definition.implicit);
290
+ if (definition.explicit) explicit = explicit.concat(definition.explicit);
291
+ } else {
292
+ throw new YAMLException2("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
293
+ }
294
+ implicit.forEach(function(type2) {
295
+ if (!(type2 instanceof Type2)) {
296
+ throw new YAMLException2("Specified list of YAML types (or a single Type object) contains a non-Type object.");
297
+ }
298
+ if (type2.loadKind && type2.loadKind !== "scalar") {
299
+ throw new YAMLException2("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
300
+ }
301
+ if (type2.multi) {
302
+ throw new YAMLException2("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
303
+ }
304
+ });
305
+ explicit.forEach(function(type2) {
306
+ if (!(type2 instanceof Type2)) {
307
+ throw new YAMLException2("Specified list of YAML types (or a single Type object) contains a non-Type object.");
308
+ }
309
+ });
310
+ const result = Object.create(Schema2.prototype);
311
+ result.implicit = (this.implicit || []).concat(implicit);
312
+ result.explicit = (this.explicit || []).concat(explicit);
313
+ result.compiledImplicit = compileList(result, "implicit");
314
+ result.compiledExplicit = compileList(result, "explicit");
315
+ result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);
316
+ return result;
317
+ };
318
+ schema = Schema2;
319
+ return schema;
320
+ }
321
+ var str;
322
+ var hasRequiredStr;
323
+ function requireStr() {
324
+ if (hasRequiredStr) return str;
325
+ hasRequiredStr = 1;
326
+ const Type2 = requireType();
327
+ str = new Type2("tag:yaml.org,2002:str", {
328
+ kind: "scalar",
329
+ construct: function(data) {
330
+ return data !== null ? data : "";
331
+ }
332
+ });
333
+ return str;
334
+ }
335
+ var seq;
336
+ var hasRequiredSeq;
337
+ function requireSeq() {
338
+ if (hasRequiredSeq) return seq;
339
+ hasRequiredSeq = 1;
340
+ const Type2 = requireType();
341
+ seq = new Type2("tag:yaml.org,2002:seq", {
342
+ kind: "sequence",
343
+ construct: function(data) {
344
+ return data !== null ? data : [];
345
+ }
346
+ });
347
+ return seq;
348
+ }
349
+ var map;
350
+ var hasRequiredMap;
351
+ function requireMap() {
352
+ if (hasRequiredMap) return map;
353
+ hasRequiredMap = 1;
354
+ const Type2 = requireType();
355
+ map = new Type2("tag:yaml.org,2002:map", {
356
+ kind: "mapping",
357
+ construct: function(data) {
358
+ return data !== null ? data : {};
359
+ }
360
+ });
361
+ return map;
362
+ }
363
+ var failsafe;
364
+ var hasRequiredFailsafe;
365
+ function requireFailsafe() {
366
+ if (hasRequiredFailsafe) return failsafe;
367
+ hasRequiredFailsafe = 1;
368
+ const Schema2 = requireSchema();
369
+ failsafe = new Schema2({
370
+ explicit: [
371
+ requireStr(),
372
+ requireSeq(),
373
+ requireMap()
374
+ ]
375
+ });
376
+ return failsafe;
377
+ }
378
+ var _null;
379
+ var hasRequired_null;
380
+ function require_null() {
381
+ if (hasRequired_null) return _null;
382
+ hasRequired_null = 1;
383
+ const Type2 = requireType();
384
+ function resolveYamlNull(data) {
385
+ if (data === null) return true;
386
+ const max = data.length;
387
+ return max === 1 && data === "~" || max === 4 && (data === "null" || data === "Null" || data === "NULL");
388
+ }
389
+ function constructYamlNull() {
390
+ return null;
391
+ }
392
+ function isNull(object) {
393
+ return object === null;
394
+ }
395
+ _null = new Type2("tag:yaml.org,2002:null", {
396
+ kind: "scalar",
397
+ resolve: resolveYamlNull,
398
+ construct: constructYamlNull,
399
+ predicate: isNull,
400
+ represent: {
401
+ canonical: function() {
402
+ return "~";
403
+ },
404
+ lowercase: function() {
405
+ return "null";
406
+ },
407
+ uppercase: function() {
408
+ return "NULL";
409
+ },
410
+ camelcase: function() {
411
+ return "Null";
412
+ },
413
+ empty: function() {
414
+ return "";
415
+ }
416
+ },
417
+ defaultStyle: "lowercase"
418
+ });
419
+ return _null;
420
+ }
421
+ var bool;
422
+ var hasRequiredBool;
423
+ function requireBool() {
424
+ if (hasRequiredBool) return bool;
425
+ hasRequiredBool = 1;
426
+ const Type2 = requireType();
427
+ function resolveYamlBoolean(data) {
428
+ if (data === null) return false;
429
+ const max = data.length;
430
+ return max === 4 && (data === "true" || data === "True" || data === "TRUE") || max === 5 && (data === "false" || data === "False" || data === "FALSE");
431
+ }
432
+ function constructYamlBoolean(data) {
433
+ return data === "true" || data === "True" || data === "TRUE";
434
+ }
435
+ function isBoolean(object) {
436
+ return Object.prototype.toString.call(object) === "[object Boolean]";
437
+ }
438
+ bool = new Type2("tag:yaml.org,2002:bool", {
439
+ kind: "scalar",
440
+ resolve: resolveYamlBoolean,
441
+ construct: constructYamlBoolean,
442
+ predicate: isBoolean,
443
+ represent: {
444
+ lowercase: function(object) {
445
+ return object ? "true" : "false";
446
+ },
447
+ uppercase: function(object) {
448
+ return object ? "TRUE" : "FALSE";
449
+ },
450
+ camelcase: function(object) {
451
+ return object ? "True" : "False";
452
+ }
453
+ },
454
+ defaultStyle: "lowercase"
455
+ });
456
+ return bool;
457
+ }
458
+ var int;
459
+ var hasRequiredInt;
460
+ function requireInt() {
461
+ if (hasRequiredInt) return int;
462
+ hasRequiredInt = 1;
463
+ const common2 = requireCommon();
464
+ const Type2 = requireType();
465
+ function isHexCode(c) {
466
+ return c >= 48 && c <= 57 || c >= 65 && c <= 70 || c >= 97 && c <= 102;
467
+ }
468
+ function isOctCode(c) {
469
+ return c >= 48 && c <= 55;
470
+ }
471
+ function isDecCode(c) {
472
+ return c >= 48 && c <= 57;
473
+ }
474
+ function resolveYamlInteger(data) {
475
+ if (data === null) return false;
476
+ const max = data.length;
477
+ let index = 0;
478
+ let hasDigits = false;
479
+ if (!max) return false;
480
+ let ch = data[index];
481
+ if (ch === "-" || ch === "+") {
482
+ ch = data[++index];
483
+ }
484
+ if (ch === "0") {
485
+ if (index + 1 === max) return true;
486
+ ch = data[++index];
487
+ if (ch === "b") {
488
+ index++;
489
+ for (; index < max; index++) {
490
+ ch = data[index];
491
+ if (ch !== "0" && ch !== "1") return false;
492
+ hasDigits = true;
493
+ }
494
+ return hasDigits && isFinite(parseYamlInteger(data));
495
+ }
496
+ if (ch === "x") {
497
+ index++;
498
+ for (; index < max; index++) {
499
+ if (!isHexCode(data.charCodeAt(index))) return false;
500
+ hasDigits = true;
501
+ }
502
+ return hasDigits && isFinite(parseYamlInteger(data));
503
+ }
504
+ if (ch === "o") {
505
+ index++;
506
+ for (; index < max; index++) {
507
+ if (!isOctCode(data.charCodeAt(index))) return false;
508
+ hasDigits = true;
509
+ }
510
+ return hasDigits && isFinite(parseYamlInteger(data));
511
+ }
512
+ }
513
+ for (; index < max; index++) {
514
+ if (!isDecCode(data.charCodeAt(index))) {
515
+ return false;
516
+ }
517
+ hasDigits = true;
518
+ }
519
+ if (!hasDigits) return false;
520
+ return isFinite(parseYamlInteger(data));
521
+ }
522
+ function parseYamlInteger(data) {
523
+ let value = data;
524
+ let sign = 1;
525
+ let ch = value[0];
526
+ if (ch === "-" || ch === "+") {
527
+ if (ch === "-") sign = -1;
528
+ value = value.slice(1);
529
+ ch = value[0];
530
+ }
531
+ if (value === "0") return 0;
532
+ if (ch === "0") {
533
+ if (value[1] === "b") return sign * parseInt(value.slice(2), 2);
534
+ if (value[1] === "x") return sign * parseInt(value.slice(2), 16);
535
+ if (value[1] === "o") return sign * parseInt(value.slice(2), 8);
536
+ }
537
+ return sign * parseInt(value, 10);
538
+ }
539
+ function constructYamlInteger(data) {
540
+ return parseYamlInteger(data);
541
+ }
542
+ function isInteger(object) {
543
+ return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 === 0 && !common2.isNegativeZero(object));
544
+ }
545
+ int = new Type2("tag:yaml.org,2002:int", {
546
+ kind: "scalar",
547
+ resolve: resolveYamlInteger,
548
+ construct: constructYamlInteger,
549
+ predicate: isInteger,
550
+ represent: {
551
+ binary: function(obj) {
552
+ return obj >= 0 ? "0b" + obj.toString(2) : "-0b" + obj.toString(2).slice(1);
553
+ },
554
+ octal: function(obj) {
555
+ return obj >= 0 ? "0o" + obj.toString(8) : "-0o" + obj.toString(8).slice(1);
556
+ },
557
+ decimal: function(obj) {
558
+ return obj.toString(10);
559
+ },
560
+ hexadecimal: function(obj) {
561
+ return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1);
562
+ }
563
+ },
564
+ defaultStyle: "decimal",
565
+ styleAliases: {
566
+ binary: [2, "bin"],
567
+ octal: [8, "oct"],
568
+ decimal: [10, "dec"],
569
+ hexadecimal: [16, "hex"]
570
+ }
571
+ });
572
+ return int;
573
+ }
574
+ var float;
575
+ var hasRequiredFloat;
576
+ function requireFloat() {
577
+ if (hasRequiredFloat) return float;
578
+ hasRequiredFloat = 1;
579
+ const common2 = requireCommon();
580
+ const Type2 = requireType();
581
+ const YAML_FLOAT_PATTERN = new RegExp(
582
+ // 2.5e4, 2.5 and integers
583
+ "^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
584
+ );
585
+ const YAML_FLOAT_SPECIAL_PATTERN = new RegExp(
586
+ "^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
587
+ );
588
+ function resolveYamlFloat(data) {
589
+ if (data === null) return false;
590
+ if (!YAML_FLOAT_PATTERN.test(data)) {
591
+ return false;
592
+ }
593
+ if (isFinite(parseFloat(data, 10))) {
594
+ return true;
595
+ }
596
+ return YAML_FLOAT_SPECIAL_PATTERN.test(data);
597
+ }
598
+ function constructYamlFloat(data) {
599
+ let value = data.toLowerCase();
600
+ const sign = value[0] === "-" ? -1 : 1;
601
+ if ("+-".indexOf(value[0]) >= 0) {
602
+ value = value.slice(1);
603
+ }
604
+ if (value === ".inf") {
605
+ return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
606
+ } else if (value === ".nan") {
607
+ return NaN;
608
+ }
609
+ return sign * parseFloat(value, 10);
610
+ }
611
+ const SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
612
+ function representYamlFloat(object, style) {
613
+ if (isNaN(object)) {
614
+ switch (style) {
615
+ case "lowercase":
616
+ return ".nan";
617
+ case "uppercase":
618
+ return ".NAN";
619
+ case "camelcase":
620
+ return ".NaN";
621
+ }
622
+ } else if (Number.POSITIVE_INFINITY === object) {
623
+ switch (style) {
624
+ case "lowercase":
625
+ return ".inf";
626
+ case "uppercase":
627
+ return ".INF";
628
+ case "camelcase":
629
+ return ".Inf";
630
+ }
631
+ } else if (Number.NEGATIVE_INFINITY === object) {
632
+ switch (style) {
633
+ case "lowercase":
634
+ return "-.inf";
635
+ case "uppercase":
636
+ return "-.INF";
637
+ case "camelcase":
638
+ return "-.Inf";
639
+ }
640
+ } else if (common2.isNegativeZero(object)) {
641
+ return "-0.0";
642
+ }
643
+ const res = object.toString(10);
644
+ return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res;
645
+ }
646
+ function isFloat(object) {
647
+ return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common2.isNegativeZero(object));
648
+ }
649
+ float = new Type2("tag:yaml.org,2002:float", {
650
+ kind: "scalar",
651
+ resolve: resolveYamlFloat,
652
+ construct: constructYamlFloat,
653
+ predicate: isFloat,
654
+ represent: representYamlFloat,
655
+ defaultStyle: "lowercase"
656
+ });
657
+ return float;
658
+ }
659
+ var json;
660
+ var hasRequiredJson;
661
+ function requireJson() {
662
+ if (hasRequiredJson) return json;
663
+ hasRequiredJson = 1;
664
+ json = requireFailsafe().extend({
665
+ implicit: [
666
+ require_null(),
667
+ requireBool(),
668
+ requireInt(),
669
+ requireFloat()
670
+ ]
671
+ });
672
+ return json;
673
+ }
674
+ var core;
675
+ var hasRequiredCore;
676
+ function requireCore() {
677
+ if (hasRequiredCore) return core;
678
+ hasRequiredCore = 1;
679
+ core = requireJson();
680
+ return core;
681
+ }
682
+ var timestamp;
683
+ var hasRequiredTimestamp;
684
+ function requireTimestamp() {
685
+ if (hasRequiredTimestamp) return timestamp;
686
+ hasRequiredTimestamp = 1;
687
+ const Type2 = requireType();
688
+ const YAML_DATE_REGEXP = new RegExp(
689
+ "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
690
+ );
691
+ const YAML_TIMESTAMP_REGEXP = new RegExp(
692
+ "^([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]))?))?$"
693
+ );
694
+ function resolveYamlTimestamp(data) {
695
+ if (data === null) return false;
696
+ if (YAML_DATE_REGEXP.exec(data) !== null) return true;
697
+ if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;
698
+ return false;
699
+ }
700
+ function constructYamlTimestamp(data) {
701
+ let fraction = 0;
702
+ let delta = null;
703
+ let match = YAML_DATE_REGEXP.exec(data);
704
+ if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);
705
+ if (match === null) throw new Error("Date resolve error");
706
+ const year = +match[1];
707
+ const month = +match[2] - 1;
708
+ const day = +match[3];
709
+ if (!match[4]) {
710
+ return new Date(Date.UTC(year, month, day));
711
+ }
712
+ const hour = +match[4];
713
+ const minute = +match[5];
714
+ const second = +match[6];
715
+ if (match[7]) {
716
+ fraction = match[7].slice(0, 3);
717
+ while (fraction.length < 3) {
718
+ fraction += "0";
719
+ }
720
+ fraction = +fraction;
721
+ }
722
+ if (match[9]) {
723
+ const tzHour = +match[10];
724
+ const tzMinute = +(match[11] || 0);
725
+ delta = (tzHour * 60 + tzMinute) * 6e4;
726
+ if (match[9] === "-") delta = -delta;
727
+ }
728
+ const date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
729
+ if (delta) date.setTime(date.getTime() - delta);
730
+ return date;
731
+ }
732
+ function representYamlTimestamp(object) {
733
+ return object.toISOString();
734
+ }
735
+ timestamp = new Type2("tag:yaml.org,2002:timestamp", {
736
+ kind: "scalar",
737
+ resolve: resolveYamlTimestamp,
738
+ construct: constructYamlTimestamp,
739
+ instanceOf: Date,
740
+ represent: representYamlTimestamp
741
+ });
742
+ return timestamp;
743
+ }
744
+ var merge;
745
+ var hasRequiredMerge;
746
+ function requireMerge() {
747
+ if (hasRequiredMerge) return merge;
748
+ hasRequiredMerge = 1;
749
+ const Type2 = requireType();
750
+ function resolveYamlMerge(data) {
751
+ return data === "<<" || data === null;
752
+ }
753
+ merge = new Type2("tag:yaml.org,2002:merge", {
754
+ kind: "scalar",
755
+ resolve: resolveYamlMerge
756
+ });
757
+ return merge;
758
+ }
759
+ var binary;
760
+ var hasRequiredBinary;
761
+ function requireBinary() {
762
+ if (hasRequiredBinary) return binary;
763
+ hasRequiredBinary = 1;
764
+ const Type2 = requireType();
765
+ const BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
766
+ function resolveYamlBinary(data) {
767
+ if (data === null) return false;
768
+ let bitlen = 0;
769
+ const max = data.length;
770
+ const map2 = BASE64_MAP;
771
+ for (let idx = 0; idx < max; idx++) {
772
+ const code = map2.indexOf(data.charAt(idx));
773
+ if (code > 64) continue;
774
+ if (code < 0) return false;
775
+ bitlen += 6;
776
+ }
777
+ return bitlen % 8 === 0;
778
+ }
779
+ function constructYamlBinary(data) {
780
+ const input = data.replace(/[\r\n=]/g, "");
781
+ const max = input.length;
782
+ const map2 = BASE64_MAP;
783
+ let bits = 0;
784
+ const result = [];
785
+ for (let idx = 0; idx < max; idx++) {
786
+ if (idx % 4 === 0 && idx) {
787
+ result.push(bits >> 16 & 255);
788
+ result.push(bits >> 8 & 255);
789
+ result.push(bits & 255);
790
+ }
791
+ bits = bits << 6 | map2.indexOf(input.charAt(idx));
792
+ }
793
+ const tailbits = max % 4 * 6;
794
+ if (tailbits === 0) {
795
+ result.push(bits >> 16 & 255);
796
+ result.push(bits >> 8 & 255);
797
+ result.push(bits & 255);
798
+ } else if (tailbits === 18) {
799
+ result.push(bits >> 10 & 255);
800
+ result.push(bits >> 2 & 255);
801
+ } else if (tailbits === 12) {
802
+ result.push(bits >> 4 & 255);
803
+ }
804
+ return new Uint8Array(result);
805
+ }
806
+ function representYamlBinary(object) {
807
+ let result = "";
808
+ let bits = 0;
809
+ const max = object.length;
810
+ const map2 = BASE64_MAP;
811
+ for (let idx = 0; idx < max; idx++) {
812
+ if (idx % 3 === 0 && idx) {
813
+ result += map2[bits >> 18 & 63];
814
+ result += map2[bits >> 12 & 63];
815
+ result += map2[bits >> 6 & 63];
816
+ result += map2[bits & 63];
817
+ }
818
+ bits = (bits << 8) + object[idx];
819
+ }
820
+ const tail = max % 3;
821
+ if (tail === 0) {
822
+ result += map2[bits >> 18 & 63];
823
+ result += map2[bits >> 12 & 63];
824
+ result += map2[bits >> 6 & 63];
825
+ result += map2[bits & 63];
826
+ } else if (tail === 2) {
827
+ result += map2[bits >> 10 & 63];
828
+ result += map2[bits >> 4 & 63];
829
+ result += map2[bits << 2 & 63];
830
+ result += map2[64];
831
+ } else if (tail === 1) {
832
+ result += map2[bits >> 2 & 63];
833
+ result += map2[bits << 4 & 63];
834
+ result += map2[64];
835
+ result += map2[64];
836
+ }
837
+ return result;
838
+ }
839
+ function isBinary(obj) {
840
+ return Object.prototype.toString.call(obj) === "[object Uint8Array]";
841
+ }
842
+ binary = new Type2("tag:yaml.org,2002:binary", {
843
+ kind: "scalar",
844
+ resolve: resolveYamlBinary,
845
+ construct: constructYamlBinary,
846
+ predicate: isBinary,
847
+ represent: representYamlBinary
848
+ });
849
+ return binary;
850
+ }
851
+ var omap;
852
+ var hasRequiredOmap;
853
+ function requireOmap() {
854
+ if (hasRequiredOmap) return omap;
855
+ hasRequiredOmap = 1;
856
+ const Type2 = requireType();
857
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
858
+ const _toString = Object.prototype.toString;
859
+ function resolveYamlOmap(data) {
860
+ if (data === null) return true;
861
+ const objectKeys = {};
862
+ const object = data;
863
+ for (let index = 0, length = object.length; index < length; index += 1) {
864
+ const pair = object[index];
865
+ let pairHasKey = false;
866
+ if (_toString.call(pair) !== "[object Object]") return false;
867
+ let pairKey;
868
+ for (pairKey in pair) {
869
+ if (_hasOwnProperty.call(pair, pairKey)) {
870
+ if (!pairHasKey) pairHasKey = true;
871
+ else return false;
872
+ }
873
+ }
874
+ if (!pairHasKey) return false;
875
+ if (_hasOwnProperty.call(objectKeys, pairKey)) return false;
876
+ Object.defineProperty(objectKeys, pairKey, { value: true });
877
+ }
878
+ return true;
879
+ }
880
+ function constructYamlOmap(data) {
881
+ return data !== null ? data : [];
882
+ }
883
+ omap = new Type2("tag:yaml.org,2002:omap", {
884
+ kind: "sequence",
885
+ resolve: resolveYamlOmap,
886
+ construct: constructYamlOmap
887
+ });
888
+ return omap;
889
+ }
890
+ var pairs;
891
+ var hasRequiredPairs;
892
+ function requirePairs() {
893
+ if (hasRequiredPairs) return pairs;
894
+ hasRequiredPairs = 1;
895
+ const Type2 = requireType();
896
+ const _toString = Object.prototype.toString;
897
+ function resolveYamlPairs(data) {
898
+ if (data === null) return true;
899
+ const object = data;
900
+ const result = new Array(object.length);
901
+ for (let index = 0, length = object.length; index < length; index += 1) {
902
+ const pair = object[index];
903
+ if (_toString.call(pair) !== "[object Object]") return false;
904
+ const keys = Object.keys(pair);
905
+ if (keys.length !== 1) return false;
906
+ result[index] = [keys[0], pair[keys[0]]];
907
+ }
908
+ return true;
909
+ }
910
+ function constructYamlPairs(data) {
911
+ if (data === null) return [];
912
+ const object = data;
913
+ const result = new Array(object.length);
914
+ for (let index = 0, length = object.length; index < length; index += 1) {
915
+ const pair = object[index];
916
+ const keys = Object.keys(pair);
917
+ result[index] = [keys[0], pair[keys[0]]];
918
+ }
919
+ return result;
920
+ }
921
+ pairs = new Type2("tag:yaml.org,2002:pairs", {
922
+ kind: "sequence",
923
+ resolve: resolveYamlPairs,
924
+ construct: constructYamlPairs
925
+ });
926
+ return pairs;
927
+ }
928
+ var set;
929
+ var hasRequiredSet;
930
+ function requireSet() {
931
+ if (hasRequiredSet) return set;
932
+ hasRequiredSet = 1;
933
+ const Type2 = requireType();
934
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
935
+ function resolveYamlSet(data) {
936
+ if (data === null) return true;
937
+ const object = data;
938
+ for (const key in object) {
939
+ if (_hasOwnProperty.call(object, key)) {
940
+ if (object[key] !== null) return false;
941
+ }
942
+ }
943
+ return true;
944
+ }
945
+ function constructYamlSet(data) {
946
+ return data !== null ? data : {};
947
+ }
948
+ set = new Type2("tag:yaml.org,2002:set", {
949
+ kind: "mapping",
950
+ resolve: resolveYamlSet,
951
+ construct: constructYamlSet
952
+ });
953
+ return set;
954
+ }
955
+ var _default;
956
+ var hasRequired_default;
957
+ function require_default() {
958
+ if (hasRequired_default) return _default;
959
+ hasRequired_default = 1;
960
+ _default = requireCore().extend({
961
+ implicit: [
962
+ requireTimestamp(),
963
+ requireMerge()
964
+ ],
965
+ explicit: [
966
+ requireBinary(),
967
+ requireOmap(),
968
+ requirePairs(),
969
+ requireSet()
970
+ ]
971
+ });
972
+ return _default;
973
+ }
974
+ var hasRequiredLoader;
975
+ function requireLoader() {
976
+ if (hasRequiredLoader) return loader;
977
+ hasRequiredLoader = 1;
978
+ const common2 = requireCommon();
979
+ const YAMLException2 = requireException();
980
+ const makeSnippet = requireSnippet();
981
+ const DEFAULT_SCHEMA2 = require_default();
982
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
983
+ const CONTEXT_FLOW_IN = 1;
984
+ const CONTEXT_FLOW_OUT = 2;
985
+ const CONTEXT_BLOCK_IN = 3;
986
+ const CONTEXT_BLOCK_OUT = 4;
987
+ const CHOMPING_CLIP = 1;
988
+ const CHOMPING_STRIP = 2;
989
+ const CHOMPING_KEEP = 3;
990
+ const PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
991
+ const PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
992
+ const PATTERN_FLOW_INDICATORS = /[,\[\]{}]/;
993
+ const PATTERN_TAG_HANDLE = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
994
+ const PATTERN_TAG_URI = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
995
+ function _class(obj) {
996
+ return Object.prototype.toString.call(obj);
997
+ }
998
+ function isEol(c) {
999
+ return c === 10 || c === 13;
1000
+ }
1001
+ function isWhiteSpace(c) {
1002
+ return c === 9 || c === 32;
1003
+ }
1004
+ function isWsOrEol(c) {
1005
+ return c === 9 || c === 32 || c === 10 || c === 13;
1006
+ }
1007
+ function isFlowIndicator(c) {
1008
+ return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
1009
+ }
1010
+ function fromHexCode(c) {
1011
+ if (c >= 48 && c <= 57) {
1012
+ return c - 48;
1013
+ }
1014
+ const lc = c | 32;
1015
+ if (lc >= 97 && lc <= 102) {
1016
+ return lc - 97 + 10;
1017
+ }
1018
+ return -1;
1019
+ }
1020
+ function escapedHexLen(c) {
1021
+ if (c === 120) {
1022
+ return 2;
1023
+ }
1024
+ if (c === 117) {
1025
+ return 4;
1026
+ }
1027
+ if (c === 85) {
1028
+ return 8;
1029
+ }
1030
+ return 0;
1031
+ }
1032
+ function fromDecimalCode(c) {
1033
+ if (c >= 48 && c <= 57) {
1034
+ return c - 48;
1035
+ }
1036
+ return -1;
1037
+ }
1038
+ function simpleEscapeSequence(c) {
1039
+ switch (c) {
1040
+ case 48:
1041
+ return "\0";
1042
+ case 97:
1043
+ return "\x07";
1044
+ case 98:
1045
+ return "\b";
1046
+ case 116:
1047
+ return " ";
1048
+ case 9:
1049
+ return " ";
1050
+ case 110:
1051
+ return "\n";
1052
+ case 118:
1053
+ return "\v";
1054
+ case 102:
1055
+ return "\f";
1056
+ case 114:
1057
+ return "\r";
1058
+ case 101:
1059
+ return "\x1B";
1060
+ case 32:
1061
+ return " ";
1062
+ case 34:
1063
+ return '"';
1064
+ case 47:
1065
+ return "/";
1066
+ case 92:
1067
+ return "\\";
1068
+ case 78:
1069
+ return "…";
1070
+ case 95:
1071
+ return " ";
1072
+ case 76:
1073
+ return "\u2028";
1074
+ case 80:
1075
+ return "\u2029";
1076
+ default:
1077
+ return "";
1078
+ }
1079
+ }
1080
+ function charFromCodepoint(c) {
1081
+ if (c <= 65535) {
1082
+ return String.fromCharCode(c);
1083
+ }
1084
+ return String.fromCharCode(
1085
+ (c - 65536 >> 10) + 55296,
1086
+ (c - 65536 & 1023) + 56320
1087
+ );
1088
+ }
1089
+ function setProperty(object, key, value) {
1090
+ if (key === "__proto__") {
1091
+ Object.defineProperty(object, key, {
1092
+ configurable: true,
1093
+ enumerable: true,
1094
+ writable: true,
1095
+ value
1096
+ });
1097
+ } else {
1098
+ object[key] = value;
1099
+ }
1100
+ }
1101
+ const simpleEscapeCheck = new Array(256);
1102
+ const simpleEscapeMap = new Array(256);
1103
+ for (let i = 0; i < 256; i++) {
1104
+ simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
1105
+ simpleEscapeMap[i] = simpleEscapeSequence(i);
1106
+ }
1107
+ function State(input, options) {
1108
+ this.input = input;
1109
+ this.filename = options["filename"] || null;
1110
+ this.schema = options["schema"] || DEFAULT_SCHEMA2;
1111
+ this.onWarning = options["onWarning"] || null;
1112
+ this.legacy = options["legacy"] || false;
1113
+ this.json = options["json"] || false;
1114
+ this.listener = options["listener"] || null;
1115
+ this.maxDepth = typeof options["maxDepth"] === "number" ? options["maxDepth"] : 100;
1116
+ this.maxTotalMergeKeys = typeof options["maxTotalMergeKeys"] === "number" ? options["maxTotalMergeKeys"] : 1e4;
1117
+ this.implicitTypes = this.schema.compiledImplicit;
1118
+ this.typeMap = this.schema.compiledTypeMap;
1119
+ this.length = input.length;
1120
+ this.position = 0;
1121
+ this.line = 0;
1122
+ this.lineStart = 0;
1123
+ this.lineIndent = 0;
1124
+ this.depth = 0;
1125
+ this.totalMergeKeys = 0;
1126
+ this.firstTabInLine = -1;
1127
+ this.documents = [];
1128
+ this.anchorMapTransactions = [];
1129
+ }
1130
+ function generateError(state, message) {
1131
+ const mark = {
1132
+ name: state.filename,
1133
+ buffer: state.input.slice(0, -1),
1134
+ // omit trailing \0
1135
+ position: state.position,
1136
+ line: state.line,
1137
+ column: state.position - state.lineStart
1138
+ };
1139
+ mark.snippet = makeSnippet(mark);
1140
+ return new YAMLException2(message, mark);
1141
+ }
1142
+ function throwError(state, message) {
1143
+ throw generateError(state, message);
1144
+ }
1145
+ function throwWarning(state, message) {
1146
+ if (state.onWarning) {
1147
+ state.onWarning.call(null, generateError(state, message));
1148
+ }
1149
+ }
1150
+ function storeAnchor(state, name, value) {
1151
+ const transactions = state.anchorMapTransactions;
1152
+ if (transactions.length !== 0) {
1153
+ const transaction = transactions[transactions.length - 1];
1154
+ if (!_hasOwnProperty.call(transaction, name)) {
1155
+ transaction[name] = {
1156
+ existed: _hasOwnProperty.call(state.anchorMap, name),
1157
+ value: state.anchorMap[name]
1158
+ };
1159
+ }
1160
+ }
1161
+ state.anchorMap[name] = value;
1162
+ }
1163
+ function beginAnchorTransaction(state) {
1164
+ state.anchorMapTransactions.push(/* @__PURE__ */ Object.create(null));
1165
+ }
1166
+ function commitAnchorTransaction(state) {
1167
+ const transaction = state.anchorMapTransactions.pop();
1168
+ const transactions = state.anchorMapTransactions;
1169
+ if (transactions.length === 0) return;
1170
+ const parent = transactions[transactions.length - 1];
1171
+ const names = Object.keys(transaction);
1172
+ for (let index = 0, length = names.length; index < length; index += 1) {
1173
+ const name = names[index];
1174
+ if (!_hasOwnProperty.call(parent, name)) {
1175
+ parent[name] = transaction[name];
1176
+ }
1177
+ }
1178
+ }
1179
+ function rollbackAnchorTransaction(state) {
1180
+ const transaction = state.anchorMapTransactions.pop();
1181
+ const names = Object.keys(transaction);
1182
+ for (let index = names.length - 1; index >= 0; index -= 1) {
1183
+ const entry = transaction[names[index]];
1184
+ if (entry.existed) {
1185
+ state.anchorMap[names[index]] = entry.value;
1186
+ } else {
1187
+ delete state.anchorMap[names[index]];
1188
+ }
1189
+ }
1190
+ }
1191
+ function snapshotState(state) {
1192
+ return {
1193
+ position: state.position,
1194
+ line: state.line,
1195
+ lineStart: state.lineStart,
1196
+ lineIndent: state.lineIndent,
1197
+ firstTabInLine: state.firstTabInLine,
1198
+ tag: state.tag,
1199
+ anchor: state.anchor,
1200
+ kind: state.kind,
1201
+ result: state.result
1202
+ };
1203
+ }
1204
+ function restoreState(state, snapshot) {
1205
+ state.position = snapshot.position;
1206
+ state.line = snapshot.line;
1207
+ state.lineStart = snapshot.lineStart;
1208
+ state.lineIndent = snapshot.lineIndent;
1209
+ state.firstTabInLine = snapshot.firstTabInLine;
1210
+ state.tag = snapshot.tag;
1211
+ state.anchor = snapshot.anchor;
1212
+ state.kind = snapshot.kind;
1213
+ state.result = snapshot.result;
1214
+ }
1215
+ const directiveHandlers = {
1216
+ YAML: function handleYamlDirective(state, name, args) {
1217
+ if (state.version !== null) {
1218
+ throwError(state, "duplication of %YAML directive");
1219
+ }
1220
+ if (args.length !== 1) {
1221
+ throwError(state, "YAML directive accepts exactly one argument");
1222
+ }
1223
+ const match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
1224
+ if (match === null) {
1225
+ throwError(state, "ill-formed argument of the YAML directive");
1226
+ }
1227
+ const major = parseInt(match[1], 10);
1228
+ const minor = parseInt(match[2], 10);
1229
+ if (major !== 1) {
1230
+ throwError(state, "unacceptable YAML version of the document");
1231
+ }
1232
+ state.version = args[0];
1233
+ state.checkLineBreaks = minor < 2;
1234
+ if (minor !== 1 && minor !== 2) {
1235
+ throwWarning(state, "unsupported YAML version of the document");
1236
+ }
1237
+ },
1238
+ TAG: function handleTagDirective(state, name, args) {
1239
+ let prefix;
1240
+ if (args.length !== 2) {
1241
+ throwError(state, "TAG directive accepts exactly two arguments");
1242
+ }
1243
+ const handle = args[0];
1244
+ prefix = args[1];
1245
+ if (!PATTERN_TAG_HANDLE.test(handle)) {
1246
+ throwError(state, "ill-formed tag handle (first argument) of the TAG directive");
1247
+ }
1248
+ if (_hasOwnProperty.call(state.tagMap, handle)) {
1249
+ throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
1250
+ }
1251
+ if (!PATTERN_TAG_URI.test(prefix)) {
1252
+ throwError(state, "ill-formed tag prefix (second argument) of the TAG directive");
1253
+ }
1254
+ try {
1255
+ prefix = decodeURIComponent(prefix);
1256
+ } catch (err) {
1257
+ throwError(state, "tag prefix is malformed: " + prefix);
1258
+ }
1259
+ state.tagMap[handle] = prefix;
1260
+ }
1261
+ };
1262
+ function captureSegment(state, start, end, checkJson) {
1263
+ if (start < end) {
1264
+ const _result = state.input.slice(start, end);
1265
+ if (checkJson) {
1266
+ for (let _position = 0, _length = _result.length; _position < _length; _position += 1) {
1267
+ const _character = _result.charCodeAt(_position);
1268
+ if (!(_character === 9 || _character >= 32 && _character <= 1114111)) {
1269
+ throwError(state, "expected valid JSON character");
1270
+ }
1271
+ }
1272
+ } else if (PATTERN_NON_PRINTABLE.test(_result)) {
1273
+ throwError(state, "the stream contains non-printable characters");
1274
+ }
1275
+ state.result += _result;
1276
+ }
1277
+ }
1278
+ function chargeMergeWork(state) {
1279
+ state.totalMergeKeys++;
1280
+ if (state.maxTotalMergeKeys !== -1 && state.totalMergeKeys > state.maxTotalMergeKeys) {
1281
+ throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
1282
+ }
1283
+ }
1284
+ function mergeMappings(state, destination, source, overridableKeys) {
1285
+ if (!common2.isObject(source)) {
1286
+ throwError(state, "cannot merge mappings; the provided source object is unacceptable");
1287
+ }
1288
+ chargeMergeWork(state);
1289
+ const sourceKeys = Object.keys(source);
1290
+ for (let index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
1291
+ const key = sourceKeys[index];
1292
+ chargeMergeWork(state);
1293
+ if (!_hasOwnProperty.call(destination, key)) {
1294
+ setProperty(destination, key, source[key]);
1295
+ overridableKeys[key] = true;
1296
+ }
1297
+ }
1298
+ }
1299
+ function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startLineStart, startPos) {
1300
+ if (Array.isArray(keyNode)) {
1301
+ keyNode = Array.prototype.slice.call(keyNode);
1302
+ for (let index = 0, quantity = keyNode.length; index < quantity; index += 1) {
1303
+ if (Array.isArray(keyNode[index])) {
1304
+ throwError(state, "nested arrays are not supported inside keys");
1305
+ }
1306
+ if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") {
1307
+ keyNode[index] = "[object Object]";
1308
+ }
1309
+ }
1310
+ }
1311
+ if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") {
1312
+ keyNode = "[object Object]";
1313
+ }
1314
+ keyNode = String(keyNode);
1315
+ if (_result === null) {
1316
+ _result = {};
1317
+ }
1318
+ if (keyTag === "tag:yaml.org,2002:merge") {
1319
+ if (Array.isArray(valueNode)) {
1320
+ if (valueNode.length > 100) {
1321
+ throwError(state, "abnormal merge sequence size");
1322
+ }
1323
+ for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) {
1324
+ mergeMappings(state, _result, valueNode[index], overridableKeys);
1325
+ }
1326
+ } else {
1327
+ mergeMappings(state, _result, valueNode, overridableKeys);
1328
+ }
1329
+ } else {
1330
+ if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {
1331
+ state.line = startLine || state.line;
1332
+ state.lineStart = startLineStart || state.lineStart;
1333
+ state.position = startPos || state.position;
1334
+ throwError(state, "duplicated mapping key");
1335
+ }
1336
+ setProperty(_result, keyNode, valueNode);
1337
+ delete overridableKeys[keyNode];
1338
+ }
1339
+ return _result;
1340
+ }
1341
+ function readLineBreak(state) {
1342
+ const ch = state.input.charCodeAt(state.position);
1343
+ if (ch === 10) {
1344
+ state.position++;
1345
+ } else if (ch === 13) {
1346
+ state.position++;
1347
+ if (state.input.charCodeAt(state.position) === 10) {
1348
+ state.position++;
1349
+ }
1350
+ } else {
1351
+ throwError(state, "a line break is expected");
1352
+ }
1353
+ state.line += 1;
1354
+ state.lineStart = state.position;
1355
+ state.firstTabInLine = -1;
1356
+ }
1357
+ function skipSeparationSpace(state, allowComments, checkIndent) {
1358
+ let lineBreaks = 0;
1359
+ let ch = state.input.charCodeAt(state.position);
1360
+ while (ch !== 0) {
1361
+ while (isWhiteSpace(ch)) {
1362
+ if (ch === 9 && state.firstTabInLine === -1) {
1363
+ state.firstTabInLine = state.position;
1364
+ }
1365
+ ch = state.input.charCodeAt(++state.position);
1366
+ }
1367
+ if (allowComments && ch === 35) {
1368
+ do {
1369
+ ch = state.input.charCodeAt(++state.position);
1370
+ } while (ch !== 10 && ch !== 13 && ch !== 0);
1371
+ }
1372
+ if (isEol(ch)) {
1373
+ readLineBreak(state);
1374
+ ch = state.input.charCodeAt(state.position);
1375
+ lineBreaks++;
1376
+ state.lineIndent = 0;
1377
+ while (ch === 32) {
1378
+ state.lineIndent++;
1379
+ ch = state.input.charCodeAt(++state.position);
1380
+ }
1381
+ } else {
1382
+ break;
1383
+ }
1384
+ }
1385
+ if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {
1386
+ throwWarning(state, "deficient indentation");
1387
+ }
1388
+ return lineBreaks;
1389
+ }
1390
+ function testDocumentSeparator(state) {
1391
+ let _position = state.position;
1392
+ let ch = state.input.charCodeAt(_position);
1393
+ if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) {
1394
+ _position += 3;
1395
+ ch = state.input.charCodeAt(_position);
1396
+ if (ch === 0 || isWsOrEol(ch)) {
1397
+ return true;
1398
+ }
1399
+ }
1400
+ return false;
1401
+ }
1402
+ function writeFoldedLines(state, count) {
1403
+ if (count === 1) {
1404
+ state.result += " ";
1405
+ } else if (count > 1) {
1406
+ state.result += common2.repeat("\n", count - 1);
1407
+ }
1408
+ }
1409
+ function readPlainScalar(state, nodeIndent, withinFlowCollection) {
1410
+ let captureStart;
1411
+ let captureEnd;
1412
+ let hasPendingContent;
1413
+ let _line;
1414
+ let _lineStart;
1415
+ let _lineIndent;
1416
+ const _kind = state.kind;
1417
+ const _result = state.result;
1418
+ let ch = state.input.charCodeAt(state.position);
1419
+ if (isWsOrEol(ch) || isFlowIndicator(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) {
1420
+ return false;
1421
+ }
1422
+ if (ch === 63 || ch === 45) {
1423
+ const following = state.input.charCodeAt(state.position + 1);
1424
+ if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following)) {
1425
+ return false;
1426
+ }
1427
+ }
1428
+ state.kind = "scalar";
1429
+ state.result = "";
1430
+ captureStart = captureEnd = state.position;
1431
+ hasPendingContent = false;
1432
+ while (ch !== 0) {
1433
+ if (ch === 58) {
1434
+ const following = state.input.charCodeAt(state.position + 1);
1435
+ if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following)) {
1436
+ break;
1437
+ }
1438
+ } else if (ch === 35) {
1439
+ const preceding = state.input.charCodeAt(state.position - 1);
1440
+ if (isWsOrEol(preceding)) {
1441
+ break;
1442
+ }
1443
+ } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && isFlowIndicator(ch)) {
1444
+ break;
1445
+ } else if (isEol(ch)) {
1446
+ _line = state.line;
1447
+ _lineStart = state.lineStart;
1448
+ _lineIndent = state.lineIndent;
1449
+ skipSeparationSpace(state, false, -1);
1450
+ if (state.lineIndent >= nodeIndent) {
1451
+ hasPendingContent = true;
1452
+ ch = state.input.charCodeAt(state.position);
1453
+ continue;
1454
+ } else {
1455
+ state.position = captureEnd;
1456
+ state.line = _line;
1457
+ state.lineStart = _lineStart;
1458
+ state.lineIndent = _lineIndent;
1459
+ break;
1460
+ }
1461
+ }
1462
+ if (hasPendingContent) {
1463
+ captureSegment(state, captureStart, captureEnd, false);
1464
+ writeFoldedLines(state, state.line - _line);
1465
+ captureStart = captureEnd = state.position;
1466
+ hasPendingContent = false;
1467
+ }
1468
+ if (!isWhiteSpace(ch)) {
1469
+ captureEnd = state.position + 1;
1470
+ }
1471
+ ch = state.input.charCodeAt(++state.position);
1472
+ }
1473
+ captureSegment(state, captureStart, captureEnd, false);
1474
+ if (state.result) {
1475
+ return true;
1476
+ }
1477
+ state.kind = _kind;
1478
+ state.result = _result;
1479
+ return false;
1480
+ }
1481
+ function readSingleQuotedScalar(state, nodeIndent) {
1482
+ let captureStart;
1483
+ let captureEnd;
1484
+ let ch = state.input.charCodeAt(state.position);
1485
+ if (ch !== 39) {
1486
+ return false;
1487
+ }
1488
+ state.kind = "scalar";
1489
+ state.result = "";
1490
+ state.position++;
1491
+ captureStart = captureEnd = state.position;
1492
+ while ((ch = state.input.charCodeAt(state.position)) !== 0) {
1493
+ if (ch === 39) {
1494
+ captureSegment(state, captureStart, state.position, true);
1495
+ ch = state.input.charCodeAt(++state.position);
1496
+ if (ch === 39) {
1497
+ captureStart = state.position;
1498
+ state.position++;
1499
+ captureEnd = state.position;
1500
+ } else {
1501
+ return true;
1502
+ }
1503
+ } else if (isEol(ch)) {
1504
+ captureSegment(state, captureStart, captureEnd, true);
1505
+ writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
1506
+ captureStart = captureEnd = state.position;
1507
+ } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
1508
+ throwError(state, "unexpected end of the document within a single quoted scalar");
1509
+ } else {
1510
+ state.position++;
1511
+ if (!isWhiteSpace(ch)) {
1512
+ captureEnd = state.position;
1513
+ }
1514
+ }
1515
+ }
1516
+ throwError(state, "unexpected end of the stream within a single quoted scalar");
1517
+ }
1518
+ function readDoubleQuotedScalar(state, nodeIndent) {
1519
+ let captureStart;
1520
+ let captureEnd;
1521
+ let tmp;
1522
+ let ch = state.input.charCodeAt(state.position);
1523
+ if (ch !== 34) {
1524
+ return false;
1525
+ }
1526
+ state.kind = "scalar";
1527
+ state.result = "";
1528
+ state.position++;
1529
+ captureStart = captureEnd = state.position;
1530
+ while ((ch = state.input.charCodeAt(state.position)) !== 0) {
1531
+ if (ch === 34) {
1532
+ captureSegment(state, captureStart, state.position, true);
1533
+ state.position++;
1534
+ return true;
1535
+ } else if (ch === 92) {
1536
+ captureSegment(state, captureStart, state.position, true);
1537
+ ch = state.input.charCodeAt(++state.position);
1538
+ if (isEol(ch)) {
1539
+ skipSeparationSpace(state, false, nodeIndent);
1540
+ } else if (ch < 256 && simpleEscapeCheck[ch]) {
1541
+ state.result += simpleEscapeMap[ch];
1542
+ state.position++;
1543
+ } else if ((tmp = escapedHexLen(ch)) > 0) {
1544
+ let hexLength = tmp;
1545
+ let hexResult = 0;
1546
+ for (; hexLength > 0; hexLength--) {
1547
+ ch = state.input.charCodeAt(++state.position);
1548
+ if ((tmp = fromHexCode(ch)) >= 0) {
1549
+ hexResult = (hexResult << 4) + tmp;
1550
+ } else {
1551
+ throwError(state, "expected hexadecimal character");
1552
+ }
1553
+ }
1554
+ state.result += charFromCodepoint(hexResult);
1555
+ state.position++;
1556
+ } else {
1557
+ throwError(state, "unknown escape sequence");
1558
+ }
1559
+ captureStart = captureEnd = state.position;
1560
+ } else if (isEol(ch)) {
1561
+ captureSegment(state, captureStart, captureEnd, true);
1562
+ writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
1563
+ captureStart = captureEnd = state.position;
1564
+ } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
1565
+ throwError(state, "unexpected end of the document within a double quoted scalar");
1566
+ } else {
1567
+ state.position++;
1568
+ if (!isWhiteSpace(ch)) {
1569
+ captureEnd = state.position;
1570
+ }
1571
+ }
1572
+ }
1573
+ throwError(state, "unexpected end of the stream within a double quoted scalar");
1574
+ }
1575
+ function readFlowCollection(state, nodeIndent) {
1576
+ let readNext = true;
1577
+ let _line;
1578
+ let _lineStart;
1579
+ let _pos;
1580
+ const _tag = state.tag;
1581
+ let _result;
1582
+ const _anchor = state.anchor;
1583
+ let terminator;
1584
+ let isPair;
1585
+ let isExplicitPair;
1586
+ let isMapping;
1587
+ const overridableKeys = /* @__PURE__ */ Object.create(null);
1588
+ let keyNode;
1589
+ let keyTag;
1590
+ let valueNode;
1591
+ let ch = state.input.charCodeAt(state.position);
1592
+ if (ch === 91) {
1593
+ terminator = 93;
1594
+ isMapping = false;
1595
+ _result = [];
1596
+ } else if (ch === 123) {
1597
+ terminator = 125;
1598
+ isMapping = true;
1599
+ _result = {};
1600
+ } else {
1601
+ return false;
1602
+ }
1603
+ if (state.anchor !== null) {
1604
+ storeAnchor(state, state.anchor, _result);
1605
+ }
1606
+ ch = state.input.charCodeAt(++state.position);
1607
+ while (ch !== 0) {
1608
+ skipSeparationSpace(state, true, nodeIndent);
1609
+ ch = state.input.charCodeAt(state.position);
1610
+ if (ch === terminator) {
1611
+ state.position++;
1612
+ state.tag = _tag;
1613
+ state.anchor = _anchor;
1614
+ state.kind = isMapping ? "mapping" : "sequence";
1615
+ state.result = _result;
1616
+ return true;
1617
+ } else if (!readNext) {
1618
+ throwError(state, "missed comma between flow collection entries");
1619
+ } else if (ch === 44) {
1620
+ throwError(state, "expected the node content, but found ','");
1621
+ }
1622
+ keyTag = keyNode = valueNode = null;
1623
+ isPair = isExplicitPair = false;
1624
+ if (ch === 63) {
1625
+ const following = state.input.charCodeAt(state.position + 1);
1626
+ if (isWsOrEol(following)) {
1627
+ isPair = isExplicitPair = true;
1628
+ state.position++;
1629
+ skipSeparationSpace(state, true, nodeIndent);
1630
+ }
1631
+ }
1632
+ _line = state.line;
1633
+ _lineStart = state.lineStart;
1634
+ _pos = state.position;
1635
+ composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
1636
+ keyTag = state.tag;
1637
+ keyNode = state.result;
1638
+ skipSeparationSpace(state, true, nodeIndent);
1639
+ ch = state.input.charCodeAt(state.position);
1640
+ if ((isExplicitPair || state.line === _line) && ch === 58) {
1641
+ isPair = true;
1642
+ ch = state.input.charCodeAt(++state.position);
1643
+ skipSeparationSpace(state, true, nodeIndent);
1644
+ composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
1645
+ valueNode = state.result;
1646
+ }
1647
+ if (isMapping) {
1648
+ storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);
1649
+ } else if (isPair) {
1650
+ _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));
1651
+ } else {
1652
+ _result.push(keyNode);
1653
+ }
1654
+ skipSeparationSpace(state, true, nodeIndent);
1655
+ ch = state.input.charCodeAt(state.position);
1656
+ if (ch === 44) {
1657
+ readNext = true;
1658
+ ch = state.input.charCodeAt(++state.position);
1659
+ } else {
1660
+ readNext = false;
1661
+ }
1662
+ }
1663
+ throwError(state, "unexpected end of the stream within a flow collection");
1664
+ }
1665
+ function readBlockScalar(state, nodeIndent) {
1666
+ let folding;
1667
+ let chomping = CHOMPING_CLIP;
1668
+ let didReadContent = false;
1669
+ let detectedIndent = false;
1670
+ let textIndent = nodeIndent;
1671
+ let emptyLines = 0;
1672
+ let atMoreIndented = false;
1673
+ let tmp;
1674
+ let ch = state.input.charCodeAt(state.position);
1675
+ if (ch === 124) {
1676
+ folding = false;
1677
+ } else if (ch === 62) {
1678
+ folding = true;
1679
+ } else {
1680
+ return false;
1681
+ }
1682
+ state.kind = "scalar";
1683
+ state.result = "";
1684
+ while (ch !== 0) {
1685
+ ch = state.input.charCodeAt(++state.position);
1686
+ if (ch === 43 || ch === 45) {
1687
+ if (CHOMPING_CLIP === chomping) {
1688
+ chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP;
1689
+ } else {
1690
+ throwError(state, "repeat of a chomping mode identifier");
1691
+ }
1692
+ } else if ((tmp = fromDecimalCode(ch)) >= 0) {
1693
+ if (tmp === 0) {
1694
+ throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
1695
+ } else if (!detectedIndent) {
1696
+ textIndent = nodeIndent + tmp - 1;
1697
+ detectedIndent = true;
1698
+ } else {
1699
+ throwError(state, "repeat of an indentation width identifier");
1700
+ }
1701
+ } else {
1702
+ break;
1703
+ }
1704
+ }
1705
+ if (isWhiteSpace(ch)) {
1706
+ do {
1707
+ ch = state.input.charCodeAt(++state.position);
1708
+ } while (isWhiteSpace(ch));
1709
+ if (ch === 35) {
1710
+ do {
1711
+ ch = state.input.charCodeAt(++state.position);
1712
+ } while (!isEol(ch) && ch !== 0);
1713
+ }
1714
+ }
1715
+ while (ch !== 0) {
1716
+ readLineBreak(state);
1717
+ state.lineIndent = 0;
1718
+ ch = state.input.charCodeAt(state.position);
1719
+ while ((!detectedIndent || state.lineIndent < textIndent) && ch === 32) {
1720
+ state.lineIndent++;
1721
+ ch = state.input.charCodeAt(++state.position);
1722
+ }
1723
+ if (!detectedIndent && state.lineIndent > textIndent) {
1724
+ textIndent = state.lineIndent;
1725
+ }
1726
+ if (isEol(ch)) {
1727
+ emptyLines++;
1728
+ continue;
1729
+ }
1730
+ if (!detectedIndent && textIndent === 0) {
1731
+ throwError(state, "missing indentation for block scalar");
1732
+ }
1733
+ if (state.lineIndent < textIndent) {
1734
+ if (chomping === CHOMPING_KEEP) {
1735
+ state.result += common2.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1736
+ } else if (chomping === CHOMPING_CLIP) {
1737
+ if (didReadContent) {
1738
+ state.result += "\n";
1739
+ }
1740
+ }
1741
+ break;
1742
+ }
1743
+ if (folding) {
1744
+ if (isWhiteSpace(ch)) {
1745
+ atMoreIndented = true;
1746
+ state.result += common2.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1747
+ } else if (atMoreIndented) {
1748
+ atMoreIndented = false;
1749
+ state.result += common2.repeat("\n", emptyLines + 1);
1750
+ } else if (emptyLines === 0) {
1751
+ if (didReadContent) {
1752
+ state.result += " ";
1753
+ }
1754
+ } else {
1755
+ state.result += common2.repeat("\n", emptyLines);
1756
+ }
1757
+ } else {
1758
+ state.result += common2.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1759
+ }
1760
+ didReadContent = true;
1761
+ detectedIndent = true;
1762
+ emptyLines = 0;
1763
+ const captureStart = state.position;
1764
+ while (!isEol(ch) && ch !== 0) {
1765
+ ch = state.input.charCodeAt(++state.position);
1766
+ }
1767
+ captureSegment(state, captureStart, state.position, false);
1768
+ }
1769
+ return true;
1770
+ }
1771
+ function readBlockSequence(state, nodeIndent) {
1772
+ const _tag = state.tag;
1773
+ const _anchor = state.anchor;
1774
+ const _result = [];
1775
+ let detected = false;
1776
+ if (state.firstTabInLine !== -1) return false;
1777
+ if (state.anchor !== null) {
1778
+ storeAnchor(state, state.anchor, _result);
1779
+ }
1780
+ let ch = state.input.charCodeAt(state.position);
1781
+ while (ch !== 0) {
1782
+ if (state.firstTabInLine !== -1) {
1783
+ state.position = state.firstTabInLine;
1784
+ throwError(state, "tab characters must not be used in indentation");
1785
+ }
1786
+ if (ch !== 45) {
1787
+ break;
1788
+ }
1789
+ const following = state.input.charCodeAt(state.position + 1);
1790
+ if (!isWsOrEol(following)) {
1791
+ break;
1792
+ }
1793
+ detected = true;
1794
+ state.position++;
1795
+ if (skipSeparationSpace(state, true, -1)) {
1796
+ if (state.lineIndent <= nodeIndent) {
1797
+ _result.push(null);
1798
+ ch = state.input.charCodeAt(state.position);
1799
+ continue;
1800
+ }
1801
+ }
1802
+ const _line = state.line;
1803
+ composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
1804
+ _result.push(state.result);
1805
+ skipSeparationSpace(state, true, -1);
1806
+ ch = state.input.charCodeAt(state.position);
1807
+ if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) {
1808
+ throwError(state, "bad indentation of a sequence entry");
1809
+ } else if (state.lineIndent < nodeIndent) {
1810
+ break;
1811
+ }
1812
+ }
1813
+ if (detected) {
1814
+ state.tag = _tag;
1815
+ state.anchor = _anchor;
1816
+ state.kind = "sequence";
1817
+ state.result = _result;
1818
+ return true;
1819
+ }
1820
+ return false;
1821
+ }
1822
+ function readBlockMapping(state, nodeIndent, flowIndent) {
1823
+ let allowCompact;
1824
+ let _keyLine;
1825
+ let _keyLineStart;
1826
+ let _keyPos;
1827
+ const _tag = state.tag;
1828
+ const _anchor = state.anchor;
1829
+ const _result = {};
1830
+ const overridableKeys = /* @__PURE__ */ Object.create(null);
1831
+ let keyTag = null;
1832
+ let keyNode = null;
1833
+ let valueNode = null;
1834
+ let atExplicitKey = false;
1835
+ let detected = false;
1836
+ if (state.firstTabInLine !== -1) return false;
1837
+ if (state.anchor !== null) {
1838
+ storeAnchor(state, state.anchor, _result);
1839
+ }
1840
+ let ch = state.input.charCodeAt(state.position);
1841
+ while (ch !== 0) {
1842
+ if (!atExplicitKey && state.firstTabInLine !== -1) {
1843
+ state.position = state.firstTabInLine;
1844
+ throwError(state, "tab characters must not be used in indentation");
1845
+ }
1846
+ const following = state.input.charCodeAt(state.position + 1);
1847
+ const _line = state.line;
1848
+ if ((ch === 63 || ch === 58) && isWsOrEol(following)) {
1849
+ if (ch === 63) {
1850
+ if (atExplicitKey) {
1851
+ storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1852
+ keyTag = keyNode = valueNode = null;
1853
+ }
1854
+ detected = true;
1855
+ atExplicitKey = true;
1856
+ allowCompact = true;
1857
+ } else if (atExplicitKey) {
1858
+ atExplicitKey = false;
1859
+ allowCompact = true;
1860
+ } else {
1861
+ throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");
1862
+ }
1863
+ state.position += 1;
1864
+ ch = following;
1865
+ } else {
1866
+ _keyLine = state.line;
1867
+ _keyLineStart = state.lineStart;
1868
+ _keyPos = state.position;
1869
+ if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
1870
+ break;
1871
+ }
1872
+ if (state.line === _line) {
1873
+ ch = state.input.charCodeAt(state.position);
1874
+ while (isWhiteSpace(ch)) {
1875
+ ch = state.input.charCodeAt(++state.position);
1876
+ }
1877
+ if (ch === 58) {
1878
+ ch = state.input.charCodeAt(++state.position);
1879
+ if (!isWsOrEol(ch)) {
1880
+ throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
1881
+ }
1882
+ if (atExplicitKey) {
1883
+ storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1884
+ keyTag = keyNode = valueNode = null;
1885
+ }
1886
+ detected = true;
1887
+ atExplicitKey = false;
1888
+ allowCompact = false;
1889
+ keyTag = state.tag;
1890
+ keyNode = state.result;
1891
+ } else if (detected) {
1892
+ throwError(state, "can not read an implicit mapping pair; a colon is missed");
1893
+ } else {
1894
+ state.tag = _tag;
1895
+ state.anchor = _anchor;
1896
+ return true;
1897
+ }
1898
+ } else if (detected) {
1899
+ throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key");
1900
+ } else {
1901
+ state.tag = _tag;
1902
+ state.anchor = _anchor;
1903
+ return true;
1904
+ }
1905
+ }
1906
+ if (state.line === _line || state.lineIndent > nodeIndent) {
1907
+ if (atExplicitKey) {
1908
+ _keyLine = state.line;
1909
+ _keyLineStart = state.lineStart;
1910
+ _keyPos = state.position;
1911
+ }
1912
+ if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
1913
+ if (atExplicitKey) {
1914
+ keyNode = state.result;
1915
+ } else {
1916
+ valueNode = state.result;
1917
+ }
1918
+ }
1919
+ if (!atExplicitKey) {
1920
+ storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);
1921
+ keyTag = keyNode = valueNode = null;
1922
+ }
1923
+ skipSeparationSpace(state, true, -1);
1924
+ ch = state.input.charCodeAt(state.position);
1925
+ }
1926
+ if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) {
1927
+ throwError(state, "bad indentation of a mapping entry");
1928
+ } else if (state.lineIndent < nodeIndent) {
1929
+ break;
1930
+ }
1931
+ }
1932
+ if (atExplicitKey) {
1933
+ storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1934
+ }
1935
+ if (detected) {
1936
+ state.tag = _tag;
1937
+ state.anchor = _anchor;
1938
+ state.kind = "mapping";
1939
+ state.result = _result;
1940
+ }
1941
+ return detected;
1942
+ }
1943
+ function readTagProperty(state) {
1944
+ let isVerbatim = false;
1945
+ let isNamed = false;
1946
+ let tagHandle;
1947
+ let tagName;
1948
+ let ch = state.input.charCodeAt(state.position);
1949
+ if (ch !== 33) return false;
1950
+ if (state.tag !== null) {
1951
+ throwError(state, "duplication of a tag property");
1952
+ }
1953
+ ch = state.input.charCodeAt(++state.position);
1954
+ if (ch === 60) {
1955
+ isVerbatim = true;
1956
+ ch = state.input.charCodeAt(++state.position);
1957
+ } else if (ch === 33) {
1958
+ isNamed = true;
1959
+ tagHandle = "!!";
1960
+ ch = state.input.charCodeAt(++state.position);
1961
+ } else {
1962
+ tagHandle = "!";
1963
+ }
1964
+ let _position = state.position;
1965
+ if (isVerbatim) {
1966
+ do {
1967
+ ch = state.input.charCodeAt(++state.position);
1968
+ } while (ch !== 0 && ch !== 62);
1969
+ if (state.position < state.length) {
1970
+ tagName = state.input.slice(_position, state.position);
1971
+ ch = state.input.charCodeAt(++state.position);
1972
+ } else {
1973
+ throwError(state, "unexpected end of the stream within a verbatim tag");
1974
+ }
1975
+ } else {
1976
+ while (ch !== 0 && !isWsOrEol(ch)) {
1977
+ if (ch === 33) {
1978
+ if (!isNamed) {
1979
+ tagHandle = state.input.slice(_position - 1, state.position + 1);
1980
+ if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
1981
+ throwError(state, "named tag handle cannot contain such characters");
1982
+ }
1983
+ isNamed = true;
1984
+ _position = state.position + 1;
1985
+ } else {
1986
+ throwError(state, "tag suffix cannot contain exclamation marks");
1987
+ }
1988
+ }
1989
+ ch = state.input.charCodeAt(++state.position);
1990
+ }
1991
+ tagName = state.input.slice(_position, state.position);
1992
+ if (PATTERN_FLOW_INDICATORS.test(tagName)) {
1993
+ throwError(state, "tag suffix cannot contain flow indicator characters");
1994
+ }
1995
+ }
1996
+ if (tagName && !PATTERN_TAG_URI.test(tagName)) {
1997
+ throwError(state, "tag name cannot contain such characters: " + tagName);
1998
+ }
1999
+ try {
2000
+ tagName = decodeURIComponent(tagName);
2001
+ } catch (err) {
2002
+ throwError(state, "tag name is malformed: " + tagName);
2003
+ }
2004
+ if (isVerbatim) {
2005
+ state.tag = tagName;
2006
+ } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {
2007
+ state.tag = state.tagMap[tagHandle] + tagName;
2008
+ } else if (tagHandle === "!") {
2009
+ state.tag = "!" + tagName;
2010
+ } else if (tagHandle === "!!") {
2011
+ state.tag = "tag:yaml.org,2002:" + tagName;
2012
+ } else {
2013
+ throwError(state, 'undeclared tag handle "' + tagHandle + '"');
2014
+ }
2015
+ return true;
2016
+ }
2017
+ function readAnchorProperty(state) {
2018
+ let ch = state.input.charCodeAt(state.position);
2019
+ if (ch !== 38) return false;
2020
+ if (state.anchor !== null) {
2021
+ throwError(state, "duplication of an anchor property");
2022
+ }
2023
+ ch = state.input.charCodeAt(++state.position);
2024
+ const _position = state.position;
2025
+ while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch)) {
2026
+ ch = state.input.charCodeAt(++state.position);
2027
+ }
2028
+ if (state.position === _position) {
2029
+ throwError(state, "name of an anchor node must contain at least one character");
2030
+ }
2031
+ state.anchor = state.input.slice(_position, state.position);
2032
+ return true;
2033
+ }
2034
+ function readAlias(state) {
2035
+ let ch = state.input.charCodeAt(state.position);
2036
+ if (ch !== 42) return false;
2037
+ ch = state.input.charCodeAt(++state.position);
2038
+ const _position = state.position;
2039
+ while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch)) {
2040
+ ch = state.input.charCodeAt(++state.position);
2041
+ }
2042
+ if (state.position === _position) {
2043
+ throwError(state, "name of an alias node must contain at least one character");
2044
+ }
2045
+ const alias = state.input.slice(_position, state.position);
2046
+ if (!_hasOwnProperty.call(state.anchorMap, alias)) {
2047
+ throwError(state, 'unidentified alias "' + alias + '"');
2048
+ }
2049
+ state.result = state.anchorMap[alias];
2050
+ skipSeparationSpace(state, true, -1);
2051
+ return true;
2052
+ }
2053
+ function tryReadBlockMappingFromProperty(state, propertyStart, nodeIndent, flowIndent) {
2054
+ const fallbackState = snapshotState(state);
2055
+ beginAnchorTransaction(state);
2056
+ restoreState(state, propertyStart);
2057
+ state.tag = null;
2058
+ state.anchor = null;
2059
+ state.kind = null;
2060
+ state.result = null;
2061
+ if (readBlockMapping(state, nodeIndent, flowIndent) && state.kind === "mapping") {
2062
+ commitAnchorTransaction(state);
2063
+ return true;
2064
+ }
2065
+ rollbackAnchorTransaction(state);
2066
+ restoreState(state, fallbackState);
2067
+ return false;
2068
+ }
2069
+ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
2070
+ let allowBlockScalars;
2071
+ let allowBlockCollections;
2072
+ let indentStatus = 1;
2073
+ let atNewLine = false;
2074
+ let hasContent = false;
2075
+ let propertyStart = null;
2076
+ let type2;
2077
+ let flowIndent;
2078
+ let blockIndent;
2079
+ if (state.depth >= state.maxDepth) {
2080
+ throwError(state, "nesting exceeded maxDepth (" + state.maxDepth + ")");
2081
+ }
2082
+ state.depth += 1;
2083
+ if (state.listener !== null) {
2084
+ state.listener("open", state);
2085
+ }
2086
+ state.tag = null;
2087
+ state.anchor = null;
2088
+ state.kind = null;
2089
+ state.result = null;
2090
+ const allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext;
2091
+ if (allowToSeek) {
2092
+ if (skipSeparationSpace(state, true, -1)) {
2093
+ atNewLine = true;
2094
+ if (state.lineIndent > parentIndent) {
2095
+ indentStatus = 1;
2096
+ } else if (state.lineIndent === parentIndent) {
2097
+ indentStatus = 0;
2098
+ } else if (state.lineIndent < parentIndent) {
2099
+ indentStatus = -1;
2100
+ }
2101
+ }
2102
+ }
2103
+ if (indentStatus === 1) {
2104
+ while (true) {
2105
+ const ch = state.input.charCodeAt(state.position);
2106
+ const propertyState = snapshotState(state);
2107
+ if (atNewLine && (ch === 33 && state.tag !== null || ch === 38 && state.anchor !== null)) {
2108
+ break;
2109
+ }
2110
+ if (!readTagProperty(state) && !readAnchorProperty(state)) {
2111
+ break;
2112
+ }
2113
+ if (propertyStart === null) {
2114
+ propertyStart = propertyState;
2115
+ }
2116
+ if (skipSeparationSpace(state, true, -1)) {
2117
+ atNewLine = true;
2118
+ allowBlockCollections = allowBlockStyles;
2119
+ if (state.lineIndent > parentIndent) {
2120
+ indentStatus = 1;
2121
+ } else if (state.lineIndent === parentIndent) {
2122
+ indentStatus = 0;
2123
+ } else if (state.lineIndent < parentIndent) {
2124
+ indentStatus = -1;
2125
+ }
2126
+ } else {
2127
+ allowBlockCollections = false;
2128
+ }
2129
+ }
2130
+ }
2131
+ if (allowBlockCollections) {
2132
+ allowBlockCollections = atNewLine || allowCompact;
2133
+ }
2134
+ if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
2135
+ if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
2136
+ flowIndent = parentIndent;
2137
+ } else {
2138
+ flowIndent = parentIndent + 1;
2139
+ }
2140
+ blockIndent = state.position - state.lineStart;
2141
+ if (indentStatus === 1) {
2142
+ if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) {
2143
+ hasContent = true;
2144
+ } else {
2145
+ const ch = state.input.charCodeAt(state.position);
2146
+ if (propertyStart !== null && allowBlockStyles && !allowBlockCollections && ch !== 124 && ch !== 62 && tryReadBlockMappingFromProperty(
2147
+ state,
2148
+ propertyStart,
2149
+ propertyStart.position - propertyStart.lineStart,
2150
+ flowIndent
2151
+ )) {
2152
+ hasContent = true;
2153
+ } else if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) {
2154
+ hasContent = true;
2155
+ } else if (readAlias(state)) {
2156
+ hasContent = true;
2157
+ if (state.tag !== null || state.anchor !== null) {
2158
+ throwError(state, "alias node should not have any properties");
2159
+ }
2160
+ } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
2161
+ hasContent = true;
2162
+ if (state.tag === null) {
2163
+ state.tag = "?";
2164
+ }
2165
+ }
2166
+ if (state.anchor !== null) {
2167
+ storeAnchor(state, state.anchor, state.result);
2168
+ }
2169
+ }
2170
+ } else if (indentStatus === 0) {
2171
+ hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
2172
+ }
2173
+ }
2174
+ if (state.tag === null) {
2175
+ if (state.anchor !== null) {
2176
+ storeAnchor(state, state.anchor, state.result);
2177
+ }
2178
+ } else if (state.tag === "?") {
2179
+ if (state.result !== null && state.kind !== "scalar") {
2180
+ throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind + '"');
2181
+ }
2182
+ for (let typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
2183
+ type2 = state.implicitTypes[typeIndex];
2184
+ if (type2.resolve(state.result)) {
2185
+ state.result = type2.construct(state.result);
2186
+ state.tag = type2.tag;
2187
+ if (state.anchor !== null) {
2188
+ storeAnchor(state, state.anchor, state.result);
2189
+ }
2190
+ break;
2191
+ }
2192
+ }
2193
+ } else if (state.tag !== "!") {
2194
+ if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag)) {
2195
+ type2 = state.typeMap[state.kind || "fallback"][state.tag];
2196
+ } else {
2197
+ type2 = null;
2198
+ const typeList = state.typeMap.multi[state.kind || "fallback"];
2199
+ for (let typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) {
2200
+ if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
2201
+ type2 = typeList[typeIndex];
2202
+ break;
2203
+ }
2204
+ }
2205
+ }
2206
+ if (!type2) {
2207
+ throwError(state, "unknown tag !<" + state.tag + ">");
2208
+ }
2209
+ if (state.result !== null && type2.kind !== state.kind) {
2210
+ throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type2.kind + '", not "' + state.kind + '"');
2211
+ }
2212
+ if (!type2.resolve(state.result, state.tag)) {
2213
+ throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag");
2214
+ } else {
2215
+ state.result = type2.construct(state.result, state.tag);
2216
+ if (state.anchor !== null) {
2217
+ storeAnchor(state, state.anchor, state.result);
2218
+ }
2219
+ }
2220
+ }
2221
+ if (state.listener !== null) {
2222
+ state.listener("close", state);
2223
+ }
2224
+ state.depth -= 1;
2225
+ return state.tag !== null || state.anchor !== null || hasContent;
2226
+ }
2227
+ function readDocument(state) {
2228
+ const documentStart = state.position;
2229
+ let hasDirectives = false;
2230
+ let ch;
2231
+ state.version = null;
2232
+ state.checkLineBreaks = state.legacy;
2233
+ state.tagMap = /* @__PURE__ */ Object.create(null);
2234
+ state.anchorMap = /* @__PURE__ */ Object.create(null);
2235
+ while ((ch = state.input.charCodeAt(state.position)) !== 0) {
2236
+ skipSeparationSpace(state, true, -1);
2237
+ ch = state.input.charCodeAt(state.position);
2238
+ if (state.lineIndent > 0 || ch !== 37) {
2239
+ break;
2240
+ }
2241
+ hasDirectives = true;
2242
+ ch = state.input.charCodeAt(++state.position);
2243
+ let _position = state.position;
2244
+ while (ch !== 0 && !isWsOrEol(ch)) {
2245
+ ch = state.input.charCodeAt(++state.position);
2246
+ }
2247
+ const directiveName = state.input.slice(_position, state.position);
2248
+ const directiveArgs = [];
2249
+ if (directiveName.length < 1) {
2250
+ throwError(state, "directive name must not be less than one character in length");
2251
+ }
2252
+ while (ch !== 0) {
2253
+ while (isWhiteSpace(ch)) {
2254
+ ch = state.input.charCodeAt(++state.position);
2255
+ }
2256
+ if (ch === 35) {
2257
+ do {
2258
+ ch = state.input.charCodeAt(++state.position);
2259
+ } while (ch !== 0 && !isEol(ch));
2260
+ break;
2261
+ }
2262
+ if (isEol(ch)) break;
2263
+ _position = state.position;
2264
+ while (ch !== 0 && !isWsOrEol(ch)) {
2265
+ ch = state.input.charCodeAt(++state.position);
2266
+ }
2267
+ directiveArgs.push(state.input.slice(_position, state.position));
2268
+ }
2269
+ if (ch !== 0) readLineBreak(state);
2270
+ if (_hasOwnProperty.call(directiveHandlers, directiveName)) {
2271
+ directiveHandlers[directiveName](state, directiveName, directiveArgs);
2272
+ } else {
2273
+ throwWarning(state, 'unknown document directive "' + directiveName + '"');
2274
+ }
2275
+ }
2276
+ skipSeparationSpace(state, true, -1);
2277
+ if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45) {
2278
+ state.position += 3;
2279
+ skipSeparationSpace(state, true, -1);
2280
+ } else if (hasDirectives) {
2281
+ throwError(state, "directives end mark is expected");
2282
+ }
2283
+ composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
2284
+ skipSeparationSpace(state, true, -1);
2285
+ if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
2286
+ throwWarning(state, "non-ASCII line breaks are interpreted as content");
2287
+ }
2288
+ state.documents.push(state.result);
2289
+ if (state.position === state.lineStart && testDocumentSeparator(state)) {
2290
+ if (state.input.charCodeAt(state.position) === 46) {
2291
+ state.position += 3;
2292
+ skipSeparationSpace(state, true, -1);
2293
+ }
2294
+ return;
2295
+ }
2296
+ if (state.position < state.length - 1) {
2297
+ throwError(state, "end of the stream or a document separator is expected");
2298
+ }
2299
+ }
2300
+ function loadDocuments(input, options) {
2301
+ input = String(input);
2302
+ options = options || {};
2303
+ if (input.length !== 0) {
2304
+ if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) {
2305
+ input += "\n";
2306
+ }
2307
+ if (input.charCodeAt(0) === 65279) {
2308
+ input = input.slice(1);
2309
+ }
2310
+ }
2311
+ const state = new State(input, options);
2312
+ const nullpos = input.indexOf("\0");
2313
+ if (nullpos !== -1) {
2314
+ state.position = nullpos;
2315
+ throwError(state, "null byte is not allowed in input");
2316
+ }
2317
+ state.input += "\0";
2318
+ while (state.input.charCodeAt(state.position) === 32) {
2319
+ state.lineIndent += 1;
2320
+ state.position += 1;
2321
+ }
2322
+ while (state.position < state.length - 1) {
2323
+ readDocument(state);
2324
+ }
2325
+ return state.documents;
2326
+ }
2327
+ function loadAll2(input, iterator, options) {
2328
+ if (iterator !== null && typeof iterator === "object" && typeof options === "undefined") {
2329
+ options = iterator;
2330
+ iterator = null;
2331
+ }
2332
+ const documents = loadDocuments(input, options);
2333
+ if (typeof iterator !== "function") {
2334
+ return documents;
2335
+ }
2336
+ for (let index = 0, length = documents.length; index < length; index += 1) {
2337
+ iterator(documents[index]);
2338
+ }
2339
+ }
2340
+ function load2(input, options) {
2341
+ const documents = loadDocuments(input, options);
2342
+ if (documents.length === 0) {
2343
+ return void 0;
2344
+ } else if (documents.length === 1) {
2345
+ return documents[0];
2346
+ }
2347
+ throw new YAMLException2("expected a single document in the stream, but found more");
2348
+ }
2349
+ loader.loadAll = loadAll2;
2350
+ loader.load = load2;
2351
+ return loader;
2352
+ }
2353
+ var dumper = {};
2354
+ var hasRequiredDumper;
2355
+ function requireDumper() {
2356
+ if (hasRequiredDumper) return dumper;
2357
+ hasRequiredDumper = 1;
2358
+ const common2 = requireCommon();
2359
+ const YAMLException2 = requireException();
2360
+ const DEFAULT_SCHEMA2 = require_default();
2361
+ const _toString = Object.prototype.toString;
2362
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
2363
+ const CHAR_BOM = 65279;
2364
+ const CHAR_TAB = 9;
2365
+ const CHAR_LINE_FEED = 10;
2366
+ const CHAR_CARRIAGE_RETURN = 13;
2367
+ const CHAR_SPACE = 32;
2368
+ const CHAR_EXCLAMATION = 33;
2369
+ const CHAR_DOUBLE_QUOTE = 34;
2370
+ const CHAR_SHARP = 35;
2371
+ const CHAR_PERCENT = 37;
2372
+ const CHAR_AMPERSAND = 38;
2373
+ const CHAR_SINGLE_QUOTE = 39;
2374
+ const CHAR_ASTERISK = 42;
2375
+ const CHAR_COMMA = 44;
2376
+ const CHAR_MINUS = 45;
2377
+ const CHAR_COLON = 58;
2378
+ const CHAR_EQUALS = 61;
2379
+ const CHAR_GREATER_THAN = 62;
2380
+ const CHAR_QUESTION = 63;
2381
+ const CHAR_COMMERCIAL_AT = 64;
2382
+ const CHAR_LEFT_SQUARE_BRACKET = 91;
2383
+ const CHAR_RIGHT_SQUARE_BRACKET = 93;
2384
+ const CHAR_GRAVE_ACCENT = 96;
2385
+ const CHAR_LEFT_CURLY_BRACKET = 123;
2386
+ const CHAR_VERTICAL_LINE = 124;
2387
+ const CHAR_RIGHT_CURLY_BRACKET = 125;
2388
+ const ESCAPE_SEQUENCES = {};
2389
+ ESCAPE_SEQUENCES[0] = "\\0";
2390
+ ESCAPE_SEQUENCES[7] = "\\a";
2391
+ ESCAPE_SEQUENCES[8] = "\\b";
2392
+ ESCAPE_SEQUENCES[9] = "\\t";
2393
+ ESCAPE_SEQUENCES[10] = "\\n";
2394
+ ESCAPE_SEQUENCES[11] = "\\v";
2395
+ ESCAPE_SEQUENCES[12] = "\\f";
2396
+ ESCAPE_SEQUENCES[13] = "\\r";
2397
+ ESCAPE_SEQUENCES[27] = "\\e";
2398
+ ESCAPE_SEQUENCES[34] = '\\"';
2399
+ ESCAPE_SEQUENCES[92] = "\\\\";
2400
+ ESCAPE_SEQUENCES[133] = "\\N";
2401
+ ESCAPE_SEQUENCES[160] = "\\_";
2402
+ ESCAPE_SEQUENCES[8232] = "\\L";
2403
+ ESCAPE_SEQUENCES[8233] = "\\P";
2404
+ const DEPRECATED_BOOLEANS_SYNTAX = [
2405
+ "y",
2406
+ "Y",
2407
+ "yes",
2408
+ "Yes",
2409
+ "YES",
2410
+ "on",
2411
+ "On",
2412
+ "ON",
2413
+ "n",
2414
+ "N",
2415
+ "no",
2416
+ "No",
2417
+ "NO",
2418
+ "off",
2419
+ "Off",
2420
+ "OFF"
2421
+ ];
2422
+ const DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2423
+ function compileStyleMap(schema2, map2) {
2424
+ if (map2 === null) return {};
2425
+ const result = {};
2426
+ const keys = Object.keys(map2);
2427
+ for (let index = 0, length = keys.length; index < length; index += 1) {
2428
+ let tag = keys[index];
2429
+ let style = String(map2[tag]);
2430
+ if (tag.slice(0, 2) === "!!") {
2431
+ tag = "tag:yaml.org,2002:" + tag.slice(2);
2432
+ }
2433
+ const type2 = schema2.compiledTypeMap["fallback"][tag];
2434
+ if (type2 && _hasOwnProperty.call(type2.styleAliases, style)) {
2435
+ style = type2.styleAliases[style];
2436
+ }
2437
+ result[tag] = style;
2438
+ }
2439
+ return result;
2440
+ }
2441
+ function encodeHex(character) {
2442
+ let handle;
2443
+ let length;
2444
+ const string = character.toString(16).toUpperCase();
2445
+ if (character <= 255) {
2446
+ handle = "x";
2447
+ length = 2;
2448
+ } else if (character <= 65535) {
2449
+ handle = "u";
2450
+ length = 4;
2451
+ } else if (character <= 4294967295) {
2452
+ handle = "U";
2453
+ length = 8;
2454
+ } else {
2455
+ throw new YAMLException2("code point within a string may not be greater than 0xFFFFFFFF");
2456
+ }
2457
+ return "\\" + handle + common2.repeat("0", length - string.length) + string;
2458
+ }
2459
+ const QUOTING_TYPE_SINGLE = 1;
2460
+ const QUOTING_TYPE_DOUBLE = 2;
2461
+ function State(options) {
2462
+ this.schema = options["schema"] || DEFAULT_SCHEMA2;
2463
+ this.indent = Math.max(1, options["indent"] || 2);
2464
+ this.noArrayIndent = options["noArrayIndent"] || false;
2465
+ this.skipInvalid = options["skipInvalid"] || false;
2466
+ this.flowLevel = common2.isNothing(options["flowLevel"]) ? -1 : options["flowLevel"];
2467
+ this.styleMap = compileStyleMap(this.schema, options["styles"] || null);
2468
+ this.sortKeys = options["sortKeys"] || false;
2469
+ this.lineWidth = options["lineWidth"] || 80;
2470
+ this.noRefs = options["noRefs"] || false;
2471
+ this.noCompatMode = options["noCompatMode"] || false;
2472
+ this.condenseFlow = options["condenseFlow"] || false;
2473
+ this.quotingType = options["quotingType"] === '"' ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE;
2474
+ this.forceQuotes = options["forceQuotes"] || false;
2475
+ this.replacer = typeof options["replacer"] === "function" ? options["replacer"] : null;
2476
+ this.implicitTypes = this.schema.compiledImplicit;
2477
+ this.explicitTypes = this.schema.compiledExplicit;
2478
+ this.tag = null;
2479
+ this.result = "";
2480
+ this.duplicates = [];
2481
+ this.usedDuplicates = null;
2482
+ }
2483
+ function indentString(string, spaces) {
2484
+ const ind = common2.repeat(" ", spaces);
2485
+ let position = 0;
2486
+ let result = "";
2487
+ const length = string.length;
2488
+ while (position < length) {
2489
+ let line;
2490
+ const next = string.indexOf("\n", position);
2491
+ if (next === -1) {
2492
+ line = string.slice(position);
2493
+ position = length;
2494
+ } else {
2495
+ line = string.slice(position, next + 1);
2496
+ position = next + 1;
2497
+ }
2498
+ if (line.length && line !== "\n") result += ind;
2499
+ result += line;
2500
+ }
2501
+ return result;
2502
+ }
2503
+ function generateNextLine(state, level) {
2504
+ return "\n" + common2.repeat(" ", state.indent * level);
2505
+ }
2506
+ function testImplicitResolving(state, str2) {
2507
+ for (let index = 0, length = state.implicitTypes.length; index < length; index += 1) {
2508
+ const type2 = state.implicitTypes[index];
2509
+ if (type2.resolve(str2)) {
2510
+ return true;
2511
+ }
2512
+ }
2513
+ return false;
2514
+ }
2515
+ function isWhitespace(c) {
2516
+ return c === CHAR_SPACE || c === CHAR_TAB;
2517
+ }
2518
+ function isPrintable(c) {
2519
+ return c >= 32 && c <= 126 || c >= 161 && c <= 55295 && c !== 8232 && c !== 8233 || c >= 57344 && c <= 65533 && c !== CHAR_BOM || c >= 65536 && c <= 1114111;
2520
+ }
2521
+ function isNsCharOrWhitespace(c) {
2522
+ return isPrintable(c) && c !== CHAR_BOM && // - b-char
2523
+ c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED;
2524
+ }
2525
+ function isPlainSafe(c, prev, inblock) {
2526
+ const cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
2527
+ const cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
2528
+ return (
2529
+ // ns-plain-safe
2530
+ (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && // - c-flow-indicator
2531
+ c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && // ns-plain-char
2532
+ c !== CHAR_SHARP && // false on '#'
2533
+ !(prev === CHAR_COLON && !cIsNsChar) || // false on ': '
2534
+ isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || // change to true on '[^ ]#'
2535
+ prev === CHAR_COLON && cIsNsChar
2536
+ );
2537
+ }
2538
+ function isPlainSafeFirst(c) {
2539
+ return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && // - s-white
2540
+ // - (c-indicator ::=
2541
+ // “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}”
2542
+ c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && // | “#” | “&” | “*” | “!” | “|” | “=” | “>” | “'” | “"”
2543
+ c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && // | “%” | “@” | “`”)
2544
+ c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
2545
+ }
2546
+ function isPlainSafeLast(c) {
2547
+ return !isWhitespace(c) && c !== CHAR_COLON;
2548
+ }
2549
+ function codePointAt(string, pos) {
2550
+ const first = string.charCodeAt(pos);
2551
+ let second;
2552
+ if (first >= 55296 && first <= 56319 && pos + 1 < string.length) {
2553
+ second = string.charCodeAt(pos + 1);
2554
+ if (second >= 56320 && second <= 57343) {
2555
+ return (first - 55296) * 1024 + second - 56320 + 65536;
2556
+ }
2557
+ }
2558
+ return first;
2559
+ }
2560
+ function needIndentIndicator(string) {
2561
+ const leadingSpaceRe = /^\n* /;
2562
+ return leadingSpaceRe.test(string);
2563
+ }
2564
+ const STYLE_PLAIN = 1;
2565
+ const STYLE_SINGLE = 2;
2566
+ const STYLE_LITERAL = 3;
2567
+ const STYLE_FOLDED = 4;
2568
+ const STYLE_DOUBLE = 5;
2569
+ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType, quotingType, forceQuotes, inblock) {
2570
+ let i;
2571
+ let char = 0;
2572
+ let prevChar = null;
2573
+ let hasLineBreak = false;
2574
+ let hasFoldableLine = false;
2575
+ const shouldTrackWidth = lineWidth !== -1;
2576
+ let previousLineBreak = -1;
2577
+ let plain = isPlainSafeFirst(codePointAt(string, 0)) && isPlainSafeLast(codePointAt(string, string.length - 1));
2578
+ if (singleLineOnly || forceQuotes) {
2579
+ for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
2580
+ char = codePointAt(string, i);
2581
+ if (!isPrintable(char)) {
2582
+ return STYLE_DOUBLE;
2583
+ }
2584
+ plain = plain && isPlainSafe(char, prevChar, inblock);
2585
+ prevChar = char;
2586
+ }
2587
+ } else {
2588
+ for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
2589
+ char = codePointAt(string, i);
2590
+ if (char === CHAR_LINE_FEED) {
2591
+ hasLineBreak = true;
2592
+ if (shouldTrackWidth) {
2593
+ hasFoldableLine = hasFoldableLine || // Foldable line = too long, and not more-indented.
2594
+ i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
2595
+ previousLineBreak = i;
2596
+ }
2597
+ } else if (!isPrintable(char)) {
2598
+ return STYLE_DOUBLE;
2599
+ }
2600
+ plain = plain && isPlainSafe(char, prevChar, inblock);
2601
+ prevChar = char;
2602
+ }
2603
+ hasFoldableLine = hasFoldableLine || shouldTrackWidth && (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ");
2604
+ }
2605
+ if (!hasLineBreak && !hasFoldableLine) {
2606
+ if (plain && !forceQuotes && !testAmbiguousType(string)) {
2607
+ return STYLE_PLAIN;
2608
+ }
2609
+ return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
2610
+ }
2611
+ if (indentPerLevel > 9 && needIndentIndicator(string)) {
2612
+ return STYLE_DOUBLE;
2613
+ }
2614
+ if (!forceQuotes) {
2615
+ return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
2616
+ }
2617
+ return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
2618
+ }
2619
+ function writeScalar(state, string, level, iskey, inblock) {
2620
+ state.dump = (function() {
2621
+ if (string.length === 0) {
2622
+ return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''";
2623
+ }
2624
+ if (!state.noCompatMode) {
2625
+ if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) {
2626
+ return state.quotingType === QUOTING_TYPE_DOUBLE ? '"' + string + '"' : "'" + string + "'";
2627
+ }
2628
+ }
2629
+ const indent = state.indent * Math.max(1, level);
2630
+ const lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
2631
+ const singleLineOnly = iskey || // No block styles in flow mode.
2632
+ state.flowLevel > -1 && level >= state.flowLevel;
2633
+ function testAmbiguity(string2) {
2634
+ return testImplicitResolving(state, string2);
2635
+ }
2636
+ switch (chooseScalarStyle(
2637
+ string,
2638
+ singleLineOnly,
2639
+ state.indent,
2640
+ lineWidth,
2641
+ testAmbiguity,
2642
+ state.quotingType,
2643
+ state.forceQuotes && !iskey,
2644
+ inblock
2645
+ )) {
2646
+ case STYLE_PLAIN:
2647
+ return string;
2648
+ case STYLE_SINGLE:
2649
+ return "'" + string.replace(/'/g, "''") + "'";
2650
+ case STYLE_LITERAL:
2651
+ return "|" + blockHeader(string, state.indent) + dropEndingNewline(indentString(string, indent));
2652
+ case STYLE_FOLDED:
2653
+ return ">" + blockHeader(string, state.indent) + dropEndingNewline(indentString(foldString(string, lineWidth), indent));
2654
+ case STYLE_DOUBLE:
2655
+ return '"' + escapeString(string) + '"';
2656
+ default:
2657
+ throw new YAMLException2("impossible error: invalid scalar style");
2658
+ }
2659
+ })();
2660
+ }
2661
+ function blockHeader(string, indentPerLevel) {
2662
+ const indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : "";
2663
+ const clip = string[string.length - 1] === "\n";
2664
+ const keep = clip && (string[string.length - 2] === "\n" || string === "\n");
2665
+ const chomp = keep ? "+" : clip ? "" : "-";
2666
+ return indentIndicator + chomp + "\n";
2667
+ }
2668
+ function dropEndingNewline(string) {
2669
+ return string[string.length - 1] === "\n" ? string.slice(0, -1) : string;
2670
+ }
2671
+ function foldString(string, width) {
2672
+ const lineRe = /(\n+)([^\n]*)/g;
2673
+ let result = (function() {
2674
+ let nextLF = string.indexOf("\n");
2675
+ nextLF = nextLF !== -1 ? nextLF : string.length;
2676
+ lineRe.lastIndex = nextLF;
2677
+ return foldLine(string.slice(0, nextLF), width);
2678
+ })();
2679
+ let prevMoreIndented = string[0] === "\n" || string[0] === " ";
2680
+ let moreIndented;
2681
+ let match;
2682
+ while (match = lineRe.exec(string)) {
2683
+ const prefix = match[1];
2684
+ const line = match[2];
2685
+ moreIndented = line[0] === " ";
2686
+ result += prefix + (!prevMoreIndented && !moreIndented && line !== "" ? "\n" : "") + foldLine(line, width);
2687
+ prevMoreIndented = moreIndented;
2688
+ }
2689
+ return result;
2690
+ }
2691
+ function foldLine(line, width) {
2692
+ if (line === "" || line[0] === " ") return line;
2693
+ const breakRe = / [^ ]/g;
2694
+ let match;
2695
+ let start = 0;
2696
+ let end;
2697
+ let curr = 0;
2698
+ let next = 0;
2699
+ let result = "";
2700
+ while (match = breakRe.exec(line)) {
2701
+ next = match.index;
2702
+ if (next - start > width) {
2703
+ end = curr > start ? curr : next;
2704
+ result += "\n" + line.slice(start, end);
2705
+ start = end + 1;
2706
+ }
2707
+ curr = next;
2708
+ }
2709
+ result += "\n";
2710
+ if (line.length - start > width && curr > start) {
2711
+ result += line.slice(start, curr) + "\n" + line.slice(curr + 1);
2712
+ } else {
2713
+ result += line.slice(start);
2714
+ }
2715
+ return result.slice(1);
2716
+ }
2717
+ function escapeString(string) {
2718
+ let result = "";
2719
+ let char = 0;
2720
+ for (let i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
2721
+ char = codePointAt(string, i);
2722
+ const escapeSeq = ESCAPE_SEQUENCES[char];
2723
+ if (!escapeSeq && isPrintable(char)) {
2724
+ result += string[i];
2725
+ if (char >= 65536) result += string[i + 1];
2726
+ } else {
2727
+ result += escapeSeq || encodeHex(char);
2728
+ }
2729
+ }
2730
+ return result;
2731
+ }
2732
+ function writeFlowSequence(state, level, object) {
2733
+ let _result = "";
2734
+ const _tag = state.tag;
2735
+ for (let index = 0, length = object.length; index < length; index += 1) {
2736
+ let value = object[index];
2737
+ if (state.replacer) {
2738
+ value = state.replacer.call(object, String(index), value);
2739
+ }
2740
+ if (writeNode(state, level, value, false, false) || typeof value === "undefined" && writeNode(state, level, null, false, false)) {
2741
+ if (_result !== "") _result += "," + (!state.condenseFlow ? " " : "");
2742
+ _result += state.dump;
2743
+ }
2744
+ }
2745
+ state.tag = _tag;
2746
+ state.dump = "[" + _result + "]";
2747
+ }
2748
+ function writeBlockSequence(state, level, object, compact) {
2749
+ let _result = "";
2750
+ const _tag = state.tag;
2751
+ for (let index = 0, length = object.length; index < length; index += 1) {
2752
+ let value = object[index];
2753
+ if (state.replacer) {
2754
+ value = state.replacer.call(object, String(index), value);
2755
+ }
2756
+ if (writeNode(state, level + 1, value, true, true, false, true) || typeof value === "undefined" && writeNode(state, level + 1, null, true, true, false, true)) {
2757
+ if (!compact || _result !== "") {
2758
+ _result += generateNextLine(state, level);
2759
+ }
2760
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
2761
+ _result += "-";
2762
+ } else {
2763
+ _result += "- ";
2764
+ }
2765
+ _result += state.dump;
2766
+ }
2767
+ }
2768
+ state.tag = _tag;
2769
+ state.dump = _result || "[]";
2770
+ }
2771
+ function writeFlowMapping(state, level, object) {
2772
+ let _result = "";
2773
+ const _tag = state.tag;
2774
+ const objectKeyList = Object.keys(object);
2775
+ for (let index = 0, length = objectKeyList.length; index < length; index += 1) {
2776
+ let pairBuffer = "";
2777
+ if (_result !== "") pairBuffer += ", ";
2778
+ if (state.condenseFlow) pairBuffer += '"';
2779
+ const objectKey = objectKeyList[index];
2780
+ let objectValue = object[objectKey];
2781
+ if (state.replacer) {
2782
+ objectValue = state.replacer.call(object, objectKey, objectValue);
2783
+ }
2784
+ if (!writeNode(state, level, objectKey, false, false)) {
2785
+ continue;
2786
+ }
2787
+ if (state.dump.length > 1024) pairBuffer += "? ";
2788
+ pairBuffer += state.dump + (state.condenseFlow ? '"' : "") + ":" + (state.condenseFlow ? "" : " ");
2789
+ if (!writeNode(state, level, objectValue, false, false)) {
2790
+ continue;
2791
+ }
2792
+ pairBuffer += state.dump;
2793
+ _result += pairBuffer;
2794
+ }
2795
+ state.tag = _tag;
2796
+ state.dump = "{" + _result + "}";
2797
+ }
2798
+ function writeBlockMapping(state, level, object, compact) {
2799
+ let _result = "";
2800
+ const _tag = state.tag;
2801
+ const objectKeyList = Object.keys(object);
2802
+ if (state.sortKeys === true) {
2803
+ objectKeyList.sort();
2804
+ } else if (typeof state.sortKeys === "function") {
2805
+ objectKeyList.sort(state.sortKeys);
2806
+ } else if (state.sortKeys) {
2807
+ throw new YAMLException2("sortKeys must be a boolean or a function");
2808
+ }
2809
+ for (let index = 0, length = objectKeyList.length; index < length; index += 1) {
2810
+ let pairBuffer = "";
2811
+ if (!compact || _result !== "") {
2812
+ pairBuffer += generateNextLine(state, level);
2813
+ }
2814
+ const objectKey = objectKeyList[index];
2815
+ let objectValue = object[objectKey];
2816
+ if (state.replacer) {
2817
+ objectValue = state.replacer.call(object, objectKey, objectValue);
2818
+ }
2819
+ if (!writeNode(state, level + 1, objectKey, true, true, true)) {
2820
+ continue;
2821
+ }
2822
+ const explicitPair = state.tag !== null && state.tag !== "?" || state.dump && state.dump.length > 1024;
2823
+ if (explicitPair) {
2824
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
2825
+ pairBuffer += "?";
2826
+ } else {
2827
+ pairBuffer += "? ";
2828
+ }
2829
+ }
2830
+ pairBuffer += state.dump;
2831
+ if (explicitPair) {
2832
+ pairBuffer += generateNextLine(state, level);
2833
+ }
2834
+ if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {
2835
+ continue;
2836
+ }
2837
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
2838
+ pairBuffer += ":";
2839
+ } else {
2840
+ pairBuffer += ": ";
2841
+ }
2842
+ pairBuffer += state.dump;
2843
+ _result += pairBuffer;
2844
+ }
2845
+ state.tag = _tag;
2846
+ state.dump = _result || "{}";
2847
+ }
2848
+ function detectType(state, object, explicit) {
2849
+ const typeList = explicit ? state.explicitTypes : state.implicitTypes;
2850
+ for (let index = 0, length = typeList.length; index < length; index += 1) {
2851
+ const type2 = typeList[index];
2852
+ if ((type2.instanceOf || type2.predicate) && (!type2.instanceOf || typeof object === "object" && object instanceof type2.instanceOf) && (!type2.predicate || type2.predicate(object))) {
2853
+ if (explicit) {
2854
+ if (type2.multi && type2.representName) {
2855
+ state.tag = type2.representName(object);
2856
+ } else {
2857
+ state.tag = type2.tag;
2858
+ }
2859
+ } else {
2860
+ state.tag = "?";
2861
+ }
2862
+ if (type2.represent) {
2863
+ const style = state.styleMap[type2.tag] || type2.defaultStyle;
2864
+ let _result;
2865
+ if (_toString.call(type2.represent) === "[object Function]") {
2866
+ _result = type2.represent(object, style);
2867
+ } else if (_hasOwnProperty.call(type2.represent, style)) {
2868
+ _result = type2.represent[style](object, style);
2869
+ } else {
2870
+ throw new YAMLException2("!<" + type2.tag + '> tag resolver accepts not "' + style + '" style');
2871
+ }
2872
+ state.dump = _result;
2873
+ }
2874
+ return true;
2875
+ }
2876
+ }
2877
+ return false;
2878
+ }
2879
+ function writeNode(state, level, object, block, compact, iskey, isblockseq) {
2880
+ state.tag = null;
2881
+ state.dump = object;
2882
+ if (!detectType(state, object, false)) {
2883
+ detectType(state, object, true);
2884
+ }
2885
+ const type2 = _toString.call(state.dump);
2886
+ const inblock = block;
2887
+ if (block) {
2888
+ block = state.flowLevel < 0 || state.flowLevel > level;
2889
+ }
2890
+ const objectOrArray = type2 === "[object Object]" || type2 === "[object Array]";
2891
+ let duplicateIndex;
2892
+ let duplicate;
2893
+ if (objectOrArray) {
2894
+ duplicateIndex = state.duplicates.indexOf(object);
2895
+ duplicate = duplicateIndex !== -1;
2896
+ }
2897
+ if (state.tag !== null && state.tag !== "?" || duplicate || state.indent !== 2 && level > 0) {
2898
+ compact = false;
2899
+ }
2900
+ if (duplicate && state.usedDuplicates[duplicateIndex]) {
2901
+ state.dump = "*ref_" + duplicateIndex;
2902
+ } else {
2903
+ if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {
2904
+ state.usedDuplicates[duplicateIndex] = true;
2905
+ }
2906
+ if (type2 === "[object Object]") {
2907
+ if (block && Object.keys(state.dump).length !== 0) {
2908
+ writeBlockMapping(state, level, state.dump, compact);
2909
+ if (duplicate) {
2910
+ state.dump = "&ref_" + duplicateIndex + state.dump;
2911
+ }
2912
+ } else {
2913
+ writeFlowMapping(state, level, state.dump);
2914
+ if (duplicate) {
2915
+ state.dump = "&ref_" + duplicateIndex + " " + state.dump;
2916
+ }
2917
+ }
2918
+ } else if (type2 === "[object Array]") {
2919
+ if (block && state.dump.length !== 0) {
2920
+ if (state.noArrayIndent && !isblockseq && level > 0) {
2921
+ writeBlockSequence(state, level - 1, state.dump, compact);
2922
+ } else {
2923
+ writeBlockSequence(state, level, state.dump, compact);
2924
+ }
2925
+ if (duplicate) {
2926
+ state.dump = "&ref_" + duplicateIndex + state.dump;
2927
+ }
2928
+ } else {
2929
+ writeFlowSequence(state, level, state.dump);
2930
+ if (duplicate) {
2931
+ state.dump = "&ref_" + duplicateIndex + " " + state.dump;
2932
+ }
2933
+ }
2934
+ } else if (type2 === "[object String]") {
2935
+ if (state.tag !== "?") {
2936
+ writeScalar(state, state.dump, level, iskey, inblock);
2937
+ }
2938
+ } else if (type2 === "[object Undefined]") {
2939
+ return false;
2940
+ } else {
2941
+ if (state.skipInvalid) return false;
2942
+ throw new YAMLException2("unacceptable kind of an object to dump " + type2);
2943
+ }
2944
+ if (state.tag !== null && state.tag !== "?") {
2945
+ let tagStr = encodeURI(
2946
+ state.tag[0] === "!" ? state.tag.slice(1) : state.tag
2947
+ ).replace(/!/g, "%21");
2948
+ if (state.tag[0] === "!") {
2949
+ tagStr = "!" + tagStr;
2950
+ } else if (tagStr.slice(0, 18) === "tag:yaml.org,2002:") {
2951
+ tagStr = "!!" + tagStr.slice(18);
2952
+ } else {
2953
+ tagStr = "!<" + tagStr + ">";
2954
+ }
2955
+ state.dump = tagStr + " " + state.dump;
2956
+ }
2957
+ }
2958
+ return true;
2959
+ }
2960
+ function getDuplicateReferences(object, state) {
2961
+ const objects = [];
2962
+ const duplicatesIndexes = [];
2963
+ inspectNode(object, objects, duplicatesIndexes);
2964
+ const length = duplicatesIndexes.length;
2965
+ for (let index = 0; index < length; index += 1) {
2966
+ state.duplicates.push(objects[duplicatesIndexes[index]]);
2967
+ }
2968
+ state.usedDuplicates = new Array(length);
2969
+ }
2970
+ function inspectNode(object, objects, duplicatesIndexes) {
2971
+ if (object !== null && typeof object === "object") {
2972
+ const index = objects.indexOf(object);
2973
+ if (index !== -1) {
2974
+ if (duplicatesIndexes.indexOf(index) === -1) {
2975
+ duplicatesIndexes.push(index);
2976
+ }
2977
+ } else {
2978
+ objects.push(object);
2979
+ if (Array.isArray(object)) {
2980
+ for (let i = 0, length = object.length; i < length; i += 1) {
2981
+ inspectNode(object[i], objects, duplicatesIndexes);
2982
+ }
2983
+ } else {
2984
+ const objectKeyList = Object.keys(object);
2985
+ for (let i = 0, length = objectKeyList.length; i < length; i += 1) {
2986
+ inspectNode(object[objectKeyList[i]], objects, duplicatesIndexes);
2987
+ }
2988
+ }
2989
+ }
2990
+ }
2991
+ }
2992
+ function dump2(input, options) {
2993
+ options = options || {};
2994
+ const state = new State(options);
2995
+ if (!state.noRefs) getDuplicateReferences(input, state);
2996
+ let value = input;
2997
+ if (state.replacer) {
2998
+ value = state.replacer.call({ "": value }, "", value);
2999
+ }
3000
+ if (writeNode(state, 0, value, true, true)) return state.dump + "\n";
3001
+ return "";
3002
+ }
3003
+ dumper.dump = dump2;
3004
+ return dumper;
3005
+ }
3006
+ var hasRequiredJsYaml;
3007
+ function requireJsYaml() {
3008
+ if (hasRequiredJsYaml) return jsYaml;
3009
+ hasRequiredJsYaml = 1;
3010
+ const loader2 = requireLoader();
3011
+ const dumper2 = requireDumper();
3012
+ function renamed(from, to) {
3013
+ return function() {
3014
+ throw new Error("Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default.");
3015
+ };
3016
+ }
3017
+ jsYaml.Type = requireType();
3018
+ jsYaml.Schema = requireSchema();
3019
+ jsYaml.FAILSAFE_SCHEMA = requireFailsafe();
3020
+ jsYaml.JSON_SCHEMA = requireJson();
3021
+ jsYaml.CORE_SCHEMA = requireCore();
3022
+ jsYaml.DEFAULT_SCHEMA = require_default();
3023
+ jsYaml.load = loader2.load;
3024
+ jsYaml.loadAll = loader2.loadAll;
3025
+ jsYaml.dump = dumper2.dump;
3026
+ jsYaml.YAMLException = requireException();
3027
+ jsYaml.types = {
3028
+ binary: requireBinary(),
3029
+ float: requireFloat(),
3030
+ map: requireMap(),
3031
+ null: require_null(),
3032
+ pairs: requirePairs(),
3033
+ set: requireSet(),
3034
+ timestamp: requireTimestamp(),
3035
+ bool: requireBool(),
3036
+ int: requireInt(),
3037
+ merge: requireMerge(),
3038
+ omap: requireOmap(),
3039
+ seq: requireSeq(),
3040
+ str: requireStr()
3041
+ };
3042
+ jsYaml.safeLoad = renamed("safeLoad", "load");
3043
+ jsYaml.safeLoadAll = renamed("safeLoadAll", "loadAll");
3044
+ jsYaml.safeDump = renamed("safeDump", "dump");
3045
+ return jsYaml;
3046
+ }
3047
+ var jsYamlExports = requireJsYaml();
3048
+ const yaml = /* @__PURE__ */ getDefaultExportFromCjs(jsYamlExports);
3049
+ const {
3050
+ Type,
3051
+ Schema,
3052
+ FAILSAFE_SCHEMA,
3053
+ JSON_SCHEMA,
3054
+ CORE_SCHEMA,
3055
+ DEFAULT_SCHEMA,
3056
+ load,
3057
+ loadAll,
3058
+ dump,
3059
+ YAMLException,
3060
+ types,
3061
+ safeLoad,
3062
+ safeLoadAll,
3063
+ safeDump
3064
+ } = yaml;
3065
+ export {
3066
+ CORE_SCHEMA,
3067
+ DEFAULT_SCHEMA,
3068
+ FAILSAFE_SCHEMA,
3069
+ JSON_SCHEMA,
3070
+ Schema,
3071
+ Type,
3072
+ YAMLException,
3073
+ yaml as default,
3074
+ dump,
3075
+ load,
3076
+ loadAll,
3077
+ safeDump,
3078
+ safeLoad,
3079
+ safeLoadAll,
3080
+ types
3081
+ };
3082
+ //# sourceMappingURL=js-yaml.mjs.map