zudoku 0.3.0-dev.65 → 0.3.0-dev.66
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.
- package/dist/lib/components/SyntaxHighlight.js +6 -2
- package/dist/lib/components/SyntaxHighlight.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +19 -14
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarBox.d.ts +1 -0
- package/dist/lib/plugins/openapi/SidecarBox.js +2 -1
- package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
- package/lib/{AnchorLink-Bj1hwDuD.js → AnchorLink-C_pYhuZi.js} +2 -2
- package/lib/{AnchorLink-Bj1hwDuD.js.map → AnchorLink-C_pYhuZi.js.map} +1 -1
- package/lib/{CategoryHeading-DMkTmmBh.js → CategoryHeading-D5Q-X6lE.js} +2 -2
- package/lib/{CategoryHeading-DMkTmmBh.js.map → CategoryHeading-D5Q-X6lE.js.map} +1 -1
- package/lib/{Combination-lAFQBd6U.js → Combination-Cq0UkOXq.js} +2 -2
- package/lib/{Combination-lAFQBd6U.js.map → Combination-Cq0UkOXq.js.map} +1 -1
- package/lib/{Input-a4Q9eY9j.js → Input-DdAxw3vC.js} +3 -3
- package/lib/{Input-a4Q9eY9j.js.map → Input-DdAxw3vC.js.map} +1 -1
- package/lib/{Markdown-BjRJKl_E.js → Markdown-DsCvZnhw.js} +110 -103
- package/lib/{Markdown-BjRJKl_E.js.map → Markdown-DsCvZnhw.js.map} +1 -1
- package/lib/{MdxPage-BjOLKhCI.js → MdxPage-B_7x36CA.js} +4 -4
- package/lib/{MdxPage-BjOLKhCI.js.map → MdxPage-B_7x36CA.js.map} +1 -1
- package/lib/{OperationList-DuRwWfdq.js → OperationList-Cv0GStt7.js} +626 -615
- package/lib/{OperationList-DuRwWfdq.js.map → OperationList-Cv0GStt7.js.map} +1 -1
- package/lib/{Spinner-Ciq_pWU7.js → Spinner-DyDcSKPz.js} +3 -3
- package/lib/{Spinner-Ciq_pWU7.js.map → Spinner-DyDcSKPz.js.map} +1 -1
- package/lib/{hook-BY1NP0kj.js → hook-Cz5jddRs.js} +4 -4
- package/lib/{hook-BY1NP0kj.js.map → hook-Cz5jddRs.js.map} +1 -1
- package/lib/{index-BDkyi7gS.js → index-NGns0N9q.js} +4 -4
- package/lib/{index-BDkyi7gS.js.map → index-NGns0N9q.js.map} +1 -1
- package/lib/zudoku.components.js +5 -5
- package/lib/zudoku.plugin-api-keys.js +4 -4
- package/lib/zudoku.plugin-custom-page.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +2 -2
- package/package.json +1 -1
- package/src/lib/components/SyntaxHighlight.tsx +28 -23
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +3 -4
- package/src/lib/plugins/openapi/Sidecar.tsx +30 -23
- package/src/lib/plugins/openapi/SidecarBox.tsx +12 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as Je, g as Ei, b as zn, a as et, h as yt, D as Vt, i as Ci, R as Nn, k as Mn, l as bt, m as va, n as Ai, o as Ti, u as Ii, p as _i, A as Sa, M as Ea, N as Ca, O as Aa, q as Ta, r as Ia, L as _a, s as Ra, t as hr, v as Fa, w as La, x as Pa, y as Oa, z as Da, B as za, C as Na, E as Ma, F as Ba, G as ja, c as $a, H as Ua, e as Va, I as Ha, J as qa, j as
|
|
1
|
+
import { f as Je, g as Ei, b as zn, a as et, h as yt, D as Vt, i as Ci, R as Nn, k as Mn, l as bt, m as va, n as Ai, o as Ti, u as Ii, p as _i, A as Sa, M as Ea, N as Ca, O as Aa, q as Ta, r as Ia, L as _a, s as Ra, t as hr, v as Fa, w as La, x as Pa, y as Oa, z as Da, B as za, C as Na, E as Ma, F as Ba, G as ja, c as $a, H as Ua, e as Va, I as Ha, J as qa, j as $ } from "./jsx-runtime-BIr0WBt_.js";
|
|
2
2
|
import * as R from "react";
|
|
3
3
|
import { forwardRef as Ri, createElement as Ot, createContext as Fi, useState as Ht, useRef as Xe, useEffect as dt, useMemo as vn, useContext as Li, useCallback as ht } from "react";
|
|
4
4
|
import * as Ga from "react-dom";
|
|
@@ -1381,7 +1381,7 @@ function st(e) {
|
|
|
1381
1381
|
function xs(e) {
|
|
1382
1382
|
return e.endsWith("%") && $e(e.slice(0, -1));
|
|
1383
1383
|
}
|
|
1384
|
-
function
|
|
1384
|
+
function U(e) {
|
|
1385
1385
|
return Ji.test(e);
|
|
1386
1386
|
}
|
|
1387
1387
|
function Le(e) {
|
|
@@ -1421,17 +1421,17 @@ function Is(e) {
|
|
|
1421
1421
|
return bs.test(e);
|
|
1422
1422
|
}
|
|
1423
1423
|
function _s() {
|
|
1424
|
-
const e = J("colors"), t = J("spacing"), n = J("blur"), r = J("brightness"), i = J("borderColor"), a = J("borderRadius"), o = J("borderSpacing"), l = J("borderWidth"), s = J("contrast"), u = J("grayscale"), p = J("hueRotate"), c = J("invert"), h = J("gap"), d = J("gradientColorStops"), f = J("gradientColorStopPositions"), g = J("inset"), m = J("margin"), x = J("opacity"), y = J("padding"), w = J("saturate"), A = J("scale"), _ = J("sepia"), S = J("skew"), O = J("space"), P = J("translate"), D = () => ["auto", "contain", "none"], v = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto",
|
|
1424
|
+
const e = J("colors"), t = J("spacing"), n = J("blur"), r = J("brightness"), i = J("borderColor"), a = J("borderRadius"), o = J("borderSpacing"), l = J("borderWidth"), s = J("contrast"), u = J("grayscale"), p = J("hueRotate"), c = J("invert"), h = J("gap"), d = J("gradientColorStops"), f = J("gradientColorStopPositions"), g = J("inset"), m = J("margin"), x = J("opacity"), y = J("padding"), w = J("saturate"), A = J("scale"), _ = J("sepia"), S = J("skew"), O = J("space"), P = J("translate"), D = () => ["auto", "contain", "none"], v = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", U, t], T = () => [U, t], H = () => ["", _e, Fe], z = () => ["auto", $e, U], M = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], W = () => ["solid", "dashed", "dotted", "double", "none"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], ie = () => ["", "0", U], b = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], ee = () => [$e, Ct], re = () => [$e, U];
|
|
1425
1425
|
return {
|
|
1426
1426
|
cacheSize: 500,
|
|
1427
1427
|
separator: ":",
|
|
1428
1428
|
theme: {
|
|
1429
1429
|
colors: [ut],
|
|
1430
1430
|
spacing: [_e, Fe],
|
|
1431
|
-
blur: ["none", "", Le,
|
|
1431
|
+
blur: ["none", "", Le, U],
|
|
1432
1432
|
brightness: ee(),
|
|
1433
1433
|
borderColor: [e],
|
|
1434
|
-
borderRadius: ["none", "", "full", Le,
|
|
1434
|
+
borderRadius: ["none", "", "full", Le, U],
|
|
1435
1435
|
borderSpacing: T(),
|
|
1436
1436
|
borderWidth: H(),
|
|
1437
1437
|
contrast: ee(),
|
|
@@ -1459,7 +1459,7 @@ function _s() {
|
|
|
1459
1459
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1460
1460
|
*/
|
|
1461
1461
|
aspect: [{
|
|
1462
|
-
aspect: ["auto", "square", "video",
|
|
1462
|
+
aspect: ["auto", "square", "video", U]
|
|
1463
1463
|
}],
|
|
1464
1464
|
/**
|
|
1465
1465
|
* Container
|
|
@@ -1544,7 +1544,7 @@ function _s() {
|
|
|
1544
1544
|
* @see https://tailwindcss.com/docs/object-position
|
|
1545
1545
|
*/
|
|
1546
1546
|
"object-position": [{
|
|
1547
|
-
object: [...M(),
|
|
1547
|
+
object: [...M(), U]
|
|
1548
1548
|
}],
|
|
1549
1549
|
/**
|
|
1550
1550
|
* Overflow
|
|
@@ -1666,7 +1666,7 @@ function _s() {
|
|
|
1666
1666
|
* @see https://tailwindcss.com/docs/z-index
|
|
1667
1667
|
*/
|
|
1668
1668
|
z: [{
|
|
1669
|
-
z: ["auto", st,
|
|
1669
|
+
z: ["auto", st, U]
|
|
1670
1670
|
}],
|
|
1671
1671
|
// Flexbox and Grid
|
|
1672
1672
|
/**
|
|
@@ -1695,7 +1695,7 @@ function _s() {
|
|
|
1695
1695
|
* @see https://tailwindcss.com/docs/flex
|
|
1696
1696
|
*/
|
|
1697
1697
|
flex: [{
|
|
1698
|
-
flex: ["1", "auto", "initial", "none",
|
|
1698
|
+
flex: ["1", "auto", "initial", "none", U]
|
|
1699
1699
|
}],
|
|
1700
1700
|
/**
|
|
1701
1701
|
* Flex Grow
|
|
@@ -1716,7 +1716,7 @@ function _s() {
|
|
|
1716
1716
|
* @see https://tailwindcss.com/docs/order
|
|
1717
1717
|
*/
|
|
1718
1718
|
order: [{
|
|
1719
|
-
order: ["first", "last", "none", st,
|
|
1719
|
+
order: ["first", "last", "none", st, U]
|
|
1720
1720
|
}],
|
|
1721
1721
|
/**
|
|
1722
1722
|
* Grid Template Columns
|
|
@@ -1731,8 +1731,8 @@ function _s() {
|
|
|
1731
1731
|
*/
|
|
1732
1732
|
"col-start-end": [{
|
|
1733
1733
|
col: ["auto", {
|
|
1734
|
-
span: ["full", st,
|
|
1735
|
-
},
|
|
1734
|
+
span: ["full", st, U]
|
|
1735
|
+
}, U]
|
|
1736
1736
|
}],
|
|
1737
1737
|
/**
|
|
1738
1738
|
* Grid Column Start
|
|
@@ -1761,8 +1761,8 @@ function _s() {
|
|
|
1761
1761
|
*/
|
|
1762
1762
|
"row-start-end": [{
|
|
1763
1763
|
row: ["auto", {
|
|
1764
|
-
span: [st,
|
|
1765
|
-
},
|
|
1764
|
+
span: [st, U]
|
|
1765
|
+
}, U]
|
|
1766
1766
|
}],
|
|
1767
1767
|
/**
|
|
1768
1768
|
* Grid Row Start
|
|
@@ -1790,14 +1790,14 @@ function _s() {
|
|
|
1790
1790
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1791
1791
|
*/
|
|
1792
1792
|
"auto-cols": [{
|
|
1793
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
1793
|
+
"auto-cols": ["auto", "min", "max", "fr", U]
|
|
1794
1794
|
}],
|
|
1795
1795
|
/**
|
|
1796
1796
|
* Grid Auto Rows
|
|
1797
1797
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1798
1798
|
*/
|
|
1799
1799
|
"auto-rows": [{
|
|
1800
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
1800
|
+
"auto-rows": ["auto", "min", "max", "fr", U]
|
|
1801
1801
|
}],
|
|
1802
1802
|
/**
|
|
1803
1803
|
* Gap
|
|
@@ -2040,21 +2040,21 @@ function _s() {
|
|
|
2040
2040
|
* @see https://tailwindcss.com/docs/width
|
|
2041
2041
|
*/
|
|
2042
2042
|
w: [{
|
|
2043
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
2043
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", U, t]
|
|
2044
2044
|
}],
|
|
2045
2045
|
/**
|
|
2046
2046
|
* Min-Width
|
|
2047
2047
|
* @see https://tailwindcss.com/docs/min-width
|
|
2048
2048
|
*/
|
|
2049
2049
|
"min-w": [{
|
|
2050
|
-
"min-w": [
|
|
2050
|
+
"min-w": [U, t, "min", "max", "fit"]
|
|
2051
2051
|
}],
|
|
2052
2052
|
/**
|
|
2053
2053
|
* Max-Width
|
|
2054
2054
|
* @see https://tailwindcss.com/docs/max-width
|
|
2055
2055
|
*/
|
|
2056
2056
|
"max-w": [{
|
|
2057
|
-
"max-w": [
|
|
2057
|
+
"max-w": [U, t, "none", "full", "min", "max", "fit", "prose", {
|
|
2058
2058
|
screen: [Le]
|
|
2059
2059
|
}, Le]
|
|
2060
2060
|
}],
|
|
@@ -2063,28 +2063,28 @@ function _s() {
|
|
|
2063
2063
|
* @see https://tailwindcss.com/docs/height
|
|
2064
2064
|
*/
|
|
2065
2065
|
h: [{
|
|
2066
|
-
h: [
|
|
2066
|
+
h: [U, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2067
2067
|
}],
|
|
2068
2068
|
/**
|
|
2069
2069
|
* Min-Height
|
|
2070
2070
|
* @see https://tailwindcss.com/docs/min-height
|
|
2071
2071
|
*/
|
|
2072
2072
|
"min-h": [{
|
|
2073
|
-
"min-h": [
|
|
2073
|
+
"min-h": [U, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2074
2074
|
}],
|
|
2075
2075
|
/**
|
|
2076
2076
|
* Max-Height
|
|
2077
2077
|
* @see https://tailwindcss.com/docs/max-height
|
|
2078
2078
|
*/
|
|
2079
2079
|
"max-h": [{
|
|
2080
|
-
"max-h": [
|
|
2080
|
+
"max-h": [U, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2081
2081
|
}],
|
|
2082
2082
|
/**
|
|
2083
2083
|
* Size
|
|
2084
2084
|
* @see https://tailwindcss.com/docs/size
|
|
2085
2085
|
*/
|
|
2086
2086
|
size: [{
|
|
2087
|
-
size: [
|
|
2087
|
+
size: [U, t, "auto", "min", "max", "fit"]
|
|
2088
2088
|
}],
|
|
2089
2089
|
// Typography
|
|
2090
2090
|
/**
|
|
@@ -2153,7 +2153,7 @@ function _s() {
|
|
|
2153
2153
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
2154
2154
|
*/
|
|
2155
2155
|
tracking: [{
|
|
2156
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
2156
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", U]
|
|
2157
2157
|
}],
|
|
2158
2158
|
/**
|
|
2159
2159
|
* Line Clamp
|
|
@@ -2167,21 +2167,21 @@ function _s() {
|
|
|
2167
2167
|
* @see https://tailwindcss.com/docs/line-height
|
|
2168
2168
|
*/
|
|
2169
2169
|
leading: [{
|
|
2170
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", _e,
|
|
2170
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", _e, U]
|
|
2171
2171
|
}],
|
|
2172
2172
|
/**
|
|
2173
2173
|
* List Style Image
|
|
2174
2174
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
2175
2175
|
*/
|
|
2176
2176
|
"list-image": [{
|
|
2177
|
-
"list-image": ["none",
|
|
2177
|
+
"list-image": ["none", U]
|
|
2178
2178
|
}],
|
|
2179
2179
|
/**
|
|
2180
2180
|
* List Style Type
|
|
2181
2181
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
2182
2182
|
*/
|
|
2183
2183
|
"list-style-type": [{
|
|
2184
|
-
list: ["none", "disc", "decimal",
|
|
2184
|
+
list: ["none", "disc", "decimal", U]
|
|
2185
2185
|
}],
|
|
2186
2186
|
/**
|
|
2187
2187
|
* List Style Position
|
|
@@ -2250,7 +2250,7 @@ function _s() {
|
|
|
2250
2250
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2251
2251
|
*/
|
|
2252
2252
|
"underline-offset": [{
|
|
2253
|
-
"underline-offset": ["auto", _e,
|
|
2253
|
+
"underline-offset": ["auto", _e, U]
|
|
2254
2254
|
}],
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Text Decoration Color
|
|
@@ -2288,7 +2288,7 @@ function _s() {
|
|
|
2288
2288
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
2289
2289
|
*/
|
|
2290
2290
|
"vertical-align": [{
|
|
2291
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
2291
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", U]
|
|
2292
2292
|
}],
|
|
2293
2293
|
/**
|
|
2294
2294
|
* Whitespace
|
|
@@ -2316,7 +2316,7 @@ function _s() {
|
|
|
2316
2316
|
* @see https://tailwindcss.com/docs/content
|
|
2317
2317
|
*/
|
|
2318
2318
|
content: [{
|
|
2319
|
-
content: ["none",
|
|
2319
|
+
content: ["none", U]
|
|
2320
2320
|
}],
|
|
2321
2321
|
// Backgrounds
|
|
2322
2322
|
/**
|
|
@@ -2718,7 +2718,7 @@ function _s() {
|
|
|
2718
2718
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2719
2719
|
*/
|
|
2720
2720
|
"outline-offset": [{
|
|
2721
|
-
"outline-offset": [_e,
|
|
2721
|
+
"outline-offset": [_e, U]
|
|
2722
2722
|
}],
|
|
2723
2723
|
/**
|
|
2724
2724
|
* Outline Width
|
|
@@ -2845,7 +2845,7 @@ function _s() {
|
|
|
2845
2845
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2846
2846
|
*/
|
|
2847
2847
|
"drop-shadow": [{
|
|
2848
|
-
"drop-shadow": ["", "none", Le,
|
|
2848
|
+
"drop-shadow": ["", "none", Le, U]
|
|
2849
2849
|
}],
|
|
2850
2850
|
/**
|
|
2851
2851
|
* Grayscale
|
|
@@ -3002,7 +3002,7 @@ function _s() {
|
|
|
3002
3002
|
* @see https://tailwindcss.com/docs/transition-property
|
|
3003
3003
|
*/
|
|
3004
3004
|
transition: [{
|
|
3005
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
3005
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", U]
|
|
3006
3006
|
}],
|
|
3007
3007
|
/**
|
|
3008
3008
|
* Transition Duration
|
|
@@ -3016,7 +3016,7 @@ function _s() {
|
|
|
3016
3016
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3017
3017
|
*/
|
|
3018
3018
|
ease: [{
|
|
3019
|
-
ease: ["linear", "in", "out", "in-out",
|
|
3019
|
+
ease: ["linear", "in", "out", "in-out", U]
|
|
3020
3020
|
}],
|
|
3021
3021
|
/**
|
|
3022
3022
|
* Transition Delay
|
|
@@ -3030,7 +3030,7 @@ function _s() {
|
|
|
3030
3030
|
* @see https://tailwindcss.com/docs/animation
|
|
3031
3031
|
*/
|
|
3032
3032
|
animate: [{
|
|
3033
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
3033
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", U]
|
|
3034
3034
|
}],
|
|
3035
3035
|
// Transforms
|
|
3036
3036
|
/**
|
|
@@ -3066,7 +3066,7 @@ function _s() {
|
|
|
3066
3066
|
* @see https://tailwindcss.com/docs/rotate
|
|
3067
3067
|
*/
|
|
3068
3068
|
rotate: [{
|
|
3069
|
-
rotate: [st,
|
|
3069
|
+
rotate: [st, U]
|
|
3070
3070
|
}],
|
|
3071
3071
|
/**
|
|
3072
3072
|
* Translate X
|
|
@@ -3101,7 +3101,7 @@ function _s() {
|
|
|
3101
3101
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
3102
3102
|
*/
|
|
3103
3103
|
"transform-origin": [{
|
|
3104
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
3104
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", U]
|
|
3105
3105
|
}],
|
|
3106
3106
|
// Interactivity
|
|
3107
3107
|
/**
|
|
@@ -3123,7 +3123,7 @@ function _s() {
|
|
|
3123
3123
|
* @see https://tailwindcss.com/docs/cursor
|
|
3124
3124
|
*/
|
|
3125
3125
|
cursor: [{
|
|
3126
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
3126
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", U]
|
|
3127
3127
|
}],
|
|
3128
3128
|
/**
|
|
3129
3129
|
* Caret Color
|
|
@@ -3345,7 +3345,7 @@ function _s() {
|
|
|
3345
3345
|
* @see https://tailwindcss.com/docs/will-change
|
|
3346
3346
|
*/
|
|
3347
3347
|
"will-change": [{
|
|
3348
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3348
|
+
"will-change": ["auto", "scroll", "contents", "transform", U]
|
|
3349
3349
|
}],
|
|
3350
3350
|
// SVG
|
|
3351
3351
|
/**
|
|
@@ -3483,7 +3483,7 @@ const Fs = {
|
|
|
3483
3483
|
}
|
|
3484
3484
|
}, Me = ({ type: e, children: t, title: n, className: r }) => {
|
|
3485
3485
|
const { border: i, bg: a, iconColor: o, titleColor: l, textColor: s, Icon: u } = Fs[e];
|
|
3486
|
-
return /* @__PURE__ */
|
|
3486
|
+
return /* @__PURE__ */ $.jsxs(
|
|
3487
3487
|
"div",
|
|
3488
3488
|
{
|
|
3489
3489
|
className: Ke(
|
|
@@ -3496,7 +3496,7 @@ const Fs = {
|
|
|
3496
3496
|
r
|
|
3497
3497
|
),
|
|
3498
3498
|
children: [
|
|
3499
|
-
/* @__PURE__ */
|
|
3499
|
+
/* @__PURE__ */ $.jsx(
|
|
3500
3500
|
u,
|
|
3501
3501
|
{
|
|
3502
3502
|
className: Ke(!n && "mt-1 translate-y-px", o),
|
|
@@ -3504,8 +3504,8 @@ const Fs = {
|
|
|
3504
3504
|
"aria-hidden": "true"
|
|
3505
3505
|
}
|
|
3506
3506
|
),
|
|
3507
|
-
n && /* @__PURE__ */
|
|
3508
|
-
/* @__PURE__ */
|
|
3507
|
+
n && /* @__PURE__ */ $.jsx("h3", { className: Ke("font-medium", l), children: n }),
|
|
3508
|
+
/* @__PURE__ */ $.jsx("div", { className: Ke("col-start-2", !n && "row-start-1", s), children: t })
|
|
3509
3509
|
]
|
|
3510
3510
|
}
|
|
3511
3511
|
);
|
|
@@ -3568,7 +3568,7 @@ const Fs = {
|
|
|
3568
3568
|
() => ({ activeAnchor: t, setActiveAnchor: n, ...a }),
|
|
3569
3569
|
[t, n, a]
|
|
3570
3570
|
);
|
|
3571
|
-
return /* @__PURE__ */
|
|
3571
|
+
return /* @__PURE__ */ $.jsx(to.Provider, { value: o, children: e });
|
|
3572
3572
|
}, Os = Ql("group relative", {
|
|
3573
3573
|
variants: {
|
|
3574
3574
|
level: {
|
|
@@ -3608,14 +3608,14 @@ const Fs = {
|
|
|
3608
3608
|
registerSidebarAnchor: i
|
|
3609
3609
|
}) => {
|
|
3610
3610
|
const a = Ds(e ?? 1), { ref: o } = Ps();
|
|
3611
|
-
return /* @__PURE__ */
|
|
3611
|
+
return /* @__PURE__ */ $.jsxs(
|
|
3612
3612
|
a,
|
|
3613
3613
|
{
|
|
3614
3614
|
className: Os({ className: r, level: e }),
|
|
3615
3615
|
ref: i ? o : void 0,
|
|
3616
3616
|
id: n,
|
|
3617
3617
|
children: [
|
|
3618
|
-
n && /* @__PURE__ */
|
|
3618
|
+
n && /* @__PURE__ */ $.jsx(
|
|
3619
3619
|
"a",
|
|
3620
3620
|
{
|
|
3621
3621
|
href: `#${n}`,
|
|
@@ -10264,11 +10264,11 @@ function rd(e) {
|
|
|
10264
10264
|
m.type === "root" ? m.children : [m]
|
|
10265
10265
|
)
|
|
10266
10266
|
}), tn(m, x), wu(m, {
|
|
10267
|
-
Fragment:
|
|
10267
|
+
Fragment: $.Fragment,
|
|
10268
10268
|
components: a,
|
|
10269
10269
|
ignoreInvalidStyle: !0,
|
|
10270
|
-
jsx:
|
|
10271
|
-
jsxs:
|
|
10270
|
+
jsx: $.jsx,
|
|
10271
|
+
jsxs: $.jsxs,
|
|
10272
10272
|
passKeys: !0,
|
|
10273
10273
|
passNode: !0
|
|
10274
10274
|
});
|
|
@@ -12222,7 +12222,7 @@ function hg(e) {
|
|
|
12222
12222
|
const gg = ({
|
|
12223
12223
|
className: e,
|
|
12224
12224
|
children: t
|
|
12225
|
-
}) => /* @__PURE__ */
|
|
12225
|
+
}) => /* @__PURE__ */ $.jsx(
|
|
12226
12226
|
"code",
|
|
12227
12227
|
{
|
|
12228
12228
|
className: Ke(
|
|
@@ -14892,7 +14892,7 @@ const da = Fi([
|
|
|
14892
14892
|
const a = !t;
|
|
14893
14893
|
document.documentElement.classList.toggle("dark", a), localStorage.setItem("theme", a ? "dark" : "light"), n(a);
|
|
14894
14894
|
}, [t]), i = [t, r];
|
|
14895
|
-
return /* @__PURE__ */
|
|
14895
|
+
return /* @__PURE__ */ $.jsx(da.Provider, { value: i, ...e });
|
|
14896
14896
|
};
|
|
14897
14897
|
globalThis.Prism = C;
|
|
14898
14898
|
import("./prism-bash.min-DadFsM4Z.js");
|
|
@@ -14909,70 +14909,77 @@ const ym = ({
|
|
|
14909
14909
|
...n
|
|
14910
14910
|
}) => {
|
|
14911
14911
|
const [r] = mm(), [i, a] = Ht(!1);
|
|
14912
|
-
return n.code ? /* @__PURE__ */
|
|
14912
|
+
return n.code ? /* @__PURE__ */ $.jsx(
|
|
14913
14913
|
gm,
|
|
14914
14914
|
{
|
|
14915
14915
|
theme: r ? Dn.vsDark : Dn.github,
|
|
14916
14916
|
language: t,
|
|
14917
14917
|
...n,
|
|
14918
|
-
children: ({ className: o, style: l, tokens: s, getLineProps: u, getTokenProps: p }) => /* @__PURE__ */
|
|
14919
|
-
|
|
14920
|
-
|
|
14921
|
-
|
|
14922
|
-
|
|
14923
|
-
|
|
14924
|
-
|
|
14925
|
-
|
|
14926
|
-
|
|
14927
|
-
|
|
14928
|
-
style: l,
|
|
14929
|
-
children: [
|
|
14930
|
-
e && /* @__PURE__ */ U.jsx(
|
|
14931
|
-
"button",
|
|
14932
|
-
{
|
|
14933
|
-
type: "button",
|
|
14934
|
-
"aria-label": "Copy code",
|
|
14935
|
-
className: "absolute top-1.5 right-3 p-3 opacity-0 group-hover:opacity-100 transition hover:bg-zinc-500/10 hover:dark:bg-zinc-700/25 rounded-lg text-sm text-gray-400 hover:text-gray-600 dark:text-gray-500 dark:hover:text-gray-400",
|
|
14936
|
-
disabled: i,
|
|
14937
|
-
onClick: () => {
|
|
14938
|
-
a(!0), navigator.clipboard.writeText(
|
|
14939
|
-
s.map((c) => c.map(({ content: h }) => h).join("")).join(`
|
|
14940
|
-
`)
|
|
14941
|
-
), setTimeout(() => a(!1), 2e3);
|
|
14942
|
-
},
|
|
14943
|
-
children: i ? /* @__PURE__ */ U.jsx(Gl, { className: "text-emerald-600", size: 18 }) : /* @__PURE__ */ U.jsx(Wl, { size: 18 })
|
|
14944
|
-
}
|
|
14918
|
+
children: ({ className: o, style: l, tokens: s, getLineProps: u, getTokenProps: p }) => /* @__PURE__ */ $.jsxs("div", { className: "relative group", children: [
|
|
14919
|
+
/* @__PURE__ */ $.jsx(
|
|
14920
|
+
"pre",
|
|
14921
|
+
{
|
|
14922
|
+
className: Ke(
|
|
14923
|
+
"relative overflow-x-auto",
|
|
14924
|
+
o,
|
|
14925
|
+
n.className,
|
|
14926
|
+
n.noBackground && "!bg-transparent",
|
|
14927
|
+
n.wrapLines && "whitespace-pre-wrap break-words"
|
|
14945
14928
|
),
|
|
14946
|
-
|
|
14947
|
-
s.map((c, h) =>
|
|
14948
|
-
|
|
14949
|
-
|
|
14950
|
-
|
|
14929
|
+
style: l,
|
|
14930
|
+
children: s.map((c, h) => (
|
|
14931
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
14932
|
+
/* @__PURE__ */ $.jsx("div", { ...u({ line: c }), children: c.map((d, f) => (
|
|
14933
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
14934
|
+
/* @__PURE__ */ $.jsx("span", { ...p({ token: d }) }, f)
|
|
14935
|
+
)) }, h)
|
|
14936
|
+
))
|
|
14937
|
+
}
|
|
14938
|
+
),
|
|
14939
|
+
n.showLanguageIndicator && /* @__PURE__ */ $.jsx("span", { className: "absolute top-1.5 right-3 text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0", children: t }),
|
|
14940
|
+
e && /* @__PURE__ */ $.jsx(
|
|
14941
|
+
"button",
|
|
14942
|
+
{
|
|
14943
|
+
type: "button",
|
|
14944
|
+
"aria-label": "Copy code",
|
|
14945
|
+
title: "Copy code",
|
|
14946
|
+
className: "absolute top-1.5 right-1.5 p-2.5 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",
|
|
14947
|
+
disabled: i,
|
|
14948
|
+
onClick: () => {
|
|
14949
|
+
a(!0), navigator.clipboard.writeText(
|
|
14950
|
+
s.map((c) => c.map(({ content: h }) => h).join("")).join(`
|
|
14951
|
+
`)
|
|
14952
|
+
), setTimeout(() => a(!1), 2e3);
|
|
14953
|
+
},
|
|
14954
|
+
children: i ? /* @__PURE__ */ $.jsx(Gl, { className: "text-emerald-600", size: 18 }) : /* @__PURE__ */ $.jsx(Wl, { size: 18 })
|
|
14955
|
+
}
|
|
14956
|
+
)
|
|
14957
|
+
] })
|
|
14951
14958
|
}
|
|
14952
14959
|
) : null;
|
|
14953
14960
|
}, bm = {
|
|
14954
14961
|
// @ts-expect-error Node is not in types but still gets passed
|
|
14955
|
-
img: ({ node: e, ...t }) => /\.(mp4|webm|mov|avi)$/.test(t.src ?? "") ? /* @__PURE__ */
|
|
14956
|
-
h1: ({ children: e, id: t }) => /* @__PURE__ */
|
|
14957
|
-
h2: ({ children: e, id: t }) => /* @__PURE__ */
|
|
14958
|
-
h3: ({ children: e, id: t }) => /* @__PURE__ */
|
|
14959
|
-
h4: ({ children: e, id: t }) => /* @__PURE__ */
|
|
14960
|
-
h5: ({ children: e, id: t }) => /* @__PURE__ */
|
|
14961
|
-
h6: ({ children: e, id: t }) => /* @__PURE__ */
|
|
14962
|
+
img: ({ node: e, ...t }) => /\.(mp4|webm|mov|avi)$/.test(t.src ?? "") ? /* @__PURE__ */ $.jsx("video", { src: t.src, controls: !0, playsInline: !0, autoPlay: !0, loop: !0 }) : /* @__PURE__ */ $.jsx("img", { ...t, className: "rounded-md" }),
|
|
14963
|
+
h1: ({ children: e, id: t }) => /* @__PURE__ */ $.jsx(Ge, { level: 1, id: t, children: e }),
|
|
14964
|
+
h2: ({ children: e, id: t }) => /* @__PURE__ */ $.jsx(Ge, { level: 2, id: t, children: e }),
|
|
14965
|
+
h3: ({ children: e, id: t }) => /* @__PURE__ */ $.jsx(Ge, { level: 3, id: t, children: e }),
|
|
14966
|
+
h4: ({ children: e, id: t }) => /* @__PURE__ */ $.jsx(Ge, { level: 4, id: t, children: e }),
|
|
14967
|
+
h5: ({ children: e, id: t }) => /* @__PURE__ */ $.jsx(Ge, { level: 5, id: t, children: e }),
|
|
14968
|
+
h6: ({ children: e, id: t }) => /* @__PURE__ */ $.jsx(Ge, { level: 6, id: t, children: e }),
|
|
14962
14969
|
// @ts-expect-error Node is not in types but still gets passed
|
|
14963
|
-
a: ({ href: e, node: t, ...n }) => e && !e.startsWith("http") ? /* @__PURE__ */
|
|
14970
|
+
a: ({ href: e, node: t, ...n }) => e && !e.startsWith("http") ? /* @__PURE__ */ $.jsx(Zt, { to: e, relative: "path", ...n }) : /* @__PURE__ */ $.jsx("a", { href: e, target: "_blank", ...n, rel: "noreferrer" }),
|
|
14964
14971
|
Callout: Me,
|
|
14965
|
-
tip: (e) => /* @__PURE__ */
|
|
14966
|
-
info: (e) => /* @__PURE__ */
|
|
14967
|
-
note: (e) => /* @__PURE__ */
|
|
14968
|
-
caution: (e) => /* @__PURE__ */
|
|
14969
|
-
warning: (e) => /* @__PURE__ */
|
|
14970
|
-
danger: (e) => /* @__PURE__ */
|
|
14971
|
-
pre: ({ children: e }) => /* @__PURE__ */
|
|
14972
|
+
tip: (e) => /* @__PURE__ */ $.jsx(Me, { type: "tip", ...e }),
|
|
14973
|
+
info: (e) => /* @__PURE__ */ $.jsx(Me, { type: "info", ...e }),
|
|
14974
|
+
note: (e) => /* @__PURE__ */ $.jsx(Me, { type: "note", ...e }),
|
|
14975
|
+
caution: (e) => /* @__PURE__ */ $.jsx(Me, { type: "caution", ...e }),
|
|
14976
|
+
warning: (e) => /* @__PURE__ */ $.jsx(Me, { type: "caution", ...e }),
|
|
14977
|
+
danger: (e) => /* @__PURE__ */ $.jsx(Me, { type: "danger", ...e }),
|
|
14978
|
+
pre: ({ children: e }) => /* @__PURE__ */ $.jsx($.Fragment, { children: e }),
|
|
14972
14979
|
code: ({ className: e, children: t, ...n }) => {
|
|
14973
14980
|
if (!n.inline) {
|
|
14974
14981
|
const i = e == null ? void 0 : e.match(/language?-(\w+)/);
|
|
14975
|
-
return /* @__PURE__ */
|
|
14982
|
+
return /* @__PURE__ */ $.jsx(
|
|
14976
14983
|
ym,
|
|
14977
14984
|
{
|
|
14978
14985
|
language: (i == null ? void 0 : i[1]) ?? "markup",
|
|
@@ -14982,7 +14989,7 @@ const ym = ({
|
|
|
14982
14989
|
}
|
|
14983
14990
|
);
|
|
14984
14991
|
}
|
|
14985
|
-
return /* @__PURE__ */
|
|
14992
|
+
return /* @__PURE__ */ $.jsx(gg, { className: e, children: t });
|
|
14986
14993
|
}
|
|
14987
14994
|
}, xm = () => (e) => {
|
|
14988
14995
|
tn(e, "element", (t, n, r) => {
|
|
@@ -14991,7 +14998,7 @@ const ym = ({
|
|
|
14991
14998
|
}, km = [hg], wm = [xm], _m = "prose dark:prose-invert prose-neutral", Rm = ({
|
|
14992
14999
|
content: e,
|
|
14993
15000
|
className: t
|
|
14994
|
-
}) => /* @__PURE__ */
|
|
15001
|
+
}) => /* @__PURE__ */ $.jsx(
|
|
14995
15002
|
rd,
|
|
14996
15003
|
{
|
|
14997
15004
|
remarkPlugins: km,
|
|
@@ -15025,4 +15032,4 @@ export {
|
|
|
15025
15032
|
Dl as j,
|
|
15026
15033
|
mm as u
|
|
15027
15034
|
};
|
|
15028
|
-
//# sourceMappingURL=Markdown-
|
|
15035
|
+
//# sourceMappingURL=Markdown-DsCvZnhw.js.map
|