boltdocs 2.7.10 → 2.7.11
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/client/index.cjs +1929 -1
- package/dist/client/index.js +1880 -1
- package/dist/client/mdx.cjs +7 -1
- package/dist/client/mdx.js +7 -1
- package/dist/client/primitives.cjs +60 -1
- package/dist/client/primitives.js +20 -1
- package/dist/docs-layout-BXHV0xw_.cjs +1431 -0
- package/dist/docs-layout-DwFndmj5.js +1231 -0
- package/dist/icons-dev-3cZMyt8r.cjs +1204 -0
- package/dist/icons-dev-Df8OQ481.js +839 -0
- package/dist/image-DtrI2cw3.cjs +268 -0
- package/dist/image-jxPb-2iV.js +214 -0
- package/dist/mdx-BdWkJTeB.cjs +523 -0
- package/dist/mdx-UTTLFWJq.js +494 -0
- package/dist/node/cli-entry.cjs +1 -1
- package/dist/node/cli-entry.mjs +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/{node-DtEDyN1u.cjs → node-BSM4qcDK.cjs} +1 -1
- package/dist/{node-_1jhMGYx.mjs → node-BspZN3R2.mjs} +1 -1
- package/dist/{package-DrwtlXfk.cjs → package-DIIrjuWI.cjs} +1 -1
- package/dist/{package--0Yf0t1N.mjs → package-K0zsjGIz.mjs} +1 -1
- package/dist/{search-dialog-ByvGScjt.js → search-dialog-BHuIiUC6.js} +3 -1
- package/dist/search-dialog-BNF10tDl.js +375 -0
- package/dist/search-dialog-BwkDuI9R.cjs +220 -0
- package/dist/search-dialog-C7xuvyNk.cjs +386 -0
- package/dist/search-dialog-CIQg6k8c.cjs +8 -0
- package/dist/search-dialog-D-DDN7zJ.js +208 -0
- package/package.json +3 -4
- package/dist/docs-layout-KoWNZc8_.js +0 -6
- package/dist/docs-layout-x2yKt2cL.cjs +0 -6
- package/dist/icons-dev-B_RZIyxu.js +0 -6
- package/dist/icons-dev-BlV3wWFT.cjs +0 -6
- package/dist/image-BHhTvQzr.cjs +0 -6
- package/dist/image-CqKzYD8f.js +0 -6
- package/dist/mdx-DudBEac0.js +0 -7
- package/dist/mdx-r4cDQxWu.cjs +0 -7
- package/dist/search-dialog-B584t9ZF.js +0 -6
- package/dist/search-dialog-BvBopRsZ.cjs +0 -6
- package/dist/search-dialog-Cyko6TJm.cjs +0 -6
- package/dist/search-dialog-D6BNohIJ.js +0 -6
- package/dist/search-dialog-DuYTIefy.cjs +0 -6
- package/src/client/app/config-context.tsx +0 -51
- package/src/client/app/doc-page.tsx +0 -38
- package/src/client/app/docs-layout.tsx +0 -28
- package/src/client/app/head.tsx +0 -122
- package/src/client/app/helmet-compat.tsx +0 -36
- package/src/client/app/mdx-component.tsx +0 -8
- package/src/client/app/mdx-components-context.tsx +0 -72
- package/src/client/app/routes-context.tsx +0 -34
- package/src/client/app/scroll-handler.tsx +0 -74
- package/src/client/app/theme-context.tsx +0 -103
- package/src/client/app/ui-context.tsx +0 -42
- package/src/client/components/docs-layout-default.tsx +0 -85
- package/src/client/components/icons-dev.tsx +0 -282
- package/src/client/components/mdx/callout.tsx +0 -97
- package/src/client/components/mdx/card.tsx +0 -99
- package/src/client/components/mdx/cards.tsx +0 -27
- package/src/client/components/mdx/code-block.tsx +0 -184
- package/src/client/components/mdx/field.tsx +0 -33
- package/src/client/components/mdx/image.tsx +0 -44
- package/src/client/components/mdx/index.ts +0 -19
- package/src/client/components/mdx/table.tsx +0 -54
- package/src/client/components/mdx/typographics.tsx +0 -120
- package/src/client/components/mdx/use-code-block.ts +0 -34
- package/src/client/components/primitives/breadcrumbs.tsx +0 -54
- package/src/client/components/primitives/button-group.tsx +0 -54
- package/src/client/components/primitives/button.tsx +0 -6
- package/src/client/components/primitives/code-block.tsx +0 -120
- package/src/client/components/primitives/docs-layout.tsx +0 -125
- package/src/client/components/primitives/error-boundary.tsx +0 -107
- package/src/client/components/primitives/heading.tsx +0 -128
- package/src/client/components/primitives/helpers/observer.ts +0 -141
- package/src/client/components/primitives/image.tsx +0 -26
- package/src/client/components/primitives/link.tsx +0 -102
- package/src/client/components/primitives/menu.tsx +0 -137
- package/src/client/components/primitives/navbar.tsx +0 -466
- package/src/client/components/primitives/on-this-page.tsx +0 -430
- package/src/client/components/primitives/page-nav.tsx +0 -51
- package/src/client/components/primitives/popover.tsx +0 -28
- package/src/client/components/primitives/search-dialog.tsx +0 -193
- package/src/client/components/primitives/sidebar.tsx +0 -423
- package/src/client/components/primitives/skeleton.tsx +0 -26
- package/src/client/components/primitives/tabs.tsx +0 -70
- package/src/client/components/primitives/tooltip.tsx +0 -81
- package/src/client/components/primitives/types.ts +0 -11
- package/src/client/components/ui-base/banner.tsx +0 -66
- package/src/client/components/ui-base/breadcrumbs.tsx +0 -44
- package/src/client/components/ui-base/copy-markdown.tsx +0 -107
- package/src/client/components/ui-base/error-boundary.tsx +0 -15
- package/src/client/components/ui-base/github-stars.tsx +0 -29
- package/src/client/components/ui-base/icons.tsx +0 -240
- package/src/client/components/ui-base/index.ts +0 -16
- package/src/client/components/ui-base/last-updated.tsx +0 -27
- package/src/client/components/ui-base/navbar.tsx +0 -266
- package/src/client/components/ui-base/not-found.tsx +0 -26
- package/src/client/components/ui-base/on-this-page.tsx +0 -57
- package/src/client/components/ui-base/page-nav.tsx +0 -50
- package/src/client/components/ui-base/search-dialog.tsx +0 -163
- package/src/client/components/ui-base/search-highlight.tsx +0 -10
- package/src/client/components/ui-base/sidebar.tsx +0 -92
- package/src/client/components/ui-base/tabs.tsx +0 -83
- package/src/client/components/ui-base/theme-toggle.tsx +0 -130
- package/src/client/components/ui-base/version-i18n.tsx +0 -80
- package/src/client/hooks/index.ts +0 -13
- package/src/client/hooks/use-analytics.ts +0 -272
- package/src/client/hooks/use-breadcrumbs.ts +0 -22
- package/src/client/hooks/use-i18n.ts +0 -182
- package/src/client/hooks/use-localized-to.ts +0 -113
- package/src/client/hooks/use-location.ts +0 -5
- package/src/client/hooks/use-navbar.ts +0 -130
- package/src/client/hooks/use-page-nav.ts +0 -46
- package/src/client/hooks/use-routes.ts +0 -108
- package/src/client/hooks/use-search-highlight.ts +0 -185
- package/src/client/hooks/use-search.ts +0 -118
- package/src/client/hooks/use-sidebar.ts +0 -205
- package/src/client/hooks/use-tabs.ts +0 -46
- package/src/client/hooks/use-version.ts +0 -111
- package/src/client/index.ts +0 -31
- package/src/client/mdx.ts +0 -2
- package/src/client/primitives.ts +0 -19
- package/src/client/ssg/boltdocs-shell.tsx +0 -148
- package/src/client/ssg/create-routes.tsx +0 -473
- package/src/client/ssg/index.ts +0 -4
- package/src/client/ssg/mdx-page.tsx +0 -38
- package/src/client/store/boltdocs-context.tsx +0 -137
- package/src/client/theme/neutral.css +0 -141
- package/src/client/theme/reset.css +0 -189
- package/src/client/types.ts +0 -116
- package/src/client/utils/cn.ts +0 -6
- package/src/client/utils/copy-clipboard.ts +0 -22
- package/src/client/utils/get-base-file-path.ts +0 -21
- package/src/client/utils/github.ts +0 -121
- package/src/client/utils/i18n.ts +0 -23
- package/src/client/utils/path.ts +0 -9
- package/src/client/utils/react-to-text.ts +0 -34
- package/src/client/virtual.d.ts +0 -24
|
@@ -0,0 +1,1204 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boltdocs - https://boltdocs.vercel.app
|
|
3
|
+
* Copyright (c) 2026 Jesus Alcala
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
//#region \0rolldown/runtime.js
|
|
7
|
+
var __create = Object.create;
|
|
8
|
+
var __defProp = Object.defineProperty;
|
|
9
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
10
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
11
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
12
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
13
|
+
var __exportAll = (all, no_symbols) => {
|
|
14
|
+
let target = {};
|
|
15
|
+
for (var name in all) {
|
|
16
|
+
__defProp(target, name, {
|
|
17
|
+
get: all[name],
|
|
18
|
+
enumerable: true
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
if (!no_symbols) {
|
|
22
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
23
|
+
}
|
|
24
|
+
return target;
|
|
25
|
+
};
|
|
26
|
+
var __copyProps = (to, from, except, desc) => {
|
|
27
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
28
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
29
|
+
key = keys[i];
|
|
30
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
31
|
+
__defProp(to, key, {
|
|
32
|
+
get: ((k) => from[k]).bind(null, key),
|
|
33
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return to;
|
|
39
|
+
};
|
|
40
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
41
|
+
value: mod,
|
|
42
|
+
enumerable: true
|
|
43
|
+
}) : target, mod));
|
|
44
|
+
|
|
45
|
+
//#endregion
|
|
46
|
+
let react_router_dom = require("react-router-dom");
|
|
47
|
+
let react = require("react");
|
|
48
|
+
react = __toESM(react);
|
|
49
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
50
|
+
let clsx = require("clsx");
|
|
51
|
+
let tailwind_merge = require("tailwind-merge");
|
|
52
|
+
|
|
53
|
+
//#region src/client/app/config-context.tsx
|
|
54
|
+
/**
|
|
55
|
+
* Context for the global documentation configuration.
|
|
56
|
+
* Using a global singleton pattern to survive dual-package or duplicated-code hazards.
|
|
57
|
+
*/
|
|
58
|
+
const CONFIG_CONTEXT_SYMBOL = Symbol.for("__BDOCS_CONFIG_CONTEXT__");
|
|
59
|
+
const CONFIG_INSTANCE_SYMBOL = Symbol.for("__BDOCS_CONFIG_INSTANCE__");
|
|
60
|
+
const ConfigContext = globalThis[CONFIG_CONTEXT_SYMBOL] || (globalThis[CONFIG_CONTEXT_SYMBOL] = (0, react.createContext)(null));
|
|
61
|
+
/**
|
|
62
|
+
* Hook to access the Boltdocs configuration.
|
|
63
|
+
*/
|
|
64
|
+
function useConfig() {
|
|
65
|
+
const context = (0, react.use)(ConfigContext);
|
|
66
|
+
if (!context && typeof globalThis !== "undefined" && globalThis[CONFIG_INSTANCE_SYMBOL]) return globalThis[CONFIG_INSTANCE_SYMBOL];
|
|
67
|
+
if (!context) throw new Error("useConfig must be used within a ConfigProvider");
|
|
68
|
+
return context;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/client/app/routes-context.tsx
|
|
73
|
+
const RoutesContext = (0, react.createContext)({ routes: [] });
|
|
74
|
+
/**
|
|
75
|
+
* Hook to access the processed routes list from the closest provider.
|
|
76
|
+
*/
|
|
77
|
+
function useRoutesContext() {
|
|
78
|
+
return (0, react.use)(RoutesContext);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Provider component for the documentation routes.
|
|
82
|
+
*/
|
|
83
|
+
function RoutesProvider({ routes, children }) {
|
|
84
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RoutesContext.Provider, {
|
|
85
|
+
value: { routes },
|
|
86
|
+
children
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/client/store/boltdocs-context.tsx
|
|
92
|
+
const PREFERENCES_KEY = "boltdocs-user-preferences";
|
|
93
|
+
const BOLTDOCS_CONTEXT_SYMBOL = Symbol.for("__BDOCS_BOLTDOCS_CONTEXT__");
|
|
94
|
+
const BOLTDOCS_INSTANCE_SYMBOL = Symbol.for("__BDOCS_BOLTDOCS_INSTANCE__");
|
|
95
|
+
const BoltdocsContext = globalThis[BOLTDOCS_CONTEXT_SYMBOL] || (globalThis[BOLTDOCS_CONTEXT_SYMBOL] = (0, react.createContext)(void 0));
|
|
96
|
+
function BoltdocsProvider({ children, initialLocale = "", initialVersion = "" }) {
|
|
97
|
+
const getSavedPrefs = () => {
|
|
98
|
+
if (typeof window === "undefined") return {};
|
|
99
|
+
try {
|
|
100
|
+
const raw = localStorage.getItem(PREFERENCES_KEY);
|
|
101
|
+
return raw ? JSON.parse(raw) : {};
|
|
102
|
+
} catch {
|
|
103
|
+
return {};
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
const [locale, setLocaleState] = (0, react.useState)(() => {
|
|
107
|
+
if (initialLocale) return initialLocale;
|
|
108
|
+
return getSavedPrefs().locale || "";
|
|
109
|
+
});
|
|
110
|
+
const [version, setVersionState] = (0, react.useState)(() => {
|
|
111
|
+
if (initialVersion) return initialVersion;
|
|
112
|
+
return getSavedPrefs().version || "";
|
|
113
|
+
});
|
|
114
|
+
const [hasHydrated, setHasHydrated] = (0, react.useState)(() => {
|
|
115
|
+
return typeof window !== "undefined";
|
|
116
|
+
});
|
|
117
|
+
(0, react.useEffect)(() => {
|
|
118
|
+
setHasHydrated(true);
|
|
119
|
+
}, []);
|
|
120
|
+
const value = (0, react.useMemo)(() => {
|
|
121
|
+
const updateLocale = (l) => {
|
|
122
|
+
const newL = l || "";
|
|
123
|
+
setLocaleState(newL);
|
|
124
|
+
if (typeof window !== "undefined") try {
|
|
125
|
+
const prefs = getSavedPrefs();
|
|
126
|
+
localStorage.setItem(PREFERENCES_KEY, JSON.stringify({
|
|
127
|
+
...prefs,
|
|
128
|
+
locale: newL
|
|
129
|
+
}));
|
|
130
|
+
} catch (e) {}
|
|
131
|
+
};
|
|
132
|
+
const updateVersion = (v) => {
|
|
133
|
+
const newV = v || "";
|
|
134
|
+
setVersionState(newV);
|
|
135
|
+
if (typeof window !== "undefined") try {
|
|
136
|
+
const prefs = getSavedPrefs();
|
|
137
|
+
localStorage.setItem(PREFERENCES_KEY, JSON.stringify({
|
|
138
|
+
...prefs,
|
|
139
|
+
version: newV
|
|
140
|
+
}));
|
|
141
|
+
} catch (e) {}
|
|
142
|
+
};
|
|
143
|
+
return {
|
|
144
|
+
currentLocale: locale,
|
|
145
|
+
currentVersion: version,
|
|
146
|
+
setLocale: updateLocale,
|
|
147
|
+
setVersion: updateVersion,
|
|
148
|
+
hasHydrated,
|
|
149
|
+
setHasHydrated
|
|
150
|
+
};
|
|
151
|
+
}, [
|
|
152
|
+
locale,
|
|
153
|
+
version,
|
|
154
|
+
hasHydrated
|
|
155
|
+
]);
|
|
156
|
+
if (typeof globalThis !== "undefined") globalThis[BOLTDOCS_INSTANCE_SYMBOL] = value;
|
|
157
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BoltdocsContext.Provider, {
|
|
158
|
+
value,
|
|
159
|
+
children
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
function useBoltdocsContext() {
|
|
163
|
+
const context = (0, react.use)(BoltdocsContext);
|
|
164
|
+
if (!context && typeof globalThis !== "undefined" && globalThis[BOLTDOCS_INSTANCE_SYMBOL]) return globalThis[BOLTDOCS_INSTANCE_SYMBOL];
|
|
165
|
+
if (!context) throw new Error("useBoltdocsContext must be used within a BoltdocsProvider");
|
|
166
|
+
return context;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
//#endregion
|
|
170
|
+
//#region src/client/utils/path.ts
|
|
171
|
+
/**
|
|
172
|
+
* Normalizes a URL path by stripping any trailing slash unless it's the root path.
|
|
173
|
+
*
|
|
174
|
+
* @param p - The path to normalize.
|
|
175
|
+
* @returns The normalized path.
|
|
176
|
+
*/
|
|
177
|
+
function normalizePath(p) {
|
|
178
|
+
return p.endsWith("/") && p.length > 1 ? p.slice(0, -1) : p;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region src/client/hooks/use-routes.ts
|
|
183
|
+
/**
|
|
184
|
+
* Hook to access the framework's routing state.
|
|
185
|
+
* Returns both the complete set of routes and a filtered list based on the current
|
|
186
|
+
* version and locale.
|
|
187
|
+
*/
|
|
188
|
+
function useRoutes() {
|
|
189
|
+
const { routes: allRoutes } = useRoutesContext();
|
|
190
|
+
const config = useConfig();
|
|
191
|
+
const location = (0, react_router_dom.useLocation)();
|
|
192
|
+
const { hasHydrated, currentLocale: currentLocaleStore, currentVersion: currentVersionStore } = useBoltdocsContext();
|
|
193
|
+
const currentPath = normalizePath(location.pathname);
|
|
194
|
+
const currentRoute = allRoutes?.find?.((r) => normalizePath(r.path) === currentPath);
|
|
195
|
+
const currentLocale = config.i18n ? currentLocaleStore || config.i18n.defaultLocale : void 0;
|
|
196
|
+
const currentVersion = config.versions ? currentVersionStore || config.versions.defaultVersion : void 0;
|
|
197
|
+
return {
|
|
198
|
+
routes: (0, react.useMemo)(() => {
|
|
199
|
+
if (!allRoutes) return [];
|
|
200
|
+
const alternateCounts = /* @__PURE__ */ new Map();
|
|
201
|
+
const defaultLocale = config.i18n?.defaultLocale || "";
|
|
202
|
+
const defaultVersion = config.versions?.defaultVersion || "";
|
|
203
|
+
for (const r of allRoutes) {
|
|
204
|
+
const locale = r.locale || defaultLocale;
|
|
205
|
+
const version = r.version || defaultVersion;
|
|
206
|
+
const key = `${r.filePath}::${locale}::${version}`;
|
|
207
|
+
alternateCounts.set(key, (alternateCounts.get(key) || 0) + 1);
|
|
208
|
+
}
|
|
209
|
+
return allRoutes.filter((r) => {
|
|
210
|
+
const localeMatch = config.i18n ? (r.locale || config.i18n.defaultLocale) === currentLocale : true;
|
|
211
|
+
const versionMatch = config.versions ? (r.version || config.versions.defaultVersion) === currentVersion : true;
|
|
212
|
+
if (!(localeMatch && versionMatch)) return false;
|
|
213
|
+
const isCurrentLocalePrefixed = !!currentRoute?.locale;
|
|
214
|
+
const isCurrentVersionPrefixed = !!currentRoute?.version;
|
|
215
|
+
const isRouteLocalePrefixed = !!r.locale;
|
|
216
|
+
const isRouteVersionPrefixed = !!r.version;
|
|
217
|
+
const locale = r.locale || defaultLocale;
|
|
218
|
+
const version = r.version || defaultVersion;
|
|
219
|
+
const key = `${r.filePath}::${locale}::${version}`;
|
|
220
|
+
if ((alternateCounts.get(key) || 0) > 1) {
|
|
221
|
+
const localeMismatch = config.i18n && isCurrentLocalePrefixed !== isRouteLocalePrefixed;
|
|
222
|
+
const versionMismatch = config.versions && isCurrentVersionPrefixed !== isRouteVersionPrefixed;
|
|
223
|
+
if (localeMismatch || versionMismatch) return false;
|
|
224
|
+
}
|
|
225
|
+
return true;
|
|
226
|
+
});
|
|
227
|
+
}, [
|
|
228
|
+
allRoutes,
|
|
229
|
+
config,
|
|
230
|
+
currentLocale,
|
|
231
|
+
currentVersion,
|
|
232
|
+
currentRoute
|
|
233
|
+
]),
|
|
234
|
+
allRoutes,
|
|
235
|
+
currentRoute,
|
|
236
|
+
currentLocale,
|
|
237
|
+
currentVersion
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region src/client/components/ui-base/icons.tsx
|
|
243
|
+
var icons_exports = /* @__PURE__ */ __exportAll({
|
|
244
|
+
AlertCircle: () => AlertCircle,
|
|
245
|
+
AlertTriangle: () => AlertTriangle,
|
|
246
|
+
ArrowLeft: () => ArrowLeft,
|
|
247
|
+
Check: () => Check,
|
|
248
|
+
ChevronDown: () => ChevronDown,
|
|
249
|
+
ChevronLeft: () => ChevronLeft,
|
|
250
|
+
ChevronRight: () => ChevronRight,
|
|
251
|
+
CircleHelp: () => CircleHelp,
|
|
252
|
+
Copy: () => Copy,
|
|
253
|
+
CornerDownLeft: () => CornerDownLeft,
|
|
254
|
+
ExternalLink: () => ExternalLink,
|
|
255
|
+
File: () => File,
|
|
256
|
+
FileText: () => FileText,
|
|
257
|
+
Hash: () => Hash,
|
|
258
|
+
Home: () => Home,
|
|
259
|
+
Info: () => Info,
|
|
260
|
+
Languages: () => Languages,
|
|
261
|
+
Lightbulb: () => Lightbulb,
|
|
262
|
+
Link: () => Link$1,
|
|
263
|
+
Menu: () => Menu,
|
|
264
|
+
Monitor: () => Monitor,
|
|
265
|
+
Moon: () => Moon,
|
|
266
|
+
MoreVertical: () => MoreVertical,
|
|
267
|
+
Pencil: () => Pencil,
|
|
268
|
+
Search: () => Search,
|
|
269
|
+
Sun: () => Sun,
|
|
270
|
+
TextAlignStart: () => TextAlignStart,
|
|
271
|
+
X: () => X
|
|
272
|
+
});
|
|
273
|
+
function createIcon(displayName, paths, viewBox = "0 0 24 24") {
|
|
274
|
+
const Component = ({ size = 24, className, ...props }) => {
|
|
275
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
276
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
277
|
+
width: size,
|
|
278
|
+
height: size,
|
|
279
|
+
viewBox,
|
|
280
|
+
fill: "none",
|
|
281
|
+
stroke: "currentColor",
|
|
282
|
+
strokeWidth: "2",
|
|
283
|
+
strokeLinecap: "round",
|
|
284
|
+
strokeLinejoin: "round",
|
|
285
|
+
className,
|
|
286
|
+
...props,
|
|
287
|
+
children: paths
|
|
288
|
+
});
|
|
289
|
+
};
|
|
290
|
+
Component.displayName = displayName;
|
|
291
|
+
return Component;
|
|
292
|
+
}
|
|
293
|
+
const Info = createIcon("Info", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
294
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
295
|
+
cx: "12",
|
|
296
|
+
cy: "12",
|
|
297
|
+
r: "10"
|
|
298
|
+
}),
|
|
299
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 16v-4" }),
|
|
300
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 8h.01" })
|
|
301
|
+
] }));
|
|
302
|
+
const Lightbulb = createIcon("Lightbulb", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
303
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A5 5 0 0 0 8 8c0 1 .3 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5" }),
|
|
304
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M9 18h6" }),
|
|
305
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M10 22h4" })
|
|
306
|
+
] }));
|
|
307
|
+
const AlertTriangle = createIcon("AlertTriangle", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
308
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
|
|
309
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
310
|
+
x1: "12",
|
|
311
|
+
y1: "9",
|
|
312
|
+
x2: "12",
|
|
313
|
+
y2: "13"
|
|
314
|
+
}),
|
|
315
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
316
|
+
x1: "12",
|
|
317
|
+
y1: "17",
|
|
318
|
+
x2: "12.01",
|
|
319
|
+
y2: "17"
|
|
320
|
+
})
|
|
321
|
+
] }));
|
|
322
|
+
const AlertCircle = createIcon("AlertCircle", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
323
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
324
|
+
cx: "12",
|
|
325
|
+
cy: "12",
|
|
326
|
+
r: "10"
|
|
327
|
+
}),
|
|
328
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
329
|
+
x1: "12",
|
|
330
|
+
y1: "8",
|
|
331
|
+
x2: "12",
|
|
332
|
+
y2: "12"
|
|
333
|
+
}),
|
|
334
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
335
|
+
x1: "12",
|
|
336
|
+
y1: "16",
|
|
337
|
+
x2: "12.01",
|
|
338
|
+
y2: "16"
|
|
339
|
+
})
|
|
340
|
+
] }));
|
|
341
|
+
const Copy = createIcon("Copy", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
|
|
342
|
+
width: "14",
|
|
343
|
+
height: "14",
|
|
344
|
+
x: "8",
|
|
345
|
+
y: "8",
|
|
346
|
+
rx: "2",
|
|
347
|
+
ry: "2"
|
|
348
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })] }));
|
|
349
|
+
const Check = createIcon("Check", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M20 6 9 17l-5-5" }));
|
|
350
|
+
const File = createIcon("File", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" })] }));
|
|
351
|
+
const ArrowLeft = createIcon("ArrowLeft", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m12 19-7-7 7-7" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M19 12H5" })] }));
|
|
352
|
+
const Pencil = createIcon("Pencil", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 20h9" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z" })] }));
|
|
353
|
+
const CircleHelp = createIcon("CircleHelp", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
354
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
355
|
+
cx: "12",
|
|
356
|
+
cy: "12",
|
|
357
|
+
r: "10"
|
|
358
|
+
}),
|
|
359
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
|
360
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 17h.01" })
|
|
361
|
+
] }));
|
|
362
|
+
const TextAlignStart = createIcon("TextAlignStart", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
363
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
364
|
+
x1: "21",
|
|
365
|
+
x2: "3",
|
|
366
|
+
y1: "6",
|
|
367
|
+
y2: "6"
|
|
368
|
+
}),
|
|
369
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
370
|
+
x1: "15",
|
|
371
|
+
x2: "3",
|
|
372
|
+
y1: "12",
|
|
373
|
+
y2: "12"
|
|
374
|
+
}),
|
|
375
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
376
|
+
x1: "17",
|
|
377
|
+
x2: "3",
|
|
378
|
+
y1: "18",
|
|
379
|
+
y2: "18"
|
|
380
|
+
})
|
|
381
|
+
] }));
|
|
382
|
+
const ExternalLink = createIcon("ExternalLink", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
383
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
|
|
384
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("polyline", { points: "15 3 21 3 21 9" }),
|
|
385
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
386
|
+
x1: "10",
|
|
387
|
+
y1: "14",
|
|
388
|
+
x2: "21",
|
|
389
|
+
y2: "3"
|
|
390
|
+
})
|
|
391
|
+
] }));
|
|
392
|
+
const ChevronDown = createIcon("ChevronDown", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m6 9 6 6 6-6" }));
|
|
393
|
+
const Home = createIcon("Home", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("polyline", { points: "9 22 9 12 15 12 15 22" })] }));
|
|
394
|
+
const Search = createIcon("Search", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
395
|
+
cx: "11",
|
|
396
|
+
cy: "11",
|
|
397
|
+
r: "8"
|
|
398
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m21 21-4.3-4.3" })] }));
|
|
399
|
+
const Sun = createIcon("Sun", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
400
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
401
|
+
cx: "12",
|
|
402
|
+
cy: "12",
|
|
403
|
+
r: "4"
|
|
404
|
+
}),
|
|
405
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 2v2" }),
|
|
406
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 20v2" }),
|
|
407
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m4.93 4.93 1.41 1.41" }),
|
|
408
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m17.66 17.66 1.41 1.41" }),
|
|
409
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 12h2" }),
|
|
410
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M20 12h2" }),
|
|
411
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m6.34 17.66-1.41 1.41" }),
|
|
412
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m19.07 4.93-1.41 1.41" })
|
|
413
|
+
] }));
|
|
414
|
+
const Moon = createIcon("Moon", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" }));
|
|
415
|
+
const Monitor = createIcon("Monitor", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
416
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
|
|
417
|
+
width: "20",
|
|
418
|
+
height: "14",
|
|
419
|
+
x: "2",
|
|
420
|
+
y: "3",
|
|
421
|
+
rx: "2"
|
|
422
|
+
}),
|
|
423
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
424
|
+
x1: "8",
|
|
425
|
+
x2: "16",
|
|
426
|
+
y1: "21",
|
|
427
|
+
y2: "21"
|
|
428
|
+
}),
|
|
429
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
430
|
+
x1: "12",
|
|
431
|
+
x2: "12",
|
|
432
|
+
y1: "17",
|
|
433
|
+
y2: "21"
|
|
434
|
+
})
|
|
435
|
+
] }));
|
|
436
|
+
const Languages = createIcon("Languages", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
437
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m5 8 6 6" }),
|
|
438
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m4 14 6-6 2-3" }),
|
|
439
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M2 5h12" }),
|
|
440
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M7 2h1" }),
|
|
441
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m22 22-5-10-5 10" }),
|
|
442
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M14 18h6" })
|
|
443
|
+
] }));
|
|
444
|
+
const Menu = createIcon("Menu", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
445
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
446
|
+
x1: "4",
|
|
447
|
+
x2: "20",
|
|
448
|
+
y1: "12",
|
|
449
|
+
y2: "12"
|
|
450
|
+
}),
|
|
451
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
452
|
+
x1: "4",
|
|
453
|
+
x2: "20",
|
|
454
|
+
y1: "6",
|
|
455
|
+
y2: "6"
|
|
456
|
+
}),
|
|
457
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
458
|
+
x1: "4",
|
|
459
|
+
x2: "20",
|
|
460
|
+
y1: "18",
|
|
461
|
+
y2: "18"
|
|
462
|
+
})
|
|
463
|
+
] }));
|
|
464
|
+
const X = createIcon("X", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M18 6 6 18" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m6 6 12 12" })] }));
|
|
465
|
+
const Link$1 = createIcon("Link", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" })] }));
|
|
466
|
+
const ChevronRight = createIcon("ChevronRight", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m9 18 6-6-6-6" }));
|
|
467
|
+
const MoreVertical = createIcon("MoreVertical", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
468
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
469
|
+
cx: "12",
|
|
470
|
+
cy: "12",
|
|
471
|
+
r: "1"
|
|
472
|
+
}),
|
|
473
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
474
|
+
cx: "12",
|
|
475
|
+
cy: "5",
|
|
476
|
+
r: "1"
|
|
477
|
+
}),
|
|
478
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
479
|
+
cx: "12",
|
|
480
|
+
cy: "19",
|
|
481
|
+
r: "1"
|
|
482
|
+
})
|
|
483
|
+
] }));
|
|
484
|
+
const ChevronLeft = createIcon("ChevronLeft", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m15 18-6-6 6-6" }));
|
|
485
|
+
const Hash = createIcon("Hash", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
486
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
487
|
+
x1: "4",
|
|
488
|
+
x2: "20",
|
|
489
|
+
y1: "9",
|
|
490
|
+
y2: "9"
|
|
491
|
+
}),
|
|
492
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
493
|
+
x1: "4",
|
|
494
|
+
x2: "20",
|
|
495
|
+
y1: "15",
|
|
496
|
+
y2: "15"
|
|
497
|
+
}),
|
|
498
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
499
|
+
x1: "10",
|
|
500
|
+
x2: "8",
|
|
501
|
+
y1: "3",
|
|
502
|
+
y2: "21"
|
|
503
|
+
}),
|
|
504
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
|
|
505
|
+
x1: "16",
|
|
506
|
+
x2: "14",
|
|
507
|
+
y1: "3",
|
|
508
|
+
y2: "21"
|
|
509
|
+
})
|
|
510
|
+
] }));
|
|
511
|
+
const FileText = createIcon("FileText", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
512
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
|
|
513
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" }),
|
|
514
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M10 9H8" }),
|
|
515
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M16 13H8" }),
|
|
516
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M16 17H8" })
|
|
517
|
+
] }));
|
|
518
|
+
const CornerDownLeft = createIcon("CornerDownLeft", /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("polyline", { points: "9 10 4 15 9 20" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M20 4v7a4 4 0 0 1-4 4H4" })] }));
|
|
519
|
+
|
|
520
|
+
//#endregion
|
|
521
|
+
//#region src/client/hooks/use-localized-to.ts
|
|
522
|
+
function useLocalizedTo(to) {
|
|
523
|
+
const config = useConfig();
|
|
524
|
+
const { currentLocale: activeLocale, currentVersion: activeVersion, allRoutes } = useRoutes();
|
|
525
|
+
if (!config || typeof to !== "string") return to;
|
|
526
|
+
if (to.startsWith("http") || to.startsWith("//") || to.startsWith("#") || to.startsWith("site:")) return to.replace("site:", "");
|
|
527
|
+
const [pathOnly, hashAndQuery] = to.split(/([?#].*)/s);
|
|
528
|
+
const normalizedTo = pathOnly.endsWith("/") && pathOnly.length > 1 ? pathOnly.slice(0, -1) : pathOnly;
|
|
529
|
+
const isKnownRoute = allRoutes?.some((r) => {
|
|
530
|
+
return (r.path.endsWith("/") && r.path.length > 1 ? r.path.slice(0, -1) : r.path) === (normalizedTo || "/");
|
|
531
|
+
});
|
|
532
|
+
const i18n = config.i18n;
|
|
533
|
+
const versions = config.versions;
|
|
534
|
+
const base = (config.base || "/docs").replace(/\/$/, "");
|
|
535
|
+
const baseSegment = base.startsWith("/") ? base.substring(1) : base;
|
|
536
|
+
const rawParts = pathOnly.split("/").filter(Boolean);
|
|
537
|
+
const isDocsPath = baseSegment && rawParts.length > 0 && rawParts[0] === baseSegment || !isKnownRoute && rawParts.length > 0;
|
|
538
|
+
const parts = [...rawParts];
|
|
539
|
+
let pIdx = 0;
|
|
540
|
+
if (baseSegment && parts[pIdx] === baseSegment) pIdx++;
|
|
541
|
+
if (versions && parts.length > pIdx) {
|
|
542
|
+
if (versions.versions.find((v) => v.path === parts[pIdx])) pIdx++;
|
|
543
|
+
}
|
|
544
|
+
if (i18n && parts.length > pIdx && (Array.isArray(i18n.locales) ? i18n.locales.includes(parts[pIdx]) : parts[pIdx] in i18n.locales)) pIdx++;
|
|
545
|
+
const routeContent = parts.slice(pIdx);
|
|
546
|
+
const resultParts = [];
|
|
547
|
+
if (isDocsPath) {
|
|
548
|
+
if (baseSegment) resultParts.push(baseSegment);
|
|
549
|
+
if (versions && activeVersion) resultParts.push(activeVersion);
|
|
550
|
+
if (i18n && activeLocale) resultParts.push(activeLocale);
|
|
551
|
+
} else if (i18n && activeLocale) resultParts.push(activeLocale);
|
|
552
|
+
resultParts.push(...routeContent);
|
|
553
|
+
let finalPath = `/${resultParts.join("/")}`;
|
|
554
|
+
if (pathOnly.endsWith("/") && pathOnly.length > 1 && !finalPath.endsWith("/")) finalPath += "/";
|
|
555
|
+
return (finalPath || "/") + (hashAndQuery || "");
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
//#endregion
|
|
559
|
+
//#region src/client/utils/cn.ts
|
|
560
|
+
function cn(...inputs) {
|
|
561
|
+
return (0, tailwind_merge.twMerge)((0, clsx.clsx)(inputs));
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
//#endregion
|
|
565
|
+
//#region src/client/components/primitives/link.tsx
|
|
566
|
+
/**
|
|
567
|
+
* A primitive Link component that wraps a standard anchor tag
|
|
568
|
+
* and adds framework-specific logic for path localization and preloading.
|
|
569
|
+
*/
|
|
570
|
+
const Link = (props) => {
|
|
571
|
+
const { href, onMouseEnter, onFocus, onClick, ...rest } = props;
|
|
572
|
+
const navigate = (0, react_router_dom.useNavigate)();
|
|
573
|
+
const localizedHref = useLocalizedTo(href ?? "");
|
|
574
|
+
const handleClick = (e) => {
|
|
575
|
+
onClick?.(e);
|
|
576
|
+
if (e.defaultPrevented) return;
|
|
577
|
+
if (!(localizedHref && (localizedHref.startsWith("http://") || localizedHref.startsWith("https://") || localizedHref.startsWith("//")))) {
|
|
578
|
+
e.preventDefault();
|
|
579
|
+
navigate(localizedHref);
|
|
580
|
+
}
|
|
581
|
+
};
|
|
582
|
+
const handleMouseEnter = (e) => {
|
|
583
|
+
onMouseEnter?.(e);
|
|
584
|
+
};
|
|
585
|
+
const handleFocus = (e) => {
|
|
586
|
+
onFocus?.(e);
|
|
587
|
+
};
|
|
588
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
589
|
+
...rest,
|
|
590
|
+
href: localizedHref,
|
|
591
|
+
onClick: handleClick,
|
|
592
|
+
onMouseEnter: handleMouseEnter,
|
|
593
|
+
onFocus: handleFocus
|
|
594
|
+
});
|
|
595
|
+
};
|
|
596
|
+
/**
|
|
597
|
+
* A primitive NavLink component that provides active state detection.
|
|
598
|
+
*/
|
|
599
|
+
const NavLink = (props) => {
|
|
600
|
+
const { href, end = false, className, children, ...rest } = props;
|
|
601
|
+
const location = (0, react_router_dom.useLocation)();
|
|
602
|
+
const localizedHref = useLocalizedTo(href ?? "");
|
|
603
|
+
const isActive = end ? location.pathname === localizedHref : location.pathname.startsWith(localizedHref);
|
|
604
|
+
const resolvedClassName = typeof className === "function" ? className({ isActive }) : cn(className, isActive && "active");
|
|
605
|
+
const resolvedChildren = typeof children === "function" ? children({ isActive }) : children;
|
|
606
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Link, {
|
|
607
|
+
...rest,
|
|
608
|
+
href,
|
|
609
|
+
className: resolvedClassName,
|
|
610
|
+
children: resolvedChildren
|
|
611
|
+
});
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
//#endregion
|
|
615
|
+
//#region src/client/components/icons-dev.tsx
|
|
616
|
+
function wrapperProps(props) {
|
|
617
|
+
const { size = 20, ...rest } = props;
|
|
618
|
+
return {
|
|
619
|
+
...rest,
|
|
620
|
+
width: size,
|
|
621
|
+
height: size
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
const Github = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
625
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
626
|
+
viewBox: "0 0 24 24",
|
|
627
|
+
fill: "currentColor",
|
|
628
|
+
...wrapperProps(props),
|
|
629
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "GitHub" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" })]
|
|
630
|
+
});
|
|
631
|
+
const Csv = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
632
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
633
|
+
fill: "none",
|
|
634
|
+
viewBox: "0 0 24 24",
|
|
635
|
+
...wrapperProps(props),
|
|
636
|
+
children: [
|
|
637
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "CSV" }),
|
|
638
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("mask", {
|
|
639
|
+
id: "a",
|
|
640
|
+
maskUnits: "userSpaceOnUse",
|
|
641
|
+
x: "3",
|
|
642
|
+
y: "3",
|
|
643
|
+
width: "18",
|
|
644
|
+
height: "18",
|
|
645
|
+
fill: "#000",
|
|
646
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
647
|
+
fill: "#fff",
|
|
648
|
+
d: "M3 3h18v18H3z"
|
|
649
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
650
|
+
fillRule: "evenodd",
|
|
651
|
+
clipRule: "evenodd",
|
|
652
|
+
d: "M15.8889 5H8.11111C6.39289 5 5 6.39289 5 8.11111v7.77779C5 17.6071 6.39289 19 8.11111 19h7.77779C17.6071 19 19 17.6071 19 15.8889V8.11111C19 6.39289 17.6071 5 15.8889 5Zm0 12.4444H8.1111c-.05369 0-.10674-.0027-.15904-.008.0523.0053.10536.008.15905.008h7.77779Zm1.5555-1.5555c0 .8054-.6121 1.4679-1.3965 1.5475.7844-.0797 1.3965-.7421 1.3965-1.5475V8.11111v7.77779Z"
|
|
653
|
+
})]
|
|
654
|
+
}),
|
|
655
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
656
|
+
d: "M15.8889 19.4444c1.1046 0 2-.8954 2-2 0-1.1045-.8954-2-2-2v4Zm-7.7778-2 .00001-2H8.1111v2Zm-.15904-.008.20206-1.9898c-1.09891-.1115-2.08022.6888-2.19182 1.7877-.1116 1.099.68877 2.0803 1.78768 2.1919l.20208-1.9898Zm8.09584 0-.2021-1.9897c-1.0989.1116-1.8992 1.0929-1.7876 2.1918.1116 1.0989 1.0929 1.8993 2.1918 1.7877l-.2021-1.9898Zm3.3965-9.32529c0-1.10457-.8954-2-2-2-1.1045 0-2 .89543-2 2h4ZM8.11111 7h7.77779V3H8.11111v4ZM7 8.11111C7 7.49746 7.49746 7 8.11111 7V3C5.28832 3 3 5.28832 3 8.11111h4Zm0 7.77779V8.11111H3v7.77779h4ZM8.11111 17C7.49746 17 7 16.5025 7 15.8889H3C3 18.7117 5.28832 21 8.11111 21v-4Zm7.77779 0H8.11111v4h7.77779v-4ZM17 15.8889C17 16.5025 16.5025 17 15.8889 17v4C18.7117 21 21 18.7117 21 15.8889h-4Zm0-7.77779v7.77779h4V8.11111h-4ZM15.8889 7C16.5025 7 17 7.49746 17 8.11111h4C21 5.28832 18.7117 3 15.8889 3v4Zm0 8.4444H8.11111l-.00001 4h7.7778v-4Zm-7.7778 0c.01378 0 .02816.0007.04302.0022l-.40411 3.9796c.11944.0121.23994.0182.36109.0182v-4Zm-.36112 3.9818c.11935.0121.23985.0182.36113.0182v-4c.01389 0 .02828.0008.04304.0022l-.40417 3.9796Zm.36113.0182h7.77779v-4H8.11111v4Zm8.13889-.0182c1.7951-.1823 3.1944-1.6951 3.1944-3.5373h-4c0-.2314.1752-.4193.4015-.4423l.4041 3.9796Zm-.8056-3.5373c0-.2314.1752-.4193.4014-.4422l.4042 3.9795c1.795-.1823 3.1944-1.6951 3.1944-3.5373h-4Zm0-7.77779v7.77779h4V8.11111h-4Zm4 0c0-.07155-.0038-.14596-.0124-.22267-.0086-.07678-.0218-.15478-.0403-.23343-.0184-.07869-.0416-.15651-.0697-.233-.0281-.07648-.0604-.15005-.0963-.22045-.036-.07036-.0749-.13629-.1158-.1978-.0408-.06145-.0832-.11775-.1258-.16912-.085-.10251-.1704-.18478-.2468-.2495-.0383-.03245-.0749-.061-.1089-.08594-.034-.02494-.0659-.04672-.0949-.06556-.029-.01883-.0558-.03518-.0797-.04914-.0239-.01396-.0456-.02598-.0644-.03606-.0188-.01008-.0355-.01864-.0493-.02558-.0139-.00694-.0257-.01268-.0348-.01701-.009-.00429-.0163-.00769-.0207-.00971-.0022-.00104-.004-.00187-.0051-.00238-.0006-.00025-.001-.00046-.0013-.00059-.0002-.00006-.0003-.00011-.0003-.00014-.0001-.00001-.0001-.00003-.0001-.00004v-.00001c-.0006-.00027.0028.00131.0068.00316.0044.00202.0117.00541.0207.00971.0091.00433.0209.01007.0348.01701.0138.00694.0305.0155.0493.02558.0188.01008.0405.0221.0644.03606.0239.01396.0507.03031.0797.04914.029.01883.0609.04062.0949.06556.0339.02494.0706.05349.1089.08594.0764.06472.1618.14698.2468.24949.0426.05138.085.10768.1258.16913.0409.06151.0798.12744.1157.19779.036.07041.0683.14397.0964.22046.028.07648.0513.15431.0697.23299.0185.07865.0317.15665.0403.23344.0086.07671.0124.15112.0124.22267h-4c0 .07154.0039.14595.0125.22267.0086.07678.0218.15478.0402.23343.0185.07868.0417.15651.0698.233.0281.07648.0604.15005.0963.22045.036.07036.0749.13629.1158.1978.0408.06144.0832.11775.1258.16912.0849.10251.1704.18478.2468.2495.0383.03244.0749.061.1089.08594.0339.02493.0658.04672.0949.06556.029.01883.0558.03517.0797.04914.0239.01396.0456.02598.0644.03606.0188.01007.0354.01864.0493.02558.0139.00693.0257.01268.0348.01701.009.00429.0163.00769.0207.00971.0022.00104.004.00187.0051.00237.0006.00026.001.00047.0013.00059.0001.00007.0003.00012.0003.00015.0001.00001.0001.00003.0001.00004v.00001c.0006.00026-.0028-.00131-.0068-.00316-.0044-.00202-.0117-.00542-.0207-.00971-.0091-.00433-.0209-.01008-.0348-.01701-.0139-.00694-.0305-.01551-.0493-.02558-.0188-.01008-.0405-.0221-.0644-.03606-.0239-.01396-.0507-.03031-.0797-.04914-.029-.01884-.061-.04062-.0949-.06556-.034-.02494-.0706-.0535-.1089-.08594-.0764-.06472-.1619-.14699-.2468-.2495-.0426-.05137-.085-.10767-.1258-.16912-.0409-.06151-.0798-.12744-.1158-.1978-.0359-.0704-.0682-.14397-.0963-.22045-.0281-.07649-.0513-.15431-.0698-.233-.0184-.07865-.0316-.15665-.0402-.23343-.0086-.07671-.0125-.15112-.0125-.22267h4Zm0 7.77779V8.11111h-4v7.77779h4Z",
|
|
657
|
+
fill: "#14B8A6",
|
|
658
|
+
mask: "url(#a)"
|
|
659
|
+
}),
|
|
660
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
|
|
661
|
+
x: "7",
|
|
662
|
+
y: "7",
|
|
663
|
+
width: "4",
|
|
664
|
+
height: "2",
|
|
665
|
+
rx: "1",
|
|
666
|
+
fill: "#14B8A6"
|
|
667
|
+
}),
|
|
668
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
|
|
669
|
+
x: "7",
|
|
670
|
+
y: "11",
|
|
671
|
+
width: "4",
|
|
672
|
+
height: "2",
|
|
673
|
+
rx: "1",
|
|
674
|
+
fill: "#14B8A6"
|
|
675
|
+
}),
|
|
676
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
|
|
677
|
+
x: "7",
|
|
678
|
+
y: "15",
|
|
679
|
+
width: "4",
|
|
680
|
+
height: "2",
|
|
681
|
+
rx: "1",
|
|
682
|
+
fill: "#14B8A6"
|
|
683
|
+
}),
|
|
684
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
|
|
685
|
+
x: "13",
|
|
686
|
+
y: "7",
|
|
687
|
+
width: "4",
|
|
688
|
+
height: "2",
|
|
689
|
+
rx: "1",
|
|
690
|
+
fill: "#14B8A6"
|
|
691
|
+
}),
|
|
692
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
|
|
693
|
+
x: "13",
|
|
694
|
+
y: "11",
|
|
695
|
+
width: "4",
|
|
696
|
+
height: "2",
|
|
697
|
+
rx: "1",
|
|
698
|
+
fill: "#14B8A6"
|
|
699
|
+
}),
|
|
700
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
|
|
701
|
+
x: "13",
|
|
702
|
+
y: "15",
|
|
703
|
+
width: "4",
|
|
704
|
+
height: "2",
|
|
705
|
+
rx: "1",
|
|
706
|
+
fill: "#14B8A6"
|
|
707
|
+
})
|
|
708
|
+
]
|
|
709
|
+
});
|
|
710
|
+
const Discord = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
711
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
712
|
+
viewBox: "0 0 24 24",
|
|
713
|
+
fill: "currentColor",
|
|
714
|
+
...wrapperProps(props),
|
|
715
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "Discord" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z" })]
|
|
716
|
+
});
|
|
717
|
+
const XSocial = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
718
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
719
|
+
viewBox: "0 0 24 24",
|
|
720
|
+
fill: "currentColor",
|
|
721
|
+
...wrapperProps(props),
|
|
722
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "X" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z" })]
|
|
723
|
+
});
|
|
724
|
+
const Bluesky = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
725
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
726
|
+
viewBox: "0 0 24 24",
|
|
727
|
+
fill: "currentColor",
|
|
728
|
+
...wrapperProps(props),
|
|
729
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "Bluesky" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M5.202 2.857C7.954 4.922 10.913 9.11 12 11.358c1.087-2.247 4.046-6.436 6.798-8.501C20.783 1.366 24 .213 24 3.883c0 .732-.42 6.156-.667 7.037-.856 3.061-3.978 3.842-6.755 3.37 4.854.826 6.089 3.562 3.422 6.299-5.065 5.196-7.28-1.304-7.847-2.97-.104-.305-.152-.448-.153-.327 0-.121-.05.022-.153.327-.568 1.666-2.782 8.166-7.847 2.97-2.667-2.737-1.432-5.473 3.422-6.3-2.777.473-5.899-.308-6.755-3.369C.42 10.04 0 4.615 0 3.883c0-3.67 3.217-2.517 5.202-1.026" })]
|
|
730
|
+
});
|
|
731
|
+
const TypeScript = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
732
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
733
|
+
fill: "none",
|
|
734
|
+
viewBox: "0 0 24 24",
|
|
735
|
+
...wrapperProps(props),
|
|
736
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "TypeScript" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
737
|
+
fill: "#2563EB",
|
|
738
|
+
d: "M3.234 9.093V7.318h8.363v1.775H8.479V17.5H6.352V9.093H3.234zm15.263 1.153c-.04-.4-.21-.712-.512-.934-.301-.222-.71-.333-1.228-.333-.351 0-.648.05-.89.149-.242.096-.427.23-.557.403a.969.969 0 0 0-.189.586.838.838 0 0 0 .115.477c.086.136.204.254.353.353.149.097.321.181.517.254.195.07.404.13.626.179l.915.219c.444.1.852.232 1.223.397.371.166.693.37.965.612.271.242.482.527.631.855.152.328.23.704.234 1.129-.004.623-.163 1.163-.478 1.62-.311.454-.762.807-1.352 1.06-.587.248-1.294.372-2.123.372-.822 0-1.538-.126-2.147-.378-.607-.252-1.081-.624-1.422-1.118-.338-.497-.516-1.112-.532-1.845h2.083c.023.342.12.627.293.855.176.226.41.397.701.513a2.8 2.8 0 0 0 1 .168c.364 0 .68-.053.949-.159a1.45 1.45 0 0 0 .631-.442c.15-.189.224-.406.224-.651a.846.846 0 0 0-.204-.577c-.132-.156-.328-.288-.586-.398a5.964 5.964 0 0 0-.94-.298l-1.109-.278c-.858-.21-1.536-.536-2.033-.98-.497-.444-.744-1.042-.74-1.795-.004-.616.16-1.155.491-1.615.335-.461.794-.82 1.377-1.08.584-.258 1.247-.387 1.99-.387.755 0 1.414.13 1.978.388.567.258 1.007.618 1.322 1.079.315.46.477.994.488 1.6h-2.064z"
|
|
739
|
+
})]
|
|
740
|
+
});
|
|
741
|
+
const JavaScript = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
742
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
743
|
+
fill: "none",
|
|
744
|
+
viewBox: "0 0 24 24",
|
|
745
|
+
...wrapperProps(props),
|
|
746
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "JavaScript" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
747
|
+
fill: "#F59E0B",
|
|
748
|
+
d: "M8.383 7.318h2.127v7.1c0 .656-.147 1.226-.442 1.71a2.924 2.924 0 01-1.218 1.118c-.52.262-1.125.393-1.815.393-.613 0-1.17-.107-1.67-.323a2.67 2.67 0 01-1.183-.994c-.292-.448-.436-1.01-.433-1.686h2.143c.006.269.061.5.164.691.106.19.25.335.432.438.186.1.405.15.657.15.265 0 .488-.057.67-.17.186-.116.327-.285.423-.507.096-.222.145-.496.145-.82v-7.1zm9.43 2.928c-.04-.4-.21-.712-.511-.934-.302-.222-.711-.333-1.228-.333-.352 0-.648.05-.89.149-.242.096-.428.23-.557.403a.969.969 0 00-.19.586.838.838 0 00.115.477c.087.136.204.254.353.353.15.097.322.181.517.254.196.07.405.13.627.179l.915.219c.444.1.851.232 1.223.397.37.166.692.37.964.612s.482.527.631.855a2.7 2.7 0 01.234 1.129c-.003.623-.162 1.163-.477 1.62-.312.454-.763.807-1.353 1.06-.586.248-1.294.372-2.122.372-.822 0-1.538-.126-2.148-.378-.607-.252-1.08-.624-1.422-1.118-.338-.497-.515-1.112-.532-1.845h2.083c.023.342.121.627.293.855.176.226.41.397.702.513.295.112.628.168.999.168.364 0 .68-.053.95-.159.271-.106.482-.253.63-.442.15-.189.224-.406.224-.651a.846.846 0 00-.203-.577c-.133-.156-.329-.288-.587-.398a5.964 5.964 0 00-.94-.298l-1.108-.278c-.859-.21-1.537-.536-2.034-.98-.497-.444-.744-1.042-.74-1.795-.004-.616.16-1.155.492-1.615.334-.461.793-.82 1.377-1.08.583-.258 1.246-.387 1.989-.387.755 0 1.415.13 1.978.388.567.258 1.008.618 1.323 1.079.314.46.477.994.487 1.6h-2.063z"
|
|
749
|
+
})]
|
|
750
|
+
});
|
|
751
|
+
const Json = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
752
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
753
|
+
fill: "none",
|
|
754
|
+
viewBox: "0 0 24 24",
|
|
755
|
+
...wrapperProps(props),
|
|
756
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "JSON" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
757
|
+
fill: "#F59E0B",
|
|
758
|
+
d: "M4.778 6.667A2.667 2.667 0 017.444 4a.889.889 0 010 1.778.889.889 0 00-.888.889v3.5c0 .701-.273 1.35-.73 1.833.457.483.73 1.132.73 1.832v3.501c0 .491.398.89.888.89a.889.889 0 010 1.777 2.667 2.667 0 01-2.666-2.667v-3.5a.889.889 0 00-.674-.863l-.43-.108a.889.889 0 010-1.724l.43-.108a.889.889 0 00.674-.862V6.667zm14.222 0A2.667 2.667 0 0016.333 4a.889.889 0 000 1.778c.491 0 .89.398.89.889v3.5c0 .701.272 1.35.729 1.833a2.664 2.664 0 00-.73 1.832v3.501a.889.889 0 01-.889.89.889.889 0 000 1.777A2.667 2.667 0 0019 17.333v-3.5c0-.408.278-.764.673-.863l.431-.108a.889.889 0 000-1.724l-.43-.108a.889.889 0 01-.674-.862V6.667z"
|
|
759
|
+
})]
|
|
760
|
+
});
|
|
761
|
+
const Css = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
762
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
763
|
+
fill: "none",
|
|
764
|
+
viewBox: "0 0 24 24",
|
|
765
|
+
...wrapperProps(props),
|
|
766
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "CSS" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
767
|
+
fill: "#0EA5E9",
|
|
768
|
+
d: "M4.778 6.667A2.667 2.667 0 017.444 4a.889.889 0 010 1.778.889.889 0 00-.888.889v3.5c0 .701-.273 1.35-.73 1.833.457.483.73 1.132.73 1.832v3.501c0 .491.398.89.888.89a.889.889 0 010 1.777 2.667 2.667 0 01-2.666-2.667v-3.5a.889.889 0 00-.674-.863l-.43-.108a.889.889 0 010-1.724l.43-.108a.889.889 0 00.674-.862V6.667zm14.222 0A2.667 2.667 0 0016.333 4a.889.889 0 000 1.778c.491 0 .89.398.89.889v3.5c0 .701.272 1.35.729 1.833a2.664 2.664 0 00-.73 1.832v3.501a.889.889 0 01-.889.89.889.889 0 000 1.777A2.667 2.667 0 0019 17.333v-3.5c0-.408.278-.764.673-.863l.431-.108a.889.889 0 000-1.724l-.43-.108a.889.889 0 01-.674-.862V6.667z"
|
|
769
|
+
})]
|
|
770
|
+
});
|
|
771
|
+
const BracketsOrange = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
772
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
773
|
+
fill: "none",
|
|
774
|
+
viewBox: "0 0 24 24",
|
|
775
|
+
...wrapperProps(props),
|
|
776
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "HTML" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
777
|
+
fill: "#EA580C",
|
|
778
|
+
d: "M4.778 6.667A2.667 2.667 0 017.444 4a.889.889 0 010 1.778.889.889 0 00-.888.889v3.5c0 .701-.273 1.35-.73 1.833.457.483.73 1.132.73 1.832v3.501c0 .491.398.89.888.89a.889.889 0 010 1.777 2.667 2.667 0 01-2.666-2.667v-3.5a.889.889 0 00-.674-.863l-.43-.108a.889.889 0 010-1.724l.43-.108a.889.889 0 00.674-.862V6.667zm14.222 0A2.667 2.667 0 0016.333 4a.889.889 0 000 1.778c.491 0 .89.398.89.889v3.5c0 .701.272 1.35.729 1.833a2.664 2.664 0 00-.73 1.832v3.501a.889.889 0 01-.889.89.889.889 0 000 1.777A2.667 2.667 0 0019 17.333v-3.5c0-.408.278-.764.673-.863l.431-.108a.889.889 0 000-1.724l-.43-.108a.889.889 0 01-.674-.862V6.667z"
|
|
779
|
+
})]
|
|
780
|
+
});
|
|
781
|
+
const React = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
782
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
783
|
+
fill: "none",
|
|
784
|
+
viewBox: "0 0 24 24",
|
|
785
|
+
...wrapperProps(props),
|
|
786
|
+
children: [
|
|
787
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "React" }),
|
|
788
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
789
|
+
fill: "#0E8ADC",
|
|
790
|
+
d: "M12 13.677a1.677 1.677 0 100-3.354 1.677 1.677 0 000 3.354z"
|
|
791
|
+
}),
|
|
792
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
793
|
+
stroke: "#0E8ADC",
|
|
794
|
+
d: "M12 15.436c4.97 0 9-1.538 9-3.436s-4.03-3.436-9-3.436S3 10.102 3 12s4.03 3.436 9 3.436z"
|
|
795
|
+
}),
|
|
796
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
797
|
+
stroke: "#0E8ADC",
|
|
798
|
+
d: "M9.024 13.718c2.485 4.305 5.832 7.025 7.476 6.076 1.644-.949.961-5.208-1.524-9.512C12.491 5.977 9.144 3.257 7.5 4.206c-1.644.949-.961 5.208 1.524 9.512z"
|
|
799
|
+
}),
|
|
800
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
801
|
+
stroke: "#0E8ADC",
|
|
802
|
+
d: "M9.024 10.282c-2.485 4.304-3.168 8.563-1.524 9.512 1.644.95 4.99-1.771 7.476-6.076 2.485-4.304 3.168-8.563 1.524-9.512-1.644-.95-4.99 1.771-7.476 6.076z"
|
|
803
|
+
})
|
|
804
|
+
]
|
|
805
|
+
});
|
|
806
|
+
const Markdown = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
807
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
808
|
+
fill: "none",
|
|
809
|
+
viewBox: "0 0 24 24",
|
|
810
|
+
...wrapperProps(props),
|
|
811
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "Markdown" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
812
|
+
fill: "#60A5FA",
|
|
813
|
+
d: "M3 15.714V8h2.323l2.322 2.836L9.968 8h2.322v7.714H9.968V11.29l-2.323 2.836-2.322-2.836v4.424H3zm14.516 0l-3.484-3.743h2.323V8h2.322v3.97H21l-3.484 3.744z"
|
|
814
|
+
})]
|
|
815
|
+
});
|
|
816
|
+
const Shell = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
817
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
818
|
+
fill: "none",
|
|
819
|
+
viewBox: "0 0 25 24",
|
|
820
|
+
...wrapperProps(props),
|
|
821
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "Shell" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
822
|
+
stroke: "#14B8A6",
|
|
823
|
+
strokeLinecap: "round",
|
|
824
|
+
strokeLinejoin: "round",
|
|
825
|
+
strokeWidth: "2",
|
|
826
|
+
d: "M4.336 17l6-6-6-6M12.336 19h8"
|
|
827
|
+
})]
|
|
828
|
+
});
|
|
829
|
+
const Yaml = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
830
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
831
|
+
fill: "none",
|
|
832
|
+
viewBox: "0 0 24 24",
|
|
833
|
+
...wrapperProps(props),
|
|
834
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "YAML" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
835
|
+
fill: "#A78BFA",
|
|
836
|
+
d: "M6.533 5.864h2.755l2.654 5.011h.113l2.654-5.011h2.756l-4.245 7.522V17.5h-2.443v-4.114L6.533 5.864z"
|
|
837
|
+
})]
|
|
838
|
+
});
|
|
839
|
+
const Rust = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
840
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
841
|
+
fill: "none",
|
|
842
|
+
viewBox: "0 0 25 24",
|
|
843
|
+
...wrapperProps(props),
|
|
844
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "Rust" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
845
|
+
fill: "#EA580C",
|
|
846
|
+
fillRule: "evenodd",
|
|
847
|
+
d: "M12.58 2.136a.287.287 0 00-.488 0l-.526.85a8.974 8.974 0 00-.232.022l-.683-.73a.287.287 0 00-.478.096l-.35.935c-.075.021-.15.044-.224.067l-.812-.583a.287.287 0 00-.45.187l-.162.989a9.088 9.088 0 00-.204.11l-.913-.417a.287.287 0 00-.406.272l.036 1.005a9.099 9.099 0 00-.175.144l-.98-.231a.287.287 0 00-.345.345l.231.98a9.125 9.125 0 00-.144.175L4.27 6.316a.287.287 0 00-.271.406l.416.913a9.036 9.036 0 00-.11.203L3.317 8a.287.287 0 00-.187.45l.584.813a8.953 8.953 0 00-.068.223l-.935.35a.287.287 0 00-.095.479l.73.682a8.966 8.966 0 00-.023.233l-.85.526a.287.287 0 000 .488l.85.526c.007.078.014.156.023.233l-.73.682a.287.287 0 00.095.479l.935.35.068.223-.584.812a.287.287 0 00.187.451l.99.162c.035.068.072.135.109.203l-.416.913a.287.287 0 00.271.406l1.006-.036c.047.059.095.117.143.174l-.23.981a.287.287 0 00.344.345l.981-.23c.057.048.115.095.174.142l-.036 1.006a.287.287 0 00.406.272l.914-.417c.067.038.135.074.203.11l.161.99a.287.287 0 00.451.186l.813-.584c.074.024.148.046.223.068l.35.935a.287.287 0 00.478.095l.683-.73c.077.01.154.017.232.023l.526.85a.287.287 0 00.489 0l.526-.85c.078-.006.155-.014.232-.023l.682.73a.287.287 0 00.479-.095l.35-.935c.075-.022.15-.044.223-.068l.813.584a.287.287 0 00.45-.187l.162-.99a8.77 8.77 0 00.203-.109l.913.417a.287.287 0 00.406-.272l-.035-1.006c.058-.047.116-.094.174-.143l.98.231a.287.287 0 00.346-.345l-.231-.98.143-.175 1.006.036a.287.287 0 00.271-.406l-.416-.913a9.4 9.4 0 00.109-.203l.99-.162a.287.287 0 00.187-.45l-.584-.813a8.43 8.43 0 00.067-.223l.935-.35a.287.287 0 00.096-.479l-.73-.682c.009-.077.016-.155.023-.233l.85-.526a.287.287 0 000-.488l-.85-.526a8.844 8.844 0 00-.023-.233l.73-.682a.287.287 0 00-.096-.479l-.934-.35a9.246 9.246 0 00-.068-.223l.584-.812A.287.287 0 0021.357 8l-.99-.162a8.92 8.92 0 00-.11-.203l.417-.913a.287.287 0 00-.271-.406l-1.006.036a9.178 9.178 0 00-.143-.174l.23-.981a.287.287 0 00-.345-.345l-.98.23a9.43 9.43 0 00-.174-.142l.035-1.006a.287.287 0 00-.405-.272l-.914.417a9.11 9.11 0 00-.203-.11l-.162-.99a.287.287 0 00-.45-.186l-.813.584a9.088 9.088 0 00-.223-.068l-.35-.935a.287.287 0 00-.479-.095l-.682.73a9.062 9.062 0 00-.232-.023l-.526-.85zm-.257 1.62a.592.592 0 01.578.596.595.595 0 11-.578-.595zm1.363.98A7.324 7.324 0 0118.7 8.309l-.702 1.585a.547.547 0 00.275.717l1.352.6c.041.422.047.847.015 1.27h-.752c-.075 0-.106.05-.106.123v.344c0 .812-.457.99-.859 1.034-.383.044-.806-.161-.86-.394-.22-1.24-.583-1.526-1.152-1.975l-.041-.033c.736-.467 1.502-1.158 1.502-2.08 0-.998-.683-1.625-1.148-1.934-.655-.43-1.379-.516-1.574-.516H6.88a7.324 7.324 0 014.098-2.312l.916.96a.54.54 0 00.766.018l1.026-.978zm-8.46 4.407a.595.595 0 11-.034 1.19.595.595 0 01.034-1.19zm14.192.026a.595.595 0 11-.035 1.19.595.595 0 01.035-1.19zm-13.07.096h1.037v4.678H5.291a7.324 7.324 0 01-.237-2.797l1.282-.57a.542.542 0 00.276-.716l-.264-.595zm4.33.05h2.47c.128 0 .901.147.901.727 0 .48-.593.653-1.081.653h-2.293l.002-1.38zm0 3.36h1.892c.172 0 .924.05 1.164 1.011.026.104.064.291.107.503.078.389.174.861.247 1.06.113.345.57 1.034 1.058 1.034h3.089c-.207.277-.433.54-.677.785l-1.258-.27a.544.544 0 00-.645.417l-.298 1.394a7.323 7.323 0 01-6.108-.03l-.298-1.392a.542.542 0 00-.643-.418l-1.23.264a7.32 7.32 0 01-.636-.75h5.984c.067 0 .113-.011.113-.074v-2.117c0-.061-.046-.075-.113-.075h-1.75l.001-1.341zm-2.763 4.848a.595.595 0 11-.034 1.19.595.595 0 01.034-1.19zm8.814.027a.596.596 0 11-.035 1.19.596.596 0 01.035-1.19z",
|
|
848
|
+
clipRule: "evenodd"
|
|
849
|
+
})]
|
|
850
|
+
});
|
|
851
|
+
const BracketsRed = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
852
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
853
|
+
fill: "none",
|
|
854
|
+
viewBox: "0 0 24 24",
|
|
855
|
+
...wrapperProps(props),
|
|
856
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", { children: "Rust" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
857
|
+
fill: "#F87171",
|
|
858
|
+
d: "M4.778 6.667A2.667 2.667 0 017.444 4a.889.889 0 010 1.778.889.889 0 00-.888.889v3.5c0 .701-.273 1.35-.73 1.833.457.483.73 1.132.73 1.832v3.501c0 .491.398.89.888.89a.889.889 0 010 1.777 2.667 2.667 0 01-2.666-2.667v-3.5a.889.889 0 00-.674-.863l-.43-.108a.889.889 0 010-1.724l.43-.108a.889.889 0 00.674-.862V6.667zm14.222 0A2.667 2.667 0 0016.333 4a.889.889 0 000 1.778c.491 0 .89.398.89.889v3.5c0 .701.272 1.35.729 1.833a2.664 2.664 0 00-.73 1.832v3.501a.889.889 0 01-.889.89.889.889 0 000 1.777A2.667 2.667 0 0019 17.333v-3.5c0-.408.278-.764.673-.863l.431-.108a.889.889 0 000-1.724l-.43-.108a.889.889 0 01-.674-.862V6.667z"
|
|
859
|
+
})]
|
|
860
|
+
});
|
|
861
|
+
|
|
862
|
+
//#endregion
|
|
863
|
+
Object.defineProperty(exports, 'AlertCircle', {
|
|
864
|
+
enumerable: true,
|
|
865
|
+
get: function () {
|
|
866
|
+
return AlertCircle;
|
|
867
|
+
}
|
|
868
|
+
});
|
|
869
|
+
Object.defineProperty(exports, 'AlertTriangle', {
|
|
870
|
+
enumerable: true,
|
|
871
|
+
get: function () {
|
|
872
|
+
return AlertTriangle;
|
|
873
|
+
}
|
|
874
|
+
});
|
|
875
|
+
Object.defineProperty(exports, 'ArrowLeft', {
|
|
876
|
+
enumerable: true,
|
|
877
|
+
get: function () {
|
|
878
|
+
return ArrowLeft;
|
|
879
|
+
}
|
|
880
|
+
});
|
|
881
|
+
Object.defineProperty(exports, 'Bluesky', {
|
|
882
|
+
enumerable: true,
|
|
883
|
+
get: function () {
|
|
884
|
+
return Bluesky;
|
|
885
|
+
}
|
|
886
|
+
});
|
|
887
|
+
Object.defineProperty(exports, 'BoltdocsProvider', {
|
|
888
|
+
enumerable: true,
|
|
889
|
+
get: function () {
|
|
890
|
+
return BoltdocsProvider;
|
|
891
|
+
}
|
|
892
|
+
});
|
|
893
|
+
Object.defineProperty(exports, 'BracketsOrange', {
|
|
894
|
+
enumerable: true,
|
|
895
|
+
get: function () {
|
|
896
|
+
return BracketsOrange;
|
|
897
|
+
}
|
|
898
|
+
});
|
|
899
|
+
Object.defineProperty(exports, 'BracketsRed', {
|
|
900
|
+
enumerable: true,
|
|
901
|
+
get: function () {
|
|
902
|
+
return BracketsRed;
|
|
903
|
+
}
|
|
904
|
+
});
|
|
905
|
+
Object.defineProperty(exports, 'Check', {
|
|
906
|
+
enumerable: true,
|
|
907
|
+
get: function () {
|
|
908
|
+
return Check;
|
|
909
|
+
}
|
|
910
|
+
});
|
|
911
|
+
Object.defineProperty(exports, 'ChevronDown', {
|
|
912
|
+
enumerable: true,
|
|
913
|
+
get: function () {
|
|
914
|
+
return ChevronDown;
|
|
915
|
+
}
|
|
916
|
+
});
|
|
917
|
+
Object.defineProperty(exports, 'ChevronLeft', {
|
|
918
|
+
enumerable: true,
|
|
919
|
+
get: function () {
|
|
920
|
+
return ChevronLeft;
|
|
921
|
+
}
|
|
922
|
+
});
|
|
923
|
+
Object.defineProperty(exports, 'ChevronRight', {
|
|
924
|
+
enumerable: true,
|
|
925
|
+
get: function () {
|
|
926
|
+
return ChevronRight;
|
|
927
|
+
}
|
|
928
|
+
});
|
|
929
|
+
Object.defineProperty(exports, 'CircleHelp', {
|
|
930
|
+
enumerable: true,
|
|
931
|
+
get: function () {
|
|
932
|
+
return CircleHelp;
|
|
933
|
+
}
|
|
934
|
+
});
|
|
935
|
+
Object.defineProperty(exports, 'ConfigContext', {
|
|
936
|
+
enumerable: true,
|
|
937
|
+
get: function () {
|
|
938
|
+
return ConfigContext;
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
Object.defineProperty(exports, 'Copy', {
|
|
942
|
+
enumerable: true,
|
|
943
|
+
get: function () {
|
|
944
|
+
return Copy;
|
|
945
|
+
}
|
|
946
|
+
});
|
|
947
|
+
Object.defineProperty(exports, 'CornerDownLeft', {
|
|
948
|
+
enumerable: true,
|
|
949
|
+
get: function () {
|
|
950
|
+
return CornerDownLeft;
|
|
951
|
+
}
|
|
952
|
+
});
|
|
953
|
+
Object.defineProperty(exports, 'Css', {
|
|
954
|
+
enumerable: true,
|
|
955
|
+
get: function () {
|
|
956
|
+
return Css;
|
|
957
|
+
}
|
|
958
|
+
});
|
|
959
|
+
Object.defineProperty(exports, 'Csv', {
|
|
960
|
+
enumerable: true,
|
|
961
|
+
get: function () {
|
|
962
|
+
return Csv;
|
|
963
|
+
}
|
|
964
|
+
});
|
|
965
|
+
Object.defineProperty(exports, 'Discord', {
|
|
966
|
+
enumerable: true,
|
|
967
|
+
get: function () {
|
|
968
|
+
return Discord;
|
|
969
|
+
}
|
|
970
|
+
});
|
|
971
|
+
Object.defineProperty(exports, 'ExternalLink', {
|
|
972
|
+
enumerable: true,
|
|
973
|
+
get: function () {
|
|
974
|
+
return ExternalLink;
|
|
975
|
+
}
|
|
976
|
+
});
|
|
977
|
+
Object.defineProperty(exports, 'File', {
|
|
978
|
+
enumerable: true,
|
|
979
|
+
get: function () {
|
|
980
|
+
return File;
|
|
981
|
+
}
|
|
982
|
+
});
|
|
983
|
+
Object.defineProperty(exports, 'FileText', {
|
|
984
|
+
enumerable: true,
|
|
985
|
+
get: function () {
|
|
986
|
+
return FileText;
|
|
987
|
+
}
|
|
988
|
+
});
|
|
989
|
+
Object.defineProperty(exports, 'Github', {
|
|
990
|
+
enumerable: true,
|
|
991
|
+
get: function () {
|
|
992
|
+
return Github;
|
|
993
|
+
}
|
|
994
|
+
});
|
|
995
|
+
Object.defineProperty(exports, 'Hash', {
|
|
996
|
+
enumerable: true,
|
|
997
|
+
get: function () {
|
|
998
|
+
return Hash;
|
|
999
|
+
}
|
|
1000
|
+
});
|
|
1001
|
+
Object.defineProperty(exports, 'Home', {
|
|
1002
|
+
enumerable: true,
|
|
1003
|
+
get: function () {
|
|
1004
|
+
return Home;
|
|
1005
|
+
}
|
|
1006
|
+
});
|
|
1007
|
+
Object.defineProperty(exports, 'Info', {
|
|
1008
|
+
enumerable: true,
|
|
1009
|
+
get: function () {
|
|
1010
|
+
return Info;
|
|
1011
|
+
}
|
|
1012
|
+
});
|
|
1013
|
+
Object.defineProperty(exports, 'JavaScript', {
|
|
1014
|
+
enumerable: true,
|
|
1015
|
+
get: function () {
|
|
1016
|
+
return JavaScript;
|
|
1017
|
+
}
|
|
1018
|
+
});
|
|
1019
|
+
Object.defineProperty(exports, 'Json', {
|
|
1020
|
+
enumerable: true,
|
|
1021
|
+
get: function () {
|
|
1022
|
+
return Json;
|
|
1023
|
+
}
|
|
1024
|
+
});
|
|
1025
|
+
Object.defineProperty(exports, 'Languages', {
|
|
1026
|
+
enumerable: true,
|
|
1027
|
+
get: function () {
|
|
1028
|
+
return Languages;
|
|
1029
|
+
}
|
|
1030
|
+
});
|
|
1031
|
+
Object.defineProperty(exports, 'Lightbulb', {
|
|
1032
|
+
enumerable: true,
|
|
1033
|
+
get: function () {
|
|
1034
|
+
return Lightbulb;
|
|
1035
|
+
}
|
|
1036
|
+
});
|
|
1037
|
+
Object.defineProperty(exports, 'Link', {
|
|
1038
|
+
enumerable: true,
|
|
1039
|
+
get: function () {
|
|
1040
|
+
return Link;
|
|
1041
|
+
}
|
|
1042
|
+
});
|
|
1043
|
+
Object.defineProperty(exports, 'Link$1', {
|
|
1044
|
+
enumerable: true,
|
|
1045
|
+
get: function () {
|
|
1046
|
+
return Link$1;
|
|
1047
|
+
}
|
|
1048
|
+
});
|
|
1049
|
+
Object.defineProperty(exports, 'Markdown', {
|
|
1050
|
+
enumerable: true,
|
|
1051
|
+
get: function () {
|
|
1052
|
+
return Markdown;
|
|
1053
|
+
}
|
|
1054
|
+
});
|
|
1055
|
+
Object.defineProperty(exports, 'Menu', {
|
|
1056
|
+
enumerable: true,
|
|
1057
|
+
get: function () {
|
|
1058
|
+
return Menu;
|
|
1059
|
+
}
|
|
1060
|
+
});
|
|
1061
|
+
Object.defineProperty(exports, 'Monitor', {
|
|
1062
|
+
enumerable: true,
|
|
1063
|
+
get: function () {
|
|
1064
|
+
return Monitor;
|
|
1065
|
+
}
|
|
1066
|
+
});
|
|
1067
|
+
Object.defineProperty(exports, 'Moon', {
|
|
1068
|
+
enumerable: true,
|
|
1069
|
+
get: function () {
|
|
1070
|
+
return Moon;
|
|
1071
|
+
}
|
|
1072
|
+
});
|
|
1073
|
+
Object.defineProperty(exports, 'MoreVertical', {
|
|
1074
|
+
enumerable: true,
|
|
1075
|
+
get: function () {
|
|
1076
|
+
return MoreVertical;
|
|
1077
|
+
}
|
|
1078
|
+
});
|
|
1079
|
+
Object.defineProperty(exports, 'NavLink', {
|
|
1080
|
+
enumerable: true,
|
|
1081
|
+
get: function () {
|
|
1082
|
+
return NavLink;
|
|
1083
|
+
}
|
|
1084
|
+
});
|
|
1085
|
+
Object.defineProperty(exports, 'Pencil', {
|
|
1086
|
+
enumerable: true,
|
|
1087
|
+
get: function () {
|
|
1088
|
+
return Pencil;
|
|
1089
|
+
}
|
|
1090
|
+
});
|
|
1091
|
+
Object.defineProperty(exports, 'React', {
|
|
1092
|
+
enumerable: true,
|
|
1093
|
+
get: function () {
|
|
1094
|
+
return React;
|
|
1095
|
+
}
|
|
1096
|
+
});
|
|
1097
|
+
Object.defineProperty(exports, 'RoutesProvider', {
|
|
1098
|
+
enumerable: true,
|
|
1099
|
+
get: function () {
|
|
1100
|
+
return RoutesProvider;
|
|
1101
|
+
}
|
|
1102
|
+
});
|
|
1103
|
+
Object.defineProperty(exports, 'Rust', {
|
|
1104
|
+
enumerable: true,
|
|
1105
|
+
get: function () {
|
|
1106
|
+
return Rust;
|
|
1107
|
+
}
|
|
1108
|
+
});
|
|
1109
|
+
Object.defineProperty(exports, 'Search', {
|
|
1110
|
+
enumerable: true,
|
|
1111
|
+
get: function () {
|
|
1112
|
+
return Search;
|
|
1113
|
+
}
|
|
1114
|
+
});
|
|
1115
|
+
Object.defineProperty(exports, 'Shell', {
|
|
1116
|
+
enumerable: true,
|
|
1117
|
+
get: function () {
|
|
1118
|
+
return Shell;
|
|
1119
|
+
}
|
|
1120
|
+
});
|
|
1121
|
+
Object.defineProperty(exports, 'Sun', {
|
|
1122
|
+
enumerable: true,
|
|
1123
|
+
get: function () {
|
|
1124
|
+
return Sun;
|
|
1125
|
+
}
|
|
1126
|
+
});
|
|
1127
|
+
Object.defineProperty(exports, 'TextAlignStart', {
|
|
1128
|
+
enumerable: true,
|
|
1129
|
+
get: function () {
|
|
1130
|
+
return TextAlignStart;
|
|
1131
|
+
}
|
|
1132
|
+
});
|
|
1133
|
+
Object.defineProperty(exports, 'TypeScript', {
|
|
1134
|
+
enumerable: true,
|
|
1135
|
+
get: function () {
|
|
1136
|
+
return TypeScript;
|
|
1137
|
+
}
|
|
1138
|
+
});
|
|
1139
|
+
Object.defineProperty(exports, 'X', {
|
|
1140
|
+
enumerable: true,
|
|
1141
|
+
get: function () {
|
|
1142
|
+
return X;
|
|
1143
|
+
}
|
|
1144
|
+
});
|
|
1145
|
+
Object.defineProperty(exports, 'XSocial', {
|
|
1146
|
+
enumerable: true,
|
|
1147
|
+
get: function () {
|
|
1148
|
+
return XSocial;
|
|
1149
|
+
}
|
|
1150
|
+
});
|
|
1151
|
+
Object.defineProperty(exports, 'Yaml', {
|
|
1152
|
+
enumerable: true,
|
|
1153
|
+
get: function () {
|
|
1154
|
+
return Yaml;
|
|
1155
|
+
}
|
|
1156
|
+
});
|
|
1157
|
+
Object.defineProperty(exports, '__toESM', {
|
|
1158
|
+
enumerable: true,
|
|
1159
|
+
get: function () {
|
|
1160
|
+
return __toESM;
|
|
1161
|
+
}
|
|
1162
|
+
});
|
|
1163
|
+
Object.defineProperty(exports, 'cn', {
|
|
1164
|
+
enumerable: true,
|
|
1165
|
+
get: function () {
|
|
1166
|
+
return cn;
|
|
1167
|
+
}
|
|
1168
|
+
});
|
|
1169
|
+
Object.defineProperty(exports, 'icons_exports', {
|
|
1170
|
+
enumerable: true,
|
|
1171
|
+
get: function () {
|
|
1172
|
+
return icons_exports;
|
|
1173
|
+
}
|
|
1174
|
+
});
|
|
1175
|
+
Object.defineProperty(exports, 'normalizePath', {
|
|
1176
|
+
enumerable: true,
|
|
1177
|
+
get: function () {
|
|
1178
|
+
return normalizePath;
|
|
1179
|
+
}
|
|
1180
|
+
});
|
|
1181
|
+
Object.defineProperty(exports, 'useBoltdocsContext', {
|
|
1182
|
+
enumerable: true,
|
|
1183
|
+
get: function () {
|
|
1184
|
+
return useBoltdocsContext;
|
|
1185
|
+
}
|
|
1186
|
+
});
|
|
1187
|
+
Object.defineProperty(exports, 'useConfig', {
|
|
1188
|
+
enumerable: true,
|
|
1189
|
+
get: function () {
|
|
1190
|
+
return useConfig;
|
|
1191
|
+
}
|
|
1192
|
+
});
|
|
1193
|
+
Object.defineProperty(exports, 'useLocalizedTo', {
|
|
1194
|
+
enumerable: true,
|
|
1195
|
+
get: function () {
|
|
1196
|
+
return useLocalizedTo;
|
|
1197
|
+
}
|
|
1198
|
+
});
|
|
1199
|
+
Object.defineProperty(exports, 'useRoutes', {
|
|
1200
|
+
enumerable: true,
|
|
1201
|
+
get: function () {
|
|
1202
|
+
return useRoutes;
|
|
1203
|
+
}
|
|
1204
|
+
});
|