@cdklabs/cdk-construct-connect-datalake 0.0.19 → 0.0.21

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 (355) hide show
  1. package/.jsii +9 -9
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +2 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/enums.js +1 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/enums.d.ts +1 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +7 -3
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -0
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/enums.d.ts +1 -0
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  16. package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -6
  17. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +1 -1
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/AssociateContactWithUserCommand.d.ts +5 -1
  19. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +11 -3
  20. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +3 -1
  21. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +9 -2
  22. package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.browser.d.ts +2 -0
  23. package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.d.ts +2 -0
  24. package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.native.d.ts +2 -0
  25. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  26. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  27. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  28. package/node_modules/@aws-sdk/client-connect/package.json +6 -6
  29. package/node_modules/@aws-sdk/client-glue/README.md +7 -0
  30. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +295 -118
  31. package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +2 -0
  32. package/node_modules/@aws-sdk/client-glue/dist-es/commands/BatchGetDataQualityRulesetEvaluationRunCommand.js +4 -0
  33. package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +1 -0
  34. package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +30 -13
  35. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +243 -104
  36. package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +7 -0
  37. package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +3 -2
  38. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchGetDataQualityResultCommand.d.ts +11 -0
  39. package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchGetDataQualityRulesetEvaluationRunCommand.d.ts +202 -0
  40. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateClassifierCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateColumnStatisticsTaskSettingsCommand.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateConnectionCommand.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateCrawlerCommand.d.ts +1 -2
  44. package/node_modules/@aws-sdk/client-glue/dist-types/commands/DescribeConnectionTypeCommand.d.ts +68 -0
  45. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataCatalogEncryptionSettingsCommand.d.ts +2 -1
  46. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityModelCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityModelResultCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityResultCommand.d.ts +12 -1
  49. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityRuleRecommendationRunCommand.d.ts +4 -1
  50. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityRulesetCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityRulesetEvaluationRunCommand.d.ts +48 -0
  52. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataflowGraphCommand.d.ts +1 -1
  53. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListDataQualityRuleRecommendationRunsCommand.d.ts +4 -0
  54. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListDataQualityStatisticsCommand.d.ts +9 -0
  55. package/node_modules/@aws-sdk/client-glue/dist-types/commands/RegisterConnectionTypeCommand.d.ts +67 -0
  56. package/node_modules/@aws-sdk/client-glue/dist-types/commands/SearchAssetsCommand.d.ts +1 -2
  57. package/node_modules/@aws-sdk/client-glue/dist-types/commands/SearchTablesCommand.d.ts +1 -2
  58. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartBlueprintRunCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartColumnStatisticsTaskRunCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartColumnStatisticsTaskRunScheduleCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartCrawlerCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +3 -0
  63. package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartDataQualityRulesetEvaluationRunCommand.d.ts +48 -0
  64. package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +1 -0
  65. package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +78 -29
  66. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_0.d.ts +305 -439
  67. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +3890 -3703
  68. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +416 -308
  69. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +301 -4
  70. package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.browser.d.ts +2 -0
  71. package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.d.ts +2 -0
  72. package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.native.d.ts +2 -0
  73. package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +16 -0
  74. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +17 -0
  75. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +6 -0
  76. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/BatchGetDataQualityRulesetEvaluationRunCommand.d.ts +42 -0
  77. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateClassifierCommand.d.ts +1 -1
  78. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateColumnStatisticsTaskSettingsCommand.d.ts +1 -1
  79. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateCrawlerCommand.d.ts +1 -2
  81. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataCatalogEncryptionSettingsCommand.d.ts +2 -4
  82. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityModelCommand.d.ts +1 -1
  83. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityModelResultCommand.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityResultCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityRuleRecommendationRunCommand.d.ts +1 -1
  86. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityRulesetCommand.d.ts +1 -1
  87. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataflowGraphCommand.d.ts +1 -1
  88. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/SearchAssetsCommand.d.ts +1 -2
  89. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/SearchTablesCommand.d.ts +1 -2
  90. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartBlueprintRunCommand.d.ts +1 -1
  91. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartColumnStatisticsTaskRunCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartColumnStatisticsTaskRunScheduleCommand.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartCrawlerCommand.d.ts +1 -1
  94. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +1 -0
  95. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +38 -16
  96. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_0.d.ts +74 -76
  97. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +113 -101
  98. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +109 -79
  99. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +77 -4
  100. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  101. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  102. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  103. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  104. package/node_modules/@aws-sdk/client-glue/package.json +6 -6
  105. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
  106. package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.browser.d.ts +2 -0
  107. package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.d.ts +2 -0
  108. package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.native.d.ts +2 -0
  109. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  110. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  111. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  112. package/node_modules/@aws-sdk/client-lakeformation/package.json +6 -6
  113. package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
  114. package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.browser.d.ts +2 -0
  115. package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.d.ts +2 -0
  116. package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.native.d.ts +2 -0
  117. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  118. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  119. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  120. package/node_modules/@aws-sdk/client-ram/package.json +6 -6
  121. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
  122. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -0
  123. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -0
  124. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -0
  125. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  126. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  127. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  128. package/node_modules/@aws-sdk/client-sts/package.json +8 -8
  129. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +66 -28
  130. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +989 -72
  131. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +7 -2
  132. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +28 -14
  133. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.js +1 -0
  134. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.js +3 -0
  135. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.js +8 -0
  136. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -1
  137. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +3 -3
  138. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.browser.js +9 -0
  139. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +5 -1
  140. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -0
  141. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +12 -6
  142. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +2 -1
  143. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +1 -1
  144. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +8 -5
  145. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -1
  146. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
  147. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonSettings.js +1 -0
  148. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonCodec.js → codec-v1/JsonCodec.js} +1 -1
  149. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +1 -0
  150. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonShapeDeserializer.js → codec-v1/JsonShapeDeserializer.js} +14 -5
  151. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonShapeSerializer.js → codec-v1/JsonShapeSerializer.js} +12 -2
  152. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +103 -0
  153. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +20 -0
  154. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +200 -0
  155. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +489 -0
  156. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/detectBufferParsing.js +18 -0
  157. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +22 -3
  158. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/needsReviver.js +41 -0
  159. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +33 -13
  160. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/writeKey.js +3 -0
  161. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +4 -0
  162. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
  163. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -0
  164. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -0
  165. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -0
  166. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
  167. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +22 -6
  168. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.browser.d.ts +11 -0
  169. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +7 -1
  170. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
  171. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +22 -6
  172. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
  173. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +9 -6
  174. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -1
  175. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -1
  176. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +1 -1
  177. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -1
  178. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +7 -0
  179. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonCodec.d.ts → codec-v1/JsonCodec.d.ts} +4 -8
  180. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +7 -0
  181. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonShapeDeserializer.d.ts → codec-v1/JsonShapeDeserializer.d.ts} +3 -2
  182. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonShapeSerializer.d.ts → codec-v1/JsonShapeSerializer.d.ts} +3 -2
  183. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
  184. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -0
  185. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
  186. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
  187. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
  188. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/needsReviver.d.ts +11 -0
  189. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +7 -2
  190. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/writeKey.d.ts +4 -0
  191. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -0
  192. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +1 -0
  193. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +1 -0
  194. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +4 -0
  195. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
  196. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +7 -6
  197. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +32 -0
  198. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +10 -2
  199. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
  200. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +2 -0
  201. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
  202. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +9 -6
  203. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -1
  204. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -1
  205. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +1 -1
  206. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -1
  207. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +4 -0
  208. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonCodec.d.ts → codec-v1/JsonCodec.d.ts} +3 -5
  209. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +4 -0
  210. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonShapeDeserializer.d.ts → codec-v1/JsonShapeDeserializer.d.ts} +2 -2
  211. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/{JsonShapeSerializer.d.ts → codec-v1/JsonShapeSerializer.d.ts} +2 -2
  212. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +27 -0
  213. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +9 -0
  214. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +15 -0
  215. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +39 -0
  216. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
  217. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +2 -0
  218. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +7 -2
  219. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +1 -0
  220. package/node_modules/@aws-sdk/core/package.json +11 -6
  221. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  222. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  223. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  224. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  225. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  226. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  227. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  228. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  229. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  230. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  231. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  232. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -0
  235. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -0
  236. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -0
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -0
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -0
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -0
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -0
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -0
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -0
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -0
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -0
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -0
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -0
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -0
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -0
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +2 -0
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -0
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +2 -0
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +2 -0
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +2 -0
  255. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +2 -0
  256. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +2 -0
  257. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +2 -0
  258. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -0
  259. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +2 -0
  260. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -0
  261. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +2 -0
  262. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +2 -0
  263. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +2 -0
  264. package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
  265. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  266. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  267. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +14 -4
  268. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +14 -4
  269. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  270. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1562 -338
  271. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +34 -11
  272. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +34 -11
  273. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -0
  274. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +1 -0
  275. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +1 -0
  276. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
  277. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
  278. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
  279. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -205
  280. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +1 -1
  281. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +1 -1
  282. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +113 -0
  283. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +103 -0
  284. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +621 -0
  285. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +602 -0
  286. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +5 -1
  287. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +34 -11
  288. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -0
  289. package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -0
  290. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +2 -2
  291. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -27
  292. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
  293. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +13 -0
  294. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +15 -0
  295. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +18 -0
  296. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +35 -0
  297. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +5 -1
  298. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +10 -2
  299. package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/constants.d.ts +1 -0
  300. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -27
  301. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
  302. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +13 -0
  303. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +15 -0
  304. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +18 -0
  305. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +35 -0
  306. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +5 -1
  307. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +10 -2
  308. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/constants.d.ts +1 -0
  309. package/node_modules/@smithy/core/package.json +2 -1
  310. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  311. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  312. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  313. package/node_modules/@smithy/signature-v4/package.json +2 -2
  314. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/dist/js-yaml.js +4 -4
  315. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/dist/js-yaml.min.js +1 -1
  316. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/omap.js +3 -3
  317. package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/package.json +1 -1
  318. package/node_modules/xml2js/node_modules/sax/lib/sax.js +27 -9
  319. package/node_modules/xml2js/node_modules/sax/package.json +1 -1
  320. package/package.json +12 -12
  321. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +0 -135
  322. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +0 -27
  323. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +0 -17
  324. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/LICENSE +0 -0
  325. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/README.md +0 -0
  326. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/bin/js-yaml.js +0 -0
  327. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/index.js +0 -0
  328. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/common.js +0 -0
  329. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/dumper.js +0 -0
  330. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/exception.js +0 -0
  331. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/loader.js +0 -0
  332. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/mark.js +0 -0
  333. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/core.js +0 -0
  334. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/default_full.js +0 -0
  335. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/default_safe.js +0 -0
  336. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/failsafe.js +0 -0
  337. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/json.js +0 -0
  338. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema.js +0 -0
  339. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/binary.js +0 -0
  340. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/bool.js +0 -0
  341. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/float.js +0 -0
  342. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/int.js +0 -0
  343. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/function.js +0 -0
  344. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/regexp.js +0 -0
  345. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/undefined.js +0 -0
  346. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/map.js +0 -0
  347. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/merge.js +0 -0
  348. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/null.js +0 -0
  349. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/pairs.js +0 -0
  350. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/seq.js +0 -0
  351. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/set.js +0 -0
  352. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/str.js +0 -0
  353. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/timestamp.js +0 -0
  354. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type.js +0 -0
  355. /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml.js +0 -0
@@ -1 +1 @@
1
- /*! js-yaml 3.15.0 https://github.com/nodeca/js-yaml */!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).jsyaml=e()}(function(){return function i(r,o,a){function s(t,e){if(!o[t]){if(!r[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}n=o[t]={exports:{}},r[t][0].call(n.exports,function(e){return s(r[t][1][e]||e)},n,n.exports,i,r,o,a)}return o[t].exports}for(var l="function"==typeof require&&require,e=0;e<a.length;e++)s(a[e]);return s}({1:[function(e,t,n){var i=e("./js-yaml/loader"),r=e("./js-yaml/dumper");function o(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}t.exports.Type=e("./js-yaml/type"),t.exports.Schema=e("./js-yaml/schema"),t.exports.FAILSAFE_SCHEMA=e("./js-yaml/schema/failsafe"),t.exports.JSON_SCHEMA=e("./js-yaml/schema/json"),t.exports.CORE_SCHEMA=e("./js-yaml/schema/core"),t.exports.DEFAULT_SAFE_SCHEMA=e("./js-yaml/schema/default_safe"),t.exports.DEFAULT_FULL_SCHEMA=e("./js-yaml/schema/default_full"),t.exports.load=i.load,t.exports.loadAll=i.loadAll,t.exports.safeLoad=i.safeLoad,t.exports.safeLoadAll=i.safeLoadAll,t.exports.dump=r.dump,t.exports.safeDump=r.safeDump,t.exports.YAMLException=e("./js-yaml/exception"),t.exports.MINIMAL_SCHEMA=e("./js-yaml/schema/failsafe"),t.exports.SAFE_SCHEMA=e("./js-yaml/schema/default_safe"),t.exports.DEFAULT_SCHEMA=e("./js-yaml/schema/default_full"),t.exports.scan=o("scan"),t.exports.parse=o("parse"),t.exports.compose=o("compose"),t.exports.addConstructor=o("addConstructor")},{"./js-yaml/dumper":3,"./js-yaml/exception":4,"./js-yaml/loader":5,"./js-yaml/schema":7,"./js-yaml/schema/core":8,"./js-yaml/schema/default_full":9,"./js-yaml/schema/default_safe":10,"./js-yaml/schema/failsafe":11,"./js-yaml/schema/json":12,"./js-yaml/type":13}],2:[function(e,t,n){function i(e){return null==e}t.exports.isNothing=i,t.exports.isObject=function(e){return"object"==typeof e&&null!==e},t.exports.toArray=function(e){return Array.isArray(e)?e:i(e)?[]:[e]},t.exports.repeat=function(e,t){for(var n="",i=0;i<t;i+=1)n+=e;return n},t.exports.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},t.exports.extend=function(e,t){var n,i,r,o;if(t)for(n=0,i=(o=Object.keys(t)).length;n<i;n+=1)e[r=o[n]]=t[r];return e}},{}],3:[function(e,t,F){var l=e("./common"),W=e("./exception"),n=e("./schema/default_full"),i=e("./schema/default_safe"),$=Object.prototype.toString,c=Object.prototype.hasOwnProperty,r=9,H=10,o=13,M=32,_=33,T=34,h=35,N=37,L=38,D=39,U=42,m=44,q=45,g=58,Y=61,K=62,R=63,B=64,y=91,x=93,P=96,A=123,z=124,b=125,J={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},Q=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function s(e){var t,n,i=e.toString(16).toUpperCase();if(e<=255)t="x",n=2;else if(e<=65535)t="u",n=4;else{if(!(e<=4294967295))throw new W("code point within a string may not be greater than 0xFFFFFFFF");t="U",n=8}return"\\"+t+l.repeat("0",n-i.length)+i}function X(e){this.schema=e.schema||n,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=l.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=((e,t)=>{var n,i,r,o,a,s,l;if(null===t)return{};for(n={},r=0,o=(i=Object.keys(t)).length;r<o;r+=1)a=i[r],s=String(t[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(l=e.compiledTypeMap.fallback[a])&&c.call(l.styleAliases,s)&&(s=l.styleAliases[s]),n[a]=s;return n})(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function u(e,t){for(var n,i,r=l.repeat(" ",t),o=0,a="",s=e.length;o<s;)o=-1===(n=e.indexOf("\n",o))?(i=e.slice(o),s):(i=e.slice(o,n+1),n+1),i.length&&"\n"!==i&&(a+=r),a+=i;return a}function G(e,t){return"\n"+l.repeat(" ",e.indent*t)}function v(e){return e===M||e===r}function w(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function k(e,t){return w(e)&&65279!==e&&e!==m&&e!==y&&e!==x&&e!==A&&e!==b&&e!==g&&(e!==h||t&&w(e=t)&&!v(e)&&65279!==e&&e!==o&&e!==H)}function C(e){return/^\n* /.test(e)}var j=1,S=2,I=3,O=4,E=5;function ee(e,t,n,i,r){var o,a,s,l,c=!1,u=!1,p=-1!==i,f=-1,d=w(l=e.charCodeAt(0))&&65279!==l&&!v(l)&&l!==q&&l!==R&&l!==g&&l!==m&&l!==y&&l!==x&&l!==A&&l!==b&&l!==h&&l!==L&&l!==U&&l!==_&&l!==z&&l!==Y&&l!==K&&l!==D&&l!==T&&l!==N&&l!==B&&l!==P&&!v(e.charCodeAt(e.length-1));if(t)for(o=0;o<e.length;o++){if(!w(a=e.charCodeAt(o)))return E;s=0<o?e.charCodeAt(o-1):null,d=d&&k(a,s)}else{for(o=0;o<e.length;o++){if((a=e.charCodeAt(o))===H)c=!0,p&&(u=u||i<o-f-1&&" "!==e[f+1],f=o);else if(!w(a))return E;s=0<o?e.charCodeAt(o-1):null,d=d&&k(a,s)}u=u||p&&i<o-f-1&&" "!==e[f+1]}return c||u?9<n&&C(e)?E:u?O:I:d&&!r(e)?j:S}function te(o,i,r,a){o.dump=(()=>{if(0===i.length)return"''";if(!o.noCompatMode&&-1!==Q.indexOf(i))return"'"+i+"'";var e=o.indent*Math.max(1,r),t=-1===o.lineWidth?-1:Math.max(Math.min(o.lineWidth,40),o.lineWidth-e),n=a||-1<o.flowLevel&&r>=o.flowLevel;switch(ee(i,n,o.indent,t,function(e){for(var t=o,n=e,i=0,r=t.implicitTypes.length;i<r;i+=1)if(t.implicitTypes[i].resolve(n))return 1;return})){case j:return i;case S:return"'"+i.replace(/'/g,"''")+"'";case I:return"|"+p(i,o.indent)+f(u(i,e));case O:return">"+p(i,o.indent)+f(u(((t,n)=>{for(var e,i=/(\n+)([^\n]*)/g,r=(()=>{var e=-1!==(e=t.indexOf("\n"))?e:t.length;return i.lastIndex=e,d(t.slice(0,e),n)})(),o="\n"===t[0]||" "===t[0];s=i.exec(t);){var a=s[1],s=s[2];e=" "===s[0],r+=a+(o||e||""===s?"":"\n")+d(s,n),o=e}return r})(i,t),e));case E:return'"'+(e=>{for(var t,n,i="",r=0;r<e.length;r++)55296<=(t=e.charCodeAt(r))&&t<=56319&&56320<=(n=e.charCodeAt(r+1))&&n<=57343?(i+=s(1024*(t-55296)+n-56320+65536),r++):(n=J[t],i+=!n&&w(t)?e[r]:n||s(t));return i})(i)+'"';default:throw new W("impossible error: invalid scalar style")}})()}function p(e,t){var t=C(e)?String(t):"",n="\n"===e[e.length-1];return t+(n&&("\n"===e[e.length-2]||"\n"===e)?"+":n?"":"-")+"\n"}function f(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function d(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,o=0,a=0,s="";i=r.exec(e);)t<(i=i.index)-o&&(s+="\n"+e.slice(o,n=o<a?a:i),o=n+1),a=i;return s+="\n",e.length-o>t&&o<a?s+=e.slice(o,a)+"\n"+e.slice(a+1):s+=e.slice(o),s.slice(1)}function V(e,t,n){for(var i,r,o,a=n?e.explicitTypes:e.implicitTypes,s=0,l=a.length;s<l;s+=1)if(((r=a[s]).instanceOf||r.predicate)&&(!r.instanceOf||"object"==typeof t&&t instanceof r.instanceOf)&&(!r.predicate||r.predicate(t))){if(e.tag=n?r.tag:"?",r.represent){if(o=e.styleMap[r.tag]||r.defaultStyle,"[object Function]"===$.call(r.represent))i=r.represent(t,o);else{if(!c.call(r.represent,o))throw new W("!<"+r.tag+'> tag resolver accepts not "'+o+'" style');i=r.represent[o](t,o)}e.dump=i}return 1}}function Z(e,t,n,i,r,D){e.tag=null,e.dump=n,V(e,n,!1)||V(e,n,!0);var o,a,s=$.call(e.dump),l=(i=i&&(e.flowLevel<0||e.flowLevel>t),"[object Object]"===s||"[object Array]"===s);if(l&&(a=-1!==(o=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||a||2!==e.indent&&0<t)&&(r=!1),a&&e.usedDuplicates[o])e.dump="*ref_"+o;else{if(l&&a&&!e.usedDuplicates[o]&&(e.usedDuplicates[o]=!0),"[object Object]"===s)if(i&&0!==Object.keys(e.dump).length){var c,u,p,f,d,h=e,m=t,g=e.dump,U=r,y="",n=h.tag,x=Object.keys(g);if(!0===h.sortKeys)x.sort();else if("function"==typeof h.sortKeys)x.sort(h.sortKeys);else if(h.sortKeys)throw new W("sortKeys must be a boolean or a function");for(c=0,u=x.length;c<u;c+=1)d="",U&&0===c||(d+=G(h,m)),p=g[f=x[c]],Z(h,m+1,f,!0,!0,!0)&&((f=null!==h.tag&&"?"!==h.tag||h.dump&&1024<h.dump.length)&&(h.dump&&H===h.dump.charCodeAt(0)?d+="?":d+="? "),d+=h.dump,f&&(d+=G(h,m)),Z(h,m+1,p,!0,f))&&(h.dump&&H===h.dump.charCodeAt(0)?d+=":":d+=": ",y+=d+=h.dump);h.tag=n,h.dump=y||"{}",a&&(e.dump="&ref_"+o+e.dump)}else{for(var A,b,v,w=e,k=t,C=e.dump,j="",l=w.tag,S=Object.keys(C),I=0,q=S.length;I<q;I+=1)v="",0!==I&&(v+=", "),w.condenseFlow&&(v+='"'),b=C[A=S[I]],Z(w,k,A,!1,!1)&&(1024<w.dump.length&&(v+="? "),v+=w.dump+(w.condenseFlow?'"':"")+":"+(w.condenseFlow?"":" "),Z(w,k,b,!1,!1))&&(j+=v+=w.dump);w.tag=l,w.dump="{"+j+"}",a&&(e.dump="&ref_"+o+" "+e.dump)}else if("[object Array]"===s){n=e.noArrayIndent&&0<t?t-1:t;if(i&&0!==e.dump.length){for(var O=e,E=n,F=e.dump,Y=r,M="",l=O.tag,_=0,K=F.length;_<K;_+=1)Z(O,E+1,F[_],!0,!0)&&(Y&&0===_||(M+=G(O,E)),O.dump&&H===O.dump.charCodeAt(0)?M+="-":M+="- ",M+=O.dump);O.tag=l,O.dump=M||"[]",a&&(e.dump="&ref_"+o+e.dump)}else{for(var T=e,R=n,B=e.dump,N="",i=T.tag,L=0,P=B.length;L<P;L+=1)Z(T,R,B[L],!1,!1)&&(0!==L&&(N+=","+(T.condenseFlow?"":" ")),N+=T.dump);T.tag=i,T.dump="["+N+"]",a&&(e.dump="&ref_"+o+" "+e.dump)}}else{if("[object String]"!==s){if(e.skipInvalid)return;throw new W("unacceptable kind of an object to dump "+s)}"?"!==e.tag&&te(e,e.dump,t,D)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return 1}function ne(e,t){var n,i,r=[],o=[];for(!function e(t,n,i){var r,o,a;if(null!==t&&"object"==typeof t)if(-1!==(o=n.indexOf(t)))-1===i.indexOf(o)&&i.push(o);else if(n.push(t),Array.isArray(t))for(o=0,a=t.length;o<a;o+=1)e(t[o],n,i);else for(r=Object.keys(t),o=0,a=r.length;o<a;o+=1)e(t[r[o]],n,i)}(e,r,o),n=0,i=o.length;n<i;n+=1)t.duplicates.push(r[o[n]]);t.usedDuplicates=new Array(i)}function a(e,t){t=new X(t=t||{});return t.noRefs||ne(e,t),Z(t,0,e,!0,!0)?t.dump+"\n":""}t.exports.dump=a,t.exports.safeDump=function(e,t){return a(e,l.extend({schema:i},t))}},{"./common":2,"./exception":4,"./schema/default_full":9,"./schema/default_safe":10}],4:[function(e,t,n){function i(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}((i.prototype=Object.create(Error.prototype)).constructor=i).prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},t.exports=i},{}],5:[function(e,t,s){var h=e("./common"),n=e("./exception"),l=e("./mark"),i=e("./schema/default_safe"),c=e("./schema/default_full"),m=Object.prototype.hasOwnProperty,g=1,y=2,x=3,A=4,b=1,Y=2,v=3,K=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,R=/[\x85\u2028\u2029]/,B=/[,\[\]\{\}]/,w=/^(?:!|!!|![a-z\-]+!)$/i,k=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function u(e){return Object.prototype.toString.call(e)}function C(e){return 10===e||13===e}function j(e){return 9===e||32===e}function S(e){return 9===e||32===e||10===e||13===e}function I(e){return 44===e||91===e||93===e||123===e||125===e}function r(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function p(e,t,n){"__proto__"===t?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}for(var f=new Array(256),d=new Array(256),o=0;o<256;o++)f[o]=r(o)?1:0,d[o]=r(o);function P(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||c,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxTotalMergeKeys="number"==typeof t.maxTotalMergeKeys?t.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.totalMergeKeys=0,this.documents=[]}function a(e,t){return new n(t,new l(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function O(e,t){throw a(e,t)}function E(e,t){e.onWarning&&e.onWarning.call(null,a(e,t))}var F={YAML:function(e,t,n){var i,r;null!==e.version&&O(e,"duplication of %YAML directive"),1!==n.length&&O(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&O(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),r=parseInt(r[2],10),1!==i&&O(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=r<2,1!==r&&2!==r&&E(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i;2!==n.length&&O(e,"TAG directive accepts exactly two arguments"),i=n[1],w.test(n=n[0])||O(e,"ill-formed tag handle (first argument) of the TAG directive"),m.call(e.tagMap,n)&&O(e,'there is a previously declared suffix for "'+n+'" tag handle'),k.test(i)||O(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=i}};function M(e,t,n,i){var r,o,a,s;if(t<n){if(s=e.input.slice(t,n),i)for(r=0,o=s.length;r<o;r+=1)9===(a=s.charCodeAt(r))||32<=a&&a<=1114111||O(e,"expected valid JSON character");else K.test(s)&&O(e,"the stream contains non-printable characters");e.result+=s}}function _(e,t,n,i){var r,o,a,s;for(h.isObject(n)||O(e,"cannot merge mappings; the provided source object is unacceptable"),a=0,s=(r=Object.keys(n)).length;a<s;a+=1)o=r[a],-1!==e.maxTotalMergeKeys&&++e.totalMergeKeys>e.maxTotalMergeKeys&&O(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")"),m.call(t,o)||(p(t,o,n[o]),i[o]=!0)}function T(e,t,n,i,r,o,a,s){var l,c;if(Array.isArray(r))for(l=0,c=(r=Array.prototype.slice.call(r)).length;l<c;l+=1)Array.isArray(r[l])&&O(e,"nested arrays are not supported inside keys"),"object"==typeof r&&"[object Object]"===u(r[l])&&(r[l]="[object Object]");if("object"==typeof r&&"[object Object]"===u(r)&&(r="[object Object]"),r=String(r),null===t&&(t={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(o))for(l=0,c=o.length;l<c;l+=1)_(e,t,o[l],n);else _(e,t,o,n);else e.json||m.call(n,r)||!m.call(t,r)||(e.line=a||e.line,e.position=s||e.position,O(e,"duplicated mapping key")),p(t,r,o),delete n[r];return t}function N(e){var t=e.input.charCodeAt(e.position);10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):O(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function L(e,t,n){for(var i=0,r=e.input.charCodeAt(e.position);0!==r;){for(;j(r);)r=e.input.charCodeAt(++e.position);if(t&&35===r)for(;10!==(r=e.input.charCodeAt(++e.position))&&13!==r&&0!==r;);if(!C(r))break;for(N(e),r=e.input.charCodeAt(e.position),i++,e.lineIndent=0;32===r;)e.lineIndent++,r=e.input.charCodeAt(++e.position)}return-1!==n&&0!==i&&e.lineIndent<n&&E(e,"deficient indentation"),i}function D(e){var t=e.position,n=e.input.charCodeAt(t);return!(45!==n&&46!==n||n!==e.input.charCodeAt(t+1)||n!==e.input.charCodeAt(t+2)||0!==(n=e.input.charCodeAt(t+=3))&&!S(n))}function U(e,t){1===t?e.result+=" ":1<t&&(e.result+=h.repeat("\n",t-1))}function W(e,t){var n,i,r,o,a,s,l,c=e.input.charCodeAt(e.position);if(34===c){for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(c=e.input.charCodeAt(e.position));){if(34===c)return M(e,n,e.position,!0),e.position++,1;if(92===c){if(M(e,n,e.position,!0),C(c=e.input.charCodeAt(++e.position)))L(e,!1,t);else if(c<256&&f[c])e.result+=d[c],e.position++;else if(0<(a=120===(l=c)?2:117===l?4:85===l?8:0)){for(r=a,o=0;0<r;r--)c=e.input.charCodeAt(++e.position),0<=(a=48<=(s=c)&&s<=57?s-48:97<=(s=32|s)&&s<=102?s-97+10:-1)?o=(o<<4)+a:O(e,"expected hexadecimal character");e.result+=(l=o)<=65535?String.fromCharCode(l):String.fromCharCode(55296+(l-65536>>10),56320+(l-65536&1023)),e.position++}else O(e,"unknown escape sequence");n=i=e.position}else C(c)?(M(e,n,i,!0),U(e,L(e,!1,t)),n=i=e.position):e.position===e.lineStart&&D(e)?O(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}O(e,"unexpected end of the stream within a double quoted scalar")}}function $(e,t){var n,i,r=e.tag,o=e.anchor,a=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),i=e.input.charCodeAt(e.position);0!==i&&45===i&&S(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,L(e,!0,-1)&&e.lineIndent<=t)a.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,q(e,t,x,!1,!0),a.push(e.result),L(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)O(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!s&&(e.tag=r,e.anchor=o,e.kind="sequence",e.result=a,!0)}function q(e,t,n,i,r){var o,a,s,l,c,u,p=1,f=!1,d=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,o=a=s=A===n||x===n,i&&L(e,!0,-1)&&(f=!0,e.lineIndent>t?p=1:e.lineIndent===t?p=0:e.lineIndent<t&&(p=-1)),1===p)for(;(e=>{var t,n,i,r=!1,o=!1,a=e.input.charCodeAt(e.position);if(33===a){if(null!==e.tag&&O(e,"duplication of a tag property"),60===(a=e.input.charCodeAt(++e.position))?(r=!0,a=e.input.charCodeAt(++e.position)):33===a?(o=!0,n="!!",a=e.input.charCodeAt(++e.position)):n="!",t=e.position,r){for(;0!==(a=e.input.charCodeAt(++e.position))&&62!==a;);e.position<e.length?(i=e.input.slice(t,e.position),a=e.input.charCodeAt(++e.position)):O(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==a&&!S(a);)33===a&&(o?O(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),w.test(n)||O(e,"named tag handle cannot contain such characters"),o=!0,t=e.position+1)),a=e.input.charCodeAt(++e.position);i=e.input.slice(t,e.position),B.test(i)&&O(e,"tag suffix cannot contain flow indicator characters")}return i&&!k.test(i)&&O(e,"tag name cannot contain such characters: "+i),r?e.tag=i:m.call(e.tagMap,n)?e.tag=e.tagMap[n]+i:"!"===n?e.tag="!"+i:"!!"===n?e.tag="tag:yaml.org,2002:"+i:O(e,'undeclared tag handle "'+n+'"'),1}})(e)||(e=>{var t,n=e.input.charCodeAt(e.position);if(38===n){for(null!==e.anchor&&O(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!S(n)&&!I(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&O(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),1}})(e);)L(e,!0,-1)?(f=!0,s=o,e.lineIndent>t?p=1:e.lineIndent===t?p=0:e.lineIndent<t&&(p=-1)):s=!1;if(s=s&&(f||r),1!==p&&A!==n||(i=g===n||y===n?t:t+1,r=e.position-e.lineStart,1===p?s&&($(e,r)||((e,t,n)=>{var i,r,o,a,s,l=e.tag,c=e.anchor,u={},p={},f=null,d=null,h=null,m=!1,g=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=u),s=e.input.charCodeAt(e.position);0!==s;){if(i=e.input.charCodeAt(e.position+1),o=e.line,a=e.position,63!==s&&58!==s||!S(i)){if(!q(e,n,y,!1,!0))break;if(e.line===o){for(s=e.input.charCodeAt(e.position);j(s);)s=e.input.charCodeAt(++e.position);if(58===s)S(s=e.input.charCodeAt(++e.position))||O(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(T(e,u,p,f,d,null),f=d=h=null),r=m=!(g=!0),f=e.tag,d=e.result;else{if(!g)return e.tag=l,e.anchor=c,1;O(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!g)return e.tag=l,e.anchor=c,1;O(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===s?(m&&(T(e,u,p,f,d,null),f=d=h=null),r=m=g=!0):m?r=!(m=!1):O(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,s=i;if((e.line===o||e.lineIndent>t)&&(q(e,t,A,!0,r)&&(m?d=e.result:h=e.result),m||(T(e,u,p,f,d,h,o,a),f=d=h=null),L(e,!0,-1),s=e.input.charCodeAt(e.position)),t<e.lineIndent&&0!==s)O(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&T(e,u,p,f,d,null),g&&(e.tag=l,e.anchor=c,e.kind="mapping",e.result=u),g})(e,r,i))||((e,t)=>{var n,i,r,o,a,s,l,c,u,p=!0,f=e.tag,d=e.anchor,h={},m=e.input.charCodeAt(e.position);if(91===m)s=!(r=93),i=[];else{if(123!==m)return;r=125,s=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),m=e.input.charCodeAt(++e.position);0!==m;){if(L(e,!0,t),(m=e.input.charCodeAt(e.position))===r)return e.position++,e.tag=f,e.anchor=d,e.kind=s?"mapping":"sequence",e.result=i,1;p||O(e,"missed comma between flow collection entries"),u=null,o=a=!1,63===m&&S(e.input.charCodeAt(e.position+1))&&(o=a=!0,e.position++,L(e,!0,t)),n=e.line,q(e,t,g,!1,!0),c=e.tag,l=e.result,L(e,!0,t),m=e.input.charCodeAt(e.position),!a&&e.line!==n||58!==m||(o=!0,m=e.input.charCodeAt(++e.position),L(e,!0,t),q(e,t,g,!1,!0),u=e.result),s?T(e,i,h,c,l,u):o?i.push(T(e,null,h,c,l,u)):i.push(l),L(e,!0,t),44===(m=e.input.charCodeAt(e.position))?(p=!0,m=e.input.charCodeAt(++e.position)):p=!1}O(e,"unexpected end of the stream within a flow collection")})(e,i)?d=!0:(a&&((e,t)=>{var n,i,r,o=b,a=!1,s=!1,l=t,c=0,u=!1,p=e.input.charCodeAt(e.position);if(124===p)i=!1;else{if(62!==p)return;i=!0}for(e.kind="scalar",e.result="";0!==p;)if(43===(p=e.input.charCodeAt(++e.position))||45===p)b===o?o=43===p?v:Y:O(e,"repeat of a chomping mode identifier");else{if(!(0<=(r=48<=(r=p)&&r<=57?r-48:-1)))break;0==r?O(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?O(e,"repeat of an indentation width identifier"):(l=t+r-1,s=!0)}if(j(p)){for(;j(p=e.input.charCodeAt(++e.position)););if(35===p)for(;!C(p=e.input.charCodeAt(++e.position))&&0!==p;);}for(;0!==p;){for(N(e),e.lineIndent=0,p=e.input.charCodeAt(e.position);(!s||e.lineIndent<l)&&32===p;)e.lineIndent++,p=e.input.charCodeAt(++e.position);if(!s&&e.lineIndent>l&&(l=e.lineIndent),C(p))c++;else{if(e.lineIndent<l){o===v?e.result+=h.repeat("\n",a?1+c:c):o===b&&a&&(e.result+="\n");break}for(i?j(p)?(u=!0,e.result+=h.repeat("\n",a?1+c:c)):u?(u=!1,e.result+=h.repeat("\n",c+1)):0===c?a&&(e.result+=" "):e.result+=h.repeat("\n",c):e.result+=h.repeat("\n",a?1+c:c),s=a=!0,c=0,n=e.position;!C(p)&&0!==p;)p=e.input.charCodeAt(++e.position);M(e,n,e.position,!1)}}return 1})(e,i)||((e,t)=>{var n,i,r=e.input.charCodeAt(e.position);if(39===r){for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(M(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return 1;n=e.position,e.position++,i=e.position}else C(r)?(M(e,n,i,!0),U(e,L(e,!1,t)),n=i=e.position):e.position===e.lineStart&&D(e)?O(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);O(e,"unexpected end of the stream within a single quoted scalar")}})(e,i)||W(e,i)?d=!0:(e=>{var t,n=e.input.charCodeAt(e.position);if(42===n){for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!S(n)&&!I(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&O(e,"name of an alias node must contain at least one character"),t=e.input.slice(t,e.position),m.call(e.anchorMap,t)||O(e,'unidentified alias "'+t+'"'),e.result=e.anchorMap[t],L(e,!0,-1),1}})(e)?(d=!0,null===e.tag&&null===e.anchor||O(e,"alias node should not have any properties")):((e,t,n)=>{var i,r,o,a,s,l,c,u=e.kind,p=e.result,f=e.input.charCodeAt(e.position);if(!S(f)&&!I(f)&&35!==f&&38!==f&&42!==f&&33!==f&&124!==f&&62!==f&&39!==f&&34!==f&&37!==f&&64!==f&&96!==f&&(63!==f&&45!==f||!(S(i=e.input.charCodeAt(e.position+1))||n&&I(i)))){for(e.kind="scalar",e.result="",r=o=e.position,a=!1;0!==f;){if(58===f){if(S(i=e.input.charCodeAt(e.position+1))||n&&I(i))break}else if(35===f){if(S(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&D(e)||n&&I(f))break;if(C(f)){if(s=e.line,l=e.lineStart,c=e.lineIndent,L(e,!1,-1),t<=e.lineIndent){a=!0,f=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=l,e.lineIndent=c;break}}a&&(M(e,r,o,!1),U(e,e.line-s),r=o=e.position,a=!1),j(f)||(o=e.position+1),f=e.input.charCodeAt(++e.position)}if(M(e,r,o,!1),e.result)return 1;e.kind=u,e.result=p}})(e,i,g===n)&&(d=!0,null===e.tag)&&(e.tag="?"),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===p&&(d=s&&$(e,r))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&O(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l<c;l+=1)if((u=e.implicitTypes[l]).resolve(e.result)){e.result=u.construct(e.result),e.tag=u.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else m.call(e.typeMap[e.kind||"fallback"],e.tag)?(u=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&u.kind!==e.kind&&O(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+u.kind+'", not "'+e.kind+'"'),u.resolve(e.result)?(e.result=u.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):O(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):O(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||d}function H(e,t){t=t||{};var n=new P(e=0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0))?e.slice(1):e,t),t=e.indexOf("\0");for(-1!==t&&(n.position=t,O(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;){a=c=o=r=i=l=s=void 0;var i,r,o,a,s=n,l=s.position,c=!1;for(s.version=null,s.checkLineBreaks=s.legacy,s.tagMap={},s.anchorMap={};0!==(a=s.input.charCodeAt(s.position))&&(L(s,!0,-1),a=s.input.charCodeAt(s.position),!(0<s.lineIndent||37!==a));){for(c=!0,a=s.input.charCodeAt(++s.position),i=s.position;0!==a&&!S(a);)a=s.input.charCodeAt(++s.position);for(o=[],(r=s.input.slice(i,s.position)).length<1&&O(s,"directive name must not be less than one character in length");0!==a;){for(;j(a);)a=s.input.charCodeAt(++s.position);if(35===a){for(;0!==(a=s.input.charCodeAt(++s.position))&&!C(a););break}if(C(a))break;for(i=s.position;0!==a&&!S(a);)a=s.input.charCodeAt(++s.position);o.push(s.input.slice(i,s.position))}0!==a&&N(s),m.call(F,r)?F[r](s,r,o):E(s,'unknown document directive "'+r+'"')}L(s,!0,-1),0===s.lineIndent&&45===s.input.charCodeAt(s.position)&&45===s.input.charCodeAt(s.position+1)&&45===s.input.charCodeAt(s.position+2)?(s.position+=3,L(s,!0,-1)):c&&O(s,"directives end mark is expected"),q(s,s.lineIndent-1,A,!1,!0),L(s,!0,-1),s.checkLineBreaks&&R.test(s.input.slice(l,s.position))&&E(s,"non-ASCII line breaks are interpreted as content"),s.documents.push(s.result),s.position===s.lineStart&&D(s)?46===s.input.charCodeAt(s.position)&&(s.position+=3,L(s,!0,-1)):s.position<s.length-1&&O(s,"end of the stream or a document separator is expected")}return n.documents}function G(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);var i=H(e,n);if("function"!=typeof t)return i;for(var r=0,o=i.length;r<o;r+=1)t(i[r])}function V(e,t){e=H(e,t);if(0!==e.length){if(1===e.length)return e[0];throw new n("expected a single document in the stream, but found more")}}t.exports.loadAll=G,t.exports.load=V,t.exports.safeLoadAll=function(e,t,n){return"object"==typeof t&&null!==t&&void 0===n&&(n=t,t=null),G(e,t,h.extend({schema:i},n))},t.exports.safeLoad=function(e,t){return V(e,h.extend({schema:i},t))}},{"./common":2,"./exception":4,"./mark":6,"./schema/default_full":9,"./schema/default_safe":10}],6:[function(e,t,n){var s=e("./common");function i(e,t,n,i,r){this.name=e,this.buffer=t,this.position=n,this.line=i,this.column=r}i.prototype.getSnippet=function(e,t){var n,i,r,o,a;if(!this.buffer)return null;for(e=e||4,t=t||75,n="",i=this.position;0<i&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(this.position- --i>t/2-1){n=" ... ",i+=5;break}for(r="",o=this.position;o<this.buffer.length&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(o));)if((o+=1)-this.position>t/2-1){r=" ... ",o-=5;break}return a=this.buffer.slice(i,o),s.repeat(" ",e)+n+a+r+"\n"+s.repeat(" ",e+this.position-i+n.length)+"^"},i.prototype.toString=function(e){var t="";return this.name&&(t+='in "'+this.name+'" '),t+="at line "+(this.line+1)+", column "+(this.column+1),e||(e=this.getSnippet())&&(t+=":\n"+e),t},t.exports=i},{"./common":2}],7:[function(e,t,n){var i=e("./common"),r=e("./exception"),o=e("./type");function a(e,t,i){var r=[];return e.include.forEach(function(e){i=a(e,t,i)}),e[t].forEach(function(n){i.forEach(function(e,t){e.tag===n.tag&&e.kind===n.kind&&r.push(t)}),i.push(n)}),i.filter(function(e,t){return-1===r.indexOf(t)})}function s(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach(function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new r("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=a(this,"implicit",[]),this.compiledExplicit=a(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function i(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(i);return n}(this.compiledImplicit,this.compiledExplicit)}s.DEFAULT=null,s.create=function(){var e,t;switch(arguments.length){case 1:e=s.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new r("Wrong number of arguments for Schema.create function")}if(e=i.toArray(e),t=i.toArray(t),!e.every(function(e){return e instanceof s}))throw new r("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(t.every(function(e){return e instanceof o}))return new s({include:e,explicit:t});throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.")},t.exports=s},{"./common":2,"./exception":4,"./type":13}],8:[function(e,t,n){var i=e("../schema");t.exports=new i({include:[e("./json")]})},{"../schema":7,"./json":12}],9:[function(e,t,n){var i=e("../schema");t.exports=i.DEFAULT=new i({include:[e("./default_safe")],explicit:[e("../type/js/undefined"),e("../type/js/regexp"),e("../type/js/function")]})},{"../schema":7,"../type/js/function":18,"../type/js/regexp":19,"../type/js/undefined":20,"./default_safe":10}],10:[function(e,t,n){var i=e("../schema");t.exports=new i({include:[e("./core")],implicit:[e("../type/timestamp"),e("../type/merge")],explicit:[e("../type/binary"),e("../type/omap"),e("../type/pairs"),e("../type/set")]})},{"../schema":7,"../type/binary":14,"../type/merge":22,"../type/omap":24,"../type/pairs":25,"../type/set":27,"../type/timestamp":29,"./core":8}],11:[function(e,t,n){var i=e("../schema");t.exports=new i({explicit:[e("../type/str"),e("../type/seq"),e("../type/map")]})},{"../schema":7,"../type/map":21,"../type/seq":26,"../type/str":28}],12:[function(e,t,n){var i=e("../schema");t.exports=new i({include:[e("./failsafe")],implicit:[e("../type/null"),e("../type/bool"),e("../type/int"),e("../type/float")]})},{"../schema":7,"../type/bool":15,"../type/float":16,"../type/int":17,"../type/null":23,"./failsafe":11}],13:[function(e,t,n){var r=e("./exception"),o=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];t.exports=function(t,e){var n,i;if(e=e||{},Object.keys(e).forEach(function(e){if(-1===o.indexOf(e))throw new r('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(e){return e},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=(n=e.styleAliases||null,i={},null!==n&&Object.keys(n).forEach(function(t){n[t].forEach(function(e){i[String(e)]=t})}),i),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}},{"./exception":4}],14:[function(e,t,n){try{var s=e("buffer").Buffer}catch(e){}var e=e("../type"),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";t.exports=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;for(var t,n=0,i=e.length,r=l,o=0;o<i;o++)if(!(64<(t=r.indexOf(e.charAt(o))))){if(t<0)return!1;n+=6}return n%8==0},construct:function(e){for(var t=e.replace(/[\r\n=]/g,""),n=t.length,i=l,r=0,o=[],a=0;a<n;a++)a%4==0&&a&&(o.push(r>>16&255),o.push(r>>8&255),o.push(255&r)),r=r<<6|i.indexOf(t.charAt(a));return 0==(e=n%4*6)?(o.push(r>>16&255),o.push(r>>8&255),o.push(255&r)):18==e?(o.push(r>>10&255),o.push(r>>2&255)):12==e&&o.push(r>>4&255),s?s.from?s.from(o):new s(o):o},predicate:function(e){return s&&s.isBuffer(e)},represent:function(e){for(var t,n="",i=0,r=e.length,o=l,a=0;a<r;a++)a%3==0&&a&&(n=(n=n+o[i>>18&63]+o[i>>12&63])+o[i>>6&63]+o[63&i]),i=(i<<8)+e[a];return 0==(t=r%3)?n=(n=n+o[i>>18&63]+o[i>>12&63])+o[i>>6&63]+o[63&i]:2==t?n=(n=n+o[i>>10&63]+o[i>>4&63])+o[i<<2&63]+o[64]:1==t&&(n=(n=n+o[i>>2&63]+o[i<<4&63])+o[64]+o[64]),n}})},{"../type":13}],15:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){var t;return null!==e&&(4===(t=e.length)&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e))},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},{"../type":13}],16:[function(e,t,n){var i=e("../common"),e=e("../type"),r=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var o=/^[-+]?[0-9]+e/;t.exports=new e("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!r.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n=e.replace(/_/g,"").toLowerCase(),e="-"===n[0]?-1:1,i=[];return".inf"===(n=0<="+-".indexOf(n[0])?n.slice(1):n)?1==e?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===n?NaN:0<=n.indexOf(":")?(n.split(":").forEach(function(e){i.unshift(parseFloat(e,10))}),n=0,t=1,i.forEach(function(e){n+=e*t,t*=60}),e*n):e*parseFloat(n,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||i.isNegativeZero(e))},represent:function(e,t){if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(i.isNegativeZero(e))return"-0.0";return t=e.toString(10),o.test(t)?t.replace("e",".e"):t},defaultStyle:"lowercase"})},{"../common":2,"../type":13}],17:[function(e,t,n){var i=e("../common"),e=e("../type");t.exports=new e("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i,r,o=e.length,a=0,s=!1;if(!o)return!1;if("0"===(t="-"!==(t=e[a])&&"+"!==t?t:e[++a])){if(a+1===o)return!0;if("b"===(t=e[++a])){for(a++;a<o;a++)if("_"!==(t=e[a])){if("0"!==t&&"1"!==t)return!1;s=!0}}else if("x"===t){for(a++;a<o;a++)if("_"!==(t=e[a])){if(!(48<=(i=e.charCodeAt(a))&&i<=57||65<=i&&i<=70||97<=i&&i<=102))return!1;s=!0}}else for(;a<o;a++)if("_"!==(t=e[a])){if(!(48<=(n=e.charCodeAt(a))&&n<=55))return!1;s=!0}return s&&"_"!==t}if("_"===t)return!1;for(;a<o;a++)if("_"!==(t=e[a])){if(":"===t)break;if(!(48<=(r=e.charCodeAt(a))&&r<=57))return!1;s=!0}return!(!s||"_"===t)&&(":"!==t||/^(:[0-5]?[0-9])+$/.test(e.slice(a)))},construct:function(e){var t,n,i=e,e=1,r=[];return"-"!==(t=(i=-1!==i.indexOf("_")?i.replace(/_/g,""):i)[0])&&"+"!==t||("-"===t&&(e=-1),t=(i=i.slice(1))[0]),"0"===i?0:"0"===t?"b"===i[1]?e*parseInt(i.slice(2),2):"x"===i[1]?e*parseInt(i,16):e*parseInt(i,8):-1!==i.indexOf(":")?(i.split(":").forEach(function(e){r.unshift(parseInt(e,10))}),i=0,n=1,r.forEach(function(e){i+=e*n,n*=60}),e*i):e*parseInt(i,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!i.isNegativeZero(e)},represent:{binary:function(e){return 0<=e?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return 0<=e?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return 0<=e?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":2,"../type":13}],18:[function(e,t,n){try{var r=e("esprima")}catch(e){"undefined"!=typeof window&&(r=window.esprima)}e=e("../../type");t.exports=new e("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=r.parse(t,{range:!0});return"Program"!==n.type||1!==n.body.length||"ExpressionStatement"!==n.body[0].type||"ArrowFunctionExpression"!==n.body[0].expression.type&&"FunctionExpression"!==n.body[0].expression.type?!1:!0}catch(e){return!1}},construct:function(e){var t,e="("+e+")",n=r.parse(e,{range:!0}),i=[];if("Program"!==n.type||1!==n.body.length||"ExpressionStatement"!==n.body[0].type||"ArrowFunctionExpression"!==n.body[0].expression.type&&"FunctionExpression"!==n.body[0].expression.type)throw new Error("Failed to resolve function");return n.body[0].expression.params.forEach(function(e){i.push(e.name)}),t=n.body[0].expression.body.range,"BlockStatement"===n.body[0].expression.body.type?new Function(i,e.slice(t[0]+1,t[1]-1)):new Function(i,"return "+e.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}})},{"../../type":13}],19:[function(e,t,n){e=e("../../type");t.exports=new e("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,e=/\/([gim]*)$/.exec(e),n="";if("/"===t[0]){if(3<(n=e?e[1]:n).length)return!1;if("/"!==t[t.length-n.length-1])return!1}return!0},construct:function(e){var t=e,e=/\/([gim]*)$/.exec(e),n="";return"/"===t[0]&&(e&&(n=e[1]),t=t.slice(1,t.length-n.length-1)),new RegExp(t,n)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}})},{"../../type":13}],20:[function(e,t,n){e=e("../../type");t.exports=new e("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(e){return void 0===e},represent:function(){return""}})},{"../../type":13}],21:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},{"../type":13}],22:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},{"../type":13}],23:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){var t;return null===e||1===(t=e.length)&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":13}],24:[function(e,t,n){var e=e("../type"),l=Object.prototype.hasOwnProperty,c=Object.prototype.toString;t.exports=new e("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null!==e)for(var t,n,i,r=[],o=e,a=0,s=o.length;a<s;a+=1){if(t=o[a],i=!1,"[object Object]"!==c.call(t))return!1;for(n in t)if(l.call(t,n)){if(i)return!1;i=!0}if(!i)return!1;if(-1!==r.indexOf(n))return!1;r.push(n)}return!0},construct:function(e){return null!==e?e:[]}})},{"../type":13}],25:[function(e,t,n){var e=e("../type"),s=Object.prototype.toString;t.exports=new e("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null!==e)for(var t,n,i=e,r=new Array(i.length),o=0,a=i.length;o<a;o+=1){if(t=i[o],"[object Object]"!==s.call(t))return!1;if(1!==(n=Object.keys(t)).length)return!1;r[o]=[n[0],t[n[0]]]}return!0},construct:function(e){if(null===e)return[];for(var t,n,i=e,r=new Array(i.length),o=0,a=i.length;o<a;o+=1)t=i[o],n=Object.keys(t),r[o]=[n[0],t[n[0]]];return r}})},{"../type":13}],26:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},{"../type":13}],27:[function(e,t,n){var e=e("../type"),i=Object.prototype.hasOwnProperty;t.exports=new e("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null!==e){var t,n=e;for(t in n)if(i.call(n,t)&&null!==n[t])return!1}return!0},construct:function(e){return null!==e?e:{}}})},{"../type":13}],28:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},{"../type":13}],29:[function(e,t,n){var e=e("../type"),c=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),u=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");t.exports=new e("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==c.exec(e)||null!==u.exec(e))},construct:function(e){var t,n,i,r,o,a=0,s=null,l=c.exec(e);if(null===(l=null===l?u.exec(e):l))throw new Error("Date resolve error");if(e=+l[1],t=+l[2]-1,n=+l[3],!l[4])return new Date(Date.UTC(e,t,n));if(i=+l[4],r=+l[5],o=+l[6],l[7]){for(a=l[7].slice(0,3);a.length<3;)a+="0";a=+a}return l[9]&&(s=6e4*(60*+l[10]+ +(l[11]||0)),"-"===l[9])&&(s=-s),l=new Date(Date.UTC(e,t,n,i,r,o,a)),s&&l.setTime(l.getTime()-s),l},instanceOf:Date,represent:function(e){return e.toISOString()}})},{"../type":13}],"/":[function(e,t,n){e=e("./lib/js-yaml.js");t.exports=e},{"./lib/js-yaml.js":1}]},{},[])("/")});
1
+ /*! js-yaml 3.15.1 https://github.com/nodeca/js-yaml */!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).jsyaml=e()}(function(){return function i(r,o,a){function s(t,e){if(!o[t]){if(!r[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}n=o[t]={exports:{}},r[t][0].call(n.exports,function(e){return s(r[t][1][e]||e)},n,n.exports,i,r,o,a)}return o[t].exports}for(var l="function"==typeof require&&require,e=0;e<a.length;e++)s(a[e]);return s}({1:[function(e,t,n){var i=e("./js-yaml/loader"),r=e("./js-yaml/dumper");function o(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}t.exports.Type=e("./js-yaml/type"),t.exports.Schema=e("./js-yaml/schema"),t.exports.FAILSAFE_SCHEMA=e("./js-yaml/schema/failsafe"),t.exports.JSON_SCHEMA=e("./js-yaml/schema/json"),t.exports.CORE_SCHEMA=e("./js-yaml/schema/core"),t.exports.DEFAULT_SAFE_SCHEMA=e("./js-yaml/schema/default_safe"),t.exports.DEFAULT_FULL_SCHEMA=e("./js-yaml/schema/default_full"),t.exports.load=i.load,t.exports.loadAll=i.loadAll,t.exports.safeLoad=i.safeLoad,t.exports.safeLoadAll=i.safeLoadAll,t.exports.dump=r.dump,t.exports.safeDump=r.safeDump,t.exports.YAMLException=e("./js-yaml/exception"),t.exports.MINIMAL_SCHEMA=e("./js-yaml/schema/failsafe"),t.exports.SAFE_SCHEMA=e("./js-yaml/schema/default_safe"),t.exports.DEFAULT_SCHEMA=e("./js-yaml/schema/default_full"),t.exports.scan=o("scan"),t.exports.parse=o("parse"),t.exports.compose=o("compose"),t.exports.addConstructor=o("addConstructor")},{"./js-yaml/dumper":3,"./js-yaml/exception":4,"./js-yaml/loader":5,"./js-yaml/schema":7,"./js-yaml/schema/core":8,"./js-yaml/schema/default_full":9,"./js-yaml/schema/default_safe":10,"./js-yaml/schema/failsafe":11,"./js-yaml/schema/json":12,"./js-yaml/type":13}],2:[function(e,t,n){function i(e){return null==e}t.exports.isNothing=i,t.exports.isObject=function(e){return"object"==typeof e&&null!==e},t.exports.toArray=function(e){return Array.isArray(e)?e:i(e)?[]:[e]},t.exports.repeat=function(e,t){for(var n="",i=0;i<t;i+=1)n+=e;return n},t.exports.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},t.exports.extend=function(e,t){var n,i,r,o;if(t)for(n=0,i=(o=Object.keys(t)).length;n<i;n+=1)e[r=o[n]]=t[r];return e}},{}],3:[function(e,t,F){var l=e("./common"),W=e("./exception"),n=e("./schema/default_full"),i=e("./schema/default_safe"),$=Object.prototype.toString,c=Object.prototype.hasOwnProperty,r=9,H=10,o=13,M=32,_=33,T=34,h=35,N=37,L=38,D=39,U=42,m=44,q=45,g=58,Y=61,K=62,R=63,P=64,y=91,x=93,B=96,A=123,z=124,b=125,J={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},Q=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function s(e){var t,n,i=e.toString(16).toUpperCase();if(e<=255)t="x",n=2;else if(e<=65535)t="u",n=4;else{if(!(e<=4294967295))throw new W("code point within a string may not be greater than 0xFFFFFFFF");t="U",n=8}return"\\"+t+l.repeat("0",n-i.length)+i}function X(e){this.schema=e.schema||n,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=l.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=((e,t)=>{var n,i,r,o,a,s,l;if(null===t)return{};for(n={},r=0,o=(i=Object.keys(t)).length;r<o;r+=1)a=i[r],s=String(t[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(l=e.compiledTypeMap.fallback[a])&&c.call(l.styleAliases,s)&&(s=l.styleAliases[s]),n[a]=s;return n})(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function u(e,t){for(var n,i,r=l.repeat(" ",t),o=0,a="",s=e.length;o<s;)o=-1===(n=e.indexOf("\n",o))?(i=e.slice(o),s):(i=e.slice(o,n+1),n+1),i.length&&"\n"!==i&&(a+=r),a+=i;return a}function G(e,t){return"\n"+l.repeat(" ",e.indent*t)}function v(e){return e===M||e===r}function w(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function k(e,t){return w(e)&&65279!==e&&e!==m&&e!==y&&e!==x&&e!==A&&e!==b&&e!==g&&(e!==h||t&&w(e=t)&&!v(e)&&65279!==e&&e!==o&&e!==H)}function C(e){return/^\n* /.test(e)}var j=1,S=2,I=3,O=4,E=5;function ee(e,t,n,i,r){var o,a,s,l,c=!1,u=!1,p=-1!==i,f=-1,d=w(l=e.charCodeAt(0))&&65279!==l&&!v(l)&&l!==q&&l!==R&&l!==g&&l!==m&&l!==y&&l!==x&&l!==A&&l!==b&&l!==h&&l!==L&&l!==U&&l!==_&&l!==z&&l!==Y&&l!==K&&l!==D&&l!==T&&l!==N&&l!==P&&l!==B&&!v(e.charCodeAt(e.length-1));if(t)for(o=0;o<e.length;o++){if(!w(a=e.charCodeAt(o)))return E;s=0<o?e.charCodeAt(o-1):null,d=d&&k(a,s)}else{for(o=0;o<e.length;o++){if((a=e.charCodeAt(o))===H)c=!0,p&&(u=u||i<o-f-1&&" "!==e[f+1],f=o);else if(!w(a))return E;s=0<o?e.charCodeAt(o-1):null,d=d&&k(a,s)}u=u||p&&i<o-f-1&&" "!==e[f+1]}return c||u?9<n&&C(e)?E:u?O:I:d&&!r(e)?j:S}function te(o,i,r,a){o.dump=(()=>{if(0===i.length)return"''";if(!o.noCompatMode&&-1!==Q.indexOf(i))return"'"+i+"'";var e=o.indent*Math.max(1,r),t=-1===o.lineWidth?-1:Math.max(Math.min(o.lineWidth,40),o.lineWidth-e),n=a||-1<o.flowLevel&&r>=o.flowLevel;switch(ee(i,n,o.indent,t,function(e){for(var t=o,n=e,i=0,r=t.implicitTypes.length;i<r;i+=1)if(t.implicitTypes[i].resolve(n))return 1;return})){case j:return i;case S:return"'"+i.replace(/'/g,"''")+"'";case I:return"|"+p(i,o.indent)+f(u(i,e));case O:return">"+p(i,o.indent)+f(u(((t,n)=>{for(var e,i=/(\n+)([^\n]*)/g,r=(()=>{var e=-1!==(e=t.indexOf("\n"))?e:t.length;return i.lastIndex=e,d(t.slice(0,e),n)})(),o="\n"===t[0]||" "===t[0];s=i.exec(t);){var a=s[1],s=s[2];e=" "===s[0],r+=a+(o||e||""===s?"":"\n")+d(s,n),o=e}return r})(i,t),e));case E:return'"'+(e=>{for(var t,n,i="",r=0;r<e.length;r++)55296<=(t=e.charCodeAt(r))&&t<=56319&&56320<=(n=e.charCodeAt(r+1))&&n<=57343?(i+=s(1024*(t-55296)+n-56320+65536),r++):(n=J[t],i+=!n&&w(t)?e[r]:n||s(t));return i})(i)+'"';default:throw new W("impossible error: invalid scalar style")}})()}function p(e,t){var t=C(e)?String(t):"",n="\n"===e[e.length-1];return t+(n&&("\n"===e[e.length-2]||"\n"===e)?"+":n?"":"-")+"\n"}function f(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function d(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,o=0,a=0,s="";i=r.exec(e);)t<(i=i.index)-o&&(s+="\n"+e.slice(o,n=o<a?a:i),o=n+1),a=i;return s+="\n",e.length-o>t&&o<a?s+=e.slice(o,a)+"\n"+e.slice(a+1):s+=e.slice(o),s.slice(1)}function V(e,t,n){for(var i,r,o,a=n?e.explicitTypes:e.implicitTypes,s=0,l=a.length;s<l;s+=1)if(((r=a[s]).instanceOf||r.predicate)&&(!r.instanceOf||"object"==typeof t&&t instanceof r.instanceOf)&&(!r.predicate||r.predicate(t))){if(e.tag=n?r.tag:"?",r.represent){if(o=e.styleMap[r.tag]||r.defaultStyle,"[object Function]"===$.call(r.represent))i=r.represent(t,o);else{if(!c.call(r.represent,o))throw new W("!<"+r.tag+'> tag resolver accepts not "'+o+'" style');i=r.represent[o](t,o)}e.dump=i}return 1}}function Z(e,t,n,i,r,D){e.tag=null,e.dump=n,V(e,n,!1)||V(e,n,!0);var o,a,s=$.call(e.dump),l=(i=i&&(e.flowLevel<0||e.flowLevel>t),"[object Object]"===s||"[object Array]"===s);if(l&&(a=-1!==(o=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||a||2!==e.indent&&0<t)&&(r=!1),a&&e.usedDuplicates[o])e.dump="*ref_"+o;else{if(l&&a&&!e.usedDuplicates[o]&&(e.usedDuplicates[o]=!0),"[object Object]"===s)if(i&&0!==Object.keys(e.dump).length){var c,u,p,f,d,h=e,m=t,g=e.dump,U=r,y="",n=h.tag,x=Object.keys(g);if(!0===h.sortKeys)x.sort();else if("function"==typeof h.sortKeys)x.sort(h.sortKeys);else if(h.sortKeys)throw new W("sortKeys must be a boolean or a function");for(c=0,u=x.length;c<u;c+=1)d="",U&&0===c||(d+=G(h,m)),p=g[f=x[c]],Z(h,m+1,f,!0,!0,!0)&&((f=null!==h.tag&&"?"!==h.tag||h.dump&&1024<h.dump.length)&&(h.dump&&H===h.dump.charCodeAt(0)?d+="?":d+="? "),d+=h.dump,f&&(d+=G(h,m)),Z(h,m+1,p,!0,f))&&(h.dump&&H===h.dump.charCodeAt(0)?d+=":":d+=": ",y+=d+=h.dump);h.tag=n,h.dump=y||"{}",a&&(e.dump="&ref_"+o+e.dump)}else{for(var A,b,v,w=e,k=t,C=e.dump,j="",l=w.tag,S=Object.keys(C),I=0,q=S.length;I<q;I+=1)v="",0!==I&&(v+=", "),w.condenseFlow&&(v+='"'),b=C[A=S[I]],Z(w,k,A,!1,!1)&&(1024<w.dump.length&&(v+="? "),v+=w.dump+(w.condenseFlow?'"':"")+":"+(w.condenseFlow?"":" "),Z(w,k,b,!1,!1))&&(j+=v+=w.dump);w.tag=l,w.dump="{"+j+"}",a&&(e.dump="&ref_"+o+" "+e.dump)}else if("[object Array]"===s){n=e.noArrayIndent&&0<t?t-1:t;if(i&&0!==e.dump.length){for(var O=e,E=n,F=e.dump,Y=r,M="",l=O.tag,_=0,K=F.length;_<K;_+=1)Z(O,E+1,F[_],!0,!0)&&(Y&&0===_||(M+=G(O,E)),O.dump&&H===O.dump.charCodeAt(0)?M+="-":M+="- ",M+=O.dump);O.tag=l,O.dump=M||"[]",a&&(e.dump="&ref_"+o+e.dump)}else{for(var T=e,R=n,P=e.dump,N="",i=T.tag,L=0,B=P.length;L<B;L+=1)Z(T,R,P[L],!1,!1)&&(0!==L&&(N+=","+(T.condenseFlow?"":" ")),N+=T.dump);T.tag=i,T.dump="["+N+"]",a&&(e.dump="&ref_"+o+" "+e.dump)}}else{if("[object String]"!==s){if(e.skipInvalid)return;throw new W("unacceptable kind of an object to dump "+s)}"?"!==e.tag&&te(e,e.dump,t,D)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return 1}function ne(e,t){var n,i,r=[],o=[];for(!function e(t,n,i){var r,o,a;if(null!==t&&"object"==typeof t)if(-1!==(o=n.indexOf(t)))-1===i.indexOf(o)&&i.push(o);else if(n.push(t),Array.isArray(t))for(o=0,a=t.length;o<a;o+=1)e(t[o],n,i);else for(r=Object.keys(t),o=0,a=r.length;o<a;o+=1)e(t[r[o]],n,i)}(e,r,o),n=0,i=o.length;n<i;n+=1)t.duplicates.push(r[o[n]]);t.usedDuplicates=new Array(i)}function a(e,t){t=new X(t=t||{});return t.noRefs||ne(e,t),Z(t,0,e,!0,!0)?t.dump+"\n":""}t.exports.dump=a,t.exports.safeDump=function(e,t){return a(e,l.extend({schema:i},t))}},{"./common":2,"./exception":4,"./schema/default_full":9,"./schema/default_safe":10}],4:[function(e,t,n){function i(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}((i.prototype=Object.create(Error.prototype)).constructor=i).prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},t.exports=i},{}],5:[function(e,t,s){var h=e("./common"),n=e("./exception"),l=e("./mark"),i=e("./schema/default_safe"),c=e("./schema/default_full"),m=Object.prototype.hasOwnProperty,g=1,y=2,x=3,A=4,b=1,Y=2,v=3,K=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,R=/[\x85\u2028\u2029]/,P=/[,\[\]\{\}]/,w=/^(?:!|!!|![a-z\-]+!)$/i,k=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function u(e){return Object.prototype.toString.call(e)}function C(e){return 10===e||13===e}function j(e){return 9===e||32===e}function S(e){return 9===e||32===e||10===e||13===e}function I(e){return 44===e||91===e||93===e||123===e||125===e}function r(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function p(e,t,n){"__proto__"===t?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}for(var f=new Array(256),d=new Array(256),o=0;o<256;o++)f[o]=r(o)?1:0,d[o]=r(o);function B(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||c,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxTotalMergeKeys="number"==typeof t.maxTotalMergeKeys?t.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.totalMergeKeys=0,this.documents=[]}function a(e,t){return new n(t,new l(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function O(e,t){throw a(e,t)}function E(e,t){e.onWarning&&e.onWarning.call(null,a(e,t))}var F={YAML:function(e,t,n){var i,r;null!==e.version&&O(e,"duplication of %YAML directive"),1!==n.length&&O(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&O(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),r=parseInt(r[2],10),1!==i&&O(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=r<2,1!==r&&2!==r&&E(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i;2!==n.length&&O(e,"TAG directive accepts exactly two arguments"),i=n[1],w.test(n=n[0])||O(e,"ill-formed tag handle (first argument) of the TAG directive"),m.call(e.tagMap,n)&&O(e,'there is a previously declared suffix for "'+n+'" tag handle'),k.test(i)||O(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=i}};function M(e,t,n,i){var r,o,a,s;if(t<n){if(s=e.input.slice(t,n),i)for(r=0,o=s.length;r<o;r+=1)9===(a=s.charCodeAt(r))||32<=a&&a<=1114111||O(e,"expected valid JSON character");else K.test(s)&&O(e,"the stream contains non-printable characters");e.result+=s}}function _(e,t,n,i){var r,o,a,s;for(h.isObject(n)||O(e,"cannot merge mappings; the provided source object is unacceptable"),a=0,s=(r=Object.keys(n)).length;a<s;a+=1)o=r[a],-1!==e.maxTotalMergeKeys&&++e.totalMergeKeys>e.maxTotalMergeKeys&&O(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")"),m.call(t,o)||(p(t,o,n[o]),i[o]=!0)}function T(e,t,n,i,r,o,a,s){var l,c;if(Array.isArray(r))for(l=0,c=(r=Array.prototype.slice.call(r)).length;l<c;l+=1)Array.isArray(r[l])&&O(e,"nested arrays are not supported inside keys"),"object"==typeof r&&"[object Object]"===u(r[l])&&(r[l]="[object Object]");if("object"==typeof r&&"[object Object]"===u(r)&&(r="[object Object]"),r=String(r),null===t&&(t={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(o))for(l=0,c=o.length;l<c;l+=1)_(e,t,o[l],n);else _(e,t,o,n);else e.json||m.call(n,r)||!m.call(t,r)||(e.line=a||e.line,e.position=s||e.position,O(e,"duplicated mapping key")),p(t,r,o),delete n[r];return t}function N(e){var t=e.input.charCodeAt(e.position);10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):O(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function L(e,t,n){for(var i=0,r=e.input.charCodeAt(e.position);0!==r;){for(;j(r);)r=e.input.charCodeAt(++e.position);if(t&&35===r)for(;10!==(r=e.input.charCodeAt(++e.position))&&13!==r&&0!==r;);if(!C(r))break;for(N(e),r=e.input.charCodeAt(e.position),i++,e.lineIndent=0;32===r;)e.lineIndent++,r=e.input.charCodeAt(++e.position)}return-1!==n&&0!==i&&e.lineIndent<n&&E(e,"deficient indentation"),i}function D(e){var t=e.position,n=e.input.charCodeAt(t);return!(45!==n&&46!==n||n!==e.input.charCodeAt(t+1)||n!==e.input.charCodeAt(t+2)||0!==(n=e.input.charCodeAt(t+=3))&&!S(n))}function U(e,t){1===t?e.result+=" ":1<t&&(e.result+=h.repeat("\n",t-1))}function W(e,t){var n,i,r,o,a,s,l,c=e.input.charCodeAt(e.position);if(34===c){for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(c=e.input.charCodeAt(e.position));){if(34===c)return M(e,n,e.position,!0),e.position++,1;if(92===c){if(M(e,n,e.position,!0),C(c=e.input.charCodeAt(++e.position)))L(e,!1,t);else if(c<256&&f[c])e.result+=d[c],e.position++;else if(0<(a=120===(l=c)?2:117===l?4:85===l?8:0)){for(r=a,o=0;0<r;r--)c=e.input.charCodeAt(++e.position),0<=(a=48<=(s=c)&&s<=57?s-48:97<=(s=32|s)&&s<=102?s-97+10:-1)?o=(o<<4)+a:O(e,"expected hexadecimal character");e.result+=(l=o)<=65535?String.fromCharCode(l):String.fromCharCode(55296+(l-65536>>10),56320+(l-65536&1023)),e.position++}else O(e,"unknown escape sequence");n=i=e.position}else C(c)?(M(e,n,i,!0),U(e,L(e,!1,t)),n=i=e.position):e.position===e.lineStart&&D(e)?O(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}O(e,"unexpected end of the stream within a double quoted scalar")}}function $(e,t){var n,i,r=e.tag,o=e.anchor,a=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),i=e.input.charCodeAt(e.position);0!==i&&45===i&&S(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,L(e,!0,-1)&&e.lineIndent<=t)a.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,q(e,t,x,!1,!0),a.push(e.result),L(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)O(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!s&&(e.tag=r,e.anchor=o,e.kind="sequence",e.result=a,!0)}function q(e,t,n,i,r){var o,a,s,l,c,u,p=1,f=!1,d=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,o=a=s=A===n||x===n,i&&L(e,!0,-1)&&(f=!0,e.lineIndent>t?p=1:e.lineIndent===t?p=0:e.lineIndent<t&&(p=-1)),1===p)for(;(e=>{var t,n,i,r=!1,o=!1,a=e.input.charCodeAt(e.position);if(33===a){if(null!==e.tag&&O(e,"duplication of a tag property"),60===(a=e.input.charCodeAt(++e.position))?(r=!0,a=e.input.charCodeAt(++e.position)):33===a?(o=!0,n="!!",a=e.input.charCodeAt(++e.position)):n="!",t=e.position,r){for(;0!==(a=e.input.charCodeAt(++e.position))&&62!==a;);e.position<e.length?(i=e.input.slice(t,e.position),a=e.input.charCodeAt(++e.position)):O(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==a&&!S(a);)33===a&&(o?O(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),w.test(n)||O(e,"named tag handle cannot contain such characters"),o=!0,t=e.position+1)),a=e.input.charCodeAt(++e.position);i=e.input.slice(t,e.position),P.test(i)&&O(e,"tag suffix cannot contain flow indicator characters")}return i&&!k.test(i)&&O(e,"tag name cannot contain such characters: "+i),r?e.tag=i:m.call(e.tagMap,n)?e.tag=e.tagMap[n]+i:"!"===n?e.tag="!"+i:"!!"===n?e.tag="tag:yaml.org,2002:"+i:O(e,'undeclared tag handle "'+n+'"'),1}})(e)||(e=>{var t,n=e.input.charCodeAt(e.position);if(38===n){for(null!==e.anchor&&O(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!S(n)&&!I(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&O(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),1}})(e);)L(e,!0,-1)?(f=!0,s=o,e.lineIndent>t?p=1:e.lineIndent===t?p=0:e.lineIndent<t&&(p=-1)):s=!1;if(s=s&&(f||r),1!==p&&A!==n||(i=g===n||y===n?t:t+1,r=e.position-e.lineStart,1===p?s&&($(e,r)||((e,t,n)=>{var i,r,o,a,s,l=e.tag,c=e.anchor,u={},p={},f=null,d=null,h=null,m=!1,g=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=u),s=e.input.charCodeAt(e.position);0!==s;){if(i=e.input.charCodeAt(e.position+1),o=e.line,a=e.position,63!==s&&58!==s||!S(i)){if(!q(e,n,y,!1,!0))break;if(e.line===o){for(s=e.input.charCodeAt(e.position);j(s);)s=e.input.charCodeAt(++e.position);if(58===s)S(s=e.input.charCodeAt(++e.position))||O(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(T(e,u,p,f,d,null),f=d=h=null),r=m=!(g=!0),f=e.tag,d=e.result;else{if(!g)return e.tag=l,e.anchor=c,1;O(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!g)return e.tag=l,e.anchor=c,1;O(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===s?(m&&(T(e,u,p,f,d,null),f=d=h=null),r=m=g=!0):m?r=!(m=!1):O(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,s=i;if((e.line===o||e.lineIndent>t)&&(q(e,t,A,!0,r)&&(m?d=e.result:h=e.result),m||(T(e,u,p,f,d,h,o,a),f=d=h=null),L(e,!0,-1),s=e.input.charCodeAt(e.position)),t<e.lineIndent&&0!==s)O(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&T(e,u,p,f,d,null),g&&(e.tag=l,e.anchor=c,e.kind="mapping",e.result=u),g})(e,r,i))||((e,t)=>{var n,i,r,o,a,s,l,c,u,p=!0,f=e.tag,d=e.anchor,h={},m=e.input.charCodeAt(e.position);if(91===m)s=!(r=93),i=[];else{if(123!==m)return;r=125,s=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),m=e.input.charCodeAt(++e.position);0!==m;){if(L(e,!0,t),(m=e.input.charCodeAt(e.position))===r)return e.position++,e.tag=f,e.anchor=d,e.kind=s?"mapping":"sequence",e.result=i,1;p||O(e,"missed comma between flow collection entries"),u=null,o=a=!1,63===m&&S(e.input.charCodeAt(e.position+1))&&(o=a=!0,e.position++,L(e,!0,t)),n=e.line,q(e,t,g,!1,!0),c=e.tag,l=e.result,L(e,!0,t),m=e.input.charCodeAt(e.position),!a&&e.line!==n||58!==m||(o=!0,m=e.input.charCodeAt(++e.position),L(e,!0,t),q(e,t,g,!1,!0),u=e.result),s?T(e,i,h,c,l,u):o?i.push(T(e,null,h,c,l,u)):i.push(l),L(e,!0,t),44===(m=e.input.charCodeAt(e.position))?(p=!0,m=e.input.charCodeAt(++e.position)):p=!1}O(e,"unexpected end of the stream within a flow collection")})(e,i)?d=!0:(a&&((e,t)=>{var n,i,r,o=b,a=!1,s=!1,l=t,c=0,u=!1,p=e.input.charCodeAt(e.position);if(124===p)i=!1;else{if(62!==p)return;i=!0}for(e.kind="scalar",e.result="";0!==p;)if(43===(p=e.input.charCodeAt(++e.position))||45===p)b===o?o=43===p?v:Y:O(e,"repeat of a chomping mode identifier");else{if(!(0<=(r=48<=(r=p)&&r<=57?r-48:-1)))break;0==r?O(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?O(e,"repeat of an indentation width identifier"):(l=t+r-1,s=!0)}if(j(p)){for(;j(p=e.input.charCodeAt(++e.position)););if(35===p)for(;!C(p=e.input.charCodeAt(++e.position))&&0!==p;);}for(;0!==p;){for(N(e),e.lineIndent=0,p=e.input.charCodeAt(e.position);(!s||e.lineIndent<l)&&32===p;)e.lineIndent++,p=e.input.charCodeAt(++e.position);if(!s&&e.lineIndent>l&&(l=e.lineIndent),C(p))c++;else{if(e.lineIndent<l){o===v?e.result+=h.repeat("\n",a?1+c:c):o===b&&a&&(e.result+="\n");break}for(i?j(p)?(u=!0,e.result+=h.repeat("\n",a?1+c:c)):u?(u=!1,e.result+=h.repeat("\n",c+1)):0===c?a&&(e.result+=" "):e.result+=h.repeat("\n",c):e.result+=h.repeat("\n",a?1+c:c),s=a=!0,c=0,n=e.position;!C(p)&&0!==p;)p=e.input.charCodeAt(++e.position);M(e,n,e.position,!1)}}return 1})(e,i)||((e,t)=>{var n,i,r=e.input.charCodeAt(e.position);if(39===r){for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(M(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return 1;n=e.position,e.position++,i=e.position}else C(r)?(M(e,n,i,!0),U(e,L(e,!1,t)),n=i=e.position):e.position===e.lineStart&&D(e)?O(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);O(e,"unexpected end of the stream within a single quoted scalar")}})(e,i)||W(e,i)?d=!0:(e=>{var t,n=e.input.charCodeAt(e.position);if(42===n){for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!S(n)&&!I(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&O(e,"name of an alias node must contain at least one character"),t=e.input.slice(t,e.position),m.call(e.anchorMap,t)||O(e,'unidentified alias "'+t+'"'),e.result=e.anchorMap[t],L(e,!0,-1),1}})(e)?(d=!0,null===e.tag&&null===e.anchor||O(e,"alias node should not have any properties")):((e,t,n)=>{var i,r,o,a,s,l,c,u=e.kind,p=e.result,f=e.input.charCodeAt(e.position);if(!S(f)&&!I(f)&&35!==f&&38!==f&&42!==f&&33!==f&&124!==f&&62!==f&&39!==f&&34!==f&&37!==f&&64!==f&&96!==f&&(63!==f&&45!==f||!(S(i=e.input.charCodeAt(e.position+1))||n&&I(i)))){for(e.kind="scalar",e.result="",r=o=e.position,a=!1;0!==f;){if(58===f){if(S(i=e.input.charCodeAt(e.position+1))||n&&I(i))break}else if(35===f){if(S(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&D(e)||n&&I(f))break;if(C(f)){if(s=e.line,l=e.lineStart,c=e.lineIndent,L(e,!1,-1),t<=e.lineIndent){a=!0,f=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=l,e.lineIndent=c;break}}a&&(M(e,r,o,!1),U(e,e.line-s),r=o=e.position,a=!1),j(f)||(o=e.position+1),f=e.input.charCodeAt(++e.position)}if(M(e,r,o,!1),e.result)return 1;e.kind=u,e.result=p}})(e,i,g===n)&&(d=!0,null===e.tag)&&(e.tag="?"),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===p&&(d=s&&$(e,r))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&O(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l<c;l+=1)if((u=e.implicitTypes[l]).resolve(e.result)){e.result=u.construct(e.result),e.tag=u.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else m.call(e.typeMap[e.kind||"fallback"],e.tag)?(u=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&u.kind!==e.kind&&O(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+u.kind+'", not "'+e.kind+'"'),u.resolve(e.result)?(e.result=u.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):O(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):O(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||d}function H(e,t){t=t||{};var n=new B(e=0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0))?e.slice(1):e,t),t=e.indexOf("\0");for(-1!==t&&(n.position=t,O(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;){a=c=o=r=i=l=s=void 0;var i,r,o,a,s=n,l=s.position,c=!1;for(s.version=null,s.checkLineBreaks=s.legacy,s.tagMap={},s.anchorMap={};0!==(a=s.input.charCodeAt(s.position))&&(L(s,!0,-1),a=s.input.charCodeAt(s.position),!(0<s.lineIndent||37!==a));){for(c=!0,a=s.input.charCodeAt(++s.position),i=s.position;0!==a&&!S(a);)a=s.input.charCodeAt(++s.position);for(o=[],(r=s.input.slice(i,s.position)).length<1&&O(s,"directive name must not be less than one character in length");0!==a;){for(;j(a);)a=s.input.charCodeAt(++s.position);if(35===a){for(;0!==(a=s.input.charCodeAt(++s.position))&&!C(a););break}if(C(a))break;for(i=s.position;0!==a&&!S(a);)a=s.input.charCodeAt(++s.position);o.push(s.input.slice(i,s.position))}0!==a&&N(s),m.call(F,r)?F[r](s,r,o):E(s,'unknown document directive "'+r+'"')}L(s,!0,-1),0===s.lineIndent&&45===s.input.charCodeAt(s.position)&&45===s.input.charCodeAt(s.position+1)&&45===s.input.charCodeAt(s.position+2)?(s.position+=3,L(s,!0,-1)):c&&O(s,"directives end mark is expected"),q(s,s.lineIndent-1,A,!1,!0),L(s,!0,-1),s.checkLineBreaks&&R.test(s.input.slice(l,s.position))&&E(s,"non-ASCII line breaks are interpreted as content"),s.documents.push(s.result),s.position===s.lineStart&&D(s)?46===s.input.charCodeAt(s.position)&&(s.position+=3,L(s,!0,-1)):s.position<s.length-1&&O(s,"end of the stream or a document separator is expected")}return n.documents}function G(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);var i=H(e,n);if("function"!=typeof t)return i;for(var r=0,o=i.length;r<o;r+=1)t(i[r])}function V(e,t){e=H(e,t);if(0!==e.length){if(1===e.length)return e[0];throw new n("expected a single document in the stream, but found more")}}t.exports.loadAll=G,t.exports.load=V,t.exports.safeLoadAll=function(e,t,n){return"object"==typeof t&&null!==t&&void 0===n&&(n=t,t=null),G(e,t,h.extend({schema:i},n))},t.exports.safeLoad=function(e,t){return V(e,h.extend({schema:i},t))}},{"./common":2,"./exception":4,"./mark":6,"./schema/default_full":9,"./schema/default_safe":10}],6:[function(e,t,n){var s=e("./common");function i(e,t,n,i,r){this.name=e,this.buffer=t,this.position=n,this.line=i,this.column=r}i.prototype.getSnippet=function(e,t){var n,i,r,o,a;if(!this.buffer)return null;for(e=e||4,t=t||75,n="",i=this.position;0<i&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(this.position- --i>t/2-1){n=" ... ",i+=5;break}for(r="",o=this.position;o<this.buffer.length&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(o));)if((o+=1)-this.position>t/2-1){r=" ... ",o-=5;break}return a=this.buffer.slice(i,o),s.repeat(" ",e)+n+a+r+"\n"+s.repeat(" ",e+this.position-i+n.length)+"^"},i.prototype.toString=function(e){var t="";return this.name&&(t+='in "'+this.name+'" '),t+="at line "+(this.line+1)+", column "+(this.column+1),e||(e=this.getSnippet())&&(t+=":\n"+e),t},t.exports=i},{"./common":2}],7:[function(e,t,n){var i=e("./common"),r=e("./exception"),o=e("./type");function a(e,t,i){var r=[];return e.include.forEach(function(e){i=a(e,t,i)}),e[t].forEach(function(n){i.forEach(function(e,t){e.tag===n.tag&&e.kind===n.kind&&r.push(t)}),i.push(n)}),i.filter(function(e,t){return-1===r.indexOf(t)})}function s(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach(function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new r("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=a(this,"implicit",[]),this.compiledExplicit=a(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function i(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(i);return n}(this.compiledImplicit,this.compiledExplicit)}s.DEFAULT=null,s.create=function(){var e,t;switch(arguments.length){case 1:e=s.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new r("Wrong number of arguments for Schema.create function")}if(e=i.toArray(e),t=i.toArray(t),!e.every(function(e){return e instanceof s}))throw new r("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(t.every(function(e){return e instanceof o}))return new s({include:e,explicit:t});throw new r("Specified list of YAML types (or a single Type object) contains a non-Type object.")},t.exports=s},{"./common":2,"./exception":4,"./type":13}],8:[function(e,t,n){var i=e("../schema");t.exports=new i({include:[e("./json")]})},{"../schema":7,"./json":12}],9:[function(e,t,n){var i=e("../schema");t.exports=i.DEFAULT=new i({include:[e("./default_safe")],explicit:[e("../type/js/undefined"),e("../type/js/regexp"),e("../type/js/function")]})},{"../schema":7,"../type/js/function":18,"../type/js/regexp":19,"../type/js/undefined":20,"./default_safe":10}],10:[function(e,t,n){var i=e("../schema");t.exports=new i({include:[e("./core")],implicit:[e("../type/timestamp"),e("../type/merge")],explicit:[e("../type/binary"),e("../type/omap"),e("../type/pairs"),e("../type/set")]})},{"../schema":7,"../type/binary":14,"../type/merge":22,"../type/omap":24,"../type/pairs":25,"../type/set":27,"../type/timestamp":29,"./core":8}],11:[function(e,t,n){var i=e("../schema");t.exports=new i({explicit:[e("../type/str"),e("../type/seq"),e("../type/map")]})},{"../schema":7,"../type/map":21,"../type/seq":26,"../type/str":28}],12:[function(e,t,n){var i=e("../schema");t.exports=new i({include:[e("./failsafe")],implicit:[e("../type/null"),e("../type/bool"),e("../type/int"),e("../type/float")]})},{"../schema":7,"../type/bool":15,"../type/float":16,"../type/int":17,"../type/null":23,"./failsafe":11}],13:[function(e,t,n){var r=e("./exception"),o=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];t.exports=function(t,e){var n,i;if(e=e||{},Object.keys(e).forEach(function(e){if(-1===o.indexOf(e))throw new r('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(e){return e},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=(n=e.styleAliases||null,i={},null!==n&&Object.keys(n).forEach(function(t){n[t].forEach(function(e){i[String(e)]=t})}),i),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}},{"./exception":4}],14:[function(e,t,n){try{var s=e("buffer").Buffer}catch(e){}var e=e("../type"),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";t.exports=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;for(var t,n=0,i=e.length,r=l,o=0;o<i;o++)if(!(64<(t=r.indexOf(e.charAt(o))))){if(t<0)return!1;n+=6}return n%8==0},construct:function(e){for(var t=e.replace(/[\r\n=]/g,""),n=t.length,i=l,r=0,o=[],a=0;a<n;a++)a%4==0&&a&&(o.push(r>>16&255),o.push(r>>8&255),o.push(255&r)),r=r<<6|i.indexOf(t.charAt(a));return 0==(e=n%4*6)?(o.push(r>>16&255),o.push(r>>8&255),o.push(255&r)):18==e?(o.push(r>>10&255),o.push(r>>2&255)):12==e&&o.push(r>>4&255),s?s.from?s.from(o):new s(o):o},predicate:function(e){return s&&s.isBuffer(e)},represent:function(e){for(var t,n="",i=0,r=e.length,o=l,a=0;a<r;a++)a%3==0&&a&&(n=(n=n+o[i>>18&63]+o[i>>12&63])+o[i>>6&63]+o[63&i]),i=(i<<8)+e[a];return 0==(t=r%3)?n=(n=n+o[i>>18&63]+o[i>>12&63])+o[i>>6&63]+o[63&i]:2==t?n=(n=n+o[i>>10&63]+o[i>>4&63])+o[i<<2&63]+o[64]:1==t&&(n=(n=n+o[i>>2&63]+o[i<<4&63])+o[64]+o[64]),n}})},{"../type":13}],15:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){var t;return null!==e&&(4===(t=e.length)&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e))},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},{"../type":13}],16:[function(e,t,n){var i=e("../common"),e=e("../type"),r=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var o=/^[-+]?[0-9]+e/;t.exports=new e("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!r.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n=e.replace(/_/g,"").toLowerCase(),e="-"===n[0]?-1:1,i=[];return".inf"===(n=0<="+-".indexOf(n[0])?n.slice(1):n)?1==e?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===n?NaN:0<=n.indexOf(":")?(n.split(":").forEach(function(e){i.unshift(parseFloat(e,10))}),n=0,t=1,i.forEach(function(e){n+=e*t,t*=60}),e*n):e*parseFloat(n,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||i.isNegativeZero(e))},represent:function(e,t){if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(i.isNegativeZero(e))return"-0.0";return t=e.toString(10),o.test(t)?t.replace("e",".e"):t},defaultStyle:"lowercase"})},{"../common":2,"../type":13}],17:[function(e,t,n){var i=e("../common"),e=e("../type");t.exports=new e("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i,r,o=e.length,a=0,s=!1;if(!o)return!1;if("0"===(t="-"!==(t=e[a])&&"+"!==t?t:e[++a])){if(a+1===o)return!0;if("b"===(t=e[++a])){for(a++;a<o;a++)if("_"!==(t=e[a])){if("0"!==t&&"1"!==t)return!1;s=!0}}else if("x"===t){for(a++;a<o;a++)if("_"!==(t=e[a])){if(!(48<=(i=e.charCodeAt(a))&&i<=57||65<=i&&i<=70||97<=i&&i<=102))return!1;s=!0}}else for(;a<o;a++)if("_"!==(t=e[a])){if(!(48<=(n=e.charCodeAt(a))&&n<=55))return!1;s=!0}return s&&"_"!==t}if("_"===t)return!1;for(;a<o;a++)if("_"!==(t=e[a])){if(":"===t)break;if(!(48<=(r=e.charCodeAt(a))&&r<=57))return!1;s=!0}return!(!s||"_"===t)&&(":"!==t||/^(:[0-5]?[0-9])+$/.test(e.slice(a)))},construct:function(e){var t,n,i=e,e=1,r=[];return"-"!==(t=(i=-1!==i.indexOf("_")?i.replace(/_/g,""):i)[0])&&"+"!==t||("-"===t&&(e=-1),t=(i=i.slice(1))[0]),"0"===i?0:"0"===t?"b"===i[1]?e*parseInt(i.slice(2),2):"x"===i[1]?e*parseInt(i,16):e*parseInt(i,8):-1!==i.indexOf(":")?(i.split(":").forEach(function(e){r.unshift(parseInt(e,10))}),i=0,n=1,r.forEach(function(e){i+=e*n,n*=60}),e*i):e*parseInt(i,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!i.isNegativeZero(e)},represent:{binary:function(e){return 0<=e?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return 0<=e?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return 0<=e?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":2,"../type":13}],18:[function(e,t,n){try{var r=e("esprima")}catch(e){"undefined"!=typeof window&&(r=window.esprima)}e=e("../../type");t.exports=new e("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=r.parse(t,{range:!0});return"Program"!==n.type||1!==n.body.length||"ExpressionStatement"!==n.body[0].type||"ArrowFunctionExpression"!==n.body[0].expression.type&&"FunctionExpression"!==n.body[0].expression.type?!1:!0}catch(e){return!1}},construct:function(e){var t,e="("+e+")",n=r.parse(e,{range:!0}),i=[];if("Program"!==n.type||1!==n.body.length||"ExpressionStatement"!==n.body[0].type||"ArrowFunctionExpression"!==n.body[0].expression.type&&"FunctionExpression"!==n.body[0].expression.type)throw new Error("Failed to resolve function");return n.body[0].expression.params.forEach(function(e){i.push(e.name)}),t=n.body[0].expression.body.range,"BlockStatement"===n.body[0].expression.body.type?new Function(i,e.slice(t[0]+1,t[1]-1)):new Function(i,"return "+e.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}})},{"../../type":13}],19:[function(e,t,n){e=e("../../type");t.exports=new e("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,e=/\/([gim]*)$/.exec(e),n="";if("/"===t[0]){if(3<(n=e?e[1]:n).length)return!1;if("/"!==t[t.length-n.length-1])return!1}return!0},construct:function(e){var t=e,e=/\/([gim]*)$/.exec(e),n="";return"/"===t[0]&&(e&&(n=e[1]),t=t.slice(1,t.length-n.length-1)),new RegExp(t,n)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}})},{"../../type":13}],20:[function(e,t,n){e=e("../../type");t.exports=new e("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(e){return void 0===e},represent:function(){return""}})},{"../../type":13}],21:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},{"../type":13}],22:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},{"../type":13}],23:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){var t;return null===e||1===(t=e.length)&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":13}],24:[function(e,t,n){var e=e("../type"),l=Object.prototype.hasOwnProperty,c=Object.prototype.toString;t.exports=new e("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null!==e)for(var t,n,i,r={},o=e,a=0,s=o.length;a<s;a+=1){if(t=o[a],i=!1,"[object Object]"!==c.call(t))return!1;for(n in t)if(l.call(t,n)){if(i)return!1;i=!0}if(!i)return!1;if(l.call(r,n))return!1;Object.defineProperty(r,n,{value:!0})}return!0},construct:function(e){return null!==e?e:[]}})},{"../type":13}],25:[function(e,t,n){var e=e("../type"),s=Object.prototype.toString;t.exports=new e("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null!==e)for(var t,n,i=e,r=new Array(i.length),o=0,a=i.length;o<a;o+=1){if(t=i[o],"[object Object]"!==s.call(t))return!1;if(1!==(n=Object.keys(t)).length)return!1;r[o]=[n[0],t[n[0]]]}return!0},construct:function(e){if(null===e)return[];for(var t,n,i=e,r=new Array(i.length),o=0,a=i.length;o<a;o+=1)t=i[o],n=Object.keys(t),r[o]=[n[0],t[n[0]]];return r}})},{"../type":13}],26:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},{"../type":13}],27:[function(e,t,n){var e=e("../type"),i=Object.prototype.hasOwnProperty;t.exports=new e("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null!==e){var t,n=e;for(t in n)if(i.call(n,t)&&null!==n[t])return!1}return!0},construct:function(e){return null!==e?e:{}}})},{"../type":13}],28:[function(e,t,n){e=e("../type");t.exports=new e("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},{"../type":13}],29:[function(e,t,n){var e=e("../type"),c=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),u=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");t.exports=new e("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==c.exec(e)||null!==u.exec(e))},construct:function(e){var t,n,i,r,o,a=0,s=null,l=c.exec(e);if(null===(l=null===l?u.exec(e):l))throw new Error("Date resolve error");if(e=+l[1],t=+l[2]-1,n=+l[3],!l[4])return new Date(Date.UTC(e,t,n));if(i=+l[4],r=+l[5],o=+l[6],l[7]){for(a=l[7].slice(0,3);a.length<3;)a+="0";a=+a}return l[9]&&(s=6e4*(60*+l[10]+ +(l[11]||0)),"-"===l[9])&&(s=-s),l=new Date(Date.UTC(e,t,n,i,r,o,a)),s&&l.setTime(l.getTime()-s),l},instanceOf:Date,represent:function(e){return e.toISOString()}})},{"../type":13}],"/":[function(e,t,n){e=e("./lib/js-yaml.js");t.exports=e},{"./lib/js-yaml.js":1}]},{},[])("/")});
@@ -8,7 +8,7 @@ var _toString = Object.prototype.toString;
8
8
  function resolveYamlOmap(data) {
9
9
  if (data === null) return true;
10
10
 
11
- var objectKeys = [], index, length, pair, pairKey, pairHasKey,
11
+ var objectKeys = {}, index, length, pair, pairKey, pairHasKey,
12
12
  object = data;
13
13
 
14
14
  for (index = 0, length = object.length; index < length; index += 1) {
@@ -26,8 +26,8 @@ function resolveYamlOmap(data) {
26
26
 
27
27
  if (!pairHasKey) return false;
28
28
 
29
- if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);
30
- else return false;
29
+ if (_hasOwnProperty.call(objectKeys, pairKey)) return false;
30
+ Object.defineProperty(objectKeys, pairKey, { value: true });
31
31
  }
32
32
 
33
33
  return true;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-yaml",
3
- "version": "3.15.0",
3
+ "version": "3.15.1",
4
4
  "description": "YAML 1.2 parser and serializer",
5
5
  "keywords": [
6
6
  "yaml",
@@ -381,8 +381,8 @@
381
381
 
382
382
  // this really needs to be replaced with character classes.
383
383
  // XML allows all manner of ridiculous numbers and digits.
384
- var CDATA = '[CDATA['
385
- var DOCTYPE = 'DOCTYPE'
384
+ var CDATAre = /^\[CDATA\[$/i
385
+ var DOCTYPEre = /^DOCTYPE$/i
386
386
  var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace'
387
387
  var XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/'
388
388
  var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }
@@ -464,15 +464,15 @@
464
464
  SCRIPT_ENDING: S++, // <script> ... <
465
465
  }
466
466
 
467
- sax.XML_ENTITIES = {
467
+ sax.XML_ENTITIES = Object.assign(Object.create(null), {
468
468
  amp: '&',
469
469
  gt: '>',
470
470
  lt: '<',
471
471
  quot: '"',
472
472
  apos: "'",
473
- }
473
+ })
474
474
 
475
- sax.ENTITIES = {
475
+ sax.ENTITIES = Object.assign(Object.create(null), {
476
476
  amp: '&',
477
477
  gt: '>',
478
478
  lt: '<',
@@ -726,7 +726,7 @@
726
726
  clubs: 9827,
727
727
  hearts: 9829,
728
728
  diams: 9830,
729
- }
729
+ })
730
730
 
731
731
  Object.keys(sax.ENTITIES).forEach(function (key) {
732
732
  var e = sax.ENTITIES[key]
@@ -1137,7 +1137,8 @@
1137
1137
  isNaN(num) ||
1138
1138
  numStr.toLowerCase() !== entity ||
1139
1139
  num < 0 ||
1140
- num > 0x10ffff
1140
+ num > 0x10ffff ||
1141
+ !isXmlChar(num)
1141
1142
  ) {
1142
1143
  strictFail(parser, 'Invalid character entity')
1143
1144
  return '&' + parser.entity + ';'
@@ -1146,6 +1147,23 @@
1146
1147
  return String.fromCodePoint(num)
1147
1148
  }
1148
1149
 
1150
+ // Returns true if `num` is a code point that matches the XML `Char`
1151
+ // production, false otherwise. Character references that resolve to a
1152
+ // character outside this range (e.g. surrogates or restricted control
1153
+ // characters) are not well-formed.
1154
+ // https://www.w3.org/TR/REC-xml/#NT-Char
1155
+ // https://www.w3.org/TR/REC-xml/#wf-Legalchar
1156
+ function isXmlChar(num) {
1157
+ return (
1158
+ num === 0x9 ||
1159
+ num === 0xa ||
1160
+ num === 0xd ||
1161
+ (num >= 0x20 && num <= 0xd7ff) ||
1162
+ (num >= 0xe000 && num <= 0xfffd) ||
1163
+ (num >= 0x10000 && num <= 0x10ffff)
1164
+ )
1165
+ }
1166
+
1149
1167
  function beginWhiteSpace(parser, c) {
1150
1168
  if (c === '<') {
1151
1169
  parser.state = S.OPEN_WAKA
@@ -1317,12 +1335,12 @@
1317
1335
  parser.state = S.DOCTYPE_DTD
1318
1336
  parser.doctype += '<!' + parser.sgmlDecl + c
1319
1337
  parser.sgmlDecl = ''
1320
- } else if ((parser.sgmlDecl + c).toUpperCase() === CDATA) {
1338
+ } else if (CDATAre.test(parser.sgmlDecl + c)) {
1321
1339
  emitNode(parser, 'onopencdata')
1322
1340
  parser.state = S.CDATA
1323
1341
  parser.sgmlDecl = ''
1324
1342
  parser.cdata = ''
1325
- } else if ((parser.sgmlDecl + c).toUpperCase() === DOCTYPE) {
1343
+ } else if (DOCTYPEre.test(parser.sgmlDecl + c)) {
1326
1344
  parser.state = S.DOCTYPE
1327
1345
  if (parser.doctype || parser.sawRoot) {
1328
1346
  strictFail(
@@ -2,7 +2,7 @@
2
2
  "name": "sax",
3
3
  "description": "An evented streaming XML parser in JavaScript",
4
4
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
5
- "version": "1.6.0",
5
+ "version": "1.6.1",
6
6
  "main": "lib/sax.js",
7
7
  "license": "BlueOak-1.0.0",
8
8
  "scripts": {
package/package.json CHANGED
@@ -62,13 +62,13 @@
62
62
  "jest": "^30.4.2",
63
63
  "jest-junit": "^16",
64
64
  "jsii": "~5.9",
65
- "jsii-diff": "^1.138.0",
65
+ "jsii-diff": "^1.139.0",
66
66
  "jsii-docgen": "^10.5.0",
67
- "jsii-pacmak": "^1.138.0",
68
- "jsii-rosetta": "^5.9.56",
69
- "prettier": "^3.9.5",
67
+ "jsii-pacmak": "^1.139.0",
68
+ "jsii-rosetta": "^5.9.58",
69
+ "prettier": "^3.9.6",
70
70
  "projen": "^0.99.17",
71
- "ts-jest": "^29.4.11",
71
+ "ts-jest": "^29.4.12",
72
72
  "ts-node": "^10.9.2",
73
73
  "typescript": "^5.9.3"
74
74
  },
@@ -77,12 +77,12 @@
77
77
  "constructs": "^10.5.1"
78
78
  },
79
79
  "dependencies": {
80
- "@aws-sdk/client-cloudformation": "^3.1090.0",
81
- "@aws-sdk/client-connect": "^3.1090.0",
82
- "@aws-sdk/client-glue": "^3.1090.0",
83
- "@aws-sdk/client-lakeformation": "^3.1090.0",
84
- "@aws-sdk/client-ram": "^3.1090.0",
85
- "@aws-sdk/client-sts": "^3.1090.0",
80
+ "@aws-sdk/client-cloudformation": "^3.1101.0",
81
+ "@aws-sdk/client-connect": "^3.1101.0",
82
+ "@aws-sdk/client-glue": "^3.1101.0",
83
+ "@aws-sdk/client-lakeformation": "^3.1101.0",
84
+ "@aws-sdk/client-ram": "^3.1101.0",
85
+ "@aws-sdk/client-sts": "^3.1101.0",
86
86
  "@aws-sdk/types": "^3.974.2",
87
87
  "@types/aws-lambda": "^8.10.162",
88
88
  "aws-lambda": "^1.0.7"
@@ -112,7 +112,7 @@
112
112
  "publishConfig": {
113
113
  "access": "public"
114
114
  },
115
- "version": "0.0.19",
115
+ "version": "0.0.21",
116
116
  "jest": {
117
117
  "coverageProvider": "v8",
118
118
  "moduleNameMapper": {
@@ -1,135 +0,0 @@
1
- import { determineTimestampFormat } from "@smithy/core/protocols";
2
- import { NormalizedSchema } from "@smithy/core/schema";
3
- import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue, toBase64 } from "@smithy/core/serde";
4
- import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
5
- export class SinglePassJsonShapeSerializer extends SerdeContextConfig {
6
- settings;
7
- buffer;
8
- rootSchema;
9
- constructor(settings) {
10
- super();
11
- this.settings = settings;
12
- }
13
- write(schema, value) {
14
- this.rootSchema = NormalizedSchema.of(schema);
15
- this.buffer = this.writeObject(this.rootSchema, value);
16
- }
17
- writeDiscriminatedDocument(schema, value) {
18
- this.write(schema, value);
19
- if (typeof this.buffer === "object") {
20
- this.buffer.__type = NormalizedSchema.of(schema).getName(true);
21
- }
22
- }
23
- flush() {
24
- this.rootSchema = undefined;
25
- return this.buffer;
26
- }
27
- writeObject(schema, value) {
28
- if (value == undefined) {
29
- return "";
30
- }
31
- let b = "";
32
- const ns = NormalizedSchema.of(schema);
33
- const sparse = !!ns.getMergedTraits().sparse;
34
- if (Array.isArray(value) && (ns.isDocumentSchema() || ns.isListSchema())) {
35
- b += "[";
36
- for (let i = 0; i < value.length; ++i) {
37
- const item = value[i];
38
- if (item != null || sparse) {
39
- b += this.writeValue(ns.getValueSchema(), item);
40
- b += ",";
41
- }
42
- }
43
- }
44
- else if (ns.isStructSchema()) {
45
- b += "{";
46
- let didWriteMember = false;
47
- for (const [name, member] of ns.structIterator()) {
48
- const item = value[name];
49
- const targetKey = this.settings.jsonName ? (member.getMergedTraits().jsonName ?? name) : name;
50
- const serializableValue = this.writeValue(member, item);
51
- if (item != null || member.isIdempotencyToken()) {
52
- didWriteMember = true;
53
- b += `"${targetKey}":${serializableValue}`;
54
- b += ",";
55
- }
56
- }
57
- if (!didWriteMember && ns.isUnionSchema()) {
58
- const { $unknown } = value;
59
- if (Array.isArray($unknown)) {
60
- const [k, v] = $unknown;
61
- b += `"${k}":${this.writeValue(15, v)}`;
62
- }
63
- }
64
- }
65
- else if (ns.isMapSchema() || ns.isDocumentSchema()) {
66
- b += "{";
67
- for (const k in value) {
68
- const v = value[k];
69
- if (v != null || sparse) {
70
- b += `"${k}":${this.writeValue(ns, v)}`;
71
- b += ",";
72
- }
73
- }
74
- }
75
- if (b[b.length - 1] === ",") {
76
- b = b.slice(0, -1);
77
- }
78
- if (b[0] === "[") {
79
- b += "]";
80
- }
81
- if (b[0] === "{") {
82
- b += "}";
83
- }
84
- return b;
85
- }
86
- writeValue(schema, value) {
87
- const isObject = value !== null && typeof value === "object";
88
- const ns = NormalizedSchema.of(schema);
89
- const quote = (_) => `"${_}"`;
90
- if ((ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === "string")) ||
91
- (ns.isDocumentSchema() && value instanceof Uint8Array)) {
92
- return quote((this.serdeContext?.base64Encoder ?? toBase64)(value));
93
- }
94
- if ((ns.isTimestampSchema() || ns.isDocumentSchema()) && value instanceof Date) {
95
- const format = determineTimestampFormat(ns, this.settings);
96
- switch (format) {
97
- case 5:
98
- return quote(value.toISOString().replace(".000Z", "Z"));
99
- case 6:
100
- return quote(dateToUtcString(value));
101
- case 7:
102
- return String(value.getTime() / 1000);
103
- default:
104
- console.warn("Missing timestamp format, using epoch seconds", value);
105
- return String(value.getTime() / 1000);
106
- }
107
- }
108
- if (ns.isNumericSchema() && typeof value === "number") {
109
- if (Math.abs(value) === Infinity || isNaN(value)) {
110
- return quote(String(value));
111
- }
112
- }
113
- if (ns.isStringSchema()) {
114
- if (typeof value === "undefined" && ns.isIdempotencyToken()) {
115
- return quote(generateIdempotencyToken());
116
- }
117
- if (typeof value === "string") {
118
- const mediaType = ns.getMergedTraits().mediaType;
119
- if (mediaType) {
120
- const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
121
- if (isJson) {
122
- return quote(LazyJsonString.from(value).toString());
123
- }
124
- }
125
- }
126
- }
127
- if (value instanceof NumericValue) {
128
- return value.string;
129
- }
130
- if (isObject) {
131
- return this.writeObject(ns, value);
132
- }
133
- return typeof value === "string" ? quote(value) : String(value);
134
- }
135
- }
@@ -1,27 +0,0 @@
1
- import type { Schema, ShapeSerializer } from "@smithy/types";
2
- import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
3
- import type { JsonSettings } from "../JsonCodec";
4
- /**
5
- * This implementation uses single-pass JSON serialization with JS code instead of
6
- * JSON.stringify.
7
- *
8
- * It isn't significantly faster than dual-pass ending with native JSON.stringify
9
- * that I would want to use it. It seems to be barely faster in some mid-range object
10
- * sizes but slower on the high end.
11
- *
12
- * @internal
13
- */
14
- export declare class SinglePassJsonShapeSerializer extends SerdeContextConfig implements ShapeSerializer<string> {
15
- readonly settings: JsonSettings;
16
- private buffer;
17
- private rootSchema;
18
- constructor(settings: JsonSettings);
19
- write(schema: Schema, value: unknown): void;
20
- /**
21
- * @internal
22
- */
23
- writeDiscriminatedDocument(schema: Schema, value: unknown): void;
24
- flush(): string;
25
- private writeObject;
26
- private writeValue;
27
- }
@@ -1,17 +0,0 @@
1
- import { Schema, ShapeSerializer } from "@smithy/types";
2
- import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
3
- import { JsonSettings } from "../JsonCodec";
4
- export declare class SinglePassJsonShapeSerializer
5
- extends SerdeContextConfig
6
- implements ShapeSerializer<string>
7
- {
8
- readonly settings: JsonSettings;
9
- private buffer;
10
- private rootSchema;
11
- constructor(settings: JsonSettings);
12
- write(schema: Schema, value: unknown): void;
13
- writeDiscriminatedDocument(schema: Schema, value: unknown): void;
14
- flush(): string;
15
- private writeObject;
16
- private writeValue;
17
- }