@automattic/vip 4.1.3 → 4.1.5

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 (854) hide show
  1. package/.buildkite/build-macos-installer.sh +34 -0
  2. package/.buildkite/build-macos.sh +2 -3
  3. package/.buildkite/build-windows-installer.ps1 +65 -0
  4. package/.buildkite/build-windows.ps1 +2 -18
  5. package/.buildkite/pipeline.yml +32 -0
  6. package/.buildkite/sign-windows.ps1 +21 -0
  7. package/.buildkite/test-windows-installer-download.ps1 +54 -0
  8. package/.buildkite/test_pipeline.py +69 -0
  9. package/Gemfile.lock +44 -41
  10. package/cmd/installer-payload/main.go +19 -0
  11. package/cmd/installer-version/main.go +22 -0
  12. package/cmd/vip-next/commands/app_debug_test.go +89 -0
  13. package/cmd/vip-next/commands/app_deploy.go +4 -0
  14. package/cmd/vip-next/commands/app_deploy_validate.go +2 -0
  15. package/cmd/vip-next/commands/config_debug_test.go +137 -0
  16. package/cmd/vip-next/commands/config_envvar_delete.go +2 -0
  17. package/cmd/vip-next/commands/config_envvar_get.go +2 -0
  18. package/cmd/vip-next/commands/config_envvar_get_all.go +2 -0
  19. package/cmd/vip-next/commands/config_envvar_list.go +2 -0
  20. package/cmd/vip-next/commands/config_envvar_set.go +2 -0
  21. package/cmd/vip-next/commands/config_software_update.go +12 -1
  22. package/cmd/vip-next/commands/devenv.go +1 -0
  23. package/cmd/vip-next/commands/devenv_create_test.go +5 -5
  24. package/cmd/vip-next/commands/devenv_debug_test.go +34 -0
  25. package/cmd/vip-next/commands/devenv_envvar.go +12 -0
  26. package/cmd/vip-next/commands/devenv_lifecycle.go +37 -11
  27. package/cmd/vip-next/commands/devenv_resolve.go +15 -3
  28. package/cmd/vip-next/commands/devenv_telemetry.go +265 -0
  29. package/cmd/vip-next/commands/devenv_telemetry_test.go +322 -0
  30. package/cmd/vip-next/commands/devenv_update.go +1 -1
  31. package/cmd/vip-next/commands/devenv_update_test.go +28 -2
  32. package/cmd/vip-next/commands/import_debug_test.go +110 -0
  33. package/cmd/vip-next/commands/import_media.go +4 -0
  34. package/cmd/vip-next/commands/import_sql.go +9 -1
  35. package/cmd/vip-next/commands/logout.go +1 -1
  36. package/cmd/vip-next/commands/searchreplace.go +3 -1
  37. package/cmd/vip-next/commands/searchreplace_debug_test.go +82 -0
  38. package/cmd/vip-next/commands/whoami.go +10 -1
  39. package/cmd/vip-next/commands/whoami_debug_test.go +79 -0
  40. package/cmd/vip-next/commands/wp.go +2 -0
  41. package/cmd/vip-next/commands/wp_debug_test.go +32 -0
  42. package/cmd/vip-next/debug_args.go +63 -0
  43. package/cmd/vip-next/debug_test.go +122 -0
  44. package/cmd/vip-next/main.go +58 -2
  45. package/cmd/vip-next/pendo_wiring_test.go +148 -0
  46. package/cmd/vip-next/root.go +17 -0
  47. package/dist/bin/vip-dev-env-envvar-get.js +2 -2
  48. package/dist/bin/vip-dev-env-envvar-set.js +2 -2
  49. package/dist/bin/vip-dev-env-update.js +1 -1
  50. package/dist/lib/analytics/clients/pendo.js +19 -7
  51. package/dist/lib/constants/dev-environment.js +8 -7
  52. package/dist/lib/dev-environment/dev-environment-cli.js +15 -4
  53. package/dist/lib/dev-environment/dev-environment-core.js +1 -1
  54. package/docs/BUILD-SIGNING.md +147 -6
  55. package/docs/DEBUGGING.md +61 -0
  56. package/docs/GO-UPDATES.md +7 -1
  57. package/docs/RELEASING.md +3 -2
  58. package/docs/SETUP.md +2 -1
  59. package/fastlane/Fastfile +66 -3
  60. package/fastlane/test_signing.rb +83 -0
  61. package/internal/auth/logout.go +14 -1
  62. package/internal/auth/logout_test.go +46 -0
  63. package/internal/debuglog/debuglog.go +85 -0
  64. package/internal/debuglog/debuglog_test.go +44 -0
  65. package/internal/devenv/compose/view.go +6 -3
  66. package/internal/devenv/compose/view_test.go +1 -1
  67. package/internal/devenv/debug.go +4 -0
  68. package/internal/devenv/debug_test.go +103 -0
  69. package/internal/devenv/devenv.go +20 -2
  70. package/internal/devenv/devexec.go +3 -0
  71. package/internal/devenv/importdata.go +4 -1
  72. package/internal/devenv/list.go +9 -1
  73. package/internal/devenv/logs.go +2 -0
  74. package/internal/devenv/proxy/ca.go +9 -2
  75. package/internal/devenv/proxy/ca_test.go +1 -1
  76. package/internal/devenv/proxy/network.go +7 -3
  77. package/internal/devenv/proxy/network_test.go +6 -0
  78. package/internal/devenv/proxy/proxy.go +37 -8
  79. package/internal/devenv/proxy/proxy_test.go +61 -6
  80. package/internal/devenv/proxy/scripts/gen-certs.sh +20 -5
  81. package/internal/devenv/update.go +2 -0
  82. package/internal/gql/debug_test.go +79 -0
  83. package/internal/gql/error.go +27 -1
  84. package/internal/gql/rechallenge.go +9 -5
  85. package/internal/gql/retry.go +21 -2
  86. package/internal/gql/transport.go +9 -0
  87. package/internal/httpproxy/debug_test.go +32 -0
  88. package/internal/httpproxy/httpproxy.go +8 -1
  89. package/internal/installer/version.go +41 -0
  90. package/internal/installer/version_test.go +33 -0
  91. package/internal/parity/edge_workers_debug_test.go +87 -0
  92. package/internal/parity/pendo_test.go +122 -0
  93. package/internal/rechallenge/flow.go +8 -0
  94. package/internal/rechallenge/flow_test.go +15 -1
  95. package/internal/releasepromotion/buildkite.go +12 -1
  96. package/internal/releasepromotion/buildkite_test.go +31 -0
  97. package/internal/releasepromotion/contract.go +49 -1
  98. package/internal/releasepromotion/contract_test.go +38 -0
  99. package/internal/releasepromotion/github.go +4 -10
  100. package/internal/releasepromotion/optional_installers_test.go +87 -0
  101. package/internal/releasepromotion/verify.go +99 -2
  102. package/internal/releasepromotion/verify_test.go +99 -0
  103. package/internal/searchreplace/debug_test.go +71 -0
  104. package/internal/searchreplace/searchreplace.go +14 -0
  105. package/internal/siteimport/debug_test.go +34 -0
  106. package/internal/siteimport/status.go +11 -0
  107. package/internal/telemetry/pendo.go +41 -10
  108. package/internal/telemetry/pendo_auth_test.go +92 -0
  109. package/internal/telemetry/pendo_test.go +24 -5
  110. package/internal/telemetry/tracker.go +26 -0
  111. package/internal/update/github.go +36 -17
  112. package/internal/update/ownership.go +22 -0
  113. package/internal/update/ownership_test.go +44 -0
  114. package/internal/update/release_test.go +53 -13
  115. package/internal/update/service_test.go +39 -0
  116. package/internal/upload/debug_test.go +76 -0
  117. package/internal/upload/multipart.go +3 -0
  118. package/internal/upload/orchestrate.go +10 -0
  119. package/internal/upload/putobject.go +3 -0
  120. package/internal/wpssh/debug_test.go +67 -0
  121. package/internal/wpssh/wpssh.go +7 -0
  122. package/internal/wpstream/debug_test.go +116 -0
  123. package/internal/wpstream/run.go +10 -1
  124. package/node_modules/@apollo/client/CHANGELOG.md +1136 -0
  125. package/node_modules/@apollo/client/__cjs/cache/core/Scalar.cjs +36 -0
  126. package/node_modules/@apollo/client/__cjs/cache/core/Scalar.cjs.map +1 -0
  127. package/node_modules/@apollo/client/__cjs/cache/core/Scalar.d.cts +56 -0
  128. package/node_modules/@apollo/client/__cjs/cache/core/cache.cjs +32 -1
  129. package/node_modules/@apollo/client/__cjs/cache/core/cache.cjs.map +1 -1
  130. package/node_modules/@apollo/client/__cjs/cache/core/cache.d.cts +89 -6
  131. package/node_modules/@apollo/client/__cjs/cache/core/types/Cache.d.cts +30 -2
  132. package/node_modules/@apollo/client/__cjs/cache/index.cjs +3 -1
  133. package/node_modules/@apollo/client/__cjs/cache/index.cjs.map +1 -1
  134. package/node_modules/@apollo/client/__cjs/cache/index.d.cts +2 -1
  135. package/node_modules/@apollo/client/__cjs/cache/inmemory/entityStore.cjs +63 -5
  136. package/node_modules/@apollo/client/__cjs/cache/inmemory/entityStore.cjs.map +1 -1
  137. package/node_modules/@apollo/client/__cjs/cache/inmemory/entityStore.d.cts +3 -0
  138. package/node_modules/@apollo/client/__cjs/cache/inmemory/helpers.cjs +12 -0
  139. package/node_modules/@apollo/client/__cjs/cache/inmemory/helpers.cjs.map +1 -1
  140. package/node_modules/@apollo/client/__cjs/cache/inmemory/helpers.d.cts +11 -2
  141. package/node_modules/@apollo/client/__cjs/cache/inmemory/inMemoryCache.cjs +95 -4
  142. package/node_modules/@apollo/client/__cjs/cache/inmemory/inMemoryCache.cjs.map +1 -1
  143. package/node_modules/@apollo/client/__cjs/cache/inmemory/inMemoryCache.d.cts +44 -5
  144. package/node_modules/@apollo/client/__cjs/cache/inmemory/key-extractor.cjs +1 -1
  145. package/node_modules/@apollo/client/__cjs/cache/inmemory/policies.cjs +34 -6
  146. package/node_modules/@apollo/client/__cjs/cache/inmemory/policies.cjs.map +1 -1
  147. package/node_modules/@apollo/client/__cjs/cache/inmemory/policies.d.cts +3 -1
  148. package/node_modules/@apollo/client/__cjs/cache/inmemory/readFromStore.cjs +489 -45
  149. package/node_modules/@apollo/client/__cjs/cache/inmemory/readFromStore.cjs.map +1 -1
  150. package/node_modules/@apollo/client/__cjs/cache/inmemory/readFromStore.d.cts +11 -2
  151. package/node_modules/@apollo/client/__cjs/cache/inmemory/types.d.cts +31 -4
  152. package/node_modules/@apollo/client/__cjs/cache/inmemory/writeToStore.cjs +5 -9
  153. package/node_modules/@apollo/client/__cjs/cache/inmemory/writeToStore.cjs.map +1 -1
  154. package/node_modules/@apollo/client/__cjs/core/ApolloClient.cjs +14 -14
  155. package/node_modules/@apollo/client/__cjs/core/ApolloClient.cjs.map +1 -1
  156. package/node_modules/@apollo/client/__cjs/core/ApolloClient.d.cts +11 -11
  157. package/node_modules/@apollo/client/__cjs/core/ObservableQuery.cjs +186 -72
  158. package/node_modules/@apollo/client/__cjs/core/ObservableQuery.cjs.map +1 -1
  159. package/node_modules/@apollo/client/__cjs/core/ObservableQuery.d.cts +4 -7
  160. package/node_modules/@apollo/client/__cjs/core/QueryInfo.cjs +164 -197
  161. package/node_modules/@apollo/client/__cjs/core/QueryInfo.cjs.map +1 -1
  162. package/node_modules/@apollo/client/__cjs/core/QueryInfo.d.cts +17 -21
  163. package/node_modules/@apollo/client/__cjs/core/QueryManager.cjs +75 -48
  164. package/node_modules/@apollo/client/__cjs/core/QueryManager.cjs.map +1 -1
  165. package/node_modules/@apollo/client/__cjs/core/QueryManager.d.cts +4 -4
  166. package/node_modules/@apollo/client/__cjs/core/RefetchEventManager.cjs +3 -3
  167. package/node_modules/@apollo/client/__cjs/core/dataStateErrorCache.cjs +12 -0
  168. package/node_modules/@apollo/client/__cjs/core/dataStateErrorCache.cjs.map +1 -0
  169. package/node_modules/@apollo/client/__cjs/core/dataStateErrorCache.d.cts +3 -0
  170. package/node_modules/@apollo/client/__cjs/core/deprecated.d.cts +3 -3
  171. package/node_modules/@apollo/client/__cjs/core/index.cjs +2 -1
  172. package/node_modules/@apollo/client/__cjs/core/index.cjs.map +1 -1
  173. package/node_modules/@apollo/client/__cjs/core/index.d.cts +4 -3
  174. package/node_modules/@apollo/client/__cjs/core/types.d.cts +11 -7
  175. package/node_modules/@apollo/client/__cjs/incremental/GraphQLCodegenIncremental.cjs +3 -0
  176. package/node_modules/@apollo/client/__cjs/incremental/GraphQLCodegenIncremental.cjs.map +1 -0
  177. package/node_modules/@apollo/client/__cjs/incremental/GraphQLCodegenIncremental.d.cts +55 -0
  178. package/node_modules/@apollo/client/__cjs/incremental/handlers/defer20220824.cjs.map +1 -1
  179. package/node_modules/@apollo/client/__cjs/incremental/handlers/defer20220824.d.cts +2 -4
  180. package/node_modules/@apollo/client/__cjs/incremental/handlers/graphql17Alpha9.cjs +47 -16
  181. package/node_modules/@apollo/client/__cjs/incremental/handlers/graphql17Alpha9.cjs.map +1 -1
  182. package/node_modules/@apollo/client/__cjs/incremental/handlers/graphql17Alpha9.d.cts +29 -6
  183. package/node_modules/@apollo/client/__cjs/incremental/handlers/notImplemented.cjs +1 -1
  184. package/node_modules/@apollo/client/__cjs/incremental/index.cjs.map +1 -1
  185. package/node_modules/@apollo/client/__cjs/incremental/index.d.cts +1 -0
  186. package/node_modules/@apollo/client/__cjs/{utilities/internal/types/NoInfer.cjs → incremental/internal/types.cjs} +1 -1
  187. package/node_modules/@apollo/client/__cjs/incremental/internal/types.cjs.map +1 -0
  188. package/node_modules/@apollo/client/__cjs/incremental/internal/types.d.cts +17 -0
  189. package/node_modules/@apollo/client/__cjs/incremental/types.d.cts +55 -4
  190. package/node_modules/@apollo/client/__cjs/invariantErrorCodes.cjs +164 -113
  191. package/node_modules/@apollo/client/__cjs/link/core/ApolloLink.cjs +3 -3
  192. package/node_modules/@apollo/client/__cjs/link/http/checkFetcher.cjs +1 -1
  193. package/node_modules/@apollo/client/__cjs/link/http/parseAndCheckHttpResponse.cjs +1 -1
  194. package/node_modules/@apollo/client/__cjs/link/persisted-queries/index.cjs +2 -2
  195. package/node_modules/@apollo/client/__cjs/link/ws/index.cjs +1 -1
  196. package/node_modules/@apollo/client/__cjs/local-state/LocalState.cjs +11 -11
  197. package/node_modules/@apollo/client/__cjs/local-state/LocalState.cjs.map +1 -1
  198. package/node_modules/@apollo/client/__cjs/local-state/LocalState.d.cts +1 -1
  199. package/node_modules/@apollo/client/__cjs/masking/internal/types.d.cts +1 -2
  200. package/node_modules/@apollo/client/__cjs/masking/maskDefinition.cjs +2 -2
  201. package/node_modules/@apollo/client/__cjs/masking/maskFragment.cjs +2 -2
  202. package/node_modules/@apollo/client/__cjs/masking/maskOperation.cjs +1 -1
  203. package/node_modules/@apollo/client/__cjs/masking/utils.cjs +3 -3
  204. package/node_modules/@apollo/client/__cjs/react/context/ApolloContext.cjs +1 -1
  205. package/node_modules/@apollo/client/__cjs/react/context/ApolloProvider.cjs +1 -1
  206. package/node_modules/@apollo/client/__cjs/react/hooks/internal/validateSuspenseHookOptions.cjs +2 -2
  207. package/node_modules/@apollo/client/__cjs/react/hooks/useApolloClient.cjs +1 -1
  208. package/node_modules/@apollo/client/__cjs/react/hooks/useBackgroundQuery.cjs.map +1 -1
  209. package/node_modules/@apollo/client/__cjs/react/hooks/useBackgroundQuery.d.cts +3 -3
  210. package/node_modules/@apollo/client/__cjs/react/hooks/useFragment.cjs.map +1 -1
  211. package/node_modules/@apollo/client/__cjs/react/hooks/useFragment.d.cts +0 -1
  212. package/node_modules/@apollo/client/__cjs/react/hooks/useLazyQuery.cjs +29 -3
  213. package/node_modules/@apollo/client/__cjs/react/hooks/useLazyQuery.cjs.map +1 -1
  214. package/node_modules/@apollo/client/__cjs/react/hooks/useLazyQuery.d.cts +1 -1
  215. package/node_modules/@apollo/client/__cjs/react/hooks/useLoadableQuery.cjs +2 -2
  216. package/node_modules/@apollo/client/__cjs/react/hooks/useMutation.cjs.map +1 -1
  217. package/node_modules/@apollo/client/__cjs/react/hooks/useMutation.d.cts +14 -14
  218. package/node_modules/@apollo/client/__cjs/react/hooks/useQuery.cjs.map +1 -1
  219. package/node_modules/@apollo/client/__cjs/react/hooks/useQuery.d.cts +16 -3
  220. package/node_modules/@apollo/client/__cjs/react/hooks/useSubscription.cjs +7 -3
  221. package/node_modules/@apollo/client/__cjs/react/hooks/useSubscription.cjs.map +1 -1
  222. package/node_modules/@apollo/client/__cjs/react/hooks/useSubscription.d.cts +27 -5
  223. package/node_modules/@apollo/client/__cjs/react/hooks/useSuspenseFragment.cjs.map +1 -1
  224. package/node_modules/@apollo/client/__cjs/react/hooks/useSuspenseFragment.d.cts +1 -1
  225. package/node_modules/@apollo/client/__cjs/react/hooks/useSuspenseQuery.cjs.map +1 -1
  226. package/node_modules/@apollo/client/__cjs/react/hooks/useSuspenseQuery.d.cts +30 -30
  227. package/node_modules/@apollo/client/__cjs/react/hooks/useSyncExternalStore.cjs +1 -1
  228. package/node_modules/@apollo/client/__cjs/react/internal/cache/QueryReference.cjs +1 -1
  229. package/node_modules/@apollo/client/__cjs/react/query-preloader/createQueryPreloader.cjs.map +1 -1
  230. package/node_modules/@apollo/client/__cjs/react/query-preloader/createQueryPreloader.d.cts +1 -1
  231. package/node_modules/@apollo/client/__cjs/react/ssr/prerenderStatic.cjs +2 -2
  232. package/node_modules/@apollo/client/__cjs/react/types/deprecated.d.cts +5 -4
  233. package/node_modules/@apollo/client/__cjs/react/types/types.documentation.d.cts +12 -1
  234. package/node_modules/@apollo/client/__cjs/testing/core/mocking/mockLink.cjs +25 -5
  235. package/node_modules/@apollo/client/__cjs/testing/core/mocking/mockLink.cjs.map +1 -1
  236. package/node_modules/@apollo/client/__cjs/testing/core/mocking/mockLink.d.cts +1 -2
  237. package/node_modules/@apollo/client/__cjs/utilities/caching/sizes.cjs.map +1 -1
  238. package/node_modules/@apollo/client/__cjs/utilities/caching/sizes.d.cts +39 -1
  239. package/node_modules/@apollo/client/__cjs/utilities/graphql/DocumentTransform.cjs +1 -1
  240. package/node_modules/@apollo/client/__cjs/utilities/internal/StreamArrayState.cjs +27 -0
  241. package/node_modules/@apollo/client/__cjs/utilities/internal/StreamArrayState.cjs.map +1 -0
  242. package/node_modules/@apollo/client/__cjs/utilities/internal/StreamArrayState.d.cts +12 -0
  243. package/node_modules/@apollo/client/__cjs/utilities/internal/addDeferFragmentLabels.cjs +33 -0
  244. package/node_modules/@apollo/client/__cjs/utilities/internal/addDeferFragmentLabels.cjs.map +1 -0
  245. package/node_modules/@apollo/client/__cjs/utilities/internal/addDeferFragmentLabels.d.cts +3 -0
  246. package/node_modules/@apollo/client/__cjs/utilities/internal/capitalize.cjs +12 -0
  247. package/node_modules/@apollo/client/__cjs/utilities/internal/capitalize.cjs.map +1 -0
  248. package/node_modules/@apollo/client/__cjs/utilities/internal/capitalize.d.cts +7 -0
  249. package/node_modules/@apollo/client/__cjs/utilities/internal/coerceScalarFieldsToParsed.cjs +102 -0
  250. package/node_modules/@apollo/client/__cjs/utilities/internal/coerceScalarFieldsToParsed.cjs.map +1 -0
  251. package/node_modules/@apollo/client/__cjs/utilities/internal/coerceScalarFieldsToParsed.d.cts +9 -0
  252. package/node_modules/@apollo/client/__cjs/utilities/internal/constants.cjs +20 -1
  253. package/node_modules/@apollo/client/__cjs/utilities/internal/constants.cjs.map +1 -1
  254. package/node_modules/@apollo/client/__cjs/utilities/internal/constants.d.cts +19 -0
  255. package/node_modules/@apollo/client/__cjs/utilities/internal/getDirectiveArgValue.cjs +19 -0
  256. package/node_modules/@apollo/client/__cjs/utilities/internal/getDirectiveArgValue.cjs.map +1 -0
  257. package/node_modules/@apollo/client/__cjs/utilities/internal/getDirectiveArgValue.d.cts +9 -0
  258. package/node_modules/@apollo/client/__cjs/utilities/internal/getFragmentDefinition.cjs +3 -3
  259. package/node_modules/@apollo/client/__cjs/utilities/internal/getFragmentDefinition.cjs.map +1 -1
  260. package/node_modules/@apollo/client/__cjs/utilities/internal/getFragmentFromSelection.cjs +2 -2
  261. package/node_modules/@apollo/client/__cjs/utilities/internal/getFragmentFromSelection.cjs.map +1 -1
  262. package/node_modules/@apollo/client/__cjs/utilities/internal/getFragmentQueryDocument.cjs +2 -2
  263. package/node_modules/@apollo/client/__cjs/utilities/internal/getMainDefinition.cjs +1 -1
  264. package/node_modules/@apollo/client/__cjs/utilities/internal/getMemoryInternals.cjs +6 -0
  265. package/node_modules/@apollo/client/__cjs/utilities/internal/getMemoryInternals.cjs.map +1 -1
  266. package/node_modules/@apollo/client/__cjs/utilities/internal/getMemoryInternals.d.cts +4 -0
  267. package/node_modules/@apollo/client/__cjs/utilities/internal/getQueryDefinition.cjs +1 -1
  268. package/node_modules/@apollo/client/__cjs/utilities/internal/index.cjs +27 -2
  269. package/node_modules/@apollo/client/__cjs/utilities/internal/index.cjs.map +1 -1
  270. package/node_modules/@apollo/client/__cjs/utilities/internal/index.d.cts +17 -2
  271. package/node_modules/@apollo/client/__cjs/utilities/internal/isDeferredFragment.cjs +38 -0
  272. package/node_modules/@apollo/client/__cjs/utilities/internal/isDeferredFragment.cjs.map +1 -0
  273. package/node_modules/@apollo/client/__cjs/utilities/internal/isDeferredFragment.d.cts +9 -0
  274. package/node_modules/@apollo/client/__cjs/utilities/internal/isStreamField.cjs +37 -0
  275. package/node_modules/@apollo/client/__cjs/utilities/internal/isStreamField.cjs.map +1 -0
  276. package/node_modules/@apollo/client/__cjs/utilities/internal/isStreamField.d.cts +9 -0
  277. package/node_modules/@apollo/client/__cjs/utilities/internal/isTypenameField.cjs +7 -0
  278. package/node_modules/@apollo/client/__cjs/utilities/internal/isTypenameField.cjs.map +1 -0
  279. package/node_modules/@apollo/client/__cjs/utilities/internal/isTypenameField.d.cts +3 -0
  280. package/node_modules/@apollo/client/__cjs/utilities/internal/makeStreamInfoTrie.cjs +17 -0
  281. package/node_modules/@apollo/client/__cjs/utilities/internal/makeStreamInfoTrie.cjs.map +1 -0
  282. package/node_modules/@apollo/client/__cjs/utilities/internal/makeStreamInfoTrie.d.cts +8 -0
  283. package/node_modules/@apollo/client/__cjs/utilities/internal/matchScalarList.cjs +12 -0
  284. package/node_modules/@apollo/client/__cjs/utilities/internal/matchScalarList.cjs.map +1 -0
  285. package/node_modules/@apollo/client/__cjs/utilities/internal/matchScalarList.d.cts +8 -0
  286. package/node_modules/@apollo/client/__cjs/utilities/internal/removeDirectivesFromDocument.cjs +1 -1
  287. package/node_modules/@apollo/client/__cjs/utilities/internal/shouldInclude.cjs +4 -4
  288. package/node_modules/@apollo/client/__cjs/utilities/internal/toDiffWithDataState.cjs +20 -0
  289. package/node_modules/@apollo/client/__cjs/utilities/internal/toDiffWithDataState.cjs.map +1 -0
  290. package/node_modules/@apollo/client/__cjs/utilities/internal/toDiffWithDataState.d.cts +8 -0
  291. package/node_modules/@apollo/client/__cjs/utilities/internal/types/DeferInfo.cjs +3 -0
  292. package/node_modules/@apollo/client/__cjs/utilities/internal/types/DeferInfo.cjs.map +1 -0
  293. package/node_modules/@apollo/client/__cjs/utilities/internal/types/DeferInfo.d.cts +10 -0
  294. package/node_modules/@apollo/client/__cjs/utilities/internal/types/Exact.cjs +3 -0
  295. package/node_modules/@apollo/client/__cjs/utilities/internal/types/Exact.cjs.map +1 -0
  296. package/node_modules/@apollo/client/__cjs/utilities/internal/types/Exact.d.cts +2 -0
  297. package/node_modules/@apollo/client/__cjs/utilities/internal/types/IsLooselyEqual.cjs +3 -0
  298. package/node_modules/@apollo/client/__cjs/utilities/internal/types/IsLooselyEqual.cjs.map +1 -0
  299. package/node_modules/@apollo/client/__cjs/utilities/internal/types/IsLooselyEqual.d.cts +10 -0
  300. package/node_modules/@apollo/client/__cjs/utilities/internal/types/IsNeverish.cjs +3 -0
  301. package/node_modules/@apollo/client/__cjs/utilities/internal/types/IsNeverish.cjs.map +1 -0
  302. package/node_modules/@apollo/client/__cjs/utilities/internal/types/IsNeverish.d.cts +4 -0
  303. package/node_modules/@apollo/client/__cjs/utilities/internal/types/StreamInfoTrie.d.cts +2 -0
  304. package/node_modules/@apollo/client/__cjs/utilities/internal/unwrapScalarType.cjs +12 -0
  305. package/node_modules/@apollo/client/__cjs/utilities/internal/unwrapScalarType.cjs.map +1 -0
  306. package/node_modules/@apollo/client/__cjs/utilities/internal/unwrapScalarType.d.cts +10 -0
  307. package/node_modules/@apollo/client/__cjs/utilities/internal/valueToObjectRepresentation.cjs +1 -1
  308. package/node_modules/@apollo/client/__cjs/version.cjs +1 -1
  309. package/node_modules/@apollo/client/__cjs/version.cjs.map +1 -1
  310. package/node_modules/@apollo/client/cache/core/Scalar.d.ts +56 -0
  311. package/node_modules/@apollo/client/cache/core/Scalar.js +32 -0
  312. package/node_modules/@apollo/client/cache/core/Scalar.js.map +1 -0
  313. package/node_modules/@apollo/client/cache/core/cache.d.ts +89 -6
  314. package/node_modules/@apollo/client/cache/core/cache.js +33 -2
  315. package/node_modules/@apollo/client/cache/core/cache.js.map +1 -1
  316. package/node_modules/@apollo/client/cache/core/types/Cache.d.ts +30 -2
  317. package/node_modules/@apollo/client/cache/core/types/Cache.js.map +1 -1
  318. package/node_modules/@apollo/client/cache/index.d.ts +2 -1
  319. package/node_modules/@apollo/client/cache/index.js +1 -0
  320. package/node_modules/@apollo/client/cache/index.js.map +1 -1
  321. package/node_modules/@apollo/client/cache/inmemory/entityStore.d.ts +3 -0
  322. package/node_modules/@apollo/client/cache/inmemory/entityStore.js +64 -6
  323. package/node_modules/@apollo/client/cache/inmemory/entityStore.js.map +1 -1
  324. package/node_modules/@apollo/client/cache/inmemory/helpers.d.ts +11 -2
  325. package/node_modules/@apollo/client/cache/inmemory/helpers.js +11 -0
  326. package/node_modules/@apollo/client/cache/inmemory/helpers.js.map +1 -1
  327. package/node_modules/@apollo/client/cache/inmemory/inMemoryCache.d.ts +44 -5
  328. package/node_modules/@apollo/client/cache/inmemory/inMemoryCache.js +97 -6
  329. package/node_modules/@apollo/client/cache/inmemory/inMemoryCache.js.map +1 -1
  330. package/node_modules/@apollo/client/cache/inmemory/key-extractor.js +1 -1
  331. package/node_modules/@apollo/client/cache/inmemory/policies.d.ts +3 -1
  332. package/node_modules/@apollo/client/cache/inmemory/policies.js +34 -6
  333. package/node_modules/@apollo/client/cache/inmemory/policies.js.map +1 -1
  334. package/node_modules/@apollo/client/cache/inmemory/readFromStore.d.ts +11 -2
  335. package/node_modules/@apollo/client/cache/inmemory/readFromStore.js +485 -45
  336. package/node_modules/@apollo/client/cache/inmemory/readFromStore.js.map +1 -1
  337. package/node_modules/@apollo/client/cache/inmemory/types.d.ts +32 -5
  338. package/node_modules/@apollo/client/cache/inmemory/types.js.map +1 -1
  339. package/node_modules/@apollo/client/cache/inmemory/writeToStore.js +6 -10
  340. package/node_modules/@apollo/client/cache/inmemory/writeToStore.js.map +1 -1
  341. package/node_modules/@apollo/client/core/ApolloClient.d.ts +11 -11
  342. package/node_modules/@apollo/client/core/ApolloClient.js +14 -14
  343. package/node_modules/@apollo/client/core/ApolloClient.js.map +1 -1
  344. package/node_modules/@apollo/client/core/ObservableQuery.d.ts +4 -7
  345. package/node_modules/@apollo/client/core/ObservableQuery.js +183 -73
  346. package/node_modules/@apollo/client/core/ObservableQuery.js.map +1 -1
  347. package/node_modules/@apollo/client/core/QueryInfo.d.ts +18 -22
  348. package/node_modules/@apollo/client/core/QueryInfo.js +165 -198
  349. package/node_modules/@apollo/client/core/QueryInfo.js.map +1 -1
  350. package/node_modules/@apollo/client/core/QueryManager.d.ts +4 -4
  351. package/node_modules/@apollo/client/core/QueryManager.js +76 -49
  352. package/node_modules/@apollo/client/core/QueryManager.js.map +1 -1
  353. package/node_modules/@apollo/client/core/RefetchEventManager.js +3 -3
  354. package/node_modules/@apollo/client/core/dataStateErrorCache.d.ts +3 -0
  355. package/node_modules/@apollo/client/core/dataStateErrorCache.js +9 -0
  356. package/node_modules/@apollo/client/core/dataStateErrorCache.js.map +1 -0
  357. package/node_modules/@apollo/client/core/deprecated.d.ts +3 -3
  358. package/node_modules/@apollo/client/core/deprecated.js.map +1 -1
  359. package/node_modules/@apollo/client/core/index.d.ts +4 -3
  360. package/node_modules/@apollo/client/core/index.js +1 -1
  361. package/node_modules/@apollo/client/core/index.js.map +1 -1
  362. package/node_modules/@apollo/client/core/types.d.ts +11 -7
  363. package/node_modules/@apollo/client/core/types.js.map +1 -1
  364. package/node_modules/@apollo/client/incremental/GraphQLCodegenIncremental.d.ts +55 -0
  365. package/node_modules/@apollo/client/incremental/GraphQLCodegenIncremental.js +2 -0
  366. package/node_modules/@apollo/client/incremental/GraphQLCodegenIncremental.js.map +1 -0
  367. package/node_modules/@apollo/client/incremental/handlers/defer20220824.d.ts +2 -4
  368. package/node_modules/@apollo/client/incremental/handlers/defer20220824.js.map +1 -1
  369. package/node_modules/@apollo/client/incremental/handlers/graphql17Alpha9.d.ts +29 -6
  370. package/node_modules/@apollo/client/incremental/handlers/graphql17Alpha9.js +48 -17
  371. package/node_modules/@apollo/client/incremental/handlers/graphql17Alpha9.js.map +1 -1
  372. package/node_modules/@apollo/client/incremental/handlers/notImplemented.js +1 -1
  373. package/node_modules/@apollo/client/incremental/index.d.ts +1 -0
  374. package/node_modules/@apollo/client/incremental/index.js.map +1 -1
  375. package/node_modules/@apollo/client/incremental/internal/types.d.ts +17 -0
  376. package/node_modules/@apollo/client/incremental/internal/types.js +2 -0
  377. package/node_modules/@apollo/client/incremental/internal/types.js.map +1 -0
  378. package/node_modules/@apollo/client/incremental/types.d.ts +55 -4
  379. package/node_modules/@apollo/client/incremental/types.js.map +1 -1
  380. package/node_modules/@apollo/client/invariantErrorCodes.js +164 -113
  381. package/node_modules/@apollo/client/link/core/ApolloLink.js +3 -3
  382. package/node_modules/@apollo/client/link/http/checkFetcher.js +1 -1
  383. package/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js +1 -1
  384. package/node_modules/@apollo/client/link/persisted-queries/index.js +2 -2
  385. package/node_modules/@apollo/client/link/ws/index.js +1 -1
  386. package/node_modules/@apollo/client/local-state/LocalState.d.ts +1 -1
  387. package/node_modules/@apollo/client/local-state/LocalState.js +11 -11
  388. package/node_modules/@apollo/client/local-state/LocalState.js.map +1 -1
  389. package/node_modules/@apollo/client/masking/internal/types.d.ts +1 -2
  390. package/node_modules/@apollo/client/masking/internal/types.js.map +1 -1
  391. package/node_modules/@apollo/client/masking/maskDefinition.js +2 -2
  392. package/node_modules/@apollo/client/masking/maskFragment.js +2 -2
  393. package/node_modules/@apollo/client/masking/maskOperation.js +1 -1
  394. package/node_modules/@apollo/client/masking/utils.js +3 -3
  395. package/node_modules/@apollo/client/package.json +1 -1
  396. package/node_modules/@apollo/client/react/context/ApolloContext.js +1 -1
  397. package/node_modules/@apollo/client/react/context/ApolloProvider.js +1 -1
  398. package/node_modules/@apollo/client/react/hooks/internal/validateSuspenseHookOptions.js +2 -2
  399. package/node_modules/@apollo/client/react/hooks/useApolloClient.js +1 -1
  400. package/node_modules/@apollo/client/react/hooks/useBackgroundQuery.d.ts +3 -3
  401. package/node_modules/@apollo/client/react/hooks/useBackgroundQuery.js.map +1 -1
  402. package/node_modules/@apollo/client/react/hooks/useFragment.d.ts +0 -1
  403. package/node_modules/@apollo/client/react/hooks/useFragment.js.map +1 -1
  404. package/node_modules/@apollo/client/react/hooks/useLazyQuery.d.ts +1 -1
  405. package/node_modules/@apollo/client/react/hooks/useLazyQuery.js +29 -3
  406. package/node_modules/@apollo/client/react/hooks/useLazyQuery.js.map +1 -1
  407. package/node_modules/@apollo/client/react/hooks/useLoadableQuery.js +2 -2
  408. package/node_modules/@apollo/client/react/hooks/useMutation.d.ts +14 -14
  409. package/node_modules/@apollo/client/react/hooks/useMutation.js.map +1 -1
  410. package/node_modules/@apollo/client/react/hooks/useQuery.d.ts +16 -3
  411. package/node_modules/@apollo/client/react/hooks/useQuery.js.map +1 -1
  412. package/node_modules/@apollo/client/react/hooks/useSubscription.d.ts +27 -5
  413. package/node_modules/@apollo/client/react/hooks/useSubscription.js +7 -3
  414. package/node_modules/@apollo/client/react/hooks/useSubscription.js.map +1 -1
  415. package/node_modules/@apollo/client/react/hooks/useSuspenseFragment.d.ts +1 -1
  416. package/node_modules/@apollo/client/react/hooks/useSuspenseFragment.js.map +1 -1
  417. package/node_modules/@apollo/client/react/hooks/useSuspenseQuery.d.ts +30 -30
  418. package/node_modules/@apollo/client/react/hooks/useSuspenseQuery.js.map +1 -1
  419. package/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js +1 -1
  420. package/node_modules/@apollo/client/react/hooks-compiled/internal/validateSuspenseHookOptions.js +2 -2
  421. package/node_modules/@apollo/client/react/hooks-compiled/useApolloClient.js +1 -1
  422. package/node_modules/@apollo/client/react/hooks-compiled/useBackgroundQuery.d.ts +3 -3
  423. package/node_modules/@apollo/client/react/hooks-compiled/useBackgroundQuery.js.map +1 -1
  424. package/node_modules/@apollo/client/react/hooks-compiled/useFragment.d.ts +0 -1
  425. package/node_modules/@apollo/client/react/hooks-compiled/useFragment.js.map +1 -1
  426. package/node_modules/@apollo/client/react/hooks-compiled/useLazyQuery.d.ts +1 -1
  427. package/node_modules/@apollo/client/react/hooks-compiled/useLazyQuery.js +29 -3
  428. package/node_modules/@apollo/client/react/hooks-compiled/useLazyQuery.js.map +1 -1
  429. package/node_modules/@apollo/client/react/hooks-compiled/useLoadableQuery.js +2 -2
  430. package/node_modules/@apollo/client/react/hooks-compiled/useMutation.d.ts +14 -14
  431. package/node_modules/@apollo/client/react/hooks-compiled/useMutation.js.map +1 -1
  432. package/node_modules/@apollo/client/react/hooks-compiled/useQuery.d.ts +16 -3
  433. package/node_modules/@apollo/client/react/hooks-compiled/useQuery.js.map +1 -1
  434. package/node_modules/@apollo/client/react/hooks-compiled/useSubscription.d.ts +27 -5
  435. package/node_modules/@apollo/client/react/hooks-compiled/useSubscription.js +107 -93
  436. package/node_modules/@apollo/client/react/hooks-compiled/useSubscription.js.map +1 -1
  437. package/node_modules/@apollo/client/react/hooks-compiled/useSuspenseFragment.d.ts +1 -1
  438. package/node_modules/@apollo/client/react/hooks-compiled/useSuspenseFragment.js.map +1 -1
  439. package/node_modules/@apollo/client/react/hooks-compiled/useSuspenseQuery.d.ts +30 -30
  440. package/node_modules/@apollo/client/react/hooks-compiled/useSuspenseQuery.js.map +1 -1
  441. package/node_modules/@apollo/client/react/hooks-compiled/useSyncExternalStore.js +1 -1
  442. package/node_modules/@apollo/client/react/internal/cache/QueryReference.js +1 -1
  443. package/node_modules/@apollo/client/react/query-preloader/createQueryPreloader.d.ts +1 -1
  444. package/node_modules/@apollo/client/react/query-preloader/createQueryPreloader.js.map +1 -1
  445. package/node_modules/@apollo/client/react/ssr/prerenderStatic.js +2 -2
  446. package/node_modules/@apollo/client/react/types/deprecated.d.ts +5 -4
  447. package/node_modules/@apollo/client/react/types/deprecated.js.map +1 -1
  448. package/node_modules/@apollo/client/react/types/types.documentation.d.ts +12 -1
  449. package/node_modules/@apollo/client/react/types/types.documentation.js.map +1 -1
  450. package/node_modules/@apollo/client/testing/core/mocking/mockLink.d.ts +1 -2
  451. package/node_modules/@apollo/client/testing/core/mocking/mockLink.js +25 -5
  452. package/node_modules/@apollo/client/testing/core/mocking/mockLink.js.map +1 -1
  453. package/node_modules/@apollo/client/utilities/caching/sizes.d.ts +39 -1
  454. package/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -1
  455. package/node_modules/@apollo/client/utilities/graphql/DocumentTransform.js +1 -1
  456. package/node_modules/@apollo/client/utilities/internal/StreamArrayState.d.ts +12 -0
  457. package/node_modules/@apollo/client/utilities/internal/StreamArrayState.js +23 -0
  458. package/node_modules/@apollo/client/utilities/internal/StreamArrayState.js.map +1 -0
  459. package/node_modules/@apollo/client/utilities/internal/addDeferFragmentLabels.d.ts +3 -0
  460. package/node_modules/@apollo/client/utilities/internal/addDeferFragmentLabels.js +30 -0
  461. package/node_modules/@apollo/client/utilities/internal/addDeferFragmentLabels.js.map +1 -0
  462. package/node_modules/@apollo/client/utilities/internal/capitalize.d.ts +7 -0
  463. package/node_modules/@apollo/client/utilities/internal/capitalize.js +9 -0
  464. package/node_modules/@apollo/client/utilities/internal/capitalize.js.map +1 -0
  465. package/node_modules/@apollo/client/utilities/internal/coerceScalarFieldsToParsed.d.ts +9 -0
  466. package/node_modules/@apollo/client/utilities/internal/coerceScalarFieldsToParsed.js +95 -0
  467. package/node_modules/@apollo/client/utilities/internal/coerceScalarFieldsToParsed.js.map +1 -0
  468. package/node_modules/@apollo/client/utilities/internal/constants.d.ts +19 -0
  469. package/node_modules/@apollo/client/utilities/internal/constants.js +19 -0
  470. package/node_modules/@apollo/client/utilities/internal/constants.js.map +1 -1
  471. package/node_modules/@apollo/client/utilities/internal/getDirectiveArgValue.d.ts +9 -0
  472. package/node_modules/@apollo/client/utilities/internal/getDirectiveArgValue.js +16 -0
  473. package/node_modules/@apollo/client/utilities/internal/getDirectiveArgValue.js.map +1 -0
  474. package/node_modules/@apollo/client/utilities/internal/getFragmentDefinition.js +3 -3
  475. package/node_modules/@apollo/client/utilities/internal/getFragmentDefinition.js.map +1 -1
  476. package/node_modules/@apollo/client/utilities/internal/getFragmentFromSelection.js +2 -2
  477. package/node_modules/@apollo/client/utilities/internal/getFragmentFromSelection.js.map +1 -1
  478. package/node_modules/@apollo/client/utilities/internal/getFragmentQueryDocument.js +2 -2
  479. package/node_modules/@apollo/client/utilities/internal/getMainDefinition.js +1 -1
  480. package/node_modules/@apollo/client/utilities/internal/getMemoryInternals.d.ts +4 -0
  481. package/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +6 -0
  482. package/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -1
  483. package/node_modules/@apollo/client/utilities/internal/getQueryDefinition.js +1 -1
  484. package/node_modules/@apollo/client/utilities/internal/index.d.ts +17 -2
  485. package/node_modules/@apollo/client/utilities/internal/index.js +13 -1
  486. package/node_modules/@apollo/client/utilities/internal/index.js.map +1 -1
  487. package/node_modules/@apollo/client/utilities/internal/isDeferredFragment.d.ts +9 -0
  488. package/node_modules/@apollo/client/utilities/internal/isDeferredFragment.js +35 -0
  489. package/node_modules/@apollo/client/utilities/internal/isDeferredFragment.js.map +1 -0
  490. package/node_modules/@apollo/client/utilities/internal/isStreamField.d.ts +9 -0
  491. package/node_modules/@apollo/client/utilities/internal/isStreamField.js +34 -0
  492. package/node_modules/@apollo/client/utilities/internal/isStreamField.js.map +1 -0
  493. package/node_modules/@apollo/client/utilities/internal/isTypenameField.d.ts +3 -0
  494. package/node_modules/@apollo/client/utilities/internal/isTypenameField.js +4 -0
  495. package/node_modules/@apollo/client/utilities/internal/isTypenameField.js.map +1 -0
  496. package/node_modules/@apollo/client/utilities/internal/makeStreamInfoTrie.d.ts +8 -0
  497. package/node_modules/@apollo/client/utilities/internal/makeStreamInfoTrie.js +14 -0
  498. package/node_modules/@apollo/client/utilities/internal/makeStreamInfoTrie.js.map +1 -0
  499. package/node_modules/@apollo/client/utilities/internal/matchScalarList.d.ts +8 -0
  500. package/node_modules/@apollo/client/utilities/internal/matchScalarList.js +9 -0
  501. package/node_modules/@apollo/client/utilities/internal/matchScalarList.js.map +1 -0
  502. package/node_modules/@apollo/client/utilities/internal/removeDirectivesFromDocument.js +1 -1
  503. package/node_modules/@apollo/client/utilities/internal/shouldInclude.js +4 -4
  504. package/node_modules/@apollo/client/utilities/internal/toDiffWithDataState.d.ts +8 -0
  505. package/node_modules/@apollo/client/utilities/internal/toDiffWithDataState.js +17 -0
  506. package/node_modules/@apollo/client/utilities/internal/toDiffWithDataState.js.map +1 -0
  507. package/node_modules/@apollo/client/utilities/internal/types/DeferInfo.d.ts +10 -0
  508. package/node_modules/@apollo/client/utilities/internal/types/DeferInfo.js +2 -0
  509. package/node_modules/@apollo/client/utilities/internal/types/DeferInfo.js.map +1 -0
  510. package/node_modules/@apollo/client/utilities/internal/types/Exact.d.ts +2 -0
  511. package/node_modules/@apollo/client/utilities/internal/types/Exact.js +2 -0
  512. package/node_modules/@apollo/client/utilities/internal/types/Exact.js.map +1 -0
  513. package/node_modules/@apollo/client/utilities/internal/types/IsLooselyEqual.d.ts +10 -0
  514. package/node_modules/@apollo/client/utilities/internal/types/IsLooselyEqual.js +2 -0
  515. package/node_modules/@apollo/client/utilities/internal/types/IsLooselyEqual.js.map +1 -0
  516. package/node_modules/@apollo/client/utilities/internal/types/IsNeverish.d.ts +4 -0
  517. package/node_modules/@apollo/client/utilities/internal/types/IsNeverish.js +2 -0
  518. package/node_modules/@apollo/client/utilities/internal/types/IsNeverish.js.map +1 -0
  519. package/node_modules/@apollo/client/utilities/internal/types/StreamInfoTrie.d.ts +2 -0
  520. package/node_modules/@apollo/client/utilities/internal/types/StreamInfoTrie.js.map +1 -1
  521. package/node_modules/@apollo/client/utilities/internal/unwrapScalarType.d.ts +10 -0
  522. package/node_modules/@apollo/client/utilities/internal/unwrapScalarType.js +9 -0
  523. package/node_modules/@apollo/client/utilities/internal/unwrapScalarType.js.map +1 -0
  524. package/node_modules/@apollo/client/utilities/internal/valueToObjectRepresentation.js +1 -1
  525. package/node_modules/@apollo/client/version.js +1 -1
  526. package/node_modules/@apollo/client/version.js.map +1 -1
  527. package/node_modules/@types/node/README.md +2 -2
  528. package/node_modules/@types/node/buffer.buffer.d.ts +10 -5
  529. package/node_modules/@types/node/buffer.d.ts +1 -0
  530. package/node_modules/@types/node/child_process.d.ts +1 -1
  531. package/node_modules/@types/node/crypto.d.ts +22 -12
  532. package/node_modules/@types/node/dgram.d.ts +119 -4
  533. package/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  534. package/node_modules/@types/node/ffi.d.ts +15 -1
  535. package/node_modules/@types/node/fs/promises.d.ts +61 -65
  536. package/node_modules/@types/node/fs.d.ts +86 -76
  537. package/node_modules/@types/node/http.d.ts +18 -2
  538. package/node_modules/@types/node/http2.d.ts +15 -6
  539. package/node_modules/@types/node/index.d.ts +1 -0
  540. package/node_modules/@types/node/inspector.d.ts +2 -1
  541. package/node_modules/@types/node/net.d.ts +124 -20
  542. package/node_modules/@types/node/package.json +3 -18
  543. package/node_modules/@types/node/perf_hooks.d.ts +31 -19
  544. package/node_modules/@types/node/process.d.ts +53 -0
  545. package/node_modules/@types/node/quic.d.ts +290 -42
  546. package/node_modules/@types/node/sqlite.d.ts +6 -2
  547. package/node_modules/@types/node/stream/iter.d.ts +13 -16
  548. package/node_modules/@types/node/stream/web.d.ts +20 -0
  549. package/node_modules/@types/node/test/reporters.d.ts +1 -0
  550. package/node_modules/@types/node/test.d.ts +108 -0
  551. package/node_modules/@types/node/tls.d.ts +64 -25
  552. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +5 -0
  553. package/node_modules/@types/node/ts5.6/index.d.ts +1 -0
  554. package/node_modules/@types/node/ts5.7/index.d.ts +1 -0
  555. package/node_modules/@types/node/tty.d.ts +4 -3
  556. package/node_modules/@types/node/vfs.d.ts +211 -0
  557. package/node_modules/@types/node/vm.d.ts +3 -2
  558. package/node_modules/@types/node/web-globals/streams.d.ts +4 -0
  559. package/node_modules/@types/node/worker_threads.d.ts +4 -1
  560. package/node_modules/@types/node/zlib.d.ts +17 -0
  561. package/node_modules/cpu-features/build/Makefile +2 -2
  562. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/filesystem.o.d +1 -1
  563. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_linux_or_android.o.d +1 -1
  564. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_macos_or_iphone.o.d +1 -1
  565. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_windows.o.d +1 -1
  566. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_arm_linux_or_android.o.d +1 -1
  567. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_mips_linux_or_android.o.d +1 -1
  568. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_ppc_linux.o.d +1 -1
  569. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_freebsd.o.d +1 -1
  570. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_linux_or_android.o.d +1 -1
  571. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_macos.o.d +1 -1
  572. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_windows.o.d +1 -1
  573. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/stack_line_reader.o.d +1 -1
  574. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/string_view.o.d +1 -1
  575. package/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpufeatures/src/binding.o.d +145 -145
  576. package/node_modules/cpu-features/build/config.gypi +8 -9
  577. package/node_modules/cpu-features/build/cpufeatures.target.mk +14 -14
  578. package/node_modules/cpu-features/build/deps/cpu_features/cpu_features.target.mk +14 -14
  579. package/node_modules/default-browser/package.json +1 -1
  580. package/node_modules/default-browser/windows.js +3 -1
  581. package/node_modules/js-yaml/README.md +0 -3
  582. package/node_modules/js-yaml/dist/browser/js-yaml.esm.min.mjs +822 -779
  583. package/node_modules/js-yaml/dist/browser/js-yaml.esm.min.mjs.map +1 -1
  584. package/node_modules/js-yaml/dist/browser/js-yaml.umd.min.js +29 -23
  585. package/node_modules/js-yaml/dist/browser/js-yaml.umd.min.js.map +1 -1
  586. package/node_modules/js-yaml/dist/js-yaml.cjs.js +425 -397
  587. package/node_modules/js-yaml/dist/js-yaml.cjs.js.map +1 -1
  588. package/node_modules/js-yaml/dist/js-yaml.d.ts +101 -32
  589. package/node_modules/js-yaml/dist/js-yaml.mjs +429 -397
  590. package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
  591. package/node_modules/js-yaml/package.json +1 -1
  592. package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.js +11 -3
  593. package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.js.map +1 -1
  594. package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.min.js +1 -1
  595. package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -1
  596. package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.mjs +11 -3
  597. package/node_modules/lando/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
  598. package/node_modules/lando/node_modules/js-yaml/lib/loader.js +16 -3
  599. package/node_modules/lando/node_modules/js-yaml/package.json +1 -1
  600. package/node_modules/open/index.js +15 -3
  601. package/node_modules/open/package.json +3 -3
  602. package/node_modules/{lando → path-scurry}/node_modules/lru-cache/README.md +96 -10
  603. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.d.ts.map +1 -0
  604. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.js.map +1 -0
  605. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.d.ts +5 -0
  606. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
  607. package/node_modules/{lando/node_modules/lru-cache/dist/commonjs → path-scurry/node_modules/lru-cache/dist/commonjs/browser}/index.d.ts +109 -32
  608. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +1 -0
  609. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.js +1733 -0
  610. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.js.map +1 -0
  611. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
  612. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +7 -0
  613. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts +12 -0
  614. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts.map +1 -0
  615. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
  616. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/browser/perf.js.map +1 -0
  617. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.cjs.map +1 -0
  618. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.d.cts.map +1 -0
  619. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/diagnostics-channel.d.ts +5 -0
  620. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
  621. package/node_modules/{lando/node_modules/lru-cache/dist/esm → path-scurry/node_modules/lru-cache/dist/commonjs}/index.d.ts +109 -32
  622. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
  623. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js +1733 -0
  624. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
  625. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  626. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
  627. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.d.ts.map +1 -0
  628. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.js.map +1 -0
  629. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.d.ts +5 -0
  630. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
  631. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.d.ts +1400 -0
  632. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +1 -0
  633. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.js +1733 -0
  634. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.js.map +1 -0
  635. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
  636. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +7 -0
  637. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/perf.d.ts +12 -0
  638. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/perf.d.ts.map +1 -0
  639. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
  640. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/node/perf.js.map +1 -0
  641. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/perf.d.ts +12 -0
  642. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/perf.d.ts.map +1 -0
  643. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
  644. package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/perf.js.map +1 -0
  645. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.d.ts.map +1 -0
  646. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.js.map +1 -0
  647. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.d.ts +5 -0
  648. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
  649. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.d.ts +1400 -0
  650. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +1 -0
  651. package/node_modules/{lando/node_modules/lru-cache/dist/esm → path-scurry/node_modules/lru-cache/dist/esm/browser}/index.js +315 -177
  652. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.js.map +1 -0
  653. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
  654. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/index.min.js.map +7 -0
  655. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/perf.d.ts +12 -0
  656. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/perf.d.ts.map +1 -0
  657. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
  658. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/perf.js.map +1 -0
  659. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
  660. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.mjs.map +1 -0
  661. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/diagnostics-channel.d.ts +5 -0
  662. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
  663. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.d.ts +1400 -0
  664. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
  665. package/node_modules/{lando/node_modules/lru-cache/dist/commonjs → path-scurry/node_modules/lru-cache/dist/esm}/index.js +316 -182
  666. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js.map +1 -0
  667. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  668. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
  669. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.d.ts.map +1 -0
  670. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.js.map +1 -0
  671. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/diagnostics-channel.d.ts +5 -0
  672. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
  673. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.d.ts +1400 -0
  674. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.d.ts.map +1 -0
  675. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.js +1729 -0
  676. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.js.map +1 -0
  677. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
  678. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/index.min.js.map +7 -0
  679. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/perf.d.ts +12 -0
  680. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/perf.d.ts.map +1 -0
  681. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
  682. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/node/perf.js.map +1 -0
  683. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/perf.d.ts +12 -0
  684. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/perf.d.ts.map +1 -0
  685. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/perf.js +7 -0
  686. package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/perf.js.map +1 -0
  687. package/node_modules/path-scurry/node_modules/lru-cache/package.json +154 -0
  688. package/node_modules/powershell-utils/index.d.ts +16 -2
  689. package/node_modules/powershell-utils/index.js +12 -9
  690. package/node_modules/powershell-utils/package.json +1 -1
  691. package/node_modules/powershell-utils/readme.md +7 -2
  692. package/node_modules/socket.io-client/README.md +1 -0
  693. package/node_modules/socket.io-client/build/cjs/index.d.ts +3 -3
  694. package/node_modules/socket.io-client/build/cjs/manager.d.ts +1 -2
  695. package/node_modules/socket.io-client/build/cjs/manager.js +17 -7
  696. package/node_modules/socket.io-client/build/cjs/socket.d.ts +5 -2
  697. package/node_modules/socket.io-client/build/cjs/socket.js +0 -1
  698. package/node_modules/socket.io-client/build/esm/index.d.ts +3 -3
  699. package/node_modules/socket.io-client/build/esm/index.js +1 -1
  700. package/node_modules/socket.io-client/build/esm/manager.d.ts +1 -2
  701. package/node_modules/socket.io-client/build/esm/package.json +1 -1
  702. package/node_modules/socket.io-client/build/esm/socket.d.ts +5 -2
  703. package/node_modules/socket.io-client/build/esm/socket.js +0 -1
  704. package/node_modules/socket.io-client/build/esm-debug/index.d.ts +3 -3
  705. package/node_modules/socket.io-client/build/esm-debug/index.js +1 -1
  706. package/node_modules/socket.io-client/build/esm-debug/manager.d.ts +1 -2
  707. package/node_modules/socket.io-client/build/esm-debug/package.json +1 -1
  708. package/node_modules/socket.io-client/build/esm-debug/socket.d.ts +5 -2
  709. package/node_modules/socket.io-client/build/esm-debug/socket.js +0 -1
  710. package/node_modules/socket.io-client/dist/socket.io.esm.min.js +3 -3
  711. package/node_modules/socket.io-client/dist/socket.io.esm.min.js.map +1 -1
  712. package/node_modules/socket.io-client/dist/socket.io.js +174 -242
  713. package/node_modules/socket.io-client/dist/socket.io.js.map +1 -1
  714. package/node_modules/socket.io-client/dist/socket.io.min.js +3 -3
  715. package/node_modules/socket.io-client/dist/socket.io.min.js.map +1 -1
  716. package/node_modules/socket.io-client/dist/socket.io.msgpack.min.js +3 -3
  717. package/node_modules/socket.io-client/dist/socket.io.msgpack.min.js.map +1 -1
  718. package/node_modules/socket.io-client/package.json +2 -2
  719. package/node_modules/ssh2/lib/protocol/crypto/build/Makefile +2 -2
  720. package/node_modules/ssh2/lib/protocol/crypto/build/Release/.deps/Release/obj.target/sshcrypto/src/binding.o.d +237 -237
  721. package/node_modules/ssh2/lib/protocol/crypto/build/Release/obj.target/sshcrypto/src/binding.o +0 -0
  722. package/node_modules/ssh2/lib/protocol/crypto/build/Release/obj.target/sshcrypto.node +0 -0
  723. package/node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node +0 -0
  724. package/node_modules/ssh2/lib/protocol/crypto/build/sshcrypto.target.mk +14 -14
  725. package/node_modules/undici/README.md +10 -1
  726. package/node_modules/undici/docs/docs/api/Agent.md +8 -8
  727. package/node_modules/undici/docs/docs/api/Client.md +4 -0
  728. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
  729. package/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
  730. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  731. package/node_modules/undici/docs/docs/api/Errors.md +25 -0
  732. package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  733. package/node_modules/undici/docs/docs/api/Fetch.md +10 -0
  734. package/node_modules/undici/docs/docs/api/Interceptors.md +8 -3
  735. package/node_modules/undici/docs/docs/api/Pool.md +5 -6
  736. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  737. package/node_modules/undici/docs/docs/index.md +10 -1
  738. package/node_modules/undici/lib/api/readable.js +1 -2
  739. package/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  740. package/node_modules/undici/lib/core/request.js +23 -2
  741. package/node_modules/undici/lib/core/symbols.js +2 -0
  742. package/node_modules/undici/lib/core/util.js +0 -39
  743. package/node_modules/undici/lib/dispatcher/agent.js +7 -2
  744. package/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  745. package/node_modules/undici/lib/dispatcher/client-h1.js +23 -8
  746. package/node_modules/undici/lib/dispatcher/client-h2.js +94 -10
  747. package/node_modules/undici/lib/dispatcher/client.js +9 -3
  748. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  749. package/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  750. package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  751. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +31 -9
  752. package/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
  753. package/node_modules/undici/lib/dispatcher/pool.js +90 -7
  754. package/node_modules/undici/lib/dispatcher/proxy-agent.js +33 -3
  755. package/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  756. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  757. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  758. package/node_modules/undici/lib/handler/cache-handler.js +29 -5
  759. package/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  760. package/node_modules/undici/lib/handler/deduplication-handler.js +29 -10
  761. package/node_modules/undici/lib/handler/redirect-handler.js +26 -4
  762. package/node_modules/undici/lib/handler/retry-handler.js +215 -38
  763. package/node_modules/undici/lib/interceptor/cache.js +69 -13
  764. package/node_modules/undici/lib/interceptor/decompress.js +319 -50
  765. package/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  766. package/node_modules/undici/lib/interceptor/dns.js +7 -0
  767. package/node_modules/undici/lib/interceptor/dump.js +10 -23
  768. package/node_modules/undici/lib/mock/mock-agent.js +13 -1
  769. package/node_modules/undici/lib/mock/mock-utils.js +11 -10
  770. package/node_modules/undici/lib/util/cache.js +45 -3
  771. package/node_modules/undici/lib/web/cache/cache.js +17 -8
  772. package/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
  773. package/node_modules/undici/lib/web/cookies/index.js +19 -7
  774. package/node_modules/undici/lib/web/cookies/parse.js +150 -147
  775. package/node_modules/undici/lib/web/cookies/util.js +3 -1
  776. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  777. package/node_modules/undici/lib/web/eventsource/eventsource.js +38 -4
  778. package/node_modules/undici/lib/web/fetch/body.js +22 -15
  779. package/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  780. package/node_modules/undici/lib/web/fetch/formdata.js +30 -36
  781. package/node_modules/undici/lib/web/fetch/headers.js +34 -31
  782. package/node_modules/undici/lib/web/fetch/index.js +52 -25
  783. package/node_modules/undici/lib/web/fetch/request.js +76 -82
  784. package/node_modules/undici/lib/web/fetch/response.js +43 -44
  785. package/node_modules/undici/lib/web/fetch/util.js +13 -8
  786. package/node_modules/undici/lib/web/infra/index.js +16 -1
  787. package/node_modules/undici/lib/web/webidl/index.js +5 -17
  788. package/node_modules/undici/lib/web/websocket/connection.js +34 -13
  789. package/node_modules/undici/lib/web/websocket/events.js +43 -26
  790. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  791. package/node_modules/undici/lib/web/websocket/receiver.js +2 -0
  792. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
  793. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +27 -14
  794. package/node_modules/undici/lib/web/websocket/websocket.js +44 -41
  795. package/node_modules/undici/package.json +3 -3
  796. package/node_modules/undici/types/client.d.ts +10 -0
  797. package/node_modules/undici/types/diagnostics-channel.d.ts +2 -1
  798. package/node_modules/undici/types/interceptors.d.ts +2 -0
  799. package/node_modules/undici/types/mock-agent.d.ts +11 -10
  800. package/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -0
  801. package/node_modules/undici/types/webidl.d.ts +13 -7
  802. package/node_modules/undici-types/client.d.ts +8 -3
  803. package/node_modules/undici-types/connector.d.ts +1 -0
  804. package/node_modules/undici-types/cookies.d.ts +1 -1
  805. package/node_modules/undici-types/dispatcher.d.ts +3 -3
  806. package/node_modules/undici-types/errors.d.ts +10 -0
  807. package/node_modules/undici-types/fetch.d.ts +5 -1
  808. package/node_modules/undici-types/handlers.d.ts +2 -0
  809. package/node_modules/undici-types/interceptors.d.ts +1 -1
  810. package/node_modules/undici-types/mock-interceptor.d.ts +5 -1
  811. package/node_modules/undici-types/package.json +1 -1
  812. package/node_modules/undici-types/proxy-agent.d.ts +7 -0
  813. package/package.json +2 -2
  814. package/packaging/macos/build-pkg.sh +53 -0
  815. package/packaging/macos/preinstall +33 -0
  816. package/packaging/macos/test-install.sh +51 -0
  817. package/packaging/macos/test_package.py +74 -0
  818. package/packaging/macos/uninstall.sh +24 -0
  819. package/packaging/macos/verify-pkg.py +61 -0
  820. package/packaging/windows/build-msi.ps1 +153 -0
  821. package/packaging/windows/test-msi.ps1 +225 -0
  822. package/packaging/windows/verify-msi.ps1 +74 -0
  823. package/packaging/windows/vip-next.wxs +79 -0
  824. package/testdata/installer-fixture/main.go +40 -0
  825. package/node_modules/@apollo/client/__cjs/utilities/internal/types/NoInfer.cjs.map +0 -1
  826. package/node_modules/@apollo/client/__cjs/utilities/internal/types/NoInfer.d.cts +0 -35
  827. package/node_modules/@apollo/client/utilities/internal/types/NoInfer.d.ts +0 -35
  828. package/node_modules/@apollo/client/utilities/internal/types/NoInfer.js +0 -2
  829. package/node_modules/@apollo/client/utilities/internal/types/NoInfer.js.map +0 -1
  830. package/node_modules/lando/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  831. package/node_modules/lando/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  832. package/node_modules/lando/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  833. package/node_modules/lando/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
  834. package/node_modules/lando/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  835. package/node_modules/lando/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  836. package/node_modules/lando/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  837. package/node_modules/lando/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
  838. package/node_modules/lando/node_modules/lru-cache/package.json +0 -93
  839. /package/node_modules/{lando/node_modules/lru-cache → path-scurry}/LICENSE.md +0 -0
  840. /package/node_modules/{lando/node_modules/path-scurry → path-scurry}/README.md +0 -0
  841. /package/node_modules/{lando/node_modules/path-scurry → path-scurry}/dist/commonjs/index.d.ts +0 -0
  842. /package/node_modules/{lando/node_modules/path-scurry → path-scurry}/dist/commonjs/index.d.ts.map +0 -0
  843. /package/node_modules/{lando/node_modules/path-scurry → path-scurry}/dist/commonjs/index.js +0 -0
  844. /package/node_modules/{lando/node_modules/path-scurry → path-scurry}/dist/commonjs/index.js.map +0 -0
  845. /package/node_modules/{lando/node_modules/lru-cache → path-scurry}/dist/commonjs/package.json +0 -0
  846. /package/node_modules/{lando/node_modules/path-scurry → path-scurry}/dist/esm/index.d.ts +0 -0
  847. /package/node_modules/{lando/node_modules/path-scurry → path-scurry}/dist/esm/index.d.ts.map +0 -0
  848. /package/node_modules/{lando/node_modules/path-scurry → path-scurry}/dist/esm/index.js +0 -0
  849. /package/node_modules/{lando/node_modules/path-scurry → path-scurry}/dist/esm/index.js.map +0 -0
  850. /package/node_modules/{lando/node_modules/lru-cache → path-scurry}/dist/esm/package.json +0 -0
  851. /package/node_modules/{lando/node_modules/path-scurry → path-scurry/node_modules/lru-cache}/LICENSE.md +0 -0
  852. /package/node_modules/{lando/node_modules/path-scurry → path-scurry/node_modules/lru-cache}/dist/commonjs/package.json +0 -0
  853. /package/node_modules/{lando/node_modules/path-scurry → path-scurry/node_modules/lru-cache}/dist/esm/package.json +0 -0
  854. /package/node_modules/{lando/node_modules/path-scurry → path-scurry}/package.json +0 -0
@@ -1,4 +1,4 @@
1
- /*! js-yaml 5.3.0 https://github.com/nodeca/js-yaml @license MIT */
1
+ /*! js-yaml 5.4.2 https://github.com/nodeca/js-yaml @license MIT */
2
2
  //#region src/tag.ts
3
3
  var e = Symbol("NOT_RESOLVED");
4
4
  function t(e, t) {
@@ -220,7 +220,7 @@ function he(t) {
220
220
  let n = me(t);
221
221
  return Number.isFinite(n) ? n : e;
222
222
  }
223
- var ge = t("tag:yaml.org,2002:int", {
223
+ var g = t("tag:yaml.org,2002:int", {
224
224
  implicit: !0,
225
225
  implicitFirstChars: [
226
226
  "-",
@@ -230,16 +230,16 @@ var ge = t("tag:yaml.org,2002:int", {
230
230
  resolve: he,
231
231
  identify: (e) => Number.isInteger(e) && !Object.is(e, -0) && e.toString(10).indexOf("e") < 0,
232
232
  represent: (e) => e.toString(10)
233
- }), _e = /* @__PURE__ */ RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), ve = /* @__PURE__ */ RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
234
- function ye(t) {
235
- if (!_e.test(t)) return e;
233
+ }), ge = /* @__PURE__ */ RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), _e = /* @__PURE__ */ RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
234
+ function ve(t) {
235
+ if (!ge.test(t)) return e;
236
236
  let n = t.toLowerCase(), r = n[0] === "-" ? -1 : 1;
237
237
  if ("+-".includes(n[0]) && (n = n.slice(1)), n === ".inf") return r === 1 ? Infinity : -Infinity;
238
238
  if (n === ".nan") return NaN;
239
239
  let i = r * parseFloat(n);
240
- return Number.isFinite(i) || ve.test(t) ? i : e;
240
+ return Number.isFinite(i) || _e.test(t) ? i : e;
241
241
  }
242
- function be(e) {
242
+ function ye(e) {
243
243
  if (isNaN(e)) return ".nan";
244
244
  if (e === Infinity) return ".inf";
245
245
  if (e === -Infinity) return "-.inf";
@@ -247,7 +247,7 @@ function be(e) {
247
247
  let t = e.toString(10);
248
248
  return /^[-+]?[0-9]+e/.test(t) ? t.replace("e", ".e") : t;
249
249
  }
250
- var xe = t("tag:yaml.org,2002:float", {
250
+ var be = t("tag:yaml.org,2002:float", {
251
251
  implicit: !0,
252
252
  implicitFirstChars: [
253
253
  "-",
@@ -255,24 +255,24 @@ var xe = t("tag:yaml.org,2002:float", {
255
255
  ".",
256
256
  ..."0123456789"
257
257
  ],
258
- resolve: ye,
258
+ resolve: ve,
259
259
  identify: (e) => typeof e == "number" && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf("e") >= 0),
260
- represent: be
261
- }), Se = /* @__PURE__ */ RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"), Ce = /* @__PURE__ */ RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
262
- function we(t, n) {
260
+ represent: ye
261
+ }), xe = /* @__PURE__ */ RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"), Se = /* @__PURE__ */ RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
262
+ function Ce(t, n) {
263
263
  if (n) {
264
- if (!Ce.test(t)) return e;
264
+ if (!Se.test(t)) return e;
265
265
  let n = t.toLowerCase(), r = n[0] === "-" ? -1 : 1;
266
266
  if ("+-".includes(n[0]) && (n = n.slice(1)), n === ".inf") return r === 1 ? Infinity : -Infinity;
267
267
  if (n === ".nan") return NaN;
268
268
  let i = r * parseFloat(n);
269
269
  return Number.isFinite(i) ? i : e;
270
270
  }
271
- if (!Se.test(t)) return e;
271
+ if (!xe.test(t)) return e;
272
272
  let r = Number(t);
273
273
  return Number.isFinite(r) ? r : e;
274
274
  }
275
- function Te(e) {
275
+ function we(e) {
276
276
  if (isNaN(e)) return ".nan";
277
277
  if (e === Infinity) return ".inf";
278
278
  if (e === -Infinity) return "-.inf";
@@ -280,15 +280,15 @@ function Te(e) {
280
280
  let t = e.toString(10);
281
281
  return /^[-+]?[0-9]+e/.test(t) ? t.replace("e", ".e") : t;
282
282
  }
283
- var Ee = t("tag:yaml.org,2002:float", {
283
+ var Te = t("tag:yaml.org,2002:float", {
284
284
  implicit: !0,
285
285
  implicitFirstChars: ["-", ..."0123456789"],
286
- resolve: we,
286
+ resolve: Ce,
287
287
  identify: (e) => typeof e == "number" && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf("e") >= 0),
288
- represent: Te
289
- }), De = /* @__PURE__ */ RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), Oe = /* @__PURE__ */ RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
290
- function ke(t) {
291
- if (!De.test(t)) return e;
288
+ represent: we
289
+ }), Ee = /* @__PURE__ */ RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), De = /* @__PURE__ */ RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
290
+ function Oe(t) {
291
+ if (!Ee.test(t)) return e;
292
292
  let n = t.toLowerCase().replace(/_/g, ""), r = n[0] === "-" ? -1 : 1;
293
293
  if ("+-".includes(n[0]) && (n = n.slice(1)), n === ".inf") return r === 1 ? Infinity : -Infinity;
294
294
  if (n === ".nan") return NaN;
@@ -297,9 +297,9 @@ function ke(t) {
297
297
  for (let e of n.split(":")) i = i * 60 + Number(e);
298
298
  i *= r;
299
299
  } else i = r * parseFloat(n);
300
- return Number.isFinite(i) || Oe.test(t) ? i : e;
300
+ return Number.isFinite(i) || De.test(t) ? i : e;
301
301
  }
302
- function Ae(e) {
302
+ function ke(e) {
303
303
  if (isNaN(e)) return ".nan";
304
304
  if (e === Infinity) return ".inf";
305
305
  if (e === -Infinity) return "-.inf";
@@ -307,7 +307,7 @@ function Ae(e) {
307
307
  let t = e.toString(10);
308
308
  return /^[-+]?[0-9]+e/.test(t) ? t.replace("e", ".e") : t;
309
309
  }
310
- var je = t("tag:yaml.org,2002:float", {
310
+ var _ = t("tag:yaml.org,2002:float", {
311
311
  implicit: !0,
312
312
  implicitFirstChars: [
313
313
  "-",
@@ -315,42 +315,42 @@ var je = t("tag:yaml.org,2002:float", {
315
315
  ".",
316
316
  ..."0123456789"
317
317
  ],
318
- resolve: ke,
318
+ resolve: Oe,
319
319
  identify: (e) => typeof e == "number" && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf("e") >= 0),
320
- represent: Ae
321
- }), Me = t("tag:yaml.org,2002:merge", {
320
+ represent: ke
321
+ }), Ae = t("tag:yaml.org,2002:merge", {
322
322
  implicit: !0,
323
323
  implicitFirstChars: ["<"],
324
324
  resolve: (t, n) => t === "<<" || n && t === "" ? "<<" : e,
325
325
  identify: () => !1
326
- }), Ne = /^[A-Za-z0-9+/]*={0,2}$/;
327
- function Pe(t) {
326
+ }), je = /^[A-Za-z0-9+/]*={0,2}$/;
327
+ function Me(t) {
328
328
  let n = t.replace(/\s/g, "");
329
- if (n.length % 4 != 0 || !Ne.test(n)) return e;
329
+ if (n.length % 4 != 0 || !je.test(n)) return e;
330
330
  let r = atob(n), i = new Uint8Array(r.length);
331
331
  for (let e = 0; e < r.length; e++) i[e] = r.charCodeAt(e);
332
332
  return i;
333
333
  }
334
- function Fe(e) {
334
+ function Ne(e) {
335
335
  let t = "";
336
336
  for (let n = 0; n < e.length; n++) t += String.fromCharCode(e[n]);
337
337
  return btoa(t);
338
338
  }
339
- var Ie = t("tag:yaml.org,2002:binary", {
340
- resolve: Pe,
339
+ var Pe = t("tag:yaml.org,2002:binary", {
340
+ resolve: Me,
341
341
  identify: (e) => Object.prototype.toString.call(e) === "[object Uint8Array]",
342
- represent: Fe
343
- }), Le = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), Re = /* @__PURE__ */ 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]))?))?$");
344
- function ze(e, t, n, r = 0, i = 0, a = 0, o = 0) {
342
+ represent: Ne
343
+ }), Fe = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), Ie = /* @__PURE__ */ 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]))?))?$");
344
+ function Le(e, t, n, r = 0, i = 0, a = 0, o = 0) {
345
345
  let s = new Date(Date.UTC(e, t, n, r, i, a, o));
346
346
  return s.setUTCFullYear(e, t, n), s;
347
347
  }
348
- function Be(t) {
349
- let n = Le.exec(t);
350
- if (n === null && (n = Re.exec(t)), n === null) return e;
348
+ function Re(t) {
349
+ let n = Fe.exec(t);
350
+ if (n === null && (n = Ie.exec(t)), n === null) return e;
351
351
  let r = +n[1], i = n[2] - 1, a = +n[3];
352
352
  if (!n[4]) {
353
- let t = ze(r, i, a);
353
+ let t = Le(r, i, a);
354
354
  return t.getUTCFullYear() !== r || t.getUTCMonth() !== i || t.getUTCDate() !== a ? e : t;
355
355
  }
356
356
  let o = +n[4], s = +n[5], c = +n[6], l = 0;
@@ -360,7 +360,7 @@ function Be(t) {
360
360
  for (; e.length < 3;) e += "0";
361
361
  l = +e;
362
362
  }
363
- let u = ze(r, i, a, o, s, c, l);
363
+ let u = Le(r, i, a, o, s, c, l);
364
364
  if (u.getUTCFullYear() !== r || u.getUTCMonth() !== i || u.getUTCDate() !== a) return e;
365
365
  if (n[9]) {
366
366
  let t = +n[10], r = +(n[11] || 0);
@@ -370,13 +370,13 @@ function Be(t) {
370
370
  }
371
371
  return u;
372
372
  }
373
- var Ve = t("tag:yaml.org,2002:timestamp", {
373
+ var ze = t("tag:yaml.org,2002:timestamp", {
374
374
  implicit: !0,
375
375
  implicitFirstChars: [..."0123456789"],
376
- resolve: Be,
376
+ resolve: Re,
377
377
  identify: (e) => e instanceof Date,
378
378
  represent: (e) => e.toISOString()
379
- }), He = n("tag:yaml.org,2002:seq", {
379
+ }), Be = n("tag:yaml.org,2002:seq", {
380
380
  create: () => [],
381
381
  addItem: (e, t) => {
382
382
  e.push(t);
@@ -385,19 +385,19 @@ var Ve = t("tag:yaml.org,2002:timestamp", {
385
385
  });
386
386
  //#endregion
387
387
  //#region src/common/object.ts
388
- function Ue(e) {
388
+ function v(e) {
389
389
  if (typeof e != "object" || !e || Array.isArray(e)) return !1;
390
390
  let t = Object.getPrototypeOf(e);
391
391
  return t === null || t === Object.prototype;
392
392
  }
393
- function We(e, t) {
393
+ function Ve(e, t) {
394
394
  let n = {};
395
395
  for (let r of t) e[r] !== void 0 && (n[r] = e[r]);
396
396
  return n;
397
397
  }
398
398
  //#endregion
399
399
  //#region src/tag/sequence/omap.ts
400
- var Ge = n("tag:yaml.org,2002:omap", {
400
+ var He = n("tag:yaml.org,2002:omap", {
401
401
  create: () => ({
402
402
  list: [],
403
403
  seen: /* @__PURE__ */ new Set()
@@ -407,7 +407,7 @@ var Ge = n("tag:yaml.org,2002:omap", {
407
407
  if (t instanceof Map) {
408
408
  if (t.size !== 1) return "cannot resolve an ordered map item";
409
409
  n = t.keys().next().value;
410
- } else if (Ue(t)) {
410
+ } else if (v(t)) {
411
411
  let e = Object.keys(t);
412
412
  if (e.length !== 1) return "cannot resolve an ordered map item";
413
413
  n = e[0];
@@ -416,7 +416,7 @@ var Ge = n("tag:yaml.org,2002:omap", {
416
416
  },
417
417
  finalize: (e) => e.list,
418
418
  identify: () => !1
419
- }), Ke = n("tag:yaml.org,2002:pairs", {
419
+ }), Ue = n("tag:yaml.org,2002:pairs", {
420
420
  create: () => [],
421
421
  addItem: (e, t) => {
422
422
  if (t instanceof Map) return t.size === 1 ? (e.push(t.entries().next().value), "") : "cannot resolve a pairs item";
@@ -425,9 +425,9 @@ var Ge = n("tag:yaml.org,2002:omap", {
425
425
  return r.length === 1 ? (e.push([r[0], n[r[0]]]), "") : "cannot resolve a pairs item";
426
426
  },
427
427
  identify: () => !1
428
- }), qe = r("tag:yaml.org,2002:map", {
428
+ }), We = r("tag:yaml.org,2002:map", {
429
429
  create: () => ({}),
430
- identify: Ue,
430
+ identify: v,
431
431
  represent: (e) => {
432
432
  let t = /* @__PURE__ */ new Map();
433
433
  for (let n of Object.keys(e)) t.set(n, e[n]);
@@ -449,7 +449,7 @@ var Ge = n("tag:yaml.org,2002:omap", {
449
449
  let n = String(t);
450
450
  return Object.prototype.hasOwnProperty.call(e, n) ? e[n] : null;
451
451
  }
452
- }), Je = r("tag:yaml.org,2002:set", {
452
+ }), Ge = r("tag:yaml.org,2002:set", {
453
453
  create: () => /* @__PURE__ */ new Set(),
454
454
  identify: (e) => e instanceof Set,
455
455
  represent: (e) => {
@@ -464,36 +464,36 @@ var Ge = n("tag:yaml.org,2002:omap", {
464
464
  });
465
465
  //#endregion
466
466
  //#region \0@oxc-project+runtime@0.137.0/helpers/esm/typeof.js
467
- function g(e) {
467
+ function y(e) {
468
468
  "@babel/helpers - typeof";
469
- return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
469
+ return y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
470
470
  return typeof e;
471
471
  } : function(e) {
472
472
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
473
- }, g(e);
473
+ }, y(e);
474
474
  }
475
475
  //#endregion
476
476
  //#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPrimitive.js
477
- function Ye(e, t) {
478
- if (g(e) != "object" || !e) return e;
477
+ function Ke(e, t) {
478
+ if (y(e) != "object" || !e) return e;
479
479
  var n = e[Symbol.toPrimitive];
480
480
  if (n !== void 0) {
481
481
  var r = n.call(e, t || "default");
482
- if (g(r) != "object") return r;
482
+ if (y(r) != "object") return r;
483
483
  throw TypeError("@@toPrimitive must return a primitive value.");
484
484
  }
485
485
  return (t === "string" ? String : Number)(e);
486
486
  }
487
487
  //#endregion
488
488
  //#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPropertyKey.js
489
- function Xe(e) {
490
- var t = Ye(e, "string");
491
- return g(t) == "symbol" ? t : t + "";
489
+ function qe(e) {
490
+ var t = Ke(e, "string");
491
+ return y(t) == "symbol" ? t : t + "";
492
492
  }
493
493
  //#endregion
494
494
  //#region \0@oxc-project+runtime@0.137.0/helpers/esm/defineProperty.js
495
- function _(e, t, n) {
496
- return (t = Xe(t)) in e ? Object.defineProperty(e, t, {
495
+ function b(e, t, n) {
496
+ return (t = qe(t)) in e ? Object.defineProperty(e, t, {
497
497
  value: n,
498
498
  enumerable: !0,
499
499
  configurable: !0,
@@ -502,7 +502,7 @@ function _(e, t, n) {
502
502
  }
503
503
  //#endregion
504
504
  //#region \0@oxc-project+runtime@0.137.0/helpers/esm/objectSpread2.js
505
- function Ze(e, t) {
505
+ function Je(e, t) {
506
506
  var n = Object.keys(e);
507
507
  if (Object.getOwnPropertySymbols) {
508
508
  var r = Object.getOwnPropertySymbols(e);
@@ -512,12 +512,12 @@ function Ze(e, t) {
512
512
  }
513
513
  return n;
514
514
  }
515
- function v(e) {
515
+ function x(e) {
516
516
  for (var t = 1; t < arguments.length; t++) {
517
517
  var n = arguments[t] == null ? {} : arguments[t];
518
- t % 2 ? Ze(Object(n), !0).forEach(function(t) {
519
- _(e, t, n[t]);
520
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ze(Object(n)).forEach(function(t) {
518
+ t % 2 ? Je(Object(n), !0).forEach(function(t) {
519
+ b(e, t, n[t]);
520
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Je(Object(n)).forEach(function(t) {
521
521
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
522
522
  });
523
523
  }
@@ -525,21 +525,21 @@ function v(e) {
525
525
  }
526
526
  //#endregion
527
527
  //#region src/schema.ts
528
- function Qe() {
528
+ function Ye() {
529
529
  return {
530
530
  scalar: Object.create(null),
531
531
  sequence: Object.create(null),
532
532
  mapping: Object.create(null)
533
533
  };
534
534
  }
535
- function $e() {
535
+ function Xe() {
536
536
  return {
537
537
  scalar: [],
538
538
  sequence: [],
539
539
  mapping: []
540
540
  };
541
541
  }
542
- function et(e) {
542
+ function Ze(e) {
543
543
  let t = [];
544
544
  for (let n of e) {
545
545
  let e = t.length;
@@ -554,10 +554,10 @@ function et(e) {
554
554
  }
555
555
  return t;
556
556
  }
557
- var y = class t {
557
+ var S = class t {
558
558
  constructor(e) {
559
- _(this, "tags", void 0), _(this, "implicitScalarTags", void 0), _(this, "implicitScalarByFirstChar", void 0), _(this, "implicitScalarAnyFirstChar", void 0), _(this, "defaultScalarTag", void 0), _(this, "defaultSequenceTag", void 0), _(this, "defaultMappingTag", void 0), _(this, "exact", void 0), _(this, "prefix", void 0);
560
- let t = et(e), n = [], r = Qe(), i = $e();
559
+ b(this, "tags", void 0), b(this, "implicitScalarTags", void 0), b(this, "implicitScalarByFirstChar", void 0), b(this, "implicitScalarAnyFirstChar", void 0), b(this, "defaultScalarTag", void 0), b(this, "defaultSequenceTag", void 0), b(this, "defaultMappingTag", void 0), b(this, "exact", void 0), b(this, "prefix", void 0);
560
+ let t = Ze(e), n = [], r = Ye(), i = Xe();
561
561
  for (let e of t) {
562
562
  if (e.nodeKind === "scalar" && e.implicit) {
563
563
  if (e.matchByTagPrefix) throw Error("Implicit scalar tags cannot match by tag prefix");
@@ -619,47 +619,47 @@ var y = class t {
619
619
  for (let t of e) n = n.concat(t);
620
620
  return new t([...this.tags, ...n]);
621
621
  }
622
- }, tt = new y([
622
+ }, C = new S([
623
623
  i,
624
- He,
625
- qe
626
- ]), nt = new y([
627
- ...tt.tags,
624
+ Be,
625
+ We
626
+ ]), Qe = new S([
627
+ ...C.tags,
628
628
  s,
629
629
  h,
630
630
  fe,
631
- Ee
632
- ]), rt = new y([
633
- ...tt.tags,
631
+ Te
632
+ ]), $e = new S([
633
+ ...C.tags,
634
634
  o,
635
635
  f,
636
636
  se,
637
- xe
638
- ]), it = new y([
639
- ...tt.tags,
637
+ be
638
+ ]), et = new S([
639
+ ...C.tags,
640
640
  l,
641
641
  ne,
642
- ge,
643
- je,
644
- Ve,
645
- Me,
646
- Ie,
647
- Ge,
648
- Ke,
649
- Je
650
- ]), at = it.withTags(v(v({}, ge), {}, { resolve: (t, n, r) => {
651
- let i = ge.resolve(t, n, r);
642
+ g,
643
+ _,
644
+ ze,
645
+ Ae,
646
+ Pe,
647
+ He,
648
+ Ue,
649
+ Ge
650
+ ]), tt = et.withTags(x(x({}, g), {}, { resolve: (t, n, r) => {
651
+ let i = g.resolve(t, n, r);
652
652
  return i === e ? se.resolve(t, n, r) : i;
653
- } }), v(v({}, je), {}, { resolve: (t, n, r) => {
654
- let i = je.resolve(t, n, r);
655
- return i === e ? xe.resolve(t, n, r) : i;
656
- } })), ot = r("tag:yaml.org,2002:map", {
653
+ } }), x(x({}, _), {}, { resolve: (t, n, r) => {
654
+ let i = _.resolve(t, n, r);
655
+ return i === e ? be.resolve(t, n, r) : i;
656
+ } })), nt = r("tag:yaml.org,2002:map", {
657
657
  create: () => /* @__PURE__ */ new Map(),
658
658
  addPair: (e, t, n) => (e.set(t, n), ""),
659
659
  has: (e, t) => e.has(t),
660
660
  keys: (e) => e.keys(),
661
661
  get: (e, t) => e.get(t),
662
- identify: (e) => e instanceof Map || Ue(e),
662
+ identify: (e) => e instanceof Map || v(e),
663
663
  represent: (e) => {
664
664
  if (e instanceof Map) return e;
665
665
  let t = /* @__PURE__ */ new Map(), n = e;
@@ -669,7 +669,7 @@ var y = class t {
669
669
  });
670
670
  //#endregion
671
671
  //#region src/tag/mapping/legacy_map.ts
672
- function st(e) {
672
+ function rt(e) {
673
673
  if (Array.isArray(e)) {
674
674
  let t = Array.prototype.slice.call(e);
675
675
  for (let e = 0; e < t.length; e++) {
@@ -680,16 +680,16 @@ function st(e) {
680
680
  }
681
681
  return typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" ? "[object Object]" : String(e);
682
682
  }
683
- var ct = r("tag:yaml.org,2002:map", {
683
+ var it = r("tag:yaml.org,2002:map", {
684
684
  create: () => ({}),
685
- identify: Ue,
685
+ identify: v,
686
686
  represent: (e) => {
687
687
  let t = /* @__PURE__ */ new Map();
688
688
  for (let n of Object.keys(e)) t.set(n, e[n]);
689
689
  return t;
690
690
  },
691
691
  addPair: (e, t, n) => {
692
- let r = st(t);
692
+ let r = rt(t);
693
693
  return r === null ? "nested arrays are not supported inside keys" : (r === "__proto__" ? Object.defineProperty(e, r, {
694
694
  value: n,
695
695
  enumerable: !0,
@@ -698,7 +698,7 @@ var ct = r("tag:yaml.org,2002:map", {
698
698
  }) : e[r] = n, "");
699
699
  },
700
700
  has: (e, t) => {
701
- let n = st(t);
701
+ let n = rt(t);
702
702
  return n !== null && Object.prototype.hasOwnProperty.call(e, n);
703
703
  },
704
704
  keys: (e) => Object.keys(e),
@@ -706,52 +706,52 @@ var ct = r("tag:yaml.org,2002:map", {
706
706
  let n = String(t);
707
707
  return Object.prototype.hasOwnProperty.call(e, n) ? e[n] : null;
708
708
  }
709
- }), lt = {
709
+ }), at = {
710
710
  maxLength: 79,
711
711
  indent: 1,
712
712
  linesBefore: 3,
713
713
  linesAfter: 2
714
714
  };
715
- function ut(e, t, n, r, i) {
715
+ function ot(e, t, n, r, i) {
716
716
  let a = "", o = "", s = Math.floor(i / 2) - 1;
717
717
  return r - t > s && (a = " ... ", t = r - s + a.length), n - r > s && (o = " ...", n = r + s - o.length), {
718
718
  str: a + e.slice(t, n).replace(/\t/g, "→") + o,
719
719
  pos: r - t + a.length
720
720
  };
721
721
  }
722
- function dt(e, t) {
722
+ function st(e, t) {
723
723
  return " ".repeat(Math.max(t - e.length, 0)) + e;
724
724
  }
725
- function ft(e, t) {
725
+ function ct(e, t) {
726
726
  if (!e.buffer) return null;
727
- let n = v(v({}, lt), t), r = /\r?\n|\r|\0/g, i = [0], a = [], o, s = -1;
727
+ let n = x(x({}, at), t), r = /\r?\n|\r|\0/g, i = [0], a = [], o, s = -1;
728
728
  for (; o = r.exec(e.buffer);) a.push(o.index), i.push(o.index + o[0].length), e.position <= o.index && s < 0 && (s = i.length - 2);
729
729
  s < 0 && (s = i.length - 1);
730
730
  let c = "", l = Math.min(e.line + n.linesAfter, a.length).toString().length, u = n.maxLength - (n.indent + l + 3);
731
731
  for (let t = 1; t <= n.linesBefore && !(s - t < 0); t++) {
732
- let r = ut(e.buffer, i[s - t], a[s - t], e.position - (i[s] - i[s - t]), u);
733
- c = `${" ".repeat(n.indent)}${dt((e.line - t + 1).toString(), l)} | ${r.str}\n${c}`;
732
+ let r = ot(e.buffer, i[s - t], a[s - t], e.position - (i[s] - i[s - t]), u);
733
+ c = `${" ".repeat(n.indent)}${st((e.line - t + 1).toString(), l)} | ${r.str}\n${c}`;
734
734
  }
735
- let d = ut(e.buffer, i[s], a[s], e.position, u);
736
- c += `${" ".repeat(n.indent)}${dt((e.line + 1).toString(), l)} | ${d.str}\n`, c += `${"-".repeat(n.indent + l + 3 + d.pos)}^\n`;
735
+ let d = ot(e.buffer, i[s], a[s], e.position, u);
736
+ c += `${" ".repeat(n.indent)}${st((e.line + 1).toString(), l)} | ${d.str}\n`, c += `${"-".repeat(n.indent + l + 3 + d.pos)}^\n`;
737
737
  for (let t = 1; t <= n.linesAfter && !(s + t >= a.length); t++) {
738
- let r = ut(e.buffer, i[s + t], a[s + t], e.position - (i[s] - i[s + t]), u);
739
- c += `${" ".repeat(n.indent)}${dt((e.line + t + 1).toString(), l)} | ${r.str}\n`;
738
+ let r = ot(e.buffer, i[s + t], a[s + t], e.position - (i[s] - i[s + t]), u);
739
+ c += `${" ".repeat(n.indent)}${st((e.line + t + 1).toString(), l)} | ${r.str}\n`;
740
740
  }
741
741
  return c.replace(/\n$/, "");
742
742
  }
743
743
  //#endregion
744
744
  //#region src/common/exception.ts
745
- function pt(e, t) {
745
+ function lt(e, t) {
746
746
  let n = "";
747
747
  return e.mark ? (e.mark.name && (n += `in "${e.mark.name}" `), n += `(${e.mark.line + 1}:${e.mark.column + 1})`, !t && e.mark.snippet && (n += `\n\n${e.mark.snippet}`), `${e.reason} ${n}`) : e.reason;
748
748
  }
749
- var b = class e extends Error {
749
+ var w = class e extends Error {
750
750
  constructor(e, t) {
751
- super(), _(this, "reason", void 0), _(this, "mark", void 0), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = pt(this, !1), Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
751
+ super(), b(this, "reason", void 0), b(this, "mark", void 0), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = lt(this, !1), Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
752
752
  }
753
753
  toString(e) {
754
- return `${this.name}: ${pt(this, e)}`;
754
+ return `${this.name}: ${lt(this, e)}`;
755
755
  }
756
756
  static throwAt(t, n, r, i = "") {
757
757
  let a = 0, o = 0;
@@ -766,30 +766,30 @@ var b = class e extends Error {
766
766
  line: a,
767
767
  column: n - o
768
768
  };
769
- throw s.snippet = ft(s), new e(r, s);
769
+ throw s.snippet = ct(s), new e(r, s);
770
770
  }
771
- }, x = {
771
+ }, T = {
772
772
  DOCUMENT: 1,
773
773
  SEQUENCE: 2,
774
774
  MAPPING: 3,
775
775
  SCALAR: 4,
776
776
  ALIAS: 5,
777
777
  POP: 6
778
- }, S = {
778
+ }, E = {
779
779
  PLAIN: 1,
780
780
  SINGLE_QUOTED: 2,
781
781
  DOUBLE_QUOTED: 3,
782
782
  LITERAL_BLOCK: 4,
783
783
  FOLDED_BLOCK: 5
784
- }, C = {
784
+ }, D = {
785
785
  BLOCK: 1,
786
786
  FLOW: 2
787
- }, w = {
787
+ }, O = {
788
788
  CLIP: 1,
789
789
  STRIP: 2,
790
790
  KEEP: 3
791
- }, mt = -1;
792
- function ht(e) {
791
+ }, ut = -1;
792
+ function dt(e) {
793
793
  switch (e) {
794
794
  case 48: return "\0";
795
795
  case 97: return "\x07";
@@ -812,18 +812,18 @@ function ht(e) {
812
812
  default: return "";
813
813
  }
814
814
  }
815
- var gt = Array(256), _t = Array(256);
816
- for (let e = 0; e < 256; e++) gt[e] = +!!ht(e), _t[e] = ht(e);
817
- function vt(e) {
815
+ var ft = Array(256), pt = Array(256);
816
+ for (let e = 0; e < 256; e++) ft[e] = +!!dt(e), pt[e] = dt(e);
817
+ function mt(e) {
818
818
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
819
819
  }
820
- function yt(e) {
820
+ function ht(e) {
821
821
  return e >= 48 && e <= 57 ? e - 48 : (e | 32) - 97 + 10;
822
822
  }
823
- function bt(e) {
823
+ function gt(e) {
824
824
  return e === 120 ? 2 : e === 117 ? 4 : 8;
825
825
  }
826
- function xt(e, t, n) {
826
+ function _t(e, t, n) {
827
827
  let r = 0;
828
828
  for (; t < n;) {
829
829
  let n = e.charCodeAt(t);
@@ -837,62 +837,62 @@ function xt(e, t, n) {
837
837
  breaks: r
838
838
  };
839
839
  }
840
- function St(e) {
840
+ function vt(e) {
841
841
  return e === 1 ? " " : "\n".repeat(e - 1);
842
842
  }
843
- function Ct(e, t, n) {
843
+ function yt(e, t, n) {
844
844
  let r = "", i = t, a = t, o = t;
845
845
  for (; i < n;) {
846
846
  let t = e.charCodeAt(i);
847
847
  if (t === 10 || t === 13) {
848
848
  r += e.slice(a, o);
849
- let t = xt(e, i, n);
850
- r += St(t.breaks), i = a = o = t.position;
849
+ let t = _t(e, i, n);
850
+ r += vt(t.breaks), i = a = o = t.position;
851
851
  } else i++, t !== 32 && t !== 9 && (o = i);
852
852
  }
853
853
  return r + e.slice(a, o);
854
854
  }
855
- function wt(e, t, n) {
855
+ function bt(e, t, n) {
856
856
  let r = "", i = t, a = t, o = t;
857
857
  for (; i < n;) {
858
858
  let t = e.charCodeAt(i);
859
859
  if (t === 39) r += e.slice(a, i) + "'", i += 2, a = o = i;
860
860
  else if (t === 10 || t === 13) {
861
861
  r += e.slice(a, o);
862
- let t = xt(e, i, n);
863
- r += St(t.breaks), i = a = o = t.position;
862
+ let t = _t(e, i, n);
863
+ r += vt(t.breaks), i = a = o = t.position;
864
864
  } else i++, t !== 32 && t !== 9 && (o = i);
865
865
  }
866
866
  return r + e.slice(a, n);
867
867
  }
868
- function Tt(e, t, n) {
868
+ function xt(e, t, n) {
869
869
  let r = "", i = t, a = t, o = t;
870
870
  for (; i < n;) {
871
871
  let t = e.charCodeAt(i);
872
872
  if (t === 92) {
873
873
  r += e.slice(a, i), i++;
874
874
  let t = e.charCodeAt(i);
875
- if (t === 10 || t === 13) i = xt(e, i, n).position;
876
- else if (t < 256 && gt[t]) r += _t[t], i++;
875
+ if (t === 10 || t === 13) i = _t(e, i, n).position;
876
+ else if (t < 256 && ft[t]) r += pt[t], i++;
877
877
  else {
878
- let n = bt(t), a = 0;
878
+ let n = gt(t), a = 0;
879
879
  for (; n > 0; n--) {
880
880
  i++;
881
- let t = yt(e.charCodeAt(i));
881
+ let t = ht(e.charCodeAt(i));
882
882
  a = (a << 4) + t;
883
883
  }
884
- r += vt(a), i++;
884
+ r += mt(a), i++;
885
885
  }
886
886
  a = o = i;
887
887
  } else if (t === 10 || t === 13) {
888
888
  r += e.slice(a, o);
889
- let t = xt(e, i, n);
890
- r += St(t.breaks), i = a = o = t.position;
889
+ let t = _t(e, i, n);
890
+ r += vt(t.breaks), i = a = o = t.position;
891
891
  } else i++, t !== 32 && t !== 9 && (o = i);
892
892
  }
893
893
  return r + e.slice(a, n);
894
894
  }
895
- function Et(e, t, n, r, i, a) {
895
+ function St(e, t, n, r, i, a) {
896
896
  let o = r < 0 ? 0 : r, s = e.slice(t, n).replace(/\r\n?/g, "\n"), c = s === "" ? [] : (s.endsWith("\n") ? s.slice(0, -1) : s).split("\n"), l = "", u = !1, d = 0, f = !1;
897
897
  for (let e of c) {
898
898
  let t = 0;
@@ -904,141 +904,146 @@ function Et(e, t, n, r, i, a) {
904
904
  let n = e.slice(o), i = n.charCodeAt(0);
905
905
  a ? i === 32 || i === 9 ? (f = !0, l += "\n".repeat(u ? 1 + d : d)) : f ? (f = !1, l += "\n".repeat(d + 1)) : d === 0 ? u && (l += " ") : l += "\n".repeat(d) : l += "\n".repeat(u ? 1 + d : d), l += n, u = !0, d = 0;
906
906
  }
907
- return i === w.KEEP ? l += "\n".repeat(u ? 1 + d : d) : i !== w.STRIP && u && (l += "\n"), l;
907
+ return i === O.KEEP ? l += "\n".repeat(u ? 1 + d : d) : i !== O.STRIP && u && (l += "\n"), l;
908
908
  }
909
- function Dt(e, t) {
910
- if (t.valueStart === mt) return "";
909
+ function Ct(e, t) {
910
+ if (t.valueStart === ut) return "";
911
911
  let { valueStart: n, valueEnd: r } = t;
912
912
  if (t.fast) return e.slice(n, r);
913
913
  switch (t.style) {
914
- case S.SINGLE_QUOTED: return wt(e, n, r);
915
- case S.DOUBLE_QUOTED: return Tt(e, n, r);
916
- case S.LITERAL_BLOCK: return Et(e, n, r, t.indent, t.chomping, !1);
917
- case S.FOLDED_BLOCK: return Et(e, n, r, t.indent, t.chomping, !0);
918
- default: return Ct(e, n, r);
914
+ case E.SINGLE_QUOTED: return bt(e, n, r);
915
+ case E.DOUBLE_QUOTED: return xt(e, n, r);
916
+ case E.LITERAL_BLOCK: return St(e, n, r, t.indent, t.chomping, !1);
917
+ case E.FOLDED_BLOCK: return St(e, n, r, t.indent, t.chomping, !0);
918
+ default: return yt(e, n, r);
919
919
  }
920
920
  }
921
921
  //#endregion
922
922
  //#region src/common/tagname.ts
923
- var Ot = Object.assign(Object.create(null), {
923
+ var wt = Object.assign(Object.create(null), {
924
924
  "!": "!",
925
925
  "!!": "tag:yaml.org,2002:"
926
926
  });
927
- function kt(e) {
927
+ function Tt(e) {
928
928
  return encodeURI(e).replace(/!/g, "%21");
929
929
  }
930
- function At(e, t) {
930
+ function Et(e, t) {
931
931
  var n, r;
932
932
  if (e.startsWith("!<") && e.endsWith(">")) return decodeURIComponent(e.slice(2, -1));
933
- let i = e.indexOf("!", 1), a = i === -1 ? "!" : e.slice(0, i + 1), o = (n = (r = t == null ? void 0 : t[a]) == null ? Ot[a] : r) == null ? a : n;
933
+ let i = e.indexOf("!", 1), a = i === -1 ? "!" : e.slice(0, i + 1), o = (n = (r = t == null ? void 0 : t[a]) == null ? wt[a] : r) == null ? a : n;
934
934
  return decodeURIComponent(o) + decodeURIComponent(e.slice(a.length));
935
935
  }
936
- function jt(e) {
936
+ function Dt(e) {
937
937
  let t = e;
938
- return t.charCodeAt(0) === 33 ? (t = t.slice(1), `!${kt(t)}`) : t.slice(0, 18) === "tag:yaml.org,2002:" ? `!!${kt(t.slice(18))}` : `!<${kt(t)}>`;
938
+ return t.charCodeAt(0) === 33 ? (t = t.slice(1), `!${Tt(t)}`) : t.slice(0, 18) === "tag:yaml.org,2002:" ? `!!${Tt(t.slice(18))}` : `!<${Tt(t)}>`;
939
939
  }
940
940
  //#endregion
941
941
  //#region src/parser/constructor.ts
942
- var T = -1, Mt = "tag:yaml.org,2002:merge", Nt = {
942
+ var k = -1, Ot = "tag:yaml.org,2002:merge", kt = {
943
943
  filename: "",
944
- schema: rt,
944
+ schema: $e,
945
945
  json: !1,
946
946
  maxTotalMergeKeys: 1e4,
947
947
  maxAliases: -1
948
948
  };
949
- function Pt(e) {
950
- return "tagStart" in e && e.tagStart !== T ? e.tagStart : "anchorStart" in e && e.anchorStart !== T ? e.anchorStart : "valueStart" in e && e.valueStart !== T ? e.valueStart : "start" in e ? e.start : 0;
949
+ function At(e) {
950
+ return "tagStart" in e && e.tagStart !== k ? e.tagStart : "anchorStart" in e && e.anchorStart !== k ? e.anchorStart : "valueStart" in e && e.valueStart !== k ? e.valueStart : "start" in e ? e.start : 0;
951
951
  }
952
- function E(e, t) {
953
- b.throwAt(e.source, e.position, t, e.filename);
952
+ function A(e, t) {
953
+ w.throwAt(e.source, e.position, t, e.filename);
954
954
  }
955
- function Ft(e, t, n, r) {
955
+ function jt(e, t, n, r) {
956
956
  try {
957
957
  return n.finalize(r);
958
958
  } catch (n) {
959
- if (n instanceof b) throw n;
960
- b.throwAt(e.source, t, n instanceof Error ? n.message : String(n), e.filename);
959
+ if (n instanceof w) throw n;
960
+ w.throwAt(e.source, t, n instanceof Error ? n.message : String(n), e.filename);
961
961
  }
962
962
  }
963
- function It(t, n) {
964
- let r = Dt(t.source, n), i = n.tagStart === T ? "" : t.source.slice(n.tagStart, n.tagEnd), a = t.schema.defaultScalarTag;
963
+ function Mt(t, n) {
964
+ let r = Ct(t.source, n), i = n.tagStart === k ? "" : t.source.slice(n.tagStart, n.tagEnd), a = t.schema.defaultScalarTag;
965
965
  if (i !== "") {
966
966
  var o;
967
967
  if (i === "!") return {
968
968
  value: r,
969
969
  tag: a
970
970
  };
971
- let n = At(i, t.tagHandlers), s = t.schema.lookupScalarTag(n);
971
+ let n = Et(i, t.tagHandlers), s = t.schema.lookupScalarTag(n);
972
972
  if (s) {
973
973
  let i = s.resolve(r, !0, n);
974
- return i === e && E(t, `cannot resolve a node with !<${n}> explicit tag`), {
974
+ return i === e && A(t, `cannot resolve a node with !<${n}> explicit tag`), {
975
975
  value: i,
976
976
  tag: s
977
977
  };
978
978
  }
979
979
  let c = (o = t.schema.lookupMappingTag(n)) == null ? t.schema.lookupSequenceTag(n) : o;
980
980
  if (c) {
981
- r !== "" && E(t, `cannot resolve a node with !<${n}> explicit tag`);
981
+ r !== "" && A(t, `cannot resolve a node with !<${n}> explicit tag`);
982
982
  let e = c.create(n);
983
983
  return {
984
- value: c.carrierIsResult ? e : Ft(t, t.position, c, e),
984
+ value: c.carrierIsResult ? e : jt(t, t.position, c, e),
985
985
  tag: c
986
986
  };
987
987
  }
988
- E(t, `unknown scalar tag !<${n}>`);
988
+ A(t, `unknown scalar tag !<${n}>`);
989
989
  }
990
- return n.style === S.PLAIN ? t.schema.resolveImplicitScalarTag(r) : {
990
+ return n.style === E.PLAIN ? t.schema.resolveImplicitScalarTag(r) : {
991
991
  value: a.resolve(r, !1, a.tagName),
992
992
  tag: a
993
993
  };
994
994
  }
995
- function Lt(e, t, n) {
996
- let r = t.tagStart === T ? "" : e.source.slice(t.tagStart, t.tagEnd);
997
- return r === "" || r === "!" ? n : At(r, e.tagHandlers);
995
+ function Nt(e, t, n) {
996
+ let r = t.tagStart === k ? "" : e.source.slice(t.tagStart, t.tagEnd);
997
+ return r === "" || r === "!" ? n : Et(r, e.tagHandlers);
998
998
  }
999
- function Rt(e) {
999
+ function Pt(e) {
1000
1000
  return e.nodeKind === "mapping";
1001
1001
  }
1002
- function zt(e, t, n, r) {
1003
- for (let a of r.keys(n)) {
1004
- var i;
1005
- if (e.maxTotalMergeKeys !== -1 && ++e.totalMergeKeys > e.maxTotalMergeKeys && E(e, `merge keys exceeded maxTotalMergeKeys (${e.maxTotalMergeKeys})`), t.tag.has(t.value, a)) continue;
1006
- let o = t.tag.addPair(t.value, a, r.get(n, a));
1007
- o && E(e, o), ((i = t.overridable) == null ? t.overridable = /* @__PURE__ */ new Set() : i).add(a);
1008
- }
1002
+ function Ft(e) {
1003
+ e.totalMergeKeys++, e.maxTotalMergeKeys !== -1 && e.totalMergeKeys > e.maxTotalMergeKeys && A(e, `merge keys exceeded maxTotalMergeKeys (${e.maxTotalMergeKeys})`);
1009
1004
  }
1010
- function Bt(e, t, n, r) {
1011
- if (e.position = t.keyPosition, Rt(r)) zt(e, t, n, r);
1012
- else if (r.nodeKind === "sequence" && Array.isArray(n)) for (let r of n) {
1013
- let n = e.nodeTags.get(r);
1014
- n || E(e, "cannot merge mappings; the provided source object is unacceptable"), zt(e, t, r, n);
1005
+ function It(e, t, n, r) {
1006
+ Ft(e);
1007
+ for (let i of r.keys(n)) {
1008
+ if (Ft(e), t.tag.has(t.value, i)) continue;
1009
+ let a = t.tag.addPair(t.value, i, r.get(n, i));
1010
+ a && A(e, a), t.overridable != null || (t.overridable = /* @__PURE__ */ new Set()), t.overridable.add(i);
1015
1011
  }
1016
- else E(e, "cannot merge mappings; the provided source object is unacceptable");
1017
1012
  }
1018
- function Vt(e, t, n, r, i) {
1013
+ function Lt(e, t, n, r) {
1014
+ if (e.position = t.keyPosition, Pt(r)) It(e, t, n, r);
1015
+ else if (r.nodeKind === "sequence" && Array.isArray(n)) {
1016
+ n.length > 100 && A(e, "abnormal merge sequence size");
1017
+ for (let r of n) {
1018
+ let n = e.nodeTags.get(r);
1019
+ n || A(e, "cannot merge mappings; the provided source object is unacceptable"), It(e, t, r, n);
1020
+ }
1021
+ } else A(e, "cannot merge mappings; the provided source object is unacceptable");
1022
+ }
1023
+ function Rt(e, t, n, r, i) {
1019
1024
  var a, o;
1020
1025
  if (e.position = t.keyPosition, t.keyIsMerge) {
1021
- Bt(e, t, r, i);
1026
+ Lt(e, t, r, i);
1022
1027
  return;
1023
1028
  }
1024
- !e.json && t.tag.has(t.value, n) && !((a = t.overridable) != null && a.has(n)) && E(e, "duplicated mapping key");
1029
+ !e.json && t.tag.has(t.value, n) && !((a = t.overridable) != null && a.has(n)) && A(e, "duplicated mapping key");
1025
1030
  let s = t.tag.addPair(t.value, n, r);
1026
- s && E(e, s), (o = t.overridable) == null || o.delete(n);
1031
+ s && A(e, s), (o = t.overridable) == null || o.delete(n);
1027
1032
  }
1028
- function Ht(e, t, n) {
1033
+ function zt(e, t, n) {
1029
1034
  let r = e.frames[e.frames.length - 1];
1030
1035
  if (r.kind === "document") r.value = t, r.hasValue = !0;
1031
1036
  else if (r.kind === "sequence") {
1032
- Rt(n) && e.nodeTags.set(t, n);
1037
+ Pt(n) && e.nodeTags.set(t, n);
1033
1038
  let i = r.tag.addItem(r.value, t, r.index++);
1034
- i && E(e, i);
1039
+ i && A(e, i);
1035
1040
  } else if (r.hasKey) {
1036
1041
  let i = r.key;
1037
- r.key = void 0, r.hasKey = !1, Vt(e, r, i, t, n);
1038
- } else r.key = t, r.keyPosition = e.position, r.hasKey = !0, r.keyIsMerge = n.tagName === Mt;
1042
+ r.key = void 0, r.hasKey = !1, Rt(e, r, i, t, n);
1043
+ } else r.key = t, r.keyPosition = e.position, r.hasKey = !0, r.keyIsMerge = n.tagName === Ot;
1039
1044
  }
1040
- function Ut(e, t, n, r, i) {
1041
- if (t.anchorStart !== T) {
1045
+ function Bt(e, t, n, r, i) {
1046
+ if (t.anchorStart !== k) {
1042
1047
  let a = {
1043
1048
  value: n,
1044
1049
  tag: r,
@@ -1048,8 +1053,8 @@ function Ut(e, t, n, r, i) {
1048
1053
  }
1049
1054
  return null;
1050
1055
  }
1051
- function Wt(e, t) {
1052
- let n = v(v(v({}, Nt), t), {}, {
1056
+ function Vt(e, t) {
1057
+ let n = x(x(x({}, kt), t), {}, {
1053
1058
  events: e,
1054
1059
  documents: [],
1055
1060
  eventIndex: 0,
@@ -1063,8 +1068,8 @@ function Wt(e, t) {
1063
1068
  });
1064
1069
  for (; n.eventIndex < n.events.length;) {
1065
1070
  let e = n.events[n.eventIndex++];
1066
- switch (n.position = Pt(e), e.type) {
1067
- case x.DOCUMENT:
1071
+ switch (n.position = At(e), e.type) {
1072
+ case T.DOCUMENT:
1068
1073
  n.anchors = /* @__PURE__ */ new Map(), n.nodeTags = /* @__PURE__ */ new Map(), n.aliasCount = 0, n.tagHandlers = Object.create(null);
1069
1074
  for (let t of e.directives) t.kind === "tag" && (n.tagHandlers[t.handle] = t.prefix);
1070
1075
  n.frames.push({
@@ -1074,15 +1079,15 @@ function Wt(e, t) {
1074
1079
  hasValue: !1
1075
1080
  });
1076
1081
  break;
1077
- case x.SCALAR: {
1078
- let { value: t, tag: r } = It(n, e);
1079
- Ut(n, e, t, r, !0), Ht(n, t, r);
1082
+ case T.SCALAR: {
1083
+ let { value: t, tag: r } = Mt(n, e);
1084
+ Bt(n, e, t, r, !0), zt(n, t, r);
1080
1085
  break;
1081
1086
  }
1082
- case x.SEQUENCE: {
1083
- let t = Lt(n, e, "tag:yaml.org,2002:seq"), r = n.schema.lookupSequenceTag(t);
1084
- r || E(n, `unknown sequence tag !<${t}>`);
1085
- let i = r.create(t), a = Ut(n, e, i, r, r.carrierIsResult);
1087
+ case T.SEQUENCE: {
1088
+ let t = Nt(n, e, "tag:yaml.org,2002:seq"), r = n.schema.lookupSequenceTag(t);
1089
+ r || A(n, `unknown sequence tag !<${t}>`);
1090
+ let i = r.create(t), a = Bt(n, e, i, r, r.carrierIsResult);
1086
1091
  n.frames.push({
1087
1092
  kind: "sequence",
1088
1093
  position: n.position,
@@ -1093,10 +1098,10 @@ function Wt(e, t) {
1093
1098
  });
1094
1099
  break;
1095
1100
  }
1096
- case x.MAPPING: {
1097
- let t = Lt(n, e, "tag:yaml.org,2002:map"), r = n.schema.lookupMappingTag(t);
1098
- r || E(n, `unknown mapping tag !<${t}>`);
1099
- let i = r.create(t), a = Ut(n, e, i, r, r.carrierIsResult);
1101
+ case T.MAPPING: {
1102
+ let t = Nt(n, e, "tag:yaml.org,2002:map"), r = n.schema.lookupMappingTag(t);
1103
+ r || A(n, `unknown mapping tag !<${t}>`);
1104
+ let i = r.create(t), a = Bt(n, e, i, r, r.carrierIsResult);
1100
1105
  n.frames.push({
1101
1106
  kind: "mapping",
1102
1107
  position: n.position,
@@ -1111,18 +1116,18 @@ function Wt(e, t) {
1111
1116
  });
1112
1117
  break;
1113
1118
  }
1114
- case x.ALIAS: {
1115
- n.maxAliases !== -1 && ++n.aliasCount > n.maxAliases && E(n, `aliases exceeded maxAliases (${n.maxAliases})`);
1119
+ case T.ALIAS: {
1120
+ n.maxAliases !== -1 && ++n.aliasCount > n.maxAliases && A(n, `aliases exceeded maxAliases (${n.maxAliases})`);
1116
1121
  let t = n.source.slice(e.anchorStart, e.anchorEnd), r = n.anchors.get(t);
1117
- r || E(n, `unidentified alias "${t}"`), r.isValueFinal || E(n, `recursive alias "${t}" is not supported for tag ${r.tag.tagName} because it uses finalize()`), Ht(n, r.value, r.tag);
1122
+ r || A(n, `unidentified alias "${t}"`), r.isValueFinal || A(n, `recursive alias "${t}" is not supported for tag ${r.tag.tagName} because it uses finalize()`), zt(n, r.value, r.tag);
1118
1123
  break;
1119
1124
  }
1120
- case x.POP: {
1125
+ case T.POP: {
1121
1126
  let e = n.frames.pop();
1122
- if (e.kind === "mapping" && e.hasKey && (n.position = e.keyPosition, E(n, "incomplete mapping pair in event stream")), e.kind === "document") n.documents.push(e.value);
1127
+ if (e.kind === "mapping" && e.hasKey && (n.position = e.keyPosition, A(n, "incomplete mapping pair in event stream")), e.kind === "document") n.documents.push(e.value);
1123
1128
  else {
1124
- let t = e.tag.carrierIsResult ? e.value : Ft(n, e.position, e.tag, e.value);
1125
- e.anchor && (e.anchor.value = t, e.anchor.isValueFinal = !0), Ht(n, t, e.tag);
1129
+ let t = e.tag.carrierIsResult ? e.value : jt(n, e.position, e.tag, e.value);
1130
+ e.anchor && (e.anchor.value = t, e.anchor.isValueFinal = !0), zt(n, t, e.tag);
1126
1131
  }
1127
1132
  break;
1128
1133
  }
@@ -1132,21 +1137,21 @@ function Wt(e, t) {
1132
1137
  }
1133
1138
  //#endregion
1134
1139
  //#region src/parser/parser.ts
1135
- var D = -1, Gt = Object.prototype.hasOwnProperty, O = 1, Kt = 2, qt = 3, Jt = 4, Yt = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Xt = /[,\[\]{}]/, Zt = /^(?:!|!!|![0-9A-Za-z-]+!)$/, Qt = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`, $t = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`, en = RegExp(`^(?:${Qt})*$`), tn = RegExp(`^(?:${$t})+$`), nn = RegExp(`^(?:!(?:${Qt})*|${$t}(?:${Qt})*)$`), rn = {
1140
+ var j = -1, Ht = Object.prototype.hasOwnProperty, M = 1, Ut = 2, Wt = 3, Gt = 4, Kt = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, qt = /[,\[\]{}]/, Jt = /^(?:!|!!|![0-9A-Za-z-]+!)$/, Yt = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`, Xt = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`, Zt = RegExp(`^(?:${Yt})*$`), Qt = RegExp(`^(?:${Xt})+$`), $t = RegExp(`^(?:!(?:${Yt})*|${Xt}(?:${Yt})*)$`), en = {
1136
1141
  filename: "",
1137
1142
  maxDepth: 100
1138
1143
  };
1139
- function an(e, t, n) {
1144
+ function tn(e, t, n) {
1140
1145
  e.events.push({
1141
- type: x.DOCUMENT,
1146
+ type: T.DOCUMENT,
1142
1147
  explicitStart: t,
1143
1148
  explicitEnd: n,
1144
1149
  directives: e.directives
1145
1150
  });
1146
1151
  }
1147
- function on(e, t, n, r, i, a, o) {
1152
+ function nn(e, t, n, r, i, a, o) {
1148
1153
  e.events.push({
1149
- type: x.SEQUENCE,
1154
+ type: T.SEQUENCE,
1150
1155
  start: t,
1151
1156
  anchorStart: n,
1152
1157
  anchorEnd: r,
@@ -1155,9 +1160,9 @@ function on(e, t, n, r, i, a, o) {
1155
1160
  style: o
1156
1161
  });
1157
1162
  }
1158
- function sn(e, t, n, r, i, a, o) {
1163
+ function rn(e, t, n, r, i, a, o) {
1159
1164
  e.events.push({
1160
- type: x.MAPPING,
1165
+ type: T.MAPPING,
1161
1166
  start: t,
1162
1167
  anchorStart: n,
1163
1168
  anchorEnd: r,
@@ -1166,20 +1171,20 @@ function sn(e, t, n, r, i, a, o) {
1166
1171
  style: o
1167
1172
  });
1168
1173
  }
1169
- function cn(e, t) {
1174
+ function an(e, t) {
1170
1175
  e.events.splice(t.eventsLength, 0, {
1171
- type: x.MAPPING,
1176
+ type: T.MAPPING,
1172
1177
  start: t.position,
1173
- anchorStart: D,
1174
- anchorEnd: D,
1175
- tagStart: D,
1176
- tagEnd: D,
1177
- style: C.FLOW
1178
+ anchorStart: j,
1179
+ anchorEnd: j,
1180
+ tagStart: j,
1181
+ tagEnd: j,
1182
+ style: D.FLOW
1178
1183
  });
1179
1184
  }
1180
- function k(e, t, n, r, i, a, o, s, c = w.CLIP, l = -1, u = !1) {
1185
+ function N(e, t, n, r, i, a, o, s, c = O.CLIP, l = -1, u = !1) {
1181
1186
  e.events.push({
1182
- type: x.SCALAR,
1187
+ type: T.SCALAR,
1183
1188
  valueStart: t,
1184
1189
  valueEnd: n,
1185
1190
  anchorStart: r,
@@ -1192,28 +1197,28 @@ function k(e, t, n, r, i, a, o, s, c = w.CLIP, l = -1, u = !1) {
1192
1197
  fast: u
1193
1198
  });
1194
1199
  }
1195
- function ln(e, t, n) {
1200
+ function on(e, t, n) {
1196
1201
  e.events.push({
1197
- type: x.ALIAS,
1202
+ type: T.ALIAS,
1198
1203
  anchorStart: t,
1199
1204
  anchorEnd: n
1200
1205
  });
1201
1206
  }
1202
- function A(e) {
1203
- e.events.push({ type: x.POP });
1207
+ function P(e) {
1208
+ e.events.push({ type: T.POP });
1204
1209
  }
1205
- function j(e) {
1206
- k(e, D, D, D, D, D, D, S.PLAIN);
1210
+ function F(e) {
1211
+ N(e, j, j, j, j, j, j, E.PLAIN);
1207
1212
  }
1208
- function un() {
1213
+ function sn() {
1209
1214
  return {
1210
- anchorStart: D,
1211
- anchorEnd: D,
1212
- tagStart: D,
1213
- tagEnd: D
1215
+ anchorStart: j,
1216
+ anchorEnd: j,
1217
+ tagStart: j,
1218
+ tagEnd: j
1214
1219
  };
1215
1220
  }
1216
- function M(e) {
1221
+ function I(e) {
1217
1222
  return {
1218
1223
  position: e.position,
1219
1224
  line: e.line,
@@ -1223,104 +1228,116 @@ function M(e) {
1223
1228
  eventsLength: e.events.length
1224
1229
  };
1225
1230
  }
1226
- function N(e, t) {
1231
+ function L(e, t) {
1227
1232
  e.position = t.position, e.line = t.line, e.lineStart = t.lineStart, e.lineIndent = t.lineIndent, e.firstTabInLine = t.firstTabInLine, e.events.length = t.eventsLength;
1228
1233
  }
1229
- function P(e, t) {
1230
- b.throwAt(e.input.slice(0, e.length), e.position, t, e.filename);
1234
+ function R(e, t) {
1235
+ w.throwAt(e.input.slice(0, e.length), e.position, t, e.filename);
1231
1236
  }
1232
- function F(e) {
1237
+ function z(e) {
1233
1238
  return e === 10 || e === 13;
1234
1239
  }
1235
- function I(e) {
1240
+ function B(e) {
1236
1241
  return e === 9 || e === 32;
1237
1242
  }
1238
- function L(e) {
1239
- return I(e) || F(e);
1243
+ function V(e) {
1244
+ return B(e) || z(e);
1240
1245
  }
1241
- function R(e) {
1242
- return e === 0 || L(e);
1246
+ function H(e) {
1247
+ return e === 0 || V(e);
1243
1248
  }
1244
- function z(e) {
1249
+ function U(e) {
1245
1250
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1246
1251
  }
1247
- function dn(e) {
1252
+ function cn(e) {
1248
1253
  return e >= 48 && e <= 57 ? e - 48 : -1;
1249
1254
  }
1250
- function fn(e) {
1255
+ function ln(e) {
1251
1256
  if (e >= 48 && e <= 57) return e - 48;
1252
1257
  let t = e | 32;
1253
1258
  return t >= 97 && t <= 102 ? t - 97 + 10 : -1;
1254
1259
  }
1255
- function pn(e) {
1260
+ function un(e) {
1256
1261
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1257
1262
  }
1258
- function mn(e) {
1263
+ function dn(e) {
1259
1264
  return e === 48 || e === 97 || e === 98 || e === 116 || e === 9 || e === 110 || e === 118 || e === 102 || e === 114 || e === 101 || e === 32 || e === 34 || e === 47 || e === 92 || e === 78 || e === 95 || e === 76 || e === 80;
1260
1265
  }
1261
- function hn(e) {
1266
+ function fn(e) {
1262
1267
  e.input.charCodeAt(e.position) === 10 ? e.position++ : (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++), e.line++, e.lineStart = e.position, e.lineIndent = 0, e.firstTabInLine = -1;
1263
1268
  }
1264
- function B(e, t) {
1265
- let n = 0, r = e.input.charCodeAt(e.position), i = e.position === e.lineStart || L(e.input.charCodeAt(e.position - 1));
1269
+ function W(e, t) {
1270
+ let n = 0, r = e.input.charCodeAt(e.position), i = e.position === e.lineStart || V(e.input.charCodeAt(e.position - 1));
1266
1271
  for (; r !== 0;) {
1267
- for (; I(r);) i = !0, r === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), r = e.input.charCodeAt(++e.position);
1272
+ for (; B(r);) i = !0, r === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), r = e.input.charCodeAt(++e.position);
1268
1273
  if (t && i && r === 35) do
1269
1274
  r = e.input.charCodeAt(++e.position);
1270
- while (!F(r) && r !== 0);
1271
- if (!F(r)) break;
1272
- for (hn(e), n++, i = !0, r = e.input.charCodeAt(e.position); r === 32;) e.lineIndent++, r = e.input.charCodeAt(++e.position);
1275
+ while (!z(r) && r !== 0);
1276
+ if (!z(r)) break;
1277
+ for (fn(e), n++, i = !0, r = e.input.charCodeAt(e.position); r === 32;) e.lineIndent++, r = e.input.charCodeAt(++e.position);
1273
1278
  }
1274
1279
  return n;
1275
1280
  }
1276
- function V(e, t = e.position) {
1281
+ function G(e, t = e.position) {
1277
1282
  let n = e.input.charCodeAt(t);
1278
1283
  if ((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2)) {
1279
1284
  let n = e.input.charCodeAt(t + 3);
1280
- return n === 0 || L(n);
1285
+ return n === 0 || V(n);
1281
1286
  }
1282
1287
  return !1;
1283
1288
  }
1284
- function gn(e) {
1289
+ function pn(e) {
1290
+ e.position === e.lineStart && e.input.charCodeAt(e.position) === 65279 && (e.position++, e.lineStart = e.position);
1291
+ }
1292
+ function mn(e) {
1293
+ if (e.position !== e.lineStart) return !1;
1294
+ if (G(e)) return !0;
1295
+ if (e.input.charCodeAt(e.position) !== 65279) return !1;
1296
+ let t = I(e);
1297
+ pn(e), W(e, !0);
1298
+ let n = e.input.charCodeAt(e.position), r = e.position === e.lineStart && (n === 37 || n === 45 && G(e));
1299
+ return L(e, t), r;
1300
+ }
1301
+ function hn(e) {
1285
1302
  let t = e.input.charCodeAt(e.position);
1286
- for (; t !== 0 && !F(t);) t = e.input.charCodeAt(++e.position);
1303
+ for (; t !== 0 && !z(t);) t = e.input.charCodeAt(++e.position);
1287
1304
  }
1288
- function _n(e, t, n) {
1289
- Yt.test(e.input.slice(t, n)) && P(e, "the stream contains non-printable characters");
1305
+ function gn(e, t, n) {
1306
+ Kt.test(e.input.slice(t, n)) && R(e, "the stream contains non-printable characters");
1290
1307
  }
1291
- function vn(e, t, n) {
1308
+ function _n(e, t, n) {
1292
1309
  if (e.input.charCodeAt(e.position) !== 33) return !1;
1293
- t.tagStart !== D && P(e, "duplication of a tag property");
1310
+ t.tagStart !== j && R(e, "duplication of a tag property");
1294
1311
  let r = e.position, i = !1, a = !1, o = "!", s = e.input.charCodeAt(++e.position);
1295
1312
  s === 60 ? (i = !0, s = e.input.charCodeAt(++e.position)) : s === 33 && (a = !0, o = "!!", s = e.input.charCodeAt(++e.position));
1296
1313
  let c = e.position, l;
1297
1314
  if (i) {
1298
1315
  for (; s !== 0 && s !== 62;) s = e.input.charCodeAt(++e.position);
1299
- s !== 62 && P(e, "unexpected end of the stream within a verbatim tag"), l = e.input.slice(c, e.position), e.position++;
1316
+ s !== 62 && R(e, "unexpected end of the stream within a verbatim tag"), l = e.input.slice(c, e.position), e.position++;
1300
1317
  } else {
1301
- for (; s !== 0 && !L(s) && !(n && z(s));) s === 33 && (a ? P(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(c - 1, e.position + 1), Zt.test(o) || P(e, "named tag handle cannot contain such characters"), a = !0, c = e.position + 1)), s = e.input.charCodeAt(++e.position);
1302
- l = e.input.slice(c, e.position), Xt.test(l) && P(e, "tag suffix cannot contain flow indicator characters");
1318
+ for (; s !== 0 && !V(s) && !(n && U(s));) s === 33 && (a ? R(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(c - 1, e.position + 1), Jt.test(o) || R(e, "named tag handle cannot contain such characters"), a = !0, c = e.position + 1)), s = e.input.charCodeAt(++e.position);
1319
+ l = e.input.slice(c, e.position), qt.test(l) && R(e, "tag suffix cannot contain flow indicator characters");
1303
1320
  }
1304
- return l && !(i ? en.test(l) : tn.test(l)) && P(e, `tag name cannot contain such characters: ${l}`), !i && o !== "!" && o !== "!!" && !Gt.call(e.tagHandlers, o) && P(e, `undeclared tag handle "${o}"`), t.tagStart = r, t.tagEnd = e.position, !0;
1321
+ return l && !(i ? Zt.test(l) : Qt.test(l)) && R(e, `tag name cannot contain such characters: ${l}`), !i && o !== "!" && o !== "!!" && !Ht.call(e.tagHandlers, o) && R(e, `undeclared tag handle "${o}"`), t.tagStart = r, t.tagEnd = e.position, !0;
1305
1322
  }
1306
- function yn(e, t) {
1323
+ function vn(e, t) {
1307
1324
  if (e.input.charCodeAt(e.position) !== 38) return !1;
1308
- t.anchorStart !== D && P(e, "duplication of an anchor property"), e.position++;
1325
+ t.anchorStart !== j && R(e, "duplication of an anchor property"), e.position++;
1309
1326
  let n = e.position;
1310
- for (; e.input.charCodeAt(e.position) !== 0 && !L(e.input.charCodeAt(e.position)) && !z(e.input.charCodeAt(e.position));) e.position++;
1311
- return e.position === n && P(e, "name of an anchor node must contain at least one character"), t.anchorStart = n, t.anchorEnd = e.position, !0;
1327
+ for (; e.input.charCodeAt(e.position) !== 0 && !V(e.input.charCodeAt(e.position)) && !U(e.input.charCodeAt(e.position));) e.position++;
1328
+ return e.position === n && R(e, "name of an anchor node must contain at least one character"), t.anchorStart = n, t.anchorEnd = e.position, !0;
1312
1329
  }
1313
- function bn(e, t) {
1330
+ function yn(e, t) {
1314
1331
  if (e.input.charCodeAt(e.position) !== 42) return !1;
1315
- (t.anchorStart !== D || t.tagStart !== D) && P(e, "alias node should not have any properties"), e.position++;
1332
+ (t.anchorStart !== j || t.tagStart !== j) && R(e, "alias node should not have any properties"), e.position++;
1316
1333
  let n = e.position;
1317
- for (; e.input.charCodeAt(e.position) !== 0 && !L(e.input.charCodeAt(e.position)) && !z(e.input.charCodeAt(e.position));) e.position++;
1318
- return e.position === n && P(e, "name of an alias node must contain at least one character"), ln(e, n, e.position), !0;
1334
+ for (; e.input.charCodeAt(e.position) !== 0 && !V(e.input.charCodeAt(e.position)) && !U(e.input.charCodeAt(e.position));) e.position++;
1335
+ return e.position === n && R(e, "name of an alias node must contain at least one character"), on(e, n, e.position), !0;
1319
1336
  }
1320
- function xn(e, t) {
1321
- B(e, !1), e.lineIndent < t && P(e, "deficient indentation");
1337
+ function bn(e, t) {
1338
+ W(e, !1), e.lineIndent < t && R(e, "deficient indentation");
1322
1339
  }
1323
- function Sn(e, t, n) {
1340
+ function xn(e, t, n) {
1324
1341
  if (e.input.charCodeAt(e.position) !== 39) return !1;
1325
1342
  e.position++;
1326
1343
  let r = e.position, i = !0;
@@ -1332,13 +1349,13 @@ function Sn(e, t, n) {
1332
1349
  continue;
1333
1350
  }
1334
1351
  let t = e.position;
1335
- return e.position++, k(e, r, t, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, S.SINGLE_QUOTED, w.CLIP, -1, i), !0;
1352
+ return e.position++, N(e, r, t, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, E.SINGLE_QUOTED, O.CLIP, -1, i), !0;
1336
1353
  }
1337
- F(a) ? (i = !1, xn(e, t)) : e.position === e.lineStart && V(e) ? P(e, "unexpected end of the document within a single quoted scalar") : a !== 9 && a < 32 ? P(e, "expected valid JSON character") : e.position++;
1354
+ z(a) ? (i = !1, bn(e, t)) : e.position === e.lineStart && G(e) ? R(e, "unexpected end of the document within a single quoted scalar") : a !== 9 && a < 32 ? R(e, "expected valid JSON character") : e.position++;
1338
1355
  }
1339
- P(e, "unexpected end of the stream within a single quoted scalar");
1356
+ R(e, "unexpected end of the stream within a single quoted scalar");
1340
1357
  }
1341
- function Cn(e, t, n) {
1358
+ function Sn(e, t, n) {
1342
1359
  if (e.input.charCodeAt(e.position) !== 34) return !1;
1343
1360
  e.position++;
1344
1361
  let r = e.position, i = !0;
@@ -1346,35 +1363,35 @@ function Cn(e, t, n) {
1346
1363
  let a = e.input.charCodeAt(e.position);
1347
1364
  if (a === 34) {
1348
1365
  let t = e.position;
1349
- return e.position++, k(e, r, t, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, S.DOUBLE_QUOTED, w.CLIP, -1, i), !0;
1366
+ return e.position++, N(e, r, t, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, E.DOUBLE_QUOTED, O.CLIP, -1, i), !0;
1350
1367
  }
1351
1368
  if (a === 92) {
1352
1369
  i = !1;
1353
1370
  let n = e.input.charCodeAt(++e.position);
1354
- if (F(n)) xn(e, t);
1355
- else if (mn(n)) e.position++;
1371
+ if (z(n)) bn(e, t);
1372
+ else if (dn(n)) e.position++;
1356
1373
  else {
1357
- let t = pn(n);
1358
- for (t === 0 && P(e, "unknown escape sequence"); t-- > 0;) e.position++, fn(e.input.charCodeAt(e.position)) < 0 && P(e, "expected hexadecimal character");
1374
+ let t = un(n);
1375
+ for (t === 0 && R(e, "unknown escape sequence"); t-- > 0;) e.position++, ln(e.input.charCodeAt(e.position)) < 0 && R(e, "expected hexadecimal character");
1359
1376
  e.position++;
1360
1377
  }
1361
- } else F(a) ? (i = !1, xn(e, t)) : e.position === e.lineStart && V(e) ? P(e, "unexpected end of the document within a double quoted scalar") : a !== 9 && a < 32 ? P(e, "expected valid JSON character") : e.position++;
1378
+ } else z(a) ? (i = !1, bn(e, t)) : e.position === e.lineStart && G(e) ? R(e, "unexpected end of the document within a double quoted scalar") : a !== 9 && a < 32 ? R(e, "expected valid JSON character") : e.position++;
1362
1379
  }
1363
- P(e, "unexpected end of the stream within a double quoted scalar");
1380
+ R(e, "unexpected end of the stream within a double quoted scalar");
1364
1381
  }
1365
- function wn(e, t, n) {
1366
- let r = e.input.charCodeAt(e.position), i = w.CLIP, a = -1, o = !1;
1382
+ function Cn(e, t, n) {
1383
+ let r = e.input.charCodeAt(e.position), i = O.CLIP, a = -1, o = !1;
1367
1384
  if (r !== 124 && r !== 62) return !1;
1368
- let s = r === 124 ? S.LITERAL_BLOCK : S.FOLDED_BLOCK;
1385
+ let s = r === 124 ? E.LITERAL_BLOCK : E.FOLDED_BLOCK;
1369
1386
  for (e.position++; e.input.charCodeAt(e.position) !== 0;) {
1370
- let n = e.input.charCodeAt(e.position), r = dn(n);
1371
- if (n === 43 || n === 45) i !== w.CLIP && P(e, "repeat of a chomping mode identifier"), i = n === 43 ? w.KEEP : w.STRIP, e.position++;
1372
- else if (r >= 0) r === 0 && P(e, "bad explicit indentation width of a block scalar; it cannot be less than one"), o && P(e, "repeat of an indentation width identifier"), a = t + r - 1, o = !0, e.position++;
1387
+ let n = e.input.charCodeAt(e.position), r = cn(n);
1388
+ if (n === 43 || n === 45) i !== O.CLIP && R(e, "repeat of a chomping mode identifier"), i = n === 43 ? O.KEEP : O.STRIP, e.position++;
1389
+ else if (r >= 0) r === 0 && R(e, "bad explicit indentation width of a block scalar; it cannot be less than one"), o && R(e, "repeat of an indentation width identifier"), a = t + r - 1, o = !0, e.position++;
1373
1390
  else break;
1374
1391
  }
1375
1392
  let c = !1;
1376
- for (; I(e.input.charCodeAt(e.position));) c = !0, e.position++;
1377
- c && e.input.charCodeAt(e.position) === 35 && gn(e), F(e.input.charCodeAt(e.position)) ? hn(e) : e.input.charCodeAt(e.position) !== 0 && P(e, "a line break is expected");
1393
+ for (; B(e.input.charCodeAt(e.position));) c = !0, e.position++;
1394
+ c && e.input.charCodeAt(e.position) === 35 && hn(e), z(e.input.charCodeAt(e.position)) ? fn(e) : e.input.charCodeAt(e.position) !== 0 && R(e, "a line break is expected");
1378
1395
  let l = o ? a : -1, u = 0, d = e.position, f = e.position;
1379
1396
  for (; e.input.charCodeAt(e.position) !== 0;) {
1380
1397
  let n = e.position, r = 0;
@@ -1384,170 +1401,170 @@ function wn(e, t, n) {
1384
1401
  l >= 0 ? r > l && (f = n + r) : r > 0 && (f = n + r);
1385
1402
  break;
1386
1403
  }
1387
- if (n === e.lineStart && V(e, n)) break;
1388
- if (!o && l === -1 && F(i) && (u = Math.max(u, r)), !o && l === -1 && !F(i) && (i === 9 && r < t && (e.position = n + r, P(e, "tab characters must not be used in indentation")), r < u && (e.position = n + r, P(e, "bad indentation of a mapping entry"))), l === -1 && i !== 0 && !F(i) && r < t) {
1404
+ if (mn(e)) break;
1405
+ if (!o && l === -1 && z(i) && (u = Math.max(u, r)), !o && l === -1 && !z(i) && (i === 9 && r < t && (e.position = n + r, R(e, "tab characters must not be used in indentation")), r < u && (e.position = n + r, R(e, "bad indentation of a mapping entry"))), l === -1 && i !== 0 && !z(i) && r < t) {
1389
1406
  e.lineIndent = r, e.position = n + r;
1390
1407
  break;
1391
1408
  }
1392
- !o && i !== 0 && !F(i) && l === -1 && (l = r);
1409
+ !o && i !== 0 && !z(i) && l === -1 && (l = r);
1393
1410
  let a = l === -1 ? t + 1 : l;
1394
- if (i !== 0 && !F(i) && r < a) {
1411
+ if (i !== 0 && !z(i) && r < a) {
1395
1412
  e.lineIndent = r, e.position = n + r;
1396
1413
  break;
1397
1414
  }
1398
- gn(e), f = e.position, F(e.input.charCodeAt(e.position)) && (hn(e), f = e.position);
1415
+ hn(e), f = e.position, z(e.input.charCodeAt(e.position)) && (fn(e), f = e.position);
1399
1416
  }
1400
- return _n(e, d, f), k(e, d, f, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, s, i, l), !0;
1417
+ return gn(e, d, f), N(e, d, f, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, s, i, l), !0;
1401
1418
  }
1402
- function Tn(e, t) {
1403
- let n = e.input.charCodeAt(e.position), r = t === O;
1404
- if (n === 0 || L(n) || n === 35 || n === 38 || n === 42 || n === 33 || n === 124 || n === 62 || n === 39 || n === 34 || n === 37 || n === 64 || n === 96 || r && z(n)) return !1;
1419
+ function wn(e, t) {
1420
+ let n = e.input.charCodeAt(e.position), r = t === M;
1421
+ if (n === 0 || V(n) || n === 35 || n === 38 || n === 42 || n === 33 || n === 124 || n === 62 || n === 39 || n === 34 || n === 37 || n === 64 || n === 96 || r && U(n)) return !1;
1405
1422
  if (n === 63 || n === 45) {
1406
1423
  let t = e.input.charCodeAt(e.position + 1);
1407
- if (R(t) || r && z(t)) return !1;
1424
+ if (H(t) || r && U(t)) return !1;
1408
1425
  }
1409
1426
  return !0;
1410
1427
  }
1411
- function En(e, t, n, r) {
1412
- if (!Tn(e, n)) return !1;
1413
- let i = e.position, a = e.position, o = e.input.charCodeAt(e.position), s = n === O, c = !1;
1414
- for (; o !== 0 && !(e.position === e.lineStart && V(e));) {
1428
+ function Tn(e, t, n, r) {
1429
+ if (!wn(e, n)) return !1;
1430
+ let i = e.position, a = e.position, o = e.input.charCodeAt(e.position), s = n === M, c = !1;
1431
+ for (; o !== 0 && !mn(e);) {
1415
1432
  if (o === 58) {
1416
1433
  let t = e.input.charCodeAt(e.position + 1);
1417
- if (R(t) || s && z(t)) break;
1434
+ if (H(t) || s && U(t)) break;
1418
1435
  } else if (o === 35) {
1419
- if (L(e.input.charCodeAt(e.position - 1))) break;
1420
- } else if (s && z(o)) break;
1421
- else if (F(o)) {
1436
+ if (V(e.input.charCodeAt(e.position - 1))) break;
1437
+ } else if (s && U(o)) break;
1438
+ else if (z(o)) {
1422
1439
  let n = e.position, r = e.line, i = e.lineStart, a = e.lineIndent;
1423
- if (B(e, !1), e.lineIndent >= t) {
1440
+ if (W(e, !1), e.lineIndent >= t) {
1424
1441
  c = !0, o = e.input.charCodeAt(e.position);
1425
1442
  continue;
1426
1443
  }
1427
1444
  e.position = n, e.line = r, e.lineStart = i, e.lineIndent = a;
1428
1445
  break;
1429
1446
  }
1430
- I(o) || (a = e.position + 1), o = e.input.charCodeAt(++e.position);
1447
+ B(o) || (a = e.position + 1), o = e.input.charCodeAt(++e.position);
1431
1448
  }
1432
- return a === i ? !1 : (_n(e, i, a), k(e, i, a, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, S.PLAIN, w.CLIP, -1, !c), !0);
1449
+ return a === i ? !1 : (gn(e, i, a), N(e, i, a, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, E.PLAIN, O.CLIP, -1, !c), !0);
1433
1450
  }
1434
- function H(e, t) {
1451
+ function K(e, t) {
1435
1452
  let n = e.line;
1436
- B(e, !0), (e.line > n && e.lineIndent < t || e.firstTabInLine !== -1 && e.lineIndent < t) && P(e, "deficient indentation");
1453
+ W(e, !0), (e.line > n && e.lineIndent < t || e.firstTabInLine !== -1 && e.lineIndent < t) && R(e, "deficient indentation");
1437
1454
  }
1438
- function Dn(e, t, n) {
1455
+ function En(e, t, n) {
1439
1456
  let r = e.input.charCodeAt(e.position), i = r === 123, a = e.position, o = !0;
1440
1457
  if (r !== 91 && r !== 123) return !1;
1441
1458
  let s = i ? 125 : 93;
1442
- for (i ? sn(e, a, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, C.FLOW) : on(e, a, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, C.FLOW), e.position++; e.input.charCodeAt(e.position) !== 0;) {
1443
- H(e, t);
1459
+ for (i ? rn(e, a, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, D.FLOW) : nn(e, a, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, D.FLOW), e.position++; e.input.charCodeAt(e.position) !== 0;) {
1460
+ K(e, t);
1444
1461
  let n = e.input.charCodeAt(e.position);
1445
- if (n === s) return e.position++, A(e), !0;
1446
- o ? n === 44 && P(e, "expected the node content, but found ','") : P(e, "missed comma between flow collection entries");
1462
+ if (n === s) return e.position++, P(e), !0;
1463
+ o ? n === 44 && R(e, "expected the node content, but found ','") : R(e, "missed comma between flow collection entries");
1447
1464
  let r = !1, a = !1;
1448
- n === 63 && L(e.input.charCodeAt(e.position + 1)) && (r = a = !0, e.position += 1, H(e, t));
1449
- let c = e.line, l = M(e), u = U(e, t, O, !1, !0);
1450
- H(e, t), n = e.input.charCodeAt(e.position), (i || a || e.line === c) && n === 58 ? (r = !0, e.position++, H(e, t), i || cn(e, l), u || j(e), U(e, t, O, !1, !0) || j(e), H(e, t), i || A(e)) : i && r ? (u || j(e), j(e)) : i ? j(e) : r && (cn(e, l), u || j(e), j(e), A(e)), n = e.input.charCodeAt(e.position), n === 44 ? (o = !0, e.position++) : o = !1;
1465
+ n === 63 && V(e.input.charCodeAt(e.position + 1)) && (r = a = !0, e.position += 1, K(e, t));
1466
+ let c = e.line, l = I(e), u = q(e, t, M, !1, !0);
1467
+ K(e, t), n = e.input.charCodeAt(e.position), (i || a || e.line === c) && n === 58 ? (r = !0, e.position++, K(e, t), i || an(e, l), u || F(e), q(e, t, M, !1, !0) || F(e), K(e, t), i || P(e)) : i && r ? (u || F(e), F(e)) : i ? F(e) : r && (an(e, l), u || F(e), F(e), P(e)), n = e.input.charCodeAt(e.position), n === 44 ? (o = !0, e.position++) : o = !1;
1451
1468
  }
1452
- P(e, "unexpected end of the stream within a flow collection");
1469
+ R(e, "unexpected end of the stream within a flow collection");
1453
1470
  }
1454
- function On(e, t, n) {
1455
- if (e.firstTabInLine !== -1 || e.input.charCodeAt(e.position) !== 45 || !R(e.input.charCodeAt(e.position + 1))) return !1;
1456
- for (on(e, e.position, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, C.BLOCK); e.input.charCodeAt(e.position) === 45 && R(e.input.charCodeAt(e.position + 1));) {
1457
- e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, P(e, "tab characters must not be used in indentation"));
1471
+ function Dn(e, t, n) {
1472
+ if (e.firstTabInLine !== -1 || e.input.charCodeAt(e.position) !== 45 || !H(e.input.charCodeAt(e.position + 1))) return !1;
1473
+ for (nn(e, e.position, n.anchorStart, n.anchorEnd, n.tagStart, n.tagEnd, D.BLOCK); e.input.charCodeAt(e.position) === 45 && H(e.input.charCodeAt(e.position + 1));) {
1474
+ e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, R(e, "tab characters must not be used in indentation"));
1458
1475
  let n = e.line;
1459
1476
  e.position++;
1460
- let r = B(e, !0) > 0;
1461
- if (e.firstTabInLine !== -1 && e.input.charCodeAt(e.position) === 45 && R(e.input.charCodeAt(e.position + 1)) && P(e, "bad indentation of a sequence entry"), r && e.lineIndent <= t ? j(e) : U(e, t, qt, !1, !0), B(e, !0), e.lineIndent < t || e.position >= e.length) break;
1462
- e.lineIndent > t && P(e, "bad indentation of a sequence entry"), e.line === n && e.input.charCodeAt(e.position) === 45 && R(e.input.charCodeAt(e.position + 1)) && P(e, "bad indentation of a sequence entry");
1477
+ let r = W(e, !0) > 0;
1478
+ if (e.firstTabInLine !== -1 && e.input.charCodeAt(e.position) === 45 && H(e.input.charCodeAt(e.position + 1)) && R(e, "bad indentation of a sequence entry"), r && e.lineIndent <= t ? F(e) : q(e, t, Wt, !1, !0), W(e, !0), e.lineIndent < t || e.position >= e.length) break;
1479
+ e.lineIndent > t && R(e, "bad indentation of a sequence entry"), e.line === n && e.input.charCodeAt(e.position) === 45 && H(e.input.charCodeAt(e.position + 1)) && R(e, "bad indentation of a sequence entry");
1463
1480
  }
1464
- return A(e), !0;
1481
+ return P(e), !0;
1465
1482
  }
1466
- function kn(e, t, n, r) {
1483
+ function On(e, t, n, r) {
1467
1484
  let i = !1, a = !1, o = !1, s = !1;
1468
1485
  if (e.firstTabInLine !== -1) return !1;
1469
1486
  let c = e.input.charCodeAt(e.position);
1470
1487
  for (; c !== 0;) {
1471
- !i && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, P(e, "tab characters must not be used in indentation"));
1488
+ !i && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, R(e, "tab characters must not be used in indentation"));
1472
1489
  let l = e.input.charCodeAt(e.position + 1), u = e.line;
1473
- if ((c === 63 || c === 58) && R(l)) o || (sn(e, e.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, C.BLOCK), o = !0), c === 63 ? (i && j(e), a = !0, i = !0) : i ? i = !1 : (j(e), a = !0, i = !1), e.position += 1, s = !0;
1490
+ if ((c === 63 || c === 58) && H(l)) o || (rn(e, e.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, D.BLOCK), o = !0), c === 63 ? (i && F(e), a = !0, i = !0) : i ? i = !1 : (F(e), a = !0, i = !1), e.position += 1, s = !0;
1474
1491
  else {
1475
- i && (j(e), i = !1);
1476
- let t = M(e);
1477
- if (!U(e, n, Kt, !1, !0)) break;
1492
+ i && (F(e), i = !1);
1493
+ let t = I(e);
1494
+ if (!q(e, n, Ut, !1, !0)) break;
1478
1495
  if (e.line === u) {
1479
- for (c = e.input.charCodeAt(e.position); I(c);) c = e.input.charCodeAt(++e.position);
1496
+ for (c = e.input.charCodeAt(e.position); B(c);) c = e.input.charCodeAt(++e.position);
1480
1497
  if (c === 58) {
1481
- if (c = e.input.charCodeAt(++e.position), R(c) || P(e, "a whitespace character is expected after the key-value separator within a block mapping"), !o) {
1482
- for (N(e, t), sn(e, t.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, C.BLOCK), o = !0, U(e, n, Kt, !1, !0), c = e.input.charCodeAt(e.position); I(c);) c = e.input.charCodeAt(++e.position);
1498
+ if (c = e.input.charCodeAt(++e.position), H(c) || R(e, "a whitespace character is expected after the key-value separator within a block mapping"), !o) {
1499
+ for (L(e, t), rn(e, t.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, D.BLOCK), o = !0, q(e, n, Ut, !1, !0), c = e.input.charCodeAt(e.position); B(c);) c = e.input.charCodeAt(++e.position);
1483
1500
  e.position++;
1484
1501
  }
1485
1502
  a = !0, i = !1, s = !1;
1486
- } else if (a) P(e, "expected ':' after a mapping key");
1487
- else return r.anchorStart !== D || r.tagStart !== D ? (N(e, t), !1) : !0;
1488
- } else if (a) P(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1489
- else return r.anchorStart !== D || r.tagStart !== D ? (N(e, t), !1) : !0;
1503
+ } else if (a) R(e, "expected ':' after a mapping key");
1504
+ else return r.anchorStart !== j || r.tagStart !== j ? (L(e, t), !1) : !0;
1505
+ } else if (a) R(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1506
+ else return r.anchorStart !== j || r.tagStart !== j ? (L(e, t), !1) : !0;
1490
1507
  }
1491
- if (U(e, t, Jt, !0, s) && (s = !1), i || s && (j(e), s = !1), B(e, !0), c = e.input.charCodeAt(e.position), (e.line === u || e.lineIndent > t) && c !== 0) P(e, "bad indentation of a mapping entry");
1508
+ if (q(e, t, Gt, !0, s) && (s = !1), i || s && (F(e), s = !1), W(e, !0), c = e.input.charCodeAt(e.position), (e.line === u || e.lineIndent > t) && c !== 0) R(e, "bad indentation of a mapping entry");
1492
1509
  else if (e.lineIndent < t) break;
1493
1510
  }
1494
- return a ? (i && j(e), o && A(e), !0) : !1;
1511
+ return a ? (i && F(e), o && P(e), !0) : !1;
1495
1512
  }
1496
- function U(e, t, n, r, i, a = !0) {
1497
- e.depth >= e.maxDepth && P(e, `nesting exceeded maxDepth (${e.maxDepth})`), e.depth++;
1498
- let o = 1, s = !1, c = !1, l = null, u = un(), d = n === Jt || n === qt, f = d, p = d;
1499
- if (r && B(e, !0) && (s = !0, o = e.lineIndent > t ? 1 : e.lineIndent === t ? 0 : -1), o === 1) for (;;) {
1500
- let r = e.input.charCodeAt(e.position), i = M(e);
1513
+ function q(e, t, n, r, i, a = !0) {
1514
+ e.depth >= e.maxDepth && R(e, `nesting exceeded maxDepth (${e.maxDepth})`), e.depth++;
1515
+ let o = 1, s = !1, c = !1, l = null, u = sn(), d = n === Gt || n === Wt, f = d, p = d;
1516
+ if (r && W(e, !0) && (s = !0, o = e.lineIndent > t ? 1 : e.lineIndent === t ? 0 : -1), o === 1) for (;;) {
1517
+ let r = e.input.charCodeAt(e.position), i = I(e);
1501
1518
  if (s && o !== 1 && (r === 33 || r === 38)) break;
1502
- if (s && p && (u.tagStart !== D || u.anchorStart !== D) && (r === 33 || r === 38)) {
1519
+ if (s && p && (u.tagStart !== j || u.anchorStart !== j) && (r === 33 || r === 38)) {
1503
1520
  var m;
1504
- let n = M(e), r = t + 1;
1505
- if (kn(e, e.position - e.lineStart, r, u) && ((m = e.events[n.eventsLength]) == null ? void 0 : m.type) === x.MAPPING) return e.depth--, !0;
1506
- N(e, n);
1521
+ let n = I(e), r = t + 1;
1522
+ if (On(e, e.position - e.lineStart, r, u) && ((m = e.events[n.eventsLength]) == null ? void 0 : m.type) === T.MAPPING) return e.depth--, !0;
1523
+ L(e, n);
1507
1524
  }
1508
- if (s && (r === 33 && u.tagStart !== D || r === 38 && u.anchorStart !== D) || !vn(e, u, n === O) && !yn(e, u)) break;
1509
- l === null && (l = i), B(e, !0) ? (s = !0, f = p, o = e.lineIndent > t ? 1 : e.lineIndent === t ? 0 : -1) : f = !1;
1525
+ if (s && (r === 33 && u.tagStart !== j || r === 38 && u.anchorStart !== j) || !_n(e, u, n === M) && !vn(e, u)) break;
1526
+ l === null && (l = i), W(e, !0) ? (s = !0, f = p, o = e.lineIndent > t ? 1 : e.lineIndent === t ? 0 : -1) : f = !1;
1510
1527
  }
1511
- if (f && (f = s || i), o === 1 || n === Jt) {
1512
- let r = n === O || n === Kt ? t : t + 1, i = e.position - e.lineStart;
1513
- if (o === 1) if (f && (On(e, i, u) || kn(e, i, r, u)) || Dn(e, r, u)) c = !0;
1528
+ if (f && (f = s || i), o === 1 || n === Gt) {
1529
+ let r = n === M || n === Ut ? t : t + 1, i = e.position - e.lineStart;
1530
+ if (o === 1) if (f && (Dn(e, i, u) || On(e, i, r, u)) || En(e, r, u)) c = !0;
1514
1531
  else {
1515
1532
  let t = e.input.charCodeAt(e.position);
1516
1533
  if (l !== null && a && p && !f && t !== 124 && t !== 62) {
1517
1534
  var h;
1518
- let t = M(e), n = l.position - l.lineStart;
1519
- N(e, l), kn(e, n, r, un()) && ((h = e.events[t.eventsLength]) == null ? void 0 : h.type) === x.MAPPING ? c = !0 : N(e, t);
1535
+ let t = I(e), n = l.position - l.lineStart;
1536
+ L(e, l), On(e, n, r, sn()) && ((h = e.events[t.eventsLength]) == null ? void 0 : h.type) === T.MAPPING ? c = !0 : L(e, t);
1520
1537
  }
1521
- !c && (d && wn(e, r, u) || Sn(e, r, u) || Cn(e, r, u) || bn(e, u) || En(e, r, n, u)) && (c = !0);
1538
+ !c && (d && Cn(e, r, u) || xn(e, r, u) || Sn(e, r, u) || yn(e, u) || Tn(e, r, n, u)) && (c = !0);
1522
1539
  }
1523
- else o === 0 && (c = f && On(e, i, u));
1540
+ else o === 0 && (c = f && Dn(e, i, u));
1524
1541
  }
1525
- return d = d && !c, !c && (u.anchorStart !== D || u.tagStart !== D || d) && (k(e, D, D, u.anchorStart, u.anchorEnd, u.tagStart, u.tagEnd, S.PLAIN), c = !0), e.depth--, c || u.anchorStart !== D || u.tagStart !== D;
1542
+ return d = d && !c, !c && (u.anchorStart !== j || u.tagStart !== j || d) && (N(e, j, j, u.anchorStart, u.anchorEnd, u.tagStart, u.tagEnd, E.PLAIN), c = !0), e.depth--, c || u.anchorStart !== j || u.tagStart !== j;
1526
1543
  }
1527
- function An(e) {
1544
+ function kn(e) {
1528
1545
  if (e.lineIndent > 0 || e.input.charCodeAt(e.position) !== 37) return !1;
1529
1546
  e.position++;
1530
1547
  let t = e.position;
1531
- for (; e.input.charCodeAt(e.position) !== 0 && !L(e.input.charCodeAt(e.position));) e.position++;
1548
+ for (; e.input.charCodeAt(e.position) !== 0 && !V(e.input.charCodeAt(e.position));) e.position++;
1532
1549
  let n = e.input.slice(t, e.position), r = [];
1533
- for (n.length === 0 && P(e, "directive name must not be less than one character in length"); e.input.charCodeAt(e.position) !== 0 && !F(e.input.charCodeAt(e.position));) {
1534
- for (; I(e.input.charCodeAt(e.position));) e.position++;
1535
- if (e.input.charCodeAt(e.position) === 35 || F(e.input.charCodeAt(e.position)) || e.input.charCodeAt(e.position) === 0) break;
1550
+ for (n.length === 0 && R(e, "directive name must not be less than one character in length"); e.input.charCodeAt(e.position) !== 0 && !z(e.input.charCodeAt(e.position));) {
1551
+ for (; B(e.input.charCodeAt(e.position));) e.position++;
1552
+ if (e.input.charCodeAt(e.position) === 35 || z(e.input.charCodeAt(e.position)) || e.input.charCodeAt(e.position) === 0) break;
1536
1553
  let t = e.position;
1537
- for (; e.input.charCodeAt(e.position) !== 0 && !L(e.input.charCodeAt(e.position));) e.position++;
1554
+ for (; e.input.charCodeAt(e.position) !== 0 && !V(e.input.charCodeAt(e.position));) e.position++;
1538
1555
  r.push(e.input.slice(t, e.position));
1539
1556
  }
1540
- if (F(e.input.charCodeAt(e.position)) && hn(e), n === "YAML") {
1541
- e.directives.some((e) => e.kind === "yaml") && P(e, "duplication of %YAML directive"), r.length !== 1 && P(e, "YAML directive accepts exactly one argument");
1557
+ if (z(e.input.charCodeAt(e.position)) && fn(e), n === "YAML") {
1558
+ e.directives.some((e) => e.kind === "yaml") && R(e, "duplication of %YAML directive"), r.length !== 1 && R(e, "YAML directive accepts exactly one argument");
1542
1559
  let t = /^([0-9]+)\.([0-9]+)$/.exec(r[0]);
1543
- t === null && P(e, "ill-formed argument of the YAML directive"), parseInt(t[1], 10) !== 1 && P(e, "unacceptable YAML version of the document"), e.directives.push({
1560
+ t === null && R(e, "ill-formed argument of the YAML directive"), parseInt(t[1], 10) !== 1 && R(e, "unacceptable YAML version of the document"), e.directives.push({
1544
1561
  kind: "yaml",
1545
1562
  version: r[0]
1546
1563
  });
1547
1564
  } else if (n === "TAG") {
1548
- r.length !== 2 && P(e, "TAG directive accepts exactly two arguments");
1565
+ r.length !== 2 && R(e, "TAG directive accepts exactly two arguments");
1549
1566
  let [t, n] = r;
1550
- Zt.test(t) || P(e, "ill-formed tag handle (first argument) of the TAG directive"), Gt.call(e.tagHandlers, t) && P(e, `there is a previously declared suffix for "${t}" tag handle`), nn.test(n) || P(e, "ill-formed tag prefix (second argument) of the TAG directive"), e.tagHandlers[t] = n, e.directives.push({
1567
+ Jt.test(t) || R(e, "ill-formed tag handle (first argument) of the TAG directive"), Ht.call(e.tagHandlers, t) && R(e, `there is a previously declared suffix for "${t}" tag handle`), $t.test(n) || R(e, "ill-formed tag prefix (second argument) of the TAG directive"), e.tagHandlers[t] = n, e.directives.push({
1551
1568
  kind: "tag",
1552
1569
  handle: t,
1553
1570
  prefix: n
@@ -1555,30 +1572,30 @@ function An(e) {
1555
1572
  }
1556
1573
  return !0;
1557
1574
  }
1558
- function jn(e) {
1575
+ function An(e) {
1559
1576
  e.directives = [], e.tagHandlers = Object.create(null);
1560
1577
  let t = !1;
1561
- for (B(e, !0); An(e);) t = !0, B(e, !0);
1578
+ for (W(e, !0); kn(e);) t = !0, W(e, !0);
1562
1579
  let n = !1, r = !1, i = !0;
1563
- if (e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 && R(e.input.charCodeAt(e.position + 3))) {
1580
+ if (e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 && H(e.input.charCodeAt(e.position + 3))) {
1564
1581
  n = !0;
1565
1582
  let t = e.line;
1566
- e.position += 3, B(e, !0), i = e.line > t;
1567
- } else t && P(e, "directives end mark is expected");
1583
+ e.position += 3, W(e, !0), i = e.line > t;
1584
+ } else t && R(e, "directives end mark is expected");
1568
1585
  let a = e.events.length;
1569
- if (!n && e.position === e.lineStart && e.input.charCodeAt(e.position) === 46 && V(e)) {
1570
- e.position += 3, B(e, !0);
1586
+ if (!n && e.position === e.lineStart && e.input.charCodeAt(e.position) === 46 && G(e)) {
1587
+ e.position += 3, W(e, !0);
1571
1588
  return;
1572
1589
  }
1573
- if (an(e, n, !1), U(e, e.lineIndent - 1, Jt, !1, i, i) || j(e), B(e, !0), e.position === e.lineStart && V(e) && (r = e.input.charCodeAt(e.position) === 46, r)) {
1590
+ if (tn(e, n, !1), q(e, e.lineIndent - 1, Gt, !1, i, i) || F(e), W(e, !0), e.position === e.lineStart && G(e) && (r = e.input.charCodeAt(e.position) === 46, r)) {
1574
1591
  let t = e.line;
1575
- e.position += 3, B(e, !0), e.line === t && e.position < e.length && P(e, "end of the stream or a document separator is expected");
1592
+ e.position += 3, W(e, !0), e.line === t && e.position < e.length && R(e, "end of the stream or a document separator is expected");
1576
1593
  }
1577
1594
  let o = e.events[a];
1578
- (o == null ? void 0 : o.type) === x.DOCUMENT && (o.explicitEnd = r), A(e), !r && e.position < e.length && !(e.position === e.lineStart && V(e)) && P(e, "end of the stream or a document separator is expected");
1595
+ (o == null ? void 0 : o.type) === T.DOCUMENT && (o.explicitEnd = r), P(e), !r && e.position < e.length && !mn(e) && R(e, "end of the stream or a document separator is expected");
1579
1596
  }
1580
- function Mn(e, t) {
1581
- let n = e.length, r = v(v(v({}, rn), t), {}, {
1597
+ function jn(e, t) {
1598
+ let n = e.length, r = x(x(x({}, en), t), {}, {
1582
1599
  input: `${e}\0`,
1583
1600
  length: n,
1584
1601
  position: 0,
@@ -1591,40 +1608,36 @@ function Mn(e, t) {
1591
1608
  tagHandlers: Object.create(null),
1592
1609
  events: []
1593
1610
  }), i = e.indexOf("\0");
1594
- for (i !== -1 && b.throwAt(e, i, "null byte is not allowed in input", r.filename), r.input.charCodeAt(r.position) === 65279 && r.position++; r.position < r.length && (B(r, !0), !(r.position >= r.length));) {
1611
+ for (i !== -1 && w.throwAt(e, i, "null byte is not allowed in input", r.filename); r.position < r.length && (pn(r), W(r, !0), !(r.position >= r.length));) {
1595
1612
  let e = r.position;
1596
- jn(r), r.position === e && P(r, "can not read a document");
1613
+ An(r), r.position === e && R(r, "can not read a document");
1597
1614
  }
1598
1615
  return r.events;
1599
1616
  }
1600
1617
  //#endregion
1601
1618
  //#region src/load.ts
1602
- var Nn = v(v({}, rn), Nt);
1603
- function Pn(e, t = {}) {
1604
- let n = v(v({}, Nn), t), r = String(e), i = Object.keys(rn), a = Object.keys(Nt);
1605
- return Wt(Mn(r, We(n, i)), v(v({}, We(n, a)), {}, { source: r }));
1619
+ var Mn = x(x({}, en), kt);
1620
+ function Nn(e, t = {}) {
1621
+ let n = x(x({}, Mn), t), r = String(e), i = Object.keys(en), a = Object.keys(kt);
1622
+ return Vt(jn(r, Ve(n, i)), x(x({}, Ve(n, a)), {}, { source: r }));
1606
1623
  }
1607
- function Fn(e, t, n) {
1624
+ function Pn(e, t, n) {
1608
1625
  let r = null;
1609
1626
  typeof t == "function" ? r = t : typeof t == "object" && t && (n = t);
1610
- let i = Pn(e, n);
1627
+ let i = Nn(e, n);
1611
1628
  if (r === null) return i;
1612
1629
  for (let e of i) r(e);
1613
1630
  }
1614
- function In(e, t) {
1615
- let n = Pn(e, t);
1616
- if (n.length === 0) throw new b("expected a document, but the input is empty");
1631
+ function Fn(e, t) {
1632
+ let n = Nn(e, t);
1633
+ if (n.length === 0) throw new w("expected a document, but the input is empty");
1617
1634
  if (n.length === 1) return n[0];
1618
- throw new b("expected a single document in the stream, but found more");
1635
+ throw new w("expected a single document in the stream, but found more");
1619
1636
  }
1620
1637
  //#endregion
1621
- //#region src/ast/nodes.ts
1622
- var W = class {
1623
- constructor() {
1624
- _(this, "tagged", !1), _(this, "flow", !1), _(this, "singleQuoted", !1), _(this, "doubleQuoted", !1), _(this, "literal", !1), _(this, "folded", !1);
1625
- }
1626
- }, G = Symbol("INVALID");
1627
- function Ln(e) {
1638
+ //#region src/ast/from_js.ts
1639
+ var J = Symbol("INVALID");
1640
+ function In(e) {
1628
1641
  let t = new Set([
1629
1642
  e.defaultScalarTag,
1630
1643
  e.defaultSequenceTag,
@@ -1645,7 +1658,7 @@ function Ln(e) {
1645
1658
  }))
1646
1659
  ];
1647
1660
  }
1648
- function Rn(e, t) {
1661
+ function Ln(e, t) {
1649
1662
  for (let n = 0, r = e.representTypes.length; n < r; n += 1) {
1650
1663
  let { tag: r, implicitTag: i } = e.representTypes[n];
1651
1664
  if (r.identify(t)) {
@@ -1659,103 +1672,97 @@ function Rn(e, t) {
1659
1672
  }
1660
1673
  return null;
1661
1674
  }
1662
- function zn(e, t) {
1675
+ function Y(e, t) {
1663
1676
  if (!e.noRefs && typeof t == "object" && t) {
1664
1677
  let n = e.refs.get(t);
1665
1678
  if (n) return n.anchor === void 0 && (n.anchor = `ref_${e.refCounter++}`), {
1666
1679
  kind: "alias",
1667
- tag: "",
1668
- style: new W(),
1669
1680
  anchor: n.anchor
1670
1681
  };
1671
1682
  }
1672
- let n = Rn(e, t);
1683
+ let n = Ln(e, t);
1673
1684
  if (!n) {
1674
- if (t === void 0 || e.skipInvalid) return G;
1675
- throw new b(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t)}`);
1676
- }
1677
- let { tag: r, tagName: i, implicitTag: a } = n, o = a ? i : jt(i);
1678
- if (r.nodeKind === "scalar") {
1679
- let e = new W();
1680
- return e.tagged = !a, {
1681
- kind: "scalar",
1682
- tag: o,
1683
- style: e,
1684
- value: r.represent(t)
1685
- };
1685
+ if (t === void 0 || e.skipInvalid) return J;
1686
+ throw new w(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t)}`);
1686
1687
  }
1688
+ let { tag: r, tagName: i, implicitTag: a } = n, o = a ? i : Dt(i);
1689
+ if (r.nodeKind === "scalar") return {
1690
+ kind: "scalar",
1691
+ tag: o,
1692
+ tagged: !a,
1693
+ style: E.PLAIN,
1694
+ value: r.represent(t)
1695
+ };
1687
1696
  if (r.nodeKind === "sequence") {
1688
- let n = r.represent(t), i = new W();
1689
- i.tagged = !a;
1690
- let s = {
1697
+ let n = r.represent(t), i = {
1691
1698
  kind: "sequence",
1692
1699
  tag: o,
1693
- style: i,
1700
+ tagged: !a,
1701
+ style: D.BLOCK,
1694
1702
  items: []
1695
1703
  };
1696
- e.noRefs || e.refs.set(t, s);
1704
+ e.noRefs || e.refs.set(t, i);
1697
1705
  for (let t = 0, r = n.length; t < r; t += 1) {
1698
- let r = zn(e, n[t]);
1699
- r === G && n[t] === void 0 && (r = zn(e, null)), r !== G && s.items.push(r);
1706
+ let r = Y(e, n[t]);
1707
+ r === J && n[t] === void 0 && (r = Y(e, null)), r !== J && i.items.push(r);
1700
1708
  }
1701
- return s;
1709
+ return i;
1702
1710
  }
1703
- let s = r.represent(t), c = new W();
1704
- c.tagged = !a;
1705
- let l = {
1711
+ let s = r.represent(t), c = {
1706
1712
  kind: "mapping",
1707
1713
  tag: o,
1708
- style: c,
1714
+ tagged: !a,
1715
+ style: D.BLOCK,
1709
1716
  items: []
1710
1717
  };
1711
- e.noRefs || e.refs.set(t, l);
1718
+ e.noRefs || e.refs.set(t, c);
1712
1719
  for (let [t, n] of s) {
1713
- let r = zn(e, t);
1714
- if (r === G) continue;
1715
- let i = zn(e, n);
1716
- i !== G && l.items.push({
1720
+ let r = Y(e, t);
1721
+ if (r === J) continue;
1722
+ let i = Y(e, n);
1723
+ i !== J && c.items.push({
1717
1724
  key: r,
1718
1725
  value: i
1719
1726
  });
1720
1727
  }
1721
- return l;
1728
+ return c;
1722
1729
  }
1723
- function Bn(e, t, n = {}) {
1730
+ function Rn(e, t, n = {}) {
1724
1731
  var r, i;
1725
- let a = zn({
1726
- representTypes: Ln(t),
1732
+ let a = Y({
1733
+ representTypes: In(t),
1727
1734
  noRefs: (r = n.noRefs) == null ? !1 : r,
1728
1735
  skipInvalid: (i = n.skipInvalid) == null ? !1 : i,
1729
1736
  refs: /* @__PURE__ */ new Map(),
1730
1737
  refCounter: 0
1731
1738
  }, e);
1732
1739
  return [{
1733
- contents: a === G ? null : a,
1740
+ contents: a === J ? null : a,
1734
1741
  directives: []
1735
1742
  }];
1736
1743
  }
1737
1744
  //#endregion
1738
1745
  //#region src/ast/visit.ts
1739
- var Vn = Symbol("visit:break"), Hn = Symbol("visit:skip");
1740
- function Un(e, t, n) {
1746
+ var zn = Symbol("visit:break"), Bn = Symbol("visit:skip");
1747
+ function Vn(e, t, n) {
1741
1748
  let r = t(e, n);
1742
- if (r === Vn) return !0;
1743
- if (r === Hn) return !1;
1749
+ if (r === zn) return !0;
1750
+ if (r === Bn) return !1;
1744
1751
  let i = n.depth + 1;
1745
1752
  switch (e.kind) {
1746
1753
  case "sequence":
1747
- for (let n of e.items) if (Un(n, t, {
1754
+ for (let n of e.items) if (Vn(n, t, {
1748
1755
  depth: i,
1749
1756
  parent: e,
1750
1757
  isKey: !1
1751
1758
  })) return !0;
1752
1759
  break;
1753
1760
  case "mapping":
1754
- for (let { key: n, value: r } of e.items) if (Un(n, t, {
1761
+ for (let { key: n, value: r } of e.items) if (Vn(n, t, {
1755
1762
  depth: i,
1756
1763
  parent: e,
1757
1764
  isKey: !0
1758
- }) || Un(r, t, {
1765
+ }) || Vn(r, t, {
1759
1766
  depth: i,
1760
1767
  parent: e,
1761
1768
  isKey: !1
@@ -1764,148 +1771,136 @@ function Un(e, t, n) {
1764
1771
  }
1765
1772
  return !1;
1766
1773
  }
1767
- function Wn(e, t) {
1768
- for (let n of e) if (n.contents && Un(n.contents, t, {
1774
+ function Hn(e, t) {
1775
+ for (let n of e) if (n.contents && Vn(n.contents, t, {
1769
1776
  depth: 0,
1770
1777
  parent: null,
1771
1778
  isKey: !1
1772
1779
  })) return;
1773
1780
  }
1774
1781
  //#endregion
1775
- //#region src/ast/presenter.ts
1776
- var Gn = 65279, Kn = 9, K = 10, qn = 13, Jn = 32, Yn = 33, Xn = 34, Zn = 35, Qn = 37, $n = 38, er = 39, tr = 42, nr = 44, rr = 45, ir = 58, ar = 61, or = 62, sr = 63, cr = 64, lr = 91, ur = 93, dr = 96, fr = 123, pr = 124, mr = 125, q = {};
1777
- q[0] = "\\0", q[7] = "\\a", q[8] = "\\b", q[9] = "\\t", q[10] = "\\n", q[11] = "\\v", q[12] = "\\f", q[13] = "\\r", q[27] = "\\e", q[34] = "\\\"", q[92] = "\\\\", q[133] = "\\N", q[160] = "\\_", q[8232] = "\\L", q[8233] = "\\P";
1778
- var hr = {
1779
- indent: 2,
1780
- seqNoIndent: !1,
1781
- seqInlineFirst: !0,
1782
- sortKeys: !1,
1783
- lineWidth: 80,
1784
- flowBracketPadding: !1,
1785
- flowSkipCommaSpace: !1,
1786
- flowSkipColonSpace: !1,
1787
- quoteFlowKeys: !1,
1788
- quoteStyle: "single",
1789
- forceQuotes: !1,
1790
- tagBeforeAnchor: !1
1782
+ //#region src/ast/styler_defaults.ts
1783
+ function Un(e, t) {
1784
+ return (e & 1 << t) != 0;
1785
+ }
1786
+ var Wn = {
1787
+ applyQuoteFlowKeysOption: Kn,
1788
+ doubleQuoteForInvisibles: qn,
1789
+ doubleQuoteWhitespaceOnly: Jn,
1790
+ applyForceQuotesOption: Yn,
1791
+ tryLongOrMultilineAsBlock: Xn,
1792
+ quoteInvalidPlain: Zn,
1793
+ fallbackToDoubleQuoted: Qn
1791
1794
  };
1792
- function gr(e) {
1793
- return e.style.tagged ? e.tag : jt(e.tag);
1795
+ function Gn(e) {
1796
+ return e.presenterOptions.quoteStyle === "single" && Un(e.allowedStylesMask, E.SINGLE_QUOTED) ? E.SINGLE_QUOTED : E.DOUBLE_QUOTED;
1794
1797
  }
1795
- function _r(e) {
1796
- let t = v(v({}, hr), e);
1797
- return v(v({}, t), {}, { defaultScalarTagName: t.schema.defaultScalarTag.tagName });
1798
+ function Kn(e) {
1799
+ e.presenterOptions.quoteFlowKeys && (!e.isKey || !e.flowOnly || e.style !== E.PLAIN || (e.style = E.DOUBLE_QUOTED));
1798
1800
  }
1799
- function vr(e) {
1800
- let t = e.toString(16).toUpperCase(), n = e <= 255 ? "x" : "u", r = e <= 255 ? 2 : 4;
1801
- return `\\${n}${"0".repeat(r - t.length)}${t}`;
1801
+ function qn(e) {
1802
+ e.style === E.PLAIN && /[\t\x7F-\xA0\u2028\u2029\uFEFF\uFFFE\uFFFF]/.test(e.node.value) && (e.style = E.DOUBLE_QUOTED);
1802
1803
  }
1803
- function yr(e, t) {
1804
- let n = " ".repeat(t), r = 0, i = "", a = e.length;
1805
- for (; r < a;) {
1806
- let t, o = e.indexOf("\n", r);
1807
- o === -1 ? (t = e.slice(r), r = a) : (t = e.slice(r, o + 1), r = o + 1), t.length && t !== "\n" && (i += n), i += t;
1808
- }
1809
- return i;
1804
+ function Jn(e) {
1805
+ e.style === E.PLAIN && /^\s+$/.test(e.node.value) && (e.style = E.DOUBLE_QUOTED);
1810
1806
  }
1811
- function br(e, t) {
1812
- return `\n${" ".repeat(e.indent * t)}`;
1807
+ function Yn(e) {
1808
+ e.presenterOptions.forceQuotes && (e.isKey || e.style !== E.PLAIN || e.node.tag === e.presenterOptions.schema.defaultScalarTag.tagName && (e.style = e.node.value.includes("\n") ? E.DOUBLE_QUOTED : Gn(e)));
1813
1809
  }
1814
- function xr(e, t) {
1815
- let n = e.indent * Math.max(1, t);
1816
- return {
1817
- indent: n,
1818
- blockIndent: t === 0 ? e.indent + 1 : e.indent,
1819
- lineWidth: e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - n)
1820
- };
1810
+ function Xn(e) {
1811
+ if (e.style !== E.PLAIN || e.isKey) return;
1812
+ let t = e.node.value, n = t.indexOf("\n") !== -1;
1813
+ if (!Un(e.allowedStylesMask, E.LITERAL_BLOCK)) {
1814
+ n && (e.style = E.DOUBLE_QUOTED);
1815
+ return;
1816
+ }
1817
+ let r = e.presenterOptions.lineWidth;
1818
+ if (r === -1) {
1819
+ n && (e.style = E.LITERAL_BLOCK);
1820
+ return;
1821
+ }
1822
+ let i = Math.max(Math.min(r, 40), r - e.shiftOfContent), a = 0, o = !1;
1823
+ for (; a <= t.length;) {
1824
+ let e = t.length, n = t.indexOf("\n", a);
1825
+ n !== -1 && (e = n);
1826
+ let r = t.slice(a, e);
1827
+ if (r.length > i && r[0] !== " " && / [^ \t]/.test(r) && (o = !0), n === -1) break;
1828
+ a = n + 1;
1829
+ }
1830
+ o ? e.style = E.FOLDED_BLOCK : n && (e.style = E.LITERAL_BLOCK);
1821
1831
  }
1822
- function J(e) {
1823
- return e === Jn || e === Kn;
1832
+ function Zn(e) {
1833
+ e.style === E.PLAIN && !Un(e.allowedStylesMask, E.PLAIN) && (e.style = Gn(e));
1824
1834
  }
1825
- function Sr(e) {
1826
- let t = e.charCodeAt(0);
1827
- if (t !== rr && t !== 46 || e.charCodeAt(1) !== t || e.charCodeAt(2) !== t) return !1;
1828
- if (e.length === 3) return !0;
1829
- let n = e.charCodeAt(3);
1830
- return J(n) || n === qn || n === K;
1835
+ function Qn(e) {
1836
+ Un(e.allowedStylesMask, e.style) || (e.style = E.DOUBLE_QUOTED);
1831
1837
  }
1832
- function Cr(e) {
1833
- return e >= 32 && e <= 126 || e >= 161 && e <= 55295 && e !== 8232 && e !== 8233 || e >= 57344 && e <= 65533 && e !== Gn || e >= 65536 && e <= 1114111;
1838
+ //#endregion
1839
+ //#region src/ast/scalar_styler.ts
1840
+ function X(e, t) {
1841
+ return e | 1 << t;
1842
+ }
1843
+ var $n = "[\\x09\\x0A\\x0D\\x20-\\x7E\\x85\\xA0-\\uD7FF\\uE000-\\uFFFD\\u{10000}-\\u{10FFFF}]", er = "[\\n\\r]", tr = "\\uFEFF", nr = "[ \\t]", rr = `(?:(?!(?:${er}|${tr}))${$n})`, ir = `(?:(?!${nr})${rr})`, ar = "[\\x09\\x20-\\uD7FF\\uE000-\\uFFFF\\u{10000}-\\u{10FFFF}]", or = "[-?:,\\[\\]{}#&*!|>'\"%@`]", sr = "[,\\[\\]{}]", cr = ir, lr = `(?:(?!${sr})${ir})`, ur = `(?:(?:(?!${or})${ir})|[?:-](?=${cr}))`, dr = `(?:(?:(?!${or})${ir})|[?:-](?=${lr}))`, fr = `(?:(?:(?![:#])${cr})|:(?=${cr}))#*`, pr = `(?:(?:(?![:#])${lr})|:(?=${lr}))#*`, mr = `(?:${nr}*${fr})*`, hr = `(?:${nr}*${pr})*`, gr = `${ur}#*${mr}`, _r = `${dr}#*${hr}`, vr = gr, yr = _r, br = `\\n+${fr}${mr}`, xr = `\\n+${pr}${hr}`, Sr = `${gr}(?:${br})*`, Cr = `${_r}(?:${xr})*`, wr = RegExp(`^(?:${Sr})$`, "u"), Tr = RegExp(`^(?:${Cr})$`, "u"), Er = RegExp(`^(?:${vr})$`, "u"), Dr = RegExp(`^(?:${yr})$`, "u"), Or = RegExp(`^(?:${ar})*$`, "u"), kr = RegExp(`^(?:${ar}|\\n)*$`, "u"), Ar = RegExp(`^(?:${rr}|\\n)*$`, "u"), jr = /^(?:---|\.\.\.)(?=$|[ \t\n\r])/, Mr = /^(?:---|\.\.\.)(?=$|[ \t\n\r])/m;
1844
+ function Nr(e) {
1845
+ let t = e.node.value;
1846
+ if (t !== "") {
1847
+ if (!(e.isKey ? e.flowOnly ? Dr : Er : e.flowOnly ? Tr : wr).test(t) || e.shiftOfFirstLine === 0 && jr.test(t)) return !1;
1848
+ if (e.shiftOfContent === 0) {
1849
+ let e = t.indexOf("\n");
1850
+ if (e !== -1) {
1851
+ let n = t.slice(e + 1);
1852
+ if (Mr.test(n)) return !1;
1853
+ }
1854
+ }
1855
+ }
1856
+ let n = e.presenterOptions.schema.resolveImplicitScalarTag(t).tag.tagName;
1857
+ return !(!e.node.tagged && n !== e.node.tag || !e.node.tagged && t === "=" && n === e.presenterOptions.schema.defaultScalarTag.tagName);
1834
1858
  }
1835
- function wr(e) {
1836
- return Cr(e) && e !== Gn && e !== qn && e !== K;
1859
+ function Pr(e) {
1860
+ let t = e.node.value;
1861
+ if (!(e.isKey ? Or : kr).test(t) || /[ \t]\n|\n[ \t]/.test(t)) return !1;
1862
+ if (!e.isKey && e.shiftOfContent === 0) {
1863
+ let e = t.indexOf("\n");
1864
+ if (e !== -1 && Mr.test(t.slice(e + 1))) return !1;
1865
+ }
1866
+ return !0;
1837
1867
  }
1838
- function Tr(e, t, n) {
1839
- let r = wr(e), i = r && !J(e);
1840
- return (n ? r : r && e !== nr && e !== lr && e !== ur && e !== fr && e !== mr) && e !== Zn && !(t === ir && !i) || wr(t) && !J(t) && e === Zn || t === ir && i && (n || e !== nr && e !== lr && e !== ur && e !== fr && e !== mr);
1868
+ function Fr(e) {
1869
+ if (e.flowOnly || !Ar.test(e.node.value)) return !1;
1870
+ let t = e.shiftOfContent - e.shiftOfParent;
1871
+ return !(t < 1 || t > 9 && /^\n* /.test(e.node.value) || e.shiftOfContent === 0 && Mr.test(e.node.value));
1841
1872
  }
1842
- function Er(e) {
1843
- return Cr(e) && e !== Gn && !J(e) && e !== rr && e !== sr && e !== ir && e !== nr && e !== lr && e !== ur && e !== fr && e !== mr && e !== Zn && e !== $n && e !== tr && e !== Yn && e !== pr && e !== ar && e !== or && e !== er && e !== Xn && e !== Qn && e !== cr && e !== dr;
1873
+ function Ir(e) {
1874
+ let t = X(0, E.DOUBLE_QUOTED);
1875
+ Nr(e) && (t = X(t, E.PLAIN)), Pr(e) && (t = X(t, E.SINGLE_QUOTED)), Fr(e) && (t = X(X(t, E.LITERAL_BLOCK), E.FOLDED_BLOCK)), e.allowedStylesMask = t;
1844
1876
  }
1845
- function Dr(e, t) {
1846
- let n = Y(e, 0);
1847
- if (Er(n)) return !0;
1848
- if (e.length > 1 && (n === rr || n === sr || n === ir)) {
1849
- let r = Y(e, 1);
1850
- return !J(r) && Tr(r, n, t);
1877
+ function Lr(e) {
1878
+ switch (e.style) {
1879
+ case E.PLAIN: return Rr(e);
1880
+ case E.SINGLE_QUOTED: return zr(e);
1881
+ case E.LITERAL_BLOCK: return Br(e);
1882
+ case E.FOLDED_BLOCK: return Vr(e);
1883
+ case E.DOUBLE_QUOTED: return Hr(e);
1851
1884
  }
1852
- return !1;
1853
1885
  }
1854
- function Or(e) {
1855
- return !J(e) && e !== ir;
1886
+ function Rr(e) {
1887
+ return Ur(e.node.value, e.shiftOfContent);
1856
1888
  }
1857
- function Y(e, t) {
1858
- let n = e.charCodeAt(t), r;
1859
- return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
1889
+ function zr(e) {
1890
+ return `'${Ur(e.node.value, e.shiftOfContent).replace(/'/g, "''")}'`;
1860
1891
  }
1861
- function kr(e) {
1862
- return /^\n* /.test(e);
1892
+ function Br(e) {
1893
+ let t = e.node.value;
1894
+ return "|" + Kr(t, e.shiftOfParent, e.shiftOfContent) + qr(Wr(t, e.shiftOfContent));
1863
1895
  }
1864
- var Ar = 1, jr = 2, Mr = 3, Nr = 4, X = 5;
1865
- function Pr(e, t, n, r, i, a) {
1866
- let { blockIndent: o, lineWidth: s } = n, c, l = 0, u = -1, d = !1, f = !1, p = s !== -1, m = -1, h = !Sr(t) && Dr(t, a) && Or(Y(t, t.length - 1));
1867
- if (r || i) for (c = 0; c < t.length; l >= 65536 ? c += 2 : c++) {
1868
- if (l = Y(t, c), !Cr(l)) return X;
1869
- h = h && Tr(l, u, a), u = l;
1870
- }
1871
- else {
1872
- for (c = 0; c < t.length; l >= 65536 ? c += 2 : c++) {
1873
- if (l = Y(t, c), l === K) d = !0, p && (f = f || c - m - 1 > s && !Z(t[m + 1]), m = c);
1874
- else if (!Cr(l)) return X;
1875
- h = h && Tr(l, u, a), u = l;
1876
- }
1877
- f = f || p && c - m - 1 > s && !Z(t[m + 1]);
1878
- }
1879
- return !d && !f ? h && !i ? Ar : e.quoteStyle === "double" ? X : jr : o > 9 && kr(t) ? X : f ? Nr : Mr;
1880
- }
1881
- function Fr(e, t, n) {
1882
- let { indent: r, blockIndent: i, lineWidth: a } = n;
1883
- switch (t) {
1884
- case Ar: return Rr(e, r);
1885
- case jr: return `'${Rr(e, r).replace(/'/g, "''")}'`;
1886
- case Mr: return "|" + Lr(e, i) + zr(yr(e, r));
1887
- case Nr: return ">" + Lr(e, i) + zr(yr(Br(e, a), r));
1888
- case X: return `"${Hr(e)}"`;
1889
- }
1890
- }
1891
- function Ir(e, t, n, r, i) {
1892
- let a = r || !i;
1893
- if (t.style.singleQuoted) return jr;
1894
- if (t.style.doubleQuoted) return X;
1895
- if (!a) {
1896
- if (t.style.literal) return Mr;
1897
- if (t.style.folded) return Nr;
1898
- }
1899
- let o = t.value;
1900
- if (o.length === 0) return t.style.tagged || e.schema.resolveImplicitScalarTag(o).tag.tagName === t.tag ? Ar : e.quoteStyle === "double" ? X : jr;
1901
- let s = Pr(e, o, n, a, e.forceQuotes && !r, i);
1902
- return s === Ar && !t.style.tagged && e.schema.resolveImplicitScalarTag(o).tag.tagName !== t.tag ? e.quoteStyle === "double" ? X : jr : s;
1903
- }
1904
- function Lr(e, t) {
1905
- let n = kr(e) ? String(t) : "", r = e[e.length - 1] === "\n";
1906
- return `${n}${r && (e[e.length - 2] === "\n" || e === "\n") ? "+" : r ? "" : "-"}\n`;
1907
- }
1908
- function Rr(e, t) {
1896
+ function Vr(e) {
1897
+ let t = e.node.value, n = e.presenterOptions.lineWidth, r = Infinity;
1898
+ return n !== -1 && (r = Math.max(Math.min(n, 40), n - e.shiftOfContent)), ">" + Kr(t, e.shiftOfParent, e.shiftOfContent) + qr(Wr(Xr(t, r), e.shiftOfContent));
1899
+ }
1900
+ function Hr(e) {
1901
+ return `"${$r(e.node.value)}"`;
1902
+ }
1903
+ function Ur(e, t) {
1909
1904
  let n = e.indexOf("\n");
1910
1905
  if (n === -1) return e;
1911
1906
  let r = " ".repeat(t), i = e.slice(0, n), a = /(\n+)([^\n]*)/g;
@@ -1917,153 +1912,205 @@ function Rr(e, t) {
1917
1912
  }
1918
1913
  return i;
1919
1914
  }
1920
- function zr(e) {
1915
+ function Wr(e, t) {
1916
+ let n = " ".repeat(t), r = 0, i = "", a = e.length;
1917
+ for (; r < a;) {
1918
+ let t, o = e.indexOf("\n", r);
1919
+ o === -1 ? (t = e.slice(r), r = a) : (t = e.slice(r, o + 1), r = o + 1), t.length && t !== "\n" && (i += n), i += t;
1920
+ }
1921
+ return i;
1922
+ }
1923
+ function Gr(e) {
1924
+ return /^\n* /.test(e);
1925
+ }
1926
+ function Kr(e, t, n) {
1927
+ let r = Gr(e) ? String(n - t) : "", i = e[e.length - 1] === "\n";
1928
+ return `${r}${i && (e[e.length - 2] === "\n" || e === "\n") ? "+" : i ? "" : "-"}\n`;
1929
+ }
1930
+ function qr(e) {
1921
1931
  return e[e.length - 1] === "\n" ? e.slice(0, -1) : e;
1922
1932
  }
1923
- function Z(e) {
1933
+ function Jr(e) {
1924
1934
  return e === " " || e === " ";
1925
1935
  }
1926
- function Br(e, t) {
1936
+ function Yr(e, t) {
1937
+ if (e === "" || Jr(e[0])) return e;
1938
+ let n = / [^ \t]/g, r, i = 0, a, o = 0, s = 0, c = "";
1939
+ for (; r = n.exec(e);) s = r.index, s - i > t && (a = o > i ? o : s, c += `\n${e.slice(i, a)}`, i = a + 1), o = s;
1940
+ return c += "\n", e.length - i > t && o > i ? c += `${e.slice(i, o)}\n${e.slice(o + 1)}` : c += e.slice(i), c.slice(1);
1941
+ }
1942
+ function Xr(e, t) {
1927
1943
  let n = /(\n+)([^\n]*)/g, r = e.indexOf("\n");
1928
1944
  r === -1 && (r = e.length), n.lastIndex = r;
1929
- let i = Vr(e.slice(0, r), t), a = e[0] === "\n" || Z(e[0]), o, s;
1945
+ let i = Yr(e.slice(0, r), t), a = e[0] === "\n" || Jr(e[0]), o, s;
1930
1946
  for (; s = n.exec(e);) {
1931
1947
  let e = s[1], n = s[2];
1932
- o = n !== "" && Z(n[0]), i += e + (!a && !o && n !== "" ? "\n" : "") + Vr(n, t), a = o;
1948
+ o = n !== "" && Jr(n[0]), i += e + (!a && !o && n !== "" ? "\n" : "") + Yr(n, t), a = o;
1933
1949
  }
1934
1950
  return i;
1935
1951
  }
1936
- function Vr(e, t) {
1937
- if (e === "" || Z(e[0])) return e;
1938
- let n = / [^ \t]/g, r, i = 0, a, o = 0, s = 0, c = "";
1939
- for (; r = n.exec(e);) s = r.index, s - i > t && (a = o > i ? o : s, c += `\n${e.slice(i, a)}`, i = a + 1), o = s;
1940
- return c += "\n", e.length - i > t && o > i ? c += `${e.slice(i, o)}\n${e.slice(o + 1)}` : c += e.slice(i), c.slice(1);
1952
+ var Zr = /["\\\x00-\x1F\x7F-\xA0\u2028\u2029\uD800-\uDFFF\uFEFF\uFFFE\uFFFF]/gu;
1953
+ function Qr(e) {
1954
+ switch (e) {
1955
+ case "\0": return "\\0";
1956
+ case "\x07": return "\\a";
1957
+ case "\b": return "\\b";
1958
+ case " ": return "\\t";
1959
+ case "\n": return "\\n";
1960
+ case "\v": return "\\v";
1961
+ case "\f": return "\\f";
1962
+ case "\r": return "\\r";
1963
+ case "\x1B": return "\\e";
1964
+ case "\"": return "\\\"";
1965
+ case "\\": return "\\\\";
1966
+ case "…": return "\\N";
1967
+ case "\xA0": return "\\_";
1968
+ case "\u2028": return "\\L";
1969
+ case "\u2029": return "\\P";
1970
+ }
1971
+ let t = e.charCodeAt(0), n = t.toString(16).toUpperCase();
1972
+ return t <= 255 ? `\\x${"0".repeat(2 - n.length)}${n}` : `\\u${"0".repeat(4 - n.length)}${n}`;
1973
+ }
1974
+ function $r(e) {
1975
+ return e.replace(Zr, Qr);
1941
1976
  }
1942
- function Hr(e) {
1943
- let t = "", n = 0;
1944
- for (let r = 0; r < e.length; n >= 65536 ? r += 2 : r++) {
1945
- n = Y(e, r);
1946
- let i = q[n];
1947
- if (i) {
1948
- t += i;
1949
- continue;
1950
- }
1951
- if (Cr(n)) {
1952
- t += e[r], n >= 65536 && (t += e[r + 1]);
1953
- continue;
1954
- }
1955
- t += vr(n);
1956
- }
1957
- return t;
1977
+ //#endregion
1978
+ //#region src/ast/presenter.ts
1979
+ var Z = 10, ei = {
1980
+ indent: 2,
1981
+ seqNoIndent: !1,
1982
+ seqInlineFirst: !0,
1983
+ lineWidth: 80,
1984
+ flowBracketPadding: !1,
1985
+ flowSkipCommaSpace: !1,
1986
+ flowSkipColonSpace: !1,
1987
+ quoteFlowKeys: !1,
1988
+ quoteStyle: "single",
1989
+ forceQuotes: !1,
1990
+ scalarStyleRules: Object.keys(Wn).map((e) => Reflect.get(Wn, e)),
1991
+ tagBeforeAnchor: !1
1992
+ };
1993
+ function ti(e) {
1994
+ return e.tagged ? e.tag : Dt(e.tag);
1995
+ }
1996
+ function ni(e) {
1997
+ let t = x(x({}, ei), e);
1998
+ return t.flowSkipColonSpace && (t.quoteFlowKeys = !0), x(x({}, t), {}, {
1999
+ defaultScalarTagName: t.schema.defaultScalarTag.tagName,
2000
+ openEnded: !1
2001
+ });
2002
+ }
2003
+ function ri(e, t) {
2004
+ return `\n${" ".repeat(e.indent * t)}`;
2005
+ }
2006
+ function ii(e, t, n, r, i, a) {
2007
+ return {
2008
+ node: t,
2009
+ parent: n,
2010
+ level: r,
2011
+ isKey: i,
2012
+ flowOnly: a,
2013
+ shiftOfParent: r === 0 ? -1 : e.indent * (r - 1),
2014
+ shiftOfContent: e.indent * Math.max(1, r),
2015
+ shiftOfFirstLine: r === 0 ? 0 : e.indent * r,
2016
+ presenterOptions: e,
2017
+ allowedStylesMask: 0,
2018
+ style: t.style
2019
+ };
1958
2020
  }
1959
- function Ur(e, t, n) {
2021
+ function ai(e, t, n) {
1960
2022
  let r = "";
1961
2023
  for (let i = 0, a = n.items.length; i < a; i += 1) {
1962
- let a = Q(e, t, n.items[i], {});
1963
- r !== "" && (r += `,${e.flowSkipCommaSpace ? "" : " "}`), r += a;
2024
+ let a = Q(e, t, n.items[i], n, {}).text;
2025
+ i > 0 && (r += `,${e.flowSkipCommaSpace ? "" : " "}`), r += a;
1964
2026
  }
1965
- let i = e.flowBracketPadding && r !== "" ? " " : "";
2027
+ let i = e.flowBracketPadding && n.items.length > 0 ? " " : "";
1966
2028
  return `[${i}${r}${i}]`;
1967
2029
  }
1968
- function Wr(e, t, n, r) {
2030
+ function oi(e, t, n, r) {
1969
2031
  let i = "";
1970
2032
  for (let a = 0, o = n.items.length; a < o; a += 1) {
1971
- let o = Q(e, t + 1, n.items[a], {
2033
+ let o = Q(e, t + 1, n.items[a], n, {
1972
2034
  block: !0,
1973
2035
  compact: e.seqInlineFirst,
1974
2036
  isblockseq: !0
1975
- });
1976
- (!r || i !== "") && (i += br(e, t)), o === "" || K === o.charCodeAt(0) ? i += "-" : i += "- ", i += o;
2037
+ }).text;
2038
+ (!r || i !== "") && (i += ri(e, t)), o === "" || Z === o.charCodeAt(0) ? i += "-" : i += "- ", i += o;
1977
2039
  }
1978
2040
  return i;
1979
2041
  }
1980
- function Gr(e, t, n) {
1981
- let r = "", i = qr(e, n.items);
1982
- for (let { key: n, value: a } of i) {
1983
- let i = "";
1984
- r !== "" && (i += `,${e.flowSkipCommaSpace ? "" : " "}`);
1985
- let o = Q(e, t, n, { iskey: !0 }), s = o.length > 1024;
1986
- s ? i += "? " : e.quoteFlowKeys && (i += "\"");
1987
- let c = Q(e, t, a, {}), l = e.flowSkipColonSpace || c === "" ? "" : " ";
1988
- i += `${o}${e.quoteFlowKeys && !s ? "\"" : ""}:${l}${c}`, r += i;
1989
- }
1990
- let a = e.flowBracketPadding && r !== "" ? " " : "";
1991
- return `{${a}${r}${a}}`;
1992
- }
1993
- function Kr(e) {
1994
- return e.kind === "scalar" ? e.value : e;
1995
- }
1996
- function qr(e, t) {
1997
- if (!e.sortKeys) return t;
1998
- let n = t.slice();
1999
- if (e.sortKeys === !0) n.sort((e, t) => {
2000
- let n = Kr(e.key), r = Kr(t.key);
2001
- return n < r ? -1 : +(n > r);
2002
- });
2003
- else {
2004
- let t = e.sortKeys;
2005
- n.sort((e, n) => t(Kr(e.key), Kr(n.key)));
2042
+ function si(e, t, n) {
2043
+ let r = "";
2044
+ for (let { key: i, value: a } of n.items) {
2045
+ let o = "";
2046
+ r !== "" && (o += `,${e.flowSkipCommaSpace ? "" : " "}`);
2047
+ let s = Q(e, t, i, n, { iskey: !0 }), c = s.text, l = Q(e, t, a, n, {}).text, u = e.flowSkipColonSpace || l === "" ? "" : " ", d = i.kind === "scalar" && s.noBody && (i.tagged || i.anchor !== void 0), f = i.kind === "alias" || d ? " " : "";
2048
+ o += `${c}${f}:${u}${l}`, r += o;
2006
2049
  }
2007
- return n;
2050
+ let i = e.flowBracketPadding && r !== "" ? " " : "";
2051
+ return `{${i}${r}${i}}`;
2008
2052
  }
2009
- function Jr(e, t, n, r) {
2010
- let i = "", a = qr(e, n.items);
2011
- for (let n = 0, o = a.length; n < o; n += 1) {
2053
+ function ci(e, t, n, r) {
2054
+ let i = "";
2055
+ for (let a = 0, o = n.items.length; a < o; a += 1) {
2012
2056
  let o = "";
2013
- (!r || i !== "") && (o += br(e, t));
2014
- let { key: s, value: c } = a[n], l = (s.kind === "mapping" || s.kind === "sequence") && !s.style.flow && s.items.length !== 0 || s.kind === "scalar" && (s.style.literal || s.style.folded), u = l ? Q(e, t + 1, s, {
2057
+ (!r || i !== "") && (o += ri(e, t));
2058
+ let { key: s, value: c } = n.items[a], l = (s.kind === "mapping" || s.kind === "sequence") && s.style === D.BLOCK && s.items.length !== 0 || s.kind === "scalar" && (s.style === E.LITERAL_BLOCK || s.style === E.FOLDED_BLOCK), u = l ? Q(e, t + 1, s, n, {
2015
2059
  block: !0,
2016
2060
  compact: !0,
2017
- isblockseq: !Yr(e, s, t + 1)
2018
- }) : Q(e, t + 1, s, {
2061
+ isblockseq: !li(e, s, t + 1)
2062
+ }) : Q(e, t + 1, s, n, {
2019
2063
  block: !0,
2020
2064
  compact: !0,
2021
2065
  iskey: !0
2022
- }), d = s.kind === "scalar" && s.value.indexOf("\n") !== -1, f = l || d || u.length > 1024;
2023
- f && (u && K === u.charCodeAt(0) ? o += "?" : o += "? "), o += u, f && (o += br(e, t));
2024
- let p = Q(e, t + 1, c, {
2066
+ }), d = u.text, f = s.kind === "scalar" && s.value.indexOf("\n") !== -1, p = d.length > 1024 && /^[\s\S]{1025}/u.test(d), m = l || f || p;
2067
+ m && (d && Z === d.charCodeAt(0) ? o += "?" : o += "? "), o += d, m && (o += ri(e, t));
2068
+ let h = Q(e, t + 1, c, n, {
2025
2069
  block: !0,
2026
- compact: f,
2027
- isblockseq: f && !Yr(e, c, t + 1)
2028
- }), m = s.kind === "scalar" && s.value === "" && u !== "" && u.charCodeAt(u.length - 1) !== er && u.charCodeAt(u.length - 1) !== Xn, h = !f && (s.kind === "alias" || m) ? " " : "";
2029
- p === "" || K === p.charCodeAt(0) ? o += `${h}:` : o += `${h}: `, o += p, i += o;
2070
+ compact: m,
2071
+ isblockseq: m && !li(e, c, t + 1)
2072
+ }).text, ee = s.kind === "scalar" && u.noBody && (s.tagged || s.anchor !== void 0), te = !m && (s.kind === "alias" || ee) ? " " : "";
2073
+ h === "" || Z === h.charCodeAt(0) ? o += `${te}:` : o += `${te}: `, o += h, i += o;
2030
2074
  }
2031
2075
  return i;
2032
2076
  }
2033
- function Yr(e, t, n) {
2034
- return t.style.tagged || t.anchor !== void 0 || e.indent < 2 && n > 0;
2035
- }
2036
- function Q(e, t, n, r) {
2037
- var i;
2038
- if (n.kind === "alias") return `*${n.anchor}`;
2039
- let { block: a = !1, iskey: o = !1, isblockseq: s = !1 } = r, c = (i = r.compact) == null ? !1 : i, l = n.anchor !== void 0;
2040
- Yr(e, n, t) && (c = !1);
2041
- let u, d = n.style.tagged, f = a && (n.kind === "mapping" || n.kind === "sequence") && !n.style.flow && n.items.length !== 0;
2042
- if (n.kind === "mapping") u = f ? Jr(e, t, n, c) : Gr(e, t, n);
2043
- else if (n.kind === "sequence") u = f ? e.seqNoIndent && !s && t > 0 ? Wr(e, t - 1, n, c) : Wr(e, t, n, c) : Ur(e, t, n);
2077
+ function li(e, t, n) {
2078
+ return t.kind === "alias" ? !0 : t.tagged || t.anchor !== void 0 || e.indent < 2 && n > 0;
2079
+ }
2080
+ function Q(e, t, n, r, i) {
2081
+ var a;
2082
+ if (n.kind === "alias") return e.openEnded = !1, {
2083
+ text: `*${n.anchor}`,
2084
+ noBody: !1
2085
+ };
2086
+ let { block: o = !1, iskey: s = !1, isblockseq: c = !1 } = i, l = (a = i.compact) == null ? !1 : a, u = n.anchor !== void 0;
2087
+ li(e, n, t) && (l = !1);
2088
+ let d, f = n.tagged, p = o && (n.kind === "mapping" || n.kind === "sequence") && n.style === D.BLOCK && n.items.length !== 0;
2089
+ if (n.kind === "mapping") d = p ? ci(e, t, n, l) : si(e, t, n);
2090
+ else if (n.kind === "sequence") d = p ? e.seqNoIndent && !c && t > 0 ? oi(e, t - 1, n, l) : oi(e, t, n, l) : ai(e, t, n);
2044
2091
  else {
2045
- let r = xr(e, t), i = Ir(e, n, r, o, a);
2046
- u = Fr(n.value, i, r), d = n.style.tagged || i !== Ar && n.tag !== e.defaultScalarTagName;
2047
- }
2048
- if (f && c && t > 0 && e.indent > 2 && (u = `${" ".repeat(e.indent - 2)}${u}`), d || l) {
2049
- let t = [], r = d ? gr(n) : null, i = l ? `&${n.anchor}` : null;
2092
+ let i = ii(e, n, r, t, s, !o);
2093
+ Ir(i);
2094
+ for (let t of e.scalarStyleRules) t(i);
2095
+ d = Lr(i), e.openEnded = (i.style === E.LITERAL_BLOCK || i.style === E.FOLDED_BLOCK) && (n.value === "\n" || n.value.endsWith("\n\n")), f = n.tagged || d === "" && i.flowOnly && (r == null ? void 0 : r.kind) === "sequence" && !u || i.style !== E.PLAIN && n.tag !== e.defaultScalarTagName;
2096
+ }
2097
+ (n.kind === "mapping" || n.kind === "sequence") && !p && (e.openEnded = !1), p && l && t > 0 && e.indent > 2 && (d = `${" ".repeat(e.indent - 2)}${d}`);
2098
+ let m = d === "", h = d;
2099
+ if (f || u) {
2100
+ let t = [], r = f ? ti(n) : null, i = u ? `&${n.anchor}` : null;
2050
2101
  e.tagBeforeAnchor ? (r !== null && t.push(r), i !== null && t.push(i)) : (i !== null && t.push(i), r !== null && t.push(r));
2051
- let a = u === "" || u.charCodeAt(0) === K ? "" : " ";
2052
- u = `${t.join(" ")}${a}${u}`;
2102
+ let a = d === "" || d.charCodeAt(0) === Z ? "" : " ";
2103
+ h = `${t.join(" ")}${a}${d}`;
2053
2104
  }
2054
- return u;
2055
- }
2056
- function Xr(e) {
2057
- return (e.kind === "sequence" || e.kind === "mapping") && !e.style.flow && e.items.length !== 0 && !e.style.tagged && e.anchor === void 0;
2105
+ return {
2106
+ text: h,
2107
+ noBody: m
2108
+ };
2058
2109
  }
2059
- function Zr(e) {
2060
- let t = e;
2061
- for (; (t.kind === "sequence" || t.kind === "mapping") && !t.style.flow && t.items.length !== 0;) t = t.kind === "sequence" ? t.items[t.items.length - 1] : t.items[t.items.length - 1].value;
2062
- if (t.kind !== "scalar" || !(t.style.literal || t.style.folded)) return !1;
2063
- let { value: n } = t;
2064
- return n.endsWith("\n\n") || n === "\n";
2110
+ function ui(e) {
2111
+ return (e.kind === "sequence" || e.kind === "mapping") && e.style === D.BLOCK && e.items.length !== 0 && !e.tagged && e.anchor === void 0;
2065
2112
  }
2066
- function Qr(e) {
2113
+ function di(e) {
2067
2114
  let t = "";
2068
2115
  for (let n of e.directives) {
2069
2116
  if (n.kind === "yaml") {
@@ -2075,98 +2122,96 @@ function Qr(e) {
2075
2122
  }
2076
2123
  return t;
2077
2124
  }
2078
- function $r(e, t) {
2079
- let n = _r(t), r = "", i = !1;
2125
+ function fi(e, t) {
2126
+ let n = ni(t), r = "", i = !1;
2080
2127
  for (let t = 0; t < e.length; t += 1) {
2081
- let a = e[t], o = Qr(a), s = o !== "", c = a.explicitStart || s || t > 0 && !i;
2128
+ let a = e[t];
2129
+ n.openEnded = !1;
2130
+ let o = di(a), s = o !== "", c = a.explicitStart || s || t > 0 && !i;
2082
2131
  if (r += o, a.contents === null) c && (r += "---\n");
2083
2132
  else if (c) {
2084
- let e = Q(n, 0, a.contents, {
2133
+ let e = Q(n, 0, a.contents, null, {
2085
2134
  block: !0,
2086
2135
  compact: !0
2087
- }), t = e === "" ? "" : s || Xr(a.contents) ? "\n" : " ";
2136
+ }).text, t = e === "" ? "" : s || ui(a.contents) ? "\n" : " ";
2088
2137
  r += `---${t}${e}\n`;
2089
- } else r += Q(n, 0, a.contents, {
2138
+ } else r += Q(n, 0, a.contents, null, {
2090
2139
  block: !0,
2091
2140
  compact: !0
2092
- }) + "\n";
2093
- i = a.explicitEnd || a.contents !== null && Zr(a.contents), i && (r += "...\n");
2141
+ }).text + "\n";
2142
+ i = a.explicitEnd || n.openEnded, i && (r += "...\n");
2094
2143
  }
2095
2144
  return r;
2096
2145
  }
2097
2146
  //#endregion
2098
2147
  //#region src/dump.ts
2099
- var ei = v(v({}, hr), {}, {
2100
- schema: at,
2148
+ var pi = x(x({}, ei), {}, {
2149
+ schema: tt,
2101
2150
  skipInvalid: !1,
2102
2151
  noRefs: !1,
2103
2152
  flowLevel: -1,
2153
+ sortKeys: !1,
2104
2154
  transform: () => {}
2105
2155
  });
2106
- function ti(e, t = {}) {
2107
- let n = v(v({}, ei), t), r = Bn(e, n.schema, {
2156
+ function mi(e, t) {
2157
+ let n = String(e), r = String(t);
2158
+ return n < r ? -1 : +(n > r);
2159
+ }
2160
+ function hi(e, t = {}) {
2161
+ let n = x(x({}, pi), t), r = Rn(e, n.schema, {
2108
2162
  noRefs: n.noRefs,
2109
2163
  skipInvalid: n.skipInvalid
2110
2164
  });
2111
- return n.flowLevel >= 0 && Wn(r, (e, t) => {
2112
- if (!(t.depth < n.flowLevel)) return e.style.flow = !0, Hn;
2113
- }), n.transform(r), $r(r, v(v({}, We(n, Object.keys(hr))), {}, { schema: n.schema }));
2165
+ if (n.flowLevel >= 0 && Hn(r, (e, t) => {
2166
+ if (!(t.depth < n.flowLevel)) return (e.kind === "sequence" || e.kind === "mapping") && (e.style = D.FLOW), Bn;
2167
+ }), n.sortKeys) {
2168
+ let e = n.sortKeys === !0 ? mi : n.sortKeys;
2169
+ Hn(r, (t) => {
2170
+ t.kind === "mapping" && t.items.sort((t, n) => e(t.key.kind === "scalar" ? t.key.value : "", n.key.kind === "scalar" ? n.key.value : ""));
2171
+ });
2172
+ }
2173
+ return n.transform(r), fi(r, x(x({}, Ve(n, Object.keys(ei))), {}, { schema: n.schema }));
2114
2174
  }
2115
2175
  //#endregion
2116
2176
  //#region src/ast/from_events.ts
2117
2177
  var $ = -1;
2118
- function ni(e) {
2178
+ function gi(e) {
2119
2179
  return "tagStart" in e && e.tagStart !== $ ? e.tagStart : "anchorStart" in e && e.anchorStart !== $ ? e.anchorStart : "valueStart" in e && e.valueStart !== $ ? e.valueStart : "start" in e ? e.start : 0;
2120
2180
  }
2121
- function ri(e, t) {
2181
+ function _i(e, t) {
2122
2182
  return t.tagStart === $ ? "" : e.source.slice(t.tagStart, t.tagEnd);
2123
2183
  }
2124
- function ii(e, t) {
2184
+ function vi(e, t) {
2125
2185
  return t.anchorStart === $ ? void 0 : e.source.slice(t.anchorStart, t.anchorEnd);
2126
2186
  }
2127
- function ai(e, t) {
2128
- let n = Dt(e.source, t), r = ri(e, t), i = new W();
2129
- switch (t.style) {
2130
- case S.SINGLE_QUOTED:
2131
- i.singleQuoted = !0;
2132
- break;
2133
- case S.DOUBLE_QUOTED:
2134
- i.doubleQuoted = !0;
2135
- break;
2136
- case S.LITERAL_BLOCK:
2137
- i.literal = !0;
2138
- break;
2139
- case S.FOLDED_BLOCK:
2140
- i.folded = !0;
2141
- break;
2142
- }
2143
- let a;
2144
- return r === "" ? a = t.style === S.PLAIN ? e.schema.resolveImplicitScalarTag(n).tag.tagName : e.schema.defaultScalarTag.tagName : (i.tagged = !0, a = r), {
2187
+ function yi(e, t) {
2188
+ let n = Ct(e.source, t), r = _i(e, t), i, a = !1;
2189
+ return r === "" ? i = t.style === E.PLAIN ? e.schema.resolveImplicitScalarTag(n).tag.tagName : e.schema.defaultScalarTag.tagName : (a = !0, i = r), {
2145
2190
  kind: "scalar",
2146
- tag: a,
2147
- style: i,
2148
- anchor: ii(e, t),
2191
+ tag: i,
2192
+ tagged: a,
2193
+ style: t.style,
2194
+ anchor: vi(e, t),
2149
2195
  value: n
2150
2196
  };
2151
2197
  }
2152
- function oi(e, t, n) {
2153
- let r = ri(e, t), i = new W();
2154
- t.style === C.FLOW && (i.flow = !0);
2155
- let a;
2156
- return r === "" ? a = n : (a = r, i.tagged = !0), {
2157
- tag: a,
2158
- style: i,
2159
- anchor: ii(e, t)
2198
+ function bi(e, t, n) {
2199
+ let r = _i(e, t), i, a = !1;
2200
+ return r === "" ? i = n : (i = r, a = !0), {
2201
+ tag: i,
2202
+ tagged: a,
2203
+ style: t.style,
2204
+ anchor: vi(e, t)
2160
2205
  };
2161
2206
  }
2162
- function si(e, t) {
2207
+ function xi(e, t) {
2163
2208
  let n = e.frames[e.frames.length - 1];
2164
2209
  n.kind === "document" ? n.doc.contents = t : n.kind === "sequence" ? n.node.items.push(t) : n.key ? (n.node.items.push({
2165
2210
  key: n.key,
2166
2211
  value: t
2167
2212
  }), n.key = null) : n.key = t;
2168
2213
  }
2169
- function ci(e, t) {
2214
+ function Si(e, t) {
2170
2215
  let n = {
2171
2216
  source: t.source,
2172
2217
  schema: t.schema,
@@ -2177,8 +2222,8 @@ function ci(e, t) {
2177
2222
  };
2178
2223
  for (; n.eventIndex < e.length;) {
2179
2224
  let t = e[n.eventIndex++];
2180
- switch (n.position = ni(t), t.type) {
2181
- case x.DOCUMENT: {
2225
+ switch (n.position = gi(t), t.type) {
2226
+ case T.DOCUMENT: {
2182
2227
  let e = {
2183
2228
  contents: null,
2184
2229
  explicitStart: t.explicitStart,
@@ -2191,52 +2236,50 @@ function ci(e, t) {
2191
2236
  });
2192
2237
  break;
2193
2238
  }
2194
- case x.SCALAR:
2195
- si(n, ai(n, t));
2239
+ case T.SCALAR:
2240
+ xi(n, yi(n, t));
2196
2241
  break;
2197
- case x.SEQUENCE: {
2198
- let { tag: e, style: r, anchor: i } = oi(n, t, "tag:yaml.org,2002:seq"), a = {
2242
+ case T.SEQUENCE: {
2243
+ let { tag: e, tagged: r, style: i, anchor: a } = bi(n, t, "tag:yaml.org,2002:seq"), o = {
2199
2244
  kind: "sequence",
2200
2245
  tag: e,
2201
- style: r,
2202
- anchor: i,
2246
+ tagged: r,
2247
+ style: i,
2248
+ anchor: a,
2203
2249
  items: []
2204
2250
  };
2205
2251
  n.frames.push({
2206
2252
  kind: "sequence",
2207
- node: a
2253
+ node: o
2208
2254
  });
2209
2255
  break;
2210
2256
  }
2211
- case x.MAPPING: {
2212
- let { tag: e, style: r, anchor: i } = oi(n, t, "tag:yaml.org,2002:map"), a = {
2257
+ case T.MAPPING: {
2258
+ let { tag: e, tagged: r, style: i, anchor: a } = bi(n, t, "tag:yaml.org,2002:map"), o = {
2213
2259
  kind: "mapping",
2214
2260
  tag: e,
2215
- style: r,
2216
- anchor: i,
2261
+ tagged: r,
2262
+ style: i,
2263
+ anchor: a,
2217
2264
  items: []
2218
2265
  };
2219
2266
  n.frames.push({
2220
2267
  kind: "mapping",
2221
- node: a,
2268
+ node: o,
2222
2269
  key: null
2223
2270
  });
2224
2271
  break;
2225
2272
  }
2226
- case x.ALIAS: {
2227
- let e = n.source.slice(t.anchorStart, t.anchorEnd);
2228
- si(n, {
2273
+ case T.ALIAS:
2274
+ xi(n, {
2229
2275
  kind: "alias",
2230
- tag: "",
2231
- style: new W(),
2232
- anchor: e
2276
+ anchor: n.source.slice(t.anchorStart, t.anchorEnd)
2233
2277
  });
2234
2278
  break;
2235
- }
2236
- case x.POP: {
2279
+ case T.POP: {
2237
2280
  let e = n.frames.pop();
2238
2281
  if (e.kind === "mapping" && e.key) throw Error("incomplete mapping pair in event stream");
2239
- e.kind === "document" ? n.documents.push(e.doc) : si(n, e.node);
2282
+ e.kind === "document" ? n.documents.push(e.doc) : xi(n, e.node);
2240
2283
  break;
2241
2284
  }
2242
2285
  }
@@ -2245,8 +2288,8 @@ function ci(e, t) {
2245
2288
  }
2246
2289
  //#endregion
2247
2290
  //#region src/index.ts
2248
- var li = x.DOCUMENT, ui = x.SEQUENCE, di = x.MAPPING, fi = x.SCALAR, pi = x.ALIAS, mi = x.POP, hi = S.PLAIN, gi = S.SINGLE_QUOTED, _i = S.DOUBLE_QUOTED, vi = S.LITERAL_BLOCK, yi = S.FOLDED_BLOCK, bi = C.BLOCK, xi = C.FLOW, Si = w.CLIP, Ci = w.STRIP, wi = w.KEEP;
2291
+ var Ci = T.DOCUMENT, wi = T.SEQUENCE, Ti = T.MAPPING, Ei = T.SCALAR, Di = T.ALIAS, Oi = T.POP, ki = E.PLAIN, Ai = E.SINGLE_QUOTED, ji = E.DOUBLE_QUOTED, Mi = E.LITERAL_BLOCK, Ni = E.FOLDED_BLOCK, Pi = D.BLOCK, Fi = D.FLOW, Ii = O.CLIP, Li = O.STRIP, Ri = O.KEEP;
2249
2292
  //#endregion
2250
- export { Si as CHOMPING_CLIP, wi as CHOMPING_KEEP, w as CHOMPING_MODE, Ci as CHOMPING_STRIP, C as COLLECTION_STYLE, bi as COLLECTION_STYLE_BLOCK, xi as COLLECTION_STYLE_FLOW, rt as CORE_SCHEMA, at as DUMP_SCHEMA, pi as EVENT_ALIAS, li as EVENT_DOCUMENT, x as EVENT_ID, di as EVENT_MAPPING, mi as EVENT_POP, fi as EVENT_SCALAR, ui as EVENT_SEQUENCE, tt as FAILSAFE_SCHEMA, nt as JSON_SCHEMA, e as NOT_RESOLVED, S as SCALAR_STYLE, _i as SCALAR_STYLE_DOUBLE_QUOTED, yi as SCALAR_STYLE_FOLDED_BLOCK, vi as SCALAR_STYLE_LITERAL_BLOCK, hi as SCALAR_STYLE_PLAIN, gi as SCALAR_STYLE_SINGLE_QUOTED, y as Schema, W as Style, Vn as VISIT_BREAK, Hn as VISIT_SKIP, it as YAML11_SCHEMA, b as YAMLException, Ie as binaryTag, f as boolCoreTag, h as boolJsonTag, ne as boolYaml11Tag, Wt as constructFromEvents, r as defineMappingTag, t as defineScalarTag, n as defineSequenceTag, ti as dump, ci as eventsToAst, xe as floatCoreTag, Ee as floatJsonTag, je as floatYaml11Tag, Dt as getScalarValue, se as intCoreTag, fe as intJsonTag, ge as intYaml11Tag, Bn as jsToAst, ct as legacyMapTag, In as load, Fn as loadAll, qe as mapTag, Me as mergeTag, o as nullCoreTag, s as nullJsonTag, l as nullYaml11Tag, Ge as omapTag, Ke as pairsTag, Mn as parseEvents, $r as present, ot as realMapTag, He as seqTag, Je as setTag, i as strTag, Ve as timestampTag, Wn as visit };
2293
+ export { Ii as CHOMPING_CLIP, Ri as CHOMPING_KEEP, O as CHOMPING_MODE, Li as CHOMPING_STRIP, D as COLLECTION_STYLE, Pi as COLLECTION_STYLE_BLOCK, Fi as COLLECTION_STYLE_FLOW, $e as CORE_SCHEMA, Wn as DEFAULT_SCALAR_STYLE_RULES, tt as DUMP_SCHEMA, Di as EVENT_ALIAS, Ci as EVENT_DOCUMENT, T as EVENT_ID, Ti as EVENT_MAPPING, Oi as EVENT_POP, Ei as EVENT_SCALAR, wi as EVENT_SEQUENCE, C as FAILSAFE_SCHEMA, Qe as JSON_SCHEMA, e as NOT_RESOLVED, E as SCALAR_STYLE, ji as SCALAR_STYLE_DOUBLE_QUOTED, Ni as SCALAR_STYLE_FOLDED_BLOCK, Mi as SCALAR_STYLE_LITERAL_BLOCK, ki as SCALAR_STYLE_PLAIN, Ai as SCALAR_STYLE_SINGLE_QUOTED, S as Schema, zn as VISIT_BREAK, Bn as VISIT_SKIP, et as YAML11_SCHEMA, w as YAMLException, Pe as binaryTag, f as boolCoreTag, h as boolJsonTag, ne as boolYaml11Tag, Vt as constructFromEvents, r as defineMappingTag, t as defineScalarTag, n as defineSequenceTag, hi as dump, Si as eventsToAst, be as floatCoreTag, Te as floatJsonTag, _ as floatYaml11Tag, Ct as getScalarValue, se as intCoreTag, fe as intJsonTag, g as intYaml11Tag, Rn as jsToAst, it as legacyMapTag, Fn as load, Pn as loadAll, We as mapTag, Ae as mergeTag, o as nullCoreTag, s as nullJsonTag, l as nullYaml11Tag, He as omapTag, Ue as pairsTag, jn as parseEvents, fi as present, nt as realMapTag, Be as seqTag, Ge as setTag, i as strTag, ze as timestampTag, Hn as visit };
2251
2294
 
2252
2295
  //# sourceMappingURL=js-yaml.esm.min.mjs.map