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