@blogmcp/sdk 0.1.0

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 (340) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  2. package/dist/_virtual/constants.js +4 -0
  3. package/dist/_virtual/index.js +2 -0
  4. package/dist/_virtual/index2.js +4 -0
  5. package/dist/_virtual/index3.js +2 -0
  6. package/dist/_virtual/re.js +4 -0
  7. package/dist/core/article-seo.d.ts +27 -0
  8. package/dist/core/article-seo.js +25 -0
  9. package/dist/core/auth.d.ts +34 -0
  10. package/dist/core/auth.js +89 -0
  11. package/dist/core/blog-config.d.ts +5 -0
  12. package/dist/core/blog-config.js +14 -0
  13. package/dist/core/client-types.d.ts +51 -0
  14. package/dist/core/client.d.ts +159 -0
  15. package/dist/core/client.js +82 -0
  16. package/dist/core/i18n.d.ts +29 -0
  17. package/dist/core/i18n.js +34 -0
  18. package/dist/core/index.d.ts +26 -0
  19. package/dist/core/index.js +67 -0
  20. package/dist/core/markdown.d.ts +69 -0
  21. package/dist/core/markdown.js +47 -0
  22. package/dist/core/navigation.d.ts +70 -0
  23. package/dist/core/navigation.js +71 -0
  24. package/dist/core/queries.d.ts +34 -0
  25. package/dist/core/queries.js +363 -0
  26. package/dist/core/retry.d.ts +9 -0
  27. package/dist/core/retry.js +14 -0
  28. package/dist/core/seo.d.ts +142 -0
  29. package/dist/core/seo.js +166 -0
  30. package/dist/core/theme.d.ts +41 -0
  31. package/dist/core/theme.js +60 -0
  32. package/dist/core/translations/cs.json.js +27 -0
  33. package/dist/core/translations/en.json.js +27 -0
  34. package/dist/core/types.d.ts +184 -0
  35. package/dist/core/types.js +9 -0
  36. package/dist/core/view-model.d.ts +53 -0
  37. package/dist/core/view-model.js +47 -0
  38. package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +8 -0
  39. package/dist/node_modules/@braintree/sanitize-url/dist/index.js +60 -0
  40. package/dist/node_modules/dompurify/dist/purify.es.js +662 -0
  41. package/dist/node_modules/semver/classes/comparator.js +56 -0
  42. package/dist/node_modules/semver/classes/range.js +148 -0
  43. package/dist/node_modules/semver/classes/semver.js +169 -0
  44. package/dist/node_modules/semver/functions/clean.js +14 -0
  45. package/dist/node_modules/semver/functions/cmp.js +39 -0
  46. package/dist/node_modules/semver/functions/coerce.js +33 -0
  47. package/dist/node_modules/semver/functions/compare-build.js +14 -0
  48. package/dist/node_modules/semver/functions/compare-loose.js +11 -0
  49. package/dist/node_modules/semver/functions/compare.js +11 -0
  50. package/dist/node_modules/semver/functions/diff.js +24 -0
  51. package/dist/node_modules/semver/functions/eq.js +11 -0
  52. package/dist/node_modules/semver/functions/gt.js +11 -0
  53. package/dist/node_modules/semver/functions/gte.js +11 -0
  54. package/dist/node_modules/semver/functions/inc.js +21 -0
  55. package/dist/node_modules/semver/functions/lt.js +11 -0
  56. package/dist/node_modules/semver/functions/lte.js +11 -0
  57. package/dist/node_modules/semver/functions/major.js +11 -0
  58. package/dist/node_modules/semver/functions/minor.js +11 -0
  59. package/dist/node_modules/semver/functions/neq.js +11 -0
  60. package/dist/node_modules/semver/functions/parse.js +21 -0
  61. package/dist/node_modules/semver/functions/patch.js +11 -0
  62. package/dist/node_modules/semver/functions/prerelease.js +14 -0
  63. package/dist/node_modules/semver/functions/rcompare.js +11 -0
  64. package/dist/node_modules/semver/functions/rsort.js +11 -0
  65. package/dist/node_modules/semver/functions/satisfies.js +18 -0
  66. package/dist/node_modules/semver/functions/sort.js +11 -0
  67. package/dist/node_modules/semver/functions/valid.js +14 -0
  68. package/dist/node_modules/semver/index.js +97 -0
  69. package/dist/node_modules/semver/internal/constants.js +28 -0
  70. package/dist/node_modules/semver/internal/debug.js +8 -0
  71. package/dist/node_modules/semver/internal/identifiers.js +18 -0
  72. package/dist/node_modules/semver/internal/lrucache.js +32 -0
  73. package/dist/node_modules/semver/internal/parse-options.js +10 -0
  74. package/dist/node_modules/semver/internal/re.js +32 -0
  75. package/dist/node_modules/semver/ranges/gtr.js +11 -0
  76. package/dist/node_modules/semver/ranges/intersects.js +11 -0
  77. package/dist/node_modules/semver/ranges/ltr.js +11 -0
  78. package/dist/node_modules/semver/ranges/max-satisfying.js +22 -0
  79. package/dist/node_modules/semver/ranges/min-satisfying.js +22 -0
  80. package/dist/node_modules/semver/ranges/min-version.js +42 -0
  81. package/dist/node_modules/semver/ranges/outside.js +44 -0
  82. package/dist/node_modules/semver/ranges/simplify.js +24 -0
  83. package/dist/node_modules/semver/ranges/subset.js +94 -0
  84. package/dist/node_modules/semver/ranges/to-comparators.js +11 -0
  85. package/dist/node_modules/semver/ranges/valid.js +17 -0
  86. package/dist/nuxt/composables/useAsyncKb.d.ts +32 -0
  87. package/dist/nuxt/composables/useAsyncKb.js +34 -0
  88. package/dist/nuxt/index.d.ts +1 -0
  89. package/dist/nuxt/index.js +6 -0
  90. package/dist/packages/mdx-render-vue/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  91. package/dist/packages/mdx-render-vue/dist/_virtual/constants.js +4 -0
  92. package/dist/packages/mdx-render-vue/dist/_virtual/index.js +5 -0
  93. package/dist/packages/mdx-render-vue/dist/_virtual/index2.js +4 -0
  94. package/dist/packages/mdx-render-vue/dist/composables/useAudioPlayer.js +40 -0
  95. package/dist/packages/mdx-render-vue/dist/composables/useCallout.js +66 -0
  96. package/dist/packages/mdx-render-vue/dist/composables/useCodeBlock.js +62 -0
  97. package/dist/packages/mdx-render-vue/dist/composables/useGallery.js +68 -0
  98. package/dist/packages/mdx-render-vue/dist/composables/useMedia.js +9 -0
  99. package/dist/packages/mdx-render-vue/dist/composables/useYouTube.js +24 -0
  100. package/dist/packages/mdx-render-vue/dist/edit/AlertEdit.vue.js +4 -0
  101. package/dist/packages/mdx-render-vue/dist/edit/AlertEdit.vue2.js +16 -0
  102. package/dist/packages/mdx-render-vue/dist/edit/AudioPlayerEdit.vue.js +102 -0
  103. package/dist/packages/mdx-render-vue/dist/edit/AudioPlayerEdit.vue2.js +4 -0
  104. package/dist/packages/mdx-render-vue/dist/edit/BadgeEdit.vue.js +4 -0
  105. package/dist/packages/mdx-render-vue/dist/edit/BadgeEdit.vue2.js +11 -0
  106. package/dist/packages/mdx-render-vue/dist/edit/ButtonEdit.vue.js +4 -0
  107. package/dist/packages/mdx-render-vue/dist/edit/ButtonEdit.vue2.js +11 -0
  108. package/dist/packages/mdx-render-vue/dist/edit/CalloutEdit.vue.js +78 -0
  109. package/dist/packages/mdx-render-vue/dist/edit/CalloutEdit.vue2.js +4 -0
  110. package/dist/packages/mdx-render-vue/dist/edit/CardEdit.vue.js +4 -0
  111. package/dist/packages/mdx-render-vue/dist/edit/CardEdit.vue2.js +16 -0
  112. package/dist/packages/mdx-render-vue/dist/edit/CodeBlockEdit.vue.js +6 -0
  113. package/dist/packages/mdx-render-vue/dist/edit/CodeBlockEdit.vue2.js +74 -0
  114. package/dist/packages/mdx-render-vue/dist/edit/GalleryEdit.vue.js +56 -0
  115. package/dist/packages/mdx-render-vue/dist/edit/GalleryEdit.vue2.js +4 -0
  116. package/dist/packages/mdx-render-vue/dist/edit/IconEdit.vue.js +4 -0
  117. package/dist/packages/mdx-render-vue/dist/edit/IconEdit.vue2.js +11 -0
  118. package/dist/packages/mdx-render-vue/dist/edit/TooltipEdit.vue.js +4 -0
  119. package/dist/packages/mdx-render-vue/dist/edit/TooltipEdit.vue2.js +20 -0
  120. package/dist/packages/mdx-render-vue/dist/edit/YouTubeEdit.vue.js +34 -0
  121. package/dist/packages/mdx-render-vue/dist/edit/YouTubeEdit.vue2.js +4 -0
  122. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/_virtual/_rolldown/runtime.js +11 -0
  123. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/factory.js +29 -0
  124. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/presence/use-presence-context.js +6 -0
  125. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/presence/use-presence.js +32 -0
  126. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow-tip.js +5 -0
  127. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow-tip.vue_vue_type_script_setup_true_lang.js +18 -0
  128. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow.js +5 -0
  129. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow.vue_vue_type_script_setup_true_lang.js +18 -0
  130. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-content.js +5 -0
  131. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-content.vue_vue_type_script_setup_true_lang.js +20 -0
  132. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-context.js +5 -0
  133. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-context.vue_vue_type_script_setup_true_lang.js +12 -0
  134. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-positioner.js +5 -0
  135. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-positioner.vue_vue_type_script_setup_true_lang.js +19 -0
  136. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root-provider.js +5 -0
  137. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root-provider.vue_vue_type_script_setup_true_lang.js +29 -0
  138. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root.js +5 -0
  139. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root.vue_vue_type_script_setup_true_lang.js +59 -0
  140. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-trigger.js +5 -0
  141. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-trigger.vue_vue_type_script_setup_true_lang.js +21 -0
  142. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip.js +22 -0
  143. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/use-tooltip-context.js +6 -0
  144. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/use-tooltip.js +29 -0
  145. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/providers/environment/use-environment-context.js +12 -0
  146. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/providers/locale/use-locale-context.js +11 -0
  147. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/clean-props.js +8 -0
  148. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/create-context.js +12 -0
  149. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/dynamic.js +25 -0
  150. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/unref-element.js +8 -0
  151. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/use-forward-expose.js +36 -0
  152. package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/use-render-strategy.js +5 -0
  153. package/dist/packages/mdx-render-vue/dist/node_modules/@braintree/sanitize-url/dist/constants.js +8 -0
  154. package/dist/packages/mdx-render-vue/dist/node_modules/@braintree/sanitize-url/dist/index.js +60 -0
  155. package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +532 -0
  156. package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +403 -0
  157. package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
  158. package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
  159. package/dist/packages/mdx-render-vue/dist/node_modules/@iconify/vue/dist/iconify.js +1192 -0
  160. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/anatomy/dist/create-anatomy.js +26 -0
  161. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/create-machine.js +21 -0
  162. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/merge-props.js +45 -0
  163. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/scope.js +16 -0
  164. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/state.js +136 -0
  165. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/types.js +5 -0
  166. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/chunk-QZ7TP4HQ.js +4 -0
  167. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/computed-style.js +8 -0
  168. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/event.js +31 -0
  169. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/node.js +49 -0
  170. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/overflow.js +19 -0
  171. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/platform.js +16 -0
  172. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/query.js +6 -0
  173. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/raf.js +41 -0
  174. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/set.js +14 -0
  175. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/shared.js +7 -0
  176. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/focus-visible/dist/index.js +90 -0
  177. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/get-anchor.js +34 -0
  178. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/get-placement.js +187 -0
  179. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/get-styles.js +47 -0
  180. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/middleware.js +56 -0
  181. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/placement.js +7 -0
  182. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/presence/dist/presence.connect.js +16 -0
  183. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/presence/dist/presence.machine.js +147 -0
  184. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.anatomy.js +6 -0
  185. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.connect.js +119 -0
  186. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.dom.js +15 -0
  187. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.machine.js +375 -0
  188. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.store.js +9 -0
  189. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/types/dist/prop-types.js +10 -0
  190. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/array.js +6 -0
  191. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/equal.js +27 -0
  192. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/functions.js +10 -0
  193. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/guard.js +15 -0
  194. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/object.js +13 -0
  195. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/store.js +25 -0
  196. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/warning.js +25 -0
  197. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/bindable.js +37 -0
  198. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/machine.js +205 -0
  199. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/normalize-props.js +30 -0
  200. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/refs.js +14 -0
  201. package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/track.js +19 -0
  202. package/dist/packages/mdx-render-vue/dist/node_modules/dompurify/dist/purify.es.js +659 -0
  203. package/dist/packages/mdx-render-vue/dist/registry.js +154 -0
  204. package/dist/packages/mdx-render-vue/dist/render/alert/Alert.vue.js +4 -0
  205. package/dist/packages/mdx-render-vue/dist/render/alert/Alert.vue2.js +37 -0
  206. package/dist/packages/mdx-render-vue/dist/render/audioplayer/AudioPlayerDefault.vue.js +102 -0
  207. package/dist/packages/mdx-render-vue/dist/render/audioplayer/AudioPlayerDefault.vue2.js +4 -0
  208. package/dist/packages/mdx-render-vue/dist/render/badge/Badge.vue.js +4 -0
  209. package/dist/packages/mdx-render-vue/dist/render/badge/Badge.vue2.js +25 -0
  210. package/dist/packages/mdx-render-vue/dist/render/button/Button.vue.js +4 -0
  211. package/dist/packages/mdx-render-vue/dist/render/button/Button.vue2.js +37 -0
  212. package/dist/packages/mdx-render-vue/dist/render/callout/CalloutDefault.vue.js +79 -0
  213. package/dist/packages/mdx-render-vue/dist/render/callout/CalloutDefault.vue2.js +4 -0
  214. package/dist/packages/mdx-render-vue/dist/render/callout/CalloutMinimal.vue.js +22 -0
  215. package/dist/packages/mdx-render-vue/dist/render/callout/CalloutMinimal.vue2.js +4 -0
  216. package/dist/packages/mdx-render-vue/dist/render/card/Card.vue.js +4 -0
  217. package/dist/packages/mdx-render-vue/dist/render/card/Card.vue2.js +24 -0
  218. package/dist/packages/mdx-render-vue/dist/render/codeblock/CodeBlockDefault.vue.js +6 -0
  219. package/dist/packages/mdx-render-vue/dist/render/codeblock/CodeBlockDefault.vue2.js +77 -0
  220. package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryGrid.vue.js +103 -0
  221. package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryGrid.vue2.js +4 -0
  222. package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryLightbox.vue.js +6 -0
  223. package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryLightbox.vue2.js +142 -0
  224. package/dist/packages/mdx-render-vue/dist/render/icon/Icon.vue.js +4 -0
  225. package/dist/packages/mdx-render-vue/dist/render/icon/Icon.vue2.js +23 -0
  226. package/dist/packages/mdx-render-vue/dist/render/tooltip/Tooltip.vue.js +4 -0
  227. package/dist/packages/mdx-render-vue/dist/render/tooltip/Tooltip.vue2.js +54 -0
  228. package/dist/packages/mdx-render-vue/dist/render/youtube/YouTubeDefault.vue.js +69 -0
  229. package/dist/packages/mdx-render-vue/dist/render/youtube/YouTubeDefault.vue2.js +4 -0
  230. package/dist/packages/mdx-schema/dist/composables/useMdxParsing.js +139 -0
  231. package/dist/packages/mdx-schema/dist/metadata/index.js +415 -0
  232. package/dist/packages/mdx-schema/dist/prepareProps.js +46 -0
  233. package/dist/packages/mdx-schema/dist/styles/index.js +119 -0
  234. package/dist/packages/mdx-schema/dist/types/index.js +26 -0
  235. package/dist/packages/sanitize/dist/html.js +41 -0
  236. package/dist/react/KbMdxContent.d.ts +35 -0
  237. package/dist/react/KbMdxContent.js +102 -0
  238. package/dist/react/context.d.ts +11 -0
  239. package/dist/react/context.js +5 -0
  240. package/dist/react/hooks/useImageRenderer.d.ts +6 -0
  241. package/dist/react/hooks/useImageRenderer.js +9 -0
  242. package/dist/react/hooks/useKbClient.d.ts +3 -0
  243. package/dist/react/hooks/useKbClient.js +7 -0
  244. package/dist/react/hooks/useKbContext.d.ts +3 -0
  245. package/dist/react/hooks/useKbContext.js +11 -0
  246. package/dist/react/hooks/useKbI18n.d.ts +7 -0
  247. package/dist/react/hooks/useKbI18n.js +8 -0
  248. package/dist/react/hooks/useKbLanguage.d.ts +21 -0
  249. package/dist/react/hooks/useKbLanguage.js +63 -0
  250. package/dist/react/hooks/useKbSearch.d.ts +20 -0
  251. package/dist/react/hooks/useKbSearch.js +22 -0
  252. package/dist/react/hooks/useMdxContent.d.ts +18 -0
  253. package/dist/react/hooks/useMdxContent.js +11 -0
  254. package/dist/react/index.d.ts +21 -0
  255. package/dist/react/index.js +20 -0
  256. package/dist/react/provider.d.ts +25 -0
  257. package/dist/react/provider.js +29 -0
  258. package/dist/react/server/index.d.ts +38 -0
  259. package/dist/react/server/index.js +26 -0
  260. package/dist/sdk.css +1 -0
  261. package/dist/vue/components/KbAccessGate.vue.d.ts +36 -0
  262. package/dist/vue/components/KbAccessGate.vue.js +74 -0
  263. package/dist/vue/components/KbAccessGate.vue2.js +4 -0
  264. package/dist/vue/components/KbArticleCard.vue.d.ts +34 -0
  265. package/dist/vue/components/KbArticleCard.vue.js +87 -0
  266. package/dist/vue/components/KbArticleCard.vue2.js +4 -0
  267. package/dist/vue/components/KbMdxContent.vue.d.ts +5 -0
  268. package/dist/vue/components/KbMdxContent.vue.js +7 -0
  269. package/dist/vue/components/KbMdxContent.vue2.js +82 -0
  270. package/dist/vue/composables/useArticles.d.ts +30 -0
  271. package/dist/vue/composables/useArticles.js +36 -0
  272. package/dist/vue/composables/useImageRenderer.d.ts +6 -0
  273. package/dist/vue/composables/useImageRenderer.js +9 -0
  274. package/dist/vue/composables/useKbAuth.d.ts +27 -0
  275. package/dist/vue/composables/useKbAuth.js +83 -0
  276. package/dist/vue/composables/useKbClient.d.ts +6 -0
  277. package/dist/vue/composables/useKbClient.js +13 -0
  278. package/dist/vue/composables/useKbComments.d.ts +37 -0
  279. package/dist/vue/composables/useKbComments.js +160 -0
  280. package/dist/vue/composables/useKbI18n.d.ts +6 -0
  281. package/dist/vue/composables/useKbI18n.js +8 -0
  282. package/dist/vue/composables/useKbLanguage.d.ts +22 -0
  283. package/dist/vue/composables/useKbLanguage.js +63 -0
  284. package/dist/vue/composables/useNavigation.d.ts +18 -0
  285. package/dist/vue/composables/useNavigation.js +20 -0
  286. package/dist/vue/composables/useSearch.d.ts +21 -0
  287. package/dist/vue/composables/useSearch.js +20 -0
  288. package/dist/vue/composables/useTags.d.ts +17 -0
  289. package/dist/vue/composables/useTags.js +36 -0
  290. package/dist/vue/index.d.ts +22 -0
  291. package/dist/vue/index.js +36 -0
  292. package/dist/vue/plugin.d.ts +30 -0
  293. package/dist/vue/plugin.js +17 -0
  294. package/package.json +97 -0
  295. package/src/core/article-seo.ts +101 -0
  296. package/src/core/auth.ts +138 -0
  297. package/src/core/blog-config.ts +30 -0
  298. package/src/core/client-types.ts +58 -0
  299. package/src/core/client.ts +287 -0
  300. package/src/core/i18n.ts +84 -0
  301. package/src/core/index.ts +147 -0
  302. package/src/core/markdown.ts +178 -0
  303. package/src/core/navigation.ts +152 -0
  304. package/src/core/queries.ts +414 -0
  305. package/src/core/retry.ts +19 -0
  306. package/src/core/seo.ts +374 -0
  307. package/src/core/theme.ts +128 -0
  308. package/src/core/translations/cs.json +225 -0
  309. package/src/core/translations/en.json +225 -0
  310. package/src/core/types.ts +231 -0
  311. package/src/core/view-model.ts +98 -0
  312. package/src/nuxt/composables/useAsyncKb.ts +119 -0
  313. package/src/nuxt/index.ts +6 -0
  314. package/src/react/KbMdxContent.tsx +215 -0
  315. package/src/react/context.ts +25 -0
  316. package/src/react/hooks/useImageRenderer.ts +15 -0
  317. package/src/react/hooks/useKbClient.ts +9 -0
  318. package/src/react/hooks/useKbContext.ts +13 -0
  319. package/src/react/hooks/useKbI18n.ts +15 -0
  320. package/src/react/hooks/useKbLanguage.ts +105 -0
  321. package/src/react/hooks/useKbSearch.ts +50 -0
  322. package/src/react/hooks/useMdxContent.tsx +33 -0
  323. package/src/react/index.ts +31 -0
  324. package/src/react/provider.tsx +70 -0
  325. package/src/react/server/index.ts +70 -0
  326. package/src/vue/components/KbAccessGate.vue +86 -0
  327. package/src/vue/components/KbArticleCard.vue +102 -0
  328. package/src/vue/components/KbMdxContent.vue +211 -0
  329. package/src/vue/composables/useArticles.ts +78 -0
  330. package/src/vue/composables/useImageRenderer.ts +12 -0
  331. package/src/vue/composables/useKbAuth.ts +131 -0
  332. package/src/vue/composables/useKbClient.ts +17 -0
  333. package/src/vue/composables/useKbComments.ts +281 -0
  334. package/src/vue/composables/useKbI18n.ts +11 -0
  335. package/src/vue/composables/useKbLanguage.ts +103 -0
  336. package/src/vue/composables/useNavigation.ts +38 -0
  337. package/src/vue/composables/useSearch.ts +52 -0
  338. package/src/vue/composables/useTags.ts +64 -0
  339. package/src/vue/index.ts +27 -0
  340. package/src/vue/plugin.ts +73 -0
@@ -0,0 +1,11 @@
1
+ import { __require as i } from "../classes/semver.js";
2
+ var r, e;
3
+ function n() {
4
+ if (e) return r;
5
+ e = 1;
6
+ const t = i();
7
+ return r = (a, c) => new t(a, c).patch, r;
8
+ }
9
+ export {
10
+ n as __require
11
+ };
@@ -0,0 +1,14 @@
1
+ import { __require as t } from "./parse.js";
2
+ var r, s;
3
+ function i() {
4
+ if (s) return r;
5
+ s = 1;
6
+ const a = t();
7
+ return r = (l, n) => {
8
+ const e = a(l, n);
9
+ return e && e.prerelease.length ? e.prerelease : null;
10
+ }, r;
11
+ }
12
+ export {
13
+ i as __require
14
+ };
@@ -0,0 +1,11 @@
1
+ import { __require as p } from "./compare.js";
2
+ var r, e;
3
+ function t() {
4
+ if (e) return r;
5
+ e = 1;
6
+ const o = p();
7
+ return r = (a, c, m) => o(c, a, m), r;
8
+ }
9
+ export {
10
+ t as __require
11
+ };
@@ -0,0 +1,11 @@
1
+ import { __require as a } from "./compare-build.js";
2
+ var r, e;
3
+ function _() {
4
+ if (e) return r;
5
+ e = 1;
6
+ const o = a();
7
+ return r = (t, s) => t.sort((i, u) => o(u, i, s)), r;
8
+ }
9
+ export {
10
+ _ as __require
11
+ };
@@ -0,0 +1,18 @@
1
+ import { __require as u } from "../classes/range.js";
2
+ var r, s;
3
+ function c() {
4
+ if (s) return r;
5
+ s = 1;
6
+ const i = u();
7
+ return r = (t, e, a) => {
8
+ try {
9
+ e = new i(e, a);
10
+ } catch {
11
+ return !1;
12
+ }
13
+ return e.test(t);
14
+ }, r;
15
+ }
16
+ export {
17
+ c as __require
18
+ };
@@ -0,0 +1,11 @@
1
+ import { __require as a } from "./compare-build.js";
2
+ var r, e;
3
+ function _() {
4
+ if (e) return r;
5
+ e = 1;
6
+ const o = a();
7
+ return r = (t, i) => t.sort((u, s) => o(u, s, i)), r;
8
+ }
9
+ export {
10
+ _ as __require
11
+ };
@@ -0,0 +1,14 @@
1
+ import { __require as s } from "./parse.js";
2
+ var r, i;
3
+ function l() {
4
+ if (i) return r;
5
+ i = 1;
6
+ const a = s();
7
+ return r = (n, u) => {
8
+ const e = a(n, u);
9
+ return e ? e.version : null;
10
+ }, r;
11
+ }
12
+ export {
13
+ l as __require
14
+ };
@@ -0,0 +1,97 @@
1
+ import { __require as w } from "./internal/re.js";
2
+ import { __require as z } from "./internal/constants.js";
3
+ import { __require as F } from "./classes/semver.js";
4
+ import { __require as H } from "./internal/identifiers.js";
5
+ import { __require as J } from "./functions/parse.js";
6
+ import { __require as K } from "./functions/valid.js";
7
+ import { __require as Q } from "./functions/clean.js";
8
+ import { __require as U } from "./functions/inc.js";
9
+ import { __require as W } from "./functions/diff.js";
10
+ import { __require as X } from "./functions/major.js";
11
+ import { __require as Z } from "./functions/minor.js";
12
+ import { __require as rr } from "./functions/patch.js";
13
+ import { __require as er } from "./functions/prerelease.js";
14
+ import { __require as ir } from "./functions/compare.js";
15
+ import { __require as or } from "./functions/rcompare.js";
16
+ import { __require as tr } from "./functions/compare-loose.js";
17
+ import { __require as sr } from "./functions/compare-build.js";
18
+ import { __require as mr } from "./functions/sort.js";
19
+ import { __require as ar } from "./functions/rsort.js";
20
+ import { __require as ur } from "./functions/gt.js";
21
+ import { __require as _r } from "./functions/lt.js";
22
+ import { __require as qr } from "./functions/eq.js";
23
+ import { __require as nr } from "./functions/neq.js";
24
+ import { __require as cr } from "./functions/gte.js";
25
+ import { __require as pr } from "./functions/lte.js";
26
+ import { __require as fr } from "./functions/cmp.js";
27
+ import { __require as Sr } from "./functions/coerce.js";
28
+ import { __require as Er } from "./classes/comparator.js";
29
+ import { __require as dr } from "./classes/range.js";
30
+ import { __require as lr } from "./functions/satisfies.js";
31
+ import { __require as Rr } from "./ranges/to-comparators.js";
32
+ import { __require as Cr } from "./ranges/max-satisfying.js";
33
+ import { __require as gr } from "./ranges/min-satisfying.js";
34
+ import { __require as Ir } from "./ranges/min-version.js";
35
+ import { __require as Vr } from "./ranges/valid.js";
36
+ import { __require as vr } from "./ranges/outside.js";
37
+ import { __require as Lr } from "./ranges/gtr.js";
38
+ import { __require as Mr } from "./ranges/ltr.js";
39
+ import { __require as Pr } from "./ranges/intersects.js";
40
+ import { __require as yr } from "./ranges/simplify.js";
41
+ import { __require as hr } from "./ranges/subset.js";
42
+ var e, t;
43
+ function de() {
44
+ if (t) return e;
45
+ t = 1;
46
+ const r = w(), i = z(), s = F(), o = H(), m = J(), a = K(), u = Q(), _ = U(), q = W(), n = X(), c = Z(), p = rr(), f = er(), S = ir(), E = or(), d = tr(), l = sr(), R = mr(), C = ar(), g = ur(), I = _r(), V = qr(), v = nr(), L = cr(), M = pr(), P = fr(), y = Sr(), h = Er(), x = dr(), G = lr(), N = Rr(), O = Cr(), T = gr(), b = Ir(), j = Vr(), A = vr(), B = Lr(), Y = Mr(), $ = Pr(), k = yr(), D = hr();
47
+ return e = {
48
+ parse: m,
49
+ valid: a,
50
+ clean: u,
51
+ inc: _,
52
+ diff: q,
53
+ major: n,
54
+ minor: c,
55
+ patch: p,
56
+ prerelease: f,
57
+ compare: S,
58
+ rcompare: E,
59
+ compareLoose: d,
60
+ compareBuild: l,
61
+ sort: R,
62
+ rsort: C,
63
+ gt: g,
64
+ lt: I,
65
+ eq: V,
66
+ neq: v,
67
+ gte: L,
68
+ lte: M,
69
+ cmp: P,
70
+ coerce: y,
71
+ Comparator: h,
72
+ Range: x,
73
+ satisfies: G,
74
+ toComparators: N,
75
+ maxSatisfying: O,
76
+ minSatisfying: T,
77
+ minVersion: b,
78
+ validRange: j,
79
+ outside: A,
80
+ gtr: B,
81
+ ltr: Y,
82
+ intersects: $,
83
+ simplifyRange: k,
84
+ subset: D,
85
+ SemVer: s,
86
+ re: r.re,
87
+ src: r.src,
88
+ tokens: r.t,
89
+ SEMVER_SPEC_VERSION: i.SEMVER_SPEC_VERSION,
90
+ RELEASE_TYPES: i.RELEASE_TYPES,
91
+ compareIdentifiers: o.compareIdentifiers,
92
+ rcompareIdentifiers: o.rcompareIdentifiers
93
+ }, e;
94
+ }
95
+ export {
96
+ de as __require
97
+ };
@@ -0,0 +1,28 @@
1
+ var E, _;
2
+ function A() {
3
+ if (_) return E;
4
+ _ = 1;
5
+ const n = "2.0.0", r = 256, t = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
6
+ 9007199254740991, e = 16, o = r - 6;
7
+ return E = {
8
+ MAX_LENGTH: r,
9
+ MAX_SAFE_COMPONENT_LENGTH: e,
10
+ MAX_SAFE_BUILD_LENGTH: o,
11
+ MAX_SAFE_INTEGER: t,
12
+ RELEASE_TYPES: [
13
+ "major",
14
+ "premajor",
15
+ "minor",
16
+ "preminor",
17
+ "patch",
18
+ "prepatch",
19
+ "prerelease"
20
+ ],
21
+ SEMVER_SPEC_VERSION: n,
22
+ FLAG_INCLUDE_PRERELEASE: 1,
23
+ FLAG_LOOSE: 2
24
+ }, E;
25
+ }
26
+ export {
27
+ A as __require
28
+ };
@@ -0,0 +1,8 @@
1
+ var e, r;
2
+ function u() {
3
+ return r || (r = 1, e = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...s) => console.error("SEMVER", ...s) : () => {
4
+ }), e;
5
+ }
6
+ export {
7
+ u as __require
8
+ };
@@ -0,0 +1,18 @@
1
+ var i, f;
2
+ function c() {
3
+ if (f) return i;
4
+ f = 1;
5
+ const s = /^[0-9]+$/, u = (e, r) => {
6
+ if (typeof e == "number" && typeof r == "number")
7
+ return e === r ? 0 : e < r ? -1 : 1;
8
+ const t = s.test(e), n = s.test(r);
9
+ return t && n && (e = +e, r = +r), e === r ? 0 : t && !n ? -1 : n && !t ? 1 : e < r ? -1 : 1;
10
+ };
11
+ return i = {
12
+ compareIdentifiers: u,
13
+ rcompareIdentifiers: (e, r) => u(r, e)
14
+ }, i;
15
+ }
16
+ export {
17
+ c as __require
18
+ };
@@ -0,0 +1,32 @@
1
+ var s, i;
2
+ function u() {
3
+ if (i) return s;
4
+ i = 1;
5
+ class r {
6
+ constructor() {
7
+ this.max = 1e3, this.map = /* @__PURE__ */ new Map();
8
+ }
9
+ get(e) {
10
+ const t = this.map.get(e);
11
+ if (t !== void 0)
12
+ return this.map.delete(e), this.map.set(e, t), t;
13
+ }
14
+ delete(e) {
15
+ return this.map.delete(e);
16
+ }
17
+ set(e, t) {
18
+ if (!this.delete(e) && t !== void 0) {
19
+ if (this.map.size >= this.max) {
20
+ const a = this.map.keys().next().value;
21
+ this.delete(a);
22
+ }
23
+ this.map.set(e, t);
24
+ }
25
+ return this;
26
+ }
27
+ }
28
+ return s = r, s;
29
+ }
30
+ export {
31
+ u as __require
32
+ };
@@ -0,0 +1,10 @@
1
+ var r, t;
2
+ function i() {
3
+ if (t) return r;
4
+ t = 1;
5
+ const s = Object.freeze({ loose: !0 }), n = Object.freeze({});
6
+ return r = (e) => e ? typeof e != "object" ? s : e : n, r;
7
+ }
8
+ export {
9
+ i as __require
10
+ };
@@ -0,0 +1,32 @@
1
+ import { __module as T } from "../../../_virtual/re.js";
2
+ import { __require as X } from "./constants.js";
3
+ import { __require as c } from "./debug.js";
4
+ var D;
5
+ function f() {
6
+ return D ? T.exports : (D = 1, (function(C, N) {
7
+ const {
8
+ MAX_SAFE_COMPONENT_LENGTH: e,
9
+ MAX_SAFE_BUILD_LENGTH: r,
10
+ MAX_LENGTH: P
11
+ } = X(), F = c();
12
+ N = C.exports = {};
13
+ const t = N.re = [], G = N.safeRe = [], E = N.src = [], n = N.safeSrc = [], I = N.t = {};
14
+ let U = 0;
15
+ const S = "[a-zA-Z0-9-]", M = [
16
+ ["\\s", 1],
17
+ ["\\d", P],
18
+ [S, r]
19
+ ], o = (O) => {
20
+ for (const [L, A] of M)
21
+ O = O.split(`${L}*`).join(`${L}{0,${A}}`).split(`${L}+`).join(`${L}{1,${A}}`);
22
+ return O;
23
+ }, R = (O, L, A) => {
24
+ const s = o(L), $ = U++;
25
+ F(O, $, L), I[O] = $, E[$] = L, n[$] = s, t[$] = new RegExp(L, A ? "g" : void 0), G[$] = new RegExp(s, A ? "g" : void 0);
26
+ };
27
+ R("NUMERICIDENTIFIER", "0|[1-9]\\d*"), R("NUMERICIDENTIFIERLOOSE", "\\d+"), R("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${S}*`), R("MAINVERSION", `(${E[I.NUMERICIDENTIFIER]})\\.(${E[I.NUMERICIDENTIFIER]})\\.(${E[I.NUMERICIDENTIFIER]})`), R("MAINVERSIONLOOSE", `(${E[I.NUMERICIDENTIFIERLOOSE]})\\.(${E[I.NUMERICIDENTIFIERLOOSE]})\\.(${E[I.NUMERICIDENTIFIERLOOSE]})`), R("PRERELEASEIDENTIFIER", `(?:${E[I.NONNUMERICIDENTIFIER]}|${E[I.NUMERICIDENTIFIER]})`), R("PRERELEASEIDENTIFIERLOOSE", `(?:${E[I.NONNUMERICIDENTIFIER]}|${E[I.NUMERICIDENTIFIERLOOSE]})`), R("PRERELEASE", `(?:-(${E[I.PRERELEASEIDENTIFIER]}(?:\\.${E[I.PRERELEASEIDENTIFIER]})*))`), R("PRERELEASELOOSE", `(?:-?(${E[I.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${E[I.PRERELEASEIDENTIFIERLOOSE]})*))`), R("BUILDIDENTIFIER", `${S}+`), R("BUILD", `(?:\\+(${E[I.BUILDIDENTIFIER]}(?:\\.${E[I.BUILDIDENTIFIER]})*))`), R("FULLPLAIN", `v?${E[I.MAINVERSION]}${E[I.PRERELEASE]}?${E[I.BUILD]}?`), R("FULL", `^${E[I.FULLPLAIN]}$`), R("LOOSEPLAIN", `[v=\\s]*${E[I.MAINVERSIONLOOSE]}${E[I.PRERELEASELOOSE]}?${E[I.BUILD]}?`), R("LOOSE", `^${E[I.LOOSEPLAIN]}$`), R("GTLT", "((?:<|>)?=?)"), R("XRANGEIDENTIFIERLOOSE", `${E[I.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), R("XRANGEIDENTIFIER", `${E[I.NUMERICIDENTIFIER]}|x|X|\\*`), R("XRANGEPLAIN", `[v=\\s]*(${E[I.XRANGEIDENTIFIER]})(?:\\.(${E[I.XRANGEIDENTIFIER]})(?:\\.(${E[I.XRANGEIDENTIFIER]})(?:${E[I.PRERELEASE]})?${E[I.BUILD]}?)?)?`), R("XRANGEPLAINLOOSE", `[v=\\s]*(${E[I.XRANGEIDENTIFIERLOOSE]})(?:\\.(${E[I.XRANGEIDENTIFIERLOOSE]})(?:\\.(${E[I.XRANGEIDENTIFIERLOOSE]})(?:${E[I.PRERELEASELOOSE]})?${E[I.BUILD]}?)?)?`), R("XRANGE", `^${E[I.GTLT]}\\s*${E[I.XRANGEPLAIN]}$`), R("XRANGELOOSE", `^${E[I.GTLT]}\\s*${E[I.XRANGEPLAINLOOSE]}$`), R("COERCEPLAIN", `(^|[^\\d])(\\d{1,${e}})(?:\\.(\\d{1,${e}}))?(?:\\.(\\d{1,${e}}))?`), R("COERCE", `${E[I.COERCEPLAIN]}(?:$|[^\\d])`), R("COERCEFULL", E[I.COERCEPLAIN] + `(?:${E[I.PRERELEASE]})?(?:${E[I.BUILD]})?(?:$|[^\\d])`), R("COERCERTL", E[I.COERCE], !0), R("COERCERTLFULL", E[I.COERCEFULL], !0), R("LONETILDE", "(?:~>?)"), R("TILDETRIM", `(\\s*)${E[I.LONETILDE]}\\s+`, !0), N.tildeTrimReplace = "$1~", R("TILDE", `^${E[I.LONETILDE]}${E[I.XRANGEPLAIN]}$`), R("TILDELOOSE", `^${E[I.LONETILDE]}${E[I.XRANGEPLAINLOOSE]}$`), R("LONECARET", "(?:\\^)"), R("CARETTRIM", `(\\s*)${E[I.LONECARET]}\\s+`, !0), N.caretTrimReplace = "$1^", R("CARET", `^${E[I.LONECARET]}${E[I.XRANGEPLAIN]}$`), R("CARETLOOSE", `^${E[I.LONECARET]}${E[I.XRANGEPLAINLOOSE]}$`), R("COMPARATORLOOSE", `^${E[I.GTLT]}\\s*(${E[I.LOOSEPLAIN]})$|^$`), R("COMPARATOR", `^${E[I.GTLT]}\\s*(${E[I.FULLPLAIN]})$|^$`), R("COMPARATORTRIM", `(\\s*)${E[I.GTLT]}\\s*(${E[I.LOOSEPLAIN]}|${E[I.XRANGEPLAIN]})`, !0), N.comparatorTrimReplace = "$1$2$3", R("HYPHENRANGE", `^\\s*(${E[I.XRANGEPLAIN]})\\s+-\\s+(${E[I.XRANGEPLAIN]})\\s*$`), R("HYPHENRANGELOOSE", `^\\s*(${E[I.XRANGEPLAINLOOSE]})\\s+-\\s+(${E[I.XRANGEPLAINLOOSE]})\\s*$`), R("STAR", "(<|>)?=?\\s*\\*"), R("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), R("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
28
+ })(T, T.exports), T.exports);
29
+ }
30
+ export {
31
+ f as __require
32
+ };
@@ -0,0 +1,11 @@
1
+ import { __require as s } from "./outside.js";
2
+ var r, e;
3
+ function q() {
4
+ if (e) return r;
5
+ e = 1;
6
+ const t = s();
7
+ return r = (i, u, o) => t(i, u, ">", o), r;
8
+ }
9
+ export {
10
+ q as __require
11
+ };
@@ -0,0 +1,11 @@
1
+ import { __require as c } from "../classes/range.js";
2
+ var n, i;
3
+ function q() {
4
+ if (i) return n;
5
+ i = 1;
6
+ const s = c();
7
+ return n = (e, r, t) => (e = new s(e, t), r = new s(r, t), e.intersects(r, t)), n;
8
+ }
9
+ export {
10
+ q as __require
11
+ };
@@ -0,0 +1,11 @@
1
+ import { __require as s } from "./outside.js";
2
+ var r, e;
3
+ function q() {
4
+ if (e) return r;
5
+ e = 1;
6
+ const t = s();
7
+ return r = (i, u, o) => t(i, u, "<", o), r;
8
+ }
9
+ export {
10
+ q as __require
11
+ };
@@ -0,0 +1,22 @@
1
+ import { __require as o } from "../classes/semver.js";
2
+ import { __require as c } from "../classes/range.js";
3
+ var a, u;
4
+ function q() {
5
+ if (u) return a;
6
+ u = 1;
7
+ const f = o(), m = c();
8
+ return a = (s, l, i) => {
9
+ let r = null, n = null, t = null;
10
+ try {
11
+ t = new m(l, i);
12
+ } catch {
13
+ return null;
14
+ }
15
+ return s.forEach((e) => {
16
+ t.test(e) && (!r || n.compare(e) === -1) && (r = e, n = new f(r, i));
17
+ }), r;
18
+ }, a;
19
+ }
20
+ export {
21
+ q as __require
22
+ };
@@ -0,0 +1,22 @@
1
+ import { __require as o } from "../classes/semver.js";
2
+ import { __require as c } from "../classes/range.js";
3
+ var i, u;
4
+ function _() {
5
+ if (u) return i;
6
+ u = 1;
7
+ const f = o(), m = c();
8
+ return i = (s, l, n) => {
9
+ let r = null, t = null, a = null;
10
+ try {
11
+ a = new m(l, n);
12
+ } catch {
13
+ return null;
14
+ }
15
+ return s.forEach((e) => {
16
+ a.test(e) && (!r || t.compare(e) === 1) && (r = e, t = new f(r, n));
17
+ }), r;
18
+ }, i;
19
+ }
20
+ export {
21
+ _ as __require
22
+ };
@@ -0,0 +1,42 @@
1
+ import { __require as p } from "../classes/semver.js";
2
+ import { __require as q } from "../classes/range.js";
3
+ import { __require as _ } from "../functions/gt.js";
4
+ var u, c;
5
+ function d() {
6
+ if (c) return u;
7
+ c = 1;
8
+ const n = p(), f = q(), a = _();
9
+ return u = (r, l) => {
10
+ r = new f(r, l);
11
+ let e = new n("0.0.0");
12
+ if (r.test(e) || (e = new n("0.0.0-0"), r.test(e)))
13
+ return e;
14
+ e = null;
15
+ for (let s = 0; s < r.set.length; ++s) {
16
+ const m = r.set[s];
17
+ let i = null;
18
+ m.forEach((o) => {
19
+ const t = new n(o.semver.version);
20
+ switch (o.operator) {
21
+ case ">":
22
+ t.prerelease.length === 0 ? t.patch++ : t.prerelease.push(0), t.raw = t.format();
23
+ /* fallthrough */
24
+ case "":
25
+ case ">=":
26
+ (!i || a(t, i)) && (i = t);
27
+ break;
28
+ case "<":
29
+ case "<=":
30
+ break;
31
+ /* istanbul ignore next */
32
+ default:
33
+ throw new Error(`Unexpected operation: ${o.operator}`);
34
+ }
35
+ }), i && (!e || a(e, i)) && (e = i);
36
+ }
37
+ return e && r.test(e) ? e : null;
38
+ }, u;
39
+ }
40
+ export {
41
+ d as __require
42
+ };
@@ -0,0 +1,44 @@
1
+ import { __require as C } from "../classes/semver.js";
2
+ import { __require as E } from "../classes/comparator.js";
3
+ import { __require as G } from "../classes/range.js";
4
+ import { __require as L } from "../functions/satisfies.js";
5
+ import { __require as O } from "../functions/gt.js";
6
+ import { __require as x } from "../functions/lt.js";
7
+ import { __require as y } from "../functions/lte.js";
8
+ import { __require as A } from "../functions/gte.js";
9
+ var q, d;
10
+ function F() {
11
+ if (d) return q;
12
+ d = 1;
13
+ const h = C(), _ = E(), { ANY: v } = _, w = G(), g = L(), c = O(), p = x(), R = y(), S = A();
14
+ return q = (s, i, b, u) => {
15
+ s = new h(s, u), i = new w(i, u);
16
+ let m, a, o, f, l;
17
+ switch (b) {
18
+ case ">":
19
+ m = c, a = R, o = p, f = ">", l = ">=";
20
+ break;
21
+ case "<":
22
+ m = p, a = S, o = c, f = "<", l = "<=";
23
+ break;
24
+ default:
25
+ throw new TypeError('Must provide a hilo val of "<" or ">"');
26
+ }
27
+ if (g(s, i, u))
28
+ return !1;
29
+ for (let n = 0; n < i.set.length; ++n) {
30
+ const k = i.set[n];
31
+ let t = null, e = null;
32
+ if (k.forEach((r) => {
33
+ r.semver === v && (r = new _(">=0.0.0")), t = t || r, e = e || r, m(r.semver, t.semver, u) ? t = r : o(r.semver, e.semver, u) && (e = r);
34
+ }), t.operator === f || t.operator === l || (!e.operator || e.operator === f) && a(s, e.semver))
35
+ return !1;
36
+ if (e.operator === l && o(s, e.semver))
37
+ return !1;
38
+ }
39
+ return !0;
40
+ }, q;
41
+ }
42
+ export {
43
+ F as __require
44
+ };
@@ -0,0 +1,24 @@
1
+ import { __require as d } from "../functions/satisfies.js";
2
+ import { __require as _ } from "../functions/compare.js";
3
+ var u, c;
4
+ function S() {
5
+ if (c) return u;
6
+ c = 1;
7
+ const m = d(), a = _();
8
+ return u = (h, t, f) => {
9
+ const n = [];
10
+ let s = null, l = null;
11
+ const o = h.sort((i, e) => a(i, e, f));
12
+ for (const i of o)
13
+ m(i, t, f) ? (l = i, s || (s = i)) : (l && n.push([s, l]), l = null, s = null);
14
+ s && n.push([s, null]);
15
+ const r = [];
16
+ for (const [i, e] of n)
17
+ i === e ? r.push(i) : !e && i === o[0] ? r.push("*") : e ? i === o[0] ? r.push(`<=${e}`) : r.push(`${i} - ${e}`) : r.push(`>=${i}`);
18
+ const p = r.join(" || "), q = typeof t.raw == "string" ? t.raw : String(t);
19
+ return p.length < q.length ? p : t;
20
+ }, u;
21
+ }
22
+ export {
23
+ S as __require
24
+ };
@@ -0,0 +1,94 @@
1
+ import { __require as L } from "../classes/range.js";
2
+ import { __require as N } from "../classes/comparator.js";
3
+ import { __require as V } from "../functions/satisfies.js";
4
+ import { __require as x } from "../functions/compare.js";
5
+ var S, D;
6
+ function k() {
7
+ if (D) return S;
8
+ D = 1;
9
+ const _ = L(), m = N(), { ANY: c } = m, u = V(), p = x(), j = (t, r, s = {}) => {
10
+ if (t === r)
11
+ return !0;
12
+ t = new _(t, s), r = new _(r, s);
13
+ let o = !1;
14
+ e: for (const l of t.set) {
15
+ for (const n of r.set) {
16
+ const f = R(l, n, s);
17
+ if (o = o || f !== null, f)
18
+ continue e;
19
+ }
20
+ if (o)
21
+ return !1;
22
+ }
23
+ return !0;
24
+ }, C = [new m(">=0.0.0-0")], w = [new m(">=0.0.0")], R = (t, r, s) => {
25
+ if (t === r)
26
+ return !0;
27
+ if (t.length === 1 && t[0].semver === c) {
28
+ if (r.length === 1 && r[0].semver === c)
29
+ return !0;
30
+ s.includePrerelease ? t = C : t = w;
31
+ }
32
+ if (r.length === 1 && r[0].semver === c) {
33
+ if (s.includePrerelease)
34
+ return !0;
35
+ r = w;
36
+ }
37
+ const o = /* @__PURE__ */ new Set();
38
+ let l, n;
39
+ for (const e of t)
40
+ e.operator === ">" || e.operator === ">=" ? l = P(l, e, s) : e.operator === "<" || e.operator === "<=" ? n = T(n, e, s) : o.add(e.semver);
41
+ if (o.size > 1)
42
+ return null;
43
+ let f;
44
+ if (l && n) {
45
+ if (f = p(l.semver, n.semver, s), f > 0)
46
+ return null;
47
+ if (f === 0 && (l.operator !== ">=" || n.operator !== "<="))
48
+ return null;
49
+ }
50
+ for (const e of o) {
51
+ if (l && !u(e, String(l), s) || n && !u(e, String(n), s))
52
+ return null;
53
+ for (const G of r)
54
+ if (!u(e, String(G), s))
55
+ return !1;
56
+ return !0;
57
+ }
58
+ let v, h, g, q, a = n && !s.includePrerelease && n.semver.prerelease.length ? n.semver : !1, i = l && !s.includePrerelease && l.semver.prerelease.length ? l.semver : !1;
59
+ a && a.prerelease.length === 1 && n.operator === "<" && a.prerelease[0] === 0 && (a = !1);
60
+ for (const e of r) {
61
+ if (q = q || e.operator === ">" || e.operator === ">=", g = g || e.operator === "<" || e.operator === "<=", l) {
62
+ if (i && e.semver.prerelease && e.semver.prerelease.length && e.semver.major === i.major && e.semver.minor === i.minor && e.semver.patch === i.patch && (i = !1), e.operator === ">" || e.operator === ">=") {
63
+ if (v = P(l, e, s), v === e && v !== l)
64
+ return !1;
65
+ } else if (l.operator === ">=" && !u(l.semver, String(e), s))
66
+ return !1;
67
+ }
68
+ if (n) {
69
+ if (a && e.semver.prerelease && e.semver.prerelease.length && e.semver.major === a.major && e.semver.minor === a.minor && e.semver.patch === a.patch && (a = !1), e.operator === "<" || e.operator === "<=") {
70
+ if (h = T(n, e, s), h === e && h !== n)
71
+ return !1;
72
+ } else if (n.operator === "<=" && !u(n.semver, String(e), s))
73
+ return !1;
74
+ }
75
+ if (!e.operator && (n || l) && f !== 0)
76
+ return !1;
77
+ }
78
+ return !(l && g && !n && f !== 0 || n && q && !l && f !== 0 || i || a);
79
+ }, P = (t, r, s) => {
80
+ if (!t)
81
+ return r;
82
+ const o = p(t.semver, r.semver, s);
83
+ return o > 0 ? t : o < 0 || r.operator === ">" && t.operator === ">=" ? r : t;
84
+ }, T = (t, r, s) => {
85
+ if (!t)
86
+ return r;
87
+ const o = p(t.semver, r.semver, s);
88
+ return o < 0 ? t : o > 0 || r.operator === "<" && t.operator === "<=" ? r : t;
89
+ };
90
+ return S = j, S;
91
+ }
92
+ export {
93
+ k as __require
94
+ };
@@ -0,0 +1,11 @@
1
+ import { __require as m } from "../classes/range.js";
2
+ var r, o;
3
+ function u() {
4
+ if (o) return r;
5
+ o = 1;
6
+ const a = m();
7
+ return r = (e, t) => new a(e, t).set.map((s) => s.map((i) => i.value).join(" ").trim().split(" ")), r;
8
+ }
9
+ export {
10
+ u as __require
11
+ };
@@ -0,0 +1,17 @@
1
+ import { __require as t } from "../classes/range.js";
2
+ var r, e;
3
+ function o() {
4
+ if (e) return r;
5
+ e = 1;
6
+ const a = t();
7
+ return r = (n, i) => {
8
+ try {
9
+ return new a(n, i).range || "*";
10
+ } catch {
11
+ return null;
12
+ }
13
+ }, r;
14
+ }
15
+ export {
16
+ o as __require
17
+ };