zudoku 0.46.3 → 0.47.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/app/main.js +2 -2
  2. package/dist/app/main.js.map +1 -1
  3. package/dist/config/config.d.ts +11 -0
  4. package/dist/config/validators/InputSidebarSchema.d.ts +1 -1
  5. package/dist/config/validators/validate.d.ts +167 -47
  6. package/dist/config/validators/validate.js +22 -1
  7. package/dist/config/validators/validate.js.map +1 -1
  8. package/dist/config/validators/validate.test.d.ts +1 -0
  9. package/dist/config/validators/validate.test.js +80 -0
  10. package/dist/config/validators/validate.test.js.map +1 -0
  11. package/dist/lib/auth/issuer.d.ts +2 -0
  12. package/dist/lib/auth/issuer.js +37 -0
  13. package/dist/lib/auth/issuer.js.map +1 -0
  14. package/dist/lib/auth/issuer.test.d.ts +1 -0
  15. package/dist/lib/auth/issuer.test.js +94 -0
  16. package/dist/lib/auth/issuer.test.js.map +1 -0
  17. package/dist/lib/authentication/hook.d.ts +6 -0
  18. package/dist/lib/authentication/providers/auth0.js +1 -1
  19. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  20. package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
  21. package/dist/lib/authentication/providers/azureb2c.js +145 -0
  22. package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
  23. package/dist/lib/authentication/providers/clerk.js +3 -12
  24. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  25. package/dist/lib/authentication/providers/openid.d.ts +1 -0
  26. package/dist/lib/authentication/providers/openid.js +38 -0
  27. package/dist/lib/authentication/providers/openid.js.map +1 -1
  28. package/dist/lib/authentication/providers/supabase.js +2 -9
  29. package/dist/lib/authentication/providers/supabase.js.map +1 -1
  30. package/dist/lib/authentication/state.d.ts +6 -5
  31. package/dist/lib/authentication/state.js +19 -6
  32. package/dist/lib/authentication/state.js.map +1 -1
  33. package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
  34. package/dist/lib/components/index.d.ts +6 -0
  35. package/dist/lib/hooks/index.d.ts +6 -0
  36. package/dist/lib/plugins/api-keys/index.js +1 -3
  37. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  38. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +1 -1
  39. package/dist/lib/plugins/openapi/playground/Headers.d.ts +2 -2
  40. package/dist/lib/plugins/openapi/playground/fileUtils.js +1 -1
  41. package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -1
  42. package/dist/lib/util/MdxComponents.js +1 -1
  43. package/dist/lib/util/MdxComponents.js.map +1 -1
  44. package/dist/vite/build.js +1 -28
  45. package/dist/vite/build.js.map +1 -1
  46. package/lib/Drawer-BzkOKwgC.js.map +1 -1
  47. package/lib/{Markdown-D81l28Ib.js → Markdown-r4buN85T.js} +37 -37
  48. package/lib/{Markdown-D81l28Ib.js.map → Markdown-r4buN85T.js.map} +1 -1
  49. package/lib/{MdxPage-S_CxlNmX.js → MdxPage-DYKsTerz.js} +4 -4
  50. package/lib/{MdxPage-S_CxlNmX.js.map → MdxPage-DYKsTerz.js.map} +1 -1
  51. package/lib/{OasProvider-D5rt6WMb.js → OasProvider-8vNiLpIG.js} +2 -2
  52. package/lib/{OasProvider-D5rt6WMb.js.map → OasProvider-8vNiLpIG.js.map} +1 -1
  53. package/lib/{OperationList-CNhg654C.js → OperationList-BCVHtZNK.js} +6 -6
  54. package/lib/OperationList-BCVHtZNK.js.map +1 -0
  55. package/lib/{RouteGuard-CZ_uLv3g.js → RouteGuard-B7GVW4oL.js} +2 -2
  56. package/lib/{RouteGuard-CZ_uLv3g.js.map → RouteGuard-B7GVW4oL.js.map} +1 -1
  57. package/lib/{SchemaList-BvzCrTYg.js → SchemaList-1oJKvBxh.js} +6 -6
  58. package/lib/{SchemaList-BvzCrTYg.js.map → SchemaList-1oJKvBxh.js.map} +1 -1
  59. package/lib/{SchemaView-Br1RupCp.js → SchemaView-CTqaB-79.js} +3 -3
  60. package/lib/{SchemaView-Br1RupCp.js.map → SchemaView-CTqaB-79.js.map} +1 -1
  61. package/lib/{SignUp-B-1Pvc-8.js → SignUp-CRIKdWt9.js} +2 -2
  62. package/lib/{SignUp-B-1Pvc-8.js.map → SignUp-CRIKdWt9.js.map} +1 -1
  63. package/lib/{Slot-T8NJUkm4.js → Slot-B5qSAnwR.js} +4 -4
  64. package/lib/{Slot-T8NJUkm4.js.map → Slot-B5qSAnwR.js.map} +1 -1
  65. package/lib/{SyntaxHighlight-Cz6Me7-F.js → SyntaxHighlight-CqKHkyEy.js} +1291 -1265
  66. package/lib/SyntaxHighlight-CqKHkyEy.js.map +1 -0
  67. package/lib/{Toc-PA-j0gEu.js → Toc-lxYQEOzX.js} +2 -2
  68. package/lib/{Toc-PA-j0gEu.js.map → Toc-lxYQEOzX.js.map} +1 -1
  69. package/lib/{circular-5FeDWJOn.js → circular-ZGGPtwMq.js} +2 -2
  70. package/lib/{circular-5FeDWJOn.js.map → circular-ZGGPtwMq.js.map} +1 -1
  71. package/lib/clerk-yAKDC3Qz.js +24812 -0
  72. package/lib/clerk-yAKDC3Qz.js.map +1 -0
  73. package/lib/{createServer-BC2RZgmW.js → createServer-DUBpXfvA.js} +2627 -2617
  74. package/lib/createServer-DUBpXfvA.js.map +1 -0
  75. package/lib/errors-D27ZTQgx.js +78 -0
  76. package/lib/errors-D27ZTQgx.js.map +1 -0
  77. package/lib/{hook-k7PfUIsj.js → hook-7wZANGJP.js} +53 -35
  78. package/lib/{hook-k7PfUIsj.js.map → hook-7wZANGJP.js.map} +1 -1
  79. package/lib/index-CrcNWbel.js.map +1 -1
  80. package/lib/{index-CJZthJSj.js → index-Cucjfk3D.js} +10 -10
  81. package/lib/index-Cucjfk3D.js.map +1 -0
  82. package/lib/{index-zddirpDj.js → index-DmNq2fbN.js} +226 -221
  83. package/lib/index-DmNq2fbN.js.map +1 -0
  84. package/lib/{mutation-BSeQ8pEK.js → mutation-C1XCQTQL.js} +2 -2
  85. package/lib/{mutation-BSeQ8pEK.js.map → mutation-C1XCQTQL.js.map} +1 -1
  86. package/lib/ui/SyntaxHighlight.js +2 -2
  87. package/lib/{useMutation-CZSmsIGW.js → useMutation-BKvPttRn.js} +3 -3
  88. package/lib/{useMutation-CZSmsIGW.js.map → useMutation-BKvPttRn.js.map} +1 -1
  89. package/lib/zudoku.auth-auth0.js +2 -2
  90. package/lib/zudoku.auth-auth0.js.map +1 -1
  91. package/lib/zudoku.auth-azureb2c.js +9974 -0
  92. package/lib/zudoku.auth-azureb2c.js.map +1 -0
  93. package/lib/zudoku.auth-clerk.js +39 -48
  94. package/lib/zudoku.auth-clerk.js.map +1 -1
  95. package/lib/zudoku.auth-openid.js +291 -316
  96. package/lib/zudoku.auth-openid.js.map +1 -1
  97. package/lib/zudoku.components.js +1222 -1594
  98. package/lib/zudoku.components.js.map +1 -1
  99. package/lib/zudoku.hooks.js +2 -2
  100. package/lib/zudoku.plugin-api-catalog.js +2 -2
  101. package/lib/zudoku.plugin-api-keys.js +19 -21
  102. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  103. package/lib/zudoku.plugin-custom-pages.js +1 -1
  104. package/lib/zudoku.plugin-markdown.js +1 -1
  105. package/lib/zudoku.plugin-openapi.js +2 -2
  106. package/lib/zudoku.plugin-search-pagefind.js +2 -2
  107. package/package.json +40 -22
  108. package/src/app/main.tsx +2 -2
  109. package/src/lib/auth/issuer.test.ts +120 -0
  110. package/src/lib/auth/issuer.ts +41 -0
  111. package/src/lib/authentication/providers/auth0.tsx +1 -1
  112. package/src/lib/authentication/providers/azureb2c.tsx +196 -0
  113. package/src/lib/authentication/providers/clerk.tsx +3 -12
  114. package/src/lib/authentication/providers/openid.tsx +53 -0
  115. package/src/lib/authentication/providers/supabase.tsx +2 -9
  116. package/src/lib/authentication/state.ts +37 -7
  117. package/src/lib/components/context/ZudokuProvider.tsx +1 -1
  118. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
  119. package/src/lib/plugins/api-keys/index.tsx +1 -3
  120. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +1 -1
  121. package/src/lib/plugins/openapi/playground/Headers.tsx +2 -2
  122. package/src/lib/plugins/openapi/playground/fileUtils.ts +1 -1
  123. package/src/lib/util/MdxComponents.tsx +1 -1
  124. package/lib/OperationList-CNhg654C.js.map +0 -1
  125. package/lib/SyntaxHighlight-Cz6Me7-F.js.map +0 -1
  126. package/lib/createServer-BC2RZgmW.js.map +0 -1
  127. package/lib/index-CJZthJSj.js.map +0 -1
  128. package/lib/index-zddirpDj.js.map +0 -1
@@ -1,12 +1,12 @@
1
1
  import { j as P } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import * as us from "react";
3
3
  import { useState as et, useEffect as Ye, useRef as Je, createContext as is, use as as, useCallback as ti, useMemo as sn, memo as ni } from "react";
4
- import { s as en, p as qe, a as or, v as Tn, b as ss, V as os, u as ls, t as cs, c as vr, d as zr, o as Me, z as ri, e as fs, f as hs, g as ds, i as ui, j as ms, k as Yr, E as ps, S as Es, l as Ts } from "./SyntaxHighlight-Cz6Me7-F.js";
4
+ import { s as en, p as qe, a as or, v as Tn, b as ss, V as os, u as ls, t as cs, c as vr, d as zr, o as Me, z as ri, e as fs, f as hs, g as ds, i as ui, j as ms, k as Yr, E as ps, S as Es, l as Ts } from "./SyntaxHighlight-CqKHkyEy.js";
5
5
  import { CheckIcon as bs, CopyIcon as gs, ChevronRightIcon as As, ExternalLinkIcon as _s, LinkIcon as Cs } from "lucide-react";
6
- import { c as ce } from "./cn-wvCW-ho6.js";
6
+ import { c as le } from "./cn-wvCW-ho6.js";
7
7
  import { u as bn, d as Is, g as lr, j as xs } from "./chunk-DQRVZFIR-BblmKnHy.js";
8
8
  import * as Et from "@radix-ui/react-tooltip";
9
- import { T as Ns, U as tn, j as ii, k as Ss } from "./hook-k7PfUIsj.js";
9
+ import { T as Ns, U as tn, j as ii, k as Ss } from "./hook-7wZANGJP.js";
10
10
  import * as yn from "@radix-ui/react-collapsible";
11
11
  import { B as ks } from "./Button-BE9IVkWV.js";
12
12
  import { c as Os } from "./index-DI5SPFK9.js";
@@ -1204,7 +1204,7 @@ function Po(e, t, n) {
1204
1204
  return g === null || H(g) ? F(g) : j(g) ? (e.consume(g), B) : n(g);
1205
1205
  }
1206
1206
  function F(g) {
1207
- return g === 45 && u === 2 ? (e.consume(g), le) : g === 60 && u === 1 ? (e.consume(g), se) : g === 62 && u === 4 ? (e.consume(g), Ce) : g === 63 && u === 3 ? (e.consume(g), b) : g === 93 && u === 5 ? (e.consume(g), Le) : H(g) && (u === 6 || u === 7) ? (e.exit("htmlFlowData"), e.check(
1207
+ return g === 45 && u === 2 ? (e.consume(g), ce) : g === 60 && u === 1 ? (e.consume(g), se) : g === 62 && u === 4 ? (e.consume(g), Ce) : g === 63 && u === 3 ? (e.consume(g), b) : g === 93 && u === 5 ? (e.consume(g), Le) : H(g) && (u === 6 || u === 7) ? (e.exit("htmlFlowData"), e.check(
1208
1208
  Lo,
1209
1209
  Re,
1210
1210
  $
@@ -1223,7 +1223,7 @@ function Po(e, t, n) {
1223
1223
  function G(g) {
1224
1224
  return g === null || H(g) ? $(g) : (e.enter("htmlFlowData"), F(g));
1225
1225
  }
1226
- function le(g) {
1226
+ function ce(g) {
1227
1227
  return g === 45 ? (e.consume(g), b) : F(g);
1228
1228
  }
1229
1229
  function se(g) {
@@ -1292,7 +1292,7 @@ function Fo(e, t, n) {
1292
1292
  return b === 45 ? (e.consume(b), m) : f(b);
1293
1293
  }
1294
1294
  function m(b) {
1295
- return b === 62 ? le(b) : b === 45 ? p(b) : f(b);
1295
+ return b === 62 ? ce(b) : b === 45 ? p(b) : f(b);
1296
1296
  }
1297
1297
  function A(b) {
1298
1298
  const Ce = "CDATA[";
@@ -1305,16 +1305,16 @@ function Fo(e, t, n) {
1305
1305
  return b === 93 ? (e.consume(b), x) : N(b);
1306
1306
  }
1307
1307
  function x(b) {
1308
- return b === 62 ? le(b) : b === 93 ? (e.consume(b), x) : N(b);
1308
+ return b === 62 ? ce(b) : b === 93 ? (e.consume(b), x) : N(b);
1309
1309
  }
1310
1310
  function w(b) {
1311
- return b === null || b === 62 ? le(b) : H(b) ? (i = w, se(b)) : (e.consume(b), w);
1311
+ return b === null || b === 62 ? ce(b) : H(b) ? (i = w, se(b)) : (e.consume(b), w);
1312
1312
  }
1313
1313
  function R(b) {
1314
1314
  return b === null ? n(b) : b === 63 ? (e.consume(b), z) : H(b) ? (i = R, se(b)) : (e.consume(b), R);
1315
1315
  }
1316
1316
  function z(b) {
1317
- return b === 62 ? le(b) : R(b);
1317
+ return b === 62 ? ce(b) : R(b);
1318
1318
  }
1319
1319
  function Y(b) {
1320
1320
  return de(b) ? (e.consume(b), k) : n(b);
@@ -1323,13 +1323,13 @@ function Fo(e, t, n) {
1323
1323
  return b === 45 || fe(b) ? (e.consume(b), k) : Q(b);
1324
1324
  }
1325
1325
  function Q(b) {
1326
- return H(b) ? (i = Q, se(b)) : j(b) ? (e.consume(b), Q) : le(b);
1326
+ return H(b) ? (i = Q, se(b)) : j(b) ? (e.consume(b), Q) : ce(b);
1327
1327
  }
1328
1328
  function ee(b) {
1329
1329
  return b === 45 || fe(b) ? (e.consume(b), ee) : b === 47 || b === 62 || J(b) ? X(b) : n(b);
1330
1330
  }
1331
1331
  function X(b) {
1332
- return b === 47 ? (e.consume(b), le) : b === 58 || b === 95 || de(b) ? (e.consume(b), I) : H(b) ? (i = X, se(b)) : j(b) ? (e.consume(b), X) : le(b);
1332
+ return b === 47 ? (e.consume(b), ce) : b === 58 || b === 95 || de(b) ? (e.consume(b), I) : H(b) ? (i = X, se(b)) : j(b) ? (e.consume(b), X) : ce(b);
1333
1333
  }
1334
1334
  function I(b) {
1335
1335
  return b === 45 || b === 46 || b === 58 || b === 95 || fe(b) ? (e.consume(b), I) : B(b);
@@ -1349,7 +1349,7 @@ function Fo(e, t, n) {
1349
1349
  function G(b) {
1350
1350
  return b === 47 || b === 62 || J(b) ? X(b) : n(b);
1351
1351
  }
1352
- function le(b) {
1352
+ function ce(b) {
1353
1353
  return b === 62 ? (e.consume(b), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(b);
1354
1354
  }
1355
1355
  function se(b) {
@@ -1992,7 +1992,7 @@ function ml(e, t, n) {
1992
1992
  }
1993
1993
  function Q(B, F) {
1994
1994
  return $;
1995
- function $(ne, G, le) {
1995
+ function $(ne, G, ce) {
1996
1996
  let se, _e, Le, b;
1997
1997
  return Array.isArray(ne) ? Re(ne) : "tokenize" in ne ? (
1998
1998
  // @ts-expect-error Looks like a construct.
@@ -2011,7 +2011,7 @@ function ml(e, t, n) {
2011
2011
  }
2012
2012
  }
2013
2013
  function Re(oe) {
2014
- return se = oe, _e = 0, oe.length === 0 ? le : g(oe[_e]);
2014
+ return se = oe, _e = 0, oe.length === 0 ? ce : g(oe[_e]);
2015
2015
  }
2016
2016
  function g(oe) {
2017
2017
  return Ct;
@@ -2031,7 +2031,7 @@ function ml(e, t, n) {
2031
2031
  return B(Le, b), G;
2032
2032
  }
2033
2033
  function We(oe) {
2034
- return b.restore(), ++_e < se.length ? g(se[_e]) : le;
2034
+ return b.restore(), ++_e < se.length ? g(se[_e]) : ce;
2035
2035
  }
2036
2036
  }
2037
2037
  }
@@ -2046,10 +2046,10 @@ function ml(e, t, n) {
2046
2046
  function X() {
2047
2047
  const B = A(), F = c.previous, $ = c.currentConstruct, ne = c.events.length, G = Array.from(o);
2048
2048
  return {
2049
- restore: le,
2049
+ restore: ce,
2050
2050
  from: ne
2051
2051
  };
2052
- function le() {
2052
+ function ce() {
2053
2053
  r = B, c.previous = F, c.currentConstruct = $, c.events.length = ne, o = G, I();
2054
2054
  }
2055
2055
  }
@@ -2342,7 +2342,7 @@ function wl(e) {
2342
2342
  label: Le,
2343
2343
  labelText: _e,
2344
2344
  lineEnding: B,
2345
- link: l(le),
2345
+ link: l(ce),
2346
2346
  listItem: l(),
2347
2347
  listOrdered: l(),
2348
2348
  listUnordered: l(),
@@ -2609,7 +2609,7 @@ function wl(e) {
2609
2609
  const S = this.resume(), M = this.stack[this.stack.length - 1];
2610
2610
  M.value = S;
2611
2611
  }
2612
- function le() {
2612
+ function ce() {
2613
2613
  const S = this.stack[this.stack.length - 1];
2614
2614
  if (this.data.inReference) {
2615
2615
  const M = this.data.referenceType || "shortcut";
@@ -14501,7 +14501,7 @@ const B1 = ({
14501
14501
  return e ? /* @__PURE__ */ P.jsxs(
14502
14502
  "div",
14503
14503
  {
14504
- className: ce(
14504
+ className: le(
14505
14505
  "code-block-wrapper relative group bg-muted/50 rounded-md",
14506
14506
  i && "line-numbers"
14507
14507
  ),
@@ -14510,7 +14510,7 @@ const B1 = ({
14510
14510
  /* @__PURE__ */ P.jsx(
14511
14511
  "div",
14512
14512
  {
14513
- className: ce(
14513
+ className: le(
14514
14514
  "code-block text-sm not-prose scrollbar overflow-x-auto scrollbar p-4",
14515
14515
  o.className
14516
14516
  ),
@@ -14521,7 +14521,7 @@ const B1 = ({
14521
14521
  a && /* @__PURE__ */ P.jsx(
14522
14522
  "span",
14523
14523
  {
14524
- className: ce(
14524
+ className: le(
14525
14525
  "absolute top-1.5 end-3 !text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0",
14526
14526
  t && "top-12",
14527
14527
  r === "always" && "hidden"
@@ -14535,7 +14535,7 @@ const B1 = ({
14535
14535
  type: "button",
14536
14536
  "aria-label": "Copy code",
14537
14537
  title: "Copy code",
14538
- className: ce(
14538
+ className: le(
14539
14539
  "absolute top-2 end-2 p-2 hover:outline hover:outline-border/75 dark:hover:outline-border rounded-md text-sm text-muted-foreground transition",
14540
14540
  t && "top-10",
14541
14541
  r === "hover" && "opacity-0 group-hover:opacity-100",
@@ -14628,14 +14628,14 @@ const B1 = ({
14628
14628
  Et.Arrow,
14629
14629
  {
14630
14630
  ...e,
14631
- className: ce(e.className, "fill-border")
14631
+ className: le(e.className, "fill-border")
14632
14632
  }
14633
14633
  ), ja = us.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ P.jsx(
14634
14634
  Et.Content,
14635
14635
  {
14636
14636
  ref: r,
14637
14637
  sideOffset: t,
14638
- className: ce(
14638
+ className: le(
14639
14639
  "z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
14640
14640
  e
14641
14641
  ),
@@ -14669,7 +14669,7 @@ const Y1 = {
14669
14669
  }) => /* @__PURE__ */ P.jsx(
14670
14670
  "span",
14671
14671
  {
14672
- className: ce(
14672
+ className: le(
14673
14673
  "flex items-center duration-200 transition-opacity text-center uppercase text-[0.65rem] leading-5 font-bold rounded-sm text-background dark:text-zinc-50 h-full",
14674
14674
  e === "outline" ? "px-3" : "mt-0.5 px-1",
14675
14675
  r ? q1[e] : Y1[e],
@@ -14961,7 +14961,7 @@ const Np = ({
14961
14961
  As,
14962
14962
  {
14963
14963
  size: 16,
14964
- className: ce(
14964
+ className: le(
14965
14965
  r && "transition",
14966
14966
  "shrink-0 group-data-[state=open]:rotate-90 rtl:rotate-180"
14967
14967
  )
@@ -14972,7 +14972,7 @@ const Np = ({
14972
14972
  e.icon,
14973
14973
  {
14974
14974
  size: 16,
14975
- className: ce("align-[-0.125em] ", f && "text-primary")
14975
+ className: le("align-[-0.125em] ", f && "text-primary")
14976
14976
  }
14977
14977
  ), A = tn({
14978
14978
  className: [
@@ -15017,7 +15017,7 @@ const Np = ({
15017
15017
  /* @__PURE__ */ P.jsx(
15018
15018
  yn.Content,
15019
15019
  {
15020
- className: ce(
15020
+ className: le(
15021
15021
  // CollapsibleContent class is used to animate and it should only be applied when the user has triggered the toggle
15022
15022
  r && "CollapsibleContent",
15023
15023
  e.items.length === 0 && "hidden",
@@ -15049,7 +15049,7 @@ const ei = ({
15049
15049
  /* @__PURE__ */ P.jsx(
15050
15050
  "span",
15051
15051
  {
15052
- className: ce("truncate flex-1", t),
15052
+ className: le("truncate flex-1", t),
15053
15053
  title: e,
15054
15054
  ref: n,
15055
15055
  children: e
@@ -15211,7 +15211,7 @@ const ei = ({
15211
15211
  a,
15212
15212
  {
15213
15213
  className: Op({
15214
- className: ce(r, "flex items-center gap-[0.33em]"),
15214
+ className: le(r, "flex items-center gap-[0.33em]"),
15215
15215
  level: e
15216
15216
  }),
15217
15217
  ref: u ? i : void 0,
@@ -15260,14 +15260,14 @@ const ei = ({
15260
15260
  }) => /* @__PURE__ */ P.jsx(Lp, { asChild: !0, enabled: n, onClick: r, children: /* @__PURE__ */ P.jsx(
15261
15261
  "code",
15262
15262
  {
15263
- className: ce(
15263
+ className: le(
15264
15264
  "font-mono border p-1 py-0.5 rounded-sm bg-border/50 dark:bg-border/70 [overflow-wrap:anywhere]",
15265
15265
  e
15266
15266
  ),
15267
15267
  children: t
15268
15268
  }
15269
15269
  ) }), Dp = {
15270
- img: ({ node: e, ...t }) => /\.(mp4|webm|mov|avi)$/.test(t.src ?? "") ? /* @__PURE__ */ P.jsx("video", { src: t.src, controls: !0, playsInline: !0, autoPlay: !0, loop: !0 }) : /* @__PURE__ */ P.jsx("img", { ...t, className: "rounded-md" }),
15270
+ img: ({ node: e, ...t }) => /\.(mp4|webm|mov|avi)$/.test(t.src ?? "") ? /* @__PURE__ */ P.jsx("video", { src: t.src, controls: !0, playsInline: !0, autoPlay: !0, loop: !0 }) : /* @__PURE__ */ P.jsx("img", { ...t, className: le("rounded-md", t.className) }),
15271
15271
  h1: ({ children: e, id: t }) => /* @__PURE__ */ P.jsx(lt, { level: 1, id: t, children: e }),
15272
15272
  h2: ({ children: e, id: t }) => /* @__PURE__ */ P.jsx(lt, { level: 2, id: t, children: e }),
15273
15273
  h3: ({ children: e, id: t }) => /* @__PURE__ */ P.jsx(lt, { level: 3, id: t, children: e }),
@@ -15285,7 +15285,7 @@ const ei = ({
15285
15285
  caution: (e) => /* @__PURE__ */ P.jsx(Xe, { type: "caution", ...e }),
15286
15286
  warning: (e) => /* @__PURE__ */ P.jsx(Xe, { type: "caution", ...e }),
15287
15287
  danger: (e) => /* @__PURE__ */ P.jsx(Xe, { type: "danger", ...e }),
15288
- pre: (e) => /* @__PURE__ */ P.jsx("pre", { className: ce("not-prose my-4", e.className), ...e }),
15288
+ pre: (e) => /* @__PURE__ */ P.jsx("pre", { className: le("not-prose my-4", e.className), ...e }),
15289
15289
  code: ({
15290
15290
  className: e,
15291
15291
  node: t,
@@ -15296,14 +15296,14 @@ const ei = ({
15296
15296
  ...i
15297
15297
  }) => {
15298
15298
  const o = e?.match(/language?-(\w+)/);
15299
- return u === "true" || u === !0 ? /* @__PURE__ */ P.jsx(Rp, { className: ce(e, "inline"), children: n }) : /* @__PURE__ */ P.jsx(
15299
+ return u === "true" || u === !0 ? /* @__PURE__ */ P.jsx(Rp, { className: le(e, "inline"), children: n }) : /* @__PURE__ */ P.jsx(
15300
15300
  B1,
15301
15301
  {
15302
15302
  language: o?.[1],
15303
15303
  showLanguageIndicator: !0,
15304
15304
  showLineNumbers: a,
15305
15305
  title: r,
15306
- children: /* @__PURE__ */ P.jsx("code", { className: ce(e, "not-inline"), ...i, children: n })
15306
+ children: /* @__PURE__ */ P.jsx("code", { className: le(e, "not-inline"), ...i, children: n })
15307
15307
  }
15308
15308
  );
15309
15309
  }
@@ -15349,4 +15349,4 @@ export {
15349
15349
  kp as s,
15350
15350
  wr as u
15351
15351
  };
15352
- //# sourceMappingURL=Markdown-D81l28Ib.js.map
15352
+ //# sourceMappingURL=Markdown-r4buN85T.js.map