@windrun-huaiin/third-ui 13.1.4 → 13.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (770) hide show
  1. package/dist/_virtual/advancedFormat.js +1 -1
  2. package/dist/_virtual/advancedFormat.mjs +1 -1
  3. package/dist/_virtual/customParseFormat.js +1 -1
  4. package/dist/_virtual/customParseFormat.mjs +1 -1
  5. package/dist/_virtual/dayjs.min.js +1 -1
  6. package/dist/_virtual/dayjs.min.mjs +1 -1
  7. package/dist/_virtual/index.js +1 -1
  8. package/dist/_virtual/index.mjs +1 -1
  9. package/dist/_virtual/isoWeek.js +1 -1
  10. package/dist/_virtual/isoWeek.mjs +1 -1
  11. package/dist/clerk/clerk-user-client.js +6 -5
  12. package/dist/clerk/clerk-user-client.mjs +7 -6
  13. package/dist/lib/clerk-intl.d.ts +1 -1
  14. package/dist/node_modules/.pnpm/{@braintree_sanitize-url@7.1.1 → @braintree_sanitize-url@7.1.2}/node_modules/@braintree/sanitize-url/dist/index.js +1 -2
  15. package/dist/node_modules/.pnpm/{@braintree_sanitize-url@7.1.1 → @braintree_sanitize-url@7.1.2}/node_modules/@braintree/sanitize-url/dist/index.mjs +1 -2
  16. package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon/defaults.js +4 -12
  17. package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon/defaults.mjs +4 -12
  18. package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/svg/id.js +11 -21
  19. package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/svg/id.mjs +11 -21
  20. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatDecimal.js +2 -2
  21. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatDecimal.mjs +2 -2
  22. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatPrefixAuto.js +1 -1
  23. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatPrefixAuto.mjs +1 -1
  24. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/locale.js +7 -8
  25. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/locale.mjs +7 -8
  26. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.js +5 -5
  27. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +5 -5
  28. package/dist/node_modules/.pnpm/{dompurify@3.3.0 → dompurify@3.3.3}/node_modules/dompurify/dist/purify.es.js +21 -4
  29. package/dist/node_modules/.pnpm/{dompurify@3.3.0 → dompurify@3.3.3}/node_modules/dompurify/dist/purify.es.mjs +21 -4
  30. package/dist/node_modules/.pnpm/{katex@0.16.33 → katex@0.16.38}/node_modules/katex/dist/katex.js +4350 -6293
  31. package/dist/node_modules/.pnpm/{katex@0.16.33 → katex@0.16.38}/node_modules/katex/dist/katex.mjs +4350 -6293
  32. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +2 -2
  33. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.mjs +2 -2
  34. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +5 -5
  35. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.mjs +5 -5
  36. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +1 -1
  37. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.mjs +1 -1
  38. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/mermaid.core.js +1 -1
  39. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/mermaid.core.mjs +1 -1
  40. package/package.json +4 -4
  41. package/src/clerk/clerk-user-client.tsx +40 -36
  42. package/src/lib/clerk-intl.ts +1 -1
  43. package/dist/_virtual/_commonjs-dynamic-modules.js +0 -7
  44. package/dist/_virtual/_commonjs-dynamic-modules.mjs +0 -5
  45. package/dist/_virtual/api.js +0 -5
  46. package/dist/_virtual/api.mjs +0 -3
  47. package/dist/_virtual/api2.js +0 -5
  48. package/dist/_virtual/api2.mjs +0 -3
  49. package/dist/_virtual/connection.js +0 -5
  50. package/dist/_virtual/connection.mjs +0 -3
  51. package/dist/_virtual/connection2.js +0 -5
  52. package/dist/_virtual/connection2.mjs +0 -3
  53. package/dist/_virtual/disposable.js +0 -5
  54. package/dist/_virtual/disposable.mjs +0 -3
  55. package/dist/_virtual/duration.js +0 -9
  56. package/dist/_virtual/duration.mjs +0 -7
  57. package/dist/_virtual/duration2.js +0 -5
  58. package/dist/_virtual/duration2.mjs +0 -3
  59. package/dist/_virtual/is2.js +0 -5
  60. package/dist/_virtual/is2.mjs +0 -3
  61. package/dist/_virtual/linkedMap.js +0 -5
  62. package/dist/_virtual/linkedMap.mjs +0 -3
  63. package/dist/_virtual/main.js +0 -7
  64. package/dist/_virtual/main.mjs +0 -5
  65. package/dist/_virtual/main2.js +0 -5
  66. package/dist/_virtual/main2.mjs +0 -3
  67. package/dist/_virtual/main3.js +0 -5
  68. package/dist/_virtual/main3.mjs +0 -3
  69. package/dist/_virtual/main4.js +0 -5
  70. package/dist/_virtual/main4.mjs +0 -3
  71. package/dist/_virtual/messageBuffer.js +0 -5
  72. package/dist/_virtual/messageBuffer.mjs +0 -3
  73. package/dist/_virtual/messageReader.js +0 -5
  74. package/dist/_virtual/messageReader.mjs +0 -3
  75. package/dist/_virtual/messageWriter.js +0 -5
  76. package/dist/_virtual/messageWriter.mjs +0 -3
  77. package/dist/_virtual/messages.js +0 -5
  78. package/dist/_virtual/messages.mjs +0 -3
  79. package/dist/_virtual/messages2.js +0 -5
  80. package/dist/_virtual/messages2.mjs +0 -3
  81. package/dist/_virtual/protocol.callHierarchy.js +0 -5
  82. package/dist/_virtual/protocol.callHierarchy.mjs +0 -3
  83. package/dist/_virtual/protocol.colorProvider.js +0 -5
  84. package/dist/_virtual/protocol.colorProvider.mjs +0 -3
  85. package/dist/_virtual/protocol.configuration.js +0 -5
  86. package/dist/_virtual/protocol.configuration.mjs +0 -3
  87. package/dist/_virtual/protocol.declaration.js +0 -5
  88. package/dist/_virtual/protocol.declaration.mjs +0 -3
  89. package/dist/_virtual/protocol.diagnostic.js +0 -5
  90. package/dist/_virtual/protocol.diagnostic.mjs +0 -3
  91. package/dist/_virtual/protocol.fileOperations.js +0 -5
  92. package/dist/_virtual/protocol.fileOperations.mjs +0 -3
  93. package/dist/_virtual/protocol.foldingRange.js +0 -5
  94. package/dist/_virtual/protocol.foldingRange.mjs +0 -3
  95. package/dist/_virtual/protocol.implementation.js +0 -5
  96. package/dist/_virtual/protocol.implementation.mjs +0 -3
  97. package/dist/_virtual/protocol.inlayHint.js +0 -5
  98. package/dist/_virtual/protocol.inlayHint.mjs +0 -3
  99. package/dist/_virtual/protocol.inlineCompletion.js +0 -5
  100. package/dist/_virtual/protocol.inlineCompletion.mjs +0 -3
  101. package/dist/_virtual/protocol.inlineValue.js +0 -5
  102. package/dist/_virtual/protocol.inlineValue.mjs +0 -3
  103. package/dist/_virtual/protocol.js +0 -5
  104. package/dist/_virtual/protocol.linkedEditingRange.js +0 -5
  105. package/dist/_virtual/protocol.linkedEditingRange.mjs +0 -3
  106. package/dist/_virtual/protocol.mjs +0 -3
  107. package/dist/_virtual/protocol.moniker.js +0 -5
  108. package/dist/_virtual/protocol.moniker.mjs +0 -3
  109. package/dist/_virtual/protocol.notebook.js +0 -5
  110. package/dist/_virtual/protocol.notebook.mjs +0 -3
  111. package/dist/_virtual/protocol.progress.js +0 -5
  112. package/dist/_virtual/protocol.progress.mjs +0 -3
  113. package/dist/_virtual/protocol.selectionRange.js +0 -5
  114. package/dist/_virtual/protocol.selectionRange.mjs +0 -3
  115. package/dist/_virtual/protocol.semanticTokens.js +0 -5
  116. package/dist/_virtual/protocol.semanticTokens.mjs +0 -3
  117. package/dist/_virtual/protocol.showDocument.js +0 -5
  118. package/dist/_virtual/protocol.showDocument.mjs +0 -3
  119. package/dist/_virtual/protocol.typeDefinition.js +0 -5
  120. package/dist/_virtual/protocol.typeDefinition.mjs +0 -3
  121. package/dist/_virtual/protocol.typeHierarchy.js +0 -5
  122. package/dist/_virtual/protocol.typeHierarchy.mjs +0 -3
  123. package/dist/_virtual/protocol.workspaceFolder.js +0 -5
  124. package/dist/_virtual/protocol.workspaceFolder.mjs +0 -3
  125. package/dist/_virtual/ril.js +0 -5
  126. package/dist/_virtual/ril.mjs +0 -3
  127. package/dist/_virtual/semaphore.js +0 -5
  128. package/dist/_virtual/semaphore.mjs +0 -3
  129. package/dist/_virtual/sharedArrayCancellation.js +0 -5
  130. package/dist/_virtual/sharedArrayCancellation.mjs +0 -3
  131. package/dist/clerk/clerk-optional-auth.d.ts +0 -12
  132. package/dist/clerk/clerk-optional-auth.js +0 -33
  133. package/dist/clerk/clerk-optional-auth.mjs +0 -31
  134. package/dist/clerk/optional-auth.d.ts +0 -12
  135. package/dist/clerk/optional-auth.js +0 -47
  136. package/dist/clerk/optional-auth.mjs +0 -45
  137. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/helpers.js +0 -88
  138. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/helpers.mjs +0 -83
  139. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/model.js +0 -246
  140. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/model.mjs +0 -232
  141. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/visitor.js +0 -56
  142. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/visitor.mjs +0 -54
  143. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +0 -97
  144. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +0 -95
  145. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +0 -48
  146. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +0 -44
  147. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +0 -742
  148. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +0 -740
  149. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +0 -43
  150. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +0 -36
  151. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/print.js +0 -18
  152. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/print.mjs +0 -15
  153. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/timer.js +0 -11
  154. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/timer.mjs +0 -9
  155. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +0 -21
  156. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +0 -19
  157. package/dist/node_modules/.pnpm/@fingerprintjs_fingerprintjs@4.6.2/node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.js +0 -3212
  158. package/dist/node_modules/.pnpm/@fingerprintjs_fingerprintjs@4.6.2/node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.mjs +0 -3187
  159. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.js +0 -9
  160. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7HQA4BMR.mjs +0 -2
  161. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.js +0 -41
  162. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4F5CHEZ2.mjs +0 -38
  163. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.js +0 -122
  164. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-B2363JML.mjs +0 -119
  165. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.js +0 -41
  166. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FRFDVMJY.mjs +0 -38
  167. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.js +0 -54
  168. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PL6DKKU2.mjs +0 -51
  169. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.js +0 -41
  170. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-SJTYNZTY.mjs +0 -38
  171. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.js +0 -1073
  172. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TCCFYFTB.mjs +0 -1036
  173. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.js +0 -41
  174. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-TQ3KTPDO.mjs +0 -38
  175. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.js +0 -58
  176. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UMXZTB3W.mjs +0 -55
  177. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.js +0 -9
  178. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-G5XIXVHT.mjs +0 -2
  179. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.js +0 -9
  180. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-VBDWY6EO.mjs +0 -2
  181. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.js +0 -9
  182. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-DYOGHKS2.mjs +0 -2
  183. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.js +0 -9
  184. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-VRWISCQL.mjs +0 -2
  185. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.js +0 -9
  186. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-ZZBFDIW7.mjs +0 -2
  187. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.js +0 -9
  188. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-GDKQZRPO.mjs +0 -2
  189. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +0 -129
  190. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +0 -78
  191. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +0 -567
  192. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +0 -565
  193. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/atn.js +0 -426
  194. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/atn.mjs +0 -409
  195. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/dfa.js +0 -52
  196. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/dfa.mjs +0 -48
  197. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/lang/lang_extensions.js +0 -13
  198. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +0 -11
  199. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/constants.js +0 -6
  200. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/constants.mjs +0 -4
  201. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst.js +0 -77
  202. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +0 -72
  203. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +0 -106
  204. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +0 -100
  205. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/errors_public.js +0 -191
  206. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/errors_public.mjs +0 -187
  207. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/exceptions_public.js +0 -66
  208. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +0 -60
  209. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/checks.js +0 -469
  210. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +0 -454
  211. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/first.js +0 -66
  212. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +0 -61
  213. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/follow.js +0 -48
  214. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +0 -44
  215. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +0 -27
  216. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +0 -24
  217. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +0 -510
  218. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +0 -500
  219. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/keys.js +0 -33
  220. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +0 -23
  221. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +0 -52
  222. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +0 -50
  223. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +0 -493
  224. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +0 -480
  225. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +0 -44
  226. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +0 -41
  227. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/rest.js +0 -108
  228. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +0 -106
  229. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/parser.js +0 -208
  230. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +0 -201
  231. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +0 -27
  232. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +0 -25
  233. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +0 -79
  234. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +0 -77
  235. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +0 -304
  236. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +0 -302
  237. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +0 -74
  238. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +0 -72
  239. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +0 -141
  240. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +0 -138
  241. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +0 -52
  242. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +0 -50
  243. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +0 -339
  244. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +0 -337
  245. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +0 -555
  246. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +0 -553
  247. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +0 -305
  248. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +0 -299
  249. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +0 -198
  250. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +0 -196
  251. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +0 -23
  252. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +0 -21
  253. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer.js +0 -913
  254. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer.mjs +0 -888
  255. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +0 -12
  256. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +0 -10
  257. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_public.js +0 -659
  258. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +0 -657
  259. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp.js +0 -261
  260. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +0 -256
  261. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +0 -23
  262. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +0 -20
  263. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens.js +0 -140
  264. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens.mjs +0 -125
  265. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens_public.js +0 -95
  266. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +0 -88
  267. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/duration.js +0 -18
  268. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/duration.mjs +0 -16
  269. package/dist/node_modules/.pnpm/katex@0.16.25/node_modules/katex/dist/katex.js +0 -18557
  270. package/dist/node_modules/.pnpm/katex@0.16.25/node_modules/katex/dist/katex.mjs +0 -18541
  271. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/default-module.js +0 -103
  272. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/default-module.mjs +0 -100
  273. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/dependency-injection.js +0 -155
  274. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/dependency-injection.mjs +0 -153
  275. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/comment-provider.js +0 -23
  276. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/comment-provider.mjs +0 -21
  277. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/documentation-provider.js +0 -70
  278. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/documentation-provider.mjs +0 -68
  279. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/jsdoc.js +0 -510
  280. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/jsdoc.mjs +0 -507
  281. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/generated/ast.js +0 -1216
  282. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/generated/ast.mjs +0 -1130
  283. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/grammar-config.js +0 -31
  284. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/grammar-config.mjs +0 -29
  285. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/async-parser.js +0 -23
  286. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/async-parser.mjs +0 -21
  287. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/completion-parser-builder.js +0 -20
  288. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +0 -18
  289. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/cst-node-builder.js +0 -231
  290. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/cst-node-builder.mjs +0 -225
  291. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser-builder.js +0 -32
  292. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +0 -29
  293. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser.js +0 -678
  294. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser.mjs +0 -671
  295. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/lexer.js +0 -86
  296. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/lexer.mjs +0 -79
  297. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/parser-builder-base.js +0 -483
  298. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/parser-builder-base.mjs +0 -481
  299. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/token-builder.js +0 -123
  300. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/token-builder.mjs +0 -121
  301. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/value-converter.js +0 -102
  302. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/value-converter.mjs +0 -100
  303. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/linker.js +0 -290
  304. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/linker.mjs +0 -287
  305. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/name-provider.js +0 -26
  306. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/name-provider.mjs +0 -23
  307. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/references.js +0 -136
  308. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/references.mjs +0 -134
  309. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-computation.js +0 -91
  310. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-computation.mjs +0 -89
  311. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-provider.js +0 -68
  312. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-provider.mjs +0 -66
  313. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope.js +0 -101
  314. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope.mjs +0 -98
  315. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/hydrator.js +0 -279
  316. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/hydrator.mjs +0 -277
  317. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/json-serializer.js +0 -271
  318. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/json-serializer.mjs +0 -268
  319. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/service-registry.js +0 -82
  320. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/service-registry.mjs +0 -80
  321. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/syntax-tree.js +0 -120
  322. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/syntax-tree.mjs +0 -110
  323. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/ast-utils.js +0 -229
  324. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/ast-utils.mjs +0 -218
  325. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/caching.js +0 -153
  326. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/caching.mjs +0 -148
  327. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/collections.js +0 -200
  328. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/collections.mjs +0 -197
  329. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/cst-utils.js +0 -149
  330. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/cst-utils.mjs +0 -138
  331. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/disposable.js +0 -16
  332. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/disposable.mjs +0 -16
  333. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/errors.js +0 -18
  334. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/errors.mjs +0 -15
  335. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-loader.js +0 -43
  336. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-loader.mjs +0 -41
  337. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-utils.js +0 -501
  338. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-utils.mjs +0 -483
  339. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/promise-utils.js +0 -101
  340. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/promise-utils.mjs +0 -94
  341. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/regexp-utils.js +0 -283
  342. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/regexp-utils.mjs +0 -275
  343. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/stream.js +0 -517
  344. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/stream.mjs +0 -511
  345. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/uri-utils.js +0 -192
  346. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/uri-utils.mjs +0 -189
  347. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/document-validator.js +0 -296
  348. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/document-validator.mjs +0 -290
  349. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/validation-registry.js +0 -168
  350. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/validation-registry.mjs +0 -165
  351. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-descriptions.js +0 -90
  352. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +0 -87
  353. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-node-locator.js +0 -49
  354. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +0 -47
  355. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/configuration.js +0 -94
  356. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/configuration.mjs +0 -92
  357. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/document-builder.js +0 -500
  358. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/document-builder.mjs +0 -498
  359. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/documents.js +0 -287
  360. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/documents.mjs +0 -280
  361. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/file-system-provider.js +0 -45
  362. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/file-system-provider.mjs +0 -42
  363. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/index-manager.js +0 -101
  364. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/index-manager.mjs +0 -99
  365. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-lock.js +0 -79
  366. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-lock.mjs +0 -77
  367. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-manager.js +0 -140
  368. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-manager.mjs +0 -138
  369. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.js +0 -22
  370. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +0 -20
  371. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.js +0 -34
  372. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +0 -32
  373. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGt.js +0 -16
  374. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGt.mjs +0 -14
  375. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.js +0 -16
  376. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +0 -14
  377. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.js +0 -44
  378. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +0 -42
  379. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.js +0 -96
  380. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +0 -94
  381. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseOrderBy.js +0 -51
  382. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseOrderBy.mjs +0 -49
  383. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePick.js +0 -21
  384. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePick.mjs +0 -19
  385. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRange.js +0 -30
  386. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRange.mjs +0 -28
  387. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSortBy.js +0 -23
  388. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSortBy.mjs +0 -21
  389. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseZipObject.js +0 -25
  390. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseZipObject.mjs +0 -23
  391. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_compareAscending.js +0 -43
  392. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_compareAscending.mjs +0 -41
  393. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_compareMultiple.js +0 -46
  394. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_compareMultiple.mjs +0 -44
  395. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createRange.js +0 -32
  396. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createRange.mjs +0 -30
  397. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_flatRest.js +0 -18
  398. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_flatRest.mjs +0 -16
  399. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.js +0 -23
  400. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +0 -21
  401. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.js +0 -31
  402. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs +0 -29
  403. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forIn.js +0 -41
  404. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forIn.mjs +0 -39
  405. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forOwn.js +0 -38
  406. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forOwn.mjs +0 -36
  407. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.js +0 -64
  408. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +0 -62
  409. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/mapValues.js +0 -45
  410. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/mapValues.mjs +0 -43
  411. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/max.js +0 -31
  412. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/max.mjs +0 -29
  413. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.js +0 -41
  414. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +0 -39
  415. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.js +0 -31
  416. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +0 -29
  417. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/minBy.js +0 -36
  418. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/minBy.mjs +0 -34
  419. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/pick.js +0 -27
  420. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/pick.mjs +0 -25
  421. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/range.js +0 -48
  422. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/range.mjs +0 -46
  423. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/sortBy.js +0 -50
  424. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/sortBy.mjs +0 -48
  425. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.js +0 -34
  426. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +0 -32
  427. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/union.js +0 -28
  428. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/union.mjs +0 -26
  429. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.js +0 -33
  430. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +0 -31
  431. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqueId.js +0 -30
  432. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqueId.mjs +0 -28
  433. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/zipObject.js +0 -26
  434. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/zipObject.mjs +0 -24
  435. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayAggregator.js +0 -24
  436. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayAggregator.mjs +0 -22
  437. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayEvery.js +0 -25
  438. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayEvery.mjs +0 -23
  439. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAggregator.js +0 -23
  440. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAggregator.mjs +0 -21
  441. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseDifference.js +0 -59
  442. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseDifference.mjs +0 -57
  443. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseEvery.js +0 -23
  444. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseEvery.mjs +0 -21
  445. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsRegExp.js +0 -20
  446. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsRegExp.mjs +0 -18
  447. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.js +0 -33
  448. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.mjs +0 -31
  449. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSome.js +0 -24
  450. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSome.mjs +0 -22
  451. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createAggregator.js +0 -25
  452. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createAggregator.mjs +0 -23
  453. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/assign.js +0 -60
  454. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/assign.mjs +0 -58
  455. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/compact.js +0 -33
  456. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/compact.mjs +0 -31
  457. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/difference.js +0 -35
  458. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/difference.mjs +0 -33
  459. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/drop.js +0 -40
  460. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/drop.mjs +0 -38
  461. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/dropRight.js +0 -41
  462. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/dropRight.mjs +0 -39
  463. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/every.js +0 -54
  464. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/every.mjs +0 -52
  465. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/groupBy.js +0 -43
  466. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/groupBy.mjs +0 -41
  467. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/head.js +0 -25
  468. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/head.mjs +0 -23
  469. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/includes.js +0 -55
  470. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/includes.mjs +0 -53
  471. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/indexOf.js +0 -37
  472. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/indexOf.mjs +0 -35
  473. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isRegExp.js +0 -29
  474. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isRegExp.mjs +0 -27
  475. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isString.js +0 -32
  476. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isString.mjs +0 -30
  477. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/negate.js +0 -42
  478. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/negate.mjs +0 -40
  479. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/pickBy.js +0 -39
  480. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/pickBy.mjs +0 -37
  481. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/reject.js +0 -48
  482. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/reject.mjs +0 -46
  483. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/some.js +0 -49
  484. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/some.mjs +0 -47
  485. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniq.js +0 -27
  486. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniq.mjs +0 -25
  487. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +0 -1139
  488. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.mjs +0 -1137
  489. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +0 -3654
  490. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.mjs +0 -3652
  491. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js +0 -2503
  492. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.mjs +0 -2501
  493. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +0 -19
  494. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.mjs +0 -17
  495. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +0 -18
  496. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.mjs +0 -16
  497. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +0 -3063
  498. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.mjs +0 -3013
  499. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +0 -81
  500. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.mjs +0 -76
  501. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +0 -107
  502. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.mjs +0 -101
  503. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js +0 -1849
  504. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.mjs +0 -1844
  505. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +0 -19
  506. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.mjs +0 -17
  507. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +0 -1936
  508. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.mjs +0 -1931
  509. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +0 -146
  510. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.mjs +0 -144
  511. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +0 -21
  512. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.mjs +0 -19
  513. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +0 -22
  514. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.mjs +0 -20
  515. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +0 -118
  516. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.mjs +0 -114
  517. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +0 -433
  518. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.mjs +0 -426
  519. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +0 -5271
  520. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.mjs +0 -5260
  521. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +0 -2699
  522. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.mjs +0 -2696
  523. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +0 -69
  524. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.mjs +0 -65
  525. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +0 -28
  526. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.mjs +0 -26
  527. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +0 -827
  528. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.mjs +0 -821
  529. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +0 -22
  530. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.mjs +0 -20
  531. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +0 -571
  532. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.mjs +0 -553
  533. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +0 -112
  534. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.mjs +0 -104
  535. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +0 -31
  536. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.mjs +0 -29
  537. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +0 -31
  538. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.mjs +0 -29
  539. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +0 -302
  540. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.mjs +0 -300
  541. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +0 -662
  542. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.mjs +0 -660
  543. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +0 -540
  544. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.mjs +0 -538
  545. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +0 -312
  546. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.mjs +0 -310
  547. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +0 -224
  548. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.mjs +0 -222
  549. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js +0 -1180
  550. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.mjs +0 -1178
  551. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js +0 -2355
  552. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.mjs +0 -2353
  553. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +0 -2201
  554. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.mjs +0 -2199
  555. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +0 -1219
  556. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.mjs +0 -1217
  557. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +0 -42
  558. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.mjs +0 -40
  559. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +0 -1269
  560. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.mjs +0 -1267
  561. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js +0 -1065
  562. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.mjs +0 -1063
  563. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js +0 -1113
  564. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.mjs +0 -1111
  565. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +0 -198
  566. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.mjs +0 -196
  567. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js +0 -1353
  568. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.mjs +0 -1351
  569. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js +0 -1181
  570. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.mjs +0 -1179
  571. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +0 -700
  572. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.mjs +0 -698
  573. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +0 -3893
  574. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.mjs +0 -3891
  575. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +0 -466
  576. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.mjs +0 -464
  577. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +0 -31
  578. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.mjs +0 -29
  579. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +0 -1238
  580. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.mjs +0 -1236
  581. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +0 -1892
  582. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.mjs +0 -1890
  583. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/mermaid.core.js +0 -1311
  584. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/mermaid.core.mjs +0 -1309
  585. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-medium-image-zoom/dist/index.js +0 -814
  586. package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-medium-image-zoom/dist/index.mjs +0 -809
  587. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.js +0 -461
  588. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.mjs +0 -459
  589. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/classes-to-selector.js +0 -8
  590. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/classes-to-selector.mjs +0 -6
  591. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/create-element-if-not-defined.js +0 -23
  592. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/create-element-if-not-defined.mjs +0 -21
  593. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/ssr-window.esm.js +0 -143
  594. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/ssr-window.esm.mjs +0 -140
  595. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/swiper-core.js +0 -3874
  596. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/swiper-core.mjs +0 -3871
  597. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-on-virtual-data.js +0 -129
  598. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-on-virtual-data.mjs +0 -124
  599. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-swiper.js +0 -226
  600. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-swiper.mjs +0 -216
  601. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/utils.js +0 -310
  602. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/utils.mjs +0 -288
  603. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper-react.js +0 -390
  604. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper-react.mjs +0 -387
  605. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/api.js +0 -106
  606. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/api.mjs +0 -104
  607. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/connection.js +0 -1232
  608. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/connection.mjs +0 -1230
  609. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/disposable.js +0 -28
  610. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/disposable.mjs +0 -26
  611. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +0 -410
  612. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/linkedMap.mjs +0 -408
  613. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +0 -164
  614. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageBuffer.mjs +0 -162
  615. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageReader.js +0 -212
  616. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageReader.mjs +0 -210
  617. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +0 -131
  618. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageWriter.mjs +0 -129
  619. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messages.js +0 -319
  620. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messages.mjs +0 -317
  621. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/semaphore.js +0 -81
  622. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/semaphore.mjs +0 -79
  623. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -89
  624. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.mjs +0 -87
  625. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/main.js +0 -277
  626. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/main.mjs +0 -275
  627. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/ril.js +0 -175
  628. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/ril.mjs +0 -173
  629. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/node.js +0 -21
  630. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/node.mjs +0 -19
  631. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/api.js +0 -96
  632. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/api.mjs +0 -94
  633. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/connection.js +0 -28
  634. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/connection.mjs +0 -26
  635. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/messages.js +0 -57
  636. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/messages.mjs +0 -55
  637. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +0 -55
  638. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.mjs +0 -53
  639. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +0 -45
  640. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.mjs +0 -43
  641. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +0 -37
  642. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.mjs +0 -35
  643. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +0 -33
  644. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.mjs +0 -31
  645. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +0 -89
  646. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.mjs +0 -87
  647. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +0 -114
  648. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.mjs +0 -112
  649. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +0 -43
  650. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.mjs +0 -41
  651. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +0 -32
  652. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.mjs +0 -30
  653. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +0 -56
  654. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.mjs +0 -54
  655. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +0 -35
  656. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.mjs +0 -33
  657. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +0 -43
  658. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.mjs +0 -41
  659. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +0 -979
  660. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +0 -32
  661. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.mjs +0 -30
  662. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.mjs +0 -977
  663. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +0 -81
  664. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.mjs +0 -79
  665. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +0 -229
  666. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.mjs +0 -227
  667. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +0 -51
  668. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.mjs +0 -49
  669. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +0 -33
  670. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.mjs +0 -31
  671. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +0 -70
  672. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.mjs +0 -68
  673. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +0 -35
  674. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.mjs +0 -33
  675. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +0 -32
  676. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.mjs +0 -30
  677. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +0 -55
  678. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.mjs +0 -53
  679. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +0 -40
  680. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.mjs +0 -38
  681. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +0 -59
  682. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/utils/is.mjs +0 -57
  683. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/node/main.js +0 -44
  684. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/node/main.mjs +0 -42
  685. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/umd/main.js +0 -2280
  686. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/umd/main.mjs +0 -2278
  687. package/dist/node_modules/.pnpm/vscode-uri@3.1.0/node_modules/vscode-uri/lib/esm/index.js +0 -6
  688. package/dist/node_modules/.pnpm/vscode-uri@3.1.0/node_modules/vscode-uri/lib/esm/index.mjs +0 -3
  689. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/errors.js +0 -52
  690. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/errors.mjs +0 -50
  691. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/iso.js +0 -44
  692. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/iso.mjs +0 -35
  693. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.js +0 -31
  694. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.mjs +0 -18
  695. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js +0 -492
  696. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.mjs +0 -439
  697. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.js +0 -434
  698. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.mjs +0 -388
  699. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.js +0 -245
  700. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.mjs +0 -232
  701. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/core.js +0 -68
  702. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/core.mjs +0 -62
  703. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.js +0 -80
  704. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.mjs +0 -75
  705. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js +0 -101
  706. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.mjs +0 -86
  707. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.js +0 -102
  708. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.mjs +0 -76
  709. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/registries.js +0 -56
  710. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/registries.mjs +0 -52
  711. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js +0 -952
  712. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.mjs +0 -909
  713. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.js +0 -182
  714. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.mjs +0 -163
  715. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.js +0 -9
  716. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.mjs +0 -7
  717. /package/dist/node_modules/.pnpm/{@braintree_sanitize-url@7.1.1 → @braintree_sanitize-url@7.1.2}/node_modules/@braintree/sanitize-url/dist/constants.js +0 -0
  718. /package/dist/node_modules/.pnpm/{@braintree_sanitize-url@7.1.1 → @braintree_sanitize-url@7.1.2}/node_modules/@braintree/sanitize-url/dist/constants.mjs +0 -0
  719. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/customisations/defaults.js +0 -0
  720. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/customisations/defaults.mjs +0 -0
  721. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon/merge.js +0 -0
  722. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon/merge.mjs +0 -0
  723. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon/name.js +0 -0
  724. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon/name.mjs +0 -0
  725. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon/transformations.js +0 -0
  726. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon/transformations.mjs +0 -0
  727. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -0
  728. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +0 -0
  729. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -0
  730. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/icon-set/tree.mjs +0 -0
  731. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/svg/build.js +0 -0
  732. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/svg/build.mjs +0 -0
  733. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/svg/defs.js +0 -0
  734. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/svg/defs.mjs +0 -0
  735. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/svg/html.js +0 -0
  736. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/svg/html.mjs +0 -0
  737. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/svg/size.js +0 -0
  738. /package/dist/node_modules/.pnpm/{@iconify_utils@3.0.2 → @iconify_utils@3.1.0}/node_modules/@iconify/utils/lib/svg/size.mjs +0 -0
  739. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/defaultLocale.js +0 -0
  740. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/defaultLocale.mjs +0 -0
  741. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/exponent.js +0 -0
  742. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/exponent.mjs +0 -0
  743. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatGroup.js +0 -0
  744. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatGroup.mjs +0 -0
  745. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatNumerals.js +0 -0
  746. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatNumerals.mjs +0 -0
  747. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatRounded.js +0 -0
  748. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatRounded.mjs +0 -0
  749. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatSpecifier.js +0 -0
  750. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatSpecifier.mjs +0 -0
  751. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatTrim.js +0 -0
  752. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatTrim.mjs +0 -0
  753. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatTypes.js +0 -0
  754. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatTypes.mjs +0 -0
  755. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/identity.js +0 -0
  756. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/identity.mjs +0 -0
  757. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionFixed.js +0 -0
  758. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionFixed.mjs +0 -0
  759. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionPrefix.js +0 -0
  760. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionPrefix.mjs +0 -0
  761. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionRound.js +0 -0
  762. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionRound.mjs +0 -0
  763. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/dayjs.min.js +0 -0
  764. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/dayjs.min.mjs +0 -0
  765. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/advancedFormat.js +0 -0
  766. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/advancedFormat.mjs +0 -0
  767. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/customParseFormat.js +0 -0
  768. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/customParseFormat.mjs +0 -0
  769. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/isoWeek.js +0 -0
  770. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/isoWeek.mjs +0 -0
@@ -1,2696 +0,0 @@
1
- import { __name } from './chunk-AGHRB4JF.mjs';
2
-
3
- // ../../node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/dist/js-yaml.mjs
4
- function isNothing(subject) {
5
- return typeof subject === "undefined" || subject === null;
6
- }
7
- __name(isNothing, "isNothing");
8
- function isObject(subject) {
9
- return typeof subject === "object" && subject !== null;
10
- }
11
- __name(isObject, "isObject");
12
- function toArray(sequence) {
13
- if (Array.isArray(sequence)) return sequence;
14
- else if (isNothing(sequence)) return [];
15
- return [sequence];
16
- }
17
- __name(toArray, "toArray");
18
- function extend(target, source) {
19
- var index, length, key, sourceKeys;
20
- if (source) {
21
- sourceKeys = Object.keys(source);
22
- for (index = 0, length = sourceKeys.length; index < length; index += 1) {
23
- key = sourceKeys[index];
24
- target[key] = source[key];
25
- }
26
- }
27
- return target;
28
- }
29
- __name(extend, "extend");
30
- function repeat(string, count) {
31
- var result = "", cycle;
32
- for (cycle = 0; cycle < count; cycle += 1) {
33
- result += string;
34
- }
35
- return result;
36
- }
37
- __name(repeat, "repeat");
38
- function isNegativeZero(number) {
39
- return number === 0 && Number.NEGATIVE_INFINITY === 1 / number;
40
- }
41
- __name(isNegativeZero, "isNegativeZero");
42
- var isNothing_1 = isNothing;
43
- var isObject_1 = isObject;
44
- var toArray_1 = toArray;
45
- var repeat_1 = repeat;
46
- var isNegativeZero_1 = isNegativeZero;
47
- var extend_1 = extend;
48
- var common = {
49
- isNothing: isNothing_1,
50
- isObject: isObject_1,
51
- toArray: toArray_1,
52
- repeat: repeat_1,
53
- isNegativeZero: isNegativeZero_1,
54
- extend: extend_1
55
- };
56
- function formatError(exception2, compact) {
57
- var where = "", message = exception2.reason || "(unknown reason)";
58
- if (!exception2.mark) return message;
59
- if (exception2.mark.name) {
60
- where += 'in "' + exception2.mark.name + '" ';
61
- }
62
- where += "(" + (exception2.mark.line + 1) + ":" + (exception2.mark.column + 1) + ")";
63
- if (!compact && exception2.mark.snippet) {
64
- where += "\n\n" + exception2.mark.snippet;
65
- }
66
- return message + " " + where;
67
- }
68
- __name(formatError, "formatError");
69
- function YAMLException$1(reason, mark) {
70
- Error.call(this);
71
- this.name = "YAMLException";
72
- this.reason = reason;
73
- this.mark = mark;
74
- this.message = formatError(this, false);
75
- if (Error.captureStackTrace) {
76
- Error.captureStackTrace(this, this.constructor);
77
- } else {
78
- this.stack = new Error().stack || "";
79
- }
80
- }
81
- __name(YAMLException$1, "YAMLException$1");
82
- YAMLException$1.prototype = Object.create(Error.prototype);
83
- YAMLException$1.prototype.constructor = YAMLException$1;
84
- YAMLException$1.prototype.toString = /* @__PURE__ */ __name(function toString(compact) {
85
- return this.name + ": " + formatError(this, compact);
86
- }, "toString");
87
- var exception = YAMLException$1;
88
- function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
89
- var head = "";
90
- var tail = "";
91
- var maxHalfLength = Math.floor(maxLineLength / 2) - 1;
92
- if (position - lineStart > maxHalfLength) {
93
- head = " ... ";
94
- lineStart = position - maxHalfLength + head.length;
95
- }
96
- if (lineEnd - position > maxHalfLength) {
97
- tail = " ...";
98
- lineEnd = position + maxHalfLength - tail.length;
99
- }
100
- return {
101
- str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, "\u2192") + tail,
102
- pos: position - lineStart + head.length
103
- // relative position
104
- };
105
- }
106
- __name(getLine, "getLine");
107
- function padStart(string, max) {
108
- return common.repeat(" ", max - string.length) + string;
109
- }
110
- __name(padStart, "padStart");
111
- function makeSnippet(mark, options) {
112
- options = Object.create(options || null);
113
- if (!mark.buffer) return null;
114
- if (!options.maxLength) options.maxLength = 79;
115
- if (typeof options.indent !== "number") options.indent = 1;
116
- if (typeof options.linesBefore !== "number") options.linesBefore = 3;
117
- if (typeof options.linesAfter !== "number") options.linesAfter = 2;
118
- var re = /\r?\n|\r|\0/g;
119
- var lineStarts = [0];
120
- var lineEnds = [];
121
- var match;
122
- var foundLineNo = -1;
123
- while (match = re.exec(mark.buffer)) {
124
- lineEnds.push(match.index);
125
- lineStarts.push(match.index + match[0].length);
126
- if (mark.position <= match.index && foundLineNo < 0) {
127
- foundLineNo = lineStarts.length - 2;
128
- }
129
- }
130
- if (foundLineNo < 0) foundLineNo = lineStarts.length - 1;
131
- var result = "", i, line;
132
- var lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length;
133
- var maxLineLength = options.maxLength - (options.indent + lineNoLength + 3);
134
- for (i = 1; i <= options.linesBefore; i++) {
135
- if (foundLineNo - i < 0) break;
136
- line = getLine(
137
- mark.buffer,
138
- lineStarts[foundLineNo - i],
139
- lineEnds[foundLineNo - i],
140
- mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]),
141
- maxLineLength
142
- );
143
- result = common.repeat(" ", options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line.str + "\n" + result;
144
- }
145
- line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
146
- result += common.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + "\n";
147
- result += common.repeat("-", options.indent + lineNoLength + 3 + line.pos) + "^\n";
148
- for (i = 1; i <= options.linesAfter; i++) {
149
- if (foundLineNo + i >= lineEnds.length) break;
150
- line = getLine(
151
- mark.buffer,
152
- lineStarts[foundLineNo + i],
153
- lineEnds[foundLineNo + i],
154
- mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]),
155
- maxLineLength
156
- );
157
- result += common.repeat(" ", options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line.str + "\n";
158
- }
159
- return result.replace(/\n$/, "");
160
- }
161
- __name(makeSnippet, "makeSnippet");
162
- var snippet = makeSnippet;
163
- var TYPE_CONSTRUCTOR_OPTIONS = [
164
- "kind",
165
- "multi",
166
- "resolve",
167
- "construct",
168
- "instanceOf",
169
- "predicate",
170
- "represent",
171
- "representName",
172
- "defaultStyle",
173
- "styleAliases"
174
- ];
175
- var YAML_NODE_KINDS = [
176
- "scalar",
177
- "sequence",
178
- "mapping"
179
- ];
180
- function compileStyleAliases(map2) {
181
- var result = {};
182
- if (map2 !== null) {
183
- Object.keys(map2).forEach(function(style) {
184
- map2[style].forEach(function(alias) {
185
- result[String(alias)] = style;
186
- });
187
- });
188
- }
189
- return result;
190
- }
191
- __name(compileStyleAliases, "compileStyleAliases");
192
- function Type$1(tag, options) {
193
- options = options || {};
194
- Object.keys(options).forEach(function(name) {
195
- if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {
196
- throw new exception('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.');
197
- }
198
- });
199
- this.options = options;
200
- this.tag = tag;
201
- this.kind = options["kind"] || null;
202
- this.resolve = options["resolve"] || function() {
203
- return true;
204
- };
205
- this.construct = options["construct"] || function(data) {
206
- return data;
207
- };
208
- this.instanceOf = options["instanceOf"] || null;
209
- this.predicate = options["predicate"] || null;
210
- this.represent = options["represent"] || null;
211
- this.representName = options["representName"] || null;
212
- this.defaultStyle = options["defaultStyle"] || null;
213
- this.multi = options["multi"] || false;
214
- this.styleAliases = compileStyleAliases(options["styleAliases"] || null);
215
- if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {
216
- throw new exception('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.');
217
- }
218
- }
219
- __name(Type$1, "Type$1");
220
- var type = Type$1;
221
- function compileList(schema2, name) {
222
- var result = [];
223
- schema2[name].forEach(function(currentType) {
224
- var newIndex = result.length;
225
- result.forEach(function(previousType, previousIndex) {
226
- if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) {
227
- newIndex = previousIndex;
228
- }
229
- });
230
- result[newIndex] = currentType;
231
- });
232
- return result;
233
- }
234
- __name(compileList, "compileList");
235
- function compileMap() {
236
- var result = {
237
- scalar: {},
238
- sequence: {},
239
- mapping: {},
240
- fallback: {},
241
- multi: {
242
- scalar: [],
243
- sequence: [],
244
- mapping: [],
245
- fallback: []
246
- }
247
- }, index, length;
248
- function collectType(type2) {
249
- if (type2.multi) {
250
- result.multi[type2.kind].push(type2);
251
- result.multi["fallback"].push(type2);
252
- } else {
253
- result[type2.kind][type2.tag] = result["fallback"][type2.tag] = type2;
254
- }
255
- }
256
- __name(collectType, "collectType");
257
- for (index = 0, length = arguments.length; index < length; index += 1) {
258
- arguments[index].forEach(collectType);
259
- }
260
- return result;
261
- }
262
- __name(compileMap, "compileMap");
263
- function Schema$1(definition) {
264
- return this.extend(definition);
265
- }
266
- __name(Schema$1, "Schema$1");
267
- Schema$1.prototype.extend = /* @__PURE__ */ __name(function extend2(definition) {
268
- var implicit = [];
269
- var explicit = [];
270
- if (definition instanceof type) {
271
- explicit.push(definition);
272
- } else if (Array.isArray(definition)) {
273
- explicit = explicit.concat(definition);
274
- } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
275
- if (definition.implicit) implicit = implicit.concat(definition.implicit);
276
- if (definition.explicit) explicit = explicit.concat(definition.explicit);
277
- } else {
278
- throw new exception("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
279
- }
280
- implicit.forEach(function(type$1) {
281
- if (!(type$1 instanceof type)) {
282
- throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");
283
- }
284
- if (type$1.loadKind && type$1.loadKind !== "scalar") {
285
- throw new exception("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
286
- }
287
- if (type$1.multi) {
288
- throw new exception("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
289
- }
290
- });
291
- explicit.forEach(function(type$1) {
292
- if (!(type$1 instanceof type)) {
293
- throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");
294
- }
295
- });
296
- var result = Object.create(Schema$1.prototype);
297
- result.implicit = (this.implicit || []).concat(implicit);
298
- result.explicit = (this.explicit || []).concat(explicit);
299
- result.compiledImplicit = compileList(result, "implicit");
300
- result.compiledExplicit = compileList(result, "explicit");
301
- result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);
302
- return result;
303
- }, "extend");
304
- var schema = Schema$1;
305
- var str = new type("tag:yaml.org,2002:str", {
306
- kind: "scalar",
307
- construct: /* @__PURE__ */ __name(function(data) {
308
- return data !== null ? data : "";
309
- }, "construct")
310
- });
311
- var seq = new type("tag:yaml.org,2002:seq", {
312
- kind: "sequence",
313
- construct: /* @__PURE__ */ __name(function(data) {
314
- return data !== null ? data : [];
315
- }, "construct")
316
- });
317
- var map = new type("tag:yaml.org,2002:map", {
318
- kind: "mapping",
319
- construct: /* @__PURE__ */ __name(function(data) {
320
- return data !== null ? data : {};
321
- }, "construct")
322
- });
323
- var failsafe = new schema({
324
- explicit: [
325
- str,
326
- seq,
327
- map
328
- ]
329
- });
330
- function resolveYamlNull(data) {
331
- if (data === null) return true;
332
- var max = data.length;
333
- return max === 1 && data === "~" || max === 4 && (data === "null" || data === "Null" || data === "NULL");
334
- }
335
- __name(resolveYamlNull, "resolveYamlNull");
336
- function constructYamlNull() {
337
- return null;
338
- }
339
- __name(constructYamlNull, "constructYamlNull");
340
- function isNull(object) {
341
- return object === null;
342
- }
343
- __name(isNull, "isNull");
344
- var _null = new type("tag:yaml.org,2002:null", {
345
- kind: "scalar",
346
- resolve: resolveYamlNull,
347
- construct: constructYamlNull,
348
- predicate: isNull,
349
- represent: {
350
- canonical: /* @__PURE__ */ __name(function() {
351
- return "~";
352
- }, "canonical"),
353
- lowercase: /* @__PURE__ */ __name(function() {
354
- return "null";
355
- }, "lowercase"),
356
- uppercase: /* @__PURE__ */ __name(function() {
357
- return "NULL";
358
- }, "uppercase"),
359
- camelcase: /* @__PURE__ */ __name(function() {
360
- return "Null";
361
- }, "camelcase"),
362
- empty: /* @__PURE__ */ __name(function() {
363
- return "";
364
- }, "empty")
365
- },
366
- defaultStyle: "lowercase"
367
- });
368
- function resolveYamlBoolean(data) {
369
- if (data === null) return false;
370
- var max = data.length;
371
- return max === 4 && (data === "true" || data === "True" || data === "TRUE") || max === 5 && (data === "false" || data === "False" || data === "FALSE");
372
- }
373
- __name(resolveYamlBoolean, "resolveYamlBoolean");
374
- function constructYamlBoolean(data) {
375
- return data === "true" || data === "True" || data === "TRUE";
376
- }
377
- __name(constructYamlBoolean, "constructYamlBoolean");
378
- function isBoolean(object) {
379
- return Object.prototype.toString.call(object) === "[object Boolean]";
380
- }
381
- __name(isBoolean, "isBoolean");
382
- var bool = new type("tag:yaml.org,2002:bool", {
383
- kind: "scalar",
384
- resolve: resolveYamlBoolean,
385
- construct: constructYamlBoolean,
386
- predicate: isBoolean,
387
- represent: {
388
- lowercase: /* @__PURE__ */ __name(function(object) {
389
- return object ? "true" : "false";
390
- }, "lowercase"),
391
- uppercase: /* @__PURE__ */ __name(function(object) {
392
- return object ? "TRUE" : "FALSE";
393
- }, "uppercase"),
394
- camelcase: /* @__PURE__ */ __name(function(object) {
395
- return object ? "True" : "False";
396
- }, "camelcase")
397
- },
398
- defaultStyle: "lowercase"
399
- });
400
- function isHexCode(c) {
401
- return 48 <= c && c <= 57 || 65 <= c && c <= 70 || 97 <= c && c <= 102;
402
- }
403
- __name(isHexCode, "isHexCode");
404
- function isOctCode(c) {
405
- return 48 <= c && c <= 55;
406
- }
407
- __name(isOctCode, "isOctCode");
408
- function isDecCode(c) {
409
- return 48 <= c && c <= 57;
410
- }
411
- __name(isDecCode, "isDecCode");
412
- function resolveYamlInteger(data) {
413
- if (data === null) return false;
414
- var max = data.length, index = 0, hasDigits = false, ch;
415
- if (!max) return false;
416
- ch = data[index];
417
- if (ch === "-" || ch === "+") {
418
- ch = data[++index];
419
- }
420
- if (ch === "0") {
421
- if (index + 1 === max) return true;
422
- ch = data[++index];
423
- if (ch === "b") {
424
- index++;
425
- for (; index < max; index++) {
426
- ch = data[index];
427
- if (ch === "_") continue;
428
- if (ch !== "0" && ch !== "1") return false;
429
- hasDigits = true;
430
- }
431
- return hasDigits && ch !== "_";
432
- }
433
- if (ch === "x") {
434
- index++;
435
- for (; index < max; index++) {
436
- ch = data[index];
437
- if (ch === "_") continue;
438
- if (!isHexCode(data.charCodeAt(index))) return false;
439
- hasDigits = true;
440
- }
441
- return hasDigits && ch !== "_";
442
- }
443
- if (ch === "o") {
444
- index++;
445
- for (; index < max; index++) {
446
- ch = data[index];
447
- if (ch === "_") continue;
448
- if (!isOctCode(data.charCodeAt(index))) return false;
449
- hasDigits = true;
450
- }
451
- return hasDigits && ch !== "_";
452
- }
453
- }
454
- if (ch === "_") return false;
455
- for (; index < max; index++) {
456
- ch = data[index];
457
- if (ch === "_") continue;
458
- if (!isDecCode(data.charCodeAt(index))) {
459
- return false;
460
- }
461
- hasDigits = true;
462
- }
463
- if (!hasDigits || ch === "_") return false;
464
- return true;
465
- }
466
- __name(resolveYamlInteger, "resolveYamlInteger");
467
- function constructYamlInteger(data) {
468
- var value = data, sign = 1, ch;
469
- if (value.indexOf("_") !== -1) {
470
- value = value.replace(/_/g, "");
471
- }
472
- ch = value[0];
473
- if (ch === "-" || ch === "+") {
474
- if (ch === "-") sign = -1;
475
- value = value.slice(1);
476
- ch = value[0];
477
- }
478
- if (value === "0") return 0;
479
- if (ch === "0") {
480
- if (value[1] === "b") return sign * parseInt(value.slice(2), 2);
481
- if (value[1] === "x") return sign * parseInt(value.slice(2), 16);
482
- if (value[1] === "o") return sign * parseInt(value.slice(2), 8);
483
- }
484
- return sign * parseInt(value, 10);
485
- }
486
- __name(constructYamlInteger, "constructYamlInteger");
487
- function isInteger(object) {
488
- return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 === 0 && !common.isNegativeZero(object));
489
- }
490
- __name(isInteger, "isInteger");
491
- var int = new type("tag:yaml.org,2002:int", {
492
- kind: "scalar",
493
- resolve: resolveYamlInteger,
494
- construct: constructYamlInteger,
495
- predicate: isInteger,
496
- represent: {
497
- binary: /* @__PURE__ */ __name(function(obj) {
498
- return obj >= 0 ? "0b" + obj.toString(2) : "-0b" + obj.toString(2).slice(1);
499
- }, "binary"),
500
- octal: /* @__PURE__ */ __name(function(obj) {
501
- return obj >= 0 ? "0o" + obj.toString(8) : "-0o" + obj.toString(8).slice(1);
502
- }, "octal"),
503
- decimal: /* @__PURE__ */ __name(function(obj) {
504
- return obj.toString(10);
505
- }, "decimal"),
506
- /* eslint-disable max-len */
507
- hexadecimal: /* @__PURE__ */ __name(function(obj) {
508
- return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1);
509
- }, "hexadecimal")
510
- },
511
- defaultStyle: "decimal",
512
- styleAliases: {
513
- binary: [2, "bin"],
514
- octal: [8, "oct"],
515
- decimal: [10, "dec"],
516
- hexadecimal: [16, "hex"]
517
- }
518
- });
519
- var YAML_FLOAT_PATTERN = new RegExp(
520
- // 2.5e4, 2.5 and integers
521
- "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
522
- );
523
- function resolveYamlFloat(data) {
524
- if (data === null) return false;
525
- if (!YAML_FLOAT_PATTERN.test(data) || // Quick hack to not allow integers end with `_`
526
- // Probably should update regexp & check speed
527
- data[data.length - 1] === "_") {
528
- return false;
529
- }
530
- return true;
531
- }
532
- __name(resolveYamlFloat, "resolveYamlFloat");
533
- function constructYamlFloat(data) {
534
- var value, sign;
535
- value = data.replace(/_/g, "").toLowerCase();
536
- sign = value[0] === "-" ? -1 : 1;
537
- if ("+-".indexOf(value[0]) >= 0) {
538
- value = value.slice(1);
539
- }
540
- if (value === ".inf") {
541
- return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
542
- } else if (value === ".nan") {
543
- return NaN;
544
- }
545
- return sign * parseFloat(value, 10);
546
- }
547
- __name(constructYamlFloat, "constructYamlFloat");
548
- var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
549
- function representYamlFloat(object, style) {
550
- var res;
551
- if (isNaN(object)) {
552
- switch (style) {
553
- case "lowercase":
554
- return ".nan";
555
- case "uppercase":
556
- return ".NAN";
557
- case "camelcase":
558
- return ".NaN";
559
- }
560
- } else if (Number.POSITIVE_INFINITY === object) {
561
- switch (style) {
562
- case "lowercase":
563
- return ".inf";
564
- case "uppercase":
565
- return ".INF";
566
- case "camelcase":
567
- return ".Inf";
568
- }
569
- } else if (Number.NEGATIVE_INFINITY === object) {
570
- switch (style) {
571
- case "lowercase":
572
- return "-.inf";
573
- case "uppercase":
574
- return "-.INF";
575
- case "camelcase":
576
- return "-.Inf";
577
- }
578
- } else if (common.isNegativeZero(object)) {
579
- return "-0.0";
580
- }
581
- res = object.toString(10);
582
- return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res;
583
- }
584
- __name(representYamlFloat, "representYamlFloat");
585
- function isFloat(object) {
586
- return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common.isNegativeZero(object));
587
- }
588
- __name(isFloat, "isFloat");
589
- var float = new type("tag:yaml.org,2002:float", {
590
- kind: "scalar",
591
- resolve: resolveYamlFloat,
592
- construct: constructYamlFloat,
593
- predicate: isFloat,
594
- represent: representYamlFloat,
595
- defaultStyle: "lowercase"
596
- });
597
- var json = failsafe.extend({
598
- implicit: [
599
- _null,
600
- bool,
601
- int,
602
- float
603
- ]
604
- });
605
- var core = json;
606
- var YAML_DATE_REGEXP = new RegExp(
607
- "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
608
- );
609
- var YAML_TIMESTAMP_REGEXP = new RegExp(
610
- "^([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]))?))?$"
611
- );
612
- function resolveYamlTimestamp(data) {
613
- if (data === null) return false;
614
- if (YAML_DATE_REGEXP.exec(data) !== null) return true;
615
- if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;
616
- return false;
617
- }
618
- __name(resolveYamlTimestamp, "resolveYamlTimestamp");
619
- function constructYamlTimestamp(data) {
620
- var match, year, month, day, hour, minute, second, fraction = 0, delta = null, tz_hour, tz_minute, date;
621
- match = YAML_DATE_REGEXP.exec(data);
622
- if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);
623
- if (match === null) throw new Error("Date resolve error");
624
- year = +match[1];
625
- month = +match[2] - 1;
626
- day = +match[3];
627
- if (!match[4]) {
628
- return new Date(Date.UTC(year, month, day));
629
- }
630
- hour = +match[4];
631
- minute = +match[5];
632
- second = +match[6];
633
- if (match[7]) {
634
- fraction = match[7].slice(0, 3);
635
- while (fraction.length < 3) {
636
- fraction += "0";
637
- }
638
- fraction = +fraction;
639
- }
640
- if (match[9]) {
641
- tz_hour = +match[10];
642
- tz_minute = +(match[11] || 0);
643
- delta = (tz_hour * 60 + tz_minute) * 6e4;
644
- if (match[9] === "-") delta = -delta;
645
- }
646
- date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
647
- if (delta) date.setTime(date.getTime() - delta);
648
- return date;
649
- }
650
- __name(constructYamlTimestamp, "constructYamlTimestamp");
651
- function representYamlTimestamp(object) {
652
- return object.toISOString();
653
- }
654
- __name(representYamlTimestamp, "representYamlTimestamp");
655
- var timestamp = new type("tag:yaml.org,2002:timestamp", {
656
- kind: "scalar",
657
- resolve: resolveYamlTimestamp,
658
- construct: constructYamlTimestamp,
659
- instanceOf: Date,
660
- represent: representYamlTimestamp
661
- });
662
- function resolveYamlMerge(data) {
663
- return data === "<<" || data === null;
664
- }
665
- __name(resolveYamlMerge, "resolveYamlMerge");
666
- var merge = new type("tag:yaml.org,2002:merge", {
667
- kind: "scalar",
668
- resolve: resolveYamlMerge
669
- });
670
- var BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
671
- function resolveYamlBinary(data) {
672
- if (data === null) return false;
673
- var code, idx, bitlen = 0, max = data.length, map2 = BASE64_MAP;
674
- for (idx = 0; idx < max; idx++) {
675
- code = map2.indexOf(data.charAt(idx));
676
- if (code > 64) continue;
677
- if (code < 0) return false;
678
- bitlen += 6;
679
- }
680
- return bitlen % 8 === 0;
681
- }
682
- __name(resolveYamlBinary, "resolveYamlBinary");
683
- function constructYamlBinary(data) {
684
- var idx, tailbits, input = data.replace(/[\r\n=]/g, ""), max = input.length, map2 = BASE64_MAP, bits = 0, result = [];
685
- for (idx = 0; idx < max; idx++) {
686
- if (idx % 4 === 0 && idx) {
687
- result.push(bits >> 16 & 255);
688
- result.push(bits >> 8 & 255);
689
- result.push(bits & 255);
690
- }
691
- bits = bits << 6 | map2.indexOf(input.charAt(idx));
692
- }
693
- tailbits = max % 4 * 6;
694
- if (tailbits === 0) {
695
- result.push(bits >> 16 & 255);
696
- result.push(bits >> 8 & 255);
697
- result.push(bits & 255);
698
- } else if (tailbits === 18) {
699
- result.push(bits >> 10 & 255);
700
- result.push(bits >> 2 & 255);
701
- } else if (tailbits === 12) {
702
- result.push(bits >> 4 & 255);
703
- }
704
- return new Uint8Array(result);
705
- }
706
- __name(constructYamlBinary, "constructYamlBinary");
707
- function representYamlBinary(object) {
708
- var result = "", bits = 0, idx, tail, max = object.length, map2 = BASE64_MAP;
709
- for (idx = 0; idx < max; idx++) {
710
- if (idx % 3 === 0 && idx) {
711
- result += map2[bits >> 18 & 63];
712
- result += map2[bits >> 12 & 63];
713
- result += map2[bits >> 6 & 63];
714
- result += map2[bits & 63];
715
- }
716
- bits = (bits << 8) + object[idx];
717
- }
718
- tail = max % 3;
719
- if (tail === 0) {
720
- result += map2[bits >> 18 & 63];
721
- result += map2[bits >> 12 & 63];
722
- result += map2[bits >> 6 & 63];
723
- result += map2[bits & 63];
724
- } else if (tail === 2) {
725
- result += map2[bits >> 10 & 63];
726
- result += map2[bits >> 4 & 63];
727
- result += map2[bits << 2 & 63];
728
- result += map2[64];
729
- } else if (tail === 1) {
730
- result += map2[bits >> 2 & 63];
731
- result += map2[bits << 4 & 63];
732
- result += map2[64];
733
- result += map2[64];
734
- }
735
- return result;
736
- }
737
- __name(representYamlBinary, "representYamlBinary");
738
- function isBinary(obj) {
739
- return Object.prototype.toString.call(obj) === "[object Uint8Array]";
740
- }
741
- __name(isBinary, "isBinary");
742
- var binary = new type("tag:yaml.org,2002:binary", {
743
- kind: "scalar",
744
- resolve: resolveYamlBinary,
745
- construct: constructYamlBinary,
746
- predicate: isBinary,
747
- represent: representYamlBinary
748
- });
749
- var _hasOwnProperty$3 = Object.prototype.hasOwnProperty;
750
- var _toString$2 = Object.prototype.toString;
751
- function resolveYamlOmap(data) {
752
- if (data === null) return true;
753
- var objectKeys = [], index, length, pair, pairKey, pairHasKey, object = data;
754
- for (index = 0, length = object.length; index < length; index += 1) {
755
- pair = object[index];
756
- pairHasKey = false;
757
- if (_toString$2.call(pair) !== "[object Object]") return false;
758
- for (pairKey in pair) {
759
- if (_hasOwnProperty$3.call(pair, pairKey)) {
760
- if (!pairHasKey) pairHasKey = true;
761
- else return false;
762
- }
763
- }
764
- if (!pairHasKey) return false;
765
- if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);
766
- else return false;
767
- }
768
- return true;
769
- }
770
- __name(resolveYamlOmap, "resolveYamlOmap");
771
- function constructYamlOmap(data) {
772
- return data !== null ? data : [];
773
- }
774
- __name(constructYamlOmap, "constructYamlOmap");
775
- var omap = new type("tag:yaml.org,2002:omap", {
776
- kind: "sequence",
777
- resolve: resolveYamlOmap,
778
- construct: constructYamlOmap
779
- });
780
- var _toString$1 = Object.prototype.toString;
781
- function resolveYamlPairs(data) {
782
- if (data === null) return true;
783
- var index, length, pair, keys, result, object = data;
784
- result = new Array(object.length);
785
- for (index = 0, length = object.length; index < length; index += 1) {
786
- pair = object[index];
787
- if (_toString$1.call(pair) !== "[object Object]") return false;
788
- keys = Object.keys(pair);
789
- if (keys.length !== 1) return false;
790
- result[index] = [keys[0], pair[keys[0]]];
791
- }
792
- return true;
793
- }
794
- __name(resolveYamlPairs, "resolveYamlPairs");
795
- function constructYamlPairs(data) {
796
- if (data === null) return [];
797
- var index, length, pair, keys, result, object = data;
798
- result = new Array(object.length);
799
- for (index = 0, length = object.length; index < length; index += 1) {
800
- pair = object[index];
801
- keys = Object.keys(pair);
802
- result[index] = [keys[0], pair[keys[0]]];
803
- }
804
- return result;
805
- }
806
- __name(constructYamlPairs, "constructYamlPairs");
807
- var pairs = new type("tag:yaml.org,2002:pairs", {
808
- kind: "sequence",
809
- resolve: resolveYamlPairs,
810
- construct: constructYamlPairs
811
- });
812
- var _hasOwnProperty$2 = Object.prototype.hasOwnProperty;
813
- function resolveYamlSet(data) {
814
- if (data === null) return true;
815
- var key, object = data;
816
- for (key in object) {
817
- if (_hasOwnProperty$2.call(object, key)) {
818
- if (object[key] !== null) return false;
819
- }
820
- }
821
- return true;
822
- }
823
- __name(resolveYamlSet, "resolveYamlSet");
824
- function constructYamlSet(data) {
825
- return data !== null ? data : {};
826
- }
827
- __name(constructYamlSet, "constructYamlSet");
828
- var set = new type("tag:yaml.org,2002:set", {
829
- kind: "mapping",
830
- resolve: resolveYamlSet,
831
- construct: constructYamlSet
832
- });
833
- var _default = core.extend({
834
- implicit: [
835
- timestamp,
836
- merge
837
- ],
838
- explicit: [
839
- binary,
840
- omap,
841
- pairs,
842
- set
843
- ]
844
- });
845
- var _hasOwnProperty$1 = Object.prototype.hasOwnProperty;
846
- var CONTEXT_FLOW_IN = 1;
847
- var CONTEXT_FLOW_OUT = 2;
848
- var CONTEXT_BLOCK_IN = 3;
849
- var CONTEXT_BLOCK_OUT = 4;
850
- var CHOMPING_CLIP = 1;
851
- var CHOMPING_STRIP = 2;
852
- var CHOMPING_KEEP = 3;
853
- var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
854
- var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
855
- var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
856
- var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
857
- var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
858
- function _class(obj) {
859
- return Object.prototype.toString.call(obj);
860
- }
861
- __name(_class, "_class");
862
- function is_EOL(c) {
863
- return c === 10 || c === 13;
864
- }
865
- __name(is_EOL, "is_EOL");
866
- function is_WHITE_SPACE(c) {
867
- return c === 9 || c === 32;
868
- }
869
- __name(is_WHITE_SPACE, "is_WHITE_SPACE");
870
- function is_WS_OR_EOL(c) {
871
- return c === 9 || c === 32 || c === 10 || c === 13;
872
- }
873
- __name(is_WS_OR_EOL, "is_WS_OR_EOL");
874
- function is_FLOW_INDICATOR(c) {
875
- return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
876
- }
877
- __name(is_FLOW_INDICATOR, "is_FLOW_INDICATOR");
878
- function fromHexCode(c) {
879
- var lc;
880
- if (48 <= c && c <= 57) {
881
- return c - 48;
882
- }
883
- lc = c | 32;
884
- if (97 <= lc && lc <= 102) {
885
- return lc - 97 + 10;
886
- }
887
- return -1;
888
- }
889
- __name(fromHexCode, "fromHexCode");
890
- function escapedHexLen(c) {
891
- if (c === 120) {
892
- return 2;
893
- }
894
- if (c === 117) {
895
- return 4;
896
- }
897
- if (c === 85) {
898
- return 8;
899
- }
900
- return 0;
901
- }
902
- __name(escapedHexLen, "escapedHexLen");
903
- function fromDecimalCode(c) {
904
- if (48 <= c && c <= 57) {
905
- return c - 48;
906
- }
907
- return -1;
908
- }
909
- __name(fromDecimalCode, "fromDecimalCode");
910
- function simpleEscapeSequence(c) {
911
- return c === 48 ? "\0" : c === 97 ? "\x07" : c === 98 ? "\b" : c === 116 ? " " : c === 9 ? " " : c === 110 ? "\n" : c === 118 ? "\v" : c === 102 ? "\f" : c === 114 ? "\r" : c === 101 ? "\x1B" : c === 32 ? " " : c === 34 ? '"' : c === 47 ? "/" : c === 92 ? "\\" : c === 78 ? "\x85" : c === 95 ? "\xA0" : c === 76 ? "\u2028" : c === 80 ? "\u2029" : "";
912
- }
913
- __name(simpleEscapeSequence, "simpleEscapeSequence");
914
- function charFromCodepoint(c) {
915
- if (c <= 65535) {
916
- return String.fromCharCode(c);
917
- }
918
- return String.fromCharCode(
919
- (c - 65536 >> 10) + 55296,
920
- (c - 65536 & 1023) + 56320
921
- );
922
- }
923
- __name(charFromCodepoint, "charFromCodepoint");
924
- var simpleEscapeCheck = new Array(256);
925
- var simpleEscapeMap = new Array(256);
926
- for (i = 0; i < 256; i++) {
927
- simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
928
- simpleEscapeMap[i] = simpleEscapeSequence(i);
929
- }
930
- var i;
931
- function State$1(input, options) {
932
- this.input = input;
933
- this.filename = options["filename"] || null;
934
- this.schema = options["schema"] || _default;
935
- this.onWarning = options["onWarning"] || null;
936
- this.legacy = options["legacy"] || false;
937
- this.json = options["json"] || false;
938
- this.listener = options["listener"] || null;
939
- this.implicitTypes = this.schema.compiledImplicit;
940
- this.typeMap = this.schema.compiledTypeMap;
941
- this.length = input.length;
942
- this.position = 0;
943
- this.line = 0;
944
- this.lineStart = 0;
945
- this.lineIndent = 0;
946
- this.firstTabInLine = -1;
947
- this.documents = [];
948
- }
949
- __name(State$1, "State$1");
950
- function generateError(state, message) {
951
- var mark = {
952
- name: state.filename,
953
- buffer: state.input.slice(0, -1),
954
- // omit trailing \0
955
- position: state.position,
956
- line: state.line,
957
- column: state.position - state.lineStart
958
- };
959
- mark.snippet = snippet(mark);
960
- return new exception(message, mark);
961
- }
962
- __name(generateError, "generateError");
963
- function throwError(state, message) {
964
- throw generateError(state, message);
965
- }
966
- __name(throwError, "throwError");
967
- function throwWarning(state, message) {
968
- if (state.onWarning) {
969
- state.onWarning.call(null, generateError(state, message));
970
- }
971
- }
972
- __name(throwWarning, "throwWarning");
973
- var directiveHandlers = {
974
- YAML: /* @__PURE__ */ __name(function handleYamlDirective(state, name, args) {
975
- var match, major, minor;
976
- if (state.version !== null) {
977
- throwError(state, "duplication of %YAML directive");
978
- }
979
- if (args.length !== 1) {
980
- throwError(state, "YAML directive accepts exactly one argument");
981
- }
982
- match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
983
- if (match === null) {
984
- throwError(state, "ill-formed argument of the YAML directive");
985
- }
986
- major = parseInt(match[1], 10);
987
- minor = parseInt(match[2], 10);
988
- if (major !== 1) {
989
- throwError(state, "unacceptable YAML version of the document");
990
- }
991
- state.version = args[0];
992
- state.checkLineBreaks = minor < 2;
993
- if (minor !== 1 && minor !== 2) {
994
- throwWarning(state, "unsupported YAML version of the document");
995
- }
996
- }, "handleYamlDirective"),
997
- TAG: /* @__PURE__ */ __name(function handleTagDirective(state, name, args) {
998
- var handle, prefix;
999
- if (args.length !== 2) {
1000
- throwError(state, "TAG directive accepts exactly two arguments");
1001
- }
1002
- handle = args[0];
1003
- prefix = args[1];
1004
- if (!PATTERN_TAG_HANDLE.test(handle)) {
1005
- throwError(state, "ill-formed tag handle (first argument) of the TAG directive");
1006
- }
1007
- if (_hasOwnProperty$1.call(state.tagMap, handle)) {
1008
- throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
1009
- }
1010
- if (!PATTERN_TAG_URI.test(prefix)) {
1011
- throwError(state, "ill-formed tag prefix (second argument) of the TAG directive");
1012
- }
1013
- try {
1014
- prefix = decodeURIComponent(prefix);
1015
- } catch (err) {
1016
- throwError(state, "tag prefix is malformed: " + prefix);
1017
- }
1018
- state.tagMap[handle] = prefix;
1019
- }, "handleTagDirective")
1020
- };
1021
- function captureSegment(state, start, end, checkJson) {
1022
- var _position, _length, _character, _result;
1023
- if (start < end) {
1024
- _result = state.input.slice(start, end);
1025
- if (checkJson) {
1026
- for (_position = 0, _length = _result.length; _position < _length; _position += 1) {
1027
- _character = _result.charCodeAt(_position);
1028
- if (!(_character === 9 || 32 <= _character && _character <= 1114111)) {
1029
- throwError(state, "expected valid JSON character");
1030
- }
1031
- }
1032
- } else if (PATTERN_NON_PRINTABLE.test(_result)) {
1033
- throwError(state, "the stream contains non-printable characters");
1034
- }
1035
- state.result += _result;
1036
- }
1037
- }
1038
- __name(captureSegment, "captureSegment");
1039
- function mergeMappings(state, destination, source, overridableKeys) {
1040
- var sourceKeys, key, index, quantity;
1041
- if (!common.isObject(source)) {
1042
- throwError(state, "cannot merge mappings; the provided source object is unacceptable");
1043
- }
1044
- sourceKeys = Object.keys(source);
1045
- for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
1046
- key = sourceKeys[index];
1047
- if (!_hasOwnProperty$1.call(destination, key)) {
1048
- destination[key] = source[key];
1049
- overridableKeys[key] = true;
1050
- }
1051
- }
1052
- }
1053
- __name(mergeMappings, "mergeMappings");
1054
- function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startLineStart, startPos) {
1055
- var index, quantity;
1056
- if (Array.isArray(keyNode)) {
1057
- keyNode = Array.prototype.slice.call(keyNode);
1058
- for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
1059
- if (Array.isArray(keyNode[index])) {
1060
- throwError(state, "nested arrays are not supported inside keys");
1061
- }
1062
- if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") {
1063
- keyNode[index] = "[object Object]";
1064
- }
1065
- }
1066
- }
1067
- if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") {
1068
- keyNode = "[object Object]";
1069
- }
1070
- keyNode = String(keyNode);
1071
- if (_result === null) {
1072
- _result = {};
1073
- }
1074
- if (keyTag === "tag:yaml.org,2002:merge") {
1075
- if (Array.isArray(valueNode)) {
1076
- for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {
1077
- mergeMappings(state, _result, valueNode[index], overridableKeys);
1078
- }
1079
- } else {
1080
- mergeMappings(state, _result, valueNode, overridableKeys);
1081
- }
1082
- } else {
1083
- if (!state.json && !_hasOwnProperty$1.call(overridableKeys, keyNode) && _hasOwnProperty$1.call(_result, keyNode)) {
1084
- state.line = startLine || state.line;
1085
- state.lineStart = startLineStart || state.lineStart;
1086
- state.position = startPos || state.position;
1087
- throwError(state, "duplicated mapping key");
1088
- }
1089
- if (keyNode === "__proto__") {
1090
- Object.defineProperty(_result, keyNode, {
1091
- configurable: true,
1092
- enumerable: true,
1093
- writable: true,
1094
- value: valueNode
1095
- });
1096
- } else {
1097
- _result[keyNode] = valueNode;
1098
- }
1099
- delete overridableKeys[keyNode];
1100
- }
1101
- return _result;
1102
- }
1103
- __name(storeMappingPair, "storeMappingPair");
1104
- function readLineBreak(state) {
1105
- var ch;
1106
- ch = state.input.charCodeAt(state.position);
1107
- if (ch === 10) {
1108
- state.position++;
1109
- } else if (ch === 13) {
1110
- state.position++;
1111
- if (state.input.charCodeAt(state.position) === 10) {
1112
- state.position++;
1113
- }
1114
- } else {
1115
- throwError(state, "a line break is expected");
1116
- }
1117
- state.line += 1;
1118
- state.lineStart = state.position;
1119
- state.firstTabInLine = -1;
1120
- }
1121
- __name(readLineBreak, "readLineBreak");
1122
- function skipSeparationSpace(state, allowComments, checkIndent) {
1123
- var lineBreaks = 0, ch = state.input.charCodeAt(state.position);
1124
- while (ch !== 0) {
1125
- while (is_WHITE_SPACE(ch)) {
1126
- if (ch === 9 && state.firstTabInLine === -1) {
1127
- state.firstTabInLine = state.position;
1128
- }
1129
- ch = state.input.charCodeAt(++state.position);
1130
- }
1131
- if (allowComments && ch === 35) {
1132
- do {
1133
- ch = state.input.charCodeAt(++state.position);
1134
- } while (ch !== 10 && ch !== 13 && ch !== 0);
1135
- }
1136
- if (is_EOL(ch)) {
1137
- readLineBreak(state);
1138
- ch = state.input.charCodeAt(state.position);
1139
- lineBreaks++;
1140
- state.lineIndent = 0;
1141
- while (ch === 32) {
1142
- state.lineIndent++;
1143
- ch = state.input.charCodeAt(++state.position);
1144
- }
1145
- } else {
1146
- break;
1147
- }
1148
- }
1149
- if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {
1150
- throwWarning(state, "deficient indentation");
1151
- }
1152
- return lineBreaks;
1153
- }
1154
- __name(skipSeparationSpace, "skipSeparationSpace");
1155
- function testDocumentSeparator(state) {
1156
- var _position = state.position, ch;
1157
- ch = state.input.charCodeAt(_position);
1158
- if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) {
1159
- _position += 3;
1160
- ch = state.input.charCodeAt(_position);
1161
- if (ch === 0 || is_WS_OR_EOL(ch)) {
1162
- return true;
1163
- }
1164
- }
1165
- return false;
1166
- }
1167
- __name(testDocumentSeparator, "testDocumentSeparator");
1168
- function writeFoldedLines(state, count) {
1169
- if (count === 1) {
1170
- state.result += " ";
1171
- } else if (count > 1) {
1172
- state.result += common.repeat("\n", count - 1);
1173
- }
1174
- }
1175
- __name(writeFoldedLines, "writeFoldedLines");
1176
- function readPlainScalar(state, nodeIndent, withinFlowCollection) {
1177
- var preceding, following, captureStart, captureEnd, hasPendingContent, _line, _lineStart, _lineIndent, _kind = state.kind, _result = state.result, ch;
1178
- ch = state.input.charCodeAt(state.position);
1179
- if (is_WS_OR_EOL(ch) || is_FLOW_INDICATOR(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) {
1180
- return false;
1181
- }
1182
- if (ch === 63 || ch === 45) {
1183
- following = state.input.charCodeAt(state.position + 1);
1184
- if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) {
1185
- return false;
1186
- }
1187
- }
1188
- state.kind = "scalar";
1189
- state.result = "";
1190
- captureStart = captureEnd = state.position;
1191
- hasPendingContent = false;
1192
- while (ch !== 0) {
1193
- if (ch === 58) {
1194
- following = state.input.charCodeAt(state.position + 1);
1195
- if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) {
1196
- break;
1197
- }
1198
- } else if (ch === 35) {
1199
- preceding = state.input.charCodeAt(state.position - 1);
1200
- if (is_WS_OR_EOL(preceding)) {
1201
- break;
1202
- }
1203
- } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && is_FLOW_INDICATOR(ch)) {
1204
- break;
1205
- } else if (is_EOL(ch)) {
1206
- _line = state.line;
1207
- _lineStart = state.lineStart;
1208
- _lineIndent = state.lineIndent;
1209
- skipSeparationSpace(state, false, -1);
1210
- if (state.lineIndent >= nodeIndent) {
1211
- hasPendingContent = true;
1212
- ch = state.input.charCodeAt(state.position);
1213
- continue;
1214
- } else {
1215
- state.position = captureEnd;
1216
- state.line = _line;
1217
- state.lineStart = _lineStart;
1218
- state.lineIndent = _lineIndent;
1219
- break;
1220
- }
1221
- }
1222
- if (hasPendingContent) {
1223
- captureSegment(state, captureStart, captureEnd, false);
1224
- writeFoldedLines(state, state.line - _line);
1225
- captureStart = captureEnd = state.position;
1226
- hasPendingContent = false;
1227
- }
1228
- if (!is_WHITE_SPACE(ch)) {
1229
- captureEnd = state.position + 1;
1230
- }
1231
- ch = state.input.charCodeAt(++state.position);
1232
- }
1233
- captureSegment(state, captureStart, captureEnd, false);
1234
- if (state.result) {
1235
- return true;
1236
- }
1237
- state.kind = _kind;
1238
- state.result = _result;
1239
- return false;
1240
- }
1241
- __name(readPlainScalar, "readPlainScalar");
1242
- function readSingleQuotedScalar(state, nodeIndent) {
1243
- var ch, captureStart, captureEnd;
1244
- ch = state.input.charCodeAt(state.position);
1245
- if (ch !== 39) {
1246
- return false;
1247
- }
1248
- state.kind = "scalar";
1249
- state.result = "";
1250
- state.position++;
1251
- captureStart = captureEnd = state.position;
1252
- while ((ch = state.input.charCodeAt(state.position)) !== 0) {
1253
- if (ch === 39) {
1254
- captureSegment(state, captureStart, state.position, true);
1255
- ch = state.input.charCodeAt(++state.position);
1256
- if (ch === 39) {
1257
- captureStart = state.position;
1258
- state.position++;
1259
- captureEnd = state.position;
1260
- } else {
1261
- return true;
1262
- }
1263
- } else if (is_EOL(ch)) {
1264
- captureSegment(state, captureStart, captureEnd, true);
1265
- writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
1266
- captureStart = captureEnd = state.position;
1267
- } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
1268
- throwError(state, "unexpected end of the document within a single quoted scalar");
1269
- } else {
1270
- state.position++;
1271
- captureEnd = state.position;
1272
- }
1273
- }
1274
- throwError(state, "unexpected end of the stream within a single quoted scalar");
1275
- }
1276
- __name(readSingleQuotedScalar, "readSingleQuotedScalar");
1277
- function readDoubleQuotedScalar(state, nodeIndent) {
1278
- var captureStart, captureEnd, hexLength, hexResult, tmp, ch;
1279
- ch = state.input.charCodeAt(state.position);
1280
- if (ch !== 34) {
1281
- return false;
1282
- }
1283
- state.kind = "scalar";
1284
- state.result = "";
1285
- state.position++;
1286
- captureStart = captureEnd = state.position;
1287
- while ((ch = state.input.charCodeAt(state.position)) !== 0) {
1288
- if (ch === 34) {
1289
- captureSegment(state, captureStart, state.position, true);
1290
- state.position++;
1291
- return true;
1292
- } else if (ch === 92) {
1293
- captureSegment(state, captureStart, state.position, true);
1294
- ch = state.input.charCodeAt(++state.position);
1295
- if (is_EOL(ch)) {
1296
- skipSeparationSpace(state, false, nodeIndent);
1297
- } else if (ch < 256 && simpleEscapeCheck[ch]) {
1298
- state.result += simpleEscapeMap[ch];
1299
- state.position++;
1300
- } else if ((tmp = escapedHexLen(ch)) > 0) {
1301
- hexLength = tmp;
1302
- hexResult = 0;
1303
- for (; hexLength > 0; hexLength--) {
1304
- ch = state.input.charCodeAt(++state.position);
1305
- if ((tmp = fromHexCode(ch)) >= 0) {
1306
- hexResult = (hexResult << 4) + tmp;
1307
- } else {
1308
- throwError(state, "expected hexadecimal character");
1309
- }
1310
- }
1311
- state.result += charFromCodepoint(hexResult);
1312
- state.position++;
1313
- } else {
1314
- throwError(state, "unknown escape sequence");
1315
- }
1316
- captureStart = captureEnd = state.position;
1317
- } else if (is_EOL(ch)) {
1318
- captureSegment(state, captureStart, captureEnd, true);
1319
- writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
1320
- captureStart = captureEnd = state.position;
1321
- } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
1322
- throwError(state, "unexpected end of the document within a double quoted scalar");
1323
- } else {
1324
- state.position++;
1325
- captureEnd = state.position;
1326
- }
1327
- }
1328
- throwError(state, "unexpected end of the stream within a double quoted scalar");
1329
- }
1330
- __name(readDoubleQuotedScalar, "readDoubleQuotedScalar");
1331
- function readFlowCollection(state, nodeIndent) {
1332
- var readNext = true, _line, _lineStart, _pos, _tag = state.tag, _result, _anchor = state.anchor, following, terminator, isPair, isExplicitPair, isMapping, overridableKeys = /* @__PURE__ */ Object.create(null), keyNode, keyTag, valueNode, ch;
1333
- ch = state.input.charCodeAt(state.position);
1334
- if (ch === 91) {
1335
- terminator = 93;
1336
- isMapping = false;
1337
- _result = [];
1338
- } else if (ch === 123) {
1339
- terminator = 125;
1340
- isMapping = true;
1341
- _result = {};
1342
- } else {
1343
- return false;
1344
- }
1345
- if (state.anchor !== null) {
1346
- state.anchorMap[state.anchor] = _result;
1347
- }
1348
- ch = state.input.charCodeAt(++state.position);
1349
- while (ch !== 0) {
1350
- skipSeparationSpace(state, true, nodeIndent);
1351
- ch = state.input.charCodeAt(state.position);
1352
- if (ch === terminator) {
1353
- state.position++;
1354
- state.tag = _tag;
1355
- state.anchor = _anchor;
1356
- state.kind = isMapping ? "mapping" : "sequence";
1357
- state.result = _result;
1358
- return true;
1359
- } else if (!readNext) {
1360
- throwError(state, "missed comma between flow collection entries");
1361
- } else if (ch === 44) {
1362
- throwError(state, "expected the node content, but found ','");
1363
- }
1364
- keyTag = keyNode = valueNode = null;
1365
- isPair = isExplicitPair = false;
1366
- if (ch === 63) {
1367
- following = state.input.charCodeAt(state.position + 1);
1368
- if (is_WS_OR_EOL(following)) {
1369
- isPair = isExplicitPair = true;
1370
- state.position++;
1371
- skipSeparationSpace(state, true, nodeIndent);
1372
- }
1373
- }
1374
- _line = state.line;
1375
- _lineStart = state.lineStart;
1376
- _pos = state.position;
1377
- composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
1378
- keyTag = state.tag;
1379
- keyNode = state.result;
1380
- skipSeparationSpace(state, true, nodeIndent);
1381
- ch = state.input.charCodeAt(state.position);
1382
- if ((isExplicitPair || state.line === _line) && ch === 58) {
1383
- isPair = true;
1384
- ch = state.input.charCodeAt(++state.position);
1385
- skipSeparationSpace(state, true, nodeIndent);
1386
- composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
1387
- valueNode = state.result;
1388
- }
1389
- if (isMapping) {
1390
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);
1391
- } else if (isPair) {
1392
- _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));
1393
- } else {
1394
- _result.push(keyNode);
1395
- }
1396
- skipSeparationSpace(state, true, nodeIndent);
1397
- ch = state.input.charCodeAt(state.position);
1398
- if (ch === 44) {
1399
- readNext = true;
1400
- ch = state.input.charCodeAt(++state.position);
1401
- } else {
1402
- readNext = false;
1403
- }
1404
- }
1405
- throwError(state, "unexpected end of the stream within a flow collection");
1406
- }
1407
- __name(readFlowCollection, "readFlowCollection");
1408
- function readBlockScalar(state, nodeIndent) {
1409
- var captureStart, folding, chomping = CHOMPING_CLIP, didReadContent = false, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp, ch;
1410
- ch = state.input.charCodeAt(state.position);
1411
- if (ch === 124) {
1412
- folding = false;
1413
- } else if (ch === 62) {
1414
- folding = true;
1415
- } else {
1416
- return false;
1417
- }
1418
- state.kind = "scalar";
1419
- state.result = "";
1420
- while (ch !== 0) {
1421
- ch = state.input.charCodeAt(++state.position);
1422
- if (ch === 43 || ch === 45) {
1423
- if (CHOMPING_CLIP === chomping) {
1424
- chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP;
1425
- } else {
1426
- throwError(state, "repeat of a chomping mode identifier");
1427
- }
1428
- } else if ((tmp = fromDecimalCode(ch)) >= 0) {
1429
- if (tmp === 0) {
1430
- throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
1431
- } else if (!detectedIndent) {
1432
- textIndent = nodeIndent + tmp - 1;
1433
- detectedIndent = true;
1434
- } else {
1435
- throwError(state, "repeat of an indentation width identifier");
1436
- }
1437
- } else {
1438
- break;
1439
- }
1440
- }
1441
- if (is_WHITE_SPACE(ch)) {
1442
- do {
1443
- ch = state.input.charCodeAt(++state.position);
1444
- } while (is_WHITE_SPACE(ch));
1445
- if (ch === 35) {
1446
- do {
1447
- ch = state.input.charCodeAt(++state.position);
1448
- } while (!is_EOL(ch) && ch !== 0);
1449
- }
1450
- }
1451
- while (ch !== 0) {
1452
- readLineBreak(state);
1453
- state.lineIndent = 0;
1454
- ch = state.input.charCodeAt(state.position);
1455
- while ((!detectedIndent || state.lineIndent < textIndent) && ch === 32) {
1456
- state.lineIndent++;
1457
- ch = state.input.charCodeAt(++state.position);
1458
- }
1459
- if (!detectedIndent && state.lineIndent > textIndent) {
1460
- textIndent = state.lineIndent;
1461
- }
1462
- if (is_EOL(ch)) {
1463
- emptyLines++;
1464
- continue;
1465
- }
1466
- if (state.lineIndent < textIndent) {
1467
- if (chomping === CHOMPING_KEEP) {
1468
- state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1469
- } else if (chomping === CHOMPING_CLIP) {
1470
- if (didReadContent) {
1471
- state.result += "\n";
1472
- }
1473
- }
1474
- break;
1475
- }
1476
- if (folding) {
1477
- if (is_WHITE_SPACE(ch)) {
1478
- atMoreIndented = true;
1479
- state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1480
- } else if (atMoreIndented) {
1481
- atMoreIndented = false;
1482
- state.result += common.repeat("\n", emptyLines + 1);
1483
- } else if (emptyLines === 0) {
1484
- if (didReadContent) {
1485
- state.result += " ";
1486
- }
1487
- } else {
1488
- state.result += common.repeat("\n", emptyLines);
1489
- }
1490
- } else {
1491
- state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1492
- }
1493
- didReadContent = true;
1494
- detectedIndent = true;
1495
- emptyLines = 0;
1496
- captureStart = state.position;
1497
- while (!is_EOL(ch) && ch !== 0) {
1498
- ch = state.input.charCodeAt(++state.position);
1499
- }
1500
- captureSegment(state, captureStart, state.position, false);
1501
- }
1502
- return true;
1503
- }
1504
- __name(readBlockScalar, "readBlockScalar");
1505
- function readBlockSequence(state, nodeIndent) {
1506
- var _line, _tag = state.tag, _anchor = state.anchor, _result = [], following, detected = false, ch;
1507
- if (state.firstTabInLine !== -1) return false;
1508
- if (state.anchor !== null) {
1509
- state.anchorMap[state.anchor] = _result;
1510
- }
1511
- ch = state.input.charCodeAt(state.position);
1512
- while (ch !== 0) {
1513
- if (state.firstTabInLine !== -1) {
1514
- state.position = state.firstTabInLine;
1515
- throwError(state, "tab characters must not be used in indentation");
1516
- }
1517
- if (ch !== 45) {
1518
- break;
1519
- }
1520
- following = state.input.charCodeAt(state.position + 1);
1521
- if (!is_WS_OR_EOL(following)) {
1522
- break;
1523
- }
1524
- detected = true;
1525
- state.position++;
1526
- if (skipSeparationSpace(state, true, -1)) {
1527
- if (state.lineIndent <= nodeIndent) {
1528
- _result.push(null);
1529
- ch = state.input.charCodeAt(state.position);
1530
- continue;
1531
- }
1532
- }
1533
- _line = state.line;
1534
- composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
1535
- _result.push(state.result);
1536
- skipSeparationSpace(state, true, -1);
1537
- ch = state.input.charCodeAt(state.position);
1538
- if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) {
1539
- throwError(state, "bad indentation of a sequence entry");
1540
- } else if (state.lineIndent < nodeIndent) {
1541
- break;
1542
- }
1543
- }
1544
- if (detected) {
1545
- state.tag = _tag;
1546
- state.anchor = _anchor;
1547
- state.kind = "sequence";
1548
- state.result = _result;
1549
- return true;
1550
- }
1551
- return false;
1552
- }
1553
- __name(readBlockSequence, "readBlockSequence");
1554
- function readBlockMapping(state, nodeIndent, flowIndent) {
1555
- var following, allowCompact, _line, _keyLine, _keyLineStart, _keyPos, _tag = state.tag, _anchor = state.anchor, _result = {}, overridableKeys = /* @__PURE__ */ Object.create(null), keyTag = null, keyNode = null, valueNode = null, atExplicitKey = false, detected = false, ch;
1556
- if (state.firstTabInLine !== -1) return false;
1557
- if (state.anchor !== null) {
1558
- state.anchorMap[state.anchor] = _result;
1559
- }
1560
- ch = state.input.charCodeAt(state.position);
1561
- while (ch !== 0) {
1562
- if (!atExplicitKey && state.firstTabInLine !== -1) {
1563
- state.position = state.firstTabInLine;
1564
- throwError(state, "tab characters must not be used in indentation");
1565
- }
1566
- following = state.input.charCodeAt(state.position + 1);
1567
- _line = state.line;
1568
- if ((ch === 63 || ch === 58) && is_WS_OR_EOL(following)) {
1569
- if (ch === 63) {
1570
- if (atExplicitKey) {
1571
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1572
- keyTag = keyNode = valueNode = null;
1573
- }
1574
- detected = true;
1575
- atExplicitKey = true;
1576
- allowCompact = true;
1577
- } else if (atExplicitKey) {
1578
- atExplicitKey = false;
1579
- allowCompact = true;
1580
- } else {
1581
- throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");
1582
- }
1583
- state.position += 1;
1584
- ch = following;
1585
- } else {
1586
- _keyLine = state.line;
1587
- _keyLineStart = state.lineStart;
1588
- _keyPos = state.position;
1589
- if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
1590
- break;
1591
- }
1592
- if (state.line === _line) {
1593
- ch = state.input.charCodeAt(state.position);
1594
- while (is_WHITE_SPACE(ch)) {
1595
- ch = state.input.charCodeAt(++state.position);
1596
- }
1597
- if (ch === 58) {
1598
- ch = state.input.charCodeAt(++state.position);
1599
- if (!is_WS_OR_EOL(ch)) {
1600
- throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
1601
- }
1602
- if (atExplicitKey) {
1603
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1604
- keyTag = keyNode = valueNode = null;
1605
- }
1606
- detected = true;
1607
- atExplicitKey = false;
1608
- allowCompact = false;
1609
- keyTag = state.tag;
1610
- keyNode = state.result;
1611
- } else if (detected) {
1612
- throwError(state, "can not read an implicit mapping pair; a colon is missed");
1613
- } else {
1614
- state.tag = _tag;
1615
- state.anchor = _anchor;
1616
- return true;
1617
- }
1618
- } else if (detected) {
1619
- throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key");
1620
- } else {
1621
- state.tag = _tag;
1622
- state.anchor = _anchor;
1623
- return true;
1624
- }
1625
- }
1626
- if (state.line === _line || state.lineIndent > nodeIndent) {
1627
- if (atExplicitKey) {
1628
- _keyLine = state.line;
1629
- _keyLineStart = state.lineStart;
1630
- _keyPos = state.position;
1631
- }
1632
- if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
1633
- if (atExplicitKey) {
1634
- keyNode = state.result;
1635
- } else {
1636
- valueNode = state.result;
1637
- }
1638
- }
1639
- if (!atExplicitKey) {
1640
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);
1641
- keyTag = keyNode = valueNode = null;
1642
- }
1643
- skipSeparationSpace(state, true, -1);
1644
- ch = state.input.charCodeAt(state.position);
1645
- }
1646
- if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) {
1647
- throwError(state, "bad indentation of a mapping entry");
1648
- } else if (state.lineIndent < nodeIndent) {
1649
- break;
1650
- }
1651
- }
1652
- if (atExplicitKey) {
1653
- storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
1654
- }
1655
- if (detected) {
1656
- state.tag = _tag;
1657
- state.anchor = _anchor;
1658
- state.kind = "mapping";
1659
- state.result = _result;
1660
- }
1661
- return detected;
1662
- }
1663
- __name(readBlockMapping, "readBlockMapping");
1664
- function readTagProperty(state) {
1665
- var _position, isVerbatim = false, isNamed = false, tagHandle, tagName, ch;
1666
- ch = state.input.charCodeAt(state.position);
1667
- if (ch !== 33) return false;
1668
- if (state.tag !== null) {
1669
- throwError(state, "duplication of a tag property");
1670
- }
1671
- ch = state.input.charCodeAt(++state.position);
1672
- if (ch === 60) {
1673
- isVerbatim = true;
1674
- ch = state.input.charCodeAt(++state.position);
1675
- } else if (ch === 33) {
1676
- isNamed = true;
1677
- tagHandle = "!!";
1678
- ch = state.input.charCodeAt(++state.position);
1679
- } else {
1680
- tagHandle = "!";
1681
- }
1682
- _position = state.position;
1683
- if (isVerbatim) {
1684
- do {
1685
- ch = state.input.charCodeAt(++state.position);
1686
- } while (ch !== 0 && ch !== 62);
1687
- if (state.position < state.length) {
1688
- tagName = state.input.slice(_position, state.position);
1689
- ch = state.input.charCodeAt(++state.position);
1690
- } else {
1691
- throwError(state, "unexpected end of the stream within a verbatim tag");
1692
- }
1693
- } else {
1694
- while (ch !== 0 && !is_WS_OR_EOL(ch)) {
1695
- if (ch === 33) {
1696
- if (!isNamed) {
1697
- tagHandle = state.input.slice(_position - 1, state.position + 1);
1698
- if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
1699
- throwError(state, "named tag handle cannot contain such characters");
1700
- }
1701
- isNamed = true;
1702
- _position = state.position + 1;
1703
- } else {
1704
- throwError(state, "tag suffix cannot contain exclamation marks");
1705
- }
1706
- }
1707
- ch = state.input.charCodeAt(++state.position);
1708
- }
1709
- tagName = state.input.slice(_position, state.position);
1710
- if (PATTERN_FLOW_INDICATORS.test(tagName)) {
1711
- throwError(state, "tag suffix cannot contain flow indicator characters");
1712
- }
1713
- }
1714
- if (tagName && !PATTERN_TAG_URI.test(tagName)) {
1715
- throwError(state, "tag name cannot contain such characters: " + tagName);
1716
- }
1717
- try {
1718
- tagName = decodeURIComponent(tagName);
1719
- } catch (err) {
1720
- throwError(state, "tag name is malformed: " + tagName);
1721
- }
1722
- if (isVerbatim) {
1723
- state.tag = tagName;
1724
- } else if (_hasOwnProperty$1.call(state.tagMap, tagHandle)) {
1725
- state.tag = state.tagMap[tagHandle] + tagName;
1726
- } else if (tagHandle === "!") {
1727
- state.tag = "!" + tagName;
1728
- } else if (tagHandle === "!!") {
1729
- state.tag = "tag:yaml.org,2002:" + tagName;
1730
- } else {
1731
- throwError(state, 'undeclared tag handle "' + tagHandle + '"');
1732
- }
1733
- return true;
1734
- }
1735
- __name(readTagProperty, "readTagProperty");
1736
- function readAnchorProperty(state) {
1737
- var _position, ch;
1738
- ch = state.input.charCodeAt(state.position);
1739
- if (ch !== 38) return false;
1740
- if (state.anchor !== null) {
1741
- throwError(state, "duplication of an anchor property");
1742
- }
1743
- ch = state.input.charCodeAt(++state.position);
1744
- _position = state.position;
1745
- while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
1746
- ch = state.input.charCodeAt(++state.position);
1747
- }
1748
- if (state.position === _position) {
1749
- throwError(state, "name of an anchor node must contain at least one character");
1750
- }
1751
- state.anchor = state.input.slice(_position, state.position);
1752
- return true;
1753
- }
1754
- __name(readAnchorProperty, "readAnchorProperty");
1755
- function readAlias(state) {
1756
- var _position, alias, ch;
1757
- ch = state.input.charCodeAt(state.position);
1758
- if (ch !== 42) return false;
1759
- ch = state.input.charCodeAt(++state.position);
1760
- _position = state.position;
1761
- while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
1762
- ch = state.input.charCodeAt(++state.position);
1763
- }
1764
- if (state.position === _position) {
1765
- throwError(state, "name of an alias node must contain at least one character");
1766
- }
1767
- alias = state.input.slice(_position, state.position);
1768
- if (!_hasOwnProperty$1.call(state.anchorMap, alias)) {
1769
- throwError(state, 'unidentified alias "' + alias + '"');
1770
- }
1771
- state.result = state.anchorMap[alias];
1772
- skipSeparationSpace(state, true, -1);
1773
- return true;
1774
- }
1775
- __name(readAlias, "readAlias");
1776
- function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
1777
- var allowBlockStyles, allowBlockScalars, allowBlockCollections, indentStatus = 1, atNewLine = false, hasContent = false, typeIndex, typeQuantity, typeList, type2, flowIndent, blockIndent;
1778
- if (state.listener !== null) {
1779
- state.listener("open", state);
1780
- }
1781
- state.tag = null;
1782
- state.anchor = null;
1783
- state.kind = null;
1784
- state.result = null;
1785
- allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext;
1786
- if (allowToSeek) {
1787
- if (skipSeparationSpace(state, true, -1)) {
1788
- atNewLine = true;
1789
- if (state.lineIndent > parentIndent) {
1790
- indentStatus = 1;
1791
- } else if (state.lineIndent === parentIndent) {
1792
- indentStatus = 0;
1793
- } else if (state.lineIndent < parentIndent) {
1794
- indentStatus = -1;
1795
- }
1796
- }
1797
- }
1798
- if (indentStatus === 1) {
1799
- while (readTagProperty(state) || readAnchorProperty(state)) {
1800
- if (skipSeparationSpace(state, true, -1)) {
1801
- atNewLine = true;
1802
- allowBlockCollections = allowBlockStyles;
1803
- if (state.lineIndent > parentIndent) {
1804
- indentStatus = 1;
1805
- } else if (state.lineIndent === parentIndent) {
1806
- indentStatus = 0;
1807
- } else if (state.lineIndent < parentIndent) {
1808
- indentStatus = -1;
1809
- }
1810
- } else {
1811
- allowBlockCollections = false;
1812
- }
1813
- }
1814
- }
1815
- if (allowBlockCollections) {
1816
- allowBlockCollections = atNewLine || allowCompact;
1817
- }
1818
- if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
1819
- if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
1820
- flowIndent = parentIndent;
1821
- } else {
1822
- flowIndent = parentIndent + 1;
1823
- }
1824
- blockIndent = state.position - state.lineStart;
1825
- if (indentStatus === 1) {
1826
- if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) {
1827
- hasContent = true;
1828
- } else {
1829
- if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) {
1830
- hasContent = true;
1831
- } else if (readAlias(state)) {
1832
- hasContent = true;
1833
- if (state.tag !== null || state.anchor !== null) {
1834
- throwError(state, "alias node should not have any properties");
1835
- }
1836
- } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
1837
- hasContent = true;
1838
- if (state.tag === null) {
1839
- state.tag = "?";
1840
- }
1841
- }
1842
- if (state.anchor !== null) {
1843
- state.anchorMap[state.anchor] = state.result;
1844
- }
1845
- }
1846
- } else if (indentStatus === 0) {
1847
- hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
1848
- }
1849
- }
1850
- if (state.tag === null) {
1851
- if (state.anchor !== null) {
1852
- state.anchorMap[state.anchor] = state.result;
1853
- }
1854
- } else if (state.tag === "?") {
1855
- if (state.result !== null && state.kind !== "scalar") {
1856
- throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind + '"');
1857
- }
1858
- for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
1859
- type2 = state.implicitTypes[typeIndex];
1860
- if (type2.resolve(state.result)) {
1861
- state.result = type2.construct(state.result);
1862
- state.tag = type2.tag;
1863
- if (state.anchor !== null) {
1864
- state.anchorMap[state.anchor] = state.result;
1865
- }
1866
- break;
1867
- }
1868
- }
1869
- } else if (state.tag !== "!") {
1870
- if (_hasOwnProperty$1.call(state.typeMap[state.kind || "fallback"], state.tag)) {
1871
- type2 = state.typeMap[state.kind || "fallback"][state.tag];
1872
- } else {
1873
- type2 = null;
1874
- typeList = state.typeMap.multi[state.kind || "fallback"];
1875
- for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) {
1876
- if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
1877
- type2 = typeList[typeIndex];
1878
- break;
1879
- }
1880
- }
1881
- }
1882
- if (!type2) {
1883
- throwError(state, "unknown tag !<" + state.tag + ">");
1884
- }
1885
- if (state.result !== null && type2.kind !== state.kind) {
1886
- throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type2.kind + '", not "' + state.kind + '"');
1887
- }
1888
- if (!type2.resolve(state.result, state.tag)) {
1889
- throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag");
1890
- } else {
1891
- state.result = type2.construct(state.result, state.tag);
1892
- if (state.anchor !== null) {
1893
- state.anchorMap[state.anchor] = state.result;
1894
- }
1895
- }
1896
- }
1897
- if (state.listener !== null) {
1898
- state.listener("close", state);
1899
- }
1900
- return state.tag !== null || state.anchor !== null || hasContent;
1901
- }
1902
- __name(composeNode, "composeNode");
1903
- function readDocument(state) {
1904
- var documentStart = state.position, _position, directiveName, directiveArgs, hasDirectives = false, ch;
1905
- state.version = null;
1906
- state.checkLineBreaks = state.legacy;
1907
- state.tagMap = /* @__PURE__ */ Object.create(null);
1908
- state.anchorMap = /* @__PURE__ */ Object.create(null);
1909
- while ((ch = state.input.charCodeAt(state.position)) !== 0) {
1910
- skipSeparationSpace(state, true, -1);
1911
- ch = state.input.charCodeAt(state.position);
1912
- if (state.lineIndent > 0 || ch !== 37) {
1913
- break;
1914
- }
1915
- hasDirectives = true;
1916
- ch = state.input.charCodeAt(++state.position);
1917
- _position = state.position;
1918
- while (ch !== 0 && !is_WS_OR_EOL(ch)) {
1919
- ch = state.input.charCodeAt(++state.position);
1920
- }
1921
- directiveName = state.input.slice(_position, state.position);
1922
- directiveArgs = [];
1923
- if (directiveName.length < 1) {
1924
- throwError(state, "directive name must not be less than one character in length");
1925
- }
1926
- while (ch !== 0) {
1927
- while (is_WHITE_SPACE(ch)) {
1928
- ch = state.input.charCodeAt(++state.position);
1929
- }
1930
- if (ch === 35) {
1931
- do {
1932
- ch = state.input.charCodeAt(++state.position);
1933
- } while (ch !== 0 && !is_EOL(ch));
1934
- break;
1935
- }
1936
- if (is_EOL(ch)) break;
1937
- _position = state.position;
1938
- while (ch !== 0 && !is_WS_OR_EOL(ch)) {
1939
- ch = state.input.charCodeAt(++state.position);
1940
- }
1941
- directiveArgs.push(state.input.slice(_position, state.position));
1942
- }
1943
- if (ch !== 0) readLineBreak(state);
1944
- if (_hasOwnProperty$1.call(directiveHandlers, directiveName)) {
1945
- directiveHandlers[directiveName](state, directiveName, directiveArgs);
1946
- } else {
1947
- throwWarning(state, 'unknown document directive "' + directiveName + '"');
1948
- }
1949
- }
1950
- skipSeparationSpace(state, true, -1);
1951
- if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45) {
1952
- state.position += 3;
1953
- skipSeparationSpace(state, true, -1);
1954
- } else if (hasDirectives) {
1955
- throwError(state, "directives end mark is expected");
1956
- }
1957
- composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
1958
- skipSeparationSpace(state, true, -1);
1959
- if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
1960
- throwWarning(state, "non-ASCII line breaks are interpreted as content");
1961
- }
1962
- state.documents.push(state.result);
1963
- if (state.position === state.lineStart && testDocumentSeparator(state)) {
1964
- if (state.input.charCodeAt(state.position) === 46) {
1965
- state.position += 3;
1966
- skipSeparationSpace(state, true, -1);
1967
- }
1968
- return;
1969
- }
1970
- if (state.position < state.length - 1) {
1971
- throwError(state, "end of the stream or a document separator is expected");
1972
- } else {
1973
- return;
1974
- }
1975
- }
1976
- __name(readDocument, "readDocument");
1977
- function loadDocuments(input, options) {
1978
- input = String(input);
1979
- options = options || {};
1980
- if (input.length !== 0) {
1981
- if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) {
1982
- input += "\n";
1983
- }
1984
- if (input.charCodeAt(0) === 65279) {
1985
- input = input.slice(1);
1986
- }
1987
- }
1988
- var state = new State$1(input, options);
1989
- var nullpos = input.indexOf("\0");
1990
- if (nullpos !== -1) {
1991
- state.position = nullpos;
1992
- throwError(state, "null byte is not allowed in input");
1993
- }
1994
- state.input += "\0";
1995
- while (state.input.charCodeAt(state.position) === 32) {
1996
- state.lineIndent += 1;
1997
- state.position += 1;
1998
- }
1999
- while (state.position < state.length - 1) {
2000
- readDocument(state);
2001
- }
2002
- return state.documents;
2003
- }
2004
- __name(loadDocuments, "loadDocuments");
2005
- function loadAll$1(input, iterator, options) {
2006
- if (iterator !== null && typeof iterator === "object" && typeof options === "undefined") {
2007
- options = iterator;
2008
- iterator = null;
2009
- }
2010
- var documents = loadDocuments(input, options);
2011
- if (typeof iterator !== "function") {
2012
- return documents;
2013
- }
2014
- for (var index = 0, length = documents.length; index < length; index += 1) {
2015
- iterator(documents[index]);
2016
- }
2017
- }
2018
- __name(loadAll$1, "loadAll$1");
2019
- function load$1(input, options) {
2020
- var documents = loadDocuments(input, options);
2021
- if (documents.length === 0) {
2022
- return void 0;
2023
- } else if (documents.length === 1) {
2024
- return documents[0];
2025
- }
2026
- throw new exception("expected a single document in the stream, but found more");
2027
- }
2028
- __name(load$1, "load$1");
2029
- var load_1 = load$1;
2030
- var loader = {
2031
- load: load_1
2032
- };
2033
- var _toString = Object.prototype.toString;
2034
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
2035
- var CHAR_BOM = 65279;
2036
- var CHAR_TAB = 9;
2037
- var CHAR_LINE_FEED = 10;
2038
- var CHAR_CARRIAGE_RETURN = 13;
2039
- var CHAR_SPACE = 32;
2040
- var CHAR_EXCLAMATION = 33;
2041
- var CHAR_DOUBLE_QUOTE = 34;
2042
- var CHAR_SHARP = 35;
2043
- var CHAR_PERCENT = 37;
2044
- var CHAR_AMPERSAND = 38;
2045
- var CHAR_SINGLE_QUOTE = 39;
2046
- var CHAR_ASTERISK = 42;
2047
- var CHAR_COMMA = 44;
2048
- var CHAR_MINUS = 45;
2049
- var CHAR_COLON = 58;
2050
- var CHAR_EQUALS = 61;
2051
- var CHAR_GREATER_THAN = 62;
2052
- var CHAR_QUESTION = 63;
2053
- var CHAR_COMMERCIAL_AT = 64;
2054
- var CHAR_LEFT_SQUARE_BRACKET = 91;
2055
- var CHAR_RIGHT_SQUARE_BRACKET = 93;
2056
- var CHAR_GRAVE_ACCENT = 96;
2057
- var CHAR_LEFT_CURLY_BRACKET = 123;
2058
- var CHAR_VERTICAL_LINE = 124;
2059
- var CHAR_RIGHT_CURLY_BRACKET = 125;
2060
- var ESCAPE_SEQUENCES = {};
2061
- ESCAPE_SEQUENCES[0] = "\\0";
2062
- ESCAPE_SEQUENCES[7] = "\\a";
2063
- ESCAPE_SEQUENCES[8] = "\\b";
2064
- ESCAPE_SEQUENCES[9] = "\\t";
2065
- ESCAPE_SEQUENCES[10] = "\\n";
2066
- ESCAPE_SEQUENCES[11] = "\\v";
2067
- ESCAPE_SEQUENCES[12] = "\\f";
2068
- ESCAPE_SEQUENCES[13] = "\\r";
2069
- ESCAPE_SEQUENCES[27] = "\\e";
2070
- ESCAPE_SEQUENCES[34] = '\\"';
2071
- ESCAPE_SEQUENCES[92] = "\\\\";
2072
- ESCAPE_SEQUENCES[133] = "\\N";
2073
- ESCAPE_SEQUENCES[160] = "\\_";
2074
- ESCAPE_SEQUENCES[8232] = "\\L";
2075
- ESCAPE_SEQUENCES[8233] = "\\P";
2076
- var DEPRECATED_BOOLEANS_SYNTAX = [
2077
- "y",
2078
- "Y",
2079
- "yes",
2080
- "Yes",
2081
- "YES",
2082
- "on",
2083
- "On",
2084
- "ON",
2085
- "n",
2086
- "N",
2087
- "no",
2088
- "No",
2089
- "NO",
2090
- "off",
2091
- "Off",
2092
- "OFF"
2093
- ];
2094
- var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2095
- function compileStyleMap(schema2, map2) {
2096
- var result, keys, index, length, tag, style, type2;
2097
- if (map2 === null) return {};
2098
- result = {};
2099
- keys = Object.keys(map2);
2100
- for (index = 0, length = keys.length; index < length; index += 1) {
2101
- tag = keys[index];
2102
- style = String(map2[tag]);
2103
- if (tag.slice(0, 2) === "!!") {
2104
- tag = "tag:yaml.org,2002:" + tag.slice(2);
2105
- }
2106
- type2 = schema2.compiledTypeMap["fallback"][tag];
2107
- if (type2 && _hasOwnProperty.call(type2.styleAliases, style)) {
2108
- style = type2.styleAliases[style];
2109
- }
2110
- result[tag] = style;
2111
- }
2112
- return result;
2113
- }
2114
- __name(compileStyleMap, "compileStyleMap");
2115
- function encodeHex(character) {
2116
- var string, handle, length;
2117
- string = character.toString(16).toUpperCase();
2118
- if (character <= 255) {
2119
- handle = "x";
2120
- length = 2;
2121
- } else if (character <= 65535) {
2122
- handle = "u";
2123
- length = 4;
2124
- } else if (character <= 4294967295) {
2125
- handle = "U";
2126
- length = 8;
2127
- } else {
2128
- throw new exception("code point within a string may not be greater than 0xFFFFFFFF");
2129
- }
2130
- return "\\" + handle + common.repeat("0", length - string.length) + string;
2131
- }
2132
- __name(encodeHex, "encodeHex");
2133
- var QUOTING_TYPE_SINGLE = 1;
2134
- var QUOTING_TYPE_DOUBLE = 2;
2135
- function State(options) {
2136
- this.schema = options["schema"] || _default;
2137
- this.indent = Math.max(1, options["indent"] || 2);
2138
- this.noArrayIndent = options["noArrayIndent"] || false;
2139
- this.skipInvalid = options["skipInvalid"] || false;
2140
- this.flowLevel = common.isNothing(options["flowLevel"]) ? -1 : options["flowLevel"];
2141
- this.styleMap = compileStyleMap(this.schema, options["styles"] || null);
2142
- this.sortKeys = options["sortKeys"] || false;
2143
- this.lineWidth = options["lineWidth"] || 80;
2144
- this.noRefs = options["noRefs"] || false;
2145
- this.noCompatMode = options["noCompatMode"] || false;
2146
- this.condenseFlow = options["condenseFlow"] || false;
2147
- this.quotingType = options["quotingType"] === '"' ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE;
2148
- this.forceQuotes = options["forceQuotes"] || false;
2149
- this.replacer = typeof options["replacer"] === "function" ? options["replacer"] : null;
2150
- this.implicitTypes = this.schema.compiledImplicit;
2151
- this.explicitTypes = this.schema.compiledExplicit;
2152
- this.tag = null;
2153
- this.result = "";
2154
- this.duplicates = [];
2155
- this.usedDuplicates = null;
2156
- }
2157
- __name(State, "State");
2158
- function indentString(string, spaces) {
2159
- var ind = common.repeat(" ", spaces), position = 0, next = -1, result = "", line, length = string.length;
2160
- while (position < length) {
2161
- next = string.indexOf("\n", position);
2162
- if (next === -1) {
2163
- line = string.slice(position);
2164
- position = length;
2165
- } else {
2166
- line = string.slice(position, next + 1);
2167
- position = next + 1;
2168
- }
2169
- if (line.length && line !== "\n") result += ind;
2170
- result += line;
2171
- }
2172
- return result;
2173
- }
2174
- __name(indentString, "indentString");
2175
- function generateNextLine(state, level) {
2176
- return "\n" + common.repeat(" ", state.indent * level);
2177
- }
2178
- __name(generateNextLine, "generateNextLine");
2179
- function testImplicitResolving(state, str2) {
2180
- var index, length, type2;
2181
- for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {
2182
- type2 = state.implicitTypes[index];
2183
- if (type2.resolve(str2)) {
2184
- return true;
2185
- }
2186
- }
2187
- return false;
2188
- }
2189
- __name(testImplicitResolving, "testImplicitResolving");
2190
- function isWhitespace(c) {
2191
- return c === CHAR_SPACE || c === CHAR_TAB;
2192
- }
2193
- __name(isWhitespace, "isWhitespace");
2194
- function isPrintable(c) {
2195
- return 32 <= c && c <= 126 || 161 <= c && c <= 55295 && c !== 8232 && c !== 8233 || 57344 <= c && c <= 65533 && c !== CHAR_BOM || 65536 <= c && c <= 1114111;
2196
- }
2197
- __name(isPrintable, "isPrintable");
2198
- function isNsCharOrWhitespace(c) {
2199
- return isPrintable(c) && c !== CHAR_BOM && c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED;
2200
- }
2201
- __name(isNsCharOrWhitespace, "isNsCharOrWhitespace");
2202
- function isPlainSafe(c, prev, inblock) {
2203
- var cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
2204
- var cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
2205
- return (
2206
- // ns-plain-safe
2207
- (inblock ? (
2208
- // c = flow-in
2209
- cIsNsCharOrWhitespace
2210
- ) : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar
2211
- );
2212
- }
2213
- __name(isPlainSafe, "isPlainSafe");
2214
- function isPlainSafeFirst(c) {
2215
- return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
2216
- }
2217
- __name(isPlainSafeFirst, "isPlainSafeFirst");
2218
- function isPlainSafeLast(c) {
2219
- return !isWhitespace(c) && c !== CHAR_COLON;
2220
- }
2221
- __name(isPlainSafeLast, "isPlainSafeLast");
2222
- function codePointAt(string, pos) {
2223
- var first = string.charCodeAt(pos), second;
2224
- if (first >= 55296 && first <= 56319 && pos + 1 < string.length) {
2225
- second = string.charCodeAt(pos + 1);
2226
- if (second >= 56320 && second <= 57343) {
2227
- return (first - 55296) * 1024 + second - 56320 + 65536;
2228
- }
2229
- }
2230
- return first;
2231
- }
2232
- __name(codePointAt, "codePointAt");
2233
- function needIndentIndicator(string) {
2234
- var leadingSpaceRe = /^\n* /;
2235
- return leadingSpaceRe.test(string);
2236
- }
2237
- __name(needIndentIndicator, "needIndentIndicator");
2238
- var STYLE_PLAIN = 1;
2239
- var STYLE_SINGLE = 2;
2240
- var STYLE_LITERAL = 3;
2241
- var STYLE_FOLDED = 4;
2242
- var STYLE_DOUBLE = 5;
2243
- function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType, quotingType, forceQuotes, inblock) {
2244
- var i;
2245
- var char = 0;
2246
- var prevChar = null;
2247
- var hasLineBreak = false;
2248
- var hasFoldableLine = false;
2249
- var shouldTrackWidth = lineWidth !== -1;
2250
- var previousLineBreak = -1;
2251
- var plain = isPlainSafeFirst(codePointAt(string, 0)) && isPlainSafeLast(codePointAt(string, string.length - 1));
2252
- if (singleLineOnly || forceQuotes) {
2253
- for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
2254
- char = codePointAt(string, i);
2255
- if (!isPrintable(char)) {
2256
- return STYLE_DOUBLE;
2257
- }
2258
- plain = plain && isPlainSafe(char, prevChar, inblock);
2259
- prevChar = char;
2260
- }
2261
- } else {
2262
- for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
2263
- char = codePointAt(string, i);
2264
- if (char === CHAR_LINE_FEED) {
2265
- hasLineBreak = true;
2266
- if (shouldTrackWidth) {
2267
- hasFoldableLine = hasFoldableLine || // Foldable line = too long, and not more-indented.
2268
- i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
2269
- previousLineBreak = i;
2270
- }
2271
- } else if (!isPrintable(char)) {
2272
- return STYLE_DOUBLE;
2273
- }
2274
- plain = plain && isPlainSafe(char, prevChar, inblock);
2275
- prevChar = char;
2276
- }
2277
- hasFoldableLine = hasFoldableLine || shouldTrackWidth && (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ");
2278
- }
2279
- if (!hasLineBreak && !hasFoldableLine) {
2280
- if (plain && !forceQuotes && !testAmbiguousType(string)) {
2281
- return STYLE_PLAIN;
2282
- }
2283
- return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
2284
- }
2285
- if (indentPerLevel > 9 && needIndentIndicator(string)) {
2286
- return STYLE_DOUBLE;
2287
- }
2288
- if (!forceQuotes) {
2289
- return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
2290
- }
2291
- return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
2292
- }
2293
- __name(chooseScalarStyle, "chooseScalarStyle");
2294
- function writeScalar(state, string, level, iskey, inblock) {
2295
- state.dump = (function() {
2296
- if (string.length === 0) {
2297
- return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''";
2298
- }
2299
- if (!state.noCompatMode) {
2300
- if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) {
2301
- return state.quotingType === QUOTING_TYPE_DOUBLE ? '"' + string + '"' : "'" + string + "'";
2302
- }
2303
- }
2304
- var indent = state.indent * Math.max(1, level);
2305
- var lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
2306
- var singleLineOnly = iskey || state.flowLevel > -1 && level >= state.flowLevel;
2307
- function testAmbiguity(string2) {
2308
- return testImplicitResolving(state, string2);
2309
- }
2310
- __name(testAmbiguity, "testAmbiguity");
2311
- switch (chooseScalarStyle(
2312
- string,
2313
- singleLineOnly,
2314
- state.indent,
2315
- lineWidth,
2316
- testAmbiguity,
2317
- state.quotingType,
2318
- state.forceQuotes && !iskey,
2319
- inblock
2320
- )) {
2321
- case STYLE_PLAIN:
2322
- return string;
2323
- case STYLE_SINGLE:
2324
- return "'" + string.replace(/'/g, "''") + "'";
2325
- case STYLE_LITERAL:
2326
- return "|" + blockHeader(string, state.indent) + dropEndingNewline(indentString(string, indent));
2327
- case STYLE_FOLDED:
2328
- return ">" + blockHeader(string, state.indent) + dropEndingNewline(indentString(foldString(string, lineWidth), indent));
2329
- case STYLE_DOUBLE:
2330
- return '"' + escapeString(string) + '"';
2331
- default:
2332
- throw new exception("impossible error: invalid scalar style");
2333
- }
2334
- })();
2335
- }
2336
- __name(writeScalar, "writeScalar");
2337
- function blockHeader(string, indentPerLevel) {
2338
- var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : "";
2339
- var clip = string[string.length - 1] === "\n";
2340
- var keep = clip && (string[string.length - 2] === "\n" || string === "\n");
2341
- var chomp = keep ? "+" : clip ? "" : "-";
2342
- return indentIndicator + chomp + "\n";
2343
- }
2344
- __name(blockHeader, "blockHeader");
2345
- function dropEndingNewline(string) {
2346
- return string[string.length - 1] === "\n" ? string.slice(0, -1) : string;
2347
- }
2348
- __name(dropEndingNewline, "dropEndingNewline");
2349
- function foldString(string, width) {
2350
- var lineRe = /(\n+)([^\n]*)/g;
2351
- var result = (function() {
2352
- var nextLF = string.indexOf("\n");
2353
- nextLF = nextLF !== -1 ? nextLF : string.length;
2354
- lineRe.lastIndex = nextLF;
2355
- return foldLine(string.slice(0, nextLF), width);
2356
- })();
2357
- var prevMoreIndented = string[0] === "\n" || string[0] === " ";
2358
- var moreIndented;
2359
- var match;
2360
- while (match = lineRe.exec(string)) {
2361
- var prefix = match[1], line = match[2];
2362
- moreIndented = line[0] === " ";
2363
- result += prefix + (!prevMoreIndented && !moreIndented && line !== "" ? "\n" : "") + foldLine(line, width);
2364
- prevMoreIndented = moreIndented;
2365
- }
2366
- return result;
2367
- }
2368
- __name(foldString, "foldString");
2369
- function foldLine(line, width) {
2370
- if (line === "" || line[0] === " ") return line;
2371
- var breakRe = / [^ ]/g;
2372
- var match;
2373
- var start = 0, end, curr = 0, next = 0;
2374
- var result = "";
2375
- while (match = breakRe.exec(line)) {
2376
- next = match.index;
2377
- if (next - start > width) {
2378
- end = curr > start ? curr : next;
2379
- result += "\n" + line.slice(start, end);
2380
- start = end + 1;
2381
- }
2382
- curr = next;
2383
- }
2384
- result += "\n";
2385
- if (line.length - start > width && curr > start) {
2386
- result += line.slice(start, curr) + "\n" + line.slice(curr + 1);
2387
- } else {
2388
- result += line.slice(start);
2389
- }
2390
- return result.slice(1);
2391
- }
2392
- __name(foldLine, "foldLine");
2393
- function escapeString(string) {
2394
- var result = "";
2395
- var char = 0;
2396
- var escapeSeq;
2397
- for (var i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
2398
- char = codePointAt(string, i);
2399
- escapeSeq = ESCAPE_SEQUENCES[char];
2400
- if (!escapeSeq && isPrintable(char)) {
2401
- result += string[i];
2402
- if (char >= 65536) result += string[i + 1];
2403
- } else {
2404
- result += escapeSeq || encodeHex(char);
2405
- }
2406
- }
2407
- return result;
2408
- }
2409
- __name(escapeString, "escapeString");
2410
- function writeFlowSequence(state, level, object) {
2411
- var _result = "", _tag = state.tag, index, length, value;
2412
- for (index = 0, length = object.length; index < length; index += 1) {
2413
- value = object[index];
2414
- if (state.replacer) {
2415
- value = state.replacer.call(object, String(index), value);
2416
- }
2417
- if (writeNode(state, level, value, false, false) || typeof value === "undefined" && writeNode(state, level, null, false, false)) {
2418
- if (_result !== "") _result += "," + (!state.condenseFlow ? " " : "");
2419
- _result += state.dump;
2420
- }
2421
- }
2422
- state.tag = _tag;
2423
- state.dump = "[" + _result + "]";
2424
- }
2425
- __name(writeFlowSequence, "writeFlowSequence");
2426
- function writeBlockSequence(state, level, object, compact) {
2427
- var _result = "", _tag = state.tag, index, length, value;
2428
- for (index = 0, length = object.length; index < length; index += 1) {
2429
- value = object[index];
2430
- if (state.replacer) {
2431
- value = state.replacer.call(object, String(index), value);
2432
- }
2433
- if (writeNode(state, level + 1, value, true, true, false, true) || typeof value === "undefined" && writeNode(state, level + 1, null, true, true, false, true)) {
2434
- if (!compact || _result !== "") {
2435
- _result += generateNextLine(state, level);
2436
- }
2437
- if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
2438
- _result += "-";
2439
- } else {
2440
- _result += "- ";
2441
- }
2442
- _result += state.dump;
2443
- }
2444
- }
2445
- state.tag = _tag;
2446
- state.dump = _result || "[]";
2447
- }
2448
- __name(writeBlockSequence, "writeBlockSequence");
2449
- function writeFlowMapping(state, level, object) {
2450
- var _result = "", _tag = state.tag, objectKeyList = Object.keys(object), index, length, objectKey, objectValue, pairBuffer;
2451
- for (index = 0, length = objectKeyList.length; index < length; index += 1) {
2452
- pairBuffer = "";
2453
- if (_result !== "") pairBuffer += ", ";
2454
- if (state.condenseFlow) pairBuffer += '"';
2455
- objectKey = objectKeyList[index];
2456
- objectValue = object[objectKey];
2457
- if (state.replacer) {
2458
- objectValue = state.replacer.call(object, objectKey, objectValue);
2459
- }
2460
- if (!writeNode(state, level, objectKey, false, false)) {
2461
- continue;
2462
- }
2463
- if (state.dump.length > 1024) pairBuffer += "? ";
2464
- pairBuffer += state.dump + (state.condenseFlow ? '"' : "") + ":" + (state.condenseFlow ? "" : " ");
2465
- if (!writeNode(state, level, objectValue, false, false)) {
2466
- continue;
2467
- }
2468
- pairBuffer += state.dump;
2469
- _result += pairBuffer;
2470
- }
2471
- state.tag = _tag;
2472
- state.dump = "{" + _result + "}";
2473
- }
2474
- __name(writeFlowMapping, "writeFlowMapping");
2475
- function writeBlockMapping(state, level, object, compact) {
2476
- var _result = "", _tag = state.tag, objectKeyList = Object.keys(object), index, length, objectKey, objectValue, explicitPair, pairBuffer;
2477
- if (state.sortKeys === true) {
2478
- objectKeyList.sort();
2479
- } else if (typeof state.sortKeys === "function") {
2480
- objectKeyList.sort(state.sortKeys);
2481
- } else if (state.sortKeys) {
2482
- throw new exception("sortKeys must be a boolean or a function");
2483
- }
2484
- for (index = 0, length = objectKeyList.length; index < length; index += 1) {
2485
- pairBuffer = "";
2486
- if (!compact || _result !== "") {
2487
- pairBuffer += generateNextLine(state, level);
2488
- }
2489
- objectKey = objectKeyList[index];
2490
- objectValue = object[objectKey];
2491
- if (state.replacer) {
2492
- objectValue = state.replacer.call(object, objectKey, objectValue);
2493
- }
2494
- if (!writeNode(state, level + 1, objectKey, true, true, true)) {
2495
- continue;
2496
- }
2497
- explicitPair = state.tag !== null && state.tag !== "?" || state.dump && state.dump.length > 1024;
2498
- if (explicitPair) {
2499
- if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
2500
- pairBuffer += "?";
2501
- } else {
2502
- pairBuffer += "? ";
2503
- }
2504
- }
2505
- pairBuffer += state.dump;
2506
- if (explicitPair) {
2507
- pairBuffer += generateNextLine(state, level);
2508
- }
2509
- if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {
2510
- continue;
2511
- }
2512
- if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
2513
- pairBuffer += ":";
2514
- } else {
2515
- pairBuffer += ": ";
2516
- }
2517
- pairBuffer += state.dump;
2518
- _result += pairBuffer;
2519
- }
2520
- state.tag = _tag;
2521
- state.dump = _result || "{}";
2522
- }
2523
- __name(writeBlockMapping, "writeBlockMapping");
2524
- function detectType(state, object, explicit) {
2525
- var _result, typeList, index, length, type2, style;
2526
- typeList = explicit ? state.explicitTypes : state.implicitTypes;
2527
- for (index = 0, length = typeList.length; index < length; index += 1) {
2528
- type2 = typeList[index];
2529
- if ((type2.instanceOf || type2.predicate) && (!type2.instanceOf || typeof object === "object" && object instanceof type2.instanceOf) && (!type2.predicate || type2.predicate(object))) {
2530
- if (explicit) {
2531
- if (type2.multi && type2.representName) {
2532
- state.tag = type2.representName(object);
2533
- } else {
2534
- state.tag = type2.tag;
2535
- }
2536
- } else {
2537
- state.tag = "?";
2538
- }
2539
- if (type2.represent) {
2540
- style = state.styleMap[type2.tag] || type2.defaultStyle;
2541
- if (_toString.call(type2.represent) === "[object Function]") {
2542
- _result = type2.represent(object, style);
2543
- } else if (_hasOwnProperty.call(type2.represent, style)) {
2544
- _result = type2.represent[style](object, style);
2545
- } else {
2546
- throw new exception("!<" + type2.tag + '> tag resolver accepts not "' + style + '" style');
2547
- }
2548
- state.dump = _result;
2549
- }
2550
- return true;
2551
- }
2552
- }
2553
- return false;
2554
- }
2555
- __name(detectType, "detectType");
2556
- function writeNode(state, level, object, block, compact, iskey, isblockseq) {
2557
- state.tag = null;
2558
- state.dump = object;
2559
- if (!detectType(state, object, false)) {
2560
- detectType(state, object, true);
2561
- }
2562
- var type2 = _toString.call(state.dump);
2563
- var inblock = block;
2564
- var tagStr;
2565
- if (block) {
2566
- block = state.flowLevel < 0 || state.flowLevel > level;
2567
- }
2568
- var objectOrArray = type2 === "[object Object]" || type2 === "[object Array]", duplicateIndex, duplicate;
2569
- if (objectOrArray) {
2570
- duplicateIndex = state.duplicates.indexOf(object);
2571
- duplicate = duplicateIndex !== -1;
2572
- }
2573
- if (state.tag !== null && state.tag !== "?" || duplicate || state.indent !== 2 && level > 0) {
2574
- compact = false;
2575
- }
2576
- if (duplicate && state.usedDuplicates[duplicateIndex]) {
2577
- state.dump = "*ref_" + duplicateIndex;
2578
- } else {
2579
- if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {
2580
- state.usedDuplicates[duplicateIndex] = true;
2581
- }
2582
- if (type2 === "[object Object]") {
2583
- if (block && Object.keys(state.dump).length !== 0) {
2584
- writeBlockMapping(state, level, state.dump, compact);
2585
- if (duplicate) {
2586
- state.dump = "&ref_" + duplicateIndex + state.dump;
2587
- }
2588
- } else {
2589
- writeFlowMapping(state, level, state.dump);
2590
- if (duplicate) {
2591
- state.dump = "&ref_" + duplicateIndex + " " + state.dump;
2592
- }
2593
- }
2594
- } else if (type2 === "[object Array]") {
2595
- if (block && state.dump.length !== 0) {
2596
- if (state.noArrayIndent && !isblockseq && level > 0) {
2597
- writeBlockSequence(state, level - 1, state.dump, compact);
2598
- } else {
2599
- writeBlockSequence(state, level, state.dump, compact);
2600
- }
2601
- if (duplicate) {
2602
- state.dump = "&ref_" + duplicateIndex + state.dump;
2603
- }
2604
- } else {
2605
- writeFlowSequence(state, level, state.dump);
2606
- if (duplicate) {
2607
- state.dump = "&ref_" + duplicateIndex + " " + state.dump;
2608
- }
2609
- }
2610
- } else if (type2 === "[object String]") {
2611
- if (state.tag !== "?") {
2612
- writeScalar(state, state.dump, level, iskey, inblock);
2613
- }
2614
- } else if (type2 === "[object Undefined]") {
2615
- return false;
2616
- } else {
2617
- if (state.skipInvalid) return false;
2618
- throw new exception("unacceptable kind of an object to dump " + type2);
2619
- }
2620
- if (state.tag !== null && state.tag !== "?") {
2621
- tagStr = encodeURI(
2622
- state.tag[0] === "!" ? state.tag.slice(1) : state.tag
2623
- ).replace(/!/g, "%21");
2624
- if (state.tag[0] === "!") {
2625
- tagStr = "!" + tagStr;
2626
- } else if (tagStr.slice(0, 18) === "tag:yaml.org,2002:") {
2627
- tagStr = "!!" + tagStr.slice(18);
2628
- } else {
2629
- tagStr = "!<" + tagStr + ">";
2630
- }
2631
- state.dump = tagStr + " " + state.dump;
2632
- }
2633
- }
2634
- return true;
2635
- }
2636
- __name(writeNode, "writeNode");
2637
- function getDuplicateReferences(object, state) {
2638
- var objects = [], duplicatesIndexes = [], index, length;
2639
- inspectNode(object, objects, duplicatesIndexes);
2640
- for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {
2641
- state.duplicates.push(objects[duplicatesIndexes[index]]);
2642
- }
2643
- state.usedDuplicates = new Array(length);
2644
- }
2645
- __name(getDuplicateReferences, "getDuplicateReferences");
2646
- function inspectNode(object, objects, duplicatesIndexes) {
2647
- var objectKeyList, index, length;
2648
- if (object !== null && typeof object === "object") {
2649
- index = objects.indexOf(object);
2650
- if (index !== -1) {
2651
- if (duplicatesIndexes.indexOf(index) === -1) {
2652
- duplicatesIndexes.push(index);
2653
- }
2654
- } else {
2655
- objects.push(object);
2656
- if (Array.isArray(object)) {
2657
- for (index = 0, length = object.length; index < length; index += 1) {
2658
- inspectNode(object[index], objects, duplicatesIndexes);
2659
- }
2660
- } else {
2661
- objectKeyList = Object.keys(object);
2662
- for (index = 0, length = objectKeyList.length; index < length; index += 1) {
2663
- inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);
2664
- }
2665
- }
2666
- }
2667
- }
2668
- }
2669
- __name(inspectNode, "inspectNode");
2670
- function dump$1(input, options) {
2671
- options = options || {};
2672
- var state = new State(options);
2673
- if (!state.noRefs) getDuplicateReferences(input, state);
2674
- var value = input;
2675
- if (state.replacer) {
2676
- value = state.replacer.call({ "": value }, "", value);
2677
- }
2678
- if (writeNode(state, 0, value, true, true)) return state.dump + "\n";
2679
- return "";
2680
- }
2681
- __name(dump$1, "dump$1");
2682
- function renamed(from, to) {
2683
- return function() {
2684
- throw new Error("Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default.");
2685
- };
2686
- }
2687
- __name(renamed, "renamed");
2688
- var JSON_SCHEMA = json;
2689
- var load = loader.load;
2690
- /*! Bundled license information:
2691
-
2692
- js-yaml/dist/js-yaml.mjs:
2693
- (*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
2694
- */
2695
-
2696
- export { JSON_SCHEMA, load };