@voidzero-dev/vitepress-theme 1.1.60 → 1.1.62

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 (258) hide show
  1. package/dist/index111.js +4 -4
  2. package/dist/index115.js +8 -8
  3. package/dist/index119.js +10 -10
  4. package/dist/index121.js +3 -3
  5. package/dist/index123.js +7 -7
  6. package/dist/index128.js +4 -4
  7. package/dist/index135.js +1 -1
  8. package/dist/index140.js +2 -2
  9. package/dist/index142.js +21 -21
  10. package/dist/index145.js +17 -17
  11. package/dist/index148.js +1 -1
  12. package/dist/index157.js +4 -4
  13. package/dist/index167.js +4 -4
  14. package/dist/index173.js +5 -5
  15. package/dist/index185.js +2 -2
  16. package/dist/index187.js +1 -1
  17. package/dist/index197.js +1 -1
  18. package/dist/index198.js +26 -28
  19. package/dist/index199.js +29 -41
  20. package/dist/index200.js +15 -15
  21. package/dist/index201.js +17 -21
  22. package/dist/index202.js +15 -15
  23. package/dist/index203.js +13 -13
  24. package/dist/index204.js +123 -24
  25. package/dist/index205.js +3 -26
  26. package/dist/index206.js +5 -125
  27. package/dist/index207.js +5 -2
  28. package/dist/index208.js +1 -1
  29. package/dist/index209.js +2 -2
  30. package/dist/index210.js +4 -0
  31. package/dist/index211.js +28 -108
  32. package/dist/index212.js +22 -0
  33. package/dist/index213.js +89 -35
  34. package/dist/index215.js +5 -2
  35. package/dist/index216.js +5 -2
  36. package/dist/index217.js +5 -2
  37. package/dist/index218.js +5 -2
  38. package/dist/index219.js +5 -2
  39. package/dist/index220.js +5 -2
  40. package/dist/index221.js +32 -2
  41. package/dist/index222.js +2 -2
  42. package/dist/index223.js +1 -1
  43. package/dist/index224.js +1 -1
  44. package/dist/index225.js +2 -34
  45. package/dist/index226.js +2 -2
  46. package/dist/index227.js +2 -2
  47. package/dist/index228.js +2 -2
  48. package/dist/index229.js +2 -2
  49. package/dist/index23.js +7 -7
  50. package/dist/index230.js +1 -1
  51. package/dist/index231.js +1 -1
  52. package/dist/index232.js +1 -1
  53. package/dist/index233.js +2 -5
  54. package/dist/index234.js +2 -3
  55. package/dist/index235.js +103 -5
  56. package/dist/index236.js +2 -2
  57. package/dist/index237.js +2 -5
  58. package/dist/index238.js +1 -1
  59. package/dist/index239.js +2 -2
  60. package/dist/index240.js +2 -2
  61. package/dist/index241.js +2 -2
  62. package/dist/index242.js +2 -2
  63. package/dist/index243.js +2 -2
  64. package/dist/index244.js +2 -2
  65. package/dist/index245.js +2 -2
  66. package/dist/index246.js +1 -1
  67. package/dist/index247.js +2 -103
  68. package/dist/index248.js +2 -2
  69. package/dist/index249.js +1 -1
  70. package/dist/index250.js +2 -2
  71. package/dist/index251.js +2 -2
  72. package/dist/index252.js +2 -2
  73. package/dist/index253.js +2 -2
  74. package/dist/index254.js +2 -2
  75. package/dist/index255.js +2 -2
  76. package/dist/index257.js +108 -2
  77. package/dist/index259.js +2 -2
  78. package/dist/index260.js +5 -2
  79. package/dist/index261.js +2 -2
  80. package/dist/index262.js +2 -52
  81. package/dist/index263.js +34 -43
  82. package/dist/index264.js +2 -2587
  83. package/dist/index265.js +1 -1
  84. package/dist/index266.js +2 -2
  85. package/dist/index267.js +2 -2
  86. package/dist/index268.js +2 -2
  87. package/dist/index269.js +2 -2
  88. package/dist/index270.js +2 -2
  89. package/dist/index271.js +2 -20
  90. package/dist/index272.js +2 -92
  91. package/dist/index273.js +4 -0
  92. package/dist/index274.js +42 -5
  93. package/dist/index275.js +2 -5
  94. package/dist/index276.js +2 -5
  95. package/dist/index277.js +47 -5
  96. package/dist/index278.js +2 -5
  97. package/dist/index279.js +38 -5
  98. package/dist/index28.js +1 -1
  99. package/dist/index280.js +52 -32
  100. package/dist/index281.js +44 -3
  101. package/dist/index282.js +2587 -2
  102. package/dist/index283.js +1 -1
  103. package/dist/index284.js +1 -1
  104. package/dist/index285.js +1 -1
  105. package/dist/index286.js +1 -1
  106. package/dist/index287.js +2 -2
  107. package/dist/index288.js +2 -2
  108. package/dist/index289.js +2 -2
  109. package/dist/index290.js +1 -1
  110. package/dist/index291.js +2 -2
  111. package/dist/index292.js +96 -2
  112. package/dist/index293.js +2 -96
  113. package/dist/index294.js +98146 -2
  114. package/dist/index295.js +2 -98146
  115. package/dist/index296.js +1 -1
  116. package/dist/index297.js +9 -2
  117. package/dist/index298.js +2 -9
  118. package/dist/index299.js +2 -2
  119. package/dist/index300.js +2 -2
  120. package/dist/index301.js +1 -1
  121. package/dist/index302.js +2 -47
  122. package/dist/index303.js +1 -1
  123. package/dist/index304.js +1 -1
  124. package/dist/index305.js +2 -2
  125. package/dist/index306.js +1 -1
  126. package/dist/index307.js +2 -2
  127. package/dist/index308.js +2 -2
  128. package/dist/index309.js +1 -1
  129. package/dist/index310.js +1 -1
  130. package/dist/index314.js +1 -1
  131. package/dist/index315.js +1 -1
  132. package/dist/index316.js +1 -1
  133. package/dist/index317.js +1 -1
  134. package/dist/index318.js +1 -1
  135. package/dist/index319.js +1 -1
  136. package/dist/index320.js +1 -1
  137. package/dist/index323.js +63 -75
  138. package/dist/index325.js +83 -2
  139. package/dist/index327.js +1 -1
  140. package/dist/index328.js +3 -7207
  141. package/dist/index329.js +2 -1735
  142. package/dist/index330.js +129 -2
  143. package/dist/index332.js +7205 -69
  144. package/dist/index333.js +1737 -0
  145. package/dist/index334.js +1 -1
  146. package/dist/index335.js +3 -3
  147. package/dist/index337.js +2 -2
  148. package/dist/index339.js +4 -4
  149. package/dist/index341.js +1 -1
  150. package/dist/index343.js +5 -5
  151. package/dist/index345.js +2 -2
  152. package/dist/index347.js +2 -129
  153. package/dist/index348.js +4 -0
  154. package/dist/index349.js +1 -1
  155. package/dist/index350.js +2 -2
  156. package/dist/index351.js +4 -4
  157. package/dist/index352.js +1 -1
  158. package/dist/index353.js +5 -47
  159. package/dist/index354.js +5 -112
  160. package/dist/index355.js +21 -61
  161. package/dist/index356.js +30 -5
  162. package/dist/index357.js +26 -2
  163. package/dist/index358.js +5 -29
  164. package/dist/index359.js +4 -0
  165. package/dist/index360.js +27 -6
  166. package/dist/index362.js +8 -5
  167. package/dist/index363.js +3 -20
  168. package/dist/index364.js +5 -30
  169. package/dist/index365.js +5 -26
  170. package/dist/index366.js +5 -315
  171. package/dist/index367.js +5 -2
  172. package/dist/index368.js +4 -4
  173. package/dist/index369.js +62 -5
  174. package/dist/index370.js +315 -5
  175. package/dist/index371.js +2 -5
  176. package/dist/index372.js +47 -5
  177. package/dist/index373.js +112 -5
  178. package/dist/index374.js +62 -445
  179. package/dist/{index377.js → index376.js} +1 -1
  180. package/dist/index379.js +4 -0
  181. package/dist/index380.js +1 -1
  182. package/dist/index381.js +19 -2
  183. package/dist/{index384.js → index383.js} +5 -5
  184. package/dist/{index386.js → index385.js} +1 -1
  185. package/dist/{index388.js → index387.js} +2 -2
  186. package/dist/{index390.js → index389.js} +1 -1
  187. package/dist/{index392.js → index391.js} +1 -1
  188. package/dist/{index331.js → index393.js} +1 -1
  189. package/dist/index394.js +2 -3
  190. package/dist/index395.js +454 -2
  191. package/dist/index397.js +89 -0
  192. package/dist/index398.js +443 -84
  193. package/dist/index399.js +3 -9
  194. package/dist/index400.js +9 -3
  195. package/dist/index401.js +1 -1
  196. package/dist/index402.js +1 -1
  197. package/dist/index403.js +5 -23
  198. package/dist/index404.js +5 -21
  199. package/dist/index405.js +3 -3
  200. package/dist/index406.js +13 -5
  201. package/dist/index407.js +35 -5
  202. package/dist/index409.js +24 -13
  203. package/dist/index411.js +77 -17
  204. package/dist/index413.js +48 -33
  205. package/dist/index415.js +5 -83
  206. package/dist/index417.js +20 -23
  207. package/dist/index418.js +19 -0
  208. package/dist/index419.js +18 -76
  209. package/dist/index42.js +4 -4
  210. package/dist/index420.js +25 -0
  211. package/dist/index421.js +80 -47
  212. package/dist/index423.js +1 -1
  213. package/dist/index425.js +1 -1
  214. package/dist/index426.js +3 -3
  215. package/dist/index427.js +3 -3
  216. package/dist/index428.js +25 -5
  217. package/dist/index430.js +100 -0
  218. package/dist/index432.js +22 -94
  219. package/dist/index434.js +5 -25
  220. package/dist/{index431.js → index435.js} +2 -2
  221. package/dist/index436.js +26 -95
  222. package/dist/index438.js +92 -23
  223. package/dist/index440.js +1 -1
  224. package/dist/index441.js +3 -3
  225. package/dist/index445.js +1 -1
  226. package/dist/index447.js +3 -3
  227. package/dist/index451.js +2 -2
  228. package/dist/index46.js +1 -1
  229. package/dist/index49.js +4 -4
  230. package/dist/index51.js +4 -4
  231. package/dist/index52.js +1 -1
  232. package/dist/index54.js +1 -1
  233. package/dist/index58.js +55 -56
  234. package/dist/index6.js +1 -1
  235. package/dist/index62.js +1 -1
  236. package/dist/index65.js +1 -1
  237. package/dist/index7.js +2 -2
  238. package/dist/index75.js +1 -1
  239. package/dist/index77.js +2 -2
  240. package/dist/index8.js +2 -2
  241. package/dist/index81.js +2 -2
  242. package/dist/index9.js +1 -1
  243. package/dist/vitepress/components/vitepress-default/VPDocAsideSponsors.vue.d.ts +2 -1
  244. package/dist/vitepress/index.d.ts +2 -0
  245. package/dist/vitepress/types/theme-config.d.ts +68 -0
  246. package/package.json +1 -1
  247. package/dist/index214.js +0 -4
  248. package/dist/index256.js +0 -4
  249. package/dist/index258.js +0 -4
  250. package/dist/index326.js +0 -4
  251. package/dist/index361.js +0 -7
  252. package/dist/index375.js +0 -65
  253. package/dist/index382.js +0 -21
  254. package/dist/index396.js +0 -456
  255. package/dist/index408.js +0 -7
  256. package/dist/index412.js +0 -21
  257. package/dist/index429.js +0 -28
  258. /package/dist/{index410.js → index416.js} +0 -0
package/dist/index374.js CHANGED
@@ -1,448 +1,65 @@
1
- /*!
2
- * @kurkle/color v0.3.4
3
- * https://github.com/kurkle/color#readme
4
- * (c) 2024 Jukka Kurkela
5
- * Released under the MIT License
6
- */
7
- function m(f) {
8
- return f + 0.5 | 0;
9
- }
10
- const b = (f, e, t) => Math.max(Math.min(f, t), e);
11
- function l(f) {
12
- return b(m(f * 2.55), 0, 255);
13
- }
14
- function d(f) {
15
- return b(m(f * 255), 0, 255);
16
- }
17
- function o(f) {
18
- return b(m(f / 2.55) / 100, 0, 1);
19
- }
20
- function X(f) {
21
- return b(m(f * 100), 0, 100);
22
- }
23
- const i = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, w = [..."0123456789ABCDEF"], Z = (f) => w[f & 15], A = (f) => w[(f & 240) >> 4] + w[f & 15], y = (f) => (f & 240) >> 4 === (f & 15), U = (f) => y(f.r) && y(f.g) && y(f.b) && y(f.a);
24
- function V(f) {
25
- var e = f.length, t;
26
- return f[0] === "#" && (e === 4 || e === 5 ? t = {
27
- r: 255 & i[f[1]] * 17,
28
- g: 255 & i[f[2]] * 17,
29
- b: 255 & i[f[3]] * 17,
30
- a: e === 5 ? i[f[4]] * 17 : 255
31
- } : (e === 7 || e === 9) && (t = {
32
- r: i[f[1]] << 4 | i[f[2]],
33
- g: i[f[3]] << 4 | i[f[4]],
34
- b: i[f[5]] << 4 | i[f[6]],
35
- a: e === 9 ? i[f[7]] << 4 | i[f[8]] : 255
36
- })), t;
37
- }
38
- const H = (f, e) => f < 255 ? e(f) : "";
39
- function W(f) {
40
- var e = U(f) ? Z : A;
41
- return f ? "#" + e(f.r) + e(f.g) + e(f.b) + H(f.a, e) : void 0;
42
- }
43
- const q = /^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;
44
- function $(f, e, t) {
45
- const n = e * Math.min(t, 1 - t), r = (a, s = (a + f / 30) % 12) => t - n * Math.max(Math.min(s - 3, 9 - s, 1), -1);
46
- return [r(0), r(8), r(4)];
47
- }
48
- function L(f, e, t) {
49
- const n = (r, a = (r + f / 60) % 6) => t - t * e * Math.max(Math.min(a, 4 - a, 1), 0);
50
- return [n(5), n(3), n(1)];
51
- }
52
- function j(f, e, t) {
53
- const n = $(f, 1, 0.5);
54
- let r;
55
- for (e + t > 1 && (r = 1 / (e + t), e *= r, t *= r), r = 0; r < 3; r++)
56
- n[r] *= 1 - e - t, n[r] += e;
57
- return n;
58
- }
59
- function N(f, e, t, n, r) {
60
- return f === r ? (e - t) / n + (e < t ? 6 : 0) : e === r ? (t - f) / n + 2 : (f - e) / n + 4;
61
- }
62
- function _(f) {
63
- const t = f.r / 255, n = f.g / 255, r = f.b / 255, a = Math.max(t, n, r), s = Math.min(t, n, r), c = (a + s) / 2;
64
- let g, h, x;
65
- return a !== s && (x = a - s, h = c > 0.5 ? x / (2 - a - s) : x / (a + s), g = N(t, n, r, x, a), g = g * 60 + 0.5), [g | 0, h || 0, c];
66
- }
67
- function M(f, e, t, n) {
68
- return (Array.isArray(e) ? f(e[0], e[1], e[2]) : f(e, t, n)).map(d);
69
- }
70
- function S(f, e, t) {
71
- return M($, f, e, t);
72
- }
73
- function K(f, e, t) {
74
- return M(j, f, e, t);
75
- }
76
- function B(f, e, t) {
77
- return M(L, f, e, t);
78
- }
79
- function P(f) {
80
- return (f % 360 + 360) % 360;
81
- }
82
- function Q(f) {
83
- const e = q.exec(f);
84
- let t = 255, n;
85
- if (!e)
86
- return;
87
- e[5] !== n && (t = e[6] ? l(+e[5]) : d(+e[5]));
88
- const r = P(+e[2]), a = +e[3] / 100, s = +e[4] / 100;
89
- return e[1] === "hwb" ? n = K(r, a, s) : e[1] === "hsv" ? n = B(r, a, s) : n = S(r, a, s), {
90
- r: n[0],
91
- g: n[1],
92
- b: n[2],
93
- a: t
94
- };
95
- }
96
- function C(f, e) {
97
- var t = _(f);
98
- t[0] = P(t[0] + e), t = S(t), f.r = t[0], f.g = t[1], f.b = t[2];
99
- }
100
- function D(f) {
101
- if (!f)
102
- return;
103
- const e = _(f), t = e[0], n = X(e[1]), r = X(e[2]);
104
- return f.a < 255 ? `hsla(${t}, ${n}%, ${r}%, ${o(f.a)})` : `hsl(${t}, ${n}%, ${r}%)`;
105
- }
106
- const O = {
107
- x: "dark",
108
- Z: "light",
109
- Y: "re",
110
- X: "blu",
111
- W: "gr",
112
- V: "medium",
113
- U: "slate",
114
- A: "ee",
115
- T: "ol",
116
- S: "or",
117
- B: "ra",
118
- C: "lateg",
119
- D: "ights",
120
- R: "in",
121
- Q: "turquois",
122
- E: "hi",
123
- P: "ro",
124
- O: "al",
125
- N: "le",
126
- M: "de",
127
- L: "yello",
128
- F: "en",
129
- K: "ch",
130
- G: "arks",
131
- H: "ea",
132
- I: "ightg",
133
- J: "wh"
134
- }, E = {
135
- OiceXe: "f0f8ff",
136
- antiquewEte: "faebd7",
137
- aqua: "ffff",
138
- aquamarRe: "7fffd4",
139
- azuY: "f0ffff",
140
- beige: "f5f5dc",
141
- bisque: "ffe4c4",
142
- black: "0",
143
- blanKedOmond: "ffebcd",
144
- Xe: "ff",
145
- XeviTet: "8a2be2",
146
- bPwn: "a52a2a",
147
- burlywood: "deb887",
148
- caMtXe: "5f9ea0",
149
- KartYuse: "7fff00",
150
- KocTate: "d2691e",
151
- cSO: "ff7f50",
152
- cSnflowerXe: "6495ed",
153
- cSnsilk: "fff8dc",
154
- crimson: "dc143c",
155
- cyan: "ffff",
156
- xXe: "8b",
157
- xcyan: "8b8b",
158
- xgTMnPd: "b8860b",
159
- xWay: "a9a9a9",
160
- xgYF: "6400",
161
- xgYy: "a9a9a9",
162
- xkhaki: "bdb76b",
163
- xmagFta: "8b008b",
164
- xTivegYF: "556b2f",
165
- xSange: "ff8c00",
166
- xScEd: "9932cc",
167
- xYd: "8b0000",
168
- xsOmon: "e9967a",
169
- xsHgYF: "8fbc8f",
170
- xUXe: "483d8b",
171
- xUWay: "2f4f4f",
172
- xUgYy: "2f4f4f",
173
- xQe: "ced1",
174
- xviTet: "9400d3",
175
- dAppRk: "ff1493",
176
- dApskyXe: "bfff",
177
- dimWay: "696969",
178
- dimgYy: "696969",
179
- dodgerXe: "1e90ff",
180
- fiYbrick: "b22222",
181
- flSOwEte: "fffaf0",
182
- foYstWAn: "228b22",
183
- fuKsia: "ff00ff",
184
- gaRsbSo: "dcdcdc",
185
- ghostwEte: "f8f8ff",
186
- gTd: "ffd700",
187
- gTMnPd: "daa520",
188
- Way: "808080",
189
- gYF: "8000",
190
- gYFLw: "adff2f",
191
- gYy: "808080",
192
- honeyMw: "f0fff0",
193
- hotpRk: "ff69b4",
194
- RdianYd: "cd5c5c",
195
- Rdigo: "4b0082",
196
- ivSy: "fffff0",
197
- khaki: "f0e68c",
198
- lavFMr: "e6e6fa",
199
- lavFMrXsh: "fff0f5",
200
- lawngYF: "7cfc00",
201
- NmoncEffon: "fffacd",
202
- ZXe: "add8e6",
203
- ZcSO: "f08080",
204
- Zcyan: "e0ffff",
205
- ZgTMnPdLw: "fafad2",
206
- ZWay: "d3d3d3",
207
- ZgYF: "90ee90",
208
- ZgYy: "d3d3d3",
209
- ZpRk: "ffb6c1",
210
- ZsOmon: "ffa07a",
211
- ZsHgYF: "20b2aa",
212
- ZskyXe: "87cefa",
213
- ZUWay: "778899",
214
- ZUgYy: "778899",
215
- ZstAlXe: "b0c4de",
216
- ZLw: "ffffe0",
217
- lime: "ff00",
218
- limegYF: "32cd32",
219
- lRF: "faf0e6",
220
- magFta: "ff00ff",
221
- maPon: "800000",
222
- VaquamarRe: "66cdaa",
223
- VXe: "cd",
224
- VScEd: "ba55d3",
225
- VpurpN: "9370db",
226
- VsHgYF: "3cb371",
227
- VUXe: "7b68ee",
228
- VsprRggYF: "fa9a",
229
- VQe: "48d1cc",
230
- VviTetYd: "c71585",
231
- midnightXe: "191970",
232
- mRtcYam: "f5fffa",
233
- mistyPse: "ffe4e1",
234
- moccasR: "ffe4b5",
235
- navajowEte: "ffdead",
236
- navy: "80",
237
- Tdlace: "fdf5e6",
238
- Tive: "808000",
239
- TivedBb: "6b8e23",
240
- Sange: "ffa500",
241
- SangeYd: "ff4500",
242
- ScEd: "da70d6",
243
- pOegTMnPd: "eee8aa",
244
- pOegYF: "98fb98",
245
- pOeQe: "afeeee",
246
- pOeviTetYd: "db7093",
247
- papayawEp: "ffefd5",
248
- pHKpuff: "ffdab9",
249
- peru: "cd853f",
250
- pRk: "ffc0cb",
251
- plum: "dda0dd",
252
- powMrXe: "b0e0e6",
253
- purpN: "800080",
254
- YbeccapurpN: "663399",
255
- Yd: "ff0000",
256
- Psybrown: "bc8f8f",
257
- PyOXe: "4169e1",
258
- saddNbPwn: "8b4513",
259
- sOmon: "fa8072",
260
- sandybPwn: "f4a460",
261
- sHgYF: "2e8b57",
262
- sHshell: "fff5ee",
263
- siFna: "a0522d",
264
- silver: "c0c0c0",
265
- skyXe: "87ceeb",
266
- UXe: "6a5acd",
267
- UWay: "708090",
268
- UgYy: "708090",
269
- snow: "fffafa",
270
- sprRggYF: "ff7f",
271
- stAlXe: "4682b4",
272
- tan: "d2b48c",
273
- teO: "8080",
274
- tEstN: "d8bfd8",
275
- tomato: "ff6347",
276
- Qe: "40e0d0",
277
- viTet: "ee82ee",
278
- JHt: "f5deb3",
279
- wEte: "ffffff",
280
- wEtesmoke: "f5f5f5",
281
- Lw: "ffff00",
282
- LwgYF: "9acd32"
283
- };
284
- function v() {
285
- const f = {}, e = Object.keys(E), t = Object.keys(O);
286
- let n, r, a, s, c;
287
- for (n = 0; n < e.length; n++) {
288
- for (s = c = e[n], r = 0; r < t.length; r++)
289
- a = t[r], c = c.replace(a, O[a]);
290
- a = parseInt(E[s], 16), f[c] = [a >> 16 & 255, a >> 8 & 255, a & 255];
291
- }
292
- return f;
293
- }
294
- let F;
295
- function G(f) {
296
- F || (F = v(), F.transparent = [0, 0, 0, 0]);
297
- const e = F[f.toLowerCase()];
298
- return e && {
299
- r: e[0],
300
- g: e[1],
301
- b: e[2],
302
- a: e.length === 4 ? e[3] : 255
303
- };
304
- }
305
- const I = /^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;
306
- function J(f) {
307
- const e = I.exec(f);
308
- let t = 255, n, r, a;
309
- if (e) {
310
- if (e[7] !== n) {
311
- const s = +e[7];
312
- t = e[8] ? l(s) : b(s * 255, 0, 255);
1
+ import { defineComponent as c, ref as r, createElementBlock as o, openBlock as l, createElementVNode as s, createCommentVNode as u, normalizeClass as f, createVNode as v, withCtx as p, renderSlot as x } from "vue";
2
+ import { useFlyout as y } from "./index401.js";
3
+ import b from "./index402.js";
4
+ const k = ["aria-expanded", "aria-label"], h = {
5
+ key: 0,
6
+ class: "flex items-center gap-1 leading-normal overflow-hidden"
7
+ }, w = ["innerHTML"], V = {
8
+ key: 1,
9
+ class: "vpi-more-horizontal text-xl"
10
+ }, C = { class: "menu" }, F = /* @__PURE__ */ c({
11
+ __name: "VPFlyout",
12
+ props: {
13
+ icon: {},
14
+ button: {},
15
+ label: {},
16
+ items: {}
17
+ },
18
+ setup(e) {
19
+ const n = r(!1), a = r();
20
+ y({ el: a, onBlur: d });
21
+ function d() {
22
+ n.value = !1;
313
23
  }
314
- return n = +e[1], r = +e[3], a = +e[5], n = 255 & (e[2] ? l(n) : b(n, 0, 255)), r = 255 & (e[4] ? l(r) : b(r, 0, 255)), a = 255 & (e[6] ? l(a) : b(a, 0, 255)), {
315
- r: n,
316
- g: r,
317
- b: a,
318
- a: t
319
- };
320
- }
321
- }
322
- function z(f) {
323
- return f && (f.a < 255 ? `rgba(${f.r}, ${f.g}, ${f.b}, ${o(f.a)})` : `rgb(${f.r}, ${f.g}, ${f.b})`);
324
- }
325
- const Y = (f) => f <= 31308e-7 ? f * 12.92 : Math.pow(f, 1 / 2.4) * 1.055 - 0.055, u = (f) => f <= 0.04045 ? f / 12.92 : Math.pow((f + 0.055) / 1.055, 2.4);
326
- function ee(f, e, t) {
327
- const n = u(o(f.r)), r = u(o(f.g)), a = u(o(f.b));
328
- return {
329
- r: d(Y(n + t * (u(o(e.r)) - n))),
330
- g: d(Y(r + t * (u(o(e.g)) - r))),
331
- b: d(Y(a + t * (u(o(e.b)) - a))),
332
- a: f.a + t * (e.a - f.a)
333
- };
334
- }
335
- function p(f, e, t) {
336
- if (f) {
337
- let n = _(f);
338
- n[e] = Math.max(0, Math.min(n[e] + n[e] * t, e === 0 ? 360 : 1)), n = S(n), f.r = n[0], f.g = n[1], f.b = n[2];
339
- }
340
- }
341
- function T(f, e) {
342
- return f && Object.assign(e || {}, f);
343
- }
344
- function R(f) {
345
- var e = { r: 0, g: 0, b: 0, a: 255 };
346
- return Array.isArray(f) ? f.length >= 3 && (e = { r: f[0], g: f[1], b: f[2], a: 255 }, f.length > 3 && (e.a = d(f[3]))) : (e = T(f, { r: 0, g: 0, b: 0, a: 1 }), e.a = d(e.a)), e;
347
- }
348
- function fe(f) {
349
- return f.charAt(0) === "r" ? J(f) : Q(f);
350
- }
351
- class k {
352
- constructor(e) {
353
- if (e instanceof k)
354
- return e;
355
- const t = typeof e;
356
- let n;
357
- t === "object" ? n = R(e) : t === "string" && (n = V(e) || G(e) || fe(e)), this._rgb = n, this._valid = !!n;
358
- }
359
- get valid() {
360
- return this._valid;
361
- }
362
- get rgb() {
363
- var e = T(this._rgb);
364
- return e && (e.a = o(e.a)), e;
365
- }
366
- set rgb(e) {
367
- this._rgb = R(e);
368
- }
369
- rgbString() {
370
- return this._valid ? z(this._rgb) : void 0;
371
- }
372
- hexString() {
373
- return this._valid ? W(this._rgb) : void 0;
374
- }
375
- hslString() {
376
- return this._valid ? D(this._rgb) : void 0;
377
- }
378
- mix(e, t) {
379
- if (e) {
380
- const n = this.rgb, r = e.rgb;
381
- let a;
382
- const s = t === a ? 0.5 : t, c = 2 * s - 1, g = n.a - r.a, h = ((c * g === -1 ? c : (c + g) / (1 + c * g)) + 1) / 2;
383
- a = 1 - h, n.r = 255 & h * n.r + a * r.r + 0.5, n.g = 255 & h * n.g + a * r.g + 0.5, n.b = 255 & h * n.b + a * r.b + 0.5, n.a = s * n.a + (1 - s) * r.a, this.rgb = n;
384
- }
385
- return this;
386
- }
387
- interpolate(e, t) {
388
- return e && (this._rgb = ee(this._rgb, e._rgb, t)), this;
389
- }
390
- clone() {
391
- return new k(this.rgb);
392
- }
393
- alpha(e) {
394
- return this._rgb.a = d(e), this;
395
- }
396
- clearer(e) {
397
- const t = this._rgb;
398
- return t.a *= 1 - e, this;
399
- }
400
- greyscale() {
401
- const e = this._rgb, t = m(e.r * 0.3 + e.g * 0.59 + e.b * 0.11);
402
- return e.r = e.g = e.b = t, this;
403
- }
404
- opaquer(e) {
405
- const t = this._rgb;
406
- return t.a *= 1 + e, this;
407
- }
408
- negate() {
409
- const e = this._rgb;
410
- return e.r = 255 - e.r, e.g = 255 - e.g, e.b = 255 - e.b, this;
411
- }
412
- lighten(e) {
413
- return p(this._rgb, 2, e), this;
414
- }
415
- darken(e) {
416
- return p(this._rgb, 2, -e), this;
417
- }
418
- saturate(e) {
419
- return p(this._rgb, 1, e), this;
420
- }
421
- desaturate(e) {
422
- return p(this._rgb, 1, -e), this;
423
- }
424
- rotate(e) {
425
- return C(this._rgb, e), this;
426
- }
427
- }
24
+ return (m, t) => (l(), o("div", {
25
+ class: "VPFlyout relative flex items-center",
26
+ ref_key: "el",
27
+ ref: a,
28
+ onMouseenter: t[1] || (t[1] = (i) => n.value = !0),
29
+ onMouseleave: t[2] || (t[2] = (i) => n.value = !1)
30
+ }, [
31
+ s("button", {
32
+ type: "button",
33
+ class: "flex items-center px-3 py-2 text-base font-sans text-primary dark:text-white hover:opacity-70 transition-opacity whitespace-nowrap overflow-hidden text-ellipsis",
34
+ "aria-haspopup": "true",
35
+ "aria-expanded": n.value,
36
+ "aria-label": e.label,
37
+ onClick: t[0] || (t[0] = (i) => n.value = !n.value)
38
+ }, [
39
+ e.button || e.icon ? (l(), o("span", h, [
40
+ e.icon ? (l(), o("span", {
41
+ key: 0,
42
+ class: f([e.icon, "shrink-0"])
43
+ }, null, 2)) : u("", !0),
44
+ e.button ? (l(), o("span", {
45
+ key: 1,
46
+ innerHTML: e.button,
47
+ class: "overflow-hidden text-ellipsis"
48
+ }, null, 8, w)) : u("", !0),
49
+ t[3] || (t[3] = s("span", { class: "vpi-chevron-down text-sm shrink-0" }, null, -1))
50
+ ])) : (l(), o("span", V))
51
+ ], 8, k),
52
+ s("div", C, [
53
+ v(b, { items: e.items }, {
54
+ default: p(() => [
55
+ x(m.$slots, "default", {}, void 0, !0)
56
+ ]),
57
+ _: 3
58
+ }, 8, ["items"])
59
+ ])
60
+ ], 544));
61
+ }
62
+ });
428
63
  export {
429
- k as Color,
430
- o as b2n,
431
- V as hexParse,
432
- W as hexString,
433
- S as hsl2rgb,
434
- D as hslString,
435
- B as hsv2rgb,
436
- Q as hueParse,
437
- K as hwb2rgb,
438
- b as lim,
439
- d as n2b,
440
- X as n2p,
441
- G as nameParse,
442
- l as p2b,
443
- _ as rgb2hsl,
444
- J as rgbParse,
445
- z as rgbString,
446
- C as rotate,
447
- m as round
64
+ F as default
448
65
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, createElementBlock as s, openBlock as c, createVNode as m, mergeProps as l, withCtx as f, createElementVNode as p } from "vue";
2
- import { useData as u } from "./index234.js";
2
+ import { useData as u } from "./index205.js";
3
3
  import d from "./index8.js";
4
4
  const h = { class: "VPMenuLink" }, x = ["innerHTML"], v = /* @__PURE__ */ r({
5
5
  inheritAttrs: !1,
@@ -0,0 +1,4 @@
1
+ import f from "./index356.js";
2
+ export {
3
+ f as default
4
+ };
package/dist/index380.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index364.js";
1
+ import f from "./index357.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/index381.js CHANGED
@@ -1,4 +1,21 @@
1
- import f from "./index365.js";
1
+ import { defineComponent as t, createBlock as a, openBlock as e, Transition as n, withCtx as c, createElementBlock as r, createCommentVNode as s } from "vue";
2
+ const p = {
3
+ key: 0,
4
+ class: "VPBackdrop"
5
+ }, i = /* @__PURE__ */ t({
6
+ __name: "VPBackdrop",
7
+ props: {
8
+ show: { type: Boolean }
9
+ },
10
+ setup(o) {
11
+ return (d, m) => (e(), a(n, { name: "fade" }, {
12
+ default: c(() => [
13
+ o.show ? (e(), r("div", p)) : s("", !0)
14
+ ]),
15
+ _: 1
16
+ }));
17
+ }
18
+ });
2
19
  export {
3
- f as default
20
+ i as default
4
21
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as u, createElementBlock as l, openBlock as a, normalizeClass as n, unref as r, renderSlot as e, createBlock as i, createVNode as h, withCtx as t, resolveDynamicComponent as p } from "vue";
2
- import v from "./index406.js";
3
- import { useData as $ } from "./index234.js";
2
+ import v from "./index403.js";
3
+ import { useData as $ } from "./index205.js";
4
4
  import { useLayout as b } from "./index351.js";
5
- import y from "./index407.js";
6
- import g from "./index408.js";
7
- import k from "./index409.js";
5
+ import y from "./index404.js";
6
+ import g from "./index405.js";
7
+ import k from "./index406.js";
8
8
  const S = /* @__PURE__ */ u({
9
9
  __name: "VPContent",
10
10
  setup(C) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, createElementBlock as t, createCommentVNode as r, unref as e, openBlock as s, normalizeClass as i, createElementVNode as m } from "vue";
2
- import { useData as f } from "./index234.js";
2
+ import { useData as f } from "./index205.js";
3
3
  import { useLayout as l } from "./index351.js";
4
4
  const p = { class: "container" }, _ = ["innerHTML"], u = ["innerHTML"], H = /* @__PURE__ */ c({
5
5
  __name: "VPFooter",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as h, ref as y, onMounted as g, computed as N, createElementBlock as r, createCommentVNode as l, unref as e, openBlock as u, normalizeClass as V, createElementVNode as s, createVNode as _, toDisplayString as b } from "vue";
2
2
  import { useWindowScroll as L } from "@vueuse/core";
3
- import { useData as k } from "./index234.js";
3
+ import { useData as k } from "./index205.js";
4
4
  import { useLayout as x } from "./index351.js";
5
- import C from "./index405.js";
5
+ import C from "./index415.js";
6
6
  const P = { class: "container" }, S = ["aria-expanded"], H = { class: "menu-text" }, z = /* @__PURE__ */ h({
7
7
  __name: "VPLocalNav",
8
8
  props: {
@@ -2,7 +2,7 @@ import { defineComponent as c, ref as n, watch as d, createElementBlock as v, cr
2
2
  import { useScrollLock as B } from "@vueuse/core";
3
3
  import { inBrowser as C } from "vitepress";
4
4
  import { useLayout as E } from "./index351.js";
5
- import N from "./index410.js";
5
+ import N from "./index416.js";
6
6
  const P = {
7
7
  class: "nav",
8
8
  id: "VPSidebarNav",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a, ref as r, watch as c, createElementBlock as s, openBlock as p, Fragment as i, createElementVNode as t, toDisplayString as l, unref as u } from "vue";
2
2
  import { useRoute as m } from "vitepress";
3
- import { useData as f } from "./index234.js";
3
+ import { useData as f } from "./index205.js";
4
4
  const k = {
5
5
  href: "#VPContent",
6
6
  class: "VPSkipLink visually-hidden"
@@ -1,4 +1,4 @@
1
- import o from "./index211.js";
1
+ import o from "./index360.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index394.js CHANGED
@@ -1,5 +1,4 @@
1
- import o from "./index358.js";
2
- /* empty css */
1
+ import f from "./index362.js";
3
2
  export {
4
- o as default
3
+ f as default
5
4
  };