zudoku 0.0.0-fb7d300 → 0.0.0-fc93837

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 (760) hide show
  1. package/client.d.ts +7 -0
  2. package/dist/app/demo.js +1 -2
  3. package/dist/app/demo.js.map +1 -1
  4. package/dist/app/entry.client.d.ts +1 -0
  5. package/dist/app/entry.client.js +14 -15
  6. package/dist/app/entry.client.js.map +1 -1
  7. package/dist/app/entry.server.d.ts +1 -0
  8. package/dist/app/entry.server.js +2 -2
  9. package/dist/app/entry.server.js.map +1 -1
  10. package/dist/app/main.d.ts +2 -2
  11. package/dist/app/main.js +21 -8
  12. package/dist/app/main.js.map +1 -1
  13. package/dist/app/sentry.d.ts +3 -0
  14. package/dist/app/sentry.js +19 -0
  15. package/dist/app/sentry.js.map +1 -0
  16. package/dist/app/standalone.js +1 -2
  17. package/dist/app/standalone.js.map +1 -1
  18. package/dist/app/tailwind.d.ts +2 -1
  19. package/dist/app/tailwind.js +64 -52
  20. package/dist/app/tailwind.js.map +1 -1
  21. package/dist/cli/cli.js +0 -2
  22. package/dist/cli/cli.js.map +1 -1
  23. package/dist/cli/cmds/build.js +1 -0
  24. package/dist/cli/cmds/build.js.map +1 -1
  25. package/dist/cli/cmds/dev.js +5 -0
  26. package/dist/cli/cmds/dev.js.map +1 -1
  27. package/dist/cli/common/logger.js +9 -0
  28. package/dist/cli/common/logger.js.map +1 -1
  29. package/dist/cli/common/outdated.js +2 -1
  30. package/dist/cli/common/outdated.js.map +1 -1
  31. package/dist/cli/dev/handler.d.ts +1 -0
  32. package/dist/cli/dev/handler.js +3 -3
  33. package/dist/cli/dev/handler.js.map +1 -1
  34. package/dist/config/common.d.ts +8 -0
  35. package/dist/config/common.js +2 -0
  36. package/dist/config/common.js.map +1 -0
  37. package/dist/config/config.d.ts +4 -2
  38. package/dist/config/loader.d.ts +20 -0
  39. package/dist/config/loader.js +154 -0
  40. package/dist/config/loader.js.map +1 -0
  41. package/dist/config/validators/InputSidebarSchema.d.ts +29 -13
  42. package/dist/config/validators/InputSidebarSchema.js +1 -0
  43. package/dist/config/validators/InputSidebarSchema.js.map +1 -1
  44. package/dist/config/validators/common.d.ts +5034 -0
  45. package/dist/config/validators/common.js +287 -0
  46. package/dist/config/validators/common.js.map +1 -0
  47. package/dist/config/validators/icon-types.d.ts +1 -0
  48. package/dist/config/validators/icon-types.js +2 -0
  49. package/dist/config/validators/icon-types.js.map +1 -0
  50. package/dist/config/validators/validate.d.ts +835 -526
  51. package/dist/config/validators/validate.js +9 -228
  52. package/dist/config/validators/validate.js.map +1 -1
  53. package/dist/lib/authentication/components/CallbackHandler.js +1 -1
  54. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  55. package/dist/lib/authentication/components/SignIn.js +1 -1
  56. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  57. package/dist/lib/authentication/components/SignOut.js +2 -2
  58. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  59. package/dist/lib/authentication/providers/auth0.js +1 -1
  60. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  61. package/dist/lib/authentication/providers/clerk.js +29 -6
  62. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  63. package/dist/lib/authentication/providers/openid.d.ts +8 -1
  64. package/dist/lib/authentication/providers/openid.js +21 -10
  65. package/dist/lib/authentication/providers/openid.js.map +1 -1
  66. package/dist/lib/components/AnchorLink.d.ts +1 -1
  67. package/dist/lib/components/AnchorLink.js +6 -3
  68. package/dist/lib/components/AnchorLink.js.map +1 -1
  69. package/dist/lib/components/Autocomplete.d.ts +12 -0
  70. package/dist/lib/components/Autocomplete.js +47 -0
  71. package/dist/lib/components/Autocomplete.js.map +1 -0
  72. package/dist/lib/components/Bootstrap.d.ts +1 -2
  73. package/dist/lib/components/Bootstrap.js +3 -3
  74. package/dist/lib/components/Bootstrap.js.map +1 -1
  75. package/dist/lib/components/Header.js +15 -15
  76. package/dist/lib/components/Header.js.map +1 -1
  77. package/dist/lib/components/Heading.d.ts +4 -4
  78. package/dist/lib/components/Heading.js +1 -1
  79. package/dist/lib/components/Heading.js.map +1 -1
  80. package/dist/lib/components/Layout.js +4 -3
  81. package/dist/lib/components/Layout.js.map +1 -1
  82. package/dist/lib/components/Markdown.d.ts +2 -2
  83. package/dist/lib/components/Markdown.js +4 -2
  84. package/dist/lib/components/Markdown.js.map +1 -1
  85. package/dist/lib/components/MobileTopNavigation.js +1 -1
  86. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  87. package/dist/lib/components/NotFoundPage.js +1 -1
  88. package/dist/lib/components/NotFoundPage.js.map +1 -1
  89. package/dist/lib/components/ReactMarkdown.d.ts +29 -0
  90. package/dist/lib/components/ReactMarkdown.js +182 -0
  91. package/dist/lib/components/ReactMarkdown.js.map +1 -0
  92. package/dist/lib/components/Search.d.ts +3 -1
  93. package/dist/lib/components/Search.js +3 -3
  94. package/dist/lib/components/Search.js.map +1 -1
  95. package/dist/lib/components/SlotletProvider.d.ts +2 -2
  96. package/dist/lib/components/StatusPage.d.ts +7 -0
  97. package/dist/lib/components/StatusPage.js +71 -0
  98. package/dist/lib/components/StatusPage.js.map +1 -0
  99. package/dist/lib/components/SyntaxHighlight.d.ts +2 -1
  100. package/dist/lib/components/SyntaxHighlight.js +2 -6
  101. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  102. package/dist/lib/components/ThemeSwitch.js +4 -4
  103. package/dist/lib/components/ThemeSwitch.js.map +1 -1
  104. package/dist/lib/components/TopNavigation.d.ts +1 -1
  105. package/dist/lib/components/TopNavigation.js +3 -3
  106. package/dist/lib/components/TopNavigation.js.map +1 -1
  107. package/dist/lib/components/Zudoku.js +1 -1
  108. package/dist/lib/components/Zudoku.js.map +1 -1
  109. package/dist/lib/components/cache.d.ts +6 -0
  110. package/dist/lib/components/cache.js +13 -0
  111. package/dist/lib/components/cache.js.map +1 -0
  112. package/dist/lib/components/context/ViewportAnchorContext.js +16 -4
  113. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  114. package/dist/lib/components/context/ZudokuContext.js +3 -2
  115. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  116. package/dist/lib/components/index.d.ts +26 -15
  117. package/dist/lib/components/index.js +10 -3
  118. package/dist/lib/components/index.js.map +1 -1
  119. package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
  120. package/dist/lib/components/navigation/Sidebar.js +2 -2
  121. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  122. package/dist/lib/components/navigation/SidebarBadge.d.ts +4 -3
  123. package/dist/lib/components/navigation/SidebarBadge.js +11 -11
  124. package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
  125. package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -2
  126. package/dist/lib/components/navigation/SidebarCategory.js +5 -6
  127. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  128. package/dist/lib/components/navigation/SidebarItem.d.ts +2 -4
  129. package/dist/lib/components/navigation/SidebarItem.js +7 -12
  130. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  131. package/dist/lib/components/navigation/SidebarWrapper.js +1 -1
  132. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  133. package/dist/lib/components/navigation/utils.js +1 -1
  134. package/dist/lib/components/navigation/utils.js.map +1 -1
  135. package/dist/lib/core/RouteGuard.d.ts +1 -0
  136. package/dist/lib/core/RouteGuard.js +28 -0
  137. package/dist/lib/core/RouteGuard.js.map +1 -0
  138. package/dist/lib/core/ZudokuContext.d.ts +5 -3
  139. package/dist/lib/core/ZudokuContext.js +9 -7
  140. package/dist/lib/core/ZudokuContext.js.map +1 -1
  141. package/dist/lib/core/plugins.d.ts +3 -5
  142. package/dist/lib/core/plugins.js.map +1 -1
  143. package/dist/lib/errors/RouterError.js +1 -1
  144. package/dist/lib/errors/RouterError.js.map +1 -1
  145. package/dist/lib/oas/graphql/circular.d.ts +3 -0
  146. package/dist/lib/oas/graphql/circular.js +27 -0
  147. package/dist/lib/oas/graphql/circular.js.map +1 -0
  148. package/dist/lib/oas/graphql/index.d.ts +3 -0
  149. package/dist/lib/oas/graphql/index.js +37 -23
  150. package/dist/lib/oas/graphql/index.js.map +1 -1
  151. package/dist/lib/oas/parser/dereference/index.js +6 -3
  152. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  153. package/dist/lib/oas/parser/upgrade/index.d.ts +2 -2
  154. package/dist/lib/oas/parser/upgrade/index.js +19 -22
  155. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  156. package/dist/lib/plugins/api-catalog/Catalog.d.ts +2 -0
  157. package/dist/lib/plugins/api-catalog/Catalog.js +36 -0
  158. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
  159. package/dist/lib/plugins/api-catalog/index.d.ts +30 -0
  160. package/dist/lib/plugins/api-catalog/index.js +15 -0
  161. package/dist/lib/plugins/api-catalog/index.js.map +1 -0
  162. package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
  163. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  164. package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
  165. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  166. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +1 -1
  167. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  168. package/dist/lib/plugins/markdown/MdxPage.d.ts +9 -1
  169. package/dist/lib/plugins/markdown/MdxPage.js +22 -3
  170. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  171. package/dist/lib/plugins/markdown/index.d.ts +3 -1
  172. package/dist/lib/plugins/markdown/index.js +1 -1
  173. package/dist/lib/plugins/markdown/index.js.map +1 -1
  174. package/dist/lib/plugins/markdown/resolver.js.map +1 -1
  175. package/dist/lib/plugins/openapi/CollapsibleCode.js +2 -1
  176. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
  177. package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
  178. package/dist/lib/plugins/openapi/ColorizedParam.js +16 -7
  179. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  180. package/dist/lib/plugins/openapi/Endpoint.d.ts +1 -1
  181. package/dist/lib/plugins/openapi/Endpoint.js +3 -1
  182. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  183. package/dist/lib/plugins/openapi/OperationList.js +27 -3
  184. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  185. package/dist/lib/plugins/openapi/OperationListItem.d.ts +2 -1
  186. package/dist/lib/plugins/openapi/OperationListItem.js +14 -4
  187. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  188. package/dist/lib/plugins/openapi/ParameterListItem.js +3 -2
  189. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  190. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +3 -1
  191. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +5 -2
  192. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  193. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +4 -5
  194. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +4 -14
  195. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  196. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +7 -13
  197. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  198. package/dist/lib/plugins/openapi/Route.d.ts +4 -2
  199. package/dist/lib/plugins/openapi/Route.js +22 -2
  200. package/dist/lib/plugins/openapi/Route.js.map +1 -1
  201. package/dist/lib/plugins/openapi/Sidecar.js +14 -21
  202. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  203. package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
  204. package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
  205. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +9 -0
  206. package/dist/lib/plugins/openapi/SidecarExamples.js +65 -0
  207. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
  208. package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +1 -1
  209. package/dist/lib/plugins/openapi/client/GraphQLClient.js +22 -81
  210. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
  211. package/dist/lib/plugins/openapi/client/createServer.d.ts +2 -1
  212. package/dist/lib/plugins/openapi/client/createServer.js +5 -2
  213. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  214. package/dist/lib/plugins/openapi/context.d.ts +3 -3
  215. package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
  216. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  217. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  218. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +2 -0
  219. package/dist/lib/plugins/openapi/graphql/graphql.js +1 -0
  220. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  221. package/dist/lib/plugins/openapi/index.d.ts +2 -1
  222. package/dist/lib/plugins/openapi/index.js +23 -28
  223. package/dist/lib/plugins/openapi/index.js.map +1 -1
  224. package/dist/lib/plugins/openapi/interfaces.d.ts +26 -2
  225. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
  226. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +12 -0
  227. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
  228. package/dist/lib/plugins/openapi/playground/Headers.js +67 -4
  229. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  230. package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +5 -0
  231. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +4 -0
  232. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
  233. package/dist/lib/plugins/openapi/playground/PathParams.js +4 -7
  234. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  235. package/dist/lib/plugins/openapi/playground/Playground.d.ts +21 -1
  236. package/dist/lib/plugins/openapi/playground/Playground.js +57 -41
  237. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  238. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  239. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  240. package/dist/lib/plugins/openapi/playground/QueryParams.js +20 -14
  241. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  242. package/dist/lib/plugins/openapi/playground/SubmitButton.d.ts +7 -0
  243. package/dist/lib/plugins/openapi/playground/SubmitButton.js +22 -0
  244. package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +1 -0
  245. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.d.ts +7 -0
  246. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +11 -0
  247. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +1 -0
  248. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +8 -0
  249. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +95 -0
  250. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
  251. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +7 -0
  252. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +16 -0
  253. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
  254. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
  255. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
  256. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
  257. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.d.ts +1 -0
  258. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
  259. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
  260. package/dist/lib/plugins/openapi/post-processors/removeExtensions.d.ts +7 -0
  261. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js +16 -0
  262. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js.map +1 -0
  263. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.d.ts +1 -0
  264. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js +174 -0
  265. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js.map +1 -0
  266. package/dist/lib/plugins/openapi/post-processors/removeParameters.d.ts +10 -0
  267. package/dist/lib/plugins/openapi/post-processors/removeParameters.js +66 -0
  268. package/dist/lib/plugins/openapi/post-processors/removeParameters.js.map +1 -0
  269. package/dist/lib/plugins/openapi/post-processors/removeParameters.test.d.ts +1 -0
  270. package/dist/lib/plugins/openapi/post-processors/removeParameters.test.js +131 -0
  271. package/dist/lib/plugins/openapi/post-processors/removeParameters.test.js.map +1 -0
  272. package/dist/lib/plugins/openapi/post-processors/removePaths.d.ts +11 -0
  273. package/dist/lib/plugins/openapi/post-processors/removePaths.js +33 -0
  274. package/dist/lib/plugins/openapi/post-processors/removePaths.js.map +1 -0
  275. package/dist/lib/plugins/openapi/post-processors/removePaths.test.d.ts +1 -0
  276. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js +104 -0
  277. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js.map +1 -0
  278. package/dist/lib/plugins/openapi/post-processors/traverse.d.ts +1 -0
  279. package/dist/lib/plugins/openapi/post-processors/traverse.js +2 -0
  280. package/dist/lib/plugins/openapi/post-processors/traverse.js.map +1 -0
  281. package/dist/lib/plugins/openapi/schema/SchemaComponents.js +9 -2
  282. package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +1 -1
  283. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +19 -11
  284. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  285. package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
  286. package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
  287. package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
  288. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
  289. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
  290. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
  291. package/dist/lib/plugins/redirect/index.d.ts +1 -1
  292. package/dist/lib/plugins/redirect/index.js +1 -1
  293. package/dist/lib/plugins/redirect/index.js.map +1 -1
  294. package/dist/lib/plugins/search-inkeep/index.d.ts +22 -3
  295. package/dist/lib/plugins/search-inkeep/index.js +41 -5
  296. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  297. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +3 -4
  298. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  299. package/dist/lib/ui/Badge.d.ts +1 -1
  300. package/dist/lib/ui/Badge.js +2 -1
  301. package/dist/lib/ui/Badge.js.map +1 -1
  302. package/dist/lib/ui/Button.d.ts +1 -1
  303. package/dist/lib/ui/Card.js +1 -1
  304. package/dist/lib/ui/Card.js.map +1 -1
  305. package/dist/lib/ui/Checkbox.d.ts +8 -2
  306. package/dist/lib/ui/Checkbox.js +13 -1
  307. package/dist/lib/ui/Checkbox.js.map +1 -1
  308. package/dist/lib/ui/Command.d.ts +10 -2
  309. package/dist/lib/ui/Command.js +5 -1
  310. package/dist/lib/ui/Command.js.map +1 -1
  311. package/dist/lib/ui/Select.js +2 -2
  312. package/dist/lib/ui/Select.js.map +1 -1
  313. package/dist/lib/util/MdxComponents.d.ts +18 -19
  314. package/dist/lib/util/MdxComponents.js +3 -5
  315. package/dist/lib/util/MdxComponents.js.map +1 -1
  316. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  317. package/dist/lib/util/joinUrl.d.ts +1 -0
  318. package/dist/lib/util/joinUrl.js +40 -0
  319. package/dist/lib/util/joinUrl.js.map +1 -0
  320. package/dist/lib/util/traverse.d.ts +9 -0
  321. package/dist/lib/util/traverse.js +22 -0
  322. package/dist/lib/util/traverse.js.map +1 -0
  323. package/dist/lib/util/useExposedProps.js +1 -1
  324. package/dist/lib/util/useExposedProps.js.map +1 -1
  325. package/dist/lib/util/useOnScreen.d.ts +1 -1
  326. package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
  327. package/dist/lib/util/useScrollToAnchor.js +27 -16
  328. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  329. package/dist/lib/util/useScrollToTop.js +1 -1
  330. package/dist/lib/util/useScrollToTop.js.map +1 -1
  331. package/dist/vite/api/schema-codegen.d.ts +12 -0
  332. package/dist/vite/api/schema-codegen.js +62 -0
  333. package/dist/vite/api/schema-codegen.js.map +1 -0
  334. package/dist/vite/api/schema-codegen.test.d.ts +1 -0
  335. package/dist/vite/api/schema-codegen.test.js +247 -0
  336. package/dist/vite/api/schema-codegen.test.js.map +1 -0
  337. package/dist/vite/build.js +24 -10
  338. package/dist/vite/build.js.map +1 -1
  339. package/dist/vite/config.d.ts +6 -4
  340. package/dist/vite/config.js +83 -30
  341. package/dist/vite/config.js.map +1 -1
  342. package/dist/vite/config.test.js +11 -5
  343. package/dist/vite/config.test.js.map +1 -1
  344. package/dist/vite/css/collect.d.ts +2 -0
  345. package/dist/vite/css/collect.js +27 -0
  346. package/dist/vite/css/collect.js.map +1 -0
  347. package/dist/vite/css/plugin.d.ts +5 -0
  348. package/dist/vite/css/plugin.js +79 -0
  349. package/dist/vite/css/plugin.js.map +1 -0
  350. package/dist/vite/dev-server.d.ts +1 -0
  351. package/dist/vite/dev-server.js +26 -6
  352. package/dist/vite/dev-server.js.map +1 -1
  353. package/dist/vite/output.d.ts +1 -1
  354. package/dist/vite/output.js +39 -10
  355. package/dist/vite/output.js.map +1 -1
  356. package/dist/vite/plugin-api.d.ts +1 -1
  357. package/dist/vite/plugin-api.js +154 -22
  358. package/dist/vite/plugin-api.js.map +1 -1
  359. package/dist/vite/plugin-auth.js +4 -1
  360. package/dist/vite/plugin-auth.js.map +1 -1
  361. package/dist/vite/plugin-component.js +14 -19
  362. package/dist/vite/plugin-component.js.map +1 -1
  363. package/dist/vite/plugin-config-reload.d.ts +1 -2
  364. package/dist/vite/plugin-config-reload.js.map +1 -1
  365. package/dist/vite/plugin-config.js +20 -0
  366. package/dist/vite/plugin-config.js.map +1 -1
  367. package/dist/vite/plugin-docs.test.js +15 -23
  368. package/dist/vite/plugin-docs.test.js.map +1 -1
  369. package/dist/vite/plugin-mdx.js +69 -8
  370. package/dist/vite/plugin-mdx.js.map +1 -1
  371. package/dist/vite/{plugin-custom-css.d.ts → plugin-theme-css.d.ts} +2 -2
  372. package/dist/vite/plugin-theme-css.js +114 -0
  373. package/dist/vite/plugin-theme-css.js.map +1 -0
  374. package/dist/vite/plugin.d.ts +1 -2
  375. package/dist/vite/plugin.js +6 -2
  376. package/dist/vite/plugin.js.map +1 -1
  377. package/dist/vite/prerender.d.ts +3 -2
  378. package/dist/vite/prerender.js +6 -5
  379. package/dist/vite/prerender.js.map +1 -1
  380. package/dist/vite/sitemap.d.ts +1 -1
  381. package/dist/zuplo/enrich-with-zuplo.d.ts +5 -0
  382. package/dist/zuplo/enrich-with-zuplo.js +184 -0
  383. package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
  384. package/dist/zuplo/env.d.ts +7 -0
  385. package/dist/zuplo/env.js +12 -0
  386. package/dist/zuplo/env.js.map +1 -0
  387. package/dist/zuplo/policy-types.d.ts +33 -0
  388. package/dist/zuplo/policy-types.js +8 -0
  389. package/dist/zuplo/policy-types.js.map +1 -0
  390. package/dist/zuplo/with-zuplo-processors.d.ts +3 -0
  391. package/dist/zuplo/with-zuplo-processors.js +26 -0
  392. package/dist/zuplo/with-zuplo-processors.js.map +1 -0
  393. package/dist/zuplo/with-zuplo.d.ts +3 -0
  394. package/dist/zuplo/with-zuplo.js +9 -0
  395. package/dist/zuplo/with-zuplo.js.map +1 -0
  396. package/lib/AuthenticationPlugin-CO_YCd2x.js +58 -0
  397. package/lib/AuthenticationPlugin-CO_YCd2x.js.map +1 -0
  398. package/lib/{CategoryHeading-Bb9dqxD3.js → CategoryHeading-MYL1u_6K.js} +3 -3
  399. package/lib/{CategoryHeading-Bb9dqxD3.js.map → CategoryHeading-MYL1u_6K.js.map} +1 -1
  400. package/lib/ClientOnly-E7hGysn1.js.map +1 -1
  401. package/lib/{Markdown-ievDDhFT.js → Markdown-B8o9Qz4q.js} +13430 -13409
  402. package/lib/Markdown-B8o9Qz4q.js.map +1 -0
  403. package/lib/MdxPage-BxRt3Ly7.js +193 -0
  404. package/lib/MdxPage-BxRt3Ly7.js.map +1 -0
  405. package/lib/OperationList-DH-zIgtq.js +5160 -0
  406. package/lib/OperationList-DH-zIgtq.js.map +1 -0
  407. package/lib/Route-DJ0ZlVq1.js +35 -0
  408. package/lib/Route-DJ0ZlVq1.js.map +1 -0
  409. package/lib/Select-B7UXR0SB.js +223 -0
  410. package/lib/Select-B7UXR0SB.js.map +1 -0
  411. package/lib/SlotletProvider-CtIp8rP3.js +221 -0
  412. package/lib/SlotletProvider-CtIp8rP3.js.map +1 -0
  413. package/lib/{Button-jK0EsymC.js → Spinner-BlzrEEk1.js} +17 -14
  414. package/lib/Spinner-BlzrEEk1.js.map +1 -0
  415. package/lib/StaggeredRender-DgsamH_G.js +17 -0
  416. package/lib/StaggeredRender-DgsamH_G.js.map +1 -0
  417. package/lib/{SyntaxHighlight-DkLOsjHS.js → SyntaxHighlight-C1w1QPdY.js} +385 -388
  418. package/lib/{SyntaxHighlight-DkLOsjHS.js.map → SyntaxHighlight-C1w1QPdY.js.map} +1 -1
  419. package/lib/{utils-DcpDOncX.js → ZudokuContext-8jts0fF3.js} +487 -476
  420. package/lib/ZudokuContext-8jts0fF3.js.map +1 -0
  421. package/lib/chunk-SYFQ2XB5-BPvC-soB.js +1821 -0
  422. package/lib/chunk-SYFQ2XB5-BPvC-soB.js.map +1 -0
  423. package/lib/circular-Dgpd6AN-.js +15397 -0
  424. package/lib/circular-Dgpd6AN-.js.map +1 -0
  425. package/lib/{cn-BmFQLtkS.js → cn-qaFjX9_3.js} +2 -2
  426. package/lib/cn-qaFjX9_3.js.map +1 -0
  427. package/lib/context-rwLGh-6_.js +22 -0
  428. package/lib/context-rwLGh-6_.js.map +1 -0
  429. package/lib/createServer-BV0tHzLK.js +12590 -0
  430. package/lib/createServer-BV0tHzLK.js.map +1 -0
  431. package/lib/{hook-hEqe7fPB.js → hook-BG02esyv.js} +17 -17
  432. package/lib/{hook-hEqe7fPB.js.map → hook-BG02esyv.js.map} +1 -1
  433. package/lib/index-B7mqiOei.js +509 -0
  434. package/lib/index-B7mqiOei.js.map +1 -0
  435. package/lib/index-Djenk2Hj.js +36 -0
  436. package/lib/index-Djenk2Hj.js.map +1 -0
  437. package/lib/{index-CkwDvuPt.js → index-Dl3Yl0yb.js} +303 -286
  438. package/lib/index-Dl3Yl0yb.js.map +1 -0
  439. package/lib/index-DmqsUPcm.js +1915 -0
  440. package/lib/index-DmqsUPcm.js.map +1 -0
  441. package/lib/index-LNp6rxyU.js.map +1 -1
  442. package/lib/index.esm-9-TF9KQB.js +692 -0
  443. package/lib/index.esm-9-TF9KQB.js.map +1 -0
  444. package/lib/index.esm-CrSoEshU.js +1207 -0
  445. package/lib/index.esm-CrSoEshU.js.map +1 -0
  446. package/lib/invariant-Caa8-XvF.js.map +1 -1
  447. package/lib/joinUrl-BTy9bvoK.js +20 -0
  448. package/lib/joinUrl-BTy9bvoK.js.map +1 -0
  449. package/lib/jsx-runtime-Bdg6XQ1m.js +446 -0
  450. package/lib/jsx-runtime-Bdg6XQ1m.js.map +1 -0
  451. package/lib/post-processors/removeExtensions.js +11 -0
  452. package/lib/post-processors/removeExtensions.js.map +1 -0
  453. package/lib/post-processors/removeParameters.js +48 -0
  454. package/lib/post-processors/removeParameters.js.map +1 -0
  455. package/lib/post-processors/removePaths.js +28 -0
  456. package/lib/post-processors/removePaths.js.map +1 -0
  457. package/lib/post-processors/traverse.js +15 -0
  458. package/lib/post-processors/traverse.js.map +1 -0
  459. package/lib/{prism-bash.min-DadFsM4Z.js → prism-bash.min-HHIMdNJ_.js} +4 -4
  460. package/lib/{prism-bash.min-DadFsM4Z.js.map → prism-bash.min-HHIMdNJ_.js.map} +1 -1
  461. package/lib/prism-csharp.min-bQAo2pmx.js +63 -0
  462. package/lib/{prism-csharp.min-Yizuc34Y.js.map → prism-csharp.min-bQAo2pmx.js.map} +1 -1
  463. package/lib/prism-java.min-BpvsOuIa.js +35 -0
  464. package/lib/{prism-java.min-d5iT_mOd.js.map → prism-java.min-BpvsOuIa.js.map} +1 -1
  465. package/lib/{prism-markdown.min-F3U-vPBi.js → prism-markdown.min-C0Qn0m-5.js} +30 -30
  466. package/lib/{prism-markdown.min-F3U-vPBi.js.map → prism-markdown.min-C0Qn0m-5.js.map} +1 -1
  467. package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
  468. package/lib/prism-ruby.min-Dx9KO9ds.js +38 -0
  469. package/lib/{prism-ruby.min-C7LwcKyz.js.map → prism-ruby.min-Dx9KO9ds.js.map} +1 -1
  470. package/lib/prism-typescript.min-CD7H2IYQ.js +34 -0
  471. package/lib/{prism-typescript.min-oSVeWCAd.js.map → prism-typescript.min-CD7H2IYQ.js.map} +1 -1
  472. package/lib/state-mM7uaXTW.js +202 -0
  473. package/lib/state-mM7uaXTW.js.map +1 -0
  474. package/lib/ui/Accordion.js +2 -2
  475. package/lib/ui/Accordion.js.map +1 -1
  476. package/lib/ui/ActionButton.js +10 -11
  477. package/lib/ui/ActionButton.js.map +1 -1
  478. package/lib/ui/Alert.js +3 -3
  479. package/lib/ui/Alert.js.map +1 -1
  480. package/lib/ui/AlertDialog.js +2 -2
  481. package/lib/ui/AlertDialog.js.map +1 -1
  482. package/lib/ui/Badge.js +5 -4
  483. package/lib/ui/Badge.js.map +1 -1
  484. package/lib/ui/Breadcrumb.js +2 -2
  485. package/lib/ui/Breadcrumb.js.map +1 -1
  486. package/lib/ui/Button.js +3 -3
  487. package/lib/ui/Button.js.map +1 -1
  488. package/lib/ui/Callout.js +2 -2
  489. package/lib/ui/Callout.js.map +1 -1
  490. package/lib/ui/Card.js +9 -9
  491. package/lib/ui/Card.js.map +1 -1
  492. package/lib/ui/Carousel.js +408 -402
  493. package/lib/ui/Carousel.js.map +1 -1
  494. package/lib/ui/Checkbox.js +26 -15
  495. package/lib/ui/Checkbox.js.map +1 -1
  496. package/lib/ui/Command.js +80 -501
  497. package/lib/ui/Command.js.map +1 -1
  498. package/lib/ui/Dialog.js +2 -2
  499. package/lib/ui/Dialog.js.map +1 -1
  500. package/lib/ui/Drawer.js +515 -514
  501. package/lib/ui/Drawer.js.map +1 -1
  502. package/lib/ui/DropdownMenu.js +2 -2
  503. package/lib/ui/DropdownMenu.js.map +1 -1
  504. package/lib/ui/Form.js +3 -3
  505. package/lib/ui/Form.js.map +1 -1
  506. package/lib/ui/HoverCard.js +2 -2
  507. package/lib/ui/Input.js +2 -2
  508. package/lib/ui/Input.js.map +1 -1
  509. package/lib/ui/Label.js +3 -3
  510. package/lib/ui/Pagination.js +8 -8
  511. package/lib/ui/Pagination.js.map +1 -1
  512. package/lib/ui/Popover.js +2 -2
  513. package/lib/ui/Popover.js.map +1 -1
  514. package/lib/ui/Progress.js +2 -2
  515. package/lib/ui/Progress.js.map +1 -1
  516. package/lib/ui/RadioGroup.js +2 -2
  517. package/lib/ui/RadioGroup.js.map +1 -1
  518. package/lib/ui/ScrollArea.js +2 -2
  519. package/lib/ui/ScrollArea.js.map +1 -1
  520. package/lib/ui/Select.js +4 -4
  521. package/lib/ui/Select.js.map +1 -1
  522. package/lib/ui/Skeleton.js +2 -2
  523. package/lib/ui/Skeleton.js.map +1 -1
  524. package/lib/ui/Slider.js +2 -2
  525. package/lib/ui/Switch.js +2 -2
  526. package/lib/ui/Switch.js.map +1 -1
  527. package/lib/ui/Tabs.js +2 -2
  528. package/lib/ui/Textarea.js +2 -2
  529. package/lib/ui/Textarea.js.map +1 -1
  530. package/lib/ui/Toggle.js +3 -3
  531. package/lib/ui/Toggle.js.map +1 -1
  532. package/lib/ui/ToggleGroup.js +2 -2
  533. package/lib/ui/ToggleGroup.js.map +1 -1
  534. package/lib/ui/Tooltip.js +2 -2
  535. package/lib/useExposedProps-BLKFBylA.js +9 -0
  536. package/lib/useExposedProps-BLKFBylA.js.map +1 -0
  537. package/lib/useScrollToAnchor-Bl6mz9_x.js +288 -0
  538. package/lib/useScrollToAnchor-Bl6mz9_x.js.map +1 -0
  539. package/lib/zudoku.auth-auth0.js +8 -10
  540. package/lib/zudoku.auth-auth0.js.map +1 -1
  541. package/lib/zudoku.auth-clerk.js +79 -51
  542. package/lib/zudoku.auth-clerk.js.map +1 -1
  543. package/lib/zudoku.auth-openid.js +398 -385
  544. package/lib/zudoku.auth-openid.js.map +1 -1
  545. package/lib/zudoku.components.js +808 -1245
  546. package/lib/zudoku.components.js.map +1 -1
  547. package/lib/zudoku.plugin-api-catalog.js +123 -0
  548. package/lib/zudoku.plugin-api-catalog.js.map +1 -0
  549. package/lib/zudoku.plugin-api-keys.js +15 -16
  550. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  551. package/lib/zudoku.plugin-custom-pages.js +4 -4
  552. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  553. package/lib/zudoku.plugin-markdown.js +16 -15
  554. package/lib/zudoku.plugin-markdown.js.map +1 -1
  555. package/lib/zudoku.plugin-openapi.js +5 -5
  556. package/lib/zudoku.plugin-redirect.js +1 -1
  557. package/lib/zudoku.plugin-redirect.js.map +1 -1
  558. package/lib/zudoku.plugin-search-inkeep.js +53 -24
  559. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  560. package/package.json +101 -84
  561. package/src/app/demo.tsx +1 -2
  562. package/src/app/entry.client.tsx +16 -15
  563. package/src/app/entry.server.tsx +3 -2
  564. package/src/app/main.css +57 -44
  565. package/src/app/main.tsx +32 -9
  566. package/src/app/sentry.ts +24 -0
  567. package/src/app/standalone.tsx +1 -2
  568. package/src/app/tailwind.ts +67 -52
  569. package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
  570. package/src/lib/authentication/components/SignIn.tsx +1 -1
  571. package/src/lib/authentication/components/SignOut.tsx +3 -2
  572. package/src/lib/authentication/providers/auth0.tsx +1 -4
  573. package/src/lib/authentication/providers/clerk.tsx +38 -7
  574. package/src/lib/authentication/providers/openid.tsx +31 -12
  575. package/src/lib/components/AnchorLink.tsx +6 -3
  576. package/src/lib/components/Autocomplete.tsx +111 -0
  577. package/src/lib/components/Bootstrap.tsx +4 -6
  578. package/src/lib/components/Header.tsx +14 -10
  579. package/src/lib/components/Heading.tsx +13 -13
  580. package/src/lib/components/Layout.tsx +10 -5
  581. package/src/lib/components/Markdown.tsx +15 -16
  582. package/src/lib/components/MobileTopNavigation.tsx +18 -18
  583. package/src/lib/components/NotFoundPage.tsx +1 -1
  584. package/src/lib/components/ReactMarkdown.license.txt +21 -0
  585. package/src/lib/components/ReactMarkdown.tsx +264 -0
  586. package/src/lib/components/Search.tsx +3 -3
  587. package/src/lib/components/SlotletProvider.tsx +1 -1
  588. package/src/lib/components/StatusPage.tsx +91 -0
  589. package/src/lib/components/SyntaxHighlight.tsx +14 -4
  590. package/src/lib/components/ThemeSwitch.tsx +14 -15
  591. package/src/lib/components/TopNavigation.tsx +4 -4
  592. package/src/lib/components/Zudoku.tsx +1 -1
  593. package/src/lib/components/cache.ts +15 -0
  594. package/src/lib/components/context/ViewportAnchorContext.tsx +20 -6
  595. package/src/lib/components/context/ZudokuContext.ts +4 -2
  596. package/src/lib/components/index.ts +15 -4
  597. package/src/lib/components/navigation/Sidebar.tsx +18 -8
  598. package/src/lib/components/navigation/SidebarBadge.tsx +13 -11
  599. package/src/lib/components/navigation/SidebarCategory.tsx +8 -11
  600. package/src/lib/components/navigation/SidebarItem.tsx +12 -15
  601. package/src/lib/components/navigation/SidebarWrapper.tsx +3 -2
  602. package/src/lib/components/navigation/utils.ts +1 -1
  603. package/src/lib/core/RouteGuard.tsx +35 -0
  604. package/src/lib/core/ZudokuContext.ts +10 -9
  605. package/src/lib/core/plugins.ts +3 -7
  606. package/src/lib/errors/RouterError.tsx +1 -1
  607. package/src/lib/oas/graphql/circular.ts +29 -0
  608. package/src/lib/oas/graphql/index.ts +48 -32
  609. package/src/lib/oas/parser/dereference/index.ts +8 -4
  610. package/src/lib/oas/parser/upgrade/index.ts +22 -30
  611. package/src/lib/plugins/api-catalog/Catalog.tsx +123 -0
  612. package/src/lib/plugins/api-catalog/index.tsx +64 -0
  613. package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
  614. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
  615. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
  616. package/src/lib/plugins/api-keys/index.tsx +1 -1
  617. package/src/lib/plugins/custom-pages/index.tsx +1 -1
  618. package/src/lib/plugins/markdown/MdxPage.tsx +36 -2
  619. package/src/lib/plugins/markdown/index.tsx +5 -2
  620. package/src/lib/plugins/markdown/resolver.ts +2 -4
  621. package/src/lib/plugins/openapi/CollapsibleCode.tsx +10 -7
  622. package/src/lib/plugins/openapi/ColorizedParam.tsx +29 -12
  623. package/src/lib/plugins/openapi/Endpoint.tsx +3 -3
  624. package/src/lib/plugins/openapi/OperationList.tsx +68 -8
  625. package/src/lib/plugins/openapi/OperationListItem.tsx +33 -4
  626. package/src/lib/plugins/openapi/ParameterListItem.tsx +6 -7
  627. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +7 -0
  628. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +14 -39
  629. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +46 -63
  630. package/src/lib/plugins/openapi/Route.tsx +41 -9
  631. package/src/lib/plugins/openapi/Sidecar.tsx +23 -30
  632. package/src/lib/plugins/openapi/SidecarBox.tsx +4 -16
  633. package/src/lib/plugins/openapi/SidecarExamples.tsx +163 -0
  634. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +28 -103
  635. package/src/lib/plugins/openapi/client/createServer.ts +6 -2
  636. package/src/lib/plugins/openapi/context.tsx +2 -2
  637. package/src/lib/plugins/openapi/graphql/gql.ts +2 -2
  638. package/src/lib/plugins/openapi/graphql/graphql.ts +3 -0
  639. package/src/lib/plugins/openapi/index.tsx +49 -44
  640. package/src/lib/plugins/openapi/interfaces.ts +31 -2
  641. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +54 -0
  642. package/src/lib/plugins/openapi/playground/Headers.tsx +137 -39
  643. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +8 -0
  644. package/src/lib/plugins/openapi/playground/PathParams.tsx +30 -61
  645. package/src/lib/plugins/openapi/playground/Playground.tsx +244 -189
  646. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +2 -2
  647. package/src/lib/plugins/openapi/playground/QueryParams.tsx +77 -80
  648. package/src/lib/plugins/openapi/playground/SubmitButton.tsx +75 -0
  649. package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +73 -0
  650. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +210 -0
  651. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +101 -0
  652. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
  653. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
  654. package/src/lib/plugins/openapi/post-processors/removeExtensions.test.ts +202 -0
  655. package/src/lib/plugins/openapi/post-processors/removeExtensions.ts +27 -0
  656. package/src/lib/plugins/openapi/post-processors/removeParameters.test.ts +148 -0
  657. package/src/lib/plugins/openapi/post-processors/removeParameters.ts +101 -0
  658. package/src/lib/plugins/openapi/post-processors/removePaths.test.ts +126 -0
  659. package/src/lib/plugins/openapi/post-processors/removePaths.ts +55 -0
  660. package/src/lib/plugins/openapi/post-processors/traverse.ts +1 -0
  661. package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +29 -8
  662. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +26 -11
  663. package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
  664. package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
  665. package/src/lib/plugins/redirect/index.tsx +2 -2
  666. package/src/lib/plugins/search-inkeep/index.tsx +78 -23
  667. package/src/lib/plugins/search-inkeep/inkeep.ts +3 -9
  668. package/src/lib/ui/Badge.tsx +2 -1
  669. package/src/lib/ui/Card.tsx +1 -1
  670. package/src/lib/ui/Checkbox.tsx +24 -7
  671. package/src/lib/ui/Command.tsx +20 -0
  672. package/src/lib/ui/Select.tsx +1 -1
  673. package/src/lib/util/MdxComponents.tsx +5 -9
  674. package/src/lib/util/createVariantComponent.tsx +2 -2
  675. package/src/lib/util/joinUrl.ts +57 -0
  676. package/src/lib/util/traverse.ts +35 -0
  677. package/src/lib/util/useExposedProps.tsx +1 -1
  678. package/src/lib/util/useScrollToAnchor.ts +33 -16
  679. package/src/lib/util/useScrollToTop.ts +1 -1
  680. package/dist/lib/plugins/openapi/client/worker.d.ts +0 -4
  681. package/dist/lib/plugins/openapi/client/worker.js +0 -29
  682. package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
  683. package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +0 -4
  684. package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
  685. package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
  686. package/dist/lib/plugins/openapi-worker.d.ts +0 -1
  687. package/dist/lib/plugins/openapi-worker.js +0 -8
  688. package/dist/lib/plugins/openapi-worker.js.map +0 -1
  689. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
  690. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
  691. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
  692. package/dist/vite/plugin-custom-css.js +0 -55
  693. package/dist/vite/plugin-custom-css.js.map +0 -1
  694. package/lib/AnchorLink-CDlhr8gL.js +0 -706
  695. package/lib/AnchorLink-CDlhr8gL.js.map +0 -1
  696. package/lib/AuthenticationPlugin-D0Em0SwR.js +0 -59
  697. package/lib/AuthenticationPlugin-D0Em0SwR.js.map +0 -1
  698. package/lib/Button-jK0EsymC.js.map +0 -1
  699. package/lib/Dialog-k70Qfukb.js +0 -67
  700. package/lib/Dialog-k70Qfukb.js.map +0 -1
  701. package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
  702. package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
  703. package/lib/Markdown-ievDDhFT.js.map +0 -1
  704. package/lib/MdxPage-Bwn-VSsH.js +0 -174
  705. package/lib/MdxPage-Bwn-VSsH.js.map +0 -1
  706. package/lib/OperationList-BwBl1xrD.js +0 -4691
  707. package/lib/OperationList-BwBl1xrD.js.map +0 -1
  708. package/lib/Route-DlG_HTMu.js +0 -11
  709. package/lib/Route-DlG_HTMu.js.map +0 -1
  710. package/lib/Select-O9ZM3ZgX.js +0 -223
  711. package/lib/Select-O9ZM3ZgX.js.map +0 -1
  712. package/lib/SidebarBadge-DxFJcJ6V.js +0 -51
  713. package/lib/SidebarBadge-DxFJcJ6V.js.map +0 -1
  714. package/lib/SlotletProvider-DyomlzGx.js +0 -252
  715. package/lib/SlotletProvider-DyomlzGx.js.map +0 -1
  716. package/lib/Spinner-3cQDBVGr.js +0 -7
  717. package/lib/Spinner-3cQDBVGr.js.map +0 -1
  718. package/lib/assets/index-B_Jk_Yzp.js +0 -4820
  719. package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
  720. package/lib/assets/worker-CPsGZsve.js +0 -18201
  721. package/lib/assets/worker-CPsGZsve.js.map +0 -1
  722. package/lib/cn-BmFQLtkS.js.map +0 -1
  723. package/lib/context-D1nXWxm7.js +0 -22
  724. package/lib/context-D1nXWxm7.js.map +0 -1
  725. package/lib/createServer-DK-g7kbB.js +0 -16089
  726. package/lib/createServer-DK-g7kbB.js.map +0 -1
  727. package/lib/index-BuAyrJe3.js +0 -46
  728. package/lib/index-BuAyrJe3.js.map +0 -1
  729. package/lib/index-CkwDvuPt.js.map +0 -1
  730. package/lib/index-Czzd9rjU.js +0 -899
  731. package/lib/index-Czzd9rjU.js.map +0 -1
  732. package/lib/index-DNxQ_rCt.js +0 -1273
  733. package/lib/index-DNxQ_rCt.js.map +0 -1
  734. package/lib/index-Yn8c3UWE.js +0 -921
  735. package/lib/index-Yn8c3UWE.js.map +0 -1
  736. package/lib/index.esm-C5mr_sKO.js +0 -1193
  737. package/lib/index.esm-C5mr_sKO.js.map +0 -1
  738. package/lib/jsx-runtime-B6kdoens.js +0 -635
  739. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
  740. package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
  741. package/lib/prism-java.min-d5iT_mOd.js +0 -7
  742. package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
  743. package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
  744. package/lib/prism-php.min-o7FpoMP_.js +0 -11
  745. package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
  746. package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
  747. package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
  748. package/lib/router-lfyopgBI.js +0 -3024
  749. package/lib/router-lfyopgBI.js.map +0 -1
  750. package/lib/state-tsXBLONe.js +0 -203
  751. package/lib/state-tsXBLONe.js.map +0 -1
  752. package/lib/useExposedProps-CTPtylCV.js +0 -10
  753. package/lib/useExposedProps-CTPtylCV.js.map +0 -1
  754. package/lib/utils-DcpDOncX.js.map +0 -1
  755. package/lib/zudoku.openapi-worker.js +0 -15
  756. package/lib/zudoku.openapi-worker.js.map +0 -1
  757. package/src/lib/plugins/openapi/client/worker.ts +0 -44
  758. package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
  759. package/src/lib/plugins/openapi-worker.ts +0 -11
  760. package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
@@ -1,45 +1,45 @@
1
- import { j as I } from "./jsx-runtime-B6kdoens.js";
1
+ import { j as I } from "./jsx-runtime-Bdg6XQ1m.js";
2
2
  import * as _ from "react";
3
- import { createElement as we, useState as de, useRef as V, useEffect as Ee, useCallback as X, useMemo as xe } from "react";
4
- import { a as ge, c as ne } from "./cn-BmFQLtkS.js";
5
- import { CheckIcon as Se, CopyIcon as Ae } from "lucide-react";
6
- import { C as _e } from "./ClientOnly-E7hGysn1.js";
7
- var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties, Re = Object.getOwnPropertyDescriptor, Ie = Object.getOwnPropertyDescriptors, ye = Object.getOwnPropertyNames, Z = Object.getOwnPropertySymbols, Le = Object.getPrototypeOf, J = Object.prototype.hasOwnProperty, fe = Object.prototype.propertyIsEnumerable, re = (e, t, a) => t in e ? W(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, B = (e, t) => {
3
+ import { createElement as he, useCallback as V, useMemo as ve, useState as ke } from "react";
4
+ import { a as ce, c as ae } from "./cn-qaFjX9_3.js";
5
+ import { CheckIcon as we, CopyIcon as Ee } from "lucide-react";
6
+ import { C as xe } from "./ClientOnly-E7hGysn1.js";
7
+ var Se = Object.create, W = Object.defineProperty, Ae = Object.defineProperties, _e = Object.getOwnPropertyDescriptor, Fe = Object.getOwnPropertyDescriptors, pe = Object.getOwnPropertyNames, Z = Object.getOwnPropertySymbols, Te = Object.getPrototypeOf, Q = Object.prototype.hasOwnProperty, de = Object.prototype.propertyIsEnumerable, ne = (e, t, a) => t in e ? W(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, B = (e, t) => {
8
8
  for (var a in t || (t = {}))
9
- J.call(t, a) && re(e, a, t[a]);
9
+ Q.call(t, a) && ne(e, a, t[a]);
10
10
  if (Z)
11
11
  for (var a of Z(t))
12
- fe.call(t, a) && re(e, a, t[a]);
12
+ de.call(t, a) && ne(e, a, t[a]);
13
13
  return e;
14
- }, q = (e, t) => Te(e, Ie(t)), be = (e, t) => {
14
+ }, q = (e, t) => Ae(e, Fe(t)), ge = (e, t) => {
15
15
  var a = {};
16
16
  for (var l in e)
17
- J.call(e, l) && t.indexOf(l) < 0 && (a[l] = e[l]);
17
+ Q.call(e, l) && t.indexOf(l) < 0 && (a[l] = e[l]);
18
18
  if (e != null && Z)
19
19
  for (var l of Z(e))
20
- t.indexOf(l) < 0 && fe.call(e, l) && (a[l] = e[l]);
20
+ t.indexOf(l) < 0 && de.call(e, l) && (a[l] = e[l]);
21
21
  return a;
22
- }, Oe = (e, t) => function() {
23
- return t || (0, e[ye(e)[0]])((t = { exports: {} }).exports, t), t.exports;
24
- }, Ce = (e, t) => {
22
+ }, Re = (e, t) => function() {
23
+ return t || (0, e[pe(e)[0]])((t = { exports: {} }).exports, t), t.exports;
24
+ }, Ie = (e, t) => {
25
25
  for (var a in t)
26
26
  W(e, a, { get: t[a], enumerable: !0 });
27
- }, Ne = (e, t, a, l) => {
27
+ }, Le = (e, t, a, l) => {
28
28
  if (t && typeof t == "object" || typeof t == "function")
29
- for (let p of ye(t))
30
- !J.call(e, p) && p !== a && W(e, p, { get: () => t[p], enumerable: !(l = Re(t, p)) || l.enumerable });
29
+ for (let d of pe(t))
30
+ !Q.call(e, d) && d !== a && W(e, d, { get: () => t[d], enumerable: !(l = _e(t, d)) || l.enumerable });
31
31
  return e;
32
- }, De = (e, t, a) => (a = e != null ? Fe(Le(e)) : {}, Ne(
32
+ }, Oe = (e, t, a) => (a = e != null ? Se(Te(e)) : {}, Le(
33
33
  // If the importer is in node compatibility mode or this is not an ESM
34
34
  // file that has been converted to a CommonJS file using a Babel-
35
35
  // compatible transform (i.e. "__esModule" has not been set), then set
36
36
  // "default" to the CommonJS "module.exports" for node compatibility.
37
37
  !e || !e.__esModule ? W(a, "default", { value: e, enumerable: !0 }) : a,
38
38
  e
39
- )), Be = Oe({
39
+ )), Ce = Re({
40
40
  "../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e, t) {
41
41
  var a = function() {
42
- var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, p = 0, m = {}, c = {
42
+ var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, d = 0, h = {}, u = {
43
43
  /**
44
44
  * A namespace for utility methods.
45
45
  *
@@ -51,7 +51,7 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
51
51
  */
52
52
  util: {
53
53
  encode: function n(r) {
54
- return r instanceof h ? new h(r.type, n(r.content), r.alias) : Array.isArray(r) ? r.map(n) : r.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
54
+ return r instanceof m ? new m(r.type, n(r.content), r.alias) : Array.isArray(r) ? r.map(n) : r.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
55
55
  },
56
56
  /**
57
57
  * Returns the name of the type of the given value.
@@ -79,7 +79,7 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
79
79
  * @returns {number}
80
80
  */
81
81
  objId: function(n) {
82
- return n.__id || Object.defineProperty(n, "__id", { value: ++p }), n.__id;
82
+ return n.__id || Object.defineProperty(n, "__id", { value: ++d }), n.__id;
83
83
  },
84
84
  /**
85
85
  * Creates a deep clone of the given object.
@@ -93,24 +93,24 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
93
93
  */
94
94
  clone: function n(r, s) {
95
95
  s = s || {};
96
- var d, i;
97
- switch (c.util.type(r)) {
96
+ var p, i;
97
+ switch (u.util.type(r)) {
98
98
  case "Object":
99
- if (i = c.util.objId(r), s[i])
99
+ if (i = u.util.objId(r), s[i])
100
100
  return s[i];
101
- d = /** @type {Record<string, any>} */
102
- {}, s[i] = d;
101
+ p = /** @type {Record<string, any>} */
102
+ {}, s[i] = p;
103
103
  for (var f in r)
104
- r.hasOwnProperty(f) && (d[f] = n(r[f], s));
104
+ r.hasOwnProperty(f) && (p[f] = n(r[f], s));
105
105
  return (
106
106
  /** @type {any} */
107
- d
107
+ p
108
108
  );
109
109
  case "Array":
110
- return i = c.util.objId(r), s[i] ? s[i] : (d = [], s[i] = d, r.forEach(function(E, w) {
111
- d[w] = n(E, s);
110
+ return i = u.util.objId(r), s[i] ? s[i] : (p = [], s[i] = p, r.forEach(function(E, k) {
111
+ p[k] = n(E, s);
112
112
  }), /** @type {any} */
113
- d);
113
+ p);
114
114
  default:
115
115
  return r;
116
116
  }
@@ -162,11 +162,11 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
162
162
  * @returns {boolean}
163
163
  */
164
164
  isActive: function(n, r, s) {
165
- for (var d = "no-" + r; n; ) {
165
+ for (var p = "no-" + r; n; ) {
166
166
  var i = n.classList;
167
167
  if (i.contains(r))
168
168
  return !0;
169
- if (i.contains(d))
169
+ if (i.contains(p))
170
170
  return !1;
171
171
  n = n.parentElement;
172
172
  }
@@ -184,10 +184,10 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
184
184
  /**
185
185
  * The grammar for plain, unformatted text.
186
186
  */
187
- plain: m,
188
- plaintext: m,
189
- text: m,
190
- txt: m,
187
+ plain: h,
188
+ plaintext: h,
189
+ text: h,
190
+ txt: h,
191
191
  /**
192
192
  * Creates a deep copy of the language with the given id and appends the given tokens.
193
193
  *
@@ -217,9 +217,9 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
217
217
  * });
218
218
  */
219
219
  extend: function(n, r) {
220
- var s = c.util.clone(c.languages[n]);
221
- for (var d in r)
222
- s[d] = r[d];
220
+ var s = u.util.clone(u.languages[n]);
221
+ for (var p in r)
222
+ s[p] = r[p];
223
223
  return s;
224
224
  },
225
225
  /**
@@ -297,31 +297,31 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
297
297
  * @returns {Grammar} The new grammar object.
298
298
  * @public
299
299
  */
300
- insertBefore: function(n, r, s, d) {
301
- d = d || /** @type {any} */
302
- c.languages;
303
- var i = d[n], f = {};
300
+ insertBefore: function(n, r, s, p) {
301
+ p = p || /** @type {any} */
302
+ u.languages;
303
+ var i = p[n], f = {};
304
304
  for (var E in i)
305
305
  if (i.hasOwnProperty(E)) {
306
306
  if (E == r)
307
- for (var w in s)
308
- s.hasOwnProperty(w) && (f[w] = s[w]);
307
+ for (var k in s)
308
+ s.hasOwnProperty(k) && (f[k] = s[k]);
309
309
  s.hasOwnProperty(E) || (f[E] = i[E]);
310
310
  }
311
- var x = d[n];
312
- return d[n] = f, c.languages.DFS(c.languages, function(S, F) {
311
+ var x = p[n];
312
+ return p[n] = f, u.languages.DFS(u.languages, function(S, F) {
313
313
  F === x && S != n && (this[S] = f);
314
314
  }), f;
315
315
  },
316
316
  // Traverse a language definition with Depth First Search
317
- DFS: function n(r, s, d, i) {
317
+ DFS: function n(r, s, p, i) {
318
318
  i = i || {};
319
- var f = c.util.objId;
319
+ var f = u.util.objId;
320
320
  for (var E in r)
321
321
  if (r.hasOwnProperty(E)) {
322
- s.call(r, E, r[E], d || E);
323
- var w = r[E], x = c.util.type(w);
324
- x === "Object" && !i[f(w)] ? (i[f(w)] = !0, n(w, s, null, i)) : x === "Array" && !i[f(w)] && (i[f(w)] = !0, n(w, s, E, i));
322
+ s.call(r, E, r[E], p || E);
323
+ var k = r[E], x = u.util.type(k);
324
+ x === "Object" && !i[f(k)] ? (i[f(k)] = !0, n(k, s, null, i)) : x === "Array" && !i[f(k)] && (i[f(k)] = !0, n(k, s, E, i));
325
325
  }
326
326
  }
327
327
  },
@@ -347,14 +347,14 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
347
347
  * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
348
348
  */
349
349
  highlight: function(n, r, s) {
350
- var d = {
350
+ var p = {
351
351
  code: n,
352
352
  grammar: r,
353
353
  language: s
354
354
  };
355
- if (c.hooks.run("before-tokenize", d), !d.grammar)
356
- throw new Error('The language "' + d.language + '" has no grammar.');
357
- return d.tokens = c.tokenize(d.code, d.grammar), c.hooks.run("after-tokenize", d), h.stringify(c.util.encode(d.tokens), d.language);
355
+ if (u.hooks.run("before-tokenize", p), !p.grammar)
356
+ throw new Error('The language "' + p.language + '" has no grammar.');
357
+ return p.tokens = u.tokenize(p.code, p.grammar), u.hooks.run("after-tokenize", p), m.stringify(u.util.encode(p.tokens), p.language);
358
358
  },
359
359
  /**
360
360
  * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
@@ -383,12 +383,12 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
383
383
  tokenize: function(n, r) {
384
384
  var s = r.rest;
385
385
  if (s) {
386
- for (var d in s)
387
- r[d] = s[d];
386
+ for (var p in s)
387
+ r[p] = s[p];
388
388
  delete r.rest;
389
389
  }
390
390
  var i = new b();
391
- return y(i, i.head, n), g(n, i, r, i.head, 0), k(i);
391
+ return y(i, i.head, n), g(n, i, r, i.head, 0), w(i);
392
392
  },
393
393
  /**
394
394
  * @namespace
@@ -410,7 +410,7 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
410
410
  * @public
411
411
  */
412
412
  add: function(n, r) {
413
- var s = c.hooks.all;
413
+ var s = u.hooks.all;
414
414
  s[n] = s[n] || [], s[n].push(r);
415
415
  },
416
416
  /**
@@ -423,25 +423,25 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
423
423
  * @public
424
424
  */
425
425
  run: function(n, r) {
426
- var s = c.hooks.all[n];
426
+ var s = u.hooks.all[n];
427
427
  if (!(!s || !s.length))
428
- for (var d = 0, i; i = s[d++]; )
428
+ for (var p = 0, i; i = s[p++]; )
429
429
  i(r);
430
430
  }
431
431
  },
432
- Token: h
432
+ Token: m
433
433
  };
434
- function h(n, r, s, d) {
435
- this.type = n, this.content = r, this.alias = s, this.length = (d || "").length | 0;
434
+ function m(n, r, s, p) {
435
+ this.type = n, this.content = r, this.alias = s, this.length = (p || "").length | 0;
436
436
  }
437
- h.stringify = function n(r, s) {
437
+ m.stringify = function n(r, s) {
438
438
  if (typeof r == "string")
439
439
  return r;
440
440
  if (Array.isArray(r)) {
441
- var d = "";
441
+ var p = "";
442
442
  return r.forEach(function(x) {
443
- d += n(x, s);
444
- }), d;
443
+ p += n(x, s);
444
+ }), p;
445
445
  }
446
446
  var i = {
447
447
  type: r.type,
@@ -451,59 +451,59 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
451
451
  attributes: {},
452
452
  language: s
453
453
  }, f = r.alias;
454
- f && (Array.isArray(f) ? Array.prototype.push.apply(i.classes, f) : i.classes.push(f)), c.hooks.run("wrap", i);
454
+ f && (Array.isArray(f) ? Array.prototype.push.apply(i.classes, f) : i.classes.push(f)), u.hooks.run("wrap", i);
455
455
  var E = "";
456
- for (var w in i.attributes)
457
- E += " " + w + '="' + (i.attributes[w] || "").replace(/"/g, "&quot;") + '"';
456
+ for (var k in i.attributes)
457
+ E += " " + k + '="' + (i.attributes[k] || "").replace(/"/g, "&quot;") + '"';
458
458
  return "<" + i.tag + ' class="' + i.classes.join(" ") + '"' + E + ">" + i.content + "</" + i.tag + ">";
459
459
  };
460
- function u(n, r, s, d) {
460
+ function c(n, r, s, p) {
461
461
  n.lastIndex = r;
462
462
  var i = n.exec(s);
463
- if (i && d && i[1]) {
463
+ if (i && p && i[1]) {
464
464
  var f = i[1].length;
465
465
  i.index += f, i[0] = i[0].slice(f);
466
466
  }
467
467
  return i;
468
468
  }
469
- function g(n, r, s, d, i, f) {
469
+ function g(n, r, s, p, i, f) {
470
470
  for (var E in s)
471
471
  if (!(!s.hasOwnProperty(E) || !s[E])) {
472
- var w = s[E];
473
- w = Array.isArray(w) ? w : [w];
474
- for (var x = 0; x < w.length; ++x) {
472
+ var k = s[E];
473
+ k = Array.isArray(k) ? k : [k];
474
+ for (var x = 0; x < k.length; ++x) {
475
475
  if (f && f.cause == E + "," + x)
476
476
  return;
477
- var S = w[x], F = S.inside, A = !!S.lookbehind, C = !!S.greedy, T = S.alias;
477
+ var S = k[x], F = S.inside, A = !!S.lookbehind, C = !!S.greedy, T = S.alias;
478
478
  if (C && !S.pattern.global) {
479
479
  var O = S.pattern.toString().match(/[imsuy]*$/)[0];
480
480
  S.pattern = RegExp(S.pattern.source, O + "g");
481
481
  }
482
- for (var te = S.pattern || S, R = d.next, D = i; R !== r.tail && !(f && D >= f.reach); D += R.value.length, R = R.next) {
482
+ for (var ee = S.pattern || S, R = p.next, D = i; R !== r.tail && !(f && D >= f.reach); D += R.value.length, R = R.next) {
483
483
  var P = R.value;
484
484
  if (r.length > n.length)
485
485
  return;
486
- if (!(P instanceof h)) {
486
+ if (!(P instanceof m)) {
487
487
  var z = 1, N;
488
488
  if (C) {
489
- if (N = u(te, D, n, A), !N || N.index >= n.length)
489
+ if (N = c(ee, D, n, A), !N || N.index >= n.length)
490
490
  break;
491
- var M = N.index, ve = N.index + N[0].length, $ = D;
491
+ var M = N.index, be = N.index + N[0].length, $ = D;
492
492
  for ($ += R.value.length; M >= $; )
493
493
  R = R.next, $ += R.value.length;
494
- if ($ -= R.value.length, D = $, R.value instanceof h)
494
+ if ($ -= R.value.length, D = $, R.value instanceof m)
495
495
  continue;
496
- for (var j = R; j !== r.tail && ($ < ve || typeof j.value == "string"); j = j.next)
496
+ for (var j = R; j !== r.tail && ($ < be || typeof j.value == "string"); j = j.next)
497
497
  z++, $ += j.value.length;
498
498
  z--, P = n.slice(D, $), N.index -= D;
499
- } else if (N = u(te, 0, P, A), !N)
499
+ } else if (N = c(ee, 0, P, A), !N)
500
500
  continue;
501
- var M = N.index, U = N[0], H = P.slice(0, M), ae = P.slice(M + U.length), Y = D + P.length;
501
+ var M = N.index, U = N[0], H = P.slice(0, M), te = P.slice(M + U.length), Y = D + P.length;
502
502
  f && Y > f.reach && (f.reach = Y);
503
503
  var G = R.prev;
504
504
  H && (G = y(r, G, H), D += H.length), v(r, G, z);
505
- var ke = new h(E, F ? c.tokenize(U, F) : U, T, U);
506
- if (R = y(r, G, ke), ae && y(r, R, ae), z > 1) {
505
+ var me = new m(E, F ? u.tokenize(U, F) : U, T, U);
506
+ if (R = y(r, G, me), te && y(r, R, te), z > 1) {
507
507
  var K = {
508
508
  cause: E + "," + x,
509
509
  reach: Y
@@ -520,24 +520,24 @@ var Fe = Object.create, W = Object.defineProperty, Te = Object.defineProperties,
520
520
  n.next = r, this.head = n, this.tail = r, this.length = 0;
521
521
  }
522
522
  function y(n, r, s) {
523
- var d = r.next, i = { value: s, prev: r, next: d };
524
- return r.next = i, d.prev = i, n.length++, i;
523
+ var p = r.next, i = { value: s, prev: r, next: p };
524
+ return r.next = i, p.prev = i, n.length++, i;
525
525
  }
526
526
  function v(n, r, s) {
527
- for (var d = r.next, i = 0; i < s && d !== n.tail; i++)
528
- d = d.next;
529
- r.next = d, d.prev = r, n.length -= i;
527
+ for (var p = r.next, i = 0; i < s && p !== n.tail; i++)
528
+ p = p.next;
529
+ r.next = p, p.prev = r, n.length -= i;
530
530
  }
531
- function k(n) {
531
+ function w(n) {
532
532
  for (var r = [], s = n.head.next; s !== n.tail; )
533
533
  r.push(s.value), s = s.next;
534
534
  return r;
535
535
  }
536
- return c;
536
+ return u;
537
537
  }();
538
538
  t.exports = a, a.default = a;
539
539
  }
540
- }), o = De(Be());
540
+ }), o = Oe(Ce());
541
541
  o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy: !0 }, prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: !0 }, doctype: { pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i, greedy: !0, inside: { "internal-subset": { pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/, lookbehind: !0, greedy: !0, inside: null }, string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 }, punctuation: /^<!|>$|[[\]]/, "doctype-tag": /^DOCTYPE/i, name: /[^\s<>'"]+/ } }, cdata: { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, greedy: !0 }, tag: { pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/, greedy: !0, inside: { tag: { pattern: /^<\/?[^\s>\/]+/, inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ } }, "special-attr": [], "attr-value": { pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/, inside: { punctuation: [{ pattern: /^=/, alias: "attr-equals" }, { pattern: /^(\s*)["']|["']$/, lookbehind: !0 }] } }, punctuation: /\/?>/, "attr-name": { pattern: /[^\s>\/]+/, inside: { namespace: /^[^\s>\/:]+:/ } } } }, entity: [{ pattern: /&[\da-z]{1,8};/i, alias: "named-entity" }, /&#x?[\da-f]{1,8};/i] }, o.languages.markup.tag.inside["attr-value"].inside.entity = o.languages.markup.entity, o.languages.markup.doctype.inside["internal-subset"].inside = o.languages.markup, o.hooks.add("wrap", function(e) {
542
542
  e.type === "entity" && (e.attributes.title = e.content.replace(/&amp;/, "&"));
543
543
  }), Object.defineProperty(o.languages.markup.tag, "addInlined", { value: function(e, l) {
@@ -548,25 +548,25 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
548
548
  } }), Object.defineProperty(o.languages.markup.tag, "addAttribute", { value: function(e, t) {
549
549
  o.languages.markup.tag.inside["special-attr"].push({ pattern: RegExp(/(^|["'\s])/.source + "(?:" + e + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source, "i"), lookbehind: !0, inside: { "attr-name": /^[^\s=]+/, "attr-value": { pattern: /=[\s\S]+/, inside: { value: { pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/, lookbehind: !0, alias: [t, "language-" + t], inside: o.languages[t] }, punctuation: [{ pattern: /^=/, alias: "attr-equals" }, /"|'/] } } } });
550
550
  } }), o.languages.html = o.languages.markup, o.languages.mathml = o.languages.markup, o.languages.svg = o.languages.markup, o.languages.xml = o.languages.extend("markup", {}), o.languages.ssml = o.languages.xml, o.languages.atom = o.languages.xml, o.languages.rss = o.languages.xml, function(e) {
551
- var t = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" }, a = /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/, l = "(?:[^\\\\-]|" + a.source + ")", l = RegExp(l + "-" + l), p = { pattern: /(<|')[^<>']+(?=[>']$)/, lookbehind: !0, alias: "variable" };
552
- e.languages.regex = { "char-class": { pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/, lookbehind: !0, inside: { "char-class-negation": { pattern: /(^\[)\^/, lookbehind: !0, alias: "operator" }, "char-class-punctuation": { pattern: /^\[|\]$/, alias: "punctuation" }, range: { pattern: l, inside: { escape: a, "range-punctuation": { pattern: /-/, alias: "operator" } } }, "special-escape": t, "char-set": { pattern: /\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, escape: a } }, "special-escape": t, "char-set": { pattern: /\.|\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, backreference: [{ pattern: /\\(?![123][0-7]{2})[1-9]/, alias: "keyword" }, { pattern: /\\k<[^<>']+>/, alias: "keyword", inside: { "group-name": p } }], anchor: { pattern: /[$^]|\\[ABbGZz]/, alias: "function" }, escape: a, group: [{ pattern: /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/, alias: "punctuation", inside: { "group-name": p } }, { pattern: /\)/, alias: "punctuation" }], quantifier: { pattern: /(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/, alias: "number" }, alternation: { pattern: /\|/, alias: "keyword" } };
551
+ var t = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" }, a = /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/, l = "(?:[^\\\\-]|" + a.source + ")", l = RegExp(l + "-" + l), d = { pattern: /(<|')[^<>']+(?=[>']$)/, lookbehind: !0, alias: "variable" };
552
+ e.languages.regex = { "char-class": { pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/, lookbehind: !0, inside: { "char-class-negation": { pattern: /(^\[)\^/, lookbehind: !0, alias: "operator" }, "char-class-punctuation": { pattern: /^\[|\]$/, alias: "punctuation" }, range: { pattern: l, inside: { escape: a, "range-punctuation": { pattern: /-/, alias: "operator" } } }, "special-escape": t, "char-set": { pattern: /\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, escape: a } }, "special-escape": t, "char-set": { pattern: /\.|\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, backreference: [{ pattern: /\\(?![123][0-7]{2})[1-9]/, alias: "keyword" }, { pattern: /\\k<[^<>']+>/, alias: "keyword", inside: { "group-name": d } }], anchor: { pattern: /[$^]|\\[ABbGZz]/, alias: "function" }, escape: a, group: [{ pattern: /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/, alias: "punctuation", inside: { "group-name": d } }, { pattern: /\)/, alias: "punctuation" }], quantifier: { pattern: /(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/, alias: "number" }, alternation: { pattern: /\|/, alias: "keyword" } };
553
553
  }(o), o.languages.clike = { comment: [{ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0, greedy: !0 }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }], string: { pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, "class-name": { pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i, lookbehind: !0, inside: { punctuation: /[.\\]/ } }, keyword: /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/, boolean: /\b(?:false|true)\b/, function: /\b\w+(?=\()/, number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/, punctuation: /[{}[\];(),.:]/ }, o.languages.javascript = o.languages.extend("clike", { "class-name": [o.languages.clike["class-name"], { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/, lookbehind: !0 }], keyword: [{ pattern: /((?:^|\})\s*)catch\b/, lookbehind: !0 }, { pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/, lookbehind: !0 }], function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/, number: { pattern: RegExp(/(^|[^\w$])/.source + "(?:" + /NaN|Infinity/.source + "|" + /0[bB][01]+(?:_[01]+)*n?/.source + "|" + /0[oO][0-7]+(?:_[0-7]+)*n?/.source + "|" + /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source + "|" + /\d+(?:_\d+)*n/.source + "|" + /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source + ")" + /(?![\w$])/.source), lookbehind: !0 }, operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/ }), o.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/, o.languages.insertBefore("javascript", "keyword", { regex: { pattern: RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source + /\//.source + "(?:" + /(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source + "|" + /(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source + ")" + /(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source), lookbehind: !0, greedy: !0, inside: { "regex-source": { pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/, lookbehind: !0, alias: "language-regex", inside: o.languages.regex }, "regex-delimiter": /^\/|\/$/, "regex-flags": /^[a-z]+$/ } }, "function-variable": { pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/, alias: "function" }, parameter: [{ pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/, lookbehind: !0, inside: o.languages.javascript }, { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i, lookbehind: !0, inside: o.languages.javascript }, { pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/, lookbehind: !0, inside: o.languages.javascript }, { pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/, lookbehind: !0, inside: o.languages.javascript }], constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/ }), o.languages.insertBefore("javascript", "string", { hashbang: { pattern: /^#!.*/, greedy: !0, alias: "comment" }, "template-string": { pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/, greedy: !0, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, interpolation: { pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/, lookbehind: !0, inside: { "interpolation-punctuation": { pattern: /^\$\{|\}$/, alias: "punctuation" }, rest: o.languages.javascript } }, string: /[\s\S]+/ } }, "string-property": { pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m, lookbehind: !0, greedy: !0, alias: "property" } }), o.languages.insertBefore("javascript", "operator", { "literal-property": { pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m, lookbehind: !0, alias: "property" } }), o.languages.markup && (o.languages.markup.tag.addInlined("script", "javascript"), o.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source, "javascript")), o.languages.js = o.languages.javascript, o.languages.actionscript = o.languages.extend("javascript", { keyword: /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/, operator: /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/ }), o.languages.actionscript["class-name"].alias = "function", delete o.languages.actionscript.parameter, delete o.languages.actionscript["literal-property"], o.languages.markup && o.languages.insertBefore("actionscript", "string", { xml: { pattern: /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/, lookbehind: !0, inside: o.languages.markup } }), function(e) {
554
554
  var t = /#(?!\{).+/, a = { pattern: /#\{[^}]+\}/, alias: "variable" };
555
555
  e.languages.coffeescript = e.languages.extend("javascript", { comment: t, string: [{ pattern: /'(?:\\[\s\S]|[^\\'])*'/, greedy: !0 }, { pattern: /"(?:\\[\s\S]|[^\\"])*"/, greedy: !0, inside: { interpolation: a } }], keyword: /\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/, "class-member": { pattern: /@(?!\d)\w+/, alias: "variable" } }), e.languages.insertBefore("coffeescript", "comment", { "multiline-comment": { pattern: /###[\s\S]+?###/, alias: "comment" }, "block-regex": { pattern: /\/{3}[\s\S]*?\/{3}/, alias: "regex", inside: { comment: t, interpolation: a } } }), e.languages.insertBefore("coffeescript", "string", { "inline-javascript": { pattern: /`(?:\\[\s\S]|[^\\`])*`/, inside: { delimiter: { pattern: /^`|`$/, alias: "punctuation" }, script: { pattern: /[\s\S]+/, alias: "language-javascript", inside: e.languages.javascript } } }, "multiline-string": [{ pattern: /'''[\s\S]*?'''/, greedy: !0, alias: "string" }, { pattern: /"""[\s\S]*?"""/, greedy: !0, alias: "string", inside: { interpolation: a } }] }), e.languages.insertBefore("coffeescript", "keyword", { property: /(?!\d)\w+(?=\s*:(?!:))/ }), delete e.languages.coffeescript["template-string"], e.languages.coffee = e.languages.coffeescript;
556
556
  }(o), function(e) {
557
557
  var t = e.languages.javadoclike = { parameter: { pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m, lookbehind: !0 }, keyword: { pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m, lookbehind: !0 }, punctuation: /[{}]/ };
558
558
  Object.defineProperty(t, "addSupport", { value: function(a, l) {
559
- (a = typeof a == "string" ? [a] : a).forEach(function(p) {
560
- var m = function(y) {
559
+ (a = typeof a == "string" ? [a] : a).forEach(function(d) {
560
+ var h = function(y) {
561
561
  y.inside || (y.inside = {}), y.inside.rest = l;
562
- }, c = "doc-comment";
563
- if (h = e.languages[p]) {
564
- var h, u = h[c];
565
- if ((u = u || (h = e.languages.insertBefore(p, "comment", { "doc-comment": { pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/, lookbehind: !0, alias: "comment" } }))[c]) instanceof RegExp && (u = h[c] = { pattern: u }), Array.isArray(u))
566
- for (var g = 0, b = u.length; g < b; g++)
567
- u[g] instanceof RegExp && (u[g] = { pattern: u[g] }), m(u[g]);
562
+ }, u = "doc-comment";
563
+ if (m = e.languages[d]) {
564
+ var m, c = m[u];
565
+ if ((c = c || (m = e.languages.insertBefore(d, "comment", { "doc-comment": { pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/, lookbehind: !0, alias: "comment" } }))[u]) instanceof RegExp && (c = m[u] = { pattern: c }), Array.isArray(c))
566
+ for (var g = 0, b = c.length; g < b; g++)
567
+ c[g] instanceof RegExp && (c[g] = { pattern: c[g] }), h(c[g]);
568
568
  else
569
- m(u);
569
+ h(c);
570
570
  }
571
571
  });
572
572
  } }), t.addSupport(["java", "javascript", "php"], t);
@@ -577,25 +577,25 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
577
577
  var t = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, t = (e.languages.css.selector = { pattern: e.languages.css.selector.pattern, lookbehind: !0, inside: t = { "pseudo-element": /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/, "pseudo-class": /:[-\w]+/, class: /\.[-\w]+/, id: /#[-\w]+/, attribute: { pattern: RegExp(`\\[(?:[^[\\]"']|` + t.source + ")*\\]"), greedy: !0, inside: { punctuation: /^\[|\]$/, "case-sensitivity": { pattern: /(\s)[si]$/i, lookbehind: !0, alias: "keyword" }, namespace: { pattern: /^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/, lookbehind: !0, inside: { punctuation: /\|$/ } }, "attr-name": { pattern: /^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/, lookbehind: !0 }, "attr-value": [t, { pattern: /(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/, lookbehind: !0 }], operator: /[|~*^$]?=/ } }, "n-th": [{ pattern: /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/, lookbehind: !0, inside: { number: /[\dn]+/, operator: /[+-]/ } }, { pattern: /(\(\s*)(?:even|odd)(?=\s*\))/i, lookbehind: !0 }], combinator: />|\+|~|\|\|/, punctuation: /[(),]/ } }, e.languages.css.atrule.inside["selector-function-argument"].inside = t, e.languages.insertBefore("css", "property", { variable: { pattern: /(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i, lookbehind: !0 } }), { pattern: /(\b\d+)(?:%|[a-z]+(?![\w-]))/, lookbehind: !0 }), a = { pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/, lookbehind: !0 };
578
578
  e.languages.insertBefore("css", "function", { operator: { pattern: /(\s)[+\-*\/](?=\s)/, lookbehind: !0 }, hexcode: { pattern: /\B#[\da-f]{3,8}\b/i, alias: "color" }, color: [{ pattern: /(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i, lookbehind: !0 }, { pattern: /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i, inside: { unit: t, number: a, function: /[\w-]+(?=\()/, punctuation: /[(),]/ } }], entity: /\\[\da-f]{1,8}/i, unit: t, number: a });
579
579
  }(o), function(e) {
580
- var t = /[*&][^\s[\]{},]+/, a = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, l = "(?:" + a.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + a.source + ")?)", p = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
580
+ var t = /[*&][^\s[\]{},]+/, a = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, l = "(?:" + a.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + a.source + ")?)", d = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
581
581
  return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
582
- }), m = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
583
- function c(h, u) {
584
- u = (u || "").replace(/m/g, "") + "m";
582
+ }), h = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
583
+ function u(m, c) {
584
+ c = (c || "").replace(/m/g, "") + "m";
585
585
  var g = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
586
586
  return l;
587
587
  }).replace(/<<value>>/g, function() {
588
- return h;
588
+ return m;
589
589
  });
590
- return RegExp(g, u);
590
+ return RegExp(g, c);
591
591
  }
592
592
  e.languages.yaml = { scalar: { pattern: RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g, function() {
593
593
  return l;
594
594
  })), lookbehind: !0, alias: "string" }, comment: /#.*/, key: { pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
595
595
  return l;
596
596
  }).replace(/<<key>>/g, function() {
597
- return "(?:" + p + "|" + m + ")";
598
- })), lookbehind: !0, greedy: !0, alias: "atrule" }, directive: { pattern: /(^[ \t]*)%.+/m, lookbehind: !0, alias: "important" }, datetime: { pattern: c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source), lookbehind: !0, alias: "number" }, boolean: { pattern: c(/false|true/.source, "i"), lookbehind: !0, alias: "important" }, null: { pattern: c(/null|~/.source, "i"), lookbehind: !0, alias: "important" }, string: { pattern: c(m), lookbehind: !0, greedy: !0 }, number: { pattern: c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"), lookbehind: !0 }, tag: a, important: t, punctuation: /---|[:[\]{}\-,|>?]|\.\.\./ }, e.languages.yml = e.languages.yaml;
597
+ return "(?:" + d + "|" + h + ")";
598
+ })), lookbehind: !0, greedy: !0, alias: "atrule" }, directive: { pattern: /(^[ \t]*)%.+/m, lookbehind: !0, alias: "important" }, datetime: { pattern: u(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source), lookbehind: !0, alias: "number" }, boolean: { pattern: u(/false|true/.source, "i"), lookbehind: !0, alias: "important" }, null: { pattern: u(/null|~/.source, "i"), lookbehind: !0, alias: "important" }, string: { pattern: u(h), lookbehind: !0, greedy: !0 }, number: { pattern: u(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"), lookbehind: !0 }, tag: a, important: t, punctuation: /---|[:[\]{}\-,|>?]|\.\.\./ }, e.languages.yml = e.languages.yaml;
599
599
  }(o), function(e) {
600
600
  var t = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
601
601
  function a(g) {
@@ -603,16 +603,16 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
603
603
  return t;
604
604
  }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + g + ")");
605
605
  }
606
- var l = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, p = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() {
606
+ var l = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, d = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() {
607
607
  return l;
608
- }), m = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source, c = (e.languages.markdown = e.languages.extend("markup", {}), e.languages.insertBefore("markdown", "prolog", { "front-matter-block": { pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/, lookbehind: !0, greedy: !0, inside: { punctuation: /^---|---$/, "front-matter": { pattern: /\S+(?:\s+\S+)*/, alias: ["yaml", "language-yaml"], inside: e.languages.yaml } } }, blockquote: { pattern: /^>(?:[\t ]*>)*/m, alias: "punctuation" }, table: { pattern: RegExp("^" + p + m + "(?:" + p + ")*", "m"), inside: { "table-data-rows": { pattern: RegExp("^(" + p + m + ")(?:" + p + ")*$"), lookbehind: !0, inside: { "table-data": { pattern: RegExp(l), inside: e.languages.markdown }, punctuation: /\|/ } }, "table-line": { pattern: RegExp("^(" + p + ")" + m + "$"), lookbehind: !0, inside: { punctuation: /\||:?-{3,}:?/ } }, "table-header-row": { pattern: RegExp("^" + p + "$"), inside: { "table-header": { pattern: RegExp(l), alias: "important", inside: e.languages.markdown }, punctuation: /\|/ } } } }, code: [{ pattern: /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/, lookbehind: !0, alias: "keyword" }, { pattern: /^```[\s\S]*?^```$/m, greedy: !0, inside: { "code-block": { pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m, lookbehind: !0 }, "code-language": { pattern: /^(```).+/, lookbehind: !0 }, punctuation: /```/ } }], title: [{ pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m, alias: "important", inside: { punctuation: /==+$|--+$/ } }, { pattern: /(^\s*)#.+/m, lookbehind: !0, alias: "important", inside: { punctuation: /^#+|#+$/ } }], hr: { pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m, lookbehind: !0, alias: "punctuation" }, list: { pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m, lookbehind: !0, alias: "punctuation" }, "url-reference": { pattern: /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/, inside: { variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: !0 }, string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/, punctuation: /^[\[\]!:]|[<>]/ }, alias: "url" }, bold: { pattern: a(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^..)[\s\S]+(?=..$)/, lookbehind: !0, inside: {} }, punctuation: /\*\*|__/ } }, italic: { pattern: a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^.)[\s\S]+(?=.$)/, lookbehind: !0, inside: {} }, punctuation: /[*_]/ } }, strike: { pattern: a(/(~~?)(?:(?!~)<inner>)+\2/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^~~?)[\s\S]+(?=\1$)/, lookbehind: !0, inside: {} }, punctuation: /~~?/ } }, "code-snippet": { pattern: /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/, lookbehind: !0, greedy: !0, alias: ["code", "keyword"] }, url: { pattern: a(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source), lookbehind: !0, greedy: !0, inside: { operator: /^!/, content: { pattern: /(^\[)[^\]]+(?=\])/, lookbehind: !0, inside: {} }, variable: { pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/, lookbehind: !0 }, url: { pattern: /(^\]\()[^\s)]+/, lookbehind: !0 }, string: { pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/, lookbehind: !0 } } } }), ["url", "bold", "italic", "strike"].forEach(function(g) {
608
+ }), h = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source, u = (e.languages.markdown = e.languages.extend("markup", {}), e.languages.insertBefore("markdown", "prolog", { "front-matter-block": { pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/, lookbehind: !0, greedy: !0, inside: { punctuation: /^---|---$/, "front-matter": { pattern: /\S+(?:\s+\S+)*/, alias: ["yaml", "language-yaml"], inside: e.languages.yaml } } }, blockquote: { pattern: /^>(?:[\t ]*>)*/m, alias: "punctuation" }, table: { pattern: RegExp("^" + d + h + "(?:" + d + ")*", "m"), inside: { "table-data-rows": { pattern: RegExp("^(" + d + h + ")(?:" + d + ")*$"), lookbehind: !0, inside: { "table-data": { pattern: RegExp(l), inside: e.languages.markdown }, punctuation: /\|/ } }, "table-line": { pattern: RegExp("^(" + d + ")" + h + "$"), lookbehind: !0, inside: { punctuation: /\||:?-{3,}:?/ } }, "table-header-row": { pattern: RegExp("^" + d + "$"), inside: { "table-header": { pattern: RegExp(l), alias: "important", inside: e.languages.markdown }, punctuation: /\|/ } } } }, code: [{ pattern: /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/, lookbehind: !0, alias: "keyword" }, { pattern: /^```[\s\S]*?^```$/m, greedy: !0, inside: { "code-block": { pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m, lookbehind: !0 }, "code-language": { pattern: /^(```).+/, lookbehind: !0 }, punctuation: /```/ } }], title: [{ pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m, alias: "important", inside: { punctuation: /==+$|--+$/ } }, { pattern: /(^\s*)#.+/m, lookbehind: !0, alias: "important", inside: { punctuation: /^#+|#+$/ } }], hr: { pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m, lookbehind: !0, alias: "punctuation" }, list: { pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m, lookbehind: !0, alias: "punctuation" }, "url-reference": { pattern: /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/, inside: { variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: !0 }, string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/, punctuation: /^[\[\]!:]|[<>]/ }, alias: "url" }, bold: { pattern: a(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^..)[\s\S]+(?=..$)/, lookbehind: !0, inside: {} }, punctuation: /\*\*|__/ } }, italic: { pattern: a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^.)[\s\S]+(?=.$)/, lookbehind: !0, inside: {} }, punctuation: /[*_]/ } }, strike: { pattern: a(/(~~?)(?:(?!~)<inner>)+\2/.source), lookbehind: !0, greedy: !0, inside: { content: { pattern: /(^~~?)[\s\S]+(?=\1$)/, lookbehind: !0, inside: {} }, punctuation: /~~?/ } }, "code-snippet": { pattern: /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/, lookbehind: !0, greedy: !0, alias: ["code", "keyword"] }, url: { pattern: a(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source), lookbehind: !0, greedy: !0, inside: { operator: /^!/, content: { pattern: /(^\[)[^\]]+(?=\])/, lookbehind: !0, inside: {} }, variable: { pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/, lookbehind: !0 }, url: { pattern: /(^\]\()[^\s)]+/, lookbehind: !0 }, string: { pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/, lookbehind: !0 } } } }), ["url", "bold", "italic", "strike"].forEach(function(g) {
609
609
  ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(b) {
610
610
  g !== b && (e.languages.markdown[g].inside.content.inside[b] = e.languages.markdown[b]);
611
611
  });
612
612
  }), e.hooks.add("after-tokenize", function(g) {
613
613
  g.language !== "markdown" && g.language !== "md" || function b(y) {
614
614
  if (y && typeof y != "string")
615
- for (var v = 0, k = y.length; v < k; v++) {
615
+ for (var v = 0, w = y.length; v < w; v++) {
616
616
  var n, r = y[v];
617
617
  r.type !== "code" ? b(r.content) : (n = r.content[1], r = r.content[3], n && r && n.type === "code-language" && r.type === "code-block" && typeof n.content == "string" && (n = n.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp"), n = "language-" + (n = (/[a-z][\w-]*/i.exec(n) || [""])[0].toLowerCase()), r.alias ? typeof r.alias == "string" ? r.alias = [r.alias, n] : r.alias.push(n) : r.alias = [n]));
618
618
  }
@@ -620,24 +620,24 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
620
620
  }), e.hooks.add("wrap", function(g) {
621
621
  if (g.type === "code-block") {
622
622
  for (var b = "", y = 0, v = g.classes.length; y < v; y++) {
623
- var k = g.classes[y], k = /language-(.+)/.exec(k);
624
- if (k) {
625
- b = k[1];
623
+ var w = g.classes[y], w = /language-(.+)/.exec(w);
624
+ if (w) {
625
+ b = w[1];
626
626
  break;
627
627
  }
628
628
  }
629
629
  var n, r = e.languages[b];
630
630
  r ? g.content = e.highlight(function(s) {
631
- return s = s.replace(c, ""), s = s.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(d, i) {
631
+ return s = s.replace(u, ""), s = s.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(p, i) {
632
632
  var f;
633
- return (i = i.toLowerCase())[0] === "#" ? (f = i[1] === "x" ? parseInt(i.slice(2), 16) : Number(i.slice(1)), u(f)) : h[i] || d;
633
+ return (i = i.toLowerCase())[0] === "#" ? (f = i[1] === "x" ? parseInt(i.slice(2), 16) : Number(i.slice(1)), c(f)) : m[i] || p;
634
634
  });
635
635
  }(g.content), r, b) : b && b !== "none" && e.plugins.autoloader && (n = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(1e16 * Math.random()), g.attributes.id = n, e.plugins.autoloader.loadLanguages(b, function() {
636
636
  var s = document.getElementById(n);
637
637
  s && (s.innerHTML = e.highlight(s.textContent, e.languages[b], b));
638
638
  }));
639
639
  }
640
- }), RegExp(e.languages.markup.tag.pattern.source, "gi")), h = { amp: "&", lt: "<", gt: ">", quot: '"' }, u = String.fromCodePoint || String.fromCharCode;
640
+ }), RegExp(e.languages.markup.tag.pattern.source, "gi")), m = { amp: "&", lt: "<", gt: ">", quot: '"' }, c = String.fromCodePoint || String.fromCharCode;
641
641
  e.languages.md = e.languages.markdown;
642
642
  }(o), o.languages.graphql = { comment: /#.*/, description: { pattern: /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i, greedy: !0, alias: "string", inside: { "language-markdown": { pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/, lookbehind: !0, inside: o.languages.markdown } } }, string: { pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/, greedy: !0 }, number: /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, boolean: /\b(?:false|true)\b/, variable: /\$[a-z_]\w*/i, directive: { pattern: /@[a-z_]\w*/i, alias: "function" }, "attr-name": { pattern: /\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i, greedy: !0 }, "atom-input": { pattern: /\b[A-Z]\w*Input\b/, alias: "class-name" }, scalar: /\b(?:Boolean|Float|ID|Int|String)\b/, constant: /\b[A-Z][A-Z_\d]*\b/, "class-name": { pattern: /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/, lookbehind: !0 }, fragment: { pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, "definition-mutation": { pattern: /(\bmutation\s+)[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, "definition-query": { pattern: /(\bquery\s+)[a-zA-Z_]\w*/, lookbehind: !0, alias: "function" }, keyword: /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/, operator: /[!=|&]|\.{3}/, "property-query": /\w+(?=\s*\()/, object: /\w+(?=\s*\{)/, punctuation: /[!(){}\[\]:=,]/, property: /\w+/ }, o.hooks.add("after-tokenize", function(e) {
643
643
  if (e.language === "graphql")
@@ -646,24 +646,24 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
646
646
  }), a = 0; a < t.length; ) {
647
647
  var l = t[a++];
648
648
  if (l.type === "keyword" && l.content === "mutation") {
649
- var p = [];
649
+ var d = [];
650
650
  if (y(["definition-mutation", "punctuation"]) && b(1).content === "(") {
651
651
  a += 2;
652
- var m = v(/^\($/, /^\)$/);
653
- if (m === -1)
652
+ var h = v(/^\($/, /^\)$/);
653
+ if (h === -1)
654
654
  continue;
655
- for (; a < m; a++) {
656
- var c = b(0);
657
- c.type === "variable" && (k(c, "variable-input"), p.push(c.content));
655
+ for (; a < h; a++) {
656
+ var u = b(0);
657
+ u.type === "variable" && (w(u, "variable-input"), d.push(u.content));
658
658
  }
659
- a = m + 1;
659
+ a = h + 1;
660
660
  }
661
- if (y(["punctuation", "property-query"]) && b(0).content === "{" && (a++, k(b(0), "property-mutation"), 0 < p.length)) {
662
- var h = v(/^\{$/, /^\}$/);
663
- if (h !== -1)
664
- for (var u = a; u < h; u++) {
665
- var g = t[u];
666
- g.type === "variable" && 0 <= p.indexOf(g.content) && k(g, "variable-input");
661
+ if (y(["punctuation", "property-query"]) && b(0).content === "{" && (a++, w(b(0), "property-mutation"), 0 < d.length)) {
662
+ var m = v(/^\{$/, /^\}$/);
663
+ if (m !== -1)
664
+ for (var c = a; c < m; c++) {
665
+ var g = t[c];
666
+ g.type === "variable" && 0 <= d.indexOf(g.content) && w(g, "variable-input");
667
667
  }
668
668
  }
669
669
  }
@@ -674,64 +674,64 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
674
674
  function y(n, r) {
675
675
  r = r || 0;
676
676
  for (var s = 0; s < n.length; s++) {
677
- var d = b(s + r);
678
- if (!d || d.type !== n[s])
677
+ var p = b(s + r);
678
+ if (!p || p.type !== n[s])
679
679
  return;
680
680
  }
681
681
  return 1;
682
682
  }
683
683
  function v(n, r) {
684
- for (var s = 1, d = a; d < t.length; d++) {
685
- var i = t[d], f = i.content;
684
+ for (var s = 1, p = a; p < t.length; p++) {
685
+ var i = t[p], f = i.content;
686
686
  if (i.type === "punctuation" && typeof f == "string") {
687
687
  if (n.test(f))
688
688
  s++;
689
689
  else if (r.test(f) && --s === 0)
690
- return d;
690
+ return p;
691
691
  }
692
692
  }
693
693
  return -1;
694
694
  }
695
- function k(n, r) {
695
+ function w(n, r) {
696
696
  var s = n.alias;
697
697
  s ? Array.isArray(s) || (n.alias = s = [s]) : n.alias = s = [], s.push(r);
698
698
  }
699
699
  }), o.languages.sql = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/, lookbehind: !0 }, variable: [{ pattern: /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/, greedy: !0 }, /@[\w.$]+/], string: { pattern: /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/, greedy: !0, lookbehind: !0 }, identifier: { pattern: /(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/, greedy: !0, lookbehind: !0, inside: { punctuation: /^`|`$/ } }, function: /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i, keyword: /\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i, boolean: /\b(?:FALSE|NULL|TRUE)\b/i, number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i, operator: /[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i, punctuation: /[;[\]()`,.]/ }, function(e) {
700
- var t = e.languages.javascript["template-string"], a = t.pattern.source, l = t.inside.interpolation, p = l.inside["interpolation-punctuation"], m = l.pattern.source;
701
- function c(y, v) {
700
+ var t = e.languages.javascript["template-string"], a = t.pattern.source, l = t.inside.interpolation, d = l.inside["interpolation-punctuation"], h = l.pattern.source;
701
+ function u(y, v) {
702
702
  if (e.languages[y])
703
703
  return { pattern: RegExp("((?:" + v + ")\\s*)" + a), lookbehind: !0, greedy: !0, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, "embedded-code": { pattern: /[\s\S]+/, alias: y } } };
704
704
  }
705
- function h(y, v, k) {
706
- return y = { code: y, grammar: v, language: k }, e.hooks.run("before-tokenize", y), y.tokens = e.tokenize(y.code, y.grammar), e.hooks.run("after-tokenize", y), y.tokens;
705
+ function m(y, v, w) {
706
+ return y = { code: y, grammar: v, language: w }, e.hooks.run("before-tokenize", y), y.tokens = e.tokenize(y.code, y.grammar), e.hooks.run("after-tokenize", y), y.tokens;
707
707
  }
708
- function u(y, v, k) {
709
- var s = e.tokenize(y, { interpolation: { pattern: RegExp(m), lookbehind: !0 } }), n = 0, r = {}, s = h(s.map(function(i) {
708
+ function c(y, v, w) {
709
+ var s = e.tokenize(y, { interpolation: { pattern: RegExp(h), lookbehind: !0 } }), n = 0, r = {}, s = m(s.map(function(i) {
710
710
  if (typeof i == "string")
711
711
  return i;
712
- for (var f, E, i = i.content; y.indexOf((E = n++, f = "___" + k.toUpperCase() + "_" + E + "___")) !== -1; )
712
+ for (var f, E, i = i.content; y.indexOf((E = n++, f = "___" + w.toUpperCase() + "_" + E + "___")) !== -1; )
713
713
  ;
714
714
  return r[f] = i, f;
715
- }).join(""), v, k), d = Object.keys(r);
715
+ }).join(""), v, w), p = Object.keys(r);
716
716
  return n = 0, function i(f) {
717
717
  for (var E = 0; E < f.length; E++) {
718
- if (n >= d.length)
718
+ if (n >= p.length)
719
719
  return;
720
- var w, x, S, F, A, C, T, O = f[E];
721
- typeof O == "string" || typeof O.content == "string" ? (w = d[n], (T = (C = typeof O == "string" ? O : O.content).indexOf(w)) !== -1 && (++n, x = C.substring(0, T), A = r[w], S = void 0, (F = {})["interpolation-punctuation"] = p, (F = e.tokenize(A, F)).length === 3 && ((S = [1, 1]).push.apply(S, h(F[1], e.languages.javascript, "javascript")), F.splice.apply(F, S)), S = new e.Token("interpolation", F, l.alias, A), F = C.substring(T + w.length), A = [], x && A.push(x), A.push(S), F && (i(C = [F]), A.push.apply(A, C)), typeof O == "string" ? (f.splice.apply(f, [E, 1].concat(A)), E += A.length - 1) : O.content = A)) : (T = O.content, Array.isArray(T) ? i(T) : i([T]));
720
+ var k, x, S, F, A, C, T, O = f[E];
721
+ typeof O == "string" || typeof O.content == "string" ? (k = p[n], (T = (C = typeof O == "string" ? O : O.content).indexOf(k)) !== -1 && (++n, x = C.substring(0, T), A = r[k], S = void 0, (F = {})["interpolation-punctuation"] = d, (F = e.tokenize(A, F)).length === 3 && ((S = [1, 1]).push.apply(S, m(F[1], e.languages.javascript, "javascript")), F.splice.apply(F, S)), S = new e.Token("interpolation", F, l.alias, A), F = C.substring(T + k.length), A = [], x && A.push(x), A.push(S), F && (i(C = [F]), A.push.apply(A, C)), typeof O == "string" ? (f.splice.apply(f, [E, 1].concat(A)), E += A.length - 1) : O.content = A)) : (T = O.content, Array.isArray(T) ? i(T) : i([T]));
722
722
  }
723
- }(s), new e.Token(k, s, "language-" + k, y);
723
+ }(s), new e.Token(w, s, "language-" + w, y);
724
724
  }
725
- e.languages.javascript["template-string"] = [c("css", /\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source), c("html", /\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source), c("svg", /\bsvg/.source), c("markdown", /\b(?:markdown|md)/.source), c("graphql", /\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source), c("sql", /\bsql/.source), t].filter(Boolean);
725
+ e.languages.javascript["template-string"] = [u("css", /\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source), u("html", /\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source), u("svg", /\bsvg/.source), u("markdown", /\b(?:markdown|md)/.source), u("graphql", /\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source), u("sql", /\bsql/.source), t].filter(Boolean);
726
726
  var g = { javascript: !0, js: !0, typescript: !0, ts: !0, jsx: !0, tsx: !0 };
727
727
  function b(y) {
728
728
  return typeof y == "string" ? y : Array.isArray(y) ? y.map(b).join("") : b(y.content);
729
729
  }
730
730
  e.hooks.add("after-tokenize", function(y) {
731
- y.language in g && function v(k) {
732
- for (var n = 0, r = k.length; n < r; n++) {
733
- var s, d, i, f = k[n];
734
- typeof f != "string" && (s = f.content, Array.isArray(s) ? f.type === "template-string" ? (f = s[1], s.length === 3 && typeof f != "string" && f.type === "embedded-code" && (d = b(f), f = f.alias, f = Array.isArray(f) ? f[0] : f, i = e.languages[f]) && (s[1] = u(d, i, f))) : v(s) : typeof s != "string" && v([s]));
731
+ y.language in g && function v(w) {
732
+ for (var n = 0, r = w.length; n < r; n++) {
733
+ var s, p, i, f = w[n];
734
+ typeof f != "string" && (s = f.content, Array.isArray(s) ? f.type === "template-string" ? (f = s[1], s.length === 3 && typeof f != "string" && f.type === "embedded-code" && (p = b(f), f = f.alias, f = Array.isArray(f) ? f[0] : f, i = e.languages[f]) && (s[1] = c(p, i, f))) : v(s) : typeof s != "string" && v([s]));
735
735
  }
736
736
  }(y.tokens);
737
737
  });
@@ -747,39 +747,39 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
747
747
  }(o), function(e) {
748
748
  e.languages.flow = e.languages.extend("javascript", {}), e.languages.insertBefore("flow", "keyword", { type: [{ pattern: /\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/, alias: "class-name" }] }), e.languages.flow["function-variable"].pattern = /(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i, delete e.languages.flow.parameter, e.languages.insertBefore("flow", "operator", { "flow-punctuation": { pattern: /\{\||\|\}/, alias: "punctuation" } }), Array.isArray(e.languages.flow.keyword) || (e.languages.flow.keyword = [e.languages.flow.keyword]), e.languages.flow.keyword.unshift({ pattern: /(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/, lookbehind: !0 }, { pattern: /(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/, lookbehind: !0 });
749
749
  }(o), o.languages.n4js = o.languages.extend("javascript", { keyword: /\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/ }), o.languages.insertBefore("n4js", "constant", { annotation: { pattern: /@+\w+/, alias: "operator" } }), o.languages.n4jsd = o.languages.n4js, function(e) {
750
- function t(c, h) {
751
- return RegExp(c.replace(/<ID>/g, function() {
750
+ function t(u, m) {
751
+ return RegExp(u.replace(/<ID>/g, function() {
752
752
  return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source;
753
- }), h);
753
+ }), m);
754
754
  }
755
755
  e.languages.insertBefore("javascript", "function-variable", { "method-variable": { pattern: RegExp("(\\.\\s*)" + e.languages.javascript["function-variable"].pattern.source), lookbehind: !0, alias: ["function-variable", "method", "function", "property-access"] } }), e.languages.insertBefore("javascript", "function", { method: { pattern: RegExp("(\\.\\s*)" + e.languages.javascript.function.source), lookbehind: !0, alias: ["function", "property-access"] } }), e.languages.insertBefore("javascript", "constant", { "known-class-name": [{ pattern: /\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/, alias: "class-name" }, { pattern: /\b(?:[A-Z]\w*)Error\b/, alias: "class-name" }] }), e.languages.insertBefore("javascript", "keyword", { imports: { pattern: t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source), lookbehind: !0, inside: e.languages.javascript }, exports: { pattern: t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source), lookbehind: !0, inside: e.languages.javascript } }), e.languages.javascript.keyword.unshift({ pattern: /\b(?:as|default|export|from|import)\b/, alias: "module" }, { pattern: /\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/, alias: "control-flow" }, { pattern: /\bnull\b/, alias: ["null", "nil"] }, { pattern: /\bundefined\b/, alias: "nil" }), e.languages.insertBefore("javascript", "operator", { spread: { pattern: /\.{3}/, alias: "operator" }, arrow: { pattern: /=>/, alias: "operator" } }), e.languages.insertBefore("javascript", "punctuation", { "property-access": { pattern: t(/(\.\s*)#?<ID>/.source), lookbehind: !0 }, "maybe-class-name": { pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/, lookbehind: !0 }, dom: { pattern: /\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/, alias: "variable" }, console: { pattern: /\bconsole(?=\s*\.)/, alias: "class-name" } });
756
756
  for (var a = ["function", "function-variable", "method", "method-variable", "property-access"], l = 0; l < a.length; l++) {
757
- var m = a[l], p = e.languages.javascript[m], m = (p = e.util.type(p) === "RegExp" ? e.languages.javascript[m] = { pattern: p } : p).inside || {};
758
- (p.inside = m)["maybe-class-name"] = /^[A-Z][\s\S]*/;
757
+ var h = a[l], d = e.languages.javascript[h], h = (d = e.util.type(d) === "RegExp" ? e.languages.javascript[h] = { pattern: d } : d).inside || {};
758
+ (d.inside = h)["maybe-class-name"] = /^[A-Z][\s\S]*/;
759
759
  }
760
760
  }(o), function(e) {
761
- var t = e.util.clone(e.languages.javascript), a = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, l = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, p = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
762
- function m(u, g) {
763
- return u = u.replace(/<S>/g, function() {
761
+ var t = e.util.clone(e.languages.javascript), a = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, l = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, d = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
762
+ function h(c, g) {
763
+ return c = c.replace(/<S>/g, function() {
764
764
  return a;
765
765
  }).replace(/<BRACES>/g, function() {
766
766
  return l;
767
767
  }).replace(/<SPREAD>/g, function() {
768
- return p;
769
- }), RegExp(u, g);
768
+ return d;
769
+ }), RegExp(c, g);
770
770
  }
771
- p = m(p).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = m(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source), e.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, e.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, e.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, e.languages.jsx.tag.inside.comment = t.comment, e.languages.insertBefore("inside", "attr-name", { spread: { pattern: m(/<SPREAD>/.source), inside: e.languages.jsx } }, e.languages.jsx.tag), e.languages.insertBefore("inside", "special-attr", { script: { pattern: m(/=<BRACES>/.source), alias: "language-javascript", inside: { "script-punctuation": { pattern: /^=(?=\{)/, alias: "punctuation" }, rest: e.languages.jsx } } }, e.languages.jsx.tag);
772
- function c(u) {
773
- for (var g = [], b = 0; b < u.length; b++) {
774
- var y = u[b], v = !1;
775
- typeof y != "string" && (y.type === "tag" && y.content[0] && y.content[0].type === "tag" ? y.content[0].content[0].content === "</" ? 0 < g.length && g[g.length - 1].tagName === h(y.content[0].content[1]) && g.pop() : y.content[y.content.length - 1].content !== "/>" && g.push({ tagName: h(y.content[0].content[1]), openedBraces: 0 }) : 0 < g.length && y.type === "punctuation" && y.content === "{" ? g[g.length - 1].openedBraces++ : 0 < g.length && 0 < g[g.length - 1].openedBraces && y.type === "punctuation" && y.content === "}" ? g[g.length - 1].openedBraces-- : v = !0), (v || typeof y == "string") && 0 < g.length && g[g.length - 1].openedBraces === 0 && (v = h(y), b < u.length - 1 && (typeof u[b + 1] == "string" || u[b + 1].type === "plain-text") && (v += h(u[b + 1]), u.splice(b + 1, 1)), 0 < b && (typeof u[b - 1] == "string" || u[b - 1].type === "plain-text") && (v = h(u[b - 1]) + v, u.splice(b - 1, 1), b--), u[b] = new e.Token("plain-text", v, null, v)), y.content && typeof y.content != "string" && c(y.content);
771
+ d = h(d).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = h(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source), e.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, e.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, e.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, e.languages.jsx.tag.inside.comment = t.comment, e.languages.insertBefore("inside", "attr-name", { spread: { pattern: h(/<SPREAD>/.source), inside: e.languages.jsx } }, e.languages.jsx.tag), e.languages.insertBefore("inside", "special-attr", { script: { pattern: h(/=<BRACES>/.source), alias: "language-javascript", inside: { "script-punctuation": { pattern: /^=(?=\{)/, alias: "punctuation" }, rest: e.languages.jsx } } }, e.languages.jsx.tag);
772
+ function u(c) {
773
+ for (var g = [], b = 0; b < c.length; b++) {
774
+ var y = c[b], v = !1;
775
+ typeof y != "string" && (y.type === "tag" && y.content[0] && y.content[0].type === "tag" ? y.content[0].content[0].content === "</" ? 0 < g.length && g[g.length - 1].tagName === m(y.content[0].content[1]) && g.pop() : y.content[y.content.length - 1].content !== "/>" && g.push({ tagName: m(y.content[0].content[1]), openedBraces: 0 }) : 0 < g.length && y.type === "punctuation" && y.content === "{" ? g[g.length - 1].openedBraces++ : 0 < g.length && 0 < g[g.length - 1].openedBraces && y.type === "punctuation" && y.content === "}" ? g[g.length - 1].openedBraces-- : v = !0), (v || typeof y == "string") && 0 < g.length && g[g.length - 1].openedBraces === 0 && (v = m(y), b < c.length - 1 && (typeof c[b + 1] == "string" || c[b + 1].type === "plain-text") && (v += m(c[b + 1]), c.splice(b + 1, 1)), 0 < b && (typeof c[b - 1] == "string" || c[b - 1].type === "plain-text") && (v = m(c[b - 1]) + v, c.splice(b - 1, 1), b--), c[b] = new e.Token("plain-text", v, null, v)), y.content && typeof y.content != "string" && u(y.content);
776
776
  }
777
777
  }
778
- var h = function(u) {
779
- return u ? typeof u == "string" ? u : typeof u.content == "string" ? u.content : u.content.map(h).join("") : "";
778
+ var m = function(c) {
779
+ return c ? typeof c == "string" ? c : typeof c.content == "string" ? c.content : c.content.map(m).join("") : "";
780
780
  };
781
- e.hooks.add("after-tokenize", function(u) {
782
- u.language !== "jsx" && u.language !== "tsx" || c(u.tokens);
781
+ e.hooks.add("after-tokenize", function(c) {
782
+ c.language !== "jsx" && c.language !== "tsx" || u(c.tokens);
783
783
  });
784
784
  }(o), function(e) {
785
785
  var t = e.util.clone(e.languages.typescript), t = (e.languages.tsx = e.languages.extend("jsx", t), delete e.languages.tsx.parameter, delete e.languages.tsx["literal-property"], e.languages.tsx.tag);
@@ -808,30 +808,30 @@ o.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy
808
808
  return a;
809
809
  }) + ")"), lookbehind: !0, greedy: !0, inside: { string: /^[<"][\s\S]+/, operator: /:/, punctuation: /\./ } }, "raw-string": { pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/, alias: "string", greedy: !0 } }), e.languages.insertBefore("cpp", "keyword", { "generic-function": { pattern: /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i, inside: { function: /^\w+/, generic: { pattern: /<[\s\S]+/, alias: "class-name", inside: e.languages.cpp } } } }), e.languages.insertBefore("cpp", "operator", { "double-colon": { pattern: /::/, alias: "punctuation" } }), e.languages.insertBefore("cpp", "class-name", { "base-clause": { pattern: /(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/, lookbehind: !0, greedy: !0, inside: e.languages.extend("cpp", {}) } }), e.languages.insertBefore("inside", "double-colon", { "class-name": /\b[a-z_]\w*\b(?!\s*::)/i }, e.languages.cpp["base-clause"]);
810
810
  }(o), o.languages.python = { comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0, greedy: !0 }, "string-interpolation": { pattern: /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i, greedy: !0, inside: { interpolation: { pattern: /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/, lookbehind: !0, inside: { "format-spec": { pattern: /(:)[^:(){}]+(?=\}$)/, lookbehind: !0 }, "conversion-option": { pattern: /![sra](?=[:}]$)/, alias: "punctuation" }, rest: null } }, string: /[\s\S]+/ } }, "triple-quoted-string": { pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i, greedy: !0, alias: "string" }, string: { pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i, greedy: !0 }, function: { pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g, lookbehind: !0 }, "class-name": { pattern: /(\bclass\s+)\w+/i, lookbehind: !0 }, decorator: { pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m, lookbehind: !0, alias: ["annotation", "punctuation"], inside: { punctuation: /\./ } }, keyword: /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/, builtin: /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/, boolean: /\b(?:False|None|True)\b/, number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i, operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/, punctuation: /[{}[\];(),.:]/ }, o.languages.python["string-interpolation"].inside.interpolation.inside.rest = o.languages.python, o.languages.py = o.languages.python, o.languages.json = { property: { pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/, lookbehind: !0, greedy: !0 }, string: { pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/, lookbehind: !0, greedy: !0 }, comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 }, number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, punctuation: /[{}[\],]/, operator: /:/, boolean: /\b(?:false|true)\b/, null: { pattern: /\bnull\b/, alias: "keyword" } }, o.languages.webmanifest = o.languages.json;
811
- var Q = {};
812
- Ce(Q, {
813
- dracula: () => Pe,
814
- duotoneDark: () => ze,
815
- duotoneLight: () => Ue,
816
- github: () => Ze,
817
- gruvboxMaterialDark: () => vt,
818
- gruvboxMaterialLight: () => wt,
819
- jettwaveDark: () => pt,
820
- jettwaveLight: () => gt,
821
- nightOwl: () => qe,
822
- nightOwlLight: () => Ye,
823
- oceanicNext: () => Ve,
824
- okaidia: () => Qe,
825
- oneDark: () => ft,
826
- oneLight: () => mt,
827
- palenight: () => et,
828
- shadesOfPurple: () => at,
829
- synthwave84: () => rt,
830
- ultramin: () => st,
831
- vsDark: () => me,
832
- vsLight: () => ut
811
+ var X = {};
812
+ Ie(X, {
813
+ dracula: () => De,
814
+ duotoneDark: () => $e,
815
+ duotoneLight: () => je,
816
+ github: () => Me,
817
+ gruvboxMaterialDark: () => bt,
818
+ gruvboxMaterialLight: () => ht,
819
+ jettwaveDark: () => it,
820
+ jettwaveLight: () => ct,
821
+ nightOwl: () => Ge,
822
+ nightOwlLight: () => We,
823
+ oceanicNext: () => He,
824
+ okaidia: () => Ke,
825
+ oneDark: () => dt,
826
+ oneLight: () => yt,
827
+ palenight: () => Xe,
828
+ shadesOfPurple: () => Je,
829
+ synthwave84: () => tt,
830
+ ultramin: () => nt,
831
+ vsDark: () => ye,
832
+ vsLight: () => st
833
833
  });
834
- var $e = {
834
+ var Ne = {
835
835
  plain: {
836
836
  color: "#F8F8F2",
837
837
  backgroundColor: "#282A36"
@@ -893,7 +893,7 @@ var $e = {
893
893
  }
894
894
  }
895
895
  ]
896
- }, Pe = $e, je = {
896
+ }, De = Ne, Be = {
897
897
  plain: {
898
898
  backgroundColor: "#2a2734",
899
899
  color: "#9a86fd"
@@ -987,7 +987,7 @@ var $e = {
987
987
  }
988
988
  }
989
989
  ]
990
- }, ze = je, Me = {
990
+ }, $e = Be, Pe = {
991
991
  plain: {
992
992
  backgroundColor: "#faf8f5",
993
993
  color: "#728fcb"
@@ -1085,7 +1085,7 @@ var $e = {
1085
1085
  }
1086
1086
  }
1087
1087
  ]
1088
- }, Ue = Me, Ge = {
1088
+ }, je = Pe, ze = {
1089
1089
  plain: {
1090
1090
  color: "#393A34",
1091
1091
  backgroundColor: "#f6f8fa"
@@ -1158,7 +1158,7 @@ var $e = {
1158
1158
  }
1159
1159
  }
1160
1160
  ]
1161
- }, Ze = Ge, We = {
1161
+ }, Me = ze, Ue = {
1162
1162
  plain: {
1163
1163
  color: "#d6deeb",
1164
1164
  backgroundColor: "#011627"
@@ -1262,7 +1262,7 @@ var $e = {
1262
1262
  }
1263
1263
  }
1264
1264
  ]
1265
- }, qe = We, He = {
1265
+ }, Ge = Ue, Ze = {
1266
1266
  plain: {
1267
1267
  color: "#403f53",
1268
1268
  backgroundColor: "#FBFBFB"
@@ -1354,7 +1354,7 @@ var $e = {
1354
1354
  }
1355
1355
  }
1356
1356
  ]
1357
- }, Ye = He, L = {
1357
+ }, We = Ze, L = {
1358
1358
  char: "#D8DEE9",
1359
1359
  comment: "#999999",
1360
1360
  keyword: "#c5a5c5",
@@ -1368,7 +1368,7 @@ var $e = {
1368
1368
  className: "#FAC863",
1369
1369
  method: "#6699CC",
1370
1370
  operator: "#fc929e"
1371
- }, Ke = {
1371
+ }, qe = {
1372
1372
  plain: {
1373
1373
  backgroundColor: "#282c34",
1374
1374
  color: "#ffffff"
@@ -1491,7 +1491,7 @@ var $e = {
1491
1491
  }
1492
1492
  }
1493
1493
  ]
1494
- }, Ve = Ke, Xe = {
1494
+ }, He = qe, Ye = {
1495
1495
  plain: {
1496
1496
  color: "#f8f8f2",
1497
1497
  backgroundColor: "#272822"
@@ -1606,7 +1606,7 @@ var $e = {
1606
1606
  }
1607
1607
  }
1608
1608
  ]
1609
- }, Qe = Xe, Je = {
1609
+ }, Ke = Ye, Ve = {
1610
1610
  plain: {
1611
1611
  color: "#bfc7d5",
1612
1612
  backgroundColor: "#292d3e"
@@ -1699,7 +1699,7 @@ var $e = {
1699
1699
  }
1700
1700
  }
1701
1701
  ]
1702
- }, et = Je, tt = {
1702
+ }, Xe = Ve, Qe = {
1703
1703
  plain: {
1704
1704
  color: "#9EFEFF",
1705
1705
  backgroundColor: "#2D2A55"
@@ -1787,7 +1787,7 @@ var $e = {
1787
1787
  }
1788
1788
  }
1789
1789
  ]
1790
- }, at = tt, nt = {
1790
+ }, Je = Qe, et = {
1791
1791
  plain: {
1792
1792
  backgroundColor: "linear-gradient(to bottom, #2a2139 75%, #34294f)",
1793
1793
  backgroundImage: "#34294f",
@@ -1912,7 +1912,7 @@ var $e = {
1912
1912
  }
1913
1913
  }
1914
1914
  ]
1915
- }, rt = nt, ot = {
1915
+ }, tt = et, at = {
1916
1916
  plain: {
1917
1917
  color: "#282a2e",
1918
1918
  backgroundColor: "#ffffff"
@@ -1937,7 +1937,7 @@ var $e = {
1937
1937
  }
1938
1938
  }
1939
1939
  ]
1940
- }, st = ot, lt = {
1940
+ }, nt = at, rt = {
1941
1941
  plain: {
1942
1942
  color: "#9CDCFE",
1943
1943
  backgroundColor: "#1E1E1E"
@@ -2039,7 +2039,7 @@ var $e = {
2039
2039
  }
2040
2040
  }
2041
2041
  ]
2042
- }, me = lt, it = {
2042
+ }, ye = rt, ot = {
2043
2043
  plain: {
2044
2044
  color: "#000000",
2045
2045
  backgroundColor: "#ffffff"
@@ -2112,7 +2112,7 @@ var $e = {
2112
2112
  }
2113
2113
  }
2114
2114
  ]
2115
- }, ut = it, ct = {
2115
+ }, st = ot, lt = {
2116
2116
  plain: {
2117
2117
  color: "#f8fafc",
2118
2118
  backgroundColor: "#011627"
@@ -2211,7 +2211,7 @@ var $e = {
2211
2211
  }
2212
2212
  }
2213
2213
  ]
2214
- }, pt = ct, dt = {
2214
+ }, it = lt, ut = {
2215
2215
  plain: {
2216
2216
  color: "#0f172a",
2217
2217
  backgroundColor: "#f1f5f9"
@@ -2310,7 +2310,7 @@ var $e = {
2310
2310
  }
2311
2311
  }
2312
2312
  ]
2313
- }, gt = dt, yt = {
2313
+ }, ct = ut, pt = {
2314
2314
  plain: {
2315
2315
  backgroundColor: "hsl(220, 13%, 18%)",
2316
2316
  color: "hsl(220, 14%, 71%)",
@@ -2408,7 +2408,7 @@ var $e = {
2408
2408
  }
2409
2409
  }
2410
2410
  ]
2411
- }, ft = yt, bt = {
2411
+ }, dt = pt, gt = {
2412
2412
  plain: {
2413
2413
  backgroundColor: "hsl(230, 1%, 98%)",
2414
2414
  color: "hsl(230, 8%, 24%)"
@@ -2509,7 +2509,7 @@ var $e = {
2509
2509
  }
2510
2510
  }
2511
2511
  ]
2512
- }, mt = bt, ht = {
2512
+ }, yt = gt, ft = {
2513
2513
  plain: {
2514
2514
  color: "#ebdbb2",
2515
2515
  backgroundColor: "#292828"
@@ -2582,7 +2582,7 @@ var $e = {
2582
2582
  }
2583
2583
  }
2584
2584
  ]
2585
- }, vt = ht, kt = {
2585
+ }, bt = ft, mt = {
2586
2586
  plain: {
2587
2587
  color: "#654735",
2588
2588
  backgroundColor: "#f9f5d7"
@@ -2654,33 +2654,17 @@ var $e = {
2654
2654
  }
2655
2655
  }
2656
2656
  ]
2657
- }, wt = kt, Et = (e, t) => {
2658
- const { plain: a } = e, l = e.styles.reduce((p, m) => {
2659
- const { languages: c, style: h } = m;
2660
- return c && !c.includes(t) || m.types.forEach((u) => {
2661
- const g = B(B({}, p[u]), h);
2662
- p[u] = g;
2663
- }), p;
2664
- }, {});
2665
- return l.root = a, l.plain = q(B({}, a), { backgroundColor: void 0 }), l;
2666
- }, oe = Et, xt = (e, t) => {
2667
- const [a, l] = de(
2668
- oe(t, e)
2669
- ), p = V(), m = V();
2670
- return Ee(() => {
2671
- (t !== p.current || e !== m.current) && (p.current = t, m.current = e, l(oe(t, e)));
2672
- }, [e, t]), a;
2673
- }, St = (e) => X(
2657
+ }, ht = mt, vt = (e) => V(
2674
2658
  (t) => {
2675
- var a = t, { className: l, style: p, line: m } = a, c = be(a, ["className", "style", "line"]);
2676
- const h = q(B({}, c), {
2677
- className: ge("token-line", l)
2659
+ var a = t, { className: l, style: d, line: h } = a, u = ge(a, ["className", "style", "line"]);
2660
+ const m = q(B({}, u), {
2661
+ className: ce("token-line", l)
2678
2662
  });
2679
- return typeof e == "object" && "plain" in e && (h.style = e.plain), typeof p == "object" && (h.style = B(B({}, h.style || {}), p)), h;
2663
+ return typeof e == "object" && "plain" in e && (m.style = e.plain), typeof d == "object" && (m.style = B(B({}, m.style || {}), d)), m;
2680
2664
  },
2681
2665
  [e]
2682
- ), At = (e) => {
2683
- const t = X(
2666
+ ), kt = (e) => {
2667
+ const t = V(
2684
2668
  ({ types: a, empty: l }) => {
2685
2669
  if (e != null) {
2686
2670
  {
@@ -2691,25 +2675,25 @@ var $e = {
2691
2675
  }
2692
2676
  return Object.assign(
2693
2677
  l != null ? { display: "inline-block" } : {},
2694
- ...a.map((p) => e[p])
2678
+ ...a.map((d) => e[d])
2695
2679
  );
2696
2680
  }
2697
2681
  },
2698
2682
  [e]
2699
2683
  );
2700
- return X(
2684
+ return V(
2701
2685
  (a) => {
2702
- var l = a, { token: p, className: m, style: c } = l, h = be(l, ["token", "className", "style"]);
2703
- const u = q(B({}, h), {
2704
- className: ge("token", ...p.types, m),
2705
- children: p.content,
2706
- style: t(p)
2686
+ var l = a, { token: d, className: h, style: u } = l, m = ge(l, ["token", "className", "style"]);
2687
+ const c = q(B({}, m), {
2688
+ className: ce("token", ...d.types, h),
2689
+ children: d.content,
2690
+ style: t(d)
2707
2691
  });
2708
- return c != null && (u.style = B(B({}, u.style || {}), c)), u;
2692
+ return u != null && (c.style = B(B({}, c.style || {}), u)), c;
2709
2693
  },
2710
2694
  [t]
2711
2695
  );
2712
- }, _t = /\r\n|\r|\n/, se = (e) => {
2696
+ }, wt = /\r\n|\r|\n/, re = (e) => {
2713
2697
  e.length === 0 ? e.push({
2714
2698
  types: ["plain"],
2715
2699
  content: `
@@ -2717,66 +2701,78 @@ var $e = {
2717
2701
  empty: !0
2718
2702
  }) : e.length === 1 && e[0].content === "" && (e[0].content = `
2719
2703
  `, e[0].empty = !0);
2720
- }, le = (e, t) => {
2704
+ }, oe = (e, t) => {
2721
2705
  const a = e.length;
2722
2706
  return a > 0 && e[a - 1] === t ? e : e.concat(t);
2723
- }, Ft = (e) => {
2724
- const t = [[]], a = [e], l = [0], p = [e.length];
2725
- let m = 0, c = 0, h = [];
2726
- const u = [h];
2727
- for (; c > -1; ) {
2728
- for (; (m = l[c]++) < p[c]; ) {
2729
- let g, b = t[c];
2730
- const v = a[c][m];
2731
- if (typeof v == "string" ? (b = c > 0 ? b : ["plain"], g = v) : (b = le(b, v.type), v.alias && (b = le(b, v.alias)), g = v.content), typeof g != "string") {
2732
- c++, t.push(b), a.push(g), l.push(0), p.push(g.length);
2707
+ }, Et = (e) => {
2708
+ const t = [[]], a = [e], l = [0], d = [e.length];
2709
+ let h = 0, u = 0, m = [];
2710
+ const c = [m];
2711
+ for (; u > -1; ) {
2712
+ for (; (h = l[u]++) < d[u]; ) {
2713
+ let g, b = t[u];
2714
+ const v = a[u][h];
2715
+ if (typeof v == "string" ? (b = u > 0 ? b : ["plain"], g = v) : (b = oe(b, v.type), v.alias && (b = oe(b, v.alias)), g = v.content), typeof g != "string") {
2716
+ u++, t.push(b), a.push(g), l.push(0), d.push(g.length);
2733
2717
  continue;
2734
2718
  }
2735
- const k = g.split(_t), n = k.length;
2736
- h.push({
2719
+ const w = g.split(wt), n = w.length;
2720
+ m.push({
2737
2721
  types: b,
2738
- content: k[0]
2722
+ content: w[0]
2739
2723
  });
2740
2724
  for (let r = 1; r < n; r++)
2741
- se(h), u.push(h = []), h.push({
2725
+ re(m), c.push(m = []), m.push({
2742
2726
  types: b,
2743
- content: k[r]
2727
+ content: w[r]
2744
2728
  });
2745
2729
  }
2746
- c--, t.pop(), a.pop(), l.pop(), p.pop();
2730
+ u--, t.pop(), a.pop(), l.pop(), d.pop();
2747
2731
  }
2748
- return se(h), u;
2749
- }, ie = Ft, Tt = ({ prism: e, code: t, grammar: a, language: l }) => {
2750
- const p = V(e);
2751
- return xe(() => {
2752
- if (a == null)
2753
- return ie([t]);
2754
- const m = {
2755
- code: t,
2756
- grammar: a,
2757
- language: l,
2758
- tokens: []
2759
- };
2760
- return p.current.hooks.run("before-tokenize", m), m.tokens = p.current.tokenize(t, a), p.current.hooks.run("after-tokenize", m), ie(m.tokens);
2761
- }, [t, a, l]);
2762
- }, Rt = ({
2732
+ return re(m), c;
2733
+ }, se = Et, xt = ({ prism: e, code: t, grammar: a, language: l }) => ve(() => {
2734
+ if (a == null)
2735
+ return se([t]);
2736
+ const d = {
2737
+ code: t,
2738
+ grammar: a,
2739
+ language: l,
2740
+ tokens: []
2741
+ };
2742
+ return e.hooks.run("before-tokenize", d), d.tokens = e.tokenize(t, a), e.hooks.run("after-tokenize", d), se(d.tokens);
2743
+ }, [
2744
+ t,
2745
+ a,
2746
+ l,
2747
+ // prism is a stable import
2748
+ e
2749
+ ]), St = (e, t) => {
2750
+ const { plain: a } = e, l = e.styles.reduce((d, h) => {
2751
+ const { languages: u, style: m } = h;
2752
+ return u && !u.includes(t) || h.types.forEach((c) => {
2753
+ const g = B(B({}, d[c]), m);
2754
+ d[c] = g;
2755
+ }), d;
2756
+ }, {});
2757
+ return l.root = a, l.plain = q(B({}, a), { backgroundColor: void 0 }), l;
2758
+ }, At = St, _t = ({
2763
2759
  children: e,
2764
2760
  language: t,
2765
2761
  code: a,
2766
2762
  theme: l,
2767
- prism: p
2763
+ prism: d
2768
2764
  }) => {
2769
- const m = t.toLowerCase(), c = xt(m, l), h = St(c), u = At(c), g = p.languages[m], b = Tt({ prism: p, language: m, code: a, grammar: g });
2765
+ const h = t.toLowerCase(), u = At(l, h), m = vt(u), c = kt(u), g = d.languages[h], b = xt({ prism: d, language: h, code: a, grammar: g });
2770
2766
  return e({
2771
2767
  tokens: b,
2772
- className: `prism-code language-${m}`,
2773
- style: c != null ? c.root : {},
2774
- getLineProps: h,
2775
- getTokenProps: u
2768
+ className: `prism-code language-${h}`,
2769
+ style: u != null ? u.root : {},
2770
+ getLineProps: m,
2771
+ getTokenProps: c
2776
2772
  });
2777
- }, It = (e) => we(Rt, q(B({}, e), {
2773
+ }, Ft = (e) => he(_t, q(B({}, e), {
2778
2774
  prism: e.prism || o,
2779
- theme: e.theme || me,
2775
+ theme: e.theme || ye,
2780
2776
  code: e.code,
2781
2777
  language: e.language
2782
2778
  }));
@@ -2792,158 +2788,159 @@ prismjs/prism.js:
2792
2788
  * @public
2793
2789
  *)
2794
2790
  */
2795
- var Lt = (e, t, a, l, p, m, c, h) => {
2796
- let u = document.documentElement, g = ["light", "dark"];
2797
- function b(k) {
2791
+ var Tt = (e, t, a, l, d, h, u, m) => {
2792
+ let c = document.documentElement, g = ["light", "dark"];
2793
+ function b(w) {
2798
2794
  (Array.isArray(e) ? e : [e]).forEach((n) => {
2799
- let r = n === "class", s = r && m ? p.map((d) => m[d] || d) : p;
2800
- r ? (u.classList.remove(...s), u.classList.add(k)) : u.setAttribute(n, k);
2801
- }), y(k);
2795
+ let r = n === "class", s = r && h ? d.map((p) => h[p] || p) : d;
2796
+ r ? (c.classList.remove(...s), c.classList.add(w)) : c.setAttribute(n, w);
2797
+ }), y(w);
2802
2798
  }
2803
- function y(k) {
2804
- h && g.includes(k) && (u.style.colorScheme = k);
2799
+ function y(w) {
2800
+ m && g.includes(w) && (c.style.colorScheme = w);
2805
2801
  }
2806
2802
  function v() {
2807
2803
  return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
2808
2804
  }
2809
2805
  if (l) b(l);
2810
2806
  else try {
2811
- let k = localStorage.getItem(t) || a, n = c && k === "system" ? v() : k;
2807
+ let w = localStorage.getItem(t) || a, n = u && w === "system" ? v() : w;
2812
2808
  b(n);
2813
2809
  } catch {
2814
2810
  }
2815
- }, ue = ["light", "dark"], he = "(prefers-color-scheme: dark)", Ot = typeof window > "u", ee = _.createContext(void 0), Ct = { setTheme: (e) => {
2816
- }, themes: [] }, Nt = () => {
2811
+ }, le = ["light", "dark"], fe = "(prefers-color-scheme: dark)", Rt = typeof window > "u", J = _.createContext(void 0), It = { setTheme: (e) => {
2812
+ }, themes: [] }, Lt = () => {
2817
2813
  var e;
2818
- return (e = _.useContext(ee)) != null ? e : Ct;
2819
- }, Wt = (e) => _.useContext(ee) ? _.createElement(_.Fragment, null, e.children) : _.createElement(Bt, { ...e }), Dt = ["light", "dark"], Bt = ({ forcedTheme: e, disableTransitionOnChange: t = !1, enableSystem: a = !0, enableColorScheme: l = !0, storageKey: p = "theme", themes: m = Dt, defaultTheme: c = a ? "system" : "light", attribute: h = "data-theme", value: u, children: g, nonce: b, scriptProps: y }) => {
2820
- let [v, k] = _.useState(() => ce(p, c)), [n, r] = _.useState(() => ce(p)), s = u ? Object.values(u) : m, d = _.useCallback((w) => {
2821
- let x = w;
2814
+ return (e = _.useContext(J)) != null ? e : It;
2815
+ }, Ut = (e) => _.useContext(J) ? _.createElement(_.Fragment, null, e.children) : _.createElement(Ct, { ...e }), Ot = ["light", "dark"], Ct = ({ forcedTheme: e, disableTransitionOnChange: t = !1, enableSystem: a = !0, enableColorScheme: l = !0, storageKey: d = "theme", themes: h = Ot, defaultTheme: u = a ? "system" : "light", attribute: m = "data-theme", value: c, children: g, nonce: b, scriptProps: y }) => {
2816
+ let [v, w] = _.useState(() => ie(d, u)), [n, r] = _.useState(() => ie(d)), s = c ? Object.values(c) : h, p = _.useCallback((k) => {
2817
+ let x = k;
2822
2818
  if (!x) return;
2823
- w === "system" && a && (x = pe());
2824
- let S = u ? u[x] : x, F = t ? Pt(b) : null, A = document.documentElement, C = (T) => {
2819
+ k === "system" && a && (x = ue());
2820
+ let S = c ? c[x] : x, F = t ? Dt(b) : null, A = document.documentElement, C = (T) => {
2825
2821
  T === "class" ? (A.classList.remove(...s), S && A.classList.add(S)) : T.startsWith("data-") && (S ? A.setAttribute(T, S) : A.removeAttribute(T));
2826
2822
  };
2827
- if (Array.isArray(h) ? h.forEach(C) : C(h), l) {
2828
- let T = ue.includes(c) ? c : null, O = ue.includes(x) ? x : T;
2823
+ if (Array.isArray(m) ? m.forEach(C) : C(m), l) {
2824
+ let T = le.includes(u) ? u : null, O = le.includes(x) ? x : T;
2829
2825
  A.style.colorScheme = O;
2830
2826
  }
2831
2827
  F == null || F();
2832
- }, [b]), i = _.useCallback((w) => {
2833
- let x = typeof w == "function" ? w(v) : w;
2834
- k(x);
2828
+ }, [b]), i = _.useCallback((k) => {
2829
+ let x = typeof k == "function" ? k(v) : k;
2830
+ w(x);
2835
2831
  try {
2836
- localStorage.setItem(p, x);
2832
+ localStorage.setItem(d, x);
2837
2833
  } catch {
2838
2834
  }
2839
- }, [v]), f = _.useCallback((w) => {
2840
- let x = pe(w);
2841
- r(x), v === "system" && a && !e && d("system");
2835
+ }, [v]), f = _.useCallback((k) => {
2836
+ let x = ue(k);
2837
+ r(x), v === "system" && a && !e && p("system");
2842
2838
  }, [v, e]);
2843
2839
  _.useEffect(() => {
2844
- let w = window.matchMedia(he);
2845
- return w.addListener(f), f(w), () => w.removeListener(f);
2840
+ let k = window.matchMedia(fe);
2841
+ return k.addListener(f), f(k), () => k.removeListener(f);
2846
2842
  }, [f]), _.useEffect(() => {
2847
- let w = (x) => {
2848
- if (x.key !== p) return;
2849
- let S = x.newValue || c;
2850
- i(S);
2843
+ let k = (x) => {
2844
+ x.key === d && (x.newValue ? w(x.newValue) : i(u));
2851
2845
  };
2852
- return window.addEventListener("storage", w), () => window.removeEventListener("storage", w);
2846
+ return window.addEventListener("storage", k), () => window.removeEventListener("storage", k);
2853
2847
  }, [i]), _.useEffect(() => {
2854
- d(e ?? v);
2848
+ p(e ?? v);
2855
2849
  }, [e, v]);
2856
- let E = _.useMemo(() => ({ theme: v, setTheme: i, forcedTheme: e, resolvedTheme: v === "system" ? n : v, themes: a ? [...m, "system"] : m, systemTheme: a ? n : void 0 }), [v, i, e, n, a, m]);
2857
- return _.createElement(ee.Provider, { value: E }, _.createElement($t, { forcedTheme: e, storageKey: p, attribute: h, enableSystem: a, enableColorScheme: l, defaultTheme: c, value: u, themes: m, nonce: b, scriptProps: y }), g);
2858
- }, $t = _.memo(({ forcedTheme: e, storageKey: t, attribute: a, enableSystem: l, enableColorScheme: p, defaultTheme: m, value: c, themes: h, nonce: u, scriptProps: g }) => {
2859
- let b = JSON.stringify([a, t, m, e, h, c, l, p]).slice(1, -1);
2860
- return _.createElement("script", { ...g, suppressHydrationWarning: !0, nonce: typeof window > "u" ? u : "", dangerouslySetInnerHTML: { __html: `(${Lt.toString()})(${b})` } });
2861
- }), ce = (e, t) => {
2862
- if (Ot) return;
2850
+ let E = _.useMemo(() => ({ theme: v, setTheme: i, forcedTheme: e, resolvedTheme: v === "system" ? n : v, themes: a ? [...h, "system"] : h, systemTheme: a ? n : void 0 }), [v, i, e, n, a, h]);
2851
+ return _.createElement(J.Provider, { value: E }, _.createElement(Nt, { forcedTheme: e, storageKey: d, attribute: m, enableSystem: a, enableColorScheme: l, defaultTheme: u, value: c, themes: h, nonce: b, scriptProps: y }), g);
2852
+ }, Nt = _.memo(({ forcedTheme: e, storageKey: t, attribute: a, enableSystem: l, enableColorScheme: d, defaultTheme: h, value: u, themes: m, nonce: c, scriptProps: g }) => {
2853
+ let b = JSON.stringify([a, t, h, e, m, u, l, d]).slice(1, -1);
2854
+ return _.createElement("script", { ...g, suppressHydrationWarning: !0, nonce: typeof window > "u" ? c : "", dangerouslySetInnerHTML: { __html: `(${Tt.toString()})(${b})` } });
2855
+ }), ie = (e, t) => {
2856
+ if (Rt) return;
2863
2857
  let a;
2864
2858
  try {
2865
2859
  a = localStorage.getItem(e) || void 0;
2866
2860
  } catch {
2867
2861
  }
2868
2862
  return a || t;
2869
- }, Pt = (e) => {
2863
+ }, Dt = (e) => {
2870
2864
  let t = document.createElement("style");
2871
2865
  return e && t.setAttribute("nonce", e), t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")), document.head.appendChild(t), () => {
2872
2866
  window.getComputedStyle(document.body), setTimeout(() => {
2873
2867
  document.head.removeChild(t);
2874
2868
  }, 1);
2875
2869
  };
2876
- }, pe = (e) => (e || (e = window.matchMedia(he)), e.matches ? "dark" : "light");
2870
+ }, ue = (e) => (e || (e = window.matchMedia(fe)), e.matches ? "dark" : "light");
2877
2871
  globalThis.Prism = o;
2878
- import("./prism-bash.min-DadFsM4Z.js");
2879
- import("./prism-ruby.min-C7LwcKyz.js");
2880
- import("./prism-markup-templating-DZrrEs0A.js");
2872
+ import("./prism-bash.min-HHIMdNJ_.js");
2873
+ import("./prism-ruby.min-Dx9KO9ds.js").then((e) => e.p);
2881
2874
  import("./prism-markup-BNGj0Tvm.js");
2882
- import("./prism-php.min-o7FpoMP_.js");
2883
2875
  import("./prism-json.min-B1GJqK1k.js");
2884
- import("./prism-java.min-d5iT_mOd.js");
2885
- import("./prism-csharp.min-Yizuc34Y.js");
2876
+ import("./prism-java.min-BpvsOuIa.js").then((e) => e.p);
2877
+ import("./prism-csharp.min-bQAo2pmx.js").then((e) => e.p);
2886
2878
  import("./prism-objectivec.min-BXSWqpJJ.js");
2887
- import("./prism-markdown.min-F3U-vPBi.js");
2879
+ import("./prism-markdown.min-C0Qn0m-5.js");
2888
2880
  import("./prism-javascript.min-CEqHqgbm.js");
2889
- import("./prism-typescript.min-oSVeWCAd.js");
2890
- const jt = {
2881
+ import("./prism-typescript.min-CD7H2IYQ.js").then((e) => e.p);
2882
+ const Bt = {
2891
2883
  mdx: "md"
2892
- }, qt = ({
2884
+ }, Gt = ({
2893
2885
  copyable: e = !0,
2894
2886
  language: t = "plain",
2895
- ...a
2887
+ title: a,
2888
+ ...l
2896
2889
  }) => {
2897
- const { resolvedTheme: l } = Nt(), [p, m] = de(!1);
2898
- if (!a.code)
2890
+ const { resolvedTheme: d } = Lt(), [h, u] = ke(!1);
2891
+ if (!l.code)
2899
2892
  return null;
2900
- const c = l === "dark" ? Q.vsDark : Q.github;
2893
+ const m = d === "dark" ? X.vsDark : X.github;
2901
2894
  return /* @__PURE__ */ I.jsx(
2902
- _e,
2895
+ xe,
2903
2896
  {
2904
2897
  fallback: /* @__PURE__ */ I.jsxs("div", { className: "relative group", children: [
2898
+ a && /* @__PURE__ */ I.jsx("div", { className: "text-xs text-muted-foreground absolute top-2 font-mono border-b w-full pb-2 px-4 ", children: a }),
2905
2899
  /* @__PURE__ */ I.jsx(
2906
2900
  "pre",
2907
2901
  {
2908
- className: ne(
2902
+ className: ae(
2909
2903
  "relative scrollbar overflow-x-auto",
2910
- a.className,
2911
- a.noBackground ? "!bg-transparent" : "bg-[#f6f8fa] text-[#393a34] dark:bg-[#1e1e1e] dark:text-[#9cdcfe]",
2912
- a.wrapLines && "whitespace-pre-wrap break-words"
2904
+ l.className,
2905
+ l.noBackground ? "!bg-transparent" : "bg-[#f6f8fa] text-[#393a34] dark:bg-[#1e1e1e] dark:text-[#9cdcfe]",
2906
+ l.wrapLines && "whitespace-pre-wrap break-words",
2907
+ a && "pt-10"
2913
2908
  ),
2914
- children: a.code
2909
+ children: l.code
2915
2910
  }
2916
2911
  ),
2917
- a.showLanguageIndicator && /* @__PURE__ */ I.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t })
2912
+ l.showLanguageIndicator && /* @__PURE__ */ I.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t })
2918
2913
  ] }),
2919
2914
  children: /* @__PURE__ */ I.jsx(
2920
- It,
2915
+ Ft,
2921
2916
  {
2922
- theme: c,
2923
- language: jt[t] ?? t,
2924
- ...a,
2925
- children: ({ className: u, style: g, tokens: b, getLineProps: y, getTokenProps: v }) => /* @__PURE__ */ I.jsxs("div", { className: "relative group", children: [
2917
+ theme: m,
2918
+ language: Bt[t] ?? t,
2919
+ ...l,
2920
+ children: ({ className: g, style: b, tokens: y, getLineProps: v, getTokenProps: w }) => /* @__PURE__ */ I.jsxs("div", { className: "relative group", children: [
2921
+ a && /* @__PURE__ */ I.jsx("div", { className: "text-xs text-muted-foreground absolute top-2 font-mono border-b w-full pb-2 px-4 ", children: a }),
2926
2922
  /* @__PURE__ */ I.jsx(
2927
2923
  "pre",
2928
2924
  {
2929
- className: ne(
2925
+ className: ae(
2930
2926
  "relative scrollbar overflow-x-auto",
2931
- u,
2932
- a.className,
2933
- a.noBackground && "!bg-transparent",
2934
- a.wrapLines && "whitespace-pre-wrap break-words"
2927
+ g,
2928
+ l.className,
2929
+ l.noBackground && "!bg-transparent",
2930
+ l.wrapLines && "whitespace-pre-wrap break-words",
2931
+ a && "pt-10"
2935
2932
  ),
2936
- style: g,
2937
- children: b.map((k, n) => (
2933
+ style: b,
2934
+ children: y.map((n, r) => (
2938
2935
  // eslint-disable-next-line react/no-array-index-key
2939
- /* @__PURE__ */ I.jsx("div", { ...y({ line: k }), children: k.map((r, s) => (
2936
+ /* @__PURE__ */ I.jsx("div", { ...v({ line: n }), children: n.map((s, p) => (
2940
2937
  // eslint-disable-next-line react/no-array-index-key
2941
- /* @__PURE__ */ I.jsx("span", { ...v({ token: r }) }, s)
2942
- )) }, n)
2938
+ /* @__PURE__ */ I.jsx("span", { ...w({ token: s }) }, p)
2939
+ )) }, r)
2943
2940
  ))
2944
2941
  }
2945
2942
  ),
2946
- a.showLanguageIndicator && /* @__PURE__ */ I.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t }),
2943
+ l.showLanguageIndicator && /* @__PURE__ */ I.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t }),
2947
2944
  e && /* @__PURE__ */ I.jsx(
2948
2945
  "button",
2949
2946
  {
@@ -2951,22 +2948,22 @@ const jt = {
2951
2948
  "aria-label": "Copy code",
2952
2949
  title: "Copy code",
2953
2950
  className: "absolute top-2 right-2 p-2 opacity-0 group-hover:opacity-100 group-hover:bg-zinc-100 group-hover:dark:bg-zinc-700 hover:outline hover:outline-border/75 dark:hover:outline-border rounded-md text-sm text-gray-400 hover:text-gray-600 dark:text-gray-500 dark:hover:text-gray-400 transition",
2954
- disabled: p,
2951
+ disabled: h,
2955
2952
  onClick: () => {
2956
- m(!0), navigator.clipboard.writeText(
2957
- b.map((k) => k.map(({ content: n }) => n).join("")).join(`
2953
+ u(!0), navigator.clipboard.writeText(
2954
+ y.map((n) => n.map(({ content: r }) => r).join("")).join(`
2958
2955
  `)
2959
- ), setTimeout(() => m(!1), 2e3);
2956
+ ), setTimeout(() => u(!1), 2e3);
2960
2957
  },
2961
- children: p ? /* @__PURE__ */ I.jsx(
2962
- Se,
2958
+ children: h ? /* @__PURE__ */ I.jsx(
2959
+ we,
2963
2960
  {
2964
2961
  className: "text-emerald-600",
2965
2962
  size: 16,
2966
2963
  strokeWidth: 2.5,
2967
2964
  absoluteStrokeWidth: !0
2968
2965
  }
2969
- ) : /* @__PURE__ */ I.jsx(Ae, { size: 16 })
2966
+ ) : /* @__PURE__ */ I.jsx(Ee, { size: 16 })
2970
2967
  }
2971
2968
  )
2972
2969
  ] })
@@ -2976,8 +2973,8 @@ const jt = {
2976
2973
  );
2977
2974
  };
2978
2975
  export {
2979
- Wt as J,
2980
- qt as S,
2981
- Nt as z
2976
+ Ut as J,
2977
+ Gt as S,
2978
+ Lt as z
2982
2979
  };
2983
- //# sourceMappingURL=SyntaxHighlight-DkLOsjHS.js.map
2980
+ //# sourceMappingURL=SyntaxHighlight-C1w1QPdY.js.map