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

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 (861) hide show
  1. package/dist/_virtual/index.mjs +2 -2
  2. package/dist/_virtual/index2.mjs +2 -2
  3. package/dist/assets/iconfont/IconChenggong.mjs +5 -18
  4. package/dist/assets/iconfont/IconClose.mjs +5 -18
  5. package/dist/assets/iconfont/IconColumnCancelFixed.mjs +5 -18
  6. package/dist/assets/iconfont/IconColumnFixedLeft.mjs +5 -18
  7. package/dist/assets/iconfont/IconColumnFixedRight.mjs +5 -18
  8. package/dist/assets/iconfont/IconCuowu.mjs +5 -18
  9. package/dist/assets/iconfont/IconDragOrder.mjs +5 -18
  10. package/dist/assets/iconfont/IconDuigoux.mjs +5 -18
  11. package/dist/assets/iconfont/IconFabu.mjs +8 -27
  12. package/dist/assets/iconfont/IconFanhui.mjs +5 -18
  13. package/dist/assets/iconfont/IconGaojisousuo.mjs +5 -18
  14. package/dist/assets/iconfont/IconHangfengexian.mjs +9 -35
  15. package/dist/assets/iconfont/IconHangliefengexian.mjs +9 -35
  16. package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +5 -18
  17. package/dist/assets/iconfont/IconIcon21.mjs +5 -18
  18. package/dist/assets/iconfont/IconJincoude.mjs +5 -18
  19. package/dist/assets/iconfont/IconJinggao.mjs +5 -18
  20. package/dist/assets/iconfont/IconKuansongde.mjs +5 -18
  21. package/dist/assets/iconfont/IconLiefengexian.mjs +9 -35
  22. package/dist/assets/iconfont/IconMore.mjs +9 -34
  23. package/dist/assets/iconfont/IconShanchu.mjs +5 -18
  24. package/dist/assets/iconfont/IconShanchu1.mjs +8 -27
  25. package/dist/assets/iconfont/IconSousuo.mjs +5 -18
  26. package/dist/assets/iconfont/IconTejincou.mjs +5 -18
  27. package/dist/assets/iconfont/IconTekuansong.mjs +5 -18
  28. package/dist/assets/iconfont/IconTishi1.mjs +5 -18
  29. package/dist/assets/iconfont/IconTuodong.mjs +5 -18
  30. package/dist/assets/iconfont/IconWubanmawentianchong.mjs +8 -29
  31. package/dist/assets/iconfont/IconWufengexian.mjs +5 -19
  32. package/dist/assets/iconfont/IconXinxitishi.mjs +5 -18
  33. package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +8 -28
  34. package/dist/assets/iconfont/IconZhongdengde.mjs +5 -18
  35. package/dist/assets/iconfont/IconZhongzhi.mjs +5 -18
  36. package/dist/assets/iconfont/index.mjs +4 -1
  37. package/dist/components/BitzAddTag/index.mjs +22 -43
  38. package/dist/components/BitzAddressBook/index.mjs +42 -91
  39. package/dist/components/BitzAppRefresh/index.mjs +11 -17
  40. package/dist/components/BitzBetterScroll/index.mjs +13 -1
  41. package/dist/components/BitzButton/index.mjs +33 -25
  42. package/dist/components/BitzCalendar/index.mjs +42 -60
  43. package/dist/components/BitzCascader/BitzCascaderMobile.mjs +26 -48
  44. package/dist/components/BitzCascader/index.mjs +5 -1
  45. package/dist/components/BitzCollapse/index.mjs +7 -5
  46. package/dist/components/BitzConfigProvider/context.mjs +1 -3
  47. package/dist/components/BitzConfigProvider/index.mjs +5 -5
  48. package/dist/components/BitzConfirmModal/index.mjs +28 -31
  49. package/dist/components/BitzDayJs/index.mjs +1 -1
  50. package/dist/components/BitzDescriptions/index.mjs +1 -11
  51. package/dist/components/BitzDrawer/index.mjs +14 -18
  52. package/dist/components/BitzEmpty/index.mjs +5 -1
  53. package/dist/components/BitzException/index.mjs +1 -6
  54. package/dist/components/BitzFloatLayout/index.mjs +14 -2
  55. package/dist/components/BitzFluentDatePicker/index.mjs +4 -1
  56. package/dist/components/BitzFluentRangePicker/index.mjs +4 -1
  57. package/dist/components/BitzFluentRangeTimePicker/index.mjs +4 -1
  58. package/dist/components/BitzFluentTimePicker/index.mjs +4 -1
  59. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  60. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +15 -15
  61. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +4 -2
  62. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +13 -24
  63. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
  64. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +10 -14
  65. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +42 -66
  66. package/dist/components/BitzFuiCalendar/ColumnData.mjs +9 -17
  67. package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +28 -33
  68. package/dist/components/BitzFuiCalendar/index.mjs +3 -1
  69. package/dist/components/BitzFullScreen/index.mjs +42 -20
  70. package/dist/components/BitzHighlight/Child.mjs +12 -9
  71. package/dist/components/BitzHighlight/Highlight.mjs +10 -8
  72. package/dist/components/BitzHighlight/chunks.mjs +17 -20
  73. package/dist/components/BitzHighlight/style.mjs +25 -22
  74. package/dist/components/BitzImage/index.mjs +5 -1
  75. package/dist/components/BitzImage/previewImage.mjs +8 -15
  76. package/dist/components/BitzLanguageTabs/index.mjs +29 -20
  77. package/dist/components/BitzLazyLoad/index.mjs +1 -7
  78. package/dist/components/BitzList/List.mjs +1 -15
  79. package/dist/components/BitzList/LoadMore.mjs +23 -22
  80. package/dist/components/BitzLoadMore/index.mjs +7 -13
  81. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +12 -10
  82. package/dist/components/BitzMeetingTime/index.mjs +15 -4
  83. package/dist/components/BitzMobileLoading/index.mjs +3 -1
  84. package/dist/components/BitzModal/index.mjs +14 -21
  85. package/dist/components/BitzNoData/index.mjs +8 -1
  86. package/dist/components/BitzNoMore/index.mjs +4 -1
  87. package/dist/components/BitzOrganizationSelection/index.mjs +39 -38
  88. package/dist/components/BitzPageContainer/index.mjs +21 -42
  89. package/dist/components/BitzPageHeader/index.mjs +21 -56
  90. package/dist/components/BitzPagination/index.mjs +9 -38
  91. package/dist/components/BitzPopover/index.mjs +8 -2
  92. package/dist/components/BitzPullRefresh/PullRefresh.mjs +43 -45
  93. package/dist/components/BitzQRCode/index.mjs +1 -6
  94. package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +23 -20
  95. package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +7 -1
  96. package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +3 -1
  97. package/dist/components/BitzQueryFilter/index.mjs +12 -44
  98. package/dist/components/BitzRefresh/index.mjs +13 -4
  99. package/dist/components/BitzRemark/index.mjs +6 -1
  100. package/dist/components/BitzSearch/index.mjs +12 -2
  101. package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +53 -103
  102. package/dist/components/BitzSelect/index.mjs +10 -2
  103. package/dist/components/BitzSkeleton/index.mjs +1 -31
  104. package/dist/components/BitzTabbar/BitzTabbar.mjs +7 -13
  105. package/dist/components/BitzTabbar/BitzTabbarItem.mjs +15 -3
  106. package/dist/components/BitzTable/ActionBar/ActionBar.mjs +47 -93
  107. package/dist/components/BitzTable/ActionBar/Button.mjs +9 -6
  108. package/dist/components/BitzTable/ActionBar/style.mjs +62 -67
  109. package/dist/components/BitzTable/ActionCol/index.mjs +65 -166
  110. package/dist/components/BitzTable/ActionCol/style.mjs +74 -88
  111. package/dist/components/BitzTable/Dropdown/index.mjs +15 -11
  112. package/dist/components/BitzTable/Dropdown/style.mjs +66 -70
  113. package/dist/components/BitzTable/SelectionBar/Button.mjs +26 -20
  114. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +15 -13
  115. package/dist/components/BitzTable/SelectionBar/style.mjs +79 -96
  116. package/dist/components/BitzTable/Store/index.mjs +139 -165
  117. package/dist/components/BitzTable/Store/utils/index.mjs +11 -2
  118. package/dist/components/BitzTable/SubTable/index.mjs +66 -71
  119. package/dist/components/BitzTable/Table/ResizableTitle copy.mjs +27 -37
  120. package/dist/components/BitzTable/Table/SortTableContext.mjs +7 -19
  121. package/dist/components/BitzTable/Table/SortableRow.mjs +36 -38
  122. package/dist/components/BitzTable/Table/TdCell.mjs +14 -12
  123. package/dist/components/BitzTable/Table/index.mjs +416 -530
  124. package/dist/components/BitzTable/Table/useScrollConfig.mjs +18 -10
  125. package/dist/components/BitzTable/Table/utils.mjs +20 -21
  126. package/dist/components/BitzTable/TextOverflow/index.mjs +15 -14
  127. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.d.ts +0 -1
  128. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +126 -125
  129. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +114 -120
  130. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +31 -42
  131. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +339 -344
  132. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +23 -33
  133. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +16 -30
  134. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +169 -146
  135. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +12 -9
  136. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +29 -17
  137. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +233 -170
  138. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +56 -59
  139. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +50 -50
  140. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +34 -34
  141. package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +52 -40
  142. package/dist/components/BitzTable/ToolBar/Modal/index.d.ts +1 -1
  143. package/dist/components/BitzTable/ToolBar/Modal/index.mjs +19 -38
  144. package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +33 -19
  145. package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +32 -44
  146. package/dist/components/BitzTable/ToolBar/style.mjs +59 -58
  147. package/dist/components/BitzTableOperations/index.mjs +8 -13
  148. package/dist/components/BitzTableSelect/Picker/index.mjs +4 -23
  149. package/dist/components/BitzTableSelect/Select/index.mjs +2 -48
  150. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +16 -22
  151. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +86 -171
  152. package/dist/components/BitzTableSelect/SingleSelect/index.mjs +1 -43
  153. package/dist/components/BitzTableSelect/TableCell/index.mjs +28 -56
  154. package/dist/components/BitzTableSelect/TextBlock/index.mjs +10 -18
  155. package/dist/components/BitzTableSelect/index.mjs +5 -39
  156. package/dist/components/BitzTag/index.mjs +10 -2
  157. package/dist/components/BitzText/index.mjs +47 -53
  158. package/dist/components/BitzTheme/index.mjs +5 -1
  159. package/dist/components/BitzTimeline/index.mjs +1 -11
  160. package/dist/components/BitzTimer/Form.mjs +32 -38
  161. package/dist/components/BitzTimer/Timer.mjs +31 -50
  162. package/dist/components/BitzTimer/index.mjs +58 -60
  163. package/dist/components/BitzToast/Toast/index.mjs +24 -12
  164. package/dist/components/BitzToast/index.mjs +7 -1
  165. package/dist/components/BitzTooltip/index.mjs +35 -45
  166. package/dist/components/BitzTooltip/style.mjs +41 -38
  167. package/dist/components/BitzUeEditor/config.mjs +183 -185
  168. package/dist/components/BitzUeEditor/index.mjs +10 -2
  169. package/dist/components/BitzUpload/index.mjs +72 -84
  170. package/dist/components/BitzWebAppDrawer/index.mjs +4 -18
  171. package/dist/components/BitzWebAppModal/index.mjs +6 -1
  172. package/dist/hooks/use-event-listener.mjs +4 -5
  173. package/dist/hooks/use-lock-fn.mjs +10 -13
  174. package/dist/hooks/use-scroll-parent.mjs +4 -4
  175. package/dist/hooks/useEvent.mjs +4 -7
  176. package/dist/hooks/useMergedState.mjs +6 -1
  177. package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +4 -4
  178. package/dist/node_modules/classnames/index.mjs +1 -1
  179. package/dist/node_modules/dayjs/locale/zh-cn.mjs +10 -10
  180. package/dist/node_modules/prop-types/index.mjs +1 -1
  181. package/dist/node_modules/react-resizable/index.mjs +1 -1
  182. package/dist/node_modules/use-sync-external-store/shim/index.mjs +1 -1
  183. package/dist/style.css +1 -1
  184. package/dist/utils/WithFluent.mjs +17 -14
  185. package/dist/utils/create.mjs +1 -7
  186. package/dist/utils/get-default-props.mjs +3 -1
  187. package/dist/utils/time.mjs +8 -8
  188. package/package.json +5 -5
  189. package/dist/_virtual/AsymmetricMatcher.mjs +0 -4
  190. package/dist/_virtual/DOMCollection.mjs +0 -4
  191. package/dist/_virtual/DOMElement.mjs +0 -4
  192. package/dist/_virtual/Explorer.mjs +0 -4
  193. package/dist/_virtual/Explorer2.mjs +0 -4
  194. package/dist/_virtual/ExplorerBase.mjs +0 -4
  195. package/dist/_virtual/ExplorerBase2.mjs +0 -4
  196. package/dist/_virtual/ExplorerSync.mjs +0 -4
  197. package/dist/_virtual/ExplorerSync2.mjs +0 -4
  198. package/dist/_virtual/Immutable.mjs +0 -4
  199. package/dist/_virtual/ReactElement.mjs +0 -4
  200. package/dist/_virtual/ReactTestComponent.mjs +0 -4
  201. package/dist/_virtual/___vite-browser-external.mjs +0 -6
  202. package/dist/_virtual/__vite-browser-external.mjs +0 -4
  203. package/dist/_virtual/_commonjs-dynamic-modules.mjs +0 -6
  204. package/dist/_virtual/addComment.mjs +0 -4
  205. package/dist/_virtual/addComments.mjs +0 -4
  206. package/dist/_virtual/appendToMemberExpression.mjs +0 -4
  207. package/dist/_virtual/assertNode.mjs +0 -4
  208. package/dist/_virtual/babel-plugin-lingui-macro.28bb9ad7.mjs +0 -4
  209. package/dist/_virtual/buildChildren.mjs +0 -4
  210. package/dist/_virtual/buildMatchMemberExpression.mjs +0 -4
  211. package/dist/_virtual/cacheWrapper.mjs +0 -4
  212. package/dist/_virtual/cleanJSXElementLiteralChild.mjs +0 -4
  213. package/dist/_virtual/clone.mjs +0 -4
  214. package/dist/_virtual/cloneDeep.mjs +0 -4
  215. package/dist/_virtual/cloneDeepWithoutLoc.mjs +0 -4
  216. package/dist/_virtual/cloneNode.mjs +0 -4
  217. package/dist/_virtual/cloneWithoutLoc.mjs +0 -4
  218. package/dist/_virtual/collections.mjs +0 -4
  219. package/dist/_virtual/common2.mjs +0 -4
  220. package/dist/_virtual/condition.mjs +0 -4
  221. package/dist/_virtual/conversions.mjs +0 -4
  222. package/dist/_virtual/core.mjs +0 -4
  223. package/dist/_virtual/createFlowUnionType.mjs +0 -4
  224. package/dist/_virtual/createTSUnionType.mjs +0 -4
  225. package/dist/_virtual/createTypeAnnotationBasedOnTypeof.mjs +0 -4
  226. package/dist/_virtual/dayjs.min.mjs +0 -4
  227. package/dist/_virtual/defaultConfig.mjs +0 -4
  228. package/dist/_virtual/deprecated-aliases.mjs +0 -4
  229. package/dist/_virtual/deprecated.mjs +0 -4
  230. package/dist/_virtual/deprecationWarning.mjs +0 -4
  231. package/dist/_virtual/dumper.mjs +0 -4
  232. package/dist/_virtual/ensureBlock.mjs +0 -4
  233. package/dist/_virtual/errors.mjs +0 -4
  234. package/dist/_virtual/escapeHTML.mjs +0 -4
  235. package/dist/_virtual/experimental.mjs +0 -4
  236. package/dist/_virtual/flow.mjs +0 -4
  237. package/dist/_virtual/gatherSequenceExpressions.mjs +0 -4
  238. package/dist/_virtual/generateMessageId.mjs +0 -4
  239. package/dist/_virtual/getAssignmentIdentifiers.mjs +0 -4
  240. package/dist/_virtual/getBindingIdentifiers.mjs +0 -4
  241. package/dist/_virtual/getDirectory.mjs +0 -4
  242. package/dist/_virtual/getFunctionName.mjs +0 -4
  243. package/dist/_virtual/getOuterBindingIdentifiers.mjs +0 -4
  244. package/dist/_virtual/getPropertyByPath.mjs +0 -4
  245. package/dist/_virtual/identifier.mjs +0 -4
  246. package/dist/_virtual/index10.mjs +0 -4
  247. package/dist/_virtual/index11.mjs +0 -4
  248. package/dist/_virtual/index12.mjs +0 -4
  249. package/dist/_virtual/index13.mjs +0 -4
  250. package/dist/_virtual/index14.mjs +0 -4
  251. package/dist/_virtual/index15.mjs +0 -4
  252. package/dist/_virtual/index16.mjs +0 -4
  253. package/dist/_virtual/index17.mjs +0 -4
  254. package/dist/_virtual/index18.mjs +0 -4
  255. package/dist/_virtual/index19.mjs +0 -4
  256. package/dist/_virtual/index20.mjs +0 -4
  257. package/dist/_virtual/index21.mjs +0 -4
  258. package/dist/_virtual/index22.mjs +0 -4
  259. package/dist/_virtual/index23.mjs +0 -6
  260. package/dist/_virtual/index24.mjs +0 -4
  261. package/dist/_virtual/index25.mjs +0 -4
  262. package/dist/_virtual/index26.mjs +0 -4
  263. package/dist/_virtual/index27.mjs +0 -4
  264. package/dist/_virtual/index28.mjs +0 -4
  265. package/dist/_virtual/index29.mjs +0 -4
  266. package/dist/_virtual/index30.mjs +0 -4
  267. package/dist/_virtual/index31.mjs +0 -4
  268. package/dist/_virtual/index32.mjs +0 -4
  269. package/dist/_virtual/index33.mjs +0 -4
  270. package/dist/_virtual/index34.mjs +0 -4
  271. package/dist/_virtual/index35.mjs +0 -4
  272. package/dist/_virtual/index36.mjs +0 -4
  273. package/dist/_virtual/index37.mjs +0 -4
  274. package/dist/_virtual/index38.mjs +0 -4
  275. package/dist/_virtual/index39.mjs +0 -4
  276. package/dist/_virtual/index40.mjs +0 -4
  277. package/dist/_virtual/index7.mjs +0 -4
  278. package/dist/_virtual/index8.mjs +0 -6
  279. package/dist/_virtual/index9.mjs +0 -4
  280. package/dist/_virtual/inherit.mjs +0 -4
  281. package/dist/_virtual/inheritInnerComments.mjs +0 -4
  282. package/dist/_virtual/inheritLeadingComments.mjs +0 -4
  283. package/dist/_virtual/inheritTrailingComments.mjs +0 -4
  284. package/dist/_virtual/inherits.mjs +0 -4
  285. package/dist/_virtual/inheritsComments.mjs +0 -4
  286. package/dist/_virtual/inherits_browser.mjs +0 -4
  287. package/dist/_virtual/is.mjs +0 -4
  288. package/dist/_virtual/isBinding.mjs +0 -4
  289. package/dist/_virtual/isBlockScoped.mjs +0 -4
  290. package/dist/_virtual/isCompatTag.mjs +0 -4
  291. package/dist/_virtual/isImmutable.mjs +0 -4
  292. package/dist/_virtual/isLet.mjs +0 -4
  293. package/dist/_virtual/isNode.mjs +0 -4
  294. package/dist/_virtual/isNodesEquivalent.mjs +0 -4
  295. package/dist/_virtual/isPlaceholderType.mjs +0 -4
  296. package/dist/_virtual/isReactComponent.mjs +0 -4
  297. package/dist/_virtual/isReferenced.mjs +0 -4
  298. package/dist/_virtual/isScope.mjs +0 -4
  299. package/dist/_virtual/isSpecifierDefault.mjs +0 -4
  300. package/dist/_virtual/isType.mjs +0 -4
  301. package/dist/_virtual/isValidES3Identifier.mjs +0 -4
  302. package/dist/_virtual/isValidIdentifier.mjs +0 -4
  303. package/dist/_virtual/isVar.mjs +0 -4
  304. package/dist/_virtual/jsx.mjs +0 -4
  305. package/dist/_virtual/keyword.mjs +0 -4
  306. package/dist/_virtual/loader.mjs +0 -4
  307. package/dist/_virtual/loaders.mjs +0 -4
  308. package/dist/_virtual/loaders2.mjs +0 -4
  309. package/dist/_virtual/macro.mjs +0 -4
  310. package/dist/_virtual/markup.mjs +0 -4
  311. package/dist/_virtual/matchesPattern.mjs +0 -4
  312. package/dist/_virtual/misc.mjs +0 -4
  313. package/dist/_virtual/picocolors.browser.mjs +0 -4
  314. package/dist/_virtual/placeholders.mjs +0 -4
  315. package/dist/_virtual/prependToMemberExpression.mjs +0 -4
  316. package/dist/_virtual/productions.mjs +0 -4
  317. package/dist/_virtual/react-is.development3.mjs +0 -4
  318. package/dist/_virtual/react-is.production.min3.mjs +0 -4
  319. package/dist/_virtual/readFile.mjs +0 -4
  320. package/dist/_virtual/removeComments.mjs +0 -4
  321. package/dist/_virtual/removeProperties.mjs +0 -4
  322. package/dist/_virtual/removePropertiesDeep.mjs +0 -4
  323. package/dist/_virtual/removeTypeDuplicates.mjs +0 -4
  324. package/dist/_virtual/removeTypeDuplicates2.mjs +0 -4
  325. package/dist/_virtual/sha256.mjs +0 -4
  326. package/dist/_virtual/shallowEqual.mjs +0 -4
  327. package/dist/_virtual/toBindingIdentifierName.mjs +0 -4
  328. package/dist/_virtual/toBlock.mjs +0 -4
  329. package/dist/_virtual/toComputedKey.mjs +0 -4
  330. package/dist/_virtual/toExpression.mjs +0 -4
  331. package/dist/_virtual/toIdentifier.mjs +0 -4
  332. package/dist/_virtual/toKeyAlias.mjs +0 -4
  333. package/dist/_virtual/toSequenceExpression.mjs +0 -4
  334. package/dist/_virtual/toStatement.mjs +0 -4
  335. package/dist/_virtual/traverse.mjs +0 -4
  336. package/dist/_virtual/traverseFast.mjs +0 -4
  337. package/dist/_virtual/types.mjs +0 -4
  338. package/dist/_virtual/types2.mjs +0 -4
  339. package/dist/_virtual/typescript.mjs +0 -4
  340. package/dist/_virtual/typescript2.mjs +0 -11
  341. package/dist/_virtual/typescript3.mjs +0 -4
  342. package/dist/_virtual/uppercase.mjs +0 -4
  343. package/dist/_virtual/util.mjs +0 -4
  344. package/dist/_virtual/util2.mjs +0 -4
  345. package/dist/_virtual/utils2.mjs +0 -4
  346. package/dist/_virtual/utils3.mjs +0 -4
  347. package/dist/_virtual/validate.mjs +0 -4
  348. package/dist/_virtual/validate2.mjs +0 -4
  349. package/dist/_virtual/validateCLIOptions.mjs +0 -4
  350. package/dist/_virtual/validateNode.mjs +0 -4
  351. package/dist/_virtual/valueToNode.mjs +0 -4
  352. package/dist/_virtual/warnings.mjs +0 -4
  353. package/dist/components/BitzTable/Select/index.d.ts +0 -3
  354. package/dist/components/BitzTable/Select/style.d.ts +0 -4
  355. package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.d.ts +0 -11
  356. package/dist/components/BitzTable/ToolBar/ExportIcon/styles.d.ts +0 -3
  357. package/dist/node_modules/@ant-design/icons/es/icons/AlignCenterOutlined.mjs +0 -15
  358. package/dist/node_modules/@ant-design/icons/es/icons/AppstoreOutlined.mjs +0 -15
  359. package/dist/node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.mjs +0 -15
  360. package/dist/node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.mjs +0 -15
  361. package/dist/node_modules/@ant-design/icons/es/icons/CaretDownFilled.mjs +0 -15
  362. package/dist/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.mjs +0 -15
  363. package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs +0 -15
  364. package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.mjs +0 -15
  365. package/dist/node_modules/@ant-design/icons/es/icons/CopyOutlined.mjs +0 -15
  366. package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.mjs +0 -15
  367. package/dist/node_modules/@ant-design/icons/es/icons/EditOutlined.mjs +0 -15
  368. package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.mjs +0 -15
  369. package/dist/node_modules/@ant-design/icons/es/icons/FullscreenExitOutlined.mjs +0 -15
  370. package/dist/node_modules/@ant-design/icons/es/icons/FullscreenOutlined.mjs +0 -15
  371. package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs +0 -15
  372. package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.mjs +0 -15
  373. package/dist/node_modules/@ant-design/icons/es/icons/MenuFoldOutlined.mjs +0 -15
  374. package/dist/node_modules/@ant-design/icons/es/icons/MenuOutlined.mjs +0 -15
  375. package/dist/node_modules/@ant-design/icons/es/icons/MenuUnfoldOutlined.mjs +0 -15
  376. package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.mjs +0 -15
  377. package/dist/node_modules/@ant-design/icons/es/icons/PauseCircleFilled.mjs +0 -15
  378. package/dist/node_modules/@ant-design/icons/es/icons/PlayCircleFilled.mjs +0 -15
  379. package/dist/node_modules/@ant-design/icons/es/icons/PlusCircleFilled.mjs +0 -15
  380. package/dist/node_modules/@ant-design/icons/es/icons/PlusOutlined.mjs +0 -15
  381. package/dist/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs +0 -15
  382. package/dist/node_modules/@ant-design/icons/es/icons/ReloadOutlined.mjs +0 -15
  383. package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.mjs +0 -15
  384. package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.mjs +0 -15
  385. package/dist/node_modules/@ant-design/icons/es/icons/SettingFilled.mjs +0 -15
  386. package/dist/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs +0 -15
  387. package/dist/node_modules/@ant-design/icons/es/icons/SwapRightOutlined.mjs +0 -15
  388. package/dist/node_modules/@ant-design/icons/es/icons/UploadOutlined.mjs +0 -15
  389. package/dist/node_modules/@ant-design/icons-svg/es/asn/AlignCenterOutlined.mjs +0 -5
  390. package/dist/node_modules/@ant-design/icons-svg/es/asn/AppstoreOutlined.mjs +0 -5
  391. package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.mjs +0 -5
  392. package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowRightOutlined.mjs +0 -5
  393. package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.mjs +0 -5
  394. package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.mjs +0 -5
  395. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.mjs +0 -5
  396. package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleOutlined.mjs +0 -5
  397. package/dist/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.mjs +0 -5
  398. package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.mjs +0 -5
  399. package/dist/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.mjs +0 -5
  400. package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.mjs +0 -5
  401. package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenExitOutlined.mjs +0 -5
  402. package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenOutlined.mjs +0 -5
  403. package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.mjs +0 -5
  404. package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.mjs +0 -5
  405. package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuFoldOutlined.mjs +0 -5
  406. package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuOutlined.mjs +0 -5
  407. package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuUnfoldOutlined.mjs +0 -5
  408. package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.mjs +0 -5
  409. package/dist/node_modules/@ant-design/icons-svg/es/asn/PauseCircleFilled.mjs +0 -5
  410. package/dist/node_modules/@ant-design/icons-svg/es/asn/PlayCircleFilled.mjs +0 -5
  411. package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusCircleFilled.mjs +0 -5
  412. package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.mjs +0 -5
  413. package/dist/node_modules/@ant-design/icons-svg/es/asn/RedoOutlined.mjs +0 -5
  414. package/dist/node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.mjs +0 -5
  415. package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.mjs +0 -5
  416. package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.mjs +0 -5
  417. package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingFilled.mjs +0 -5
  418. package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingOutlined.mjs +0 -5
  419. package/dist/node_modules/@ant-design/icons-svg/es/asn/SwapRightOutlined.mjs +0 -5
  420. package/dist/node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.mjs +0 -5
  421. package/dist/node_modules/@babel/code-frame/lib/index.mjs +0 -133
  422. package/dist/node_modules/@babel/helper-string-parser/lib/index.mjs +0 -218
  423. package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs +0 -46
  424. package/dist/node_modules/@babel/helper-validator-identifier/lib/index.mjs +0 -51
  425. package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs +0 -32
  426. package/dist/node_modules/@babel/highlight/lib/index.mjs +0 -128
  427. package/dist/node_modules/@babel/highlight/node_modules/ansi-styles/index.mjs +0 -116
  428. package/dist/node_modules/@babel/highlight/node_modules/chalk/index.mjs +0 -126
  429. package/dist/node_modules/@babel/highlight/node_modules/chalk/templates.mjs +0 -86
  430. package/dist/node_modules/@babel/highlight/node_modules/color-convert/conversions.mjs +0 -274
  431. package/dist/node_modules/@babel/highlight/node_modules/color-convert/index.mjs +0 -39
  432. package/dist/node_modules/@babel/highlight/node_modules/color-convert/route.mjs +0 -47
  433. package/dist/node_modules/@babel/highlight/node_modules/color-name/index.mjs +0 -156
  434. package/dist/node_modules/@babel/highlight/node_modules/supports-color/browser.mjs +0 -10
  435. package/dist/node_modules/@babel/types/lib/asserts/assertNode.mjs +0 -15
  436. package/dist/node_modules/@babel/types/lib/asserts/generated/index.mjs +0 -1231
  437. package/dist/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.mjs +0 -21
  438. package/dist/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.mjs +0 -37
  439. package/dist/node_modules/@babel/types/lib/builders/generated/index.mjs +0 -1741
  440. package/dist/node_modules/@babel/types/lib/builders/generated/uppercase.mjs +0 -1284
  441. package/dist/node_modules/@babel/types/lib/builders/productions.mjs +0 -18
  442. package/dist/node_modules/@babel/types/lib/builders/react/buildChildren.mjs +0 -29
  443. package/dist/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.mjs +0 -23
  444. package/dist/node_modules/@babel/types/lib/builders/validateNode.mjs +0 -22
  445. package/dist/node_modules/@babel/types/lib/clone/clone.mjs +0 -11
  446. package/dist/node_modules/@babel/types/lib/clone/cloneDeep.mjs +0 -11
  447. package/dist/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.mjs +0 -11
  448. package/dist/node_modules/@babel/types/lib/clone/cloneNode.mjs +0 -57
  449. package/dist/node_modules/@babel/types/lib/clone/cloneWithoutLoc.mjs +0 -11
  450. package/dist/node_modules/@babel/types/lib/comments/addComment.mjs +0 -14
  451. package/dist/node_modules/@babel/types/lib/comments/addComments.mjs +0 -11
  452. package/dist/node_modules/@babel/types/lib/comments/inheritInnerComments.mjs +0 -11
  453. package/dist/node_modules/@babel/types/lib/comments/inheritLeadingComments.mjs +0 -11
  454. package/dist/node_modules/@babel/types/lib/comments/inheritTrailingComments.mjs +0 -11
  455. package/dist/node_modules/@babel/types/lib/comments/inheritsComments.mjs +0 -15
  456. package/dist/node_modules/@babel/types/lib/comments/removeComments.mjs +0 -13
  457. package/dist/node_modules/@babel/types/lib/constants/generated/index.mjs +0 -60
  458. package/dist/node_modules/@babel/types/lib/constants/index.mjs +0 -25
  459. package/dist/node_modules/@babel/types/lib/converters/ensureBlock.mjs +0 -19
  460. package/dist/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.mjs +0 -59
  461. package/dist/node_modules/@babel/types/lib/converters/toBindingIdentifierName.mjs +0 -11
  462. package/dist/node_modules/@babel/types/lib/converters/toBlock.mjs +0 -23
  463. package/dist/node_modules/@babel/types/lib/converters/toComputedKey.mjs +0 -20
  464. package/dist/node_modules/@babel/types/lib/converters/toExpression.mjs +0 -16
  465. package/dist/node_modules/@babel/types/lib/converters/toIdentifier.mjs +0 -19
  466. package/dist/node_modules/@babel/types/lib/converters/toKeyAlias.mjs +0 -20
  467. package/dist/node_modules/@babel/types/lib/converters/toSequenceExpression.mjs +0 -25
  468. package/dist/node_modules/@babel/types/lib/converters/toStatement.mjs +0 -35
  469. package/dist/node_modules/@babel/types/lib/converters/valueToNode.mjs +0 -63
  470. package/dist/node_modules/@babel/types/lib/definitions/core.mjs +0 -1556
  471. package/dist/node_modules/@babel/types/lib/definitions/deprecated-aliases.mjs +0 -11
  472. package/dist/node_modules/@babel/types/lib/definitions/experimental.mjs +0 -130
  473. package/dist/node_modules/@babel/types/lib/definitions/flow.mjs +0 -433
  474. package/dist/node_modules/@babel/types/lib/definitions/index.mjs +0 -84
  475. package/dist/node_modules/@babel/types/lib/definitions/jsx.mjs +0 -151
  476. package/dist/node_modules/@babel/types/lib/definitions/misc.mjs +0 -35
  477. package/dist/node_modules/@babel/types/lib/definitions/placeholders.mjs +0 -28
  478. package/dist/node_modules/@babel/types/lib/definitions/typescript.mjs +0 -445
  479. package/dist/node_modules/@babel/types/lib/definitions/utils.mjs +0 -200
  480. package/dist/node_modules/@babel/types/lib/index.mjs +0 -569
  481. package/dist/node_modules/@babel/types/lib/modifications/appendToMemberExpression.mjs +0 -18
  482. package/dist/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.mjs +0 -44
  483. package/dist/node_modules/@babel/types/lib/modifications/inherits.mjs +0 -21
  484. package/dist/node_modules/@babel/types/lib/modifications/prependToMemberExpression.mjs +0 -21
  485. package/dist/node_modules/@babel/types/lib/modifications/removeProperties.mjs +0 -19
  486. package/dist/node_modules/@babel/types/lib/modifications/removePropertiesDeep.mjs +0 -13
  487. package/dist/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.mjs +0 -44
  488. package/dist/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.mjs +0 -40
  489. package/dist/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.mjs +0 -81
  490. package/dist/node_modules/@babel/types/lib/retrievers/getFunctionName.mjs +0 -37
  491. package/dist/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.mjs +0 -12
  492. package/dist/node_modules/@babel/types/lib/traverse/traverse.mjs +0 -41
  493. package/dist/node_modules/@babel/types/lib/traverse/traverseFast.mjs +0 -23
  494. package/dist/node_modules/@babel/types/lib/utils/deprecationWarning.mjs +0 -37
  495. package/dist/node_modules/@babel/types/lib/utils/inherit.mjs +0 -8
  496. package/dist/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.mjs +0 -29
  497. package/dist/node_modules/@babel/types/lib/utils/shallowEqual.mjs +0 -12
  498. package/dist/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.mjs +0 -12
  499. package/dist/node_modules/@babel/types/lib/validators/generated/index.mjs +0 -2300
  500. package/dist/node_modules/@babel/types/lib/validators/is.mjs +0 -22
  501. package/dist/node_modules/@babel/types/lib/validators/isBinding.mjs +0 -23
  502. package/dist/node_modules/@babel/types/lib/validators/isBlockScoped.mjs +0 -13
  503. package/dist/node_modules/@babel/types/lib/validators/isImmutable.mjs +0 -12
  504. package/dist/node_modules/@babel/types/lib/validators/isLet.mjs +0 -13
  505. package/dist/node_modules/@babel/types/lib/validators/isNode.mjs +0 -10
  506. package/dist/node_modules/@babel/types/lib/validators/isNodesEquivalent.mjs +0 -40
  507. package/dist/node_modules/@babel/types/lib/validators/isPlaceholderType.mjs +0 -26
  508. package/dist/node_modules/@babel/types/lib/validators/isReferenced.mjs +0 -75
  509. package/dist/node_modules/@babel/types/lib/validators/isScope.mjs +0 -11
  510. package/dist/node_modules/@babel/types/lib/validators/isSpecifierDefault.mjs +0 -13
  511. package/dist/node_modules/@babel/types/lib/validators/isType.mjs +0 -30
  512. package/dist/node_modules/@babel/types/lib/validators/isValidES3Identifier.mjs +0 -12
  513. package/dist/node_modules/@babel/types/lib/validators/isValidIdentifier.mjs +0 -11
  514. package/dist/node_modules/@babel/types/lib/validators/isVar.mjs +0 -15
  515. package/dist/node_modules/@babel/types/lib/validators/matchesPattern.mjs +0 -33
  516. package/dist/node_modules/@babel/types/lib/validators/react/isCompatTag.mjs +0 -8
  517. package/dist/node_modules/@babel/types/lib/validators/react/isReactComponent.mjs +0 -10
  518. package/dist/node_modules/@babel/types/lib/validators/validate.mjs +0 -33
  519. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/index.mjs +0 -525
  520. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/macro.mjs +0 -47
  521. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/shared/babel-plugin-lingui-macro.28bb9ad7.mjs +0 -336
  522. package/dist/node_modules/@lingui/conf/dist/index.mjs +0 -384
  523. package/dist/node_modules/@lingui/message-utils/dist/generateMessageId.mjs +0 -16
  524. package/dist/node_modules/@lingui/react/macro/index.mjs +0 -5
  525. package/dist/node_modules/ansi-styles/index.mjs +0 -112
  526. package/dist/node_modules/available-typed-arrays/index.mjs +0 -10
  527. package/dist/node_modules/babel-plugin-macros/dist/index.mjs +0 -233
  528. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/Explorer.mjs +0 -67
  529. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerBase.mjs +0 -87
  530. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerSync.mjs +0 -67
  531. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/cacheWrapper.mjs +0 -27
  532. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getDirectory.mjs +0 -26
  533. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getPropertyByPath.mjs +0 -16
  534. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/index.mjs +0 -72
  535. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/loaders.mjs +0 -46
  536. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/readFile.mjs +0 -49
  537. package/dist/node_modules/call-bind/callBound.mjs +0 -9
  538. package/dist/node_modules/call-bind/index.mjs +0 -27
  539. package/dist/node_modules/callsites/index.mjs +0 -17
  540. package/dist/node_modules/chalk/source/index.mjs +0 -131
  541. package/dist/node_modules/chalk/source/templates.mjs +0 -89
  542. package/dist/node_modules/chalk/source/util.mjs +0 -28
  543. package/dist/node_modules/color-convert/conversions.mjs +0 -308
  544. package/dist/node_modules/color-convert/index.mjs +0 -41
  545. package/dist/node_modules/color-convert/route.mjs +0 -53
  546. package/dist/node_modules/color-name/index.mjs +0 -156
  547. package/dist/node_modules/cosmiconfig/dist/Explorer.mjs +0 -91
  548. package/dist/node_modules/cosmiconfig/dist/ExplorerBase.mjs +0 -68
  549. package/dist/node_modules/cosmiconfig/dist/ExplorerSync.mjs +0 -105
  550. package/dist/node_modules/cosmiconfig/dist/index.mjs +0 -184
  551. package/dist/node_modules/cosmiconfig/dist/loaders.mjs +0 -103
  552. package/dist/node_modules/cosmiconfig/dist/types.mjs +0 -5
  553. package/dist/node_modules/cosmiconfig/dist/util.mjs +0 -24
  554. package/dist/node_modules/dayjs/dayjs.min.mjs +0 -297
  555. package/dist/node_modules/define-data-property/index.mjs +0 -33
  556. package/dist/node_modules/error-ex/index.mjs +0 -69
  557. package/dist/node_modules/es-define-property/index.mjs +0 -18
  558. package/dist/node_modules/es-errors/eval.mjs +0 -4
  559. package/dist/node_modules/es-errors/index.mjs +0 -4
  560. package/dist/node_modules/es-errors/range.mjs +0 -4
  561. package/dist/node_modules/es-errors/ref.mjs +0 -4
  562. package/dist/node_modules/es-errors/syntax.mjs +0 -4
  563. package/dist/node_modules/es-errors/type.mjs +0 -4
  564. package/dist/node_modules/es-errors/uri.mjs +0 -4
  565. package/dist/node_modules/escape-string-regexp/index.mjs +0 -15
  566. package/dist/node_modules/for-each/index.mjs +0 -19
  567. package/dist/node_modules/function-bind/implementation.mjs +0 -42
  568. package/dist/node_modules/function-bind/index.mjs +0 -5
  569. package/dist/node_modules/get-intrinsic/index.mjs +0 -240
  570. package/dist/node_modules/gopd/index.mjs +0 -12
  571. package/dist/node_modules/has-property-descriptors/index.mjs +0 -17
  572. package/dist/node_modules/has-proto/index.mjs +0 -9
  573. package/dist/node_modules/has-symbols/index.mjs +0 -7
  574. package/dist/node_modules/has-symbols/shams.mjs +0 -27
  575. package/dist/node_modules/has-tostringtag/shams.mjs +0 -7
  576. package/dist/node_modules/hasown/index.mjs +0 -5
  577. package/dist/node_modules/import-fresh/index.mjs +0 -27
  578. package/dist/node_modules/import-fresh/node_modules/resolve-from/index.mjs +0 -41
  579. package/dist/node_modules/inherits/inherits_browser.mjs +0 -22
  580. package/dist/node_modules/is-arguments/index.mjs +0 -14
  581. package/dist/node_modules/is-arrayish/index.mjs +0 -9
  582. package/dist/node_modules/is-callable/index.mjs +0 -70
  583. package/dist/node_modules/is-core-module/core.json.mjs +0 -443
  584. package/dist/node_modules/is-core-module/index.mjs +0 -40
  585. package/dist/node_modules/is-generator-function/index.mjs +0 -28
  586. package/dist/node_modules/is-typed-array/index.mjs +0 -7
  587. package/dist/node_modules/jest-get-type/build/index.mjs +0 -47
  588. package/dist/node_modules/jest-validate/build/condition.mjs +0 -25
  589. package/dist/node_modules/jest-validate/build/defaultConfig.mjs +0 -35
  590. package/dist/node_modules/jest-validate/build/deprecated.mjs +0 -16
  591. package/dist/node_modules/jest-validate/build/errors.mjs +0 -58
  592. package/dist/node_modules/jest-validate/build/index.mjs +0 -55
  593. package/dist/node_modules/jest-validate/build/utils.mjs +0 -84
  594. package/dist/node_modules/jest-validate/build/validate.mjs +0 -66
  595. package/dist/node_modules/jest-validate/build/validateCLIOptions.mjs +0 -87
  596. package/dist/node_modules/jest-validate/build/warnings.mjs +0 -34
  597. package/dist/node_modules/jest-validate/node_modules/ansi-styles/index.mjs +0 -110
  598. package/dist/node_modules/jest-validate/node_modules/camelcase/index.mjs +0 -30
  599. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/collections.mjs +0 -94
  600. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/index.mjs +0 -275
  601. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/AsymmetricMatcher.mjs +0 -50
  602. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMCollection.mjs +0 -42
  603. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMElement.mjs +0 -72
  604. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/Immutable.mjs +0 -119
  605. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactElement.mjs +0 -101
  606. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactTestComponent.mjs +0 -47
  607. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/escapeHTML.mjs +0 -16
  608. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/markup.mjs +0 -51
  609. package/dist/node_modules/jest-validate/node_modules/react-is/cjs/react-is.development.mjs +0 -103
  610. package/dist/node_modules/jest-validate/node_modules/react-is/cjs/react-is.production.min.mjs +0 -82
  611. package/dist/node_modules/jest-validate/node_modules/react-is/index.mjs +0 -10
  612. package/dist/node_modules/js-sha256/src/sha256.mjs +0 -257
  613. package/dist/node_modules/js-tokens/index.mjs +0 -13
  614. package/dist/node_modules/js-yaml/index.mjs +0 -53
  615. package/dist/node_modules/js-yaml/lib/common.mjs +0 -36
  616. package/dist/node_modules/js-yaml/lib/dumper.mjs +0 -306
  617. package/dist/node_modules/js-yaml/lib/exception.mjs +0 -21
  618. package/dist/node_modules/js-yaml/lib/loader.mjs +0 -448
  619. package/dist/node_modules/js-yaml/lib/schema/core.mjs +0 -8
  620. package/dist/node_modules/js-yaml/lib/schema/default.mjs +0 -25
  621. package/dist/node_modules/js-yaml/lib/schema/failsafe.mjs +0 -21
  622. package/dist/node_modules/js-yaml/lib/schema/json.mjs +0 -19
  623. package/dist/node_modules/js-yaml/lib/schema.mjs +0 -68
  624. package/dist/node_modules/js-yaml/lib/snippet.mjs +0 -53
  625. package/dist/node_modules/js-yaml/lib/type/binary.mjs +0 -46
  626. package/dist/node_modules/js-yaml/lib/type/bool.mjs +0 -41
  627. package/dist/node_modules/js-yaml/lib/type/float.mjs +0 -69
  628. package/dist/node_modules/js-yaml/lib/type/int.mjs +0 -113
  629. package/dist/node_modules/js-yaml/lib/type/map.mjs +0 -17
  630. package/dist/node_modules/js-yaml/lib/type/merge.mjs +0 -18
  631. package/dist/node_modules/js-yaml/lib/type/null.mjs +0 -47
  632. package/dist/node_modules/js-yaml/lib/type/omap.mjs +0 -41
  633. package/dist/node_modules/js-yaml/lib/type/pairs.mjs +0 -35
  634. package/dist/node_modules/js-yaml/lib/type/seq.mjs +0 -17
  635. package/dist/node_modules/js-yaml/lib/type/set.mjs +0 -28
  636. package/dist/node_modules/js-yaml/lib/type/str.mjs +0 -17
  637. package/dist/node_modules/js-yaml/lib/type/timestamp.mjs +0 -41
  638. package/dist/node_modules/js-yaml/lib/type.mjs +0 -46
  639. package/dist/node_modules/json-parse-even-better-errors/index.mjs +0 -72
  640. package/dist/node_modules/leven/index.mjs +0 -32
  641. package/dist/node_modules/lines-and-columns/build/index.mjs +0 -47
  642. package/dist/node_modules/lodash-es/_DataView.mjs +0 -7
  643. package/dist/node_modules/lodash-es/_Hash.mjs +0 -20
  644. package/dist/node_modules/lodash-es/_ListCache.mjs +0 -20
  645. package/dist/node_modules/lodash-es/_Map.mjs +0 -7
  646. package/dist/node_modules/lodash-es/_MapCache.mjs +0 -20
  647. package/dist/node_modules/lodash-es/_Promise.mjs +0 -7
  648. package/dist/node_modules/lodash-es/_Set.mjs +0 -7
  649. package/dist/node_modules/lodash-es/_SetCache.mjs +0 -13
  650. package/dist/node_modules/lodash-es/_Stack.mjs +0 -18
  651. package/dist/node_modules/lodash-es/_Symbol.mjs +0 -6
  652. package/dist/node_modules/lodash-es/_Uint8Array.mjs +0 -6
  653. package/dist/node_modules/lodash-es/_WeakMap.mjs +0 -7
  654. package/dist/node_modules/lodash-es/_apply.mjs +0 -16
  655. package/dist/node_modules/lodash-es/_arrayEach.mjs +0 -8
  656. package/dist/node_modules/lodash-es/_arrayFilter.mjs +0 -10
  657. package/dist/node_modules/lodash-es/_arrayIncludes.mjs +0 -8
  658. package/dist/node_modules/lodash-es/_arrayIncludesWith.mjs +0 -9
  659. package/dist/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -20
  660. package/dist/node_modules/lodash-es/_arrayMap.mjs +0 -8
  661. package/dist/node_modules/lodash-es/_arrayPush.mjs +0 -8
  662. package/dist/node_modules/lodash-es/_arraySome.mjs +0 -9
  663. package/dist/node_modules/lodash-es/_assignMergeValue.mjs +0 -8
  664. package/dist/node_modules/lodash-es/_assignValue.mjs +0 -10
  665. package/dist/node_modules/lodash-es/_assocIndexOf.mjs +0 -10
  666. package/dist/node_modules/lodash-es/_baseAssign.mjs +0 -8
  667. package/dist/node_modules/lodash-es/_baseAssignIn.mjs +0 -8
  668. package/dist/node_modules/lodash-es/_baseAssignValue.mjs +0 -12
  669. package/dist/node_modules/lodash-es/_baseAt.mjs +0 -9
  670. package/dist/node_modules/lodash-es/_baseClone.mjs +0 -65
  671. package/dist/node_modules/lodash-es/_baseCreate.mjs +0 -18
  672. package/dist/node_modules/lodash-es/_baseFindIndex.mjs +0 -9
  673. package/dist/node_modules/lodash-es/_baseFlatten.mjs +0 -13
  674. package/dist/node_modules/lodash-es/_baseFor.mjs +0 -6
  675. package/dist/node_modules/lodash-es/_baseForOwn.mjs +0 -8
  676. package/dist/node_modules/lodash-es/_baseGet.mjs +0 -11
  677. package/dist/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -9
  678. package/dist/node_modules/lodash-es/_baseGetTag.mjs +0 -10
  679. package/dist/node_modules/lodash-es/_baseHasIn.mjs +0 -6
  680. package/dist/node_modules/lodash-es/_baseIndexOf.mjs +0 -9
  681. package/dist/node_modules/lodash-es/_baseIsArguments.mjs +0 -9
  682. package/dist/node_modules/lodash-es/_baseIsEqual.mjs +0 -8
  683. package/dist/node_modules/lodash-es/_baseIsEqualDeep.mjs +0 -32
  684. package/dist/node_modules/lodash-es/_baseIsMap.mjs +0 -9
  685. package/dist/node_modules/lodash-es/_baseIsMatch.mjs +0 -31
  686. package/dist/node_modules/lodash-es/_baseIsNaN.mjs +0 -6
  687. package/dist/node_modules/lodash-es/_baseIsNative.mjs +0 -16
  688. package/dist/node_modules/lodash-es/_baseIsSet.mjs +0 -9
  689. package/dist/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -12
  690. package/dist/node_modules/lodash-es/_baseIteratee.mjs +0 -11
  691. package/dist/node_modules/lodash-es/_baseKeys.mjs +0 -14
  692. package/dist/node_modules/lodash-es/_baseKeysIn.mjs +0 -15
  693. package/dist/node_modules/lodash-es/_baseMatches.mjs +0 -12
  694. package/dist/node_modules/lodash-es/_baseMatchesProperty.mjs +0 -17
  695. package/dist/node_modules/lodash-es/_baseMerge.mjs +0 -20
  696. package/dist/node_modules/lodash-es/_baseMergeDeep.mjs +0 -31
  697. package/dist/node_modules/lodash-es/_baseProperty.mjs +0 -8
  698. package/dist/node_modules/lodash-es/_basePropertyDeep.mjs +0 -9
  699. package/dist/node_modules/lodash-es/_baseRest.mjs +0 -9
  700. package/dist/node_modules/lodash-es/_baseSetToString.mjs +0 -15
  701. package/dist/node_modules/lodash-es/_baseSlice.mjs +0 -10
  702. package/dist/node_modules/lodash-es/_baseTimes.mjs +0 -8
  703. package/dist/node_modules/lodash-es/_baseToString.mjs +0 -18
  704. package/dist/node_modules/lodash-es/_baseUnary.mjs +0 -8
  705. package/dist/node_modules/lodash-es/_baseUniq.mjs +0 -34
  706. package/dist/node_modules/lodash-es/_baseUnset.mjs +0 -10
  707. package/dist/node_modules/lodash-es/_cacheHas.mjs +0 -6
  708. package/dist/node_modules/lodash-es/_castPath.mjs +0 -10
  709. package/dist/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -8
  710. package/dist/node_modules/lodash-es/_cloneBuffer.mjs +0 -11
  711. package/dist/node_modules/lodash-es/_cloneDataView.mjs +0 -8
  712. package/dist/node_modules/lodash-es/_cloneRegExp.mjs +0 -8
  713. package/dist/node_modules/lodash-es/_cloneSymbol.mjs +0 -8
  714. package/dist/node_modules/lodash-es/_cloneTypedArray.mjs +0 -8
  715. package/dist/node_modules/lodash-es/_copyArray.mjs +0 -9
  716. package/dist/node_modules/lodash-es/_copyObject.mjs +0 -14
  717. package/dist/node_modules/lodash-es/_copySymbols.mjs +0 -8
  718. package/dist/node_modules/lodash-es/_copySymbolsIn.mjs +0 -8
  719. package/dist/node_modules/lodash-es/_coreJsData.mjs +0 -6
  720. package/dist/node_modules/lodash-es/_createAssigner.mjs +0 -15
  721. package/dist/node_modules/lodash-es/_createBaseFor.mjs +0 -13
  722. package/dist/node_modules/lodash-es/_createSet.mjs +0 -10
  723. package/dist/node_modules/lodash-es/_customOmitClone.mjs +0 -7
  724. package/dist/node_modules/lodash-es/_defineProperty.mjs +0 -12
  725. package/dist/node_modules/lodash-es/_equalArrays.mjs +0 -40
  726. package/dist/node_modules/lodash-es/_equalByTag.mjs +0 -45
  727. package/dist/node_modules/lodash-es/_equalObjects.mjs +0 -36
  728. package/dist/node_modules/lodash-es/_flatRest.mjs +0 -9
  729. package/dist/node_modules/lodash-es/_freeGlobal.mjs +0 -5
  730. package/dist/node_modules/lodash-es/_getAllKeys.mjs +0 -9
  731. package/dist/node_modules/lodash-es/_getAllKeysIn.mjs +0 -9
  732. package/dist/node_modules/lodash-es/_getMapData.mjs +0 -8
  733. package/dist/node_modules/lodash-es/_getMatchData.mjs +0 -12
  734. package/dist/node_modules/lodash-es/_getNative.mjs +0 -9
  735. package/dist/node_modules/lodash-es/_getPrototype.mjs +0 -6
  736. package/dist/node_modules/lodash-es/_getRawTag.mjs +0 -15
  737. package/dist/node_modules/lodash-es/_getSymbols.mjs +0 -11
  738. package/dist/node_modules/lodash-es/_getSymbolsIn.mjs +0 -13
  739. package/dist/node_modules/lodash-es/_getTag.mjs +0 -29
  740. package/dist/node_modules/lodash-es/_getValue.mjs +0 -6
  741. package/dist/node_modules/lodash-es/_hasPath.mjs +0 -19
  742. package/dist/node_modules/lodash-es/_hashClear.mjs +0 -7
  743. package/dist/node_modules/lodash-es/_hashDelete.mjs +0 -7
  744. package/dist/node_modules/lodash-es/_hashGet.mjs +0 -13
  745. package/dist/node_modules/lodash-es/_hashHas.mjs +0 -9
  746. package/dist/node_modules/lodash-es/_hashSet.mjs +0 -9
  747. package/dist/node_modules/lodash-es/_initCloneArray.mjs +0 -8
  748. package/dist/node_modules/lodash-es/_initCloneByTag.mjs +0 -42
  749. package/dist/node_modules/lodash-es/_initCloneObject.mjs +0 -9
  750. package/dist/node_modules/lodash-es/_isFlattenable.mjs +0 -10
  751. package/dist/node_modules/lodash-es/_isIndex.mjs +0 -8
  752. package/dist/node_modules/lodash-es/_isIterateeCall.mjs +0 -13
  753. package/dist/node_modules/lodash-es/_isKey.mjs +0 -12
  754. package/dist/node_modules/lodash-es/_isKeyable.mjs +0 -7
  755. package/dist/node_modules/lodash-es/_isMasked.mjs +0 -11
  756. package/dist/node_modules/lodash-es/_isPrototype.mjs +0 -8
  757. package/dist/node_modules/lodash-es/_isStrictComparable.mjs +0 -7
  758. package/dist/node_modules/lodash-es/_listCacheClear.mjs +0 -6
  759. package/dist/node_modules/lodash-es/_listCacheDelete.mjs +0 -12
  760. package/dist/node_modules/lodash-es/_listCacheGet.mjs +0 -8
  761. package/dist/node_modules/lodash-es/_listCacheHas.mjs +0 -7
  762. package/dist/node_modules/lodash-es/_listCacheSet.mjs +0 -8
  763. package/dist/node_modules/lodash-es/_mapCacheClear.mjs +0 -13
  764. package/dist/node_modules/lodash-es/_mapCacheDelete.mjs +0 -8
  765. package/dist/node_modules/lodash-es/_mapCacheGet.mjs +0 -7
  766. package/dist/node_modules/lodash-es/_mapCacheHas.mjs +0 -7
  767. package/dist/node_modules/lodash-es/_mapCacheSet.mjs +0 -8
  768. package/dist/node_modules/lodash-es/_mapToArray.mjs +0 -9
  769. package/dist/node_modules/lodash-es/_matchesStrictComparable.mjs +0 -8
  770. package/dist/node_modules/lodash-es/_memoizeCapped.mjs +0 -11
  771. package/dist/node_modules/lodash-es/_nativeCreate.mjs +0 -6
  772. package/dist/node_modules/lodash-es/_nativeKeys.mjs +0 -6
  773. package/dist/node_modules/lodash-es/_nativeKeysIn.mjs +0 -10
  774. package/dist/node_modules/lodash-es/_nodeUtil.mjs +0 -12
  775. package/dist/node_modules/lodash-es/_objectToString.mjs +0 -7
  776. package/dist/node_modules/lodash-es/_overArg.mjs +0 -8
  777. package/dist/node_modules/lodash-es/_overRest.mjs +0 -15
  778. package/dist/node_modules/lodash-es/_parent.mjs +0 -8
  779. package/dist/node_modules/lodash-es/_root.mjs +0 -6
  780. package/dist/node_modules/lodash-es/_safeGet.mjs +0 -7
  781. package/dist/node_modules/lodash-es/_setCacheAdd.mjs +0 -7
  782. package/dist/node_modules/lodash-es/_setCacheHas.mjs +0 -6
  783. package/dist/node_modules/lodash-es/_setToArray.mjs +0 -9
  784. package/dist/node_modules/lodash-es/_setToString.mjs +0 -7
  785. package/dist/node_modules/lodash-es/_shortOut.mjs +0 -16
  786. package/dist/node_modules/lodash-es/_stackClear.mjs +0 -7
  787. package/dist/node_modules/lodash-es/_stackDelete.mjs +0 -7
  788. package/dist/node_modules/lodash-es/_stackGet.mjs +0 -6
  789. package/dist/node_modules/lodash-es/_stackHas.mjs +0 -6
  790. package/dist/node_modules/lodash-es/_stackSet.mjs +0 -17
  791. package/dist/node_modules/lodash-es/_strictIndexOf.mjs +0 -9
  792. package/dist/node_modules/lodash-es/_stringToPath.mjs +0 -11
  793. package/dist/node_modules/lodash-es/_toKey.mjs +0 -11
  794. package/dist/node_modules/lodash-es/_toSource.mjs +0 -17
  795. package/dist/node_modules/lodash-es/at.mjs +0 -7
  796. package/dist/node_modules/lodash-es/constant.mjs +0 -8
  797. package/dist/node_modules/lodash-es/eq.mjs +0 -6
  798. package/dist/node_modules/lodash-es/flatten.mjs +0 -8
  799. package/dist/node_modules/lodash-es/get.mjs +0 -8
  800. package/dist/node_modules/lodash-es/hasIn.mjs +0 -8
  801. package/dist/node_modules/lodash-es/identity.mjs +0 -6
  802. package/dist/node_modules/lodash-es/isArguments.mjs +0 -11
  803. package/dist/node_modules/lodash-es/isArray.mjs +0 -5
  804. package/dist/node_modules/lodash-es/isArrayLike.mjs +0 -8
  805. package/dist/node_modules/lodash-es/isArrayLikeObject.mjs +0 -8
  806. package/dist/node_modules/lodash-es/isBoolean.mjs +0 -9
  807. package/dist/node_modules/lodash-es/isBuffer.mjs +0 -7
  808. package/dist/node_modules/lodash-es/isFunction.mjs +0 -12
  809. package/dist/node_modules/lodash-es/isLength.mjs +0 -7
  810. package/dist/node_modules/lodash-es/isMap.mjs +0 -8
  811. package/dist/node_modules/lodash-es/isObject.mjs +0 -7
  812. package/dist/node_modules/lodash-es/isObjectLike.mjs +0 -6
  813. package/dist/node_modules/lodash-es/isPlainObject.mjs +0 -16
  814. package/dist/node_modules/lodash-es/isSet.mjs +0 -8
  815. package/dist/node_modules/lodash-es/isSymbol.mjs +0 -9
  816. package/dist/node_modules/lodash-es/isTypedArray.mjs +0 -8
  817. package/dist/node_modules/lodash-es/keys.mjs +0 -9
  818. package/dist/node_modules/lodash-es/keysIn.mjs +0 -9
  819. package/dist/node_modules/lodash-es/last.mjs +0 -7
  820. package/dist/node_modules/lodash-es/mapValues.mjs +0 -12
  821. package/dist/node_modules/lodash-es/memoize.mjs +0 -18
  822. package/dist/node_modules/lodash-es/merge.mjs +0 -9
  823. package/dist/node_modules/lodash-es/noop.mjs +0 -5
  824. package/dist/node_modules/lodash-es/omit.mjs +0 -24
  825. package/dist/node_modules/lodash-es/property.mjs +0 -10
  826. package/dist/node_modules/lodash-es/stubArray.mjs +0 -6
  827. package/dist/node_modules/lodash-es/stubFalse.mjs +0 -6
  828. package/dist/node_modules/lodash-es/toPlainObject.mjs +0 -8
  829. package/dist/node_modules/lodash-es/toString.mjs +0 -7
  830. package/dist/node_modules/lodash-es/uniq.mjs +0 -7
  831. package/dist/node_modules/parent-module/index.mjs +0 -29
  832. package/dist/node_modules/parse-json/index.mjs +0 -42
  833. package/dist/node_modules/path-parse/index.mjs +0 -50
  834. package/dist/node_modules/path-type/index.mjs +0 -36
  835. package/dist/node_modules/picocolors/picocolors.browser.mjs +0 -14
  836. package/dist/node_modules/possible-typed-array-names/index.mjs +0 -16
  837. package/dist/node_modules/resolve/index.mjs +0 -12
  838. package/dist/node_modules/resolve/lib/async.mjs +0 -237
  839. package/dist/node_modules/resolve/lib/caller.mjs +0 -11
  840. package/dist/node_modules/resolve/lib/core.json.mjs +0 -437
  841. package/dist/node_modules/resolve/lib/core.mjs +0 -9
  842. package/dist/node_modules/resolve/lib/homedir.mjs +0 -8
  843. package/dist/node_modules/resolve/lib/is-core.mjs +0 -7
  844. package/dist/node_modules/resolve/lib/node-modules-paths.mjs +0 -29
  845. package/dist/node_modules/resolve/lib/normalize-options.mjs +0 -6
  846. package/dist/node_modules/resolve/lib/sync.mjs +0 -150
  847. package/dist/node_modules/set-function-length/index.mjs +0 -32
  848. package/dist/node_modules/supports-color/browser.mjs +0 -7
  849. package/dist/node_modules/to-fast-properties/index.mjs +0 -15
  850. package/dist/node_modules/typescript/lib/typescript.mjs +0 -158039
  851. package/dist/node_modules/util/support/isBufferBrowser.mjs +0 -6
  852. package/dist/node_modules/util/support/types.mjs +0 -189
  853. package/dist/node_modules/util/util.mjs +0 -399
  854. package/dist/node_modules/which-typed-array/index.mjs +0 -71
  855. package/dist/node_modules/yaml/browser/dist/PlainValue-b8036b75.mjs +0 -883
  856. package/dist/node_modules/yaml/browser/dist/Schema-e94716c8.mjs +0 -548
  857. package/dist/node_modules/yaml/browser/dist/index.mjs +0 -690
  858. package/dist/node_modules/yaml/browser/dist/parse-cst.mjs +0 -1141
  859. package/dist/node_modules/yaml/browser/dist/resolveSeq-492ab440.mjs +0 -1566
  860. package/dist/node_modules/yaml/browser/dist/warnings-df54cb69.mjs +0 -337
  861. package/dist/node_modules/yaml/browser/index.mjs +0 -8
@@ -1,1566 +0,0 @@
1
- import { e as ue, j as $, k as U, b as Y, c as W, p as Be, q as G, T as h, _ as I, a as se, o as ie, l as oe, m as fe, r as Ce, h as Re, g as k, C as z, Y as j, f as le, P as We, n as J } from "./PlainValue-b8036b75.mjs";
2
- function Je(a, r, s) {
3
- if (!s)
4
- return a;
5
- var i = s.replace(/[\s\S]^/gm, "$&".concat(r, "#"));
6
- return "#".concat(i, `
7
- `).concat(r).concat(a);
8
- }
9
- function H(a, r, s) {
10
- return s ? s.indexOf(`
11
- `) === -1 ? "".concat(a, " #").concat(s) : "".concat(a, `
12
- `) + s.replace(/^/gm, "".concat(r || "", "#")) : a;
13
- }
14
- var C = function a() {
15
- W(this, a);
16
- };
17
- function K(a, r, s) {
18
- if (Array.isArray(a))
19
- return a.map(function(n, t) {
20
- return K(n, String(t), s);
21
- });
22
- if (a && typeof a.toJSON == "function") {
23
- var i = s && s.anchors && s.anchors.get(a);
24
- i && (s.onCreate = function(n) {
25
- i.res = n, delete s.onCreate;
26
- });
27
- var e = a.toJSON(r, s);
28
- return i && s.onCreate && s.onCreate(e), e;
29
- }
30
- return (!s || !s.keep) && typeof a == "bigint" ? Number(a) : a;
31
- }
32
- var N = /* @__PURE__ */ function(a) {
33
- $(s, a);
34
- var r = U(s);
35
- function s(i) {
36
- var e;
37
- return W(this, s), e = r.call(this), e.value = i, e;
38
- }
39
- return Y(s, [{
40
- key: "toJSON",
41
- value: function(e, n) {
42
- return n && n.keep ? this.value : K(this.value, e, n);
43
- }
44
- }, {
45
- key: "toString",
46
- value: function() {
47
- return String(this.value);
48
- }
49
- }]), s;
50
- }(C);
51
- function Se(a, r, s) {
52
- for (var i = s, e = r.length - 1; e >= 0; --e) {
53
- var n = r[e];
54
- if (Number.isInteger(n) && n >= 0) {
55
- var t = [];
56
- t[n] = i, i = t;
57
- } else {
58
- var o = {};
59
- Object.defineProperty(o, n, {
60
- value: i,
61
- writable: !0,
62
- enumerable: !0,
63
- configurable: !0
64
- }), i = o;
65
- }
66
- }
67
- return a.createNode(i, !1);
68
- }
69
- var Ke = function(r) {
70
- return r == null || se(r) === "object" && r[Symbol.iterator]().next().done;
71
- }, R = /* @__PURE__ */ function(a) {
72
- $(s, a);
73
- var r = U(s);
74
- function s(i) {
75
- var e;
76
- return W(this, s), e = r.call(this), ue(Be(e), "items", []), e.schema = i, e;
77
- }
78
- return Y(s, [{
79
- key: "addIn",
80
- value: function(e, n) {
81
- if (Ke(e))
82
- this.add(n);
83
- else {
84
- var t = G(e), o = t[0], f = t.slice(1), u = this.get(o, !0);
85
- if (u instanceof s)
86
- u.addIn(f, n);
87
- else if (u === void 0 && this.schema)
88
- this.set(o, Se(this.schema, f, n));
89
- else
90
- throw new Error("Expected YAML collection at ".concat(o, ". Remaining path: ").concat(f));
91
- }
92
- }
93
- }, {
94
- key: "deleteIn",
95
- value: function(e) {
96
- var n = G(e), t = n[0], o = n.slice(1);
97
- if (o.length === 0)
98
- return this.delete(t);
99
- var f = this.get(t, !0);
100
- if (f instanceof s)
101
- return f.deleteIn(o);
102
- throw new Error("Expected YAML collection at ".concat(t, ". Remaining path: ").concat(o));
103
- }
104
- }, {
105
- key: "getIn",
106
- value: function(e, n) {
107
- var t = G(e), o = t[0], f = t.slice(1), u = this.get(o, !0);
108
- return f.length === 0 ? !n && u instanceof N ? u.value : u : u instanceof s ? u.getIn(f, n) : void 0;
109
- }
110
- }, {
111
- key: "hasAllNullValues",
112
- value: function() {
113
- return this.items.every(function(e) {
114
- if (!e || e.type !== "PAIR")
115
- return !1;
116
- var n = e.value;
117
- return n == null || n instanceof N && n.value == null && !n.commentBefore && !n.comment && !n.tag;
118
- });
119
- }
120
- }, {
121
- key: "hasIn",
122
- value: function(e) {
123
- var n = G(e), t = n[0], o = n.slice(1);
124
- if (o.length === 0)
125
- return this.has(t);
126
- var f = this.get(t, !0);
127
- return f instanceof s ? f.hasIn(o) : !1;
128
- }
129
- }, {
130
- key: "setIn",
131
- value: function(e, n) {
132
- var t = G(e), o = t[0], f = t.slice(1);
133
- if (f.length === 0)
134
- this.set(o, n);
135
- else {
136
- var u = this.get(o, !0);
137
- if (u instanceof s)
138
- u.setIn(f, n);
139
- else if (u === void 0 && this.schema)
140
- this.set(o, Se(this.schema, f, n));
141
- else
142
- throw new Error("Expected YAML collection at ".concat(o, ". Remaining path: ").concat(f));
143
- }
144
- }
145
- // overridden in implementations
146
- /* istanbul ignore next */
147
- }, {
148
- key: "toJSON",
149
- value: function() {
150
- return null;
151
- }
152
- }, {
153
- key: "toString",
154
- value: function(e, n, t, o) {
155
- var f = this, u = n.blockItem, l = n.flowChars, c = n.isMap, v = n.itemIndent, g = e, p = g.indent, d = g.indentStep, w = g.stringify, S = this.type === h.FLOW_MAP || this.type === h.FLOW_SEQ || e.inFlow;
156
- S && (v += d);
157
- var m = c && this.hasAllNullValues();
158
- e = Object.assign({}, e, {
159
- allNullValues: m,
160
- indent: v,
161
- inFlow: S,
162
- type: null
163
- });
164
- var A = !1, M = !1, O = this.items.reduce(function(P, L, Pe) {
165
- var ee;
166
- L && (!A && L.spaceBefore && P.push({
167
- type: "comment",
168
- str: ""
169
- }), L.commentBefore && L.commentBefore.match(/^.*$/gm).forEach(function(Fe) {
170
- P.push({
171
- type: "comment",
172
- str: "#".concat(Fe)
173
- });
174
- }), L.comment && (ee = L.comment), S && (!A && L.spaceBefore || L.commentBefore || L.comment || L.key && (L.key.commentBefore || L.key.comment) || L.value && (L.value.commentBefore || L.value.comment)) && (M = !0)), A = !1;
175
- var V = w(L, e, function() {
176
- return ee = null;
177
- }, function() {
178
- return A = !0;
179
- });
180
- return S && !M && V.includes(`
181
- `) && (M = !0), S && Pe < f.items.length - 1 && (V += ","), V = H(V, v, ee), A && (ee || S) && (A = !1), P.push({
182
- type: "item",
183
- str: V
184
- }), P;
185
- }, []), y;
186
- if (O.length === 0)
187
- y = l.start + l.end;
188
- else if (S) {
189
- var _ = l.start, T = l.end, F = O.map(function(P) {
190
- return P.str;
191
- });
192
- if (M || F.reduce(function(P, L) {
193
- return P + L.length + 2;
194
- }, 2) > s.maxFlowStringSingleLineLength) {
195
- y = _;
196
- var E = I(F), B;
197
- try {
198
- for (E.s(); !(B = E.n()).done; ) {
199
- var Z = B.value;
200
- y += Z ? `
201
- `.concat(d).concat(p).concat(Z) : `
202
- `;
203
- }
204
- } catch (P) {
205
- E.e(P);
206
- } finally {
207
- E.f();
208
- }
209
- y += `
210
- `.concat(p).concat(T);
211
- } else
212
- y = "".concat(_, " ").concat(F.join(" "), " ").concat(T);
213
- } else {
214
- var ye = O.map(u);
215
- y = ye.shift();
216
- var x = I(ye), me;
217
- try {
218
- for (x.s(); !(me = x.n()).done; ) {
219
- var we = me.value;
220
- y += we ? `
221
- `.concat(p).concat(we) : `
222
- `;
223
- }
224
- } catch (P) {
225
- x.e(P);
226
- } finally {
227
- x.f();
228
- }
229
- }
230
- return this.comment ? (y += `
231
- ` + this.comment.replace(/^/gm, "".concat(p, "#")), t && t()) : A && o && o(), y;
232
- }
233
- }]), s;
234
- }(C);
235
- ue(R, "maxFlowStringSingleLineLength", 60);
236
- function ne(a) {
237
- var r = a instanceof N ? a.value : a;
238
- return r && typeof r == "string" && (r = Number(r)), Number.isInteger(r) && r >= 0 ? r : null;
239
- }
240
- var X = /* @__PURE__ */ function(a) {
241
- $(s, a);
242
- var r = U(s);
243
- function s() {
244
- return W(this, s), r.apply(this, arguments);
245
- }
246
- return Y(s, [{
247
- key: "add",
248
- value: function(e) {
249
- this.items.push(e);
250
- }
251
- }, {
252
- key: "delete",
253
- value: function(e) {
254
- var n = ne(e);
255
- if (typeof n != "number")
256
- return !1;
257
- var t = this.items.splice(n, 1);
258
- return t.length > 0;
259
- }
260
- }, {
261
- key: "get",
262
- value: function(e, n) {
263
- var t = ne(e);
264
- if (typeof t == "number") {
265
- var o = this.items[t];
266
- return !n && o instanceof N ? o.value : o;
267
- }
268
- }
269
- }, {
270
- key: "has",
271
- value: function(e) {
272
- var n = ne(e);
273
- return typeof n == "number" && n < this.items.length;
274
- }
275
- }, {
276
- key: "set",
277
- value: function(e, n) {
278
- var t = ne(e);
279
- if (typeof t != "number")
280
- throw new Error("Expected a valid index, not ".concat(e, "."));
281
- this.items[t] = n;
282
- }
283
- }, {
284
- key: "toJSON",
285
- value: function(e, n) {
286
- var t = [];
287
- n && n.onCreate && n.onCreate(t);
288
- var o = 0, f = I(this.items), u;
289
- try {
290
- for (f.s(); !(u = f.n()).done; ) {
291
- var l = u.value;
292
- t.push(K(l, String(o++), n));
293
- }
294
- } catch (c) {
295
- f.e(c);
296
- } finally {
297
- f.f();
298
- }
299
- return t;
300
- }
301
- }, {
302
- key: "toString",
303
- value: function(e, n, t) {
304
- return e ? oe(fe(s.prototype), "toString", this).call(this, e, {
305
- blockItem: function(f) {
306
- return f.type === "comment" ? f.str : "- ".concat(f.str);
307
- },
308
- flowChars: {
309
- start: "[",
310
- end: "]"
311
- },
312
- isMap: !1,
313
- itemIndent: (e.indent || "") + " "
314
- }, n, t) : JSON.stringify(this);
315
- }
316
- }]), s;
317
- }(R), Qe = function(r, s, i) {
318
- return s === null ? "" : se(s) !== "object" ? String(s) : r instanceof C && i && i.doc ? r.toString({
319
- anchors: /* @__PURE__ */ Object.create(null),
320
- doc: i.doc,
321
- indent: "",
322
- indentStep: i.indentStep,
323
- inFlow: !0,
324
- inStringifyKey: !0,
325
- stringify: i.stringify
326
- }) : JSON.stringify(s);
327
- }, b = /* @__PURE__ */ function(a) {
328
- $(s, a);
329
- var r = U(s);
330
- function s(i) {
331
- var e, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
332
- return W(this, s), e = r.call(this), e.key = i, e.value = n, e.type = s.Type.PAIR, e;
333
- }
334
- return Y(s, [{
335
- key: "commentBefore",
336
- get: function() {
337
- return this.key instanceof C ? this.key.commentBefore : void 0;
338
- },
339
- set: function(e) {
340
- if (this.key == null && (this.key = new N(null)), this.key instanceof C)
341
- this.key.commentBefore = e;
342
- else {
343
- var n = "Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";
344
- throw new Error(n);
345
- }
346
- }
347
- }, {
348
- key: "addToJSMap",
349
- value: function(e, n) {
350
- var t = K(this.key, "", e);
351
- if (n instanceof Map) {
352
- var o = K(this.value, t, e);
353
- n.set(t, o);
354
- } else if (n instanceof Set)
355
- n.add(t);
356
- else {
357
- var f = Qe(this.key, t, e), u = K(this.value, f, e);
358
- f in n ? Object.defineProperty(n, f, {
359
- value: u,
360
- writable: !0,
361
- enumerable: !0,
362
- configurable: !0
363
- }) : n[f] = u;
364
- }
365
- return n;
366
- }
367
- }, {
368
- key: "toJSON",
369
- value: function(e, n) {
370
- var t = n && n.mapAsMap ? /* @__PURE__ */ new Map() : {};
371
- return this.addToJSMap(n, t);
372
- }
373
- }, {
374
- key: "toString",
375
- value: function(e, n, t) {
376
- if (!e || !e.doc)
377
- return JSON.stringify(this);
378
- var o = e.doc.options, f = o.indent, u = o.indentSeq, l = o.simpleKeys, c = this.key, v = this.value, g = c instanceof C && c.comment;
379
- if (l) {
380
- if (g)
381
- throw new Error("With simple keys, key nodes cannot have comments");
382
- if (c instanceof R) {
383
- var p = "With simple keys, collection cannot be used as a key value";
384
- throw new Error(p);
385
- }
386
- }
387
- var d = !l && (!c || g || (c instanceof C ? c instanceof R || c.type === h.BLOCK_FOLDED || c.type === h.BLOCK_LITERAL : se(c) === "object")), w = e, S = w.doc, m = w.indent, A = w.indentStep, M = w.stringify;
388
- e = Object.assign({}, e, {
389
- implicitKey: !d,
390
- indent: m + A
391
- });
392
- var O = !1, y = M(c, e, function() {
393
- return g = null;
394
- }, function() {
395
- return O = !0;
396
- });
397
- if (y = H(y, e.indent, g), !d && y.length > 1024) {
398
- if (l)
399
- throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
400
- d = !0;
401
- }
402
- if (e.allNullValues && !l)
403
- return this.comment ? (y = H(y, e.indent, this.comment), n && n()) : O && !g && t && t(), e.inFlow && !d ? y : "? ".concat(y);
404
- y = d ? "? ".concat(y, `
405
- `).concat(m, ":") : "".concat(y, ":"), this.comment && (y = H(y, e.indent, this.comment), n && n());
406
- var _ = "", T = null;
407
- if (v instanceof C) {
408
- if (v.spaceBefore && (_ = `
409
- `), v.commentBefore) {
410
- var F = v.commentBefore.replace(/^/gm, "".concat(e.indent, "#"));
411
- _ += `
412
- `.concat(F);
413
- }
414
- T = v.comment;
415
- } else
416
- v && se(v) === "object" && (v = S.schema.createNode(v, !0));
417
- e.implicitKey = !1, !d && !this.comment && v instanceof N && (e.indentAtStart = y.length + 1), O = !1, !u && f >= 2 && !e.inFlow && !d && v instanceof X && v.type !== h.FLOW_SEQ && !v.tag && !S.anchors.getName(v) && (e.indent = e.indent.substr(2));
418
- var E = M(v, e, function() {
419
- return T = null;
420
- }, function() {
421
- return O = !0;
422
- }), B = " ";
423
- if (_ || this.comment)
424
- B = "".concat(_, `
425
- `).concat(e.indent);
426
- else if (!d && v instanceof R) {
427
- var Z = E[0] === "[" || E[0] === "{";
428
- (!Z || E.includes(`
429
- `)) && (B = `
430
- `.concat(e.indent));
431
- } else
432
- E[0] === `
433
- ` && (B = "");
434
- return O && !T && t && t(), H(y + B + E, e.indent, T);
435
- }
436
- }]), s;
437
- }(C);
438
- ue(b, "Type", {
439
- PAIR: "PAIR",
440
- MERGE_PAIR: "MERGE_PAIR"
441
- });
442
- var De = function a(r, s) {
443
- if (r instanceof ce) {
444
- var i = s.get(r.source);
445
- return i.count * i.aliasCount;
446
- } else if (r instanceof R) {
447
- var e = 0, n = I(r.items), t;
448
- try {
449
- for (n.s(); !(t = n.n()).done; ) {
450
- var o = t.value, f = a(o, s);
451
- f > e && (e = f);
452
- }
453
- } catch (c) {
454
- n.e(c);
455
- } finally {
456
- n.f();
457
- }
458
- return e;
459
- } else if (r instanceof b) {
460
- var u = a(r.key, s), l = a(r.value, s);
461
- return Math.max(u, l);
462
- }
463
- return 1;
464
- }, ce = /* @__PURE__ */ function(a) {
465
- $(s, a);
466
- var r = U(s);
467
- function s(i) {
468
- var e;
469
- return W(this, s), e = r.call(this), e.source = i, e.type = h.ALIAS, e;
470
- }
471
- return Y(s, [{
472
- key: "tag",
473
- set: function(e) {
474
- throw new Error("Alias nodes cannot have tags");
475
- }
476
- }, {
477
- key: "toJSON",
478
- value: function(e, n) {
479
- if (!n)
480
- return K(this.source, e, n);
481
- var t = n.anchors, o = n.maxAliasCount, f = t.get(this.source);
482
- if (!f || f.res === void 0) {
483
- var u = "This should not happen: Alias anchor was not resolved?";
484
- throw this.cstNode ? new ie(this.cstNode, u) : new ReferenceError(u);
485
- }
486
- if (o >= 0 && (f.count += 1, f.aliasCount === 0 && (f.aliasCount = De(this.source, t)), f.count * f.aliasCount > o)) {
487
- var l = "Excessive alias count indicates a resource exhaustion attack";
488
- throw this.cstNode ? new ie(this.cstNode, l) : new ReferenceError(l);
489
- }
490
- return f.res;
491
- }
492
- // Only called when stringifying an alias mapping key while constructing
493
- // Object output.
494
- }, {
495
- key: "toString",
496
- value: function(e) {
497
- return s.stringify(this, e);
498
- }
499
- }], [{
500
- key: "stringify",
501
- value: function(e, n) {
502
- var t = e.range, o = e.source, f = n.anchors, u = n.doc, l = n.implicitKey, c = n.inStringifyKey, v = Object.keys(f).find(function(p) {
503
- return f[p] === o;
504
- });
505
- if (!v && c && (v = u.anchors.getName(o) || u.anchors.newName()), v)
506
- return "*".concat(v).concat(l ? " " : "");
507
- var g = u.anchors.getName(o) ? "Alias node must be after source node" : "Source node not found for alias node";
508
- throw new Error("".concat(g, " [").concat(t, "]"));
509
- }
510
- }]), s;
511
- }(C);
512
- ue(ce, "default", !0);
513
- function re(a, r) {
514
- var s = r instanceof N ? r.value : r, i = I(a), e;
515
- try {
516
- for (i.s(); !(e = i.n()).done; ) {
517
- var n = e.value;
518
- if (n instanceof b && (n.key === r || n.key === s || n.key && n.key.value === s))
519
- return n;
520
- }
521
- } catch (t) {
522
- i.e(t);
523
- } finally {
524
- i.f();
525
- }
526
- }
527
- var Oe = /* @__PURE__ */ function(a) {
528
- $(s, a);
529
- var r = U(s);
530
- function s() {
531
- return W(this, s), r.apply(this, arguments);
532
- }
533
- return Y(s, [{
534
- key: "add",
535
- value: function(e, n) {
536
- e ? e instanceof b || (e = new b(e.key || e, e.value)) : e = new b(e);
537
- var t = re(this.items, e.key), o = this.schema && this.schema.sortMapEntries;
538
- if (t)
539
- if (n)
540
- t.value = e.value;
541
- else
542
- throw new Error("Key ".concat(e.key, " already set"));
543
- else if (o) {
544
- var f = this.items.findIndex(function(u) {
545
- return o(e, u) < 0;
546
- });
547
- f === -1 ? this.items.push(e) : this.items.splice(f, 0, e);
548
- } else
549
- this.items.push(e);
550
- }
551
- }, {
552
- key: "delete",
553
- value: function(e) {
554
- var n = re(this.items, e);
555
- if (!n)
556
- return !1;
557
- var t = this.items.splice(this.items.indexOf(n), 1);
558
- return t.length > 0;
559
- }
560
- }, {
561
- key: "get",
562
- value: function(e, n) {
563
- var t = re(this.items, e), o = t && t.value;
564
- return !n && o instanceof N ? o.value : o;
565
- }
566
- }, {
567
- key: "has",
568
- value: function(e) {
569
- return !!re(this.items, e);
570
- }
571
- }, {
572
- key: "set",
573
- value: function(e, n) {
574
- this.add(new b(e, n), !0);
575
- }
576
- /**
577
- * @param {*} arg ignored
578
- * @param {*} ctx Conversion context, originally set in Document#toJSON()
579
- * @param {Class} Type If set, forces the returned collection type
580
- * @returns {*} Instance of Type, Map, or Object
581
- */
582
- }, {
583
- key: "toJSON",
584
- value: function(e, n, t) {
585
- var o = t ? new t() : n && n.mapAsMap ? /* @__PURE__ */ new Map() : {};
586
- n && n.onCreate && n.onCreate(o);
587
- var f = I(this.items), u;
588
- try {
589
- for (f.s(); !(u = f.n()).done; ) {
590
- var l = u.value;
591
- l.addToJSMap(n, o);
592
- }
593
- } catch (c) {
594
- f.e(c);
595
- } finally {
596
- f.f();
597
- }
598
- return o;
599
- }
600
- }, {
601
- key: "toString",
602
- value: function(e, n, t) {
603
- if (!e)
604
- return JSON.stringify(this);
605
- var o = I(this.items), f;
606
- try {
607
- for (o.s(); !(f = o.n()).done; ) {
608
- var u = f.value;
609
- if (!(u instanceof b))
610
- throw new Error("Map items must all be pairs; found ".concat(JSON.stringify(u), " instead"));
611
- }
612
- } catch (l) {
613
- o.e(l);
614
- } finally {
615
- o.f();
616
- }
617
- return oe(fe(s.prototype), "toString", this).call(this, e, {
618
- blockItem: function(c) {
619
- return c.str;
620
- },
621
- flowChars: {
622
- start: "{",
623
- end: "}"
624
- },
625
- isMap: !0,
626
- itemIndent: e.indent || ""
627
- }, n, t);
628
- }
629
- }]), s;
630
- }(R), Le = "<<", $e = /* @__PURE__ */ function(a) {
631
- $(s, a);
632
- var r = U(s);
633
- function s(i) {
634
- var e;
635
- if (W(this, s), i instanceof b) {
636
- var n = i.value;
637
- n instanceof X || (n = new X(), n.items.push(i.value), n.range = i.value.range), e = r.call(this, i.key, n), e.range = i.range;
638
- } else
639
- e = r.call(this, new N(Le), new X());
640
- return e.type = b.Type.MERGE_PAIR, Ce(e);
641
- }
642
- return Y(s, [{
643
- key: "addToJSMap",
644
- value: function(e, n) {
645
- var t = I(this.value.items), o;
646
- try {
647
- for (t.s(); !(o = t.n()).done; ) {
648
- var f = o.value.source;
649
- if (!(f instanceof Oe))
650
- throw new Error("Merge sources must be maps");
651
- var u = f.toJSON(null, e, Map), l = I(u), c;
652
- try {
653
- for (l.s(); !(c = l.n()).done; ) {
654
- var v = Re(c.value, 2), g = v[0], p = v[1];
655
- n instanceof Map ? n.has(g) || n.set(g, p) : n instanceof Set ? n.add(g) : Object.prototype.hasOwnProperty.call(n, g) || Object.defineProperty(n, g, {
656
- value: p,
657
- writable: !0,
658
- enumerable: !0,
659
- configurable: !0
660
- });
661
- }
662
- } catch (d) {
663
- l.e(d);
664
- } finally {
665
- l.f();
666
- }
667
- }
668
- } catch (d) {
669
- t.e(d);
670
- } finally {
671
- t.f();
672
- }
673
- return n;
674
- }
675
- }, {
676
- key: "toString",
677
- value: function(e, n) {
678
- var t = this.value;
679
- if (t.items.length > 1)
680
- return oe(fe(s.prototype), "toString", this).call(this, e, n);
681
- this.value = t.items[0];
682
- var o = oe(fe(s.prototype), "toString", this).call(this, e, n);
683
- return this.value = t, o;
684
- }
685
- }]), s;
686
- }(b), sn = {
687
- defaultType: h.BLOCK_LITERAL,
688
- lineWidth: 76
689
- }, on = {
690
- trueStr: "true",
691
- falseStr: "false"
692
- }, fn = {
693
- asBigInt: !1
694
- }, un = {
695
- nullStr: "null"
696
- }, q = {
697
- defaultType: h.PLAIN,
698
- doubleQuoted: {
699
- jsonEncoding: !1,
700
- minMultiLineLength: 40
701
- },
702
- fold: {
703
- lineWidth: 80,
704
- minContentWidth: 20
705
- }
706
- };
707
- function ge(a, r, s) {
708
- var i = I(r), e;
709
- try {
710
- for (i.s(); !(e = i.n()).done; ) {
711
- var n = e.value, t = n.format, o = n.test, f = n.resolve;
712
- if (o) {
713
- var u = a.match(o);
714
- if (u) {
715
- var l = f.apply(null, u);
716
- return l instanceof N || (l = new N(l)), t && (l.format = t), l;
717
- }
718
- }
719
- }
720
- } catch (c) {
721
- i.e(c);
722
- } finally {
723
- i.f();
724
- }
725
- return s && (a = s(a)), new N(a);
726
- }
727
- var Ee = "flow", pe = "block", te = "quoted", be = function(r, s) {
728
- for (var i = r[s + 1]; i === " " || i === " "; ) {
729
- do
730
- i = r[s += 1];
731
- while (i && i !== `
732
- `);
733
- i = r[s + 1];
734
- }
735
- return s;
736
- };
737
- function ve(a, r, s, i) {
738
- var e = i.indentAtStart, n = i.lineWidth, t = n === void 0 ? 80 : n, o = i.minContentWidth, f = o === void 0 ? 20 : o, u = i.onFold, l = i.onOverflow;
739
- if (!t || t < 0)
740
- return a;
741
- var c = Math.max(1 + f, 1 + t - r.length);
742
- if (a.length <= c)
743
- return a;
744
- var v = [], g = {}, p = t - r.length;
745
- typeof e == "number" && (e > t - Math.max(2, f) ? v.push(0) : p = t - e);
746
- var d = void 0, w = void 0, S = !1, m = -1, A = -1, M = -1;
747
- s === pe && (m = be(a, m), m !== -1 && (p = m + c));
748
- for (var O; O = a[m += 1]; ) {
749
- if (s === te && O === "\\") {
750
- switch (A = m, a[m + 1]) {
751
- case "x":
752
- m += 3;
753
- break;
754
- case "u":
755
- m += 5;
756
- break;
757
- case "U":
758
- m += 9;
759
- break;
760
- default:
761
- m += 1;
762
- }
763
- M = m;
764
- }
765
- if (O === `
766
- `)
767
- s === pe && (m = be(a, m)), p = m + c, d = void 0;
768
- else {
769
- if (O === " " && w && w !== " " && w !== `
770
- ` && w !== " ") {
771
- var y = a[m + 1];
772
- y && y !== " " && y !== `
773
- ` && y !== " " && (d = m);
774
- }
775
- if (m >= p)
776
- if (d)
777
- v.push(d), p = d + c, d = void 0;
778
- else if (s === te) {
779
- for (; w === " " || w === " "; )
780
- w = O, O = a[m += 1], S = !0;
781
- var _ = m > M + 1 ? m - 2 : A - 1;
782
- if (g[_])
783
- return a;
784
- v.push(_), g[_] = !0, p = _ + c, d = void 0;
785
- } else
786
- S = !0;
787
- }
788
- w = O;
789
- }
790
- if (S && l && l(), v.length === 0)
791
- return a;
792
- u && u();
793
- for (var T = a.slice(0, v[0]), F = 0; F < v.length; ++F) {
794
- var E = v[F], B = v[F + 1] || a.length;
795
- E === 0 ? T = `
796
- `.concat(r).concat(a.slice(0, B)) : (s === te && g[E] && (T += "".concat(a[E], "\\")), T += `
797
- `.concat(r).concat(a.slice(E + 1, B)));
798
- }
799
- return T;
800
- }
801
- var de = function(r) {
802
- var s = r.indentAtStart;
803
- return s ? Object.assign({
804
- indentAtStart: s
805
- }, q.fold) : q.fold;
806
- }, he = function(r) {
807
- return /^(%|---|\.\.\.)/m.test(r);
808
- };
809
- function Ue(a, r, s) {
810
- if (!r || r < 0)
811
- return !1;
812
- var i = r - s, e = a.length;
813
- if (e <= i)
814
- return !1;
815
- for (var n = 0, t = 0; n < e; ++n)
816
- if (a[n] === `
817
- `) {
818
- if (n - t > i)
819
- return !0;
820
- if (t = n + 1, e - t <= i)
821
- return !1;
822
- }
823
- return !0;
824
- }
825
- function Q(a, r) {
826
- var s = r.implicitKey, i = q.doubleQuoted, e = i.jsonEncoding, n = i.minMultiLineLength, t = JSON.stringify(a);
827
- if (e)
828
- return t;
829
- for (var o = r.indent || (he(a) ? " " : ""), f = "", u = 0, l = 0, c = t[l]; c; c = t[++l])
830
- if (c === " " && t[l + 1] === "\\" && t[l + 2] === "n" && (f += t.slice(u, l) + "\\ ", l += 1, u = l, c = "\\"), c === "\\")
831
- switch (t[l + 1]) {
832
- case "u":
833
- {
834
- f += t.slice(u, l);
835
- var v = t.substr(l + 2, 4);
836
- switch (v) {
837
- case "0000":
838
- f += "\\0";
839
- break;
840
- case "0007":
841
- f += "\\a";
842
- break;
843
- case "000b":
844
- f += "\\v";
845
- break;
846
- case "001b":
847
- f += "\\e";
848
- break;
849
- case "0085":
850
- f += "\\N";
851
- break;
852
- case "00a0":
853
- f += "\\_";
854
- break;
855
- case "2028":
856
- f += "\\L";
857
- break;
858
- case "2029":
859
- f += "\\P";
860
- break;
861
- default:
862
- v.substr(0, 2) === "00" ? f += "\\x" + v.substr(2) : f += t.substr(l, 6);
863
- }
864
- l += 5, u = l + 1;
865
- }
866
- break;
867
- case "n":
868
- if (s || t[l + 2] === '"' || t.length < n)
869
- l += 1;
870
- else {
871
- for (f += t.slice(u, l) + `
872
-
873
- `; t[l + 2] === "\\" && t[l + 3] === "n" && t[l + 4] !== '"'; )
874
- f += `
875
- `, l += 2;
876
- f += o, t[l + 2] === " " && (f += "\\"), l += 1, u = l + 1;
877
- }
878
- break;
879
- default:
880
- l += 1;
881
- }
882
- return f = u ? f + t.slice(u) : t, s ? f : ve(f, o, te, de(r));
883
- }
884
- function Ae(a, r) {
885
- if (r.implicitKey) {
886
- if (/\n/.test(a))
887
- return Q(a, r);
888
- } else if (/[ \t]\n|\n[ \t]/.test(a))
889
- return Q(a, r);
890
- var s = r.indent || (he(a) ? " " : ""), i = "'" + a.replace(/'/g, "''").replace(/\n+/g, `$&
891
- `.concat(s)) + "'";
892
- return r.implicitKey ? i : ve(i, s, Ee, de(r));
893
- }
894
- function ae(a, r, s, i) {
895
- var e = a.comment, n = a.type, t = a.value;
896
- if (/\n[\t ]+$/.test(t) || /^\s*$/.test(t))
897
- return Q(t, r);
898
- var o = r.indent || (r.forceBlockIndent || he(t) ? " " : ""), f = o ? "2" : "1", u = n === h.BLOCK_FOLDED ? !1 : n === h.BLOCK_LITERAL ? !0 : !Ue(t, q.fold.lineWidth, o.length), l = u ? "|" : ">";
899
- if (!t)
900
- return l + `
901
- `;
902
- var c = "", v = "";
903
- if (t = t.replace(/[\n\t ]*$/, function(p) {
904
- var d = p.indexOf(`
905
- `);
906
- return d === -1 ? l += "-" : (t === p || d !== p.length - 1) && (l += "+", i && i()), v = p.replace(/\n$/, ""), "";
907
- }).replace(/^[\n ]*/, function(p) {
908
- p.indexOf(" ") !== -1 && (l += f);
909
- var d = p.match(/ +$/);
910
- return d ? (c = p.slice(0, -d[0].length), d[0]) : (c = p, "");
911
- }), v && (v = v.replace(/\n+(?!\n|$)/g, "$&".concat(o))), c && (c = c.replace(/\n+/g, "$&".concat(o))), e && (l += " #" + e.replace(/ ?[\r\n]+/g, " "), s && s()), !t)
912
- return "".concat(l).concat(f, `
913
- `).concat(o).concat(v);
914
- if (u)
915
- return t = t.replace(/\n+/g, "$&".concat(o)), "".concat(l, `
916
- `).concat(o).concat(c).concat(t).concat(v);
917
- t = t.replace(/\n+/g, `
918
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, "$&".concat(o));
919
- var g = ve("".concat(c).concat(t).concat(v), o, pe, q.fold);
920
- return "".concat(l, `
921
- `).concat(o).concat(g);
922
- }
923
- function Ye(a, r, s, i) {
924
- var e = a.comment, n = a.type, t = a.value, o = r.actualString, f = r.implicitKey, u = r.indent, l = r.inFlow;
925
- if (f && /[\n[\]{},]/.test(t) || l && /[[\]{},]/.test(t))
926
- return Q(t, r);
927
- if (!t || /^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(t))
928
- return f || l || t.indexOf(`
929
- `) === -1 ? t.indexOf('"') !== -1 && t.indexOf("'") === -1 ? Ae(t, r) : Q(t, r) : ae(a, r, s, i);
930
- if (!f && !l && n !== h.PLAIN && t.indexOf(`
931
- `) !== -1)
932
- return ae(a, r, s, i);
933
- if (u === "" && he(t))
934
- return r.forceBlockIndent = !0, ae(a, r, s, i);
935
- var c = t.replace(/\n+/g, `$&
936
- `.concat(u));
937
- if (o) {
938
- var v = r.doc.schema.tags, g = ge(c, v, v.scalarFallback).value;
939
- if (typeof g != "string")
940
- return Q(t, r);
941
- }
942
- var p = f ? c : ve(c, u, Ee, de(r));
943
- return e && !l && (p.indexOf(`
944
- `) !== -1 || e.indexOf(`
945
- `) !== -1) ? (s && s(), Je(p, u, e)) : p;
946
- }
947
- function ln(a, r, s, i) {
948
- var e = q.defaultType, n = r.implicitKey, t = r.inFlow, o = a, f = o.type, u = o.value;
949
- typeof u != "string" && (u = String(u), a = Object.assign({}, a, {
950
- value: u
951
- }));
952
- var l = function(g) {
953
- switch (g) {
954
- case h.BLOCK_FOLDED:
955
- case h.BLOCK_LITERAL:
956
- return ae(a, r, s, i);
957
- case h.QUOTE_DOUBLE:
958
- return Q(u, r);
959
- case h.QUOTE_SINGLE:
960
- return Ae(u, r);
961
- case h.PLAIN:
962
- return Ye(a, r, s, i);
963
- default:
964
- return null;
965
- }
966
- };
967
- f !== h.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u) ? f = h.QUOTE_DOUBLE : (n || t) && (f === h.BLOCK_FOLDED || f === h.BLOCK_LITERAL) && (f = h.QUOTE_DOUBLE);
968
- var c = l(f);
969
- if (c === null && (c = l(e), c === null))
970
- throw new Error("Unsupported default string type ".concat(e));
971
- return c;
972
- }
973
- function cn(a) {
974
- var r = a.format, s = a.minFractionDigits, i = a.tag, e = a.value;
975
- if (typeof e == "bigint")
976
- return String(e);
977
- if (!isFinite(e))
978
- return isNaN(e) ? ".nan" : e < 0 ? "-.inf" : ".inf";
979
- var n = JSON.stringify(e);
980
- if (!r && s && (!i || i === "tag:yaml.org,2002:float") && /^\d/.test(n)) {
981
- var t = n.indexOf(".");
982
- t < 0 && (t = n.length, n += ".");
983
- for (var o = s - (n.length - t - 1); o-- > 0; )
984
- n += "0";
985
- }
986
- return n;
987
- }
988
- function Me(a, r) {
989
- var s, i;
990
- switch (r.type) {
991
- case h.FLOW_MAP:
992
- s = "}", i = "flow map";
993
- break;
994
- case h.FLOW_SEQ:
995
- s = "]", i = "flow sequence";
996
- break;
997
- default:
998
- a.push(new k(r, "Not a flow collection!?"));
999
- return;
1000
- }
1001
- for (var e, n = r.items.length - 1; n >= 0; --n) {
1002
- var t = r.items[n];
1003
- if (!t || t.type !== h.COMMENT) {
1004
- e = t;
1005
- break;
1006
- }
1007
- }
1008
- if (e && e.char !== s) {
1009
- var o = "Expected ".concat(i, " to end with ").concat(s), f;
1010
- typeof e.offset == "number" ? (f = new k(r, o), f.offset = e.offset + 1) : (f = new k(e, o), e.range && e.range.end && (f.offset = e.range.end - e.range.start)), a.push(f);
1011
- }
1012
- }
1013
- function Ne(a, r) {
1014
- var s = r.context.src[r.range.start - 1];
1015
- if (s !== `
1016
- ` && s !== " " && s !== " ") {
1017
- var i = "Comments must be separated from other tokens by white space characters";
1018
- a.push(new k(r, i));
1019
- }
1020
- }
1021
- function Ie(a, r) {
1022
- var s = String(r), i = s.substr(0, 8) + "..." + s.substr(-8);
1023
- return new k(a, 'The "'.concat(i, '" key is too long'));
1024
- }
1025
- function _e(a, r) {
1026
- var s = I(r), i;
1027
- try {
1028
- for (s.s(); !(i = s.n()).done; ) {
1029
- var e = i.value, n = e.afterKey, t = e.before, o = e.comment, f = a.items[t];
1030
- f ? (n && f.value && (f = f.value), o === void 0 ? (n || !f.commentBefore) && (f.spaceBefore = !0) : f.commentBefore ? f.commentBefore += `
1031
- ` + o : f.commentBefore = o) : o !== void 0 && (a.comment ? a.comment += `
1032
- ` + o : a.comment = o);
1033
- }
1034
- } catch (u) {
1035
- s.e(u);
1036
- } finally {
1037
- s.f();
1038
- }
1039
- }
1040
- function Te(a, r) {
1041
- var s = r.strValue;
1042
- return s ? typeof s == "string" ? s : (s.errors.forEach(function(i) {
1043
- i.source || (i.source = r), a.errors.push(i);
1044
- }), s.str) : "";
1045
- }
1046
- function qe(a, r) {
1047
- var s = r.tag, i = s.handle, e = s.suffix, n = a.tagPrefixes.find(function(f) {
1048
- return f.handle === i;
1049
- });
1050
- if (!n) {
1051
- var t = a.getDefaults().tagPrefixes;
1052
- if (t && (n = t.find(function(f) {
1053
- return f.handle === i;
1054
- })), !n)
1055
- throw new k(r, "The ".concat(i, " tag handle is non-default and was not declared."));
1056
- }
1057
- if (!e)
1058
- throw new k(r, "The ".concat(i, " tag has no suffix."));
1059
- if (i === "!" && (a.version || a.options.version) === "1.0") {
1060
- if (e[0] === "^")
1061
- return a.warnings.push(new le(r, "YAML 1.0 ^ tag expansion is not supported")), e;
1062
- if (/[:/]/.test(e)) {
1063
- var o = e.match(/^([a-z0-9-]+)\/(.*)/i);
1064
- return o ? "tag:".concat(o[1], ".yaml.org,2002:").concat(o[2]) : "tag:".concat(e);
1065
- }
1066
- }
1067
- return n.prefix + decodeURIComponent(e);
1068
- }
1069
- function je(a, r) {
1070
- var s = r.tag, i = r.type, e = !1;
1071
- if (s) {
1072
- var n = s.handle, t = s.suffix, o = s.verbatim;
1073
- if (o) {
1074
- if (o !== "!" && o !== "!!")
1075
- return o;
1076
- var f = "Verbatim tags aren't resolved, so ".concat(o, " is invalid.");
1077
- a.errors.push(new k(r, f));
1078
- } else if (n === "!" && !t)
1079
- e = !0;
1080
- else
1081
- try {
1082
- return qe(a, r);
1083
- } catch (u) {
1084
- a.errors.push(u);
1085
- }
1086
- }
1087
- switch (i) {
1088
- case h.BLOCK_FOLDED:
1089
- case h.BLOCK_LITERAL:
1090
- case h.QUOTE_DOUBLE:
1091
- case h.QUOTE_SINGLE:
1092
- return J.STR;
1093
- case h.FLOW_MAP:
1094
- case h.MAP:
1095
- return J.MAP;
1096
- case h.FLOW_SEQ:
1097
- case h.SEQ:
1098
- return J.SEQ;
1099
- case h.PLAIN:
1100
- return e ? J.STR : null;
1101
- default:
1102
- return null;
1103
- }
1104
- }
1105
- function ke(a, r, s) {
1106
- var i = a.schema.tags, e = [], n = I(i), t;
1107
- try {
1108
- for (n.s(); !(t = n.n()).done; ) {
1109
- var o = t.value;
1110
- if (o.tag === s)
1111
- if (o.test)
1112
- e.push(o);
1113
- else {
1114
- var f = o.resolve(a, r);
1115
- return f instanceof R ? f : new N(f);
1116
- }
1117
- }
1118
- } catch (l) {
1119
- n.e(l);
1120
- } finally {
1121
- n.f();
1122
- }
1123
- var u = Te(a, r);
1124
- return typeof u == "string" && e.length > 0 ? ge(u, e, i.scalarFallback) : null;
1125
- }
1126
- function Ve(a) {
1127
- var r = a.type;
1128
- switch (r) {
1129
- case h.FLOW_MAP:
1130
- case h.MAP:
1131
- return J.MAP;
1132
- case h.FLOW_SEQ:
1133
- case h.SEQ:
1134
- return J.SEQ;
1135
- default:
1136
- return J.STR;
1137
- }
1138
- }
1139
- function Ge(a, r, s) {
1140
- try {
1141
- var i = ke(a, r, s);
1142
- if (i)
1143
- return s && r.tag && (i.tag = s), i;
1144
- } catch (f) {
1145
- return f.source || (f.source = r), a.errors.push(f), null;
1146
- }
1147
- try {
1148
- var e = Ve(r);
1149
- if (!e)
1150
- throw new Error("The tag ".concat(s, " is unavailable"));
1151
- var n = "The tag ".concat(s, " is unavailable, falling back to ").concat(e);
1152
- a.warnings.push(new le(r, n));
1153
- var t = ke(a, r, e);
1154
- return t.tag = s, t;
1155
- } catch (f) {
1156
- var o = new ie(r, f.message);
1157
- return o.stack = f.stack, a.errors.push(o), null;
1158
- }
1159
- }
1160
- var He = function(r) {
1161
- if (!r)
1162
- return !1;
1163
- var s = r.type;
1164
- return s === h.MAP_KEY || s === h.MAP_VALUE || s === h.SEQ_ITEM;
1165
- };
1166
- function ze(a, r) {
1167
- var s = {
1168
- before: [],
1169
- after: []
1170
- }, i = !1, e = !1, n = He(r.context.parent) ? r.context.parent.props.concat(r.props) : r.props, t = I(n), o;
1171
- try {
1172
- for (t.s(); !(o = t.n()).done; ) {
1173
- var f = o.value, u = f.start, l = f.end;
1174
- switch (r.context.src[u]) {
1175
- case z.COMMENT: {
1176
- if (!r.commentHasRequiredWhitespace(u)) {
1177
- var c = "Comments must be separated from other tokens by white space characters";
1178
- a.push(new k(r, c));
1179
- }
1180
- var v = r.header, g = r.valueRange, p = g && (u > g.start || v && u > v.start) ? s.after : s.before;
1181
- p.push(r.context.src.slice(u + 1, l));
1182
- break;
1183
- }
1184
- case z.ANCHOR:
1185
- if (i) {
1186
- var d = "A node can have at most one anchor";
1187
- a.push(new k(r, d));
1188
- }
1189
- i = !0;
1190
- break;
1191
- case z.TAG:
1192
- if (e) {
1193
- var w = "A node can have at most one tag";
1194
- a.push(new k(r, w));
1195
- }
1196
- e = !0;
1197
- break;
1198
- }
1199
- }
1200
- } catch (S) {
1201
- t.e(S);
1202
- } finally {
1203
- t.f();
1204
- }
1205
- return {
1206
- comments: s,
1207
- hasAnchor: i,
1208
- hasTag: e
1209
- };
1210
- }
1211
- function Xe(a, r) {
1212
- var s = a.anchors, i = a.errors, e = a.schema;
1213
- if (r.type === h.ALIAS) {
1214
- var n = r.rawValue, t = s.getNode(n);
1215
- if (!t) {
1216
- var o = "Aliased anchor not found: ".concat(n);
1217
- return i.push(new ie(r, o)), null;
1218
- }
1219
- var f = new ce(t);
1220
- return s._cstAliases.push(f), f;
1221
- }
1222
- var u = je(a, r);
1223
- if (u)
1224
- return Ge(a, r, u);
1225
- if (r.type !== h.PLAIN) {
1226
- var l = "Failed to resolve ".concat(r.type, " node here");
1227
- return i.push(new j(r, l)), null;
1228
- }
1229
- try {
1230
- var c = Te(a, r);
1231
- return ge(c, e.tags, e.tags.scalarFallback);
1232
- } catch (v) {
1233
- return v.source || (v.source = r), i.push(v), null;
1234
- }
1235
- }
1236
- function D(a, r) {
1237
- if (!r)
1238
- return null;
1239
- r.error && a.errors.push(r.error);
1240
- var s = ze(a.errors, r), i = s.comments, e = s.hasAnchor, n = s.hasTag;
1241
- if (e) {
1242
- var t = a.anchors, o = r.anchor, f = t.getNode(o);
1243
- f && (t.map[t.newName(o)] = f), t.map[o] = r;
1244
- }
1245
- if (r.type === h.ALIAS && (e || n)) {
1246
- var u = "An alias node must not specify any properties";
1247
- a.errors.push(new k(r, u));
1248
- }
1249
- var l = Xe(a, r);
1250
- if (l) {
1251
- l.range = [r.range.start, r.range.end], a.options.keepCstNodes && (l.cstNode = r), a.options.keepNodeTypes && (l.type = r.type);
1252
- var c = i.before.join(`
1253
- `);
1254
- c && (l.commentBefore = l.commentBefore ? "".concat(l.commentBefore, `
1255
- `).concat(c) : c);
1256
- var v = i.after.join(`
1257
- `);
1258
- v && (l.comment = l.comment ? "".concat(l.comment, `
1259
- `).concat(v) : v);
1260
- }
1261
- return r.resolved = l;
1262
- }
1263
- function vn(a, r) {
1264
- if (r.type !== h.MAP && r.type !== h.FLOW_MAP) {
1265
- var s = "A ".concat(r.type, " node cannot be resolved as a mapping");
1266
- return a.errors.push(new j(r, s)), null;
1267
- }
1268
- var i = r.type === h.FLOW_MAP ? nn(a, r) : en(a, r), e = i.comments, n = i.items, t = new Oe();
1269
- t.items = n, _e(t, e);
1270
- for (var o = !1, f = 0; f < n.length; ++f) {
1271
- var u = n[f].key;
1272
- if (u instanceof R && (o = !0), a.schema.merge && u && u.value === Le) {
1273
- n[f] = new $e(n[f]);
1274
- var l = n[f].value.items, c = null;
1275
- l.some(function(w) {
1276
- if (w instanceof ce) {
1277
- var S = w.source.type;
1278
- return S === h.MAP || S === h.FLOW_MAP ? !1 : c = "Merge nodes aliases can only point to maps";
1279
- }
1280
- return c = "Merge nodes can only have Alias nodes as values";
1281
- }), c && a.errors.push(new k(r, c));
1282
- } else
1283
- for (var v = f + 1; v < n.length; ++v) {
1284
- var g = n[v].key;
1285
- if (u === g || u && g && Object.prototype.hasOwnProperty.call(u, "value") && u.value === g.value) {
1286
- var p = 'Map keys must be unique; "'.concat(u, '" is repeated');
1287
- a.errors.push(new k(r, p));
1288
- break;
1289
- }
1290
- }
1291
- }
1292
- if (o && !a.options.mapAsMap) {
1293
- var d = "Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";
1294
- a.warnings.push(new le(r, d));
1295
- }
1296
- return r.resolved = t, t;
1297
- }
1298
- var Ze = function(r) {
1299
- var s = r.context, i = s.lineStart, e = s.node, n = s.src, t = r.props;
1300
- if (t.length === 0)
1301
- return !1;
1302
- var o = t[0].start;
1303
- if (e && o > e.valueRange.start || n[o] !== z.COMMENT)
1304
- return !1;
1305
- for (var f = i; f < o; ++f)
1306
- if (n[f] === `
1307
- `)
1308
- return !1;
1309
- return !0;
1310
- };
1311
- function xe(a, r) {
1312
- if (Ze(a)) {
1313
- var s = a.getPropValue(0, z.COMMENT, !0), i = !1, e = r.value.commentBefore;
1314
- if (e && e.startsWith(s))
1315
- r.value.commentBefore = e.substr(s.length + 1), i = !0;
1316
- else {
1317
- var n = r.value.comment;
1318
- !a.node && n && n.startsWith(s) && (r.value.comment = n.substr(s.length + 1), i = !0);
1319
- }
1320
- i && (r.comment = s);
1321
- }
1322
- }
1323
- function en(a, r) {
1324
- for (var s = [], i = [], e = void 0, n = null, t = 0; t < r.items.length; ++t) {
1325
- var o = r.items[t];
1326
- switch (o.type) {
1327
- case h.BLANK_LINE:
1328
- s.push({
1329
- afterKey: !!e,
1330
- before: i.length
1331
- });
1332
- break;
1333
- case h.COMMENT:
1334
- s.push({
1335
- afterKey: !!e,
1336
- before: i.length,
1337
- comment: o.comment
1338
- });
1339
- break;
1340
- case h.MAP_KEY:
1341
- e !== void 0 && i.push(new b(e)), o.error && a.errors.push(o.error), e = D(a, o.node), n = null;
1342
- break;
1343
- case h.MAP_VALUE:
1344
- {
1345
- if (e === void 0 && (e = null), o.error && a.errors.push(o.error), !o.context.atLineStart && o.node && o.node.type === h.MAP && !o.node.context.atLineStart) {
1346
- var f = "Nested mappings are not allowed in compact mappings";
1347
- a.errors.push(new k(o.node, f));
1348
- }
1349
- var u = o.node;
1350
- if (!u && o.props.length > 0) {
1351
- u = new We(h.PLAIN, []), u.context = {
1352
- parent: o,
1353
- src: o.context.src
1354
- };
1355
- var l = o.range.start + 1;
1356
- if (u.range = {
1357
- start: l,
1358
- end: l
1359
- }, u.valueRange = {
1360
- start: l,
1361
- end: l
1362
- }, typeof o.range.origStart == "number") {
1363
- var c = o.range.origStart + 1;
1364
- u.range.origStart = u.range.origEnd = c, u.valueRange.origStart = u.valueRange.origEnd = c;
1365
- }
1366
- }
1367
- var v = new b(e, D(a, u));
1368
- xe(o, v), i.push(v), e && typeof n == "number" && o.range.start > n + 1024 && a.errors.push(Ie(r, e)), e = void 0, n = null;
1369
- }
1370
- break;
1371
- default:
1372
- e !== void 0 && i.push(new b(e)), e = D(a, o), n = o.range.start, o.error && a.errors.push(o.error);
1373
- e:
1374
- for (var g = t + 1; ; ++g) {
1375
- var p = r.items[g];
1376
- switch (p && p.type) {
1377
- case h.BLANK_LINE:
1378
- case h.COMMENT:
1379
- continue e;
1380
- case h.MAP_VALUE:
1381
- break e;
1382
- default: {
1383
- var d = "Implicit map keys need to be followed by map values";
1384
- a.errors.push(new k(o, d));
1385
- break e;
1386
- }
1387
- }
1388
- }
1389
- if (o.valueRangeContainsNewline) {
1390
- var w = "Implicit map keys need to be on a single line";
1391
- a.errors.push(new k(o, w));
1392
- }
1393
- }
1394
- }
1395
- return e !== void 0 && i.push(new b(e)), {
1396
- comments: s,
1397
- items: i
1398
- };
1399
- }
1400
- function nn(a, r) {
1401
- for (var s = [], i = [], e = void 0, n = !1, t = "{", o = 0; o < r.items.length; ++o) {
1402
- var f = r.items[o];
1403
- if (typeof f.char == "string") {
1404
- var u = f.char, l = f.offset;
1405
- if (u === "?" && e === void 0 && !n) {
1406
- n = !0, t = ":";
1407
- continue;
1408
- }
1409
- if (u === ":") {
1410
- if (e === void 0 && (e = null), t === ":") {
1411
- t = ",";
1412
- continue;
1413
- }
1414
- } else if (n && (e === void 0 && u !== "," && (e = null), n = !1), e !== void 0 && (i.push(new b(e)), e = void 0, u === ",")) {
1415
- t = ":";
1416
- continue;
1417
- }
1418
- if (u === "}") {
1419
- if (o === r.items.length - 1)
1420
- continue;
1421
- } else if (u === t) {
1422
- t = ":";
1423
- continue;
1424
- }
1425
- var c = "Flow map contains an unexpected ".concat(u), v = new j(r, c);
1426
- v.offset = l, a.errors.push(v);
1427
- } else
1428
- f.type === h.BLANK_LINE ? s.push({
1429
- afterKey: !!e,
1430
- before: i.length
1431
- }) : f.type === h.COMMENT ? (Ne(a.errors, f), s.push({
1432
- afterKey: !!e,
1433
- before: i.length,
1434
- comment: f.comment
1435
- })) : e === void 0 ? (t === "," && a.errors.push(new k(f, "Separator , missing in flow map")), e = D(a, f)) : (t !== "," && a.errors.push(new k(f, "Indicator : missing in flow map entry")), i.push(new b(e, D(a, f))), e = void 0, n = !1);
1436
- }
1437
- return Me(a.errors, r), e !== void 0 && i.push(new b(e)), {
1438
- comments: s,
1439
- items: i
1440
- };
1441
- }
1442
- function hn(a, r) {
1443
- if (r.type !== h.SEQ && r.type !== h.FLOW_SEQ) {
1444
- var s = "A ".concat(r.type, " node cannot be resolved as a sequence");
1445
- return a.errors.push(new j(r, s)), null;
1446
- }
1447
- var i = r.type === h.FLOW_SEQ ? tn(a, r) : rn(a, r), e = i.comments, n = i.items, t = new X();
1448
- if (t.items = n, _e(t, e), !a.options.mapAsMap && n.some(function(f) {
1449
- return f instanceof b && f.key instanceof R;
1450
- })) {
1451
- var o = "Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";
1452
- a.warnings.push(new le(r, o));
1453
- }
1454
- return r.resolved = t, t;
1455
- }
1456
- function rn(a, r) {
1457
- for (var s = [], i = [], e = 0; e < r.items.length; ++e) {
1458
- var n = r.items[e];
1459
- switch (n.type) {
1460
- case h.BLANK_LINE:
1461
- s.push({
1462
- before: i.length
1463
- });
1464
- break;
1465
- case h.COMMENT:
1466
- s.push({
1467
- comment: n.comment,
1468
- before: i.length
1469
- });
1470
- break;
1471
- case h.SEQ_ITEM:
1472
- if (n.error && a.errors.push(n.error), i.push(D(a, n.node)), n.hasProps) {
1473
- var t = "Sequence items cannot have tags or anchors before the - indicator";
1474
- a.errors.push(new k(n, t));
1475
- }
1476
- break;
1477
- default:
1478
- n.error && a.errors.push(n.error), a.errors.push(new j(n, "Unexpected ".concat(n.type, " node in sequence")));
1479
- }
1480
- }
1481
- return {
1482
- comments: s,
1483
- items: i
1484
- };
1485
- }
1486
- function tn(a, r) {
1487
- for (var s = [], i = [], e = !1, n = void 0, t = null, o = "[", f = null, u = 0; u < r.items.length; ++u) {
1488
- var l = r.items[u];
1489
- if (typeof l.char == "string") {
1490
- var c = l.char, v = l.offset;
1491
- if (c !== ":" && (e || n !== void 0) && (e && n === void 0 && (n = o ? i.pop() : null), i.push(new b(n)), e = !1, n = void 0, t = null), c === o)
1492
- o = null;
1493
- else if (!o && c === "?")
1494
- e = !0;
1495
- else if (o !== "[" && c === ":" && n === void 0) {
1496
- if (o === ",") {
1497
- if (n = i.pop(), n instanceof b) {
1498
- var g = "Chaining flow sequence pairs is invalid", p = new k(r, g);
1499
- p.offset = v, a.errors.push(p);
1500
- }
1501
- if (!e && typeof t == "number") {
1502
- var d = l.range ? l.range.start : l.offset;
1503
- d > t + 1024 && a.errors.push(Ie(r, n));
1504
- for (var w = f.context.src, S = t; S < d; ++S)
1505
- if (w[S] === `
1506
- `) {
1507
- var m = "Implicit keys of flow sequence pairs need to be on a single line";
1508
- a.errors.push(new k(f, m));
1509
- break;
1510
- }
1511
- }
1512
- } else
1513
- n = null;
1514
- t = null, e = !1, o = null;
1515
- } else if (o === "[" || c !== "]" || u < r.items.length - 1) {
1516
- var A = "Flow sequence contains an unexpected ".concat(c), M = new j(r, A);
1517
- M.offset = v, a.errors.push(M);
1518
- }
1519
- } else if (l.type === h.BLANK_LINE)
1520
- s.push({
1521
- before: i.length
1522
- });
1523
- else if (l.type === h.COMMENT)
1524
- Ne(a.errors, l), s.push({
1525
- comment: l.comment,
1526
- before: i.length
1527
- });
1528
- else {
1529
- if (o) {
1530
- var O = "Expected a ".concat(o, " in flow sequence");
1531
- a.errors.push(new k(l, O));
1532
- }
1533
- var y = D(a, l);
1534
- n === void 0 ? (i.push(y), f = l) : (i.push(new b(n, y)), n = void 0), t = l.range.start, o = ",";
1535
- }
1536
- }
1537
- return Me(a.errors, r), n !== void 0 && i.push(new b(n)), {
1538
- comments: s,
1539
- items: i
1540
- };
1541
- }
1542
- export {
1543
- ce as A,
1544
- R as C,
1545
- $e as M,
1546
- C as N,
1547
- b as P,
1548
- N as S,
1549
- X as Y,
1550
- on as a,
1551
- sn as b,
1552
- ln as c,
1553
- Oe as d,
1554
- Ke as e,
1555
- H as f,
1556
- vn as g,
1557
- hn as h,
1558
- fn as i,
1559
- Te as j,
1560
- cn as k,
1561
- re as l,
1562
- un as n,
1563
- D as r,
1564
- q as s,
1565
- K as t
1566
- };