bitz-react-admin-ui 2.10.6 → 2.10.7-beta.1

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 (434) hide show
  1. package/dist/_virtual/AsymmetricMatcher.mjs +4 -0
  2. package/dist/_virtual/DOMCollection.mjs +4 -0
  3. package/dist/_virtual/DOMElement.mjs +4 -0
  4. package/dist/_virtual/Explorer.mjs +4 -0
  5. package/dist/_virtual/Explorer2.mjs +4 -0
  6. package/dist/_virtual/ExplorerBase.mjs +4 -0
  7. package/dist/_virtual/ExplorerBase2.mjs +4 -0
  8. package/dist/_virtual/ExplorerSync.mjs +4 -0
  9. package/dist/_virtual/ExplorerSync2.mjs +4 -0
  10. package/dist/_virtual/Immutable.mjs +4 -0
  11. package/dist/_virtual/ReactElement.mjs +4 -0
  12. package/dist/_virtual/ReactTestComponent.mjs +4 -0
  13. package/dist/_virtual/___vite-browser-external.mjs +6 -0
  14. package/dist/_virtual/__vite-browser-external.mjs +4 -0
  15. package/dist/_virtual/_commonjs-dynamic-modules.mjs +6 -0
  16. package/dist/_virtual/addComment.mjs +4 -0
  17. package/dist/_virtual/addComments.mjs +4 -0
  18. package/dist/_virtual/appendToMemberExpression.mjs +4 -0
  19. package/dist/_virtual/assertNode.mjs +4 -0
  20. package/dist/_virtual/babel-plugin-lingui-macro.28bb9ad7.mjs +4 -0
  21. package/dist/_virtual/buildChildren.mjs +4 -0
  22. package/dist/_virtual/buildMatchMemberExpression.mjs +4 -0
  23. package/dist/_virtual/cacheWrapper.mjs +4 -0
  24. package/dist/_virtual/cleanJSXElementLiteralChild.mjs +4 -0
  25. package/dist/_virtual/clone.mjs +4 -0
  26. package/dist/_virtual/cloneDeep.mjs +4 -0
  27. package/dist/_virtual/cloneDeepWithoutLoc.mjs +4 -0
  28. package/dist/_virtual/cloneNode.mjs +4 -0
  29. package/dist/_virtual/cloneWithoutLoc.mjs +4 -0
  30. package/dist/_virtual/collections.mjs +4 -0
  31. package/dist/_virtual/common2.mjs +4 -0
  32. package/dist/_virtual/condition.mjs +4 -0
  33. package/dist/_virtual/conversions.mjs +4 -0
  34. package/dist/_virtual/core.mjs +4 -0
  35. package/dist/_virtual/createFlowUnionType.mjs +4 -0
  36. package/dist/_virtual/createTSUnionType.mjs +4 -0
  37. package/dist/_virtual/createTypeAnnotationBasedOnTypeof.mjs +4 -0
  38. package/dist/_virtual/dayjs.min.mjs +2 -5
  39. package/dist/_virtual/defaultConfig.mjs +4 -0
  40. package/dist/_virtual/deprecated-aliases.mjs +4 -0
  41. package/dist/_virtual/deprecated.mjs +4 -0
  42. package/dist/_virtual/deprecationWarning.mjs +4 -0
  43. package/dist/_virtual/dumper.mjs +4 -0
  44. package/dist/_virtual/ensureBlock.mjs +4 -0
  45. package/dist/_virtual/errors.mjs +4 -0
  46. package/dist/_virtual/escapeHTML.mjs +4 -0
  47. package/dist/_virtual/experimental.mjs +4 -0
  48. package/dist/_virtual/flow.mjs +4 -0
  49. package/dist/_virtual/gatherSequenceExpressions.mjs +4 -0
  50. package/dist/_virtual/generateMessageId.mjs +4 -0
  51. package/dist/_virtual/getAssignmentIdentifiers.mjs +4 -0
  52. package/dist/_virtual/getBindingIdentifiers.mjs +4 -0
  53. package/dist/_virtual/getDirectory.mjs +4 -0
  54. package/dist/_virtual/getFunctionName.mjs +4 -0
  55. package/dist/_virtual/getOuterBindingIdentifiers.mjs +4 -0
  56. package/dist/_virtual/getPropertyByPath.mjs +4 -0
  57. package/dist/_virtual/identifier.mjs +4 -0
  58. package/dist/_virtual/index10.mjs +4 -0
  59. package/dist/_virtual/index11.mjs +4 -0
  60. package/dist/_virtual/index12.mjs +4 -0
  61. package/dist/_virtual/index13.mjs +4 -0
  62. package/dist/_virtual/index14.mjs +4 -0
  63. package/dist/_virtual/index15.mjs +4 -0
  64. package/dist/_virtual/index16.mjs +4 -0
  65. package/dist/_virtual/index17.mjs +4 -0
  66. package/dist/_virtual/index18.mjs +4 -0
  67. package/dist/_virtual/index19.mjs +4 -0
  68. package/dist/_virtual/index20.mjs +4 -0
  69. package/dist/_virtual/index21.mjs +4 -0
  70. package/dist/_virtual/index22.mjs +4 -0
  71. package/dist/_virtual/index23.mjs +6 -0
  72. package/dist/_virtual/index24.mjs +4 -0
  73. package/dist/_virtual/index25.mjs +4 -0
  74. package/dist/_virtual/index26.mjs +4 -0
  75. package/dist/_virtual/index27.mjs +4 -0
  76. package/dist/_virtual/index29.mjs +4 -0
  77. package/dist/_virtual/index30.mjs +4 -0
  78. package/dist/_virtual/index31.mjs +4 -0
  79. package/dist/_virtual/index32.mjs +4 -0
  80. package/dist/_virtual/index33.mjs +4 -0
  81. package/dist/_virtual/index34.mjs +4 -0
  82. package/dist/_virtual/index35.mjs +4 -0
  83. package/dist/_virtual/index36.mjs +4 -0
  84. package/dist/_virtual/index37.mjs +4 -0
  85. package/dist/_virtual/index38.mjs +4 -0
  86. package/dist/_virtual/index39.mjs +4 -0
  87. package/dist/_virtual/index40.mjs +4 -0
  88. package/dist/_virtual/index7.mjs +4 -0
  89. package/dist/_virtual/index8.mjs +6 -0
  90. package/dist/_virtual/index9.mjs +4 -0
  91. package/dist/_virtual/inherit.mjs +4 -0
  92. package/dist/_virtual/inheritInnerComments.mjs +4 -0
  93. package/dist/_virtual/inheritLeadingComments.mjs +4 -0
  94. package/dist/_virtual/inheritTrailingComments.mjs +4 -0
  95. package/dist/_virtual/inherits.mjs +4 -0
  96. package/dist/_virtual/inheritsComments.mjs +4 -0
  97. package/dist/_virtual/inherits_browser.mjs +4 -0
  98. package/dist/_virtual/is.mjs +4 -0
  99. package/dist/_virtual/isBinding.mjs +4 -0
  100. package/dist/_virtual/isBlockScoped.mjs +4 -0
  101. package/dist/_virtual/isCompatTag.mjs +4 -0
  102. package/dist/_virtual/isImmutable.mjs +4 -0
  103. package/dist/_virtual/isLet.mjs +4 -0
  104. package/dist/_virtual/isNode.mjs +4 -0
  105. package/dist/_virtual/isNodesEquivalent.mjs +4 -0
  106. package/dist/_virtual/isPlaceholderType.mjs +4 -0
  107. package/dist/_virtual/isReactComponent.mjs +4 -0
  108. package/dist/_virtual/isReferenced.mjs +4 -0
  109. package/dist/_virtual/isScope.mjs +4 -0
  110. package/dist/_virtual/isSpecifierDefault.mjs +4 -0
  111. package/dist/_virtual/isType.mjs +4 -0
  112. package/dist/_virtual/isValidES3Identifier.mjs +4 -0
  113. package/dist/_virtual/isValidIdentifier.mjs +4 -0
  114. package/dist/_virtual/isVar.mjs +4 -0
  115. package/dist/_virtual/jsx.mjs +4 -0
  116. package/dist/_virtual/keyword.mjs +4 -0
  117. package/dist/_virtual/loader.mjs +4 -0
  118. package/dist/_virtual/loaders.mjs +4 -0
  119. package/dist/_virtual/loaders2.mjs +4 -0
  120. package/dist/_virtual/macro.mjs +4 -0
  121. package/dist/_virtual/markup.mjs +4 -0
  122. package/dist/_virtual/matchesPattern.mjs +4 -0
  123. package/dist/_virtual/misc.mjs +4 -0
  124. package/dist/_virtual/picocolors.browser.mjs +4 -0
  125. package/dist/_virtual/placeholders.mjs +4 -0
  126. package/dist/_virtual/prependToMemberExpression.mjs +4 -0
  127. package/dist/_virtual/productions.mjs +4 -0
  128. package/dist/_virtual/react-is.development3.mjs +4 -0
  129. package/dist/_virtual/react-is.production.min3.mjs +4 -0
  130. package/dist/_virtual/readFile.mjs +4 -0
  131. package/dist/_virtual/removeComments.mjs +4 -0
  132. package/dist/_virtual/removeProperties.mjs +4 -0
  133. package/dist/_virtual/removePropertiesDeep.mjs +4 -0
  134. package/dist/_virtual/removeTypeDuplicates.mjs +4 -0
  135. package/dist/_virtual/removeTypeDuplicates2.mjs +4 -0
  136. package/dist/_virtual/sha256.mjs +4 -0
  137. package/dist/_virtual/shallowEqual.mjs +4 -0
  138. package/dist/_virtual/toBindingIdentifierName.mjs +4 -0
  139. package/dist/_virtual/toBlock.mjs +4 -0
  140. package/dist/_virtual/toComputedKey.mjs +4 -0
  141. package/dist/_virtual/toExpression.mjs +4 -0
  142. package/dist/_virtual/toIdentifier.mjs +4 -0
  143. package/dist/_virtual/toKeyAlias.mjs +4 -0
  144. package/dist/_virtual/toSequenceExpression.mjs +4 -0
  145. package/dist/_virtual/toStatement.mjs +4 -0
  146. package/dist/_virtual/traverse.mjs +4 -0
  147. package/dist/_virtual/traverseFast.mjs +4 -0
  148. package/dist/_virtual/types.mjs +4 -0
  149. package/dist/_virtual/types2.mjs +4 -0
  150. package/dist/_virtual/typescript.mjs +4 -0
  151. package/dist/_virtual/typescript2.mjs +11 -0
  152. package/dist/_virtual/typescript3.mjs +4 -0
  153. package/dist/_virtual/uppercase.mjs +4 -0
  154. package/dist/_virtual/util.mjs +4 -0
  155. package/dist/_virtual/util2.mjs +4 -0
  156. package/dist/_virtual/utils2.mjs +4 -0
  157. package/dist/_virtual/utils3.mjs +4 -0
  158. package/dist/_virtual/validate.mjs +4 -0
  159. package/dist/_virtual/validate2.mjs +4 -0
  160. package/dist/_virtual/validateCLIOptions.mjs +4 -0
  161. package/dist/_virtual/validateNode.mjs +4 -0
  162. package/dist/_virtual/valueToNode.mjs +4 -0
  163. package/dist/_virtual/warnings.mjs +4 -0
  164. package/dist/components/BitzCalendar/index.mjs +1 -1
  165. package/dist/components/BitzDayJs/index.mjs +1 -1
  166. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  167. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
  168. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
  169. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
  170. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
  171. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
  172. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
  173. package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
  174. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
  175. package/dist/components/BitzMeetingTime/index.mjs +1 -1
  176. package/dist/components/BitzTable/Store/index.mjs +5 -3
  177. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +54 -53
  178. package/dist/node_modules/@babel/code-frame/lib/index.mjs +133 -0
  179. package/dist/node_modules/@babel/helper-string-parser/lib/index.mjs +218 -0
  180. package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs +46 -0
  181. package/dist/node_modules/@babel/helper-validator-identifier/lib/index.mjs +51 -0
  182. package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs +32 -0
  183. package/dist/node_modules/@babel/highlight/lib/index.mjs +128 -0
  184. package/dist/node_modules/@babel/highlight/node_modules/ansi-styles/index.mjs +116 -0
  185. package/dist/node_modules/@babel/highlight/node_modules/chalk/index.mjs +126 -0
  186. package/dist/node_modules/@babel/highlight/node_modules/chalk/templates.mjs +86 -0
  187. package/dist/node_modules/@babel/highlight/node_modules/color-convert/conversions.mjs +274 -0
  188. package/dist/node_modules/@babel/highlight/node_modules/color-convert/index.mjs +39 -0
  189. package/dist/node_modules/@babel/highlight/node_modules/color-convert/route.mjs +47 -0
  190. package/dist/node_modules/@babel/highlight/node_modules/color-name/index.mjs +156 -0
  191. package/dist/node_modules/@babel/highlight/node_modules/supports-color/browser.mjs +10 -0
  192. package/dist/node_modules/@babel/types/lib/asserts/assertNode.mjs +15 -0
  193. package/dist/node_modules/@babel/types/lib/asserts/generated/index.mjs +1231 -0
  194. package/dist/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.mjs +21 -0
  195. package/dist/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.mjs +37 -0
  196. package/dist/node_modules/@babel/types/lib/builders/generated/index.mjs +1741 -0
  197. package/dist/node_modules/@babel/types/lib/builders/generated/uppercase.mjs +1284 -0
  198. package/dist/node_modules/@babel/types/lib/builders/productions.mjs +18 -0
  199. package/dist/node_modules/@babel/types/lib/builders/react/buildChildren.mjs +29 -0
  200. package/dist/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.mjs +23 -0
  201. package/dist/node_modules/@babel/types/lib/builders/validateNode.mjs +22 -0
  202. package/dist/node_modules/@babel/types/lib/clone/clone.mjs +11 -0
  203. package/dist/node_modules/@babel/types/lib/clone/cloneDeep.mjs +11 -0
  204. package/dist/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.mjs +11 -0
  205. package/dist/node_modules/@babel/types/lib/clone/cloneNode.mjs +57 -0
  206. package/dist/node_modules/@babel/types/lib/clone/cloneWithoutLoc.mjs +11 -0
  207. package/dist/node_modules/@babel/types/lib/comments/addComment.mjs +14 -0
  208. package/dist/node_modules/@babel/types/lib/comments/addComments.mjs +11 -0
  209. package/dist/node_modules/@babel/types/lib/comments/inheritInnerComments.mjs +11 -0
  210. package/dist/node_modules/@babel/types/lib/comments/inheritLeadingComments.mjs +11 -0
  211. package/dist/node_modules/@babel/types/lib/comments/inheritTrailingComments.mjs +11 -0
  212. package/dist/node_modules/@babel/types/lib/comments/inheritsComments.mjs +15 -0
  213. package/dist/node_modules/@babel/types/lib/comments/removeComments.mjs +13 -0
  214. package/dist/node_modules/@babel/types/lib/constants/generated/index.mjs +60 -0
  215. package/dist/node_modules/@babel/types/lib/constants/index.mjs +25 -0
  216. package/dist/node_modules/@babel/types/lib/converters/ensureBlock.mjs +19 -0
  217. package/dist/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.mjs +59 -0
  218. package/dist/node_modules/@babel/types/lib/converters/toBindingIdentifierName.mjs +11 -0
  219. package/dist/node_modules/@babel/types/lib/converters/toBlock.mjs +23 -0
  220. package/dist/node_modules/@babel/types/lib/converters/toComputedKey.mjs +20 -0
  221. package/dist/node_modules/@babel/types/lib/converters/toExpression.mjs +16 -0
  222. package/dist/node_modules/@babel/types/lib/converters/toIdentifier.mjs +19 -0
  223. package/dist/node_modules/@babel/types/lib/converters/toKeyAlias.mjs +20 -0
  224. package/dist/node_modules/@babel/types/lib/converters/toSequenceExpression.mjs +25 -0
  225. package/dist/node_modules/@babel/types/lib/converters/toStatement.mjs +35 -0
  226. package/dist/node_modules/@babel/types/lib/converters/valueToNode.mjs +63 -0
  227. package/dist/node_modules/@babel/types/lib/definitions/core.mjs +1556 -0
  228. package/dist/node_modules/@babel/types/lib/definitions/deprecated-aliases.mjs +11 -0
  229. package/dist/node_modules/@babel/types/lib/definitions/experimental.mjs +130 -0
  230. package/dist/node_modules/@babel/types/lib/definitions/flow.mjs +433 -0
  231. package/dist/node_modules/@babel/types/lib/definitions/index.mjs +84 -0
  232. package/dist/node_modules/@babel/types/lib/definitions/jsx.mjs +151 -0
  233. package/dist/node_modules/@babel/types/lib/definitions/misc.mjs +35 -0
  234. package/dist/node_modules/@babel/types/lib/definitions/placeholders.mjs +28 -0
  235. package/dist/node_modules/@babel/types/lib/definitions/typescript.mjs +445 -0
  236. package/dist/node_modules/@babel/types/lib/definitions/utils.mjs +200 -0
  237. package/dist/node_modules/@babel/types/lib/index.mjs +569 -0
  238. package/dist/node_modules/@babel/types/lib/modifications/appendToMemberExpression.mjs +18 -0
  239. package/dist/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.mjs +44 -0
  240. package/dist/node_modules/@babel/types/lib/modifications/inherits.mjs +21 -0
  241. package/dist/node_modules/@babel/types/lib/modifications/prependToMemberExpression.mjs +21 -0
  242. package/dist/node_modules/@babel/types/lib/modifications/removeProperties.mjs +19 -0
  243. package/dist/node_modules/@babel/types/lib/modifications/removePropertiesDeep.mjs +13 -0
  244. package/dist/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.mjs +44 -0
  245. package/dist/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.mjs +40 -0
  246. package/dist/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.mjs +81 -0
  247. package/dist/node_modules/@babel/types/lib/retrievers/getFunctionName.mjs +37 -0
  248. package/dist/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.mjs +12 -0
  249. package/dist/node_modules/@babel/types/lib/traverse/traverse.mjs +41 -0
  250. package/dist/node_modules/@babel/types/lib/traverse/traverseFast.mjs +23 -0
  251. package/dist/node_modules/@babel/types/lib/utils/deprecationWarning.mjs +37 -0
  252. package/dist/node_modules/@babel/types/lib/utils/inherit.mjs +8 -0
  253. package/dist/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.mjs +29 -0
  254. package/dist/node_modules/@babel/types/lib/utils/shallowEqual.mjs +12 -0
  255. package/dist/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.mjs +12 -0
  256. package/dist/node_modules/@babel/types/lib/validators/generated/index.mjs +2300 -0
  257. package/dist/node_modules/@babel/types/lib/validators/is.mjs +22 -0
  258. package/dist/node_modules/@babel/types/lib/validators/isBinding.mjs +23 -0
  259. package/dist/node_modules/@babel/types/lib/validators/isBlockScoped.mjs +13 -0
  260. package/dist/node_modules/@babel/types/lib/validators/isImmutable.mjs +12 -0
  261. package/dist/node_modules/@babel/types/lib/validators/isLet.mjs +13 -0
  262. package/dist/node_modules/@babel/types/lib/validators/isNode.mjs +10 -0
  263. package/dist/node_modules/@babel/types/lib/validators/isNodesEquivalent.mjs +40 -0
  264. package/dist/node_modules/@babel/types/lib/validators/isPlaceholderType.mjs +26 -0
  265. package/dist/node_modules/@babel/types/lib/validators/isReferenced.mjs +75 -0
  266. package/dist/node_modules/@babel/types/lib/validators/isScope.mjs +11 -0
  267. package/dist/node_modules/@babel/types/lib/validators/isSpecifierDefault.mjs +13 -0
  268. package/dist/node_modules/@babel/types/lib/validators/isType.mjs +30 -0
  269. package/dist/node_modules/@babel/types/lib/validators/isValidES3Identifier.mjs +12 -0
  270. package/dist/node_modules/@babel/types/lib/validators/isValidIdentifier.mjs +11 -0
  271. package/dist/node_modules/@babel/types/lib/validators/isVar.mjs +15 -0
  272. package/dist/node_modules/@babel/types/lib/validators/matchesPattern.mjs +33 -0
  273. package/dist/node_modules/@babel/types/lib/validators/react/isCompatTag.mjs +8 -0
  274. package/dist/node_modules/@babel/types/lib/validators/react/isReactComponent.mjs +10 -0
  275. package/dist/node_modules/@babel/types/lib/validators/validate.mjs +33 -0
  276. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/index.mjs +525 -0
  277. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/macro.mjs +47 -0
  278. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/shared/babel-plugin-lingui-macro.28bb9ad7.mjs +336 -0
  279. package/dist/node_modules/@lingui/conf/dist/index.mjs +384 -0
  280. package/dist/node_modules/@lingui/message-utils/dist/generateMessageId.mjs +16 -0
  281. package/dist/node_modules/@lingui/react/macro/index.mjs +5 -0
  282. package/dist/node_modules/ansi-styles/index.mjs +112 -0
  283. package/dist/node_modules/available-typed-arrays/index.mjs +10 -0
  284. package/dist/node_modules/babel-plugin-macros/dist/index.mjs +233 -0
  285. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/Explorer.mjs +67 -0
  286. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerBase.mjs +87 -0
  287. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerSync.mjs +67 -0
  288. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/cacheWrapper.mjs +27 -0
  289. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getDirectory.mjs +26 -0
  290. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getPropertyByPath.mjs +16 -0
  291. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/index.mjs +72 -0
  292. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/loaders.mjs +46 -0
  293. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/readFile.mjs +49 -0
  294. package/dist/node_modules/call-bind/callBound.mjs +9 -0
  295. package/dist/node_modules/call-bind/index.mjs +27 -0
  296. package/dist/node_modules/callsites/index.mjs +17 -0
  297. package/dist/node_modules/chalk/source/index.mjs +131 -0
  298. package/dist/node_modules/chalk/source/templates.mjs +89 -0
  299. package/dist/node_modules/chalk/source/util.mjs +28 -0
  300. package/dist/node_modules/color-convert/conversions.mjs +308 -0
  301. package/dist/node_modules/color-convert/index.mjs +41 -0
  302. package/dist/node_modules/color-convert/route.mjs +53 -0
  303. package/dist/node_modules/color-name/index.mjs +156 -0
  304. package/dist/node_modules/cosmiconfig/dist/Explorer.mjs +91 -0
  305. package/dist/node_modules/cosmiconfig/dist/ExplorerBase.mjs +68 -0
  306. package/dist/node_modules/cosmiconfig/dist/ExplorerSync.mjs +105 -0
  307. package/dist/node_modules/cosmiconfig/dist/index.mjs +184 -0
  308. package/dist/node_modules/cosmiconfig/dist/loaders.mjs +103 -0
  309. package/dist/node_modules/cosmiconfig/dist/types.mjs +5 -0
  310. package/dist/node_modules/cosmiconfig/dist/util.mjs +24 -0
  311. package/dist/node_modules/dayjs/dayjs.min.mjs +292 -292
  312. package/dist/node_modules/dayjs/locale/zh-cn.mjs +13 -13
  313. package/dist/node_modules/define-data-property/index.mjs +33 -0
  314. package/dist/node_modules/error-ex/index.mjs +69 -0
  315. package/dist/node_modules/es-define-property/index.mjs +18 -0
  316. package/dist/node_modules/es-errors/eval.mjs +4 -0
  317. package/dist/node_modules/es-errors/index.mjs +4 -0
  318. package/dist/node_modules/es-errors/range.mjs +4 -0
  319. package/dist/node_modules/es-errors/ref.mjs +4 -0
  320. package/dist/node_modules/es-errors/syntax.mjs +4 -0
  321. package/dist/node_modules/es-errors/type.mjs +4 -0
  322. package/dist/node_modules/es-errors/uri.mjs +4 -0
  323. package/dist/node_modules/escape-string-regexp/index.mjs +15 -0
  324. package/dist/node_modules/for-each/index.mjs +19 -0
  325. package/dist/node_modules/function-bind/implementation.mjs +42 -0
  326. package/dist/node_modules/function-bind/index.mjs +5 -0
  327. package/dist/node_modules/get-intrinsic/index.mjs +240 -0
  328. package/dist/node_modules/gopd/index.mjs +12 -0
  329. package/dist/node_modules/has-property-descriptors/index.mjs +17 -0
  330. package/dist/node_modules/has-proto/index.mjs +9 -0
  331. package/dist/node_modules/has-symbols/index.mjs +7 -0
  332. package/dist/node_modules/has-symbols/shams.mjs +27 -0
  333. package/dist/node_modules/has-tostringtag/shams.mjs +7 -0
  334. package/dist/node_modules/hasown/index.mjs +5 -0
  335. package/dist/node_modules/import-fresh/index.mjs +27 -0
  336. package/dist/node_modules/import-fresh/node_modules/resolve-from/index.mjs +41 -0
  337. package/dist/node_modules/inherits/inherits_browser.mjs +22 -0
  338. package/dist/node_modules/is-arguments/index.mjs +14 -0
  339. package/dist/node_modules/is-arrayish/index.mjs +9 -0
  340. package/dist/node_modules/is-callable/index.mjs +70 -0
  341. package/dist/node_modules/is-core-module/core.json.mjs +443 -0
  342. package/dist/node_modules/is-core-module/index.mjs +40 -0
  343. package/dist/node_modules/is-generator-function/index.mjs +28 -0
  344. package/dist/node_modules/is-typed-array/index.mjs +7 -0
  345. package/dist/node_modules/jest-get-type/build/index.mjs +47 -0
  346. package/dist/node_modules/jest-validate/build/condition.mjs +25 -0
  347. package/dist/node_modules/jest-validate/build/defaultConfig.mjs +35 -0
  348. package/dist/node_modules/jest-validate/build/deprecated.mjs +16 -0
  349. package/dist/node_modules/jest-validate/build/errors.mjs +58 -0
  350. package/dist/node_modules/jest-validate/build/index.mjs +55 -0
  351. package/dist/node_modules/jest-validate/build/utils.mjs +84 -0
  352. package/dist/node_modules/jest-validate/build/validate.mjs +66 -0
  353. package/dist/node_modules/jest-validate/build/validateCLIOptions.mjs +87 -0
  354. package/dist/node_modules/jest-validate/build/warnings.mjs +34 -0
  355. package/dist/node_modules/jest-validate/node_modules/ansi-styles/index.mjs +110 -0
  356. package/dist/node_modules/jest-validate/node_modules/camelcase/index.mjs +30 -0
  357. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/collections.mjs +94 -0
  358. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/index.mjs +275 -0
  359. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/AsymmetricMatcher.mjs +50 -0
  360. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMCollection.mjs +42 -0
  361. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMElement.mjs +72 -0
  362. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/Immutable.mjs +119 -0
  363. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactElement.mjs +101 -0
  364. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactTestComponent.mjs +47 -0
  365. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/escapeHTML.mjs +16 -0
  366. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/markup.mjs +51 -0
  367. package/dist/node_modules/jest-validate/node_modules/react-is/cjs/react-is.development.mjs +103 -0
  368. package/dist/node_modules/jest-validate/node_modules/react-is/cjs/react-is.production.min.mjs +82 -0
  369. package/dist/node_modules/jest-validate/node_modules/react-is/index.mjs +10 -0
  370. package/dist/node_modules/js-sha256/src/sha256.mjs +257 -0
  371. package/dist/node_modules/js-tokens/index.mjs +13 -0
  372. package/dist/node_modules/js-yaml/index.mjs +53 -0
  373. package/dist/node_modules/js-yaml/lib/common.mjs +36 -0
  374. package/dist/node_modules/js-yaml/lib/dumper.mjs +306 -0
  375. package/dist/node_modules/js-yaml/lib/exception.mjs +21 -0
  376. package/dist/node_modules/js-yaml/lib/loader.mjs +448 -0
  377. package/dist/node_modules/js-yaml/lib/schema/core.mjs +8 -0
  378. package/dist/node_modules/js-yaml/lib/schema/default.mjs +25 -0
  379. package/dist/node_modules/js-yaml/lib/schema/failsafe.mjs +21 -0
  380. package/dist/node_modules/js-yaml/lib/schema/json.mjs +19 -0
  381. package/dist/node_modules/js-yaml/lib/schema.mjs +68 -0
  382. package/dist/node_modules/js-yaml/lib/snippet.mjs +53 -0
  383. package/dist/node_modules/js-yaml/lib/type/binary.mjs +46 -0
  384. package/dist/node_modules/js-yaml/lib/type/bool.mjs +41 -0
  385. package/dist/node_modules/js-yaml/lib/type/float.mjs +69 -0
  386. package/dist/node_modules/js-yaml/lib/type/int.mjs +113 -0
  387. package/dist/node_modules/js-yaml/lib/type/map.mjs +17 -0
  388. package/dist/node_modules/js-yaml/lib/type/merge.mjs +18 -0
  389. package/dist/node_modules/js-yaml/lib/type/null.mjs +47 -0
  390. package/dist/node_modules/js-yaml/lib/type/omap.mjs +41 -0
  391. package/dist/node_modules/js-yaml/lib/type/pairs.mjs +35 -0
  392. package/dist/node_modules/js-yaml/lib/type/seq.mjs +17 -0
  393. package/dist/node_modules/js-yaml/lib/type/set.mjs +28 -0
  394. package/dist/node_modules/js-yaml/lib/type/str.mjs +17 -0
  395. package/dist/node_modules/js-yaml/lib/type/timestamp.mjs +41 -0
  396. package/dist/node_modules/js-yaml/lib/type.mjs +46 -0
  397. package/dist/node_modules/json-parse-even-better-errors/index.mjs +72 -0
  398. package/dist/node_modules/leven/index.mjs +32 -0
  399. package/dist/node_modules/lines-and-columns/build/index.mjs +47 -0
  400. package/dist/node_modules/parent-module/index.mjs +29 -0
  401. package/dist/node_modules/parse-json/index.mjs +42 -0
  402. package/dist/node_modules/path-parse/index.mjs +50 -0
  403. package/dist/node_modules/path-type/index.mjs +36 -0
  404. package/dist/node_modules/picocolors/picocolors.browser.mjs +14 -0
  405. package/dist/node_modules/possible-typed-array-names/index.mjs +16 -0
  406. package/dist/node_modules/resolve/index.mjs +12 -0
  407. package/dist/node_modules/resolve/lib/async.mjs +237 -0
  408. package/dist/node_modules/resolve/lib/caller.mjs +11 -0
  409. package/dist/node_modules/resolve/lib/core.json.mjs +437 -0
  410. package/dist/node_modules/resolve/lib/core.mjs +9 -0
  411. package/dist/node_modules/resolve/lib/homedir.mjs +8 -0
  412. package/dist/node_modules/resolve/lib/is-core.mjs +7 -0
  413. package/dist/node_modules/resolve/lib/node-modules-paths.mjs +29 -0
  414. package/dist/node_modules/resolve/lib/normalize-options.mjs +6 -0
  415. package/dist/node_modules/resolve/lib/sync.mjs +150 -0
  416. package/dist/node_modules/set-function-length/index.mjs +32 -0
  417. package/dist/node_modules/supports-color/browser.mjs +7 -0
  418. package/dist/node_modules/to-fast-properties/index.mjs +15 -0
  419. package/dist/node_modules/typescript/lib/typescript.mjs +158039 -0
  420. package/dist/node_modules/util/support/isBufferBrowser.mjs +6 -0
  421. package/dist/node_modules/util/support/types.mjs +189 -0
  422. package/dist/node_modules/util/util.mjs +399 -0
  423. package/dist/node_modules/which-typed-array/index.mjs +71 -0
  424. package/dist/node_modules/yaml/browser/dist/PlainValue-b8036b75.mjs +883 -0
  425. package/dist/node_modules/yaml/browser/dist/Schema-e94716c8.mjs +548 -0
  426. package/dist/node_modules/yaml/browser/dist/index.mjs +690 -0
  427. package/dist/node_modules/yaml/browser/dist/parse-cst.mjs +1141 -0
  428. package/dist/node_modules/yaml/browser/dist/resolveSeq-492ab440.mjs +1566 -0
  429. package/dist/node_modules/yaml/browser/dist/warnings-df54cb69.mjs +337 -0
  430. package/dist/node_modules/yaml/browser/index.mjs +8 -0
  431. package/dist/style.css +1 -1
  432. package/dist/utils/time.mjs +1 -1
  433. package/package.json +5 -1
  434. /package/dist/_virtual/{dayjs.min2.mjs → index28.mjs} +0 -0
@@ -0,0 +1,690 @@
1
+ import { e as q, d as P, b as R, c as D, _ as y, i as L, Y as Q, T as V, f as z, g as b, a as F, h as H, j as X, k as ee } from "./PlainValue-b8036b75.mjs";
2
+ import { parse as I } from "./parse-cst.mjs";
3
+ import { e as N, C as d, S as A, t as te, N as U, f as ne, P as W, c as re, Y as se, d as E, A as O, M as ie, r as ae, b as B, a as C, i as $, n as J, s as G } from "./resolveSeq-492ab440.mjs";
4
+ import { S as T } from "./Schema-e94716c8.mjs";
5
+ import { w as oe } from "./warnings-df54cb69.mjs";
6
+ var M = {
7
+ anchorPrefix: "a",
8
+ customTags: null,
9
+ indent: 2,
10
+ indentSeq: !0,
11
+ keepCstNodes: !1,
12
+ keepNodeTypes: !0,
13
+ keepBlobsInJSON: !0,
14
+ mapAsMap: !1,
15
+ maxAliasCount: 100,
16
+ prettyErrors: !1,
17
+ // TODO Set true in v2
18
+ simpleKeys: !1,
19
+ version: "1.2"
20
+ }, fe = {
21
+ get binary() {
22
+ return B;
23
+ },
24
+ set binary(r) {
25
+ Object.assign(B, r);
26
+ },
27
+ get bool() {
28
+ return C;
29
+ },
30
+ set bool(r) {
31
+ Object.assign(C, r);
32
+ },
33
+ get int() {
34
+ return $;
35
+ },
36
+ set int(r) {
37
+ Object.assign($, r);
38
+ },
39
+ get null() {
40
+ return J;
41
+ },
42
+ set null(r) {
43
+ Object.assign(J, r);
44
+ },
45
+ get str() {
46
+ return G;
47
+ },
48
+ set str(r) {
49
+ Object.assign(G, r);
50
+ }
51
+ }, Z = {
52
+ "1.0": {
53
+ schema: "yaml-1.1",
54
+ merge: !0,
55
+ tagPrefixes: [{
56
+ handle: "!",
57
+ prefix: P
58
+ }, {
59
+ handle: "!!",
60
+ prefix: "tag:private.yaml.org,2002:"
61
+ }]
62
+ },
63
+ 1.1: {
64
+ schema: "yaml-1.1",
65
+ merge: !0,
66
+ tagPrefixes: [{
67
+ handle: "!",
68
+ prefix: "!"
69
+ }, {
70
+ handle: "!!",
71
+ prefix: P
72
+ }]
73
+ },
74
+ 1.2: {
75
+ schema: "core",
76
+ merge: !1,
77
+ tagPrefixes: [{
78
+ handle: "!",
79
+ prefix: "!"
80
+ }, {
81
+ handle: "!!",
82
+ prefix: P
83
+ }]
84
+ }
85
+ };
86
+ function _(r, n) {
87
+ if ((r.version || r.options.version) === "1.0") {
88
+ var e = n.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);
89
+ if (e)
90
+ return "!" + e[1];
91
+ var t = n.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);
92
+ return t ? "!".concat(t[1], "/").concat(t[2]) : "!".concat(n.replace(/^tag:/, ""));
93
+ }
94
+ var s = r.tagPrefixes.find(function(i) {
95
+ return n.indexOf(i.prefix) === 0;
96
+ });
97
+ if (!s) {
98
+ var a = r.getDefaults().tagPrefixes;
99
+ s = a && a.find(function(i) {
100
+ return n.indexOf(i.prefix) === 0;
101
+ });
102
+ }
103
+ if (!s)
104
+ return n[0] === "!" ? n : "!<".concat(n, ">");
105
+ var o = n.substr(s.prefix.length).replace(/[!,[\]{}]/g, function(i) {
106
+ return {
107
+ "!": "%21",
108
+ ",": "%2C",
109
+ "[": "%5B",
110
+ "]": "%5D",
111
+ "{": "%7B",
112
+ "}": "%7D"
113
+ }[i];
114
+ });
115
+ return s.handle + o;
116
+ }
117
+ function ce(r, n) {
118
+ if (n instanceof O)
119
+ return O;
120
+ if (n.tag) {
121
+ var e = r.filter(function(i) {
122
+ return i.tag === n.tag;
123
+ });
124
+ if (e.length > 0)
125
+ return e.find(function(i) {
126
+ return i.format === n.format;
127
+ }) || e[0];
128
+ }
129
+ var t, s;
130
+ if (n instanceof A) {
131
+ s = n.value;
132
+ var a = r.filter(function(i) {
133
+ return i.identify && i.identify(s) || i.class && s instanceof i.class;
134
+ });
135
+ t = a.find(function(i) {
136
+ return i.format === n.format;
137
+ }) || a.find(function(i) {
138
+ return !i.format;
139
+ });
140
+ } else
141
+ s = n, t = r.find(function(i) {
142
+ return i.nodeClass && s instanceof i.nodeClass;
143
+ });
144
+ if (!t) {
145
+ var o = s && s.constructor ? s.constructor.name : F(s);
146
+ throw new Error("Tag not resolved for ".concat(o, " value"));
147
+ }
148
+ return t;
149
+ }
150
+ function ue(r, n, e) {
151
+ var t = e.anchors, s = e.doc, a = [], o = s.anchors.getName(r);
152
+ return o && (t[o] = r, a.push("&".concat(o))), r.tag ? a.push(_(s, r.tag)) : n.default || a.push(_(s, n.tag)), a.join(" ");
153
+ }
154
+ function x(r, n, e, t) {
155
+ var s = n.doc, a = s.anchors, o = s.schema, i;
156
+ if (!(r instanceof U)) {
157
+ var h = {
158
+ aliasNodes: [],
159
+ onTagObj: function(g) {
160
+ return i = g;
161
+ },
162
+ prevObjects: /* @__PURE__ */ new Map()
163
+ };
164
+ r = o.createNode(r, !0, null, h);
165
+ var c = y(h.aliasNodes), u;
166
+ try {
167
+ for (c.s(); !(u = c.n()).done; ) {
168
+ var l = u.value;
169
+ l.source = l.source.node;
170
+ var p = a.getName(l.source);
171
+ p || (p = a.newName(), a.map[p] = l.source);
172
+ }
173
+ } catch (m) {
174
+ c.e(m);
175
+ } finally {
176
+ c.f();
177
+ }
178
+ }
179
+ if (r instanceof W)
180
+ return r.toString(n, e, t);
181
+ i || (i = ce(o.tags, r));
182
+ var f = ue(r, i, n);
183
+ f.length > 0 && (n.indentAtStart = (n.indentAtStart || 0) + f.length + 1);
184
+ var v = typeof i.stringify == "function" ? i.stringify(r, n, e, t) : r instanceof A ? re(r, n, e, t) : r.toString(n, e, t);
185
+ return f ? r instanceof A || v[0] === "{" || v[0] === "[" ? "".concat(f, " ").concat(v) : "".concat(f, `
186
+ `).concat(n.indent).concat(v) : v;
187
+ }
188
+ var le = /* @__PURE__ */ function() {
189
+ function r(n) {
190
+ D(this, r), q(this, "map", /* @__PURE__ */ Object.create(null)), this.prefix = n;
191
+ }
192
+ return R(r, [{
193
+ key: "createAlias",
194
+ value: function(e, t) {
195
+ return this.setAnchor(e, t), new O(e);
196
+ }
197
+ }, {
198
+ key: "createMergePair",
199
+ value: function() {
200
+ for (var e = this, t = new ie(), s = arguments.length, a = new Array(s), o = 0; o < s; o++)
201
+ a[o] = arguments[o];
202
+ return t.value.items = a.map(function(i) {
203
+ if (i instanceof O) {
204
+ if (i.source instanceof E)
205
+ return i;
206
+ } else if (i instanceof E)
207
+ return e.createAlias(i);
208
+ throw new Error("Merge sources must be Map nodes or their Aliases");
209
+ }), t;
210
+ }
211
+ }, {
212
+ key: "getName",
213
+ value: function(e) {
214
+ var t = this.map;
215
+ return Object.keys(t).find(function(s) {
216
+ return t[s] === e;
217
+ });
218
+ }
219
+ }, {
220
+ key: "getNames",
221
+ value: function() {
222
+ return Object.keys(this.map);
223
+ }
224
+ }, {
225
+ key: "getNode",
226
+ value: function(e) {
227
+ return this.map[e];
228
+ }
229
+ }, {
230
+ key: "newName",
231
+ value: function(e) {
232
+ e || (e = this.prefix);
233
+ for (var t = Object.keys(this.map), s = 1; ; ++s) {
234
+ var a = "".concat(e).concat(s);
235
+ if (!t.includes(a))
236
+ return a;
237
+ }
238
+ }
239
+ // During parsing, map & aliases contain CST nodes
240
+ }, {
241
+ key: "resolveNodes",
242
+ value: function() {
243
+ var e = this.map, t = this._cstAliases;
244
+ Object.keys(e).forEach(function(s) {
245
+ e[s] = e[s].resolved;
246
+ }), t.forEach(function(s) {
247
+ s.source = s.source.resolved;
248
+ }), delete this._cstAliases;
249
+ }
250
+ }, {
251
+ key: "setAnchor",
252
+ value: function(e, t) {
253
+ if (e != null && !r.validAnchorNode(e))
254
+ throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");
255
+ if (t && /[\x00-\x19\s,[\]{}]/.test(t))
256
+ throw new Error("Anchor names must not contain whitespace or control characters");
257
+ var s = this.map, a = e && Object.keys(s).find(function(o) {
258
+ return s[o] === e;
259
+ });
260
+ if (a)
261
+ if (t)
262
+ a !== t && (delete s[a], s[t] = e);
263
+ else
264
+ return a;
265
+ else {
266
+ if (!t) {
267
+ if (!e)
268
+ return null;
269
+ t = this.newName();
270
+ }
271
+ s[t] = e;
272
+ }
273
+ return t;
274
+ }
275
+ }], [{
276
+ key: "validAnchorNode",
277
+ value: function(e) {
278
+ return e instanceof A || e instanceof se || e instanceof E;
279
+ }
280
+ }]), r;
281
+ }(), he = function r(n, e) {
282
+ if (n && F(n) === "object") {
283
+ var t = n.tag;
284
+ n instanceof d ? (t && (e[t] = !0), n.items.forEach(function(s) {
285
+ return r(s, e);
286
+ })) : n instanceof W ? (r(n.key, e), r(n.value, e)) : n instanceof A && t && (e[t] = !0);
287
+ }
288
+ return e;
289
+ }, ve = function(n) {
290
+ return Object.keys(he(n, {}));
291
+ };
292
+ function pe(r, n) {
293
+ var e = {
294
+ before: [],
295
+ after: []
296
+ }, t = void 0, s = !1, a = y(n), o;
297
+ try {
298
+ for (a.s(); !(o = a.n()).done; ) {
299
+ var i = o.value;
300
+ if (i.valueRange) {
301
+ if (t !== void 0) {
302
+ var h = "Document contains trailing content not separated by a ... or --- line";
303
+ r.errors.push(new Q(i, h));
304
+ break;
305
+ }
306
+ var c = ae(r, i);
307
+ s && (c.spaceBefore = !0, s = !1), t = c;
308
+ } else if (i.comment !== null) {
309
+ var u = t === void 0 ? e.before : e.after;
310
+ u.push(i.comment);
311
+ } else
312
+ i.type === V.BLANK_LINE && (s = !0, t === void 0 && e.before.length > 0 && !r.commentBefore && (r.commentBefore = e.before.join(`
313
+ `), e.before = []));
314
+ }
315
+ } catch (f) {
316
+ a.e(f);
317
+ } finally {
318
+ a.f();
319
+ }
320
+ if (r.contents = t || null, !t)
321
+ r.comment = e.before.concat(e.after).join(`
322
+ `) || null;
323
+ else {
324
+ var l = e.before.join(`
325
+ `);
326
+ if (l) {
327
+ var p = t instanceof d && t.items[0] ? t.items[0] : t;
328
+ p.commentBefore = p.commentBefore ? "".concat(l, `
329
+ `).concat(p.commentBefore) : l;
330
+ }
331
+ r.comment = e.after.join(`
332
+ `) || null;
333
+ }
334
+ }
335
+ function me(r, n) {
336
+ var e = r.tagPrefixes, t = H(n.parameters, 2), s = t[0], a = t[1];
337
+ if (!s || !a) {
338
+ var o = "Insufficient parameters given for %TAG directive";
339
+ throw new b(n, o);
340
+ }
341
+ if (e.some(function(h) {
342
+ return h.handle === s;
343
+ })) {
344
+ var i = "The %TAG directive must only be given at most once per handle in the same document.";
345
+ throw new b(n, i);
346
+ }
347
+ return {
348
+ handle: s,
349
+ prefix: a
350
+ };
351
+ }
352
+ function ge(r, n) {
353
+ var e = H(n.parameters, 1), t = e[0];
354
+ if (n.name === "YAML:1.0" && (t = "1.0"), !t) {
355
+ var s = "Insufficient parameters given for %YAML directive";
356
+ throw new b(n, s);
357
+ }
358
+ if (!Z[t]) {
359
+ var a = r.version || r.options.version, o = "Document will be parsed as YAML ".concat(a, " rather than YAML ").concat(t);
360
+ r.warnings.push(new z(n, o));
361
+ }
362
+ return t;
363
+ }
364
+ function de(r, n, e) {
365
+ var t = [], s = !1, a = y(n), o;
366
+ try {
367
+ for (a.s(); !(o = a.n()).done; ) {
368
+ var i = o.value, h = i.comment, c = i.name;
369
+ switch (c) {
370
+ case "TAG":
371
+ try {
372
+ r.tagPrefixes.push(me(r, i));
373
+ } catch (f) {
374
+ r.errors.push(f);
375
+ }
376
+ s = !0;
377
+ break;
378
+ case "YAML":
379
+ case "YAML:1.0":
380
+ if (r.version) {
381
+ var u = "The %YAML directive must only be given at most once per document.";
382
+ r.errors.push(new b(i, u));
383
+ }
384
+ try {
385
+ r.version = ge(r, i);
386
+ } catch (f) {
387
+ r.errors.push(f);
388
+ }
389
+ s = !0;
390
+ break;
391
+ default:
392
+ if (c) {
393
+ var l = "YAML only supports %TAG and %YAML directives, and not %".concat(c);
394
+ r.warnings.push(new z(i, l));
395
+ }
396
+ }
397
+ h && t.push(h);
398
+ }
399
+ } catch (f) {
400
+ a.e(f);
401
+ } finally {
402
+ a.f();
403
+ }
404
+ if (e && !s && (r.version || e.version || r.options.version) === "1.1") {
405
+ var p = function(v) {
406
+ var m = v.handle, g = v.prefix;
407
+ return {
408
+ handle: m,
409
+ prefix: g
410
+ };
411
+ };
412
+ r.tagPrefixes = e.tagPrefixes.map(p), r.version = e.version;
413
+ }
414
+ r.commentBefore = t.join(`
415
+ `) || null;
416
+ }
417
+ function w(r) {
418
+ if (r instanceof d)
419
+ return !0;
420
+ throw new Error("Expected a YAML collection as document contents");
421
+ }
422
+ var Y = /* @__PURE__ */ function() {
423
+ function r(n) {
424
+ D(this, r), this.anchors = new le(n.anchorPrefix), this.commentBefore = null, this.comment = null, this.contents = null, this.directivesEndMarker = null, this.errors = [], this.options = n, this.schema = null, this.tagPrefixes = [], this.version = null, this.warnings = [];
425
+ }
426
+ return R(r, [{
427
+ key: "add",
428
+ value: function(e) {
429
+ return w(this.contents), this.contents.add(e);
430
+ }
431
+ }, {
432
+ key: "addIn",
433
+ value: function(e, t) {
434
+ w(this.contents), this.contents.addIn(e, t);
435
+ }
436
+ }, {
437
+ key: "delete",
438
+ value: function(e) {
439
+ return w(this.contents), this.contents.delete(e);
440
+ }
441
+ }, {
442
+ key: "deleteIn",
443
+ value: function(e) {
444
+ return N(e) ? this.contents == null ? !1 : (this.contents = null, !0) : (w(this.contents), this.contents.deleteIn(e));
445
+ }
446
+ }, {
447
+ key: "getDefaults",
448
+ value: function() {
449
+ return r.defaults[this.version] || r.defaults[this.options.version] || {};
450
+ }
451
+ }, {
452
+ key: "get",
453
+ value: function(e, t) {
454
+ return this.contents instanceof d ? this.contents.get(e, t) : void 0;
455
+ }
456
+ }, {
457
+ key: "getIn",
458
+ value: function(e, t) {
459
+ return N(e) ? !t && this.contents instanceof A ? this.contents.value : this.contents : this.contents instanceof d ? this.contents.getIn(e, t) : void 0;
460
+ }
461
+ }, {
462
+ key: "has",
463
+ value: function(e) {
464
+ return this.contents instanceof d ? this.contents.has(e) : !1;
465
+ }
466
+ }, {
467
+ key: "hasIn",
468
+ value: function(e) {
469
+ return N(e) ? this.contents !== void 0 : this.contents instanceof d ? this.contents.hasIn(e) : !1;
470
+ }
471
+ }, {
472
+ key: "set",
473
+ value: function(e, t) {
474
+ w(this.contents), this.contents.set(e, t);
475
+ }
476
+ }, {
477
+ key: "setIn",
478
+ value: function(e, t) {
479
+ N(e) ? this.contents = t : (w(this.contents), this.contents.setIn(e, t));
480
+ }
481
+ }, {
482
+ key: "setSchema",
483
+ value: function(e, t) {
484
+ if (!(!e && !t && this.schema)) {
485
+ typeof e == "number" && (e = e.toFixed(1)), e === "1.0" || e === "1.1" || e === "1.2" ? (this.version ? this.version = e : this.options.version = e, delete this.options.schema) : e && typeof e == "string" && (this.options.schema = e), Array.isArray(t) && (this.options.customTags = t);
486
+ var s = Object.assign({}, this.getDefaults(), this.options);
487
+ this.schema = new T(s);
488
+ }
489
+ }
490
+ }, {
491
+ key: "parse",
492
+ value: function(e, t) {
493
+ this.options.keepCstNodes && (this.cstNode = e), this.options.keepNodeTypes && (this.type = "DOCUMENT");
494
+ var s = e.directives, a = s === void 0 ? [] : s, o = e.contents, i = o === void 0 ? [] : o, h = e.directivesEndMarker, c = e.error, u = e.valueRange;
495
+ if (c && (c.source || (c.source = this), this.errors.push(c)), de(this, a, t), h && (this.directivesEndMarker = !0), this.range = u ? [u.start, u.end] : null, this.setSchema(), this.anchors._cstAliases = [], pe(this, i), this.anchors.resolveNodes(), this.options.prettyErrors) {
496
+ var l = y(this.errors), p;
497
+ try {
498
+ for (l.s(); !(p = l.n()).done; ) {
499
+ var f = p.value;
500
+ f instanceof L && f.makePretty();
501
+ }
502
+ } catch (k) {
503
+ l.e(k);
504
+ } finally {
505
+ l.f();
506
+ }
507
+ var v = y(this.warnings), m;
508
+ try {
509
+ for (v.s(); !(m = v.n()).done; ) {
510
+ var g = m.value;
511
+ g instanceof L && g.makePretty();
512
+ }
513
+ } catch (k) {
514
+ v.e(k);
515
+ } finally {
516
+ v.f();
517
+ }
518
+ }
519
+ return this;
520
+ }
521
+ }, {
522
+ key: "listNonDefaultTags",
523
+ value: function() {
524
+ return ve(this.contents).filter(function(e) {
525
+ return e.indexOf(T.defaultPrefix) !== 0;
526
+ });
527
+ }
528
+ }, {
529
+ key: "setTagPrefix",
530
+ value: function(e, t) {
531
+ if (e[0] !== "!" || e[e.length - 1] !== "!")
532
+ throw new Error("Handle must start and end with !");
533
+ if (t) {
534
+ var s = this.tagPrefixes.find(function(a) {
535
+ return a.handle === e;
536
+ });
537
+ s ? s.prefix = t : this.tagPrefixes.push({
538
+ handle: e,
539
+ prefix: t
540
+ });
541
+ } else
542
+ this.tagPrefixes = this.tagPrefixes.filter(function(a) {
543
+ return a.handle !== e;
544
+ });
545
+ }
546
+ }, {
547
+ key: "toJSON",
548
+ value: function(e, t) {
549
+ var s = this, a = this.options, o = a.keepBlobsInJSON, i = a.mapAsMap, h = a.maxAliasCount, c = o && (typeof e != "string" || !(this.contents instanceof A)), u = {
550
+ doc: this,
551
+ indentStep: " ",
552
+ keep: c,
553
+ mapAsMap: c && !!i,
554
+ maxAliasCount: h,
555
+ stringify: x
556
+ // Requiring directly in Pair would create circular dependencies
557
+ }, l = Object.keys(this.anchors.map);
558
+ l.length > 0 && (u.anchors = new Map(l.map(function(j) {
559
+ return [s.anchors.map[j], {
560
+ alias: [],
561
+ aliasCount: 0,
562
+ count: 1
563
+ }];
564
+ })));
565
+ var p = te(this.contents, e, u);
566
+ if (typeof t == "function" && u.anchors) {
567
+ var f = y(u.anchors.values()), v;
568
+ try {
569
+ for (f.s(); !(v = f.n()).done; ) {
570
+ var m = v.value, g = m.count, k = m.res;
571
+ t(k, g);
572
+ }
573
+ } catch (j) {
574
+ f.e(j);
575
+ } finally {
576
+ f.f();
577
+ }
578
+ }
579
+ return p;
580
+ }
581
+ }, {
582
+ key: "toString",
583
+ value: function() {
584
+ if (this.errors.length > 0)
585
+ throw new Error("Document with errors cannot be stringified");
586
+ var e = this.options.indent;
587
+ if (!Number.isInteger(e) || e <= 0) {
588
+ var t = JSON.stringify(e);
589
+ throw new Error('"indent" option must be a positive integer, not '.concat(t));
590
+ }
591
+ this.setSchema();
592
+ var s = [], a = !1;
593
+ if (this.version) {
594
+ var o = "%YAML 1.2";
595
+ this.schema.name === "yaml-1.1" && (this.version === "1.0" ? o = "%YAML:1.0" : this.version === "1.1" && (o = "%YAML 1.1")), s.push(o), a = !0;
596
+ }
597
+ var i = this.listNonDefaultTags();
598
+ this.tagPrefixes.forEach(function(f) {
599
+ var v = f.handle, m = f.prefix;
600
+ i.some(function(g) {
601
+ return g.indexOf(m) === 0;
602
+ }) && (s.push("%TAG ".concat(v, " ").concat(m)), a = !0);
603
+ }), (a || this.directivesEndMarker) && s.push("---"), this.commentBefore && ((a || !this.directivesEndMarker) && s.unshift(""), s.unshift(this.commentBefore.replace(/^/gm, "#")));
604
+ var h = {
605
+ anchors: /* @__PURE__ */ Object.create(null),
606
+ doc: this,
607
+ indent: "",
608
+ indentStep: " ".repeat(e),
609
+ stringify: x
610
+ // Requiring directly in nodes would create circular dependencies
611
+ }, c = !1, u = null;
612
+ if (this.contents) {
613
+ this.contents instanceof U && (this.contents.spaceBefore && (a || this.directivesEndMarker) && s.push(""), this.contents.commentBefore && s.push(this.contents.commentBefore.replace(/^/gm, "#")), h.forceBlockIndent = !!this.comment, u = this.contents.comment);
614
+ var l = u ? null : function() {
615
+ return c = !0;
616
+ }, p = x(this.contents, h, function() {
617
+ return u = null;
618
+ }, l);
619
+ s.push(ne(p, "", u));
620
+ } else
621
+ this.contents !== void 0 && s.push(x(this.contents, h));
622
+ return this.comment && ((!c || u) && s[s.length - 1] !== "" && s.push(""), s.push(this.comment.replace(/^/gm, "#"))), s.join(`
623
+ `) + `
624
+ `;
625
+ }
626
+ }]), r;
627
+ }();
628
+ q(Y, "defaults", Z);
629
+ function ye(r) {
630
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, e = arguments.length > 2 ? arguments[2] : void 0;
631
+ e === void 0 && typeof n == "string" && (e = n, n = !0);
632
+ var t = Object.assign({}, Y.defaults[M.version], M), s = new T(t);
633
+ return s.createNode(r, n, e);
634
+ }
635
+ var S = /* @__PURE__ */ function(r) {
636
+ X(e, r);
637
+ var n = ee(e);
638
+ function e(t) {
639
+ return D(this, e), n.call(this, Object.assign({}, M, t));
640
+ }
641
+ return e;
642
+ }(Y);
643
+ function Ae(r, n) {
644
+ var e = [], t, s = y(I(r)), a;
645
+ try {
646
+ for (s.s(); !(a = s.n()).done; ) {
647
+ var o = a.value, i = new S(n);
648
+ i.parse(o, t), e.push(i), t = i;
649
+ }
650
+ } catch (h) {
651
+ s.e(h);
652
+ } finally {
653
+ s.f();
654
+ }
655
+ return e;
656
+ }
657
+ function K(r, n) {
658
+ var e = I(r), t = new S(n).parse(e[0]);
659
+ if (e.length > 1) {
660
+ var s = "Source contains multiple documents; please use YAML.parseAllDocuments()";
661
+ t.errors.unshift(new b(e[1], s));
662
+ }
663
+ return t;
664
+ }
665
+ function we(r, n) {
666
+ var e = K(r, n);
667
+ if (e.warnings.forEach(function(t) {
668
+ return oe(t);
669
+ }), e.errors.length > 0)
670
+ throw e.errors[0];
671
+ return e.toJSON();
672
+ }
673
+ function ke(r, n) {
674
+ var e = new S(n);
675
+ return e.contents = r, String(e);
676
+ }
677
+ var Se = {
678
+ createNode: ye,
679
+ defaultOptions: M,
680
+ Document: S,
681
+ parse: we,
682
+ parseAllDocuments: Ae,
683
+ parseCST: I,
684
+ parseDocument: K,
685
+ scalarOptions: fe,
686
+ stringify: ke
687
+ };
688
+ export {
689
+ Se as YAML
690
+ };