@windrun-huaiin/base-ui 5.0.0 → 5.1.0
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/components/index.d.ts +43 -131
- package/dist/components/index.js +823 -249
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +794 -156
- package/dist/components/index.mjs.map +1 -1
- package/dist/components/server.d.ts +138 -0
- package/dist/{index.js → components/server.js} +348 -208
- package/dist/components/server.js.map +1 -0
- package/dist/{index.mjs → components/server.mjs} +317 -113
- package/dist/components/server.mjs.map +1 -0
- package/dist/ui/index.js +478 -334
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +400 -150
- package/dist/ui/index.mjs.map +1 -1
- package/package.json +14 -21
- package/src/components/index.ts +8 -17
- package/src/components/server.ts +4 -0
- package/src/ui/index.ts +1 -1
- package/dist/components/client/index.d.ts +0 -50
- package/dist/components/client/index.js +0 -1591
- package/dist/components/client/index.js.map +0 -1
- package/dist/components/client/index.mjs +0 -1561
- package/dist/components/client/index.mjs.map +0 -1
- package/dist/index.d.mts +0 -4
- package/dist/index.d.ts +0 -4
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/src/components/client/index.ts +0 -16
- package/src/index.ts +0 -5
- /package/dist/components/{client/index.d.mts → index.d.cts} +0 -0
- /package/dist/components/{index.d.mts → server.d.cts} +0 -0
- /package/dist/ui/{index.d.mts → index.d.cts} +0 -0
package/dist/components/index.js
CHANGED
@@ -1,19 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
var
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
5
|
-
var lucideReact = require('lucide-react');
|
6
|
-
var clsx = require('clsx');
|
7
|
-
var tailwindMerge = require('tailwind-merge');
|
8
|
-
|
9
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
10
|
-
|
11
|
-
var React29__default = /*#__PURE__*/_interopDefault(React29);
|
12
|
-
|
1
|
+
"use strict";
|
2
|
+
"use client";
|
3
|
+
var __create = Object.create;
|
13
4
|
var __defProp = Object.defineProperty;
|
14
5
|
var __defProps = Object.defineProperties;
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
15
7
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
8
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
16
9
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
10
|
+
var __getProtoOf = Object.getPrototypeOf;
|
17
11
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
18
12
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
19
13
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
@@ -45,15 +39,50 @@ var __export = (target, all) => {
|
|
45
39
|
for (var name in all)
|
46
40
|
__defProp(target, name, { get: all[name], enumerable: true });
|
47
41
|
};
|
42
|
+
var __copyProps = (to, from, except, desc) => {
|
43
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
44
|
+
for (let key of __getOwnPropNames(from))
|
45
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
46
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
47
|
+
}
|
48
|
+
return to;
|
49
|
+
};
|
50
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
51
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
52
|
+
// file that has been converted to a CommonJS file using a Babel-
|
53
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
54
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
55
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
56
|
+
mod
|
57
|
+
));
|
58
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
59
|
+
|
60
|
+
// src/components/index.ts
|
61
|
+
var components_exports = {};
|
62
|
+
__export(components_exports, {
|
63
|
+
GoogleAnalyticsScript: () => GoogleAnalyticsScript,
|
64
|
+
LanguageDetector: () => LanguageDetector,
|
65
|
+
LanguageSwitcher: () => LanguageSwitcher,
|
66
|
+
MicrosoftClarityScript: () => MicrosoftClarityScript,
|
67
|
+
NotFoundPage: () => NotFoundPage,
|
68
|
+
useGoogleAnalytics: () => useGoogleAnalytics
|
69
|
+
});
|
70
|
+
module.exports = __toCommonJS(components_exports);
|
71
|
+
|
72
|
+
// src/assets/github.tsx
|
73
|
+
var import_react = __toESM(require("react"), 1);
|
48
74
|
|
49
75
|
// src/lib/theme-util.ts
|
50
76
|
var themeIconColor = process.env.NEXT_PUBLIC_STYLE_ICON_COLOR || "text-purple-500";
|
51
77
|
var themeSvgIconColor = process.env.NEXT_PUBLIC_STYLE_SVG_ICON_COLOR || "#AC62FD";
|
52
78
|
var themeSvgIconSize = process.env.NEXT_PUBLIC_STYLE_SVG_ICON_SIZE || 18;
|
53
|
-
|
79
|
+
|
80
|
+
// src/assets/github.tsx
|
81
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
82
|
+
var GitHubIcon = import_react.default.forwardRef(
|
54
83
|
(_a, ref) => {
|
55
84
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
56
|
-
return /* @__PURE__ */
|
85
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
57
86
|
"svg",
|
58
87
|
__spreadProps(__spreadValues({
|
59
88
|
ref,
|
@@ -62,7 +91,7 @@ var GitHubIcon = React29__default.default.forwardRef(
|
|
62
91
|
}, props), {
|
63
92
|
viewBox: "0 0 1024 1024",
|
64
93
|
xmlns: "http://www.w3.org/2000/svg",
|
65
|
-
children: /* @__PURE__ */
|
94
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
66
95
|
"path",
|
67
96
|
{
|
68
97
|
d: "M512 0C229.283787 0 0.142041 234.942803 0.142041 524.867683c0 231.829001 146.647305 428.553077 350.068189 497.952484 25.592898 4.819996 34.976961-11.38884 34.976961-25.294314 0-12.45521-0.469203-45.470049-0.725133-89.276559-142.381822 31.735193-172.453477-70.380469-172.453477-70.380469-23.246882-60.569859-56.816233-76.693384-56.816234-76.693385-46.493765-32.58829 3.540351-31.948468 3.540351-31.948467 51.356415 3.71097 78.356923 54.086324 78.356923 54.086324 45.683323 80.19108 119.817417 57.072162 148.993321 43.593236 4.649376-33.91059 17.915029-57.029508 32.50298-70.167195-113.675122-13.222997-233.151301-58.223843-233.1513-259.341366 0-57.285437 19.919806-104.163095 52.678715-140.846248-5.246544-13.265652-22.820334-66.626844 4.990615-138.884127 0 0 42.996069-14.076094 140.760939 53.787741 40.863327-11.644769 84.627183-17.445825 128.177764-17.6591 43.465272 0.213274 87.271782 6.014331 128.135109 17.6591 97.679561-67.906489 140.59032-53.787741 140.59032-53.787741 27.938914 72.257282 10.407779 125.618474 5.118579 138.884127 32.844219 36.683154 52.593405 83.560812 52.593405 140.846248 0 201.586726-119.646798 245.990404-233.663158 258.957473 18.341577 16.208835 34.721032 48.199958 34.721032 97.210357 0 70.167195-0.639822 126.7275-0.639823 143.960051 0 14.033439 9.213443 30.370239 35.190235 25.209005 203.250265-69.527373 349.769606-266.123484 349.769605-497.867175C1023.857959 234.942803 794.673558 0 512 0",
|
@@ -76,10 +105,14 @@ var GitHubIcon = React29__default.default.forwardRef(
|
|
76
105
|
);
|
77
106
|
GitHubIcon.displayName = "GitHub";
|
78
107
|
var github_default = GitHubIcon;
|
79
|
-
|
108
|
+
|
109
|
+
// src/assets/d8.tsx
|
110
|
+
var import_react2 = __toESM(require("react"), 1);
|
111
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
112
|
+
var D8Icon = import_react2.default.forwardRef(
|
80
113
|
(_a, ref) => {
|
81
114
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
82
|
-
return /* @__PURE__ */
|
115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
83
116
|
"svg",
|
84
117
|
__spreadProps(__spreadValues({
|
85
118
|
ref,
|
@@ -89,21 +122,21 @@ var D8Icon = React29__default.default.forwardRef(
|
|
89
122
|
viewBox: "0 0 1024 1024",
|
90
123
|
xmlns: "http://www.w3.org/2000/svg",
|
91
124
|
children: [
|
92
|
-
/* @__PURE__ */
|
125
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
93
126
|
"path",
|
94
127
|
{
|
95
128
|
d: "M376.832 80.896C187.392 142.336 61.44 313.344 61.44 513.024c0 290.816 277.504 506.88 558.08 434.176C842.752 888.832 993.28 665.6 955.392 445.44 908.288 168.96 635.904-2.048 376.832 80.896zM624.64 134.144c103.424 25.6 214.016 131.072 256 241.664 32.768 87.04 26.624 220.16-15.36 305.152-37.888 77.824-106.496 146.432-184.32 185.344-56.32 26.624-70.656 29.696-168.96 29.696-95.232 0-114.688-3.072-165.888-27.648-157.696-73.728-253.952-251.904-225.28-416.768 41.984-239.616 264.192-378.88 503.808-317.44z",
|
96
129
|
fill: themeSvgIconColor
|
97
130
|
}
|
98
131
|
),
|
99
|
-
/* @__PURE__ */
|
132
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
100
133
|
"path",
|
101
134
|
{
|
102
135
|
d: "M462.848 227.328L460.8 286.72h-35.84c-19.456 0-35.84 4.096-35.84 10.24 0 5.12 11.264 10.24 24.576 10.24 14.336 0 27.648 3.072 29.696 7.168 2.048 5.12-17.408 91.136-43.008 192.512l-47.104 184.32-32.768 3.072c-68.608 7.168-30.72 22.528 53.248 22.528h86.016l4.096 64.512 3.072 63.488 2.048-64.512 2.048-63.488 44.032 1.024c56.32 2.048 123.904-25.6 155.648-64.512 45.056-54.272 26.624-134.144-34.816-153.6-9.216-3.072-1.024-12.288 23.552-26.624 21.504-12.288 41.984-20.48 47.104-17.408 19.456 12.288 35.84-73.728 20.48-112.64-14.336-38.912-66.56-56.32-167.936-56.32h-87.04l-4.096-59.392-3.072-58.368-2.048 58.368z m190.464 96.256c52.224 36.864 10.24 136.192-67.584 157.696C532.48 495.616 460.8 494.592 460.8 478.208c0-6.144 4.096-28.672 9.216-48.128 6.144-19.456 15.36-55.296 21.504-79.872l11.264-43.008h63.488c40.96 0 71.68 6.144 87.04 16.384z m-24.576 211.968c19.456 26.624 19.456 30.72 6.144 70.656-22.528 64.512-66.56 90.112-154.624 90.112-41.984 0-70.656-4.096-70.656-10.24s10.24-50.176 21.504-98.304l22.528-87.04 76.8 3.072c70.656 3.072 78.848 5.12 98.304 31.744z",
|
103
136
|
fill: themeSvgIconColor
|
104
137
|
}
|
105
138
|
),
|
106
|
-
/* @__PURE__ */
|
139
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
107
140
|
"path",
|
108
141
|
{
|
109
142
|
d: "M227.328 421.888c-7.168 7.168-12.288 18.432-12.288 25.6 0 18.432-10.24 16.384-33.792-5.12-19.456-16.384-20.48-16.384-8.192 5.12 6.144 13.312 16.384 23.552 21.504 23.552 19.456 0 10.24 22.528-10.24 27.648-19.456 5.12-20.48 6.144-3.072 19.456 12.288 9.216 14.336 16.384 7.168 21.504-6.144 5.12-14.336 17.408-17.408 28.672-7.168 20.48-7.168 20.48 8.192 0 13.312-16.384 19.456-18.432 35.84-7.168 24.576 15.36 58.368 16.384 66.56 2.048 12.288-20.48 46.08-11.264 47.104 12.288 1.024 19.456 2.048 19.456 6.144 5.12 3.072-10.24-3.072-27.648-13.312-38.912-16.384-18.432-16.384-19.456 7.168-28.672 24.576-10.24 24.576-10.24 2.048-10.24C317.44 501.76 307.2 496.64 307.2 491.52v-18.432c0-4.096 6.144-7.168 12.288-7.168 7.168 0 14.336-9.216 16.384-19.456 4.096-19.456 3.072-19.456-14.336-2.048-17.408 18.432-18.432 17.408-37.888-8.192-20.48-28.672-36.864-33.792-56.32-14.336zM750.592 427.008c-1.024 10.24-5.12 37.888-9.216 61.44-4.096 29.696-3.072 49.152 6.144 59.392 8.192 10.24 9.216 15.36 1.024 15.36-6.144 0-17.408 14.336-26.624 30.72-18.432 34.816-6.144 71.68 22.528 71.68 15.36 0 15.36-1.024-1.024-13.312-17.408-12.288-17.408-16.384-2.048-51.2 15.36-37.888 43.008-50.176 53.248-24.576 3.072 8.192-1.024 27.648-7.168 44.032-7.168 16.384-13.312 38.912-14.336 49.152-1.024 10.24-10.24 25.6-20.48 32.768-11.264 8.192-14.336 14.336-9.216 14.336 23.552 0 44.032-28.672 59.392-80.896 20.48-68.608 20.48-72.704 1.024-72.704-16.384 0-20.48-12.288-8.192-23.552 3.072-4.096 12.288-2.048 19.456 4.096 16.384 13.312 45.056 5.12 44.032-13.312 0-10.24-2.048-10.24-6.144-1.024-2.048 7.168-9.216 13.312-15.36 13.312-10.24 0-6.144-45.056 8.192-100.352 4.096-12.288 2.048-22.528-4.096-22.528-5.12 0-15.36 21.504-22.528 48.128-13.312 54.272-26.624 74.752-47.104 74.752-17.408 0-19.456-53.248-3.072-83.968 8.192-15.36 8.192-24.576-3.072-34.816-12.288-12.288-14.336-11.264-15.36 3.072zM696.32 695.296c0 6.144 5.12 13.312 10.24 16.384 6.144 3.072 10.24-1.024 10.24-9.216 0-9.216-4.096-16.384-10.24-16.384-5.12 0-10.24 4.096-10.24 9.216z",
|
@@ -117,10 +150,14 @@ var D8Icon = React29__default.default.forwardRef(
|
|
117
150
|
);
|
118
151
|
D8Icon.displayName = "D8";
|
119
152
|
var d8_default = D8Icon;
|
120
|
-
|
153
|
+
|
154
|
+
// src/assets/clerk.tsx
|
155
|
+
var import_react3 = __toESM(require("react"), 1);
|
156
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
157
|
+
var ClerkIcon = import_react3.default.forwardRef(
|
121
158
|
(_a, ref) => {
|
122
159
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
123
|
-
return /* @__PURE__ */
|
160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
124
161
|
"svg",
|
125
162
|
__spreadProps(__spreadValues({
|
126
163
|
ref,
|
@@ -129,7 +166,7 @@ var ClerkIcon = React29__default.default.forwardRef(
|
|
129
166
|
}, props), {
|
130
167
|
viewBox: "0 0 24 24",
|
131
168
|
xmlns: "http://www.w3.org/2000/svg",
|
132
|
-
children: /* @__PURE__ */
|
169
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
133
170
|
"path",
|
134
171
|
{
|
135
172
|
d: "M 21.255071,20.629393 18.43951,17.813831 a 0.5590077,0.5590077 0 0 0 -0.6841,-0.08209 6.6983195,6.6983195 0 0 1 -6.920164,0 0.56291684,0.56291684 0 0 0 -0.6841,0.08209 l -2.8155614,2.815562 a 0.56291684,0.56291684 0 0 0 -0.1006604,0.674327 0.55705312,0.55705312 0 0 0 0.1622295,0.181775 11.727434,11.727434 0 0 0 13.7924393,0 0.56682599,0.56682599 0 0 0 0.233572,-0.413392 0.56291684,0.56291684 0 0 0 -0.168094,-0.44271 z m 0.002,-17.2666924 -2.814584,2.8145842 A 0.55607584,0.55607584 0 0 1 17.757364,6.2593769 6.7012514,6.7012514 0 0 0 8.7985821,8.1699714 6.7061378,6.7061378 0 0 0 7.6043383,11.778112 6.7041832,6.7041832 0 0 0 8.5601242,15.456617 0.55998498,0.55998498 0 0 1 8.4790095,16.13974 L 5.663448,18.954324 A 0.55412127,0.55412127 0 0 1 4.8190727,18.892755 11.720593,11.720593 0 0 1 6.8899421,2.9121717 11.717661,11.717661 0 0 1 21.19448,2.5163708 0.55314398,0.55314398 0 0 1 21.42121,2.9248764 0.55705312,0.55705312 0 0 1 21.257026,3.3627006 Z M 14.300703,15.345206 a 3.3491597,3.3491597 0 1 0 0,-6.698319 3.3491597,3.3491597 0 0 0 0,6.698319 z",
|
@@ -144,10 +181,14 @@ var ClerkIcon = React29__default.default.forwardRef(
|
|
144
181
|
);
|
145
182
|
ClerkIcon.displayName = "Clerk";
|
146
183
|
var clerk_default = ClerkIcon;
|
147
|
-
|
184
|
+
|
185
|
+
// src/assets/iterm.tsx
|
186
|
+
var import_react4 = __toESM(require("react"), 1);
|
187
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
188
|
+
var ItermIcon = import_react4.default.forwardRef(
|
148
189
|
(_a, ref) => {
|
149
190
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
150
|
-
return /* @__PURE__ */
|
191
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
151
192
|
"svg",
|
152
193
|
__spreadProps(__spreadValues({
|
153
194
|
ref,
|
@@ -156,7 +197,7 @@ var ItermIcon = React29__default.default.forwardRef(
|
|
156
197
|
}, props), {
|
157
198
|
viewBox: "0 0 24 24",
|
158
199
|
xmlns: "http://www.w3.org/2000/svg",
|
159
|
-
children: /* @__PURE__ */
|
200
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
160
201
|
"path",
|
161
202
|
{
|
162
203
|
d: "M24 5.359v13.282A5.36 5.36 0 0 1 18.641 24H5.359A5.36 5.36 0 0 1 0 18.641V5.359A5.36 5.36 0 0 1 5.359 0h13.282A5.36 5.36 0 0 1 24 5.359m-.932-.233A4.196 4.196 0 0 0 18.874.932H5.126A4.196 4.196 0 0 0 .932 5.126v13.748a4.196 4.196 0 0 0 4.194 4.194h13.748a4.196 4.196 0 0 0 4.194-4.194zm-.816.233v13.282a3.613 3.613 0 0 1-3.611 3.611H5.359a3.613 3.613 0 0 1-3.611-3.611V5.359a3.613 3.613 0 0 1 3.611-3.611h13.282a3.613 3.613 0 0 1 3.611 3.611M8.854 4.194v6.495h.962V4.194zM5.483 9.493v1.085h.597V9.48q.283-.037.508-.133.373-.165.575-.448.208-.284.208-.649a.9.9 0 0 0-.171-.568 1.4 1.4 0 0 0-.426-.388 3 3 0 0 0-.544-.261 32 32 0 0 0-.545-.209 1.8 1.8 0 0 1-.426-.216q-.164-.12-.164-.284 0-.223.179-.351.18-.126.485-.127.344 0 .575.105.239.105.5.298l.433-.5a2.3 2.3 0 0 0-.605-.433 1.6 1.6 0 0 0-.582-.159v-.968h-.597v.978a2 2 0 0 0-.477.127 1.2 1.2 0 0 0-.545.411q-.194.268-.194.634 0 .335.164.56.164.224.418.38a4 4 0 0 0 .552.262q.291.104.545.209.261.104.425.238a.39.39 0 0 1 .165.321q0 .225-.187.359-.18.134-.537.134-.381 0-.717-.134a4.4 4.4 0 0 1-.649-.351l-.388.589q.209.173.477.306.276.135.575.217.191.046.373.064",
|
@@ -171,10 +212,14 @@ var ItermIcon = React29__default.default.forwardRef(
|
|
171
212
|
);
|
172
213
|
ItermIcon.displayName = "Iterm";
|
173
214
|
var iterm_default = ItermIcon;
|
174
|
-
|
215
|
+
|
216
|
+
// src/assets/markdown.tsx
|
217
|
+
var import_react5 = __toESM(require("react"), 1);
|
218
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
219
|
+
var MarkdownIcon = import_react5.default.forwardRef(
|
175
220
|
(_a, ref) => {
|
176
221
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
177
|
-
return /* @__PURE__ */
|
222
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
178
223
|
"svg",
|
179
224
|
__spreadProps(__spreadValues({
|
180
225
|
ref,
|
@@ -183,7 +228,7 @@ var MarkdownIcon = React29__default.default.forwardRef(
|
|
183
228
|
}, props), {
|
184
229
|
viewBox: "0 0 1024 1024",
|
185
230
|
xmlns: "http://www.w3.org/2000/svg",
|
186
|
-
children: /* @__PURE__ */
|
231
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
187
232
|
"path",
|
188
233
|
{
|
189
234
|
d: "M20.48 327.76192a163.84 163.84 0 0 1 163.84-163.84h655.36a163.84 163.84 0 0 1 163.84 163.84v327.68a163.84 163.84 0 0 1-163.84 163.84H184.32a163.84 163.84 0 0 1-163.84-163.84v-327.68z m163.84-81.92a81.92 81.92 0 0 0-81.92 81.92v327.68a81.92 81.92 0 0 0 81.92 81.92h655.36a81.92 81.92 0 0 0 81.92-81.92v-327.68a81.92 81.92 0 0 0-81.92-81.92H184.32z m68.97664 84.00896a40.96 40.96 0 0 1 45.71136 14.336L389.12 464.24064l90.112-120.13568a40.96 40.96 0 0 1 73.728 24.576v245.76a40.96 40.96 0 0 1-81.92 0v-122.88l-49.152 65.536a41.04192 41.04192 0 0 1-65.536 0l-49.152-65.536v122.88a40.96 40.96 0 1 1-81.92 0v-245.76a40.96 40.96 0 0 1 28.01664-38.87104zM757.76 368.76288a40.96 40.96 0 0 0-81.92 0v146.8416l-12.00128-12.00128a40.96 40.96 0 0 0-57.91744 57.91744l81.92 81.92a40.96 40.96 0 0 0 57.91744 0l81.92-81.92a40.96 40.96 0 0 0-57.91744-57.91744l-12.00128 12.00128V368.72192z",
|
@@ -197,10 +242,14 @@ var MarkdownIcon = React29__default.default.forwardRef(
|
|
197
242
|
);
|
198
243
|
MarkdownIcon.displayName = "Markdown";
|
199
244
|
var markdown_default = MarkdownIcon;
|
200
|
-
|
245
|
+
|
246
|
+
// src/assets/mdx.tsx
|
247
|
+
var import_react6 = __toESM(require("react"), 1);
|
248
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
249
|
+
var MDXIcon = import_react6.default.forwardRef(
|
201
250
|
(_a, ref) => {
|
202
251
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
203
|
-
return /* @__PURE__ */
|
252
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
204
253
|
"svg",
|
205
254
|
__spreadProps(__spreadValues({
|
206
255
|
ref,
|
@@ -210,7 +259,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
210
259
|
viewBox: "0 0 1024 1024",
|
211
260
|
xmlns: "http://www.w3.org/2000/svg",
|
212
261
|
children: [
|
213
|
-
/* @__PURE__ */
|
262
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
214
263
|
"path",
|
215
264
|
{
|
216
265
|
d: "M20.48 327.76192a163.84 163.84 0 0 1 163.84-163.84h655.36a163.84 163.84 0 0 1 163.84 163.84v327.68a163.84 163.84 0 0 1-163.84 163.84H184.32a163.84 163.84 0 0 1-163.84-163.84v-327.68z m163.84-81.92a81.92 81.92 0 0 0-81.92 81.92v327.68a81.92 81.92 0 0 0 81.92 81.92h655.36a81.92 81.92 0 0 0 81.92-81.92v-327.68a81.92 81.92 0 0 0-81.92-81.92H184.32z m68.97664 84.00896a40.96 40.96 0 0 1 45.71136 14.336L389.12 464.24064l90.112-120.13568a40.96 40.96 0 0 1 73.728 24.576v245.76a40.96 40.96 0 0 1-81.92 0v-122.88l-49.152 65.536a41.04192 41.04192 0 0 1-65.536 0l-49.152-65.536v122.88a40.96 40.96 0 1 1-81.92 0v-245.76a40.96 40.96 0 0 1 28.01664-38.87104zM757.76 368.76288a40.96 40.96 0 0 0-81.92 0v146.8416l-12.00128-12.00128a40.96 40.96 0 0 0-57.91744 57.91744l81.92 81.92a40.96 40.96 0 0 0 57.91744 0l81.92-81.92a40.96 40.96 0 0 0-57.91744-57.91744l-12.00128 12.00128V368.72192z",
|
@@ -226,7 +275,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
226
275
|
}
|
227
276
|
}
|
228
277
|
),
|
229
|
-
/* @__PURE__ */
|
278
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
230
279
|
"circle",
|
231
280
|
{
|
232
281
|
id: "path3",
|
@@ -244,7 +293,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
244
293
|
}
|
245
294
|
}
|
246
295
|
),
|
247
|
-
/* @__PURE__ */
|
296
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
248
297
|
"circle",
|
249
298
|
{
|
250
299
|
id: "path3-6",
|
@@ -261,7 +310,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
261
310
|
}
|
262
311
|
}
|
263
312
|
),
|
264
|
-
/* @__PURE__ */
|
313
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
265
314
|
"circle",
|
266
315
|
{
|
267
316
|
id: "path3-6-8",
|
@@ -278,7 +327,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
278
327
|
}
|
279
328
|
}
|
280
329
|
),
|
281
|
-
/* @__PURE__ */
|
330
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
282
331
|
"circle",
|
283
332
|
{
|
284
333
|
id: "path3-6-8-7",
|
@@ -295,7 +344,7 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
295
344
|
}
|
296
345
|
}
|
297
346
|
),
|
298
|
-
/* @__PURE__ */
|
347
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
299
348
|
"circle",
|
300
349
|
{
|
301
350
|
id: "path3-6-4",
|
@@ -319,10 +368,14 @@ var MDXIcon = React29__default.default.forwardRef(
|
|
319
368
|
);
|
320
369
|
MDXIcon.displayName = "MDX";
|
321
370
|
var mdx_default = MDXIcon;
|
322
|
-
|
371
|
+
|
372
|
+
// src/assets/html.tsx
|
373
|
+
var import_react7 = __toESM(require("react"), 1);
|
374
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
375
|
+
var HtmlIcon = import_react7.default.forwardRef(
|
323
376
|
(_a, ref) => {
|
324
377
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
325
|
-
return /* @__PURE__ */
|
378
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
326
379
|
"svg",
|
327
380
|
__spreadProps(__spreadValues({
|
328
381
|
ref,
|
@@ -331,7 +384,7 @@ var HtmlIcon = React29__default.default.forwardRef(
|
|
331
384
|
}, props), {
|
332
385
|
viewBox: "0 0 32 32",
|
333
386
|
xmlns: "http://www.w3.org/2000/svg",
|
334
|
-
children: /* @__PURE__ */
|
387
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
335
388
|
"path",
|
336
389
|
{
|
337
390
|
fill: themeSvgIconColor,
|
@@ -344,10 +397,14 @@ var HtmlIcon = React29__default.default.forwardRef(
|
|
344
397
|
);
|
345
398
|
HtmlIcon.displayName = "Html";
|
346
399
|
var html_default = HtmlIcon;
|
347
|
-
|
400
|
+
|
401
|
+
// src/assets/json.tsx
|
402
|
+
var import_react8 = __toESM(require("react"), 1);
|
403
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
404
|
+
var JsonIcon = import_react8.default.forwardRef(
|
348
405
|
(_a, ref) => {
|
349
406
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
350
|
-
return /* @__PURE__ */
|
407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
351
408
|
"svg",
|
352
409
|
__spreadProps(__spreadValues({
|
353
410
|
ref,
|
@@ -356,7 +413,7 @@ var JsonIcon = React29__default.default.forwardRef(
|
|
356
413
|
}, props), {
|
357
414
|
viewBox: "0 -960 960 960",
|
358
415
|
xmlns: "http://www.w3.org/2000/svg",
|
359
|
-
children: /* @__PURE__ */
|
416
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
360
417
|
"path",
|
361
418
|
{
|
362
419
|
fill: themeSvgIconColor,
|
@@ -369,10 +426,14 @@ var JsonIcon = React29__default.default.forwardRef(
|
|
369
426
|
);
|
370
427
|
JsonIcon.displayName = "Json";
|
371
428
|
var json_default = JsonIcon;
|
372
|
-
|
429
|
+
|
430
|
+
// src/assets/xml.tsx
|
431
|
+
var import_react9 = __toESM(require("react"), 1);
|
432
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
433
|
+
var XMLIcon = import_react9.default.forwardRef(
|
373
434
|
(_a, ref) => {
|
374
435
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
375
|
-
return /* @__PURE__ */
|
436
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
376
437
|
"svg",
|
377
438
|
__spreadProps(__spreadValues({
|
378
439
|
ref,
|
@@ -381,7 +442,7 @@ var XMLIcon = React29__default.default.forwardRef(
|
|
381
442
|
}, props), {
|
382
443
|
viewBox: "0 0 1024 1024",
|
383
444
|
xmlns: "http://www.w3.org/2000/svg",
|
384
|
-
children: /* @__PURE__ */
|
445
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
385
446
|
"path",
|
386
447
|
{
|
387
448
|
d: "M354.40128 0c-87.04 0-157.44 70.55872-157.44 157.59872v275.68128H78.72c-21.6576 0-39.36256 17.69984-39.36256 39.36256v236.31872c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.24128v118.08256c0 87.04 70.4 157.59872 157.44 157.59872h472.63744c87.04 0 157.59872-70.55872 157.59872-157.59872V315.0336c0-41.74848-38.9888-81.93024-107.52-149.27872l-29.11744-29.12256L818.87744 107.52C751.5392 38.9888 711.39328 0 669.59872 0H354.4064z m0 78.72h287.20128c28.35456 7.0912 27.99616 42.1376 27.99616 76.8v120.16128c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.07744c39.38816 0 78.87872-0.0256 78.87872 39.36256v512c0 43.32032-35.55328 78.87872-78.87872 78.87872H354.4064c-43.32544 0-78.72-35.5584-78.72-78.87872v-118.08256h393.91744c21.66272 0 39.36256-17.69472 39.36256-39.35744V472.64256c0-21.66272-17.69984-39.36256-39.36256-39.36256H275.68128V157.59872c0-43.32032 35.39456-78.87872 78.72-78.87872zM145.12128 507.36128h23.99744l39.36256 67.2 40.32-67.2h23.04l-50.88256 83.51744 54.72256 92.16h-24.96l-43.20256-75.83744-43.19744 75.83744h-23.04l54.71744-92.16-50.87744-83.51744z m154.55744 0h32.64l49.92 143.03744h0.96256l48.95744-143.03744h33.60256v175.67744h-22.08256v-106.55744c0-10.88 0.32256-26.56256 0.96256-47.04256h-0.96256l-52.79744 153.6h-19.2l-52.80256-153.6h-0.95744c1.28 22.4 1.92 38.72256 1.92 48.96256v104.63744H299.6736V507.36128z m214.08256 0h22.07744v155.52h69.12v20.15744h-91.19744V507.36128z",
|
@@ -395,10 +456,14 @@ var XMLIcon = React29__default.default.forwardRef(
|
|
395
456
|
);
|
396
457
|
XMLIcon.displayName = "XML";
|
397
458
|
var xml_default = XMLIcon;
|
398
|
-
|
459
|
+
|
460
|
+
// src/assets/yaml.tsx
|
461
|
+
var import_react10 = __toESM(require("react"), 1);
|
462
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
463
|
+
var YamlIcon = import_react10.default.forwardRef(
|
399
464
|
(_a, ref) => {
|
400
465
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
401
|
-
return /* @__PURE__ */
|
466
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
402
467
|
"svg",
|
403
468
|
__spreadProps(__spreadValues({
|
404
469
|
ref,
|
@@ -407,7 +472,7 @@ var YamlIcon = React29__default.default.forwardRef(
|
|
407
472
|
}, props), {
|
408
473
|
viewBox: "0 0 1024 1024",
|
409
474
|
xmlns: "http://www.w3.org/2000/svg",
|
410
|
-
children: /* @__PURE__ */
|
475
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
411
476
|
"path",
|
412
477
|
{
|
413
478
|
d: "M354.401 0c-87.04 0-157.44 70.559-157.44 157.599V433.28H78.72c-21.658 0-39.363 17.7-39.363 39.363V708.96c0 21.658 17.7 39.358 39.363 39.358h118.241V866.4c0 87.04 70.4 157.599 157.44 157.599H827.04c87.04 0 157.598-70.559 157.598-157.599V315.034c0-41.749-38.988-81.93-107.52-149.28L848 136.633l-29.123-29.112C751.54 38.989 711.393 0 669.6 0H354.406z m0 78.72h287.202c28.354 7.091 27.996 42.138 27.996 76.8v120.161c0 21.658 17.7 39.358 39.362 39.358H827.04c39.388 0 78.878-0.026 78.878 39.362v512c0 43.32-35.553 78.879-78.878 78.879H354.406c-43.325 0-78.72-35.558-78.72-78.879V748.32h393.918c21.663 0 39.362-17.695 39.362-39.358V472.643c0-21.663-17.7-39.363-39.362-39.363H275.68V157.599c0-43.32 35.395-78.879 78.72-78.879z m-93.127 427.679h20.162l65.28 176.64h-23.04l-19.2-54.718h-65.28l-19.2 54.718h-23.04l64.318-176.64z m-181.438 0.962h23.998l40.32 89.278 41.282-89.278h23.998l-53.76 107.52v68.158h-22.078v-67.2L79.836 507.36z m290.878 0h32.64l49.92 143.038h0.962l48.958-143.038h33.602V683.04h-22.082V576.48c0-10.88 0.322-26.562 0.962-47.042h-0.962l-52.798 153.6h-19.2l-52.802-153.6h-0.958c1.28 22.4 1.92 38.722 1.92 48.962V683.04h-20.162V507.36z m214.082 0h22.078v155.52h69.12v20.158h-91.188V507.36z m-312.96 23.04c-1.92 8.96-4.802 18.238-8.642 27.838l-17.28 50.882h51.84l-18.238-50.882c-3.84-10.88-6.4-20.158-7.68-27.838z",
|
@@ -421,10 +486,14 @@ var YamlIcon = React29__default.default.forwardRef(
|
|
421
486
|
);
|
422
487
|
YamlIcon.displayName = "Yaml";
|
423
488
|
var yaml_default = YamlIcon;
|
424
|
-
|
489
|
+
|
490
|
+
// src/assets/csv.tsx
|
491
|
+
var import_react11 = __toESM(require("react"), 1);
|
492
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
493
|
+
var CSVIcon = import_react11.default.forwardRef(
|
425
494
|
(_a, ref) => {
|
426
495
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
427
|
-
return /* @__PURE__ */
|
496
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
428
497
|
"svg",
|
429
498
|
__spreadProps(__spreadValues({
|
430
499
|
ref,
|
@@ -434,7 +503,7 @@ var CSVIcon = React29__default.default.forwardRef(
|
|
434
503
|
viewBox: "0 0 1024 1024",
|
435
504
|
xmlns: "http://www.w3.org/2000/svg",
|
436
505
|
children: [
|
437
|
-
/* @__PURE__ */
|
506
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
438
507
|
"path",
|
439
508
|
{
|
440
509
|
d: "M158.72 517.12h61.44v394.24c0 28.27776 22.92224 51.2 51.2 51.2h614.4c28.27776 0 51.2-22.92224 51.2-51.2V317.44h-204.8c-28.27776 0-51.2-22.92224-51.2-51.2V61.44H271.36c-28.27776 0-51.2 22.92224-51.2 51.2v97.28H158.72V76.8c0-42.41408 34.38592-76.8 76.8-76.8h481.28l281.6 281.6v665.6c0 42.41408-34.38592 76.8-76.8 76.8H235.52c-42.41408 0-76.8-34.38592-76.8-76.8v-430.08z",
|
@@ -442,7 +511,7 @@ var CSVIcon = React29__default.default.forwardRef(
|
|
442
511
|
"p-id": "8469"
|
443
512
|
}
|
444
513
|
),
|
445
|
-
/* @__PURE__ */
|
514
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
446
515
|
"path",
|
447
516
|
{
|
448
517
|
d: "M102.4 209.92h460.8c42.41408 0 76.8 34.38592 76.8 76.8v153.6c0 42.41408-34.38592 76.8-76.8 76.8H102.4c-42.41408 0-76.8-34.38592-76.8-76.8V286.72c0-42.41408 34.38592-76.8 76.8-76.8z m129.81248 176.2304c-2.7136 11.80672-7.18848 20.45952-13.42464 25.9584-6.23104 5.49888-13.6704 8.25344-22.3232 8.25344-11.74016 0-21.2736-4.3264-28.60544-12.98432-7.33184-8.6528-10.99776-23.17312-10.99776-43.55584 0-19.21536 3.72224-33.11104 11.1616-41.69216 7.44448-8.58112 17.14176-12.87168 29.09696-12.87168 8.6528 0 16.00512 2.42176 22.05696 7.26016 6.04672 4.84352 10.02496 11.4432 11.9296 19.79904l32.23552-7.69536c-3.67104-12.90752-9.1648-22.8096-16.50176-29.70112-12.31872-11.66336-28.34432-17.48992-48.07168-17.48992-22.58432 0-40.8064 7.424-54.66624 22.272-13.86496 14.848-20.79232 35.69664-20.79232 62.53568 0 25.37472 6.89152 45.37856 20.67968 60.0064 13.78816 14.62784 31.3856 21.94432 52.80256 21.94432 17.3056 0 31.5904-4.27008 42.84416-12.81536 11.25376-8.54016 19.3024-21.61152 24.14592-39.21408l-31.56992-10.0096z m51.25632 6.81984c2.12992 18.03776 8.6528 31.7696 19.57888 41.19552 10.9312 9.4208 26.58304 14.1312 46.97088 14.1312 14.00832 0 25.7024-1.96096 35.09248-5.88288 9.38496-3.92192 16.64512-9.91744 21.78048-17.98656 5.13024-8.064 7.70048-16.7168 7.70048-25.9584 0-10.1888-2.1504-18.75456-6.43584-25.68192-4.29056-6.93248-10.22976-12.39552-17.8176-16.39424-7.59296-3.9936-19.30752-7.86432-35.1488-11.60192-15.84128-3.7376-25.81504-7.33184-29.92128-10.78272-3.2256-2.7136-4.8384-5.97504-4.8384-9.78944 0-4.17792 1.72544-7.51616 5.1712-10.0096 5.3504-3.88608 12.75904-5.83168 22.2208-5.83168 9.1648 0 16.04096 1.8176 20.62336 5.44768 4.5824 3.63008 7.57248 9.58976 8.96 17.87392l32.5632-1.4336c-0.512-14.80704-5.888-26.65472-16.11264-35.52768-10.22976-8.87296-25.46688-13.312-45.70624-13.312-12.3904 0-22.97344 1.87392-31.73376 5.61152-8.76544 3.74272-15.47264 9.18528-20.13184 16.3328-4.6592 7.15264-6.98368 14.83776-6.98368 23.05024 0 12.75904 4.95104 23.5776 14.848 32.45056 7.04 6.30784 19.28704 11.6224 36.74112 15.9488 13.568 3.37408 22.25664 5.71904 26.07104 7.04 5.57056 1.98144 9.47712 4.31104 11.71456 6.98368 2.23744 2.67776 3.3536 5.92384 3.3536 9.73824 0 5.9392-2.65728 11.12576-7.97184 15.5648-5.31968 4.43392-13.21984 6.656-23.7056 6.656-9.90208 0-17.7664-2.49344-23.59808-7.48032-5.82656-4.98688-9.69728-12.8-11.60192-23.43424l-31.68256 3.08224zM483.1232 445.44h34.7648l57.74848-161.25952h-34.53952l-39.49056 119.3472-40.81152-119.3472h-35.30752L483.11808 445.44z",
|
@@ -450,7 +519,7 @@ var CSVIcon = React29__default.default.forwardRef(
|
|
450
519
|
"p-id": "8470"
|
451
520
|
}
|
452
521
|
),
|
453
|
-
/* @__PURE__ */
|
522
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
454
523
|
"path",
|
455
524
|
{
|
456
525
|
d: "M266.24 634.88m30.72 0l563.2 0q30.72 0 30.72 30.72l0 0q0 30.72-30.72 30.72l-563.2 0q-30.72 0-30.72-30.72l0 0q0-30.72 30.72-30.72Z",
|
@@ -458,7 +527,7 @@ var CSVIcon = React29__default.default.forwardRef(
|
|
458
527
|
"p-id": "8471"
|
459
528
|
}
|
460
529
|
),
|
461
|
-
/* @__PURE__ */
|
530
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
462
531
|
"path",
|
463
532
|
{
|
464
533
|
d: "M266.24 808.96m30.72 0l563.2 0q30.72 0 30.72 30.72l0 0q0 30.72-30.72 30.72l-563.2 0q-30.72 0-30.72-30.72l0 0q0-30.72 30.72-30.72Z",
|
@@ -473,10 +542,14 @@ var CSVIcon = React29__default.default.forwardRef(
|
|
473
542
|
);
|
474
543
|
CSVIcon.displayName = "CSV";
|
475
544
|
var csv_default = CSVIcon;
|
476
|
-
|
545
|
+
|
546
|
+
// src/assets/txt.tsx
|
547
|
+
var import_react12 = __toESM(require("react"), 1);
|
548
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
549
|
+
var TxtIcon = import_react12.default.forwardRef(
|
477
550
|
(_a, ref) => {
|
478
551
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
479
|
-
return /* @__PURE__ */
|
552
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
480
553
|
"svg",
|
481
554
|
__spreadProps(__spreadValues({
|
482
555
|
ref,
|
@@ -485,7 +558,7 @@ var TxtIcon = React29__default.default.forwardRef(
|
|
485
558
|
}, props), {
|
486
559
|
viewBox: "0 0 1024 1024",
|
487
560
|
xmlns: "http://www.w3.org/2000/svg",
|
488
|
-
children: /* @__PURE__ */
|
561
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
489
562
|
"path",
|
490
563
|
{
|
491
564
|
d: "M764.6 791c-35.6 0-77.2-19.2-77.2-73.6 0-21.8 7.8-37.2 25.2-49.6 17-12.2 43-20.8 73.4-24.4 42.8-5 91-7.8 132.2-9.2 0.6 0 1 0.2 1.6 0.4 0.6 0.2 1 0.6 1.4 1 0.4 0.4 0.6 0.8 0.8 1.4 0.2 0.6 0.2 1 0.2 1.6-5.4 102.4-57.2 152.4-157.6 152.4z m42.2-460.6c-84.6-0.6-160.4 48.8-192.8 125.6-0.6 1.4-1 2.8-1.6 4.2-0.4 1.4-0.8 2.8-1 4.2-0.2 1.4-0.6 2.8-0.6 4.4-0.2 1.4-0.2 3-0.2 4.4 0 1.4 0 3 0.2 4.4 0.2 1.4 0.4 3 0.6 4.4 0.2 1.4 0.6 2.8 1 4.2 0.4 1.4 0.8 2.8 1.4 4.2 0.6 1.4 1.2 2.8 1.8 4 0.6 1.4 1.4 2.6 2.2 3.8 0.8 1.2 1.6 2.4 2.6 3.6 1 1.2 1.8 2.2 3 3.2 1 1 2 2 3.2 3 1.2 1 2.2 1.8 3.4 2.6 1.2 0.8 2.4 1.6 3.8 2.4 1.2 0.8 2.6 1.4 4 2 1.4 0.6 2.8 1 4.2 1.6l4.2 1.2c1.4 0.4 2.8 0.6 4.4 0.6 1.4 0.2 3 0.2 4.4 0.2 1.4 0 3 0 4.4-0.2 1.4-0.2 3-0.4 4.4-0.6 1.4-0.2 2.8-0.6 4.2-1 1.4-0.4 2.8-0.8 4.2-1.4 1.4-0.6 2.6-1.2 4-1.8 1.2-0.6 2.6-1.4 3.8-2.2 1.2-0.8 2.4-1.6 3.6-2.6 1.2-1 2.2-2 3.2-3s2-2.2 3-3.2c1-1.2 1.8-2.4 2.6-3.6 0.8-1.2 1.6-2.4 2.2-3.8 0.8-1.2 1.4-2.6 2-4 18-42.8 60.4-70.4 108.2-70.8 65.6-0.4 118.6 54.2 118.6 120.4 0 0.4 0 0.8-0.2 1.2-0.2 0.4-0.4 0.6-0.6 1-0.2 0.2-0.6 0.6-1 0.6-0.4 0.2-0.8 0.2-1.2 0.2-44.4 1.2-97.2 4.2-144.4 9.8-111 13.2-177.4 74.2-177.4 163.4 0 47.4 17.8 90 50 120 30.2 28.2 71.6 43.6 116.4 43.6 63 0 117-16.4 158.2-47.6h0.2c0 1.4 0 3 0.2 4.4 0.2 1.4 0.4 3 0.6 4.4 0.2 1.4 0.6 2.8 1 4.2 0.4 1.4 1 2.8 1.4 4.2 0.6 1.4 1.2 2.8 1.8 4 0.6 1.4 1.4 2.6 2.2 3.8 0.8 1.2 1.6 2.4 2.6 3.6 1 1.2 1.8 2.2 3 3.2 1 1 2.2 2 3.2 3 1.2 1 2.2 1.8 3.6 2.6 1.2 0.8 2.4 1.6 3.8 2.2 1.2 0.8 2.6 1.4 4 2 1.4 0.6 2.8 1 4.2 1.6 1.4 0.4 2.8 0.8 4.2 1 1.4 0.2 2.8 0.6 4.4 0.6 1.4 0.2 3 0.2 4.4 0.2 1.4 0 3 0 4.4-0.2 1.4-0.2 3-0.4 4.4-0.6 1.4-0.2 2.8-0.6 4.2-1 1.4-0.4 2.8-1 4.2-1.4 1.4-0.6 2.6-1.2 4-1.8 1.2-0.6 2.6-1.4 3.8-2.2 1.2-0.8 2.4-1.6 3.6-2.6 1.2-1 2.2-2 3.2-3s2-2.2 3-3.2c1-1.2 1.8-2.4 2.6-3.6 0.8-1.2 1.6-2.4 2.2-3.8 0.6-1.2 1.4-2.6 1.8-4 0.6-1.4 1-2.8 1.4-4.2 0.4-1.4 0.8-2.8 1-4.2 0.2-1.4 0.6-3 0.6-4.4 0.2-1.4 0.2-3 0.2-4.4V541.2c-0.4-115-91.8-210-205.8-210.8zM210.2 554l88-236.6c0.2-0.8 0.8-1.4 1.4-2 0.6-0.4 1.4-0.8 2.4-0.8 0.8 0 1.6 0.2 2.4 0.8 0.6 0.4 1.2 1.2 1.4 2l88 236.8c0.2 0.4 0.2 0.6 0.2 1v1c0 0.4-0.2 0.6-0.2 1-0.2 0.4-0.2 0.6-0.4 0.8-0.2 0.2-0.4 0.6-0.6 0.8-0.2 0.2-0.6 0.4-0.8 0.6-0.2 0.2-0.6 0.2-1 0.4-0.4 0-0.6 0.2-1 0.2h-176c-0.4 0-0.6 0-1-0.2-0.4 0-0.6-0.2-1-0.4-0.2-0.2-0.6-0.4-0.8-0.6-0.2-0.2-0.4-0.4-0.6-0.8-0.2-0.2-0.4-0.6-0.4-0.8-0.2-0.4-0.2-0.6-0.2-1v-1c0-0.4 0-0.8 0.2-1.2z m377 264L343.8 163.2c-0.8-2.2-1.8-4.2-2.8-6.2-1.2-2-2.4-3.8-3.8-5.6-1.4-1.8-3-3.4-4.6-5-1.6-1.6-3.4-3-5.2-4.2-1.8-1.2-3.8-2.4-5.8-3.4s-4.2-1.8-6.2-2.6c-2.2-0.6-4.4-1.2-6.6-1.6-2.2-0.4-4.4-0.6-6.8-0.6-2.2 0-4.6 0.2-6.8 0.6-2.2 0.4-4.4 0.8-6.6 1.6-2.2 0.6-4.2 1.6-6.2 2.6s-4 2.2-5.8 3.4c-1.8 1.2-3.6 2.8-5.2 4.2-1.6 1.6-3.2 3.2-4.6 5-1.4 1.8-2.6 3.6-3.8 5.6-1.2 2-2 4-2.8 6.2L16.6 818c-0.4 1.4-1 2.8-1.2 4.2-0.4 1.4-0.6 2.8-0.8 4.4-0.2 1.4-0.4 3-0.4 4.4v4.4c0 1.4 0.2 3 0.4 4.4 0.2 1.4 0.4 2.8 0.8 4.4l1.2 4.2c0.4 1.4 1 2.8 1.6 4 0.6 1.4 1.2 2.6 2 3.8l2.4 3.6c0.8 1.2 1.8 2.4 2.8 3.4 1 1 2 2.2 3 3.2s2.2 2 3.4 2.8c1.2 0.8 2.4 1.8 3.6 2.4 1.2 0.8 2.6 1.4 3.8 2.2 1.4 0.6 2.6 1.2 4 1.8 1.4 0.6 2.8 1 4.2 1.4 1.4 0.4 2.8 0.6 4.2 1 1.4 0.2 2.8 0.4 4.4 0.6 1.4 0 3 0.2 4.4 0 1.4 0 2.8-0.2 4.4-0.4 1.4-0.2 2.8-0.4 4.2-0.8l4.2-1.2c1.4-0.4 2.8-1 4-1.6 1.4-0.6 2.6-1.2 3.8-2l3.6-2.4c1.2-0.8 2.4-1.8 3.4-2.8 1-1 2.2-2 3.2-3s2-2.2 2.8-3.4c0.8-1.2 1.8-2.4 2.6-3.6 0.8-1.2 1.4-2.6 2.2-3.8 0.6-1.4 1.2-2.6 1.8-4L174 652.2c0.2-0.8 0.8-1.4 1.4-2 0.6-0.4 1.4-0.8 2.4-0.8h249c0.8 0 1.6 0.2 2.4 0.8 0.6 0.4 1.2 1.2 1.4 2l73.4 197.4c0.6 1.4 1.2 2.8 1.8 4 0.6 1.4 1.4 2.6 2.2 3.8 0.8 1.2 1.6 2.4 2.6 3.6 0.8 1.2 1.8 2.2 2.8 3.4 1 1 2 2 3.2 3s2.2 1.8 3.4 2.8l3.6 2.4c1.2 0.8 2.6 1.4 3.8 2 1.4 0.6 2.6 1.2 4 1.6l4.2 1.2c1.4 0.4 2.8 0.6 4.2 0.8 1.4 0.2 2.8 0.4 4.4 0.4h4.4c1.4 0 2.8-0.2 4.4-0.6s2.8-0.6 4.2-1c1.4-0.4 2.8-0.8 4.2-1.4 1.4-0.6 2.6-1 4-1.8 1.4-0.6 2.6-1.4 3.8-2.2l3.6-2.4c1.2-0.8 2.2-1.8 3.4-2.8 1-1 2-2 3-3.2 1-1 1.8-2.2 2.8-3.4l2.4-3.6c0.8-1.2 1.4-2.6 2-3.8 0.6-1.4 1.2-2.6 1.6-4l1.2-4.2c0.4-1.4 0.6-2.8 0.8-4.4 0.2-1.4 0.4-3 0.4-4.4v-4.4c0-1.4-0.2-3-0.4-4.4-0.2-1.4-0.6-2.8-0.8-4.4-1-1.4-1.4-2.8-2-4.2z",
|
@@ -499,10 +572,14 @@ var TxtIcon = React29__default.default.forwardRef(
|
|
499
572
|
);
|
500
573
|
TxtIcon.displayName = "Txt";
|
501
574
|
var txt_default = TxtIcon;
|
502
|
-
|
575
|
+
|
576
|
+
// src/assets/java.tsx
|
577
|
+
var import_react13 = __toESM(require("react"), 1);
|
578
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
579
|
+
var JavaIcon = import_react13.default.forwardRef(
|
503
580
|
(_a, ref) => {
|
504
581
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
505
|
-
return /* @__PURE__ */
|
582
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
506
583
|
"svg",
|
507
584
|
__spreadProps(__spreadValues({
|
508
585
|
ref,
|
@@ -511,7 +588,7 @@ var JavaIcon = React29__default.default.forwardRef(
|
|
511
588
|
}, props), {
|
512
589
|
viewBox: "0 0 32 32",
|
513
590
|
xmlns: "http://www.w3.org/2000/svg",
|
514
|
-
children: /* @__PURE__ */
|
591
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
515
592
|
"path",
|
516
593
|
{
|
517
594
|
d: "M4 26h24v2H4zM28 4H7a1 1 0 0 0-1 1v13a4 4 0 0 0 4 4h10a4 4 0 0 0 4-4v-4h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 8h-4V6h4Z",
|
@@ -526,10 +603,14 @@ var JavaIcon = React29__default.default.forwardRef(
|
|
526
603
|
);
|
527
604
|
JavaIcon.displayName = "Java";
|
528
605
|
var java_default = JavaIcon;
|
529
|
-
|
606
|
+
|
607
|
+
// src/assets/sql.tsx
|
608
|
+
var import_react14 = __toESM(require("react"), 1);
|
609
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
610
|
+
var SQLIcon = import_react14.default.forwardRef(
|
530
611
|
(_a, ref) => {
|
531
612
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
532
|
-
return /* @__PURE__ */
|
613
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
533
614
|
"svg",
|
534
615
|
__spreadProps(__spreadValues({
|
535
616
|
ref,
|
@@ -539,7 +620,7 @@ var SQLIcon = React29__default.default.forwardRef(
|
|
539
620
|
viewBox: "0 0 1024 1024",
|
540
621
|
xmlns: "http://www.w3.org/2000/svg",
|
541
622
|
children: [
|
542
|
-
/* @__PURE__ */
|
623
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
543
624
|
"path",
|
544
625
|
{
|
545
626
|
d: "M477.12 858.56l14.72-16.64a77.44 77.44 0 0 0 54.08 24c25.6 0 40.96-12.8 40.96-32s-14.08-26.56-32-34.88l-28.48-12.16a52.16 52.16 0 0 1 22.08-101.76 79.36 79.36 0 0 1 57.28 24l-12.8 15.68a64 64 0 0 0-44.48-18.24c-22.08 0-36.48 11.2-36.48 28.8s16.96 25.92 32 32l28.16 12.16A54.08 54.08 0 0 1 611.84 832a58.88 58.88 0 0 1-66.24 55.36 93.76 93.76 0 0 1-68.48-28.8zM810.24 928a96 96 0 0 1-28.16 4.16 74.24 74.24 0 0 1-71.68-46.4c-42.56-4.8-70.4-42.56-70.4-99.84 0-62.4 34.56-100.48 83.52-100.48s83.2 38.08 83.2 100.48c0 56.32-27.52 93.44-68.8 100.8a50.24 50.24 0 0 0 47.68 25.92 68.8 68.8 0 0 0 20.8-2.88z m-87.68-61.44c34.88 0 57.92-32 57.92-81.6s-23.04-79.04-57.92-79.04-58.24 30.08-58.24 79.04 23.04 82.56 58.24 82.56zM848 688.96h24.64V864h85.44v21.12H848zM444.16 377.28c-192 0-387.2-52.8-387.2-153.92s194.56-154.24 387.2-154.24S832 121.92 832 224s-195.52 153.28-387.84 153.28z m0-244.16C234.88 133.12 120.96 192 120.96 224s113.92 89.92 323.2 89.92S768 253.76 768 224s-114.88-90.88-323.84-90.88z",
|
@@ -547,7 +628,7 @@ var SQLIcon = React29__default.default.forwardRef(
|
|
547
628
|
fill: themeSvgIconColor
|
548
629
|
}
|
549
630
|
),
|
550
|
-
/* @__PURE__ */
|
631
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
551
632
|
"path",
|
552
633
|
{
|
553
634
|
d: "M444.16 554.88c-192 0-387.2-52.8-387.2-154.24a32 32 0 0 1 64 0c0 32 113.92 90.24 323.2 90.24S768 431.36 768 400.64a32 32 0 1 1 64 0c0 101.44-195.52 154.24-387.84 154.24zM444.16 732.48c-192 0-387.2-53.12-387.2-154.24a32 32 0 0 1 64 0c0 32 113.92 90.24 323.2 90.24a32 32 0 1 1 0 64zM444.16 932.16c-192 0-387.2-52.8-387.2-153.92a32 32 0 0 1 64 0c0 30.4 113.92 89.92 323.2 89.92a32 32 0 0 1 0 64z",
|
@@ -555,7 +636,7 @@ var SQLIcon = React29__default.default.forwardRef(
|
|
555
636
|
fill: themeSvgIconColor
|
556
637
|
}
|
557
638
|
),
|
558
|
-
/* @__PURE__ */
|
639
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
559
640
|
"path",
|
560
641
|
{
|
561
642
|
d: "M800 699.2a32 32 0 0 1-32-32V234.24a32 32 0 0 1 64 0v432.96a32 32 0 0 1-32 32zM88.96 821.12a32 32 0 0 1-32-32V234.24a32 32 0 0 1 64 0v554.88a32 32 0 0 1-32 32z",
|
@@ -570,10 +651,14 @@ var SQLIcon = React29__default.default.forwardRef(
|
|
570
651
|
);
|
571
652
|
SQLIcon.displayName = "SQL";
|
572
653
|
var sql_default = SQLIcon;
|
573
|
-
|
654
|
+
|
655
|
+
// src/assets/log.tsx
|
656
|
+
var import_react15 = __toESM(require("react"), 1);
|
657
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
658
|
+
var LogIcon = import_react15.default.forwardRef(
|
574
659
|
(_a, ref) => {
|
575
660
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
576
|
-
return /* @__PURE__ */
|
661
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
577
662
|
"svg",
|
578
663
|
__spreadProps(__spreadValues({
|
579
664
|
ref,
|
@@ -583,7 +668,7 @@ var LogIcon = React29__default.default.forwardRef(
|
|
583
668
|
viewBox: "0 0 1024 1024",
|
584
669
|
xmlns: "http://www.w3.org/2000/svg",
|
585
670
|
children: [
|
586
|
-
/* @__PURE__ */
|
671
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
587
672
|
"path",
|
588
673
|
{
|
589
674
|
d: "M568.896 910.208h-512V113.792h739.52V512h-56.832V170.688H113.792v682.624H512z",
|
@@ -591,7 +676,7 @@ var LogIcon = React29__default.default.forwardRef(
|
|
591
676
|
"p-id": "12257"
|
592
677
|
}
|
593
678
|
),
|
594
|
-
/* @__PURE__ */
|
679
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
595
680
|
"path",
|
596
681
|
{
|
597
682
|
d: "M711.104 512c108.096 0 199.104 91.008 199.104 199.104 0 108.096-91.008 199.104-199.04 199.104C602.944 910.208 512 819.2 512 711.168 512 602.944 603.008 512 711.104 512m0-56.896c-142.208 0-256 113.792-256 256s113.792 256 256 256 256-113.792 256-256-113.792-256-256-256zM227.584 56.96h56.832v170.688h-56.832V56.896z m341.312 0h56.896v170.688h-56.96V56.896zM170.688 341.312h512v56.96h-512v-56.96z m0 170.688H455.04v56.896H170.688V512z m0 170.688h227.52v56.896H170.688v-56.96z",
|
@@ -599,7 +684,7 @@ var LogIcon = React29__default.default.forwardRef(
|
|
599
684
|
"p-id": "12258"
|
600
685
|
}
|
601
686
|
),
|
602
|
-
/* @__PURE__ */
|
687
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("path", { d: "M853.312 796.416h-170.624V568.96h56.896v170.688h113.728z", fill: themeSvgIconColor, "p-id": "12259" })
|
603
688
|
]
|
604
689
|
})
|
605
690
|
);
|
@@ -607,10 +692,14 @@ var LogIcon = React29__default.default.forwardRef(
|
|
607
692
|
);
|
608
693
|
LogIcon.displayName = "Log";
|
609
694
|
var log_default = LogIcon;
|
610
|
-
|
695
|
+
|
696
|
+
// src/assets/mac.tsx
|
697
|
+
var import_react16 = __toESM(require("react"), 1);
|
698
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
699
|
+
var MACIcon = import_react16.default.forwardRef(
|
611
700
|
(_a, ref) => {
|
612
701
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
613
|
-
return /* @__PURE__ */
|
702
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
614
703
|
"svg",
|
615
704
|
__spreadProps(__spreadValues({
|
616
705
|
ref,
|
@@ -619,7 +708,7 @@ var MACIcon = React29__default.default.forwardRef(
|
|
619
708
|
}, props), {
|
620
709
|
viewBox: "0 0 24 24",
|
621
710
|
xmlns: "http://www.w3.org/2000/svg",
|
622
|
-
children: /* @__PURE__ */
|
711
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
623
712
|
"path",
|
624
713
|
{
|
625
714
|
d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",
|
@@ -634,10 +723,14 @@ var MACIcon = React29__default.default.forwardRef(
|
|
634
723
|
);
|
635
724
|
MACIcon.displayName = "MAC";
|
636
725
|
var mac_default = MACIcon;
|
637
|
-
|
726
|
+
|
727
|
+
// src/assets/bitcoin.tsx
|
728
|
+
var import_react17 = __toESM(require("react"), 1);
|
729
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
730
|
+
var BitcoinIcon = import_react17.default.forwardRef(
|
638
731
|
(_a, ref) => {
|
639
732
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
640
|
-
return /* @__PURE__ */
|
733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
641
734
|
"svg",
|
642
735
|
__spreadProps(__spreadValues({
|
643
736
|
ref,
|
@@ -646,7 +739,7 @@ var BitcoinIcon = React29__default.default.forwardRef(
|
|
646
739
|
}, props), {
|
647
740
|
viewBox: "0 0 24 24",
|
648
741
|
xmlns: "http://www.w3.org/2000/svg",
|
649
|
-
children: /* @__PURE__ */
|
742
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
650
743
|
"path",
|
651
744
|
{
|
652
745
|
d: "M23.638 14.904c-1.602 6.43-8.113 10.34-14.542 8.736C2.67 22.05-1.244 15.525.362 9.105 1.962 2.67 8.475-1.243 14.9.358c6.43 1.605 10.342 8.115 8.738 14.548v-.002zm-6.35-4.613c.24-1.59-.974-2.45-2.64-3.03l.54-2.153-1.315-.33-.525 2.107c-.345-.087-.705-.167-1.064-.25l.526-2.127-1.32-.33-.54 2.165c-.285-.067-.565-.132-.84-.2l-1.815-.45-.35 1.407s.975.225.955.236c.535.136.63.486.615.766l-1.477 5.92c-.075.166-.24.406-.614.314.015.02-.96-.24-.96-.24l-.66 1.51 1.71.426.93.242-.54 2.19 1.32.327.54-2.17c.36.1.705.19 1.05.273l-.51 2.154 1.32.33.545-2.19c2.24.427 3.93.257 4.64-1.774.57-1.637-.03-2.58-1.217-3.196.854-.193 1.5-.76 1.68-1.93h.01zm-3.01 4.22c-.404 1.64-3.157.75-4.05.53l.72-2.9c.896.23 3.757.67 3.33 2.37zm.41-4.24c-.37 1.49-2.662.735-3.405.55l.654-2.64c.744.18 3.137.524 2.75 2.084v.006z",
|
@@ -661,10 +754,14 @@ var BitcoinIcon = React29__default.default.forwardRef(
|
|
661
754
|
);
|
662
755
|
BitcoinIcon.displayName = "BTC";
|
663
756
|
var bitcoin_default = BitcoinIcon;
|
664
|
-
|
757
|
+
|
758
|
+
// src/assets/css.tsx
|
759
|
+
var import_react18 = __toESM(require("react"), 1);
|
760
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
761
|
+
var CSSIcon = import_react18.default.forwardRef(
|
665
762
|
(_a, ref) => {
|
666
763
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
667
|
-
return /* @__PURE__ */
|
764
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
668
765
|
"svg",
|
669
766
|
__spreadProps(__spreadValues({
|
670
767
|
ref,
|
@@ -673,7 +770,7 @@ var CSSIcon = React29__default.default.forwardRef(
|
|
673
770
|
}, props), {
|
674
771
|
viewBox: "0 0 32 32",
|
675
772
|
xmlns: "http://www.w3.org/2000/svg",
|
676
|
-
children: /* @__PURE__ */
|
773
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
677
774
|
"path",
|
678
775
|
{
|
679
776
|
fill: themeSvgIconColor,
|
@@ -686,11 +783,15 @@ var CSSIcon = React29__default.default.forwardRef(
|
|
686
783
|
);
|
687
784
|
CSSIcon.displayName = "CSS";
|
688
785
|
var css_default = CSSIcon;
|
689
|
-
|
786
|
+
|
787
|
+
// src/assets/mermaid.tsx
|
788
|
+
var import_react19 = __toESM(require("react"), 1);
|
789
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
790
|
+
var MermaidIcon = import_react19.default.forwardRef(
|
690
791
|
// Memmaid need special size for good view
|
691
792
|
(_a, ref) => {
|
692
793
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
693
|
-
return /* @__PURE__ */
|
794
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
694
795
|
"svg",
|
695
796
|
__spreadProps(__spreadValues({
|
696
797
|
ref,
|
@@ -699,7 +800,7 @@ var MermaidIcon = React29__default.default.forwardRef(
|
|
699
800
|
}, props), {
|
700
801
|
viewBox: "0 0 24 24",
|
701
802
|
xmlns: "http://www.w3.org/2000/svg",
|
702
|
-
children: /* @__PURE__ */
|
803
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
703
804
|
"path",
|
704
805
|
{
|
705
806
|
d: "M23.99 2.115A12.223 12.223 0 0 0 12 10.149 12.223 12.223 0 0 0 .01 2.115a12.23 12.23 0 0 0 5.32 10.604 6.562 6.562 0 0 1 2.845 5.423v3.754h7.65v-3.754a6.561 6.561 0 0 1 2.844-5.423 12.223 12.223 0 0 0 5.32-10.604Z",
|
@@ -714,10 +815,14 @@ var MermaidIcon = React29__default.default.forwardRef(
|
|
714
815
|
);
|
715
816
|
MermaidIcon.displayName = "Mmd";
|
716
817
|
var mermaid_default = MermaidIcon;
|
717
|
-
|
818
|
+
|
819
|
+
// src/assets/last-updated.tsx
|
820
|
+
var import_react20 = __toESM(require("react"), 1);
|
821
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
822
|
+
var LastUpdatedIcon = import_react20.default.forwardRef(
|
718
823
|
(_a, ref) => {
|
719
824
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
720
|
-
return /* @__PURE__ */
|
825
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
721
826
|
"svg",
|
722
827
|
__spreadProps(__spreadValues({
|
723
828
|
ref,
|
@@ -726,7 +831,7 @@ var LastUpdatedIcon = React29__default.default.forwardRef(
|
|
726
831
|
}, props), {
|
727
832
|
viewBox: "0 0 1024 1024",
|
728
833
|
xmlns: "http://www.w3.org/2000/svg",
|
729
|
-
children: /* @__PURE__ */
|
834
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
730
835
|
"path",
|
731
836
|
{
|
732
837
|
d: "M918.362566 956.685895 106.992291 956.685895c-14.145162 0-25.611308-11.466146-25.611308-25.611308L81.380984 191.053314c0-14.145162 11.467169-25.611308 25.611308-25.611308l811.370275 0c14.145162 0 25.611308 11.467169 25.611308 25.611308l0 740.02025C943.974897 945.219749 932.508751 956.685895 918.362566 956.685895zM132.603599 905.462257l760.146637 0L892.750235 216.665645 132.603599 216.665645 132.603599 905.462257zM915.696854 410.394904 109.450273 410.394904c-14.145162 0-25.611308-11.467169-25.611308-25.611308s11.467169-25.611308 25.611308-25.611308l806.246581 0c14.145162 0 25.611308 11.467169 25.611308 25.611308S929.842015 410.394904 915.696854 410.394904zM248.987283 313.735447c-14.145162 0-25.611308-11.467169-25.611308-25.611308L223.375975 91.962481c0-14.145162 11.467169-25.611308 25.611308-25.611308s25.611308 11.467169 25.611308 25.611308l0 196.160635C274.59859 302.269301 263.132444 313.735447 248.987283 313.735447zM786.915815 313.735447c-14.145162 0-25.611308-11.467169-25.611308-25.611308L761.304508 91.962481c0-14.145162 11.466146-25.611308 25.611308-25.611308s25.611308 11.467169 25.611308 25.611308l0 196.160635C812.527123 302.269301 801.060977 313.735447 786.915815 313.735447zM378.463146 832.067666c-4.732791 0-9.406231-1.641383-13.156648-4.787026-5.810333-4.874007-8.448416-12.56006-6.856152-19.97596l21.574365-100.484575c0.699941-3.261277 2.186805-6.30152 4.329609-8.856715l173.234483-206.507284c3.488451-4.158716 8.486278-6.760984 13.893428-7.234775 5.392824-0.473791 10.779507 1.219781 14.939247 4.709255l73.627904 61.765739c8.66024 7.264451 9.790994 20.173458 2.526543 28.832675L489.341443 786.03526c-2.143826 2.555196-4.880147 4.548596-7.969509 5.805216l-95.201246 38.71986C383.679961 831.573409 381.062344 832.067666 378.463146 832.067666zM418.978908 720.378911l-12.386098 57.68684 54.653761-22.228257 156.816558-186.93553-42.268686-35.458583L418.978908 720.378911zM483.354078 781.820262c-6.737448 0.001023-13.334703-3.322675-17.244756-9.414417l-23.737634-36.991496-40.554648-16.944927c-10.429537-4.358261-15.35164-16.34527-10.994402-26.774807 4.357238-10.42749 16.343223-15.350616 26.774807-10.993378l46.442752 19.404955c3.834328 1.601474 7.090489 4.333702 9.334599 7.830339l27.183106 42.361807c6.105045 9.513678 3.342118 22.174022-6.17156 28.278043C490.967476 780.771373 487.137241 781.820262 483.354078 781.820262zM601.041454 641.489166c-4.641717 0-9.307993-1.569752-13.143345-4.787026l-73.625858-61.765739c-8.659217-7.264451-9.78997-20.173458-2.52552-28.833699 7.263427-8.659217 20.171412-9.78997 28.833699-2.52552l73.625858 61.765739c8.659217 7.264451 9.78997 20.173458 2.52552 28.833699C612.683609 639.001509 606.882486 641.489166 601.041454 641.489166z",
|
@@ -740,10 +845,14 @@ var LastUpdatedIcon = React29__default.default.forwardRef(
|
|
740
845
|
);
|
741
846
|
LastUpdatedIcon.displayName = "LastUpdated";
|
742
847
|
var last_updated_default = LastUpdatedIcon;
|
743
|
-
|
848
|
+
|
849
|
+
// src/assets/snippets.tsx
|
850
|
+
var import_react21 = __toESM(require("react"), 1);
|
851
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
852
|
+
var SnippetsIcon = import_react21.default.forwardRef(
|
744
853
|
(_a, ref) => {
|
745
854
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
746
|
-
return /* @__PURE__ */
|
855
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
747
856
|
"svg",
|
748
857
|
__spreadProps(__spreadValues({
|
749
858
|
ref,
|
@@ -752,7 +861,7 @@ var SnippetsIcon = React29__default.default.forwardRef(
|
|
752
861
|
}, props), {
|
753
862
|
viewBox: "0 0 24 24",
|
754
863
|
xmlns: "http://www.w3.org/2000/svg",
|
755
|
-
children: /* @__PURE__ */
|
864
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
756
865
|
"path",
|
757
866
|
{
|
758
867
|
d: "M9.825 17.527a.111.111 0 0 1-.107-.142l3.05-10.837a.111.111 0 0 1 .108-.081H14.2c.074 0 .127.07.107.141l-3.063 10.838a.111.111 0 0 1-.107.08H9.825Zm-2.146-2.732a.11.11 0 0 1-.079-.033l-2.667-2.704a.111.111 0 0 1 0-.156L7.6 9.211a.111.111 0 0 1 .08-.033h1.702c.1 0 .149.12.079.19l-2.534 2.534a.111.111 0 0 0 0 .157l2.535 2.546c.07.07.02.19-.079.19H7.68Zm6.954 0a.111.111 0 0 1-.079-.19l2.525-2.546a.111.111 0 0 0 0-.157l-2.524-2.535a.111.111 0 0 1 .079-.19h1.692c.03 0 .058.013.078.034l2.68 2.69a.111.111 0 0 1 0 .157l-2.68 2.704a.111.111 0 0 1-.078.033h-1.693ZM12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12Zm0-22.667C6.118 1.333 1.333 6.118 1.333 12S6.118 22.667 12 22.667 22.667 17.882 22.667 12 17.882 1.333 12 1.333Z",
|
@@ -765,10 +874,14 @@ var SnippetsIcon = React29__default.default.forwardRef(
|
|
765
874
|
);
|
766
875
|
SnippetsIcon.displayName = "Snippets";
|
767
876
|
var snippets_default = SnippetsIcon;
|
768
|
-
|
877
|
+
|
878
|
+
// src/assets/test.tsx
|
879
|
+
var import_react22 = __toESM(require("react"), 1);
|
880
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
881
|
+
var TestIcon = import_react22.default.forwardRef(
|
769
882
|
(_a, ref) => {
|
770
883
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
771
|
-
return /* @__PURE__ */
|
884
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
772
885
|
"svg",
|
773
886
|
__spreadProps(__spreadValues({
|
774
887
|
ref,
|
@@ -777,7 +890,7 @@ var TestIcon = React29__default.default.forwardRef(
|
|
777
890
|
}, props), {
|
778
891
|
viewBox: "0 0 1024 1024",
|
779
892
|
xmlns: "http://www.w3.org/2000/svg",
|
780
|
-
children: /* @__PURE__ */
|
893
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
781
894
|
"path",
|
782
895
|
{
|
783
896
|
d: "M640 126.577778c-140.8 0-256 115.2-256 256 0 65.422222 25.6 125.155556 65.422222 170.666666l-91.022222 91.022223-35.555556-35.555556-174.933333 176.355556c-25.6 25.6-25.6 68.266667 0 93.866666 25.6 25.6 68.266667 25.6 93.866667 0l176.355555-176.355555-38.4-38.4 91.022223-91.022222c45.511111 41.244444 105.244444 65.422222 170.666666 65.422222 140.8 0 256-115.2 256-256-1.422222-142.222222-116.622222-256-257.422222-256z m19.911111 462.222222c-41.244444 0-75.377778-34.133333-75.377778-75.377778v-4.266666c0-8.533333 5.688889-14.222222 14.222223-14.222223s14.222222 5.688889 14.222222 14.222223v4.266666c0 25.6 21.333333 46.933333 46.933333 46.933334 8.533333 0 14.222222 5.688889 14.222222 14.222222s-5.688889 14.222222-14.222222 14.222222zM817.777778 341.333333h-58.311111c-2.844444 12.8-7.111111 24.177778-14.222223 35.555556l41.244445 41.244444c5.688889 5.688889 5.688889 14.222222 0 19.911111-2.844444 2.844444-7.111111 4.266667-9.955556 4.266667-2.844444 0-7.111111-1.422222-9.955555-4.266667L725.333333 396.8c-14.222222 9.955556-31.288889 15.644444-49.777777 15.644444-18.488889 0-35.555556-5.688889-49.777778-15.644444l-41.244445 41.244444c-2.844444 2.844444-7.111111 4.266667-9.955555 4.266667-2.844444 0-7.111111-1.422222-9.955556-4.266667-5.688889-5.688889-5.688889-14.222222 0-19.911111l41.244445-41.244444c-7.111111-9.955556-12.8-22.755556-14.222223-35.555556h-58.311111c-8.533333 0-14.222222-5.688889-14.222222-14.222222s5.688889-14.222222 14.222222-14.222222h58.311111c2.844444-12.8 7.111111-24.177778 14.222223-35.555556l-41.244445-41.244444c-5.688889-5.688889-5.688889-14.222222 0-19.911111 5.688889-5.688889 14.222222-5.688889 19.911111 0l41.244445 41.244444c14.222222-9.955556 31.288889-15.644444 49.777778-15.644444 18.488889 0 35.555556 5.688889 49.777777 15.644444l41.244445-41.244444c5.688889-5.688889 14.222222-5.688889 19.911111 0 5.688889 5.688889 5.688889 14.222222 0 19.911111l-41.244445 41.244444c7.111111 9.955556 12.8 22.755556 14.222223 35.555556h58.311111c8.533333 0 14.222222 5.688889 14.222222 14.222222s-5.688889 14.222222-14.222222 14.222222z",
|
@@ -791,10 +904,14 @@ var TestIcon = React29__default.default.forwardRef(
|
|
791
904
|
);
|
792
905
|
TestIcon.displayName = "Test";
|
793
906
|
var test_default = TestIcon;
|
794
|
-
|
907
|
+
|
908
|
+
// src/assets/diff.tsx
|
909
|
+
var import_react23 = __toESM(require("react"), 1);
|
910
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
911
|
+
var DiffIcon = import_react23.default.forwardRef(
|
795
912
|
(_a, ref) => {
|
796
913
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
797
|
-
return /* @__PURE__ */
|
914
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
798
915
|
"svg",
|
799
916
|
__spreadProps(__spreadValues({
|
800
917
|
ref,
|
@@ -804,8 +921,8 @@ var DiffIcon = React29__default.default.forwardRef(
|
|
804
921
|
viewBox: "0 0 24 24",
|
805
922
|
xmlns: "http://www.w3.org/2000/svg",
|
806
923
|
children: [
|
807
|
-
/* @__PURE__ */
|
808
|
-
/* @__PURE__ */
|
924
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("path", { d: "M0 0h24v24H0z", fill: "none" }),
|
925
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
809
926
|
"path",
|
810
927
|
{
|
811
928
|
fill: themeSvgIconColor,
|
@@ -819,10 +936,14 @@ var DiffIcon = React29__default.default.forwardRef(
|
|
819
936
|
);
|
820
937
|
DiffIcon.displayName = "Diff";
|
821
938
|
var diff_default = DiffIcon;
|
822
|
-
|
939
|
+
|
940
|
+
// src/assets/dpa.tsx
|
941
|
+
var import_react24 = __toESM(require("react"), 1);
|
942
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
943
|
+
var DPAIcon = import_react24.default.forwardRef(
|
823
944
|
(_a, ref) => {
|
824
945
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
825
|
-
return /* @__PURE__ */
|
946
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
826
947
|
"svg",
|
827
948
|
__spreadProps(__spreadValues({
|
828
949
|
ref,
|
@@ -831,7 +952,7 @@ var DPAIcon = React29__default.default.forwardRef(
|
|
831
952
|
}, props), {
|
832
953
|
viewBox: "0 0 24 24",
|
833
954
|
xmlns: "http://www.w3.org/2000/svg",
|
834
|
-
children: /* @__PURE__ */
|
955
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
835
956
|
"path",
|
836
957
|
{
|
837
958
|
d: "M23.373 20.364a4.682 4.682 0 0 1-8.1 0 4.694 4.694 0 0 1 0-4.669c.326-.564.778-.995 1.272-1.358.472.198 3.394 1.421 3.917 1.717a2.291 2.291 0 0 0-3.109.842 2.304 2.304 0 0 0 0 2.267 2.267 2.267 0 0 0 2.564 1.053 2.254 2.254 0 0 0 1.375-1.053 2.328 2.328 0 0 0 0-2.279 2.478 2.478 0 0 0-.83-.83l-3.53-2.045-5.727-3.317a5.022 5.022 0 0 0 4.139-.36l6.32 3.641a4.682 4.682 0 0 1 1.709 6.391zm-14-2.01v.004l-3.558 2a2.27 2.27 0 0 1-3.102-.823 2.267 2.267 0 0 1 2.551-3.332c.591.161 1.089.56 1.375 1.102v-.05a2.27 2.27 0 0 1-.824 3.103c.559-.303 3.352-2.62 3.465-2.714-.304-1.744-1.573-3.24-3.396-3.72a4.608 4.608 0 0 0-3.558.479 4.67 4.67 0 0 0-1.694 6.383 4.682 4.682 0 0 0 2.865 2.192 4.657 4.657 0 0 0 3.66-.56l6.877-3.973c-.019-1.303.512-2.604 1.375-3.58l-6.036 3.49zm-2.4-4.703v-8.1h.012c.002-1.617.821-3.189 2.321-4.055a4.682 4.682 0 1 1 2.337 8.737 4.678 4.678 0 0 1-1.55-.28c-.016-.085-.733-3.796-.733-4.188L9.29 9.59v6.761a4.075 4.075 0 0 0-2.317-2.7zm2.403-8.1a2.279 2.279 0 1 0 4.546 0 2.23 2.23 0 0 0-.297-1.127 2.279 2.279 0 0 0-1.97-1.14 2.267 2.267 0 0 0-2.279 2.254v.013z",
|
@@ -844,10 +965,14 @@ var DPAIcon = React29__default.default.forwardRef(
|
|
844
965
|
);
|
845
966
|
DPAIcon.displayName = "DPA";
|
846
967
|
var dpa_default = DPAIcon;
|
847
|
-
|
968
|
+
|
969
|
+
// src/assets/subp.tsx
|
970
|
+
var import_react25 = __toESM(require("react"), 1);
|
971
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
972
|
+
var SubPIcon = import_react25.default.forwardRef(
|
848
973
|
(_a, ref) => {
|
849
974
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
850
|
-
return /* @__PURE__ */
|
975
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
851
976
|
"svg",
|
852
977
|
__spreadProps(__spreadValues({
|
853
978
|
ref,
|
@@ -856,7 +981,7 @@ var SubPIcon = React29__default.default.forwardRef(
|
|
856
981
|
}, props), {
|
857
982
|
viewBox: "0 0 24 24",
|
858
983
|
xmlns: "http://www.w3.org/2000/svg",
|
859
|
-
children: /* @__PURE__ */
|
984
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
860
985
|
"path",
|
861
986
|
{
|
862
987
|
d: "M11.999 0a12 12 0 100 24A12 12 0 0012 0zm1.183 5.255h.048c3.273 0 5.247 1.48 5.247 4.103 0 2.727-1.974 4.536-5.295 4.669v-1.742c1.837-.11 2.801-1.061 2.801-2.744 0-1.498-.957-2.442-2.8-2.516zm-1.773.026l.005 11.896c.779.052 1.583.18 2.26.337l-.269 1.324H6.788v-1.324a14.96 14.96 0 012.26-.337V6.993a14.71 14.71 0 01-2.26-.337V5.33h2.26c.64 0 1.469-.028 2.361-.05z",
|
@@ -871,10 +996,14 @@ var SubPIcon = React29__default.default.forwardRef(
|
|
871
996
|
);
|
872
997
|
SubPIcon.displayName = "SubP";
|
873
998
|
var subp_default = SubPIcon;
|
874
|
-
|
999
|
+
|
1000
|
+
// src/assets/t3p.tsx
|
1001
|
+
var import_react26 = __toESM(require("react"), 1);
|
1002
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
1003
|
+
var T3PIcon = import_react26.default.forwardRef(
|
875
1004
|
(_a, ref) => {
|
876
1005
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
877
|
-
return /* @__PURE__ */
|
1006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
878
1007
|
"svg",
|
879
1008
|
__spreadProps(__spreadValues({
|
880
1009
|
ref,
|
@@ -883,7 +1012,7 @@ var T3PIcon = React29__default.default.forwardRef(
|
|
883
1012
|
}, props), {
|
884
1013
|
viewBox: "0 0 24 24",
|
885
1014
|
xmlns: "http://www.w3.org/2000/svg",
|
886
|
-
children: /* @__PURE__ */
|
1015
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
887
1016
|
"path",
|
888
1017
|
{
|
889
1018
|
d: "M9.71 2.136a1.43 1.43 0 0 0-2.047 0h-.007a1.48 1.48 0 0 0-.421 1.042c0 .41.161.777.422 1.039l.007.007c.257.264.616.426 1.019.426.404 0 .766-.162 1.027-.426l.003-.007c.261-.262.421-.629.421-1.039 0-.408-.159-.777-.421-1.042H9.71zM8.683 22.295c.404 0 .766-.167 1.027-.429l.003-.008c.261-.261.421-.631.421-1.036 0-.41-.159-.778-.421-1.044H9.71a1.42 1.42 0 0 0-1.027-.432 1.4 1.4 0 0 0-1.02.432h-.007c-.26.266-.422.634-.422 1.044 0 .406.161.775.422 1.036l.007.008c.258.262.617.429 1.02.429zm7.89-4.462c.359-.096.683-.33.882-.684l.027-.052a1.47 1.47 0 0 0 .114-1.067 1.454 1.454 0 0 0-.675-.896l-.021-.014a1.425 1.425 0 0 0-1.078-.132c-.36.091-.684.335-.881.686-.2.349-.241.75-.146 1.119.099.363.33.691.675.896h.002c.346.203.737.239 1.101.144zm-6.405-7.342a2.083 2.083 0 0 0-1.485-.627c-.58 0-1.103.242-1.482.627-.378.385-.612.916-.612 1.507s.233 1.124.612 1.514a2.08 2.08 0 0 0 2.967 0c.379-.39.612-.923.612-1.514s-.233-1.122-.612-1.507zm-.835-2.51c.843.141 1.6.552 2.178 1.144h.004c.092.093.182.196.265.299l1.446-.851a3.176 3.176 0 0 1-.047-1.808 3.149 3.149 0 0 1 1.456-1.926l.025-.016a3.062 3.062 0 0 1 2.345-.306c.77.21 1.465.721 1.898 1.482v.002c.431.757.518 1.626.313 2.408a3.145 3.145 0 0 1-1.456 1.928l-.198.118h-.02a3.095 3.095 0 0 1-2.154.201 3.127 3.127 0 0 1-1.514-.944l-1.444.848a4.162 4.162 0 0 1 0 2.879l1.444.846c.413-.47.939-.789 1.514-.944a3.041 3.041 0 0 1 2.371.319l.048.023v.002a3.17 3.17 0 0 1 1.408 1.906 3.215 3.215 0 0 1-.313 2.405l-.026.053-.003-.005a3.147 3.147 0 0 1-1.867 1.436 3.096 3.096 0 0 1-2.371-.318v-.006a3.156 3.156 0 0 1-1.456-1.927 3.175 3.175 0 0 1 .047-1.805l-1.446-.848a3.905 3.905 0 0 1-.265.294l-.004.005a3.938 3.938 0 0 1-2.178 1.138v1.699a3.09 3.09 0 0 1 1.56.862l.002.004c.565.572.914 1.368.914 2.243 0 .873-.35 1.664-.914 2.239l-.002.009a3.1 3.1 0 0 1-2.21.931 3.1 3.1 0 0 1-2.206-.93h-.002v-.009a3.186 3.186 0 0 1-.916-2.239c0-.875.35-1.672.916-2.243v-.004h.002a3.1 3.1 0 0 1 1.558-.862v-1.699a3.926 3.926 0 0 1-2.176-1.138l-.006-.005a4.098 4.098 0 0 1-1.173-2.874c0-1.122.452-2.136 1.173-2.872h.006a3.947 3.947 0 0 1 2.176-1.144V6.289a3.137 3.137 0 0 1-1.558-.864h-.002v-.004a3.192 3.192 0 0 1-.916-2.243c0-.871.35-1.669.916-2.243l.002-.002A3.084 3.084 0 0 1 8.683 0c.861 0 1.641.355 2.21.932v.002h.002c.565.574.914 1.372.914 2.243 0 .876-.35 1.667-.914 2.243l-.002.005a3.142 3.142 0 0 1-1.56.864v1.692zm8.121-1.129l-.012-.019a1.452 1.452 0 0 0-.87-.668 1.43 1.43 0 0 0-1.103.146h.002c-.347.2-.58.529-.677.896-.095.365-.054.768.146 1.119l.007.009c.2.347.519.579.874.673.357.103.755.059 1.098-.144l.019-.009a1.47 1.47 0 0 0 .657-.885 1.493 1.493 0 0 0-.141-1.118",
|
@@ -896,10 +1025,14 @@ var T3PIcon = React29__default.default.forwardRef(
|
|
896
1025
|
);
|
897
1026
|
T3PIcon.displayName = "T3P";
|
898
1027
|
var t3p_default = T3PIcon;
|
899
|
-
|
1028
|
+
|
1029
|
+
// src/assets/http.tsx
|
1030
|
+
var import_react27 = __toESM(require("react"), 1);
|
1031
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
1032
|
+
var HttpIcon = import_react27.default.forwardRef(
|
900
1033
|
(_a, ref) => {
|
901
1034
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
902
|
-
return /* @__PURE__ */
|
1035
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
903
1036
|
"svg",
|
904
1037
|
__spreadProps(__spreadValues({
|
905
1038
|
ref,
|
@@ -908,7 +1041,7 @@ var HttpIcon = React29__default.default.forwardRef(
|
|
908
1041
|
}, props), {
|
909
1042
|
viewBox: "0 0 1024 1024",
|
910
1043
|
xmlns: "http://www.w3.org/2000/svg",
|
911
|
-
children: /* @__PURE__ */
|
1044
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
912
1045
|
"path",
|
913
1046
|
{
|
914
1047
|
d: "M400.896 704.292571v194.889143a376.795429 376.795429 0 0 1-84.845714-12.8c-21.028571-34.486857-48.384-93.732571-65.682286-182.089143h150.528z m448 8.521143v38.070857H803.108571V885.028571h-41.984v-134.144h-89.929142V885.028571h-41.984v-134.144h-45.860572v-38.034285h265.508572z m-368.347429 0v63.561143h50.395429V712.777143h41.984V885.028571h-41.984v-70.582857H480.548571v70.582857h-41.947428V712.777143h41.947428z m433.188572 0c19.456 0 32.146286 0.841143 38.509714 2.633143 10.057143 2.742857 18.505143 8.740571 25.161143 17.810286 6.729143 9.069714 10.020571 20.662857 10.020571 34.596571 0 10.715429-1.901714 19.894857-5.741714 27.428572a49.115429 49.115429 0 0 1-33.024 26.404571c-7.899429 1.645714-19.017143 2.450286-33.462857 2.450286h-14.994286V885.028571h-41.947428V712.777143h55.478857z m-691.602286-8.521143c15.579429 79.798857 39.460571 135.606857 59.465143 171.154286a377.526857 377.526857 0 0 1-198.144-171.154286h138.678857z m693.248 35.84h-25.929143v56.576h22.491429c12.946286 0 21.686857-0.914286 26.697143-2.925714a26.038857 26.038857 0 0 0 12.214857-9.984 27.757714 27.757714 0 0 0 4.388571-15.506286 26.733714 26.733714 0 0 0-6.217143-18.029714 26.697143 26.697143 0 0 0-15.652571-8.923428 114.505143 114.505143 0 0 0-17.993143-1.170286z m-514.486857-203.410285v139.629714h-155.428571a957.586286 957.586286 0 0 1-11.702858-139.629714h167.131429z m-195.108571 0a955.977143 955.977143 0 0 0 11.776 139.629714H70.107429A372.626286 372.626286 0 0 1 36.571429 536.722286h169.216z m390.217142 0a957.696 957.696 0 0 1-11.702857 139.629714h-155.428571v-139.629714h167.131428z m193.170286 0a374.930286 374.930286 0 0 1-33.389714 139.629714H612.205714a956.342857 956.342857 0 0 0 11.776-139.629714h165.193143z m-32.548571-167.570286c19.346286 42.934857 30.902857 89.965714 32.841143 139.629714h-165.376c-0.694857-52.48-5.010286-98.742857-11.556572-139.629714h144.091429z m-355.730286 0v139.629714H233.581714c0.731429-52.516571 5.12-98.742857 11.629715-139.629714h155.684571z m-183.661714 0a965.412571 965.412571 0 0 0-11.593143 139.629714H36.790857c1.828571-49.627429 13.019429-96.768 32.256-139.629714H217.234286z m367.323428 0c6.546286 40.923429 10.898286 87.113143 11.629715 139.629714h-167.350858v-139.629714h155.721143z m-34.998857-197.595429c82.651429 32.109714 150.528 92.891429 193.060572 169.691429H607.817143c-15.286857-78.189714-38.509714-133.741714-58.258286-169.691429zM428.873143 146.285714c29.696 1.316571 58.514286 5.997714 86.125714 13.750857 20.955429 35.181714 47.908571 93.952 64.987429 181.174858h-151.149715V146.285714z m-27.977143 0.036572v194.925714H249.819429c17.115429-87.771429 44.324571-146.724571 65.316571-181.833143A376.758857 376.758857 0 0 1 400.896 146.285714z m-120.100571 24.064c-19.858286 35.949714-43.410286 91.794286-58.88 170.825143H83.053714a378.404571 378.404571 0 0 1 197.741715-170.788572z",
|
@@ -922,10 +1055,14 @@ var HttpIcon = React29__default.default.forwardRef(
|
|
922
1055
|
);
|
923
1056
|
HttpIcon.displayName = "Http";
|
924
1057
|
var http_default = HttpIcon;
|
925
|
-
|
1058
|
+
|
1059
|
+
// src/assets/scheme.tsx
|
1060
|
+
var import_react28 = __toESM(require("react"), 1);
|
1061
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
1062
|
+
var SchemeIcon = import_react28.default.forwardRef(
|
926
1063
|
(_a, ref) => {
|
927
1064
|
var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
|
928
|
-
return /* @__PURE__ */
|
1065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
929
1066
|
"svg",
|
930
1067
|
__spreadProps(__spreadValues({
|
931
1068
|
ref,
|
@@ -934,7 +1071,7 @@ var SchemeIcon = React29__default.default.forwardRef(
|
|
934
1071
|
}, props), {
|
935
1072
|
viewBox: "0 0 24 24",
|
936
1073
|
xmlns: "http://www.w3.org/2000/svg",
|
937
|
-
children: /* @__PURE__ */
|
1074
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
938
1075
|
"path",
|
939
1076
|
{
|
940
1077
|
fill: themeSvgIconColor,
|
@@ -983,85 +1120,90 @@ var BUILTIN_ICON_COMPONENTS = {
|
|
983
1120
|
// ../lib/src/limited-lucide-icons.ts
|
984
1121
|
var limited_lucide_icons_exports = {};
|
985
1122
|
__export(limited_lucide_icons_exports, {
|
986
|
-
AlbumIcon: () =>
|
987
|
-
AlignHorizontalJustifyEnd: () =>
|
988
|
-
ArrowLeft: () =>
|
989
|
-
ArrowRight: () =>
|
990
|
-
ArrowUp: () =>
|
991
|
-
Binary: () =>
|
992
|
-
Blocks: () =>
|
993
|
-
BookX: () =>
|
994
|
-
BringToFront: () =>
|
995
|
-
Bug: () =>
|
996
|
-
Building2: () =>
|
997
|
-
Car: () =>
|
998
|
-
Check: () =>
|
999
|
-
ChevronDown: () =>
|
1000
|
-
ChevronLeft: () =>
|
1001
|
-
ChevronRight: () =>
|
1002
|
-
ChevronUp: () =>
|
1003
|
-
Circle: () =>
|
1004
|
-
CircleAlert: () =>
|
1005
|
-
CircleSmall: () =>
|
1006
|
-
ComponentIcon: () =>
|
1007
|
-
Cpu: () =>
|
1008
|
-
DatabaseZap: () =>
|
1009
|
-
Dot: () =>
|
1010
|
-
Download: () =>
|
1011
|
-
ExternalLink: () =>
|
1012
|
-
Eye: () =>
|
1013
|
-
Facebook: () =>
|
1014
|
-
FileLock2: () =>
|
1015
|
-
Fingerprint: () =>
|
1016
|
-
Gift: () =>
|
1017
|
-
GitPullRequestArrow: () =>
|
1018
|
-
Globe: () =>
|
1019
|
-
GlobeLock: () =>
|
1020
|
-
GripVertical: () =>
|
1021
|
-
HandHeart: () =>
|
1022
|
-
Handshake: () =>
|
1023
|
-
Highlighter: () =>
|
1024
|
-
HousePlus: () =>
|
1025
|
-
ImageDown: () =>
|
1026
|
-
ImageOff: () =>
|
1027
|
-
ImageUp: () =>
|
1028
|
-
Info: () =>
|
1029
|
-
Keyboard: () =>
|
1030
|
-
LandPlot: () =>
|
1031
|
-
Layout: () =>
|
1032
|
-
LayoutTemplate: () =>
|
1033
|
-
LibraryIcon: () =>
|
1034
|
-
Link: () =>
|
1035
|
-
Loader2: () =>
|
1036
|
-
LogIn: () =>
|
1037
|
-
LogOut: () =>
|
1038
|
-
MoreHorizontal: () =>
|
1039
|
-
MousePointerClick: () =>
|
1040
|
-
Palette: () =>
|
1041
|
-
PanelLeft: () =>
|
1042
|
-
PanelsTopLeft: () =>
|
1043
|
-
Pencil: () =>
|
1044
|
-
Pi: () =>
|
1045
|
-
ReceiptText: () =>
|
1046
|
-
Regex: () =>
|
1047
|
-
Replace: () =>
|
1048
|
-
Rss: () =>
|
1049
|
-
Scale: () =>
|
1050
|
-
Search: () =>
|
1051
|
-
Server: () =>
|
1052
|
-
Share: () =>
|
1053
|
-
ShieldUser: () =>
|
1054
|
-
Sparkles: () =>
|
1055
|
-
SplinePointer: () =>
|
1056
|
-
SquareDashedBottomCode: () =>
|
1057
|
-
SquareTerminal: () =>
|
1058
|
-
Star: () =>
|
1059
|
-
Tablets: () =>
|
1060
|
-
Terminal: () =>
|
1061
|
-
Twitter: () =>
|
1062
|
-
X: () =>
|
1063
|
-
Zap: () =>
|
1123
|
+
AlbumIcon: () => import_lucide_react.AlbumIcon,
|
1124
|
+
AlignHorizontalJustifyEnd: () => import_lucide_react.AlignHorizontalJustifyEnd,
|
1125
|
+
ArrowLeft: () => import_lucide_react.ArrowLeft,
|
1126
|
+
ArrowRight: () => import_lucide_react.ArrowRight,
|
1127
|
+
ArrowUp: () => import_lucide_react.ArrowUp,
|
1128
|
+
Binary: () => import_lucide_react.Binary,
|
1129
|
+
Blocks: () => import_lucide_react.Blocks,
|
1130
|
+
BookX: () => import_lucide_react.BookX,
|
1131
|
+
BringToFront: () => import_lucide_react.BringToFront,
|
1132
|
+
Bug: () => import_lucide_react.Bug,
|
1133
|
+
Building2: () => import_lucide_react.Building2,
|
1134
|
+
Car: () => import_lucide_react.Car,
|
1135
|
+
Check: () => import_lucide_react.Check,
|
1136
|
+
ChevronDown: () => import_lucide_react.ChevronDown,
|
1137
|
+
ChevronLeft: () => import_lucide_react.ChevronLeft,
|
1138
|
+
ChevronRight: () => import_lucide_react.ChevronRight,
|
1139
|
+
ChevronUp: () => import_lucide_react.ChevronUp,
|
1140
|
+
Circle: () => import_lucide_react.Circle,
|
1141
|
+
CircleAlert: () => import_lucide_react.CircleAlert,
|
1142
|
+
CircleSmall: () => import_lucide_react.CircleSmall,
|
1143
|
+
ComponentIcon: () => import_lucide_react.ComponentIcon,
|
1144
|
+
Cpu: () => import_lucide_react.Cpu,
|
1145
|
+
DatabaseZap: () => import_lucide_react.DatabaseZap,
|
1146
|
+
Dot: () => import_lucide_react.Dot,
|
1147
|
+
Download: () => import_lucide_react.Download,
|
1148
|
+
ExternalLink: () => import_lucide_react.ExternalLink,
|
1149
|
+
Eye: () => import_lucide_react.Eye,
|
1150
|
+
Facebook: () => import_lucide_react.Facebook,
|
1151
|
+
FileLock2: () => import_lucide_react.FileLock2,
|
1152
|
+
Fingerprint: () => import_lucide_react.Fingerprint,
|
1153
|
+
Gift: () => import_lucide_react.Gift,
|
1154
|
+
GitPullRequestArrow: () => import_lucide_react.GitPullRequestArrow,
|
1155
|
+
Globe: () => import_lucide_react.Globe,
|
1156
|
+
GlobeLock: () => import_lucide_react.GlobeLock,
|
1157
|
+
GripVertical: () => import_lucide_react.GripVertical,
|
1158
|
+
HandHeart: () => import_lucide_react.HandHeart,
|
1159
|
+
Handshake: () => import_lucide_react.Handshake,
|
1160
|
+
Highlighter: () => import_lucide_react.Highlighter,
|
1161
|
+
HousePlus: () => import_lucide_react.HousePlus,
|
1162
|
+
ImageDown: () => import_lucide_react.ImageDown,
|
1163
|
+
ImageOff: () => import_lucide_react.ImageOff,
|
1164
|
+
ImageUp: () => import_lucide_react.ImageUp,
|
1165
|
+
Info: () => import_lucide_react.Info,
|
1166
|
+
Keyboard: () => import_lucide_react.Keyboard,
|
1167
|
+
LandPlot: () => import_lucide_react.LandPlot,
|
1168
|
+
Layout: () => import_lucide_react.Layout,
|
1169
|
+
LayoutTemplate: () => import_lucide_react.LayoutTemplate,
|
1170
|
+
LibraryIcon: () => import_lucide_react.LibraryIcon,
|
1171
|
+
Link: () => import_lucide_react.Link,
|
1172
|
+
Loader2: () => import_lucide_react.Loader2,
|
1173
|
+
LogIn: () => import_lucide_react.LogIn,
|
1174
|
+
LogOut: () => import_lucide_react.LogOut,
|
1175
|
+
MoreHorizontal: () => import_lucide_react.MoreHorizontal,
|
1176
|
+
MousePointerClick: () => import_lucide_react.MousePointerClick,
|
1177
|
+
Palette: () => import_lucide_react.Palette,
|
1178
|
+
PanelLeft: () => import_lucide_react.PanelLeft,
|
1179
|
+
PanelsTopLeft: () => import_lucide_react.PanelsTopLeft,
|
1180
|
+
Pencil: () => import_lucide_react.Pencil,
|
1181
|
+
Pi: () => import_lucide_react.Pi,
|
1182
|
+
ReceiptText: () => import_lucide_react.ReceiptText,
|
1183
|
+
Regex: () => import_lucide_react.Regex,
|
1184
|
+
Replace: () => import_lucide_react.Replace,
|
1185
|
+
Rss: () => import_lucide_react.Rss,
|
1186
|
+
Scale: () => import_lucide_react.Scale,
|
1187
|
+
Search: () => import_lucide_react.Search,
|
1188
|
+
Server: () => import_lucide_react.Server,
|
1189
|
+
Share: () => import_lucide_react.Share,
|
1190
|
+
ShieldUser: () => import_lucide_react.ShieldUser,
|
1191
|
+
Sparkles: () => import_lucide_react.Sparkles,
|
1192
|
+
SplinePointer: () => import_lucide_react.SplinePointer,
|
1193
|
+
SquareDashedBottomCode: () => import_lucide_react.SquareDashedBottomCode,
|
1194
|
+
SquareTerminal: () => import_lucide_react.SquareTerminal,
|
1195
|
+
Star: () => import_lucide_react.Star,
|
1196
|
+
Tablets: () => import_lucide_react.Tablets,
|
1197
|
+
Terminal: () => import_lucide_react.Terminal,
|
1198
|
+
Twitter: () => import_lucide_react.Twitter,
|
1199
|
+
X: () => import_lucide_react.X,
|
1200
|
+
Zap: () => import_lucide_react.Zap
|
1064
1201
|
});
|
1202
|
+
var import_lucide_react = require("lucide-react");
|
1203
|
+
|
1204
|
+
// src/components/global-icon.tsx
|
1205
|
+
var import_react29 = __toESM(require("react"), 1);
|
1206
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
1065
1207
|
var tempStyledLimitedIcons = {};
|
1066
1208
|
for (const iconNameKey in limited_lucide_icons_exports) {
|
1067
1209
|
if (Object.prototype.hasOwnProperty.call(limited_lucide_icons_exports, iconNameKey)) {
|
@@ -1081,7 +1223,7 @@ for (const iconNameKey in limited_lucide_icons_exports) {
|
|
1081
1223
|
height: props.size || themeSvgIconSize
|
1082
1224
|
}, props.style)
|
1083
1225
|
});
|
1084
|
-
return /* @__PURE__ */
|
1226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ComponentToRender, __spreadValues({}, finalProps));
|
1085
1227
|
};
|
1086
1228
|
StyledIcon.displayName = `Styled(${iconName})`;
|
1087
1229
|
tempStyledLimitedIcons[iconName] = StyledIcon;
|
@@ -1105,81 +1247,513 @@ for (const [iconName, IconComponent] of Object.entries(BUILTIN_ICON_COMPONENTS))
|
|
1105
1247
|
height: props.size || themeSvgIconSize
|
1106
1248
|
}, props.style)
|
1107
1249
|
});
|
1108
|
-
return /* @__PURE__ */
|
1250
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(IconComponent, __spreadValues({}, finalProps));
|
1109
1251
|
};
|
1110
1252
|
WrappedIcon.displayName = `Wrapped(${iconName})`;
|
1111
1253
|
tempWrappedBuiltinIcons[iconName] = WrappedIcon;
|
1112
1254
|
}
|
1113
1255
|
var wrappedBuiltinIconsPart = tempWrappedBuiltinIcons;
|
1114
1256
|
var globalLucideIcons = __spreadValues(__spreadValues({}, styledLimitedIconsPart), wrappedBuiltinIconsPart);
|
1115
|
-
var
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1257
|
+
var NotFoundIcon = () => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(globalLucideIcons.SquareTerminal, { className: `h-8 w-8 rounded-full p-1 shadow-lg ring-0.5 border border-purple-500 ring-purple-500/20 ${themeIconColor}` });
|
1258
|
+
|
1259
|
+
// src/components/404-page.tsx
|
1260
|
+
var import_react30 = require("react");
|
1261
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
1262
|
+
function NotFoundPage({ siteIcon }) {
|
1263
|
+
const [glitchText, setGlitchText] = (0, import_react30.useState)("404");
|
1264
|
+
(0, import_react30.useEffect)(() => {
|
1265
|
+
const glitchChars = ["4", "0", "4", "?", "#", "!", "*", "&", "%", "$"];
|
1266
|
+
const interval = setInterval(() => {
|
1267
|
+
if (Math.random() < 0.5) {
|
1268
|
+
setGlitchText("404");
|
1269
|
+
} else {
|
1270
|
+
const randomChars = Array.from(
|
1271
|
+
{ length: 3 },
|
1272
|
+
() => glitchChars[Math.floor(Math.random() * glitchChars.length)]
|
1273
|
+
).join("");
|
1274
|
+
setGlitchText(randomChars);
|
1275
|
+
}
|
1276
|
+
}, 600);
|
1277
|
+
return () => clearInterval(interval);
|
1278
|
+
}, []);
|
1279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-col items-center justify-center min-h-[75vh] w-full px-4 py-8", children: [
|
1280
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "text-center space-y-8 max-w-2xl", children: [
|
1281
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "relative flex justify-center", children: [
|
1282
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
1283
|
+
"h1",
|
1284
|
+
{
|
1285
|
+
className: "text-8xl md:text-9xl font-bold bg-gradient-to-r from-purple-600 via-pink-500 to-purple-700 bg-clip-text text-transparent select-none",
|
1286
|
+
style: {
|
1287
|
+
fontFamily: "Montserrat, monospace",
|
1288
|
+
textShadow: "0 0 30px rgba(172, 98, 253, 0.3)",
|
1289
|
+
letterSpacing: "0.1em"
|
1290
|
+
},
|
1291
|
+
children: glitchText
|
1292
|
+
}
|
1293
|
+
),
|
1294
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "absolute inset-0 pointer-events-none", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "h-full w-full bg-gradient-to-b from-transparent via-purple-500/10 to-transparent animate-pulse" }) })
|
1295
|
+
] }),
|
1296
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "space-y-4", children: [
|
1297
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("h2", { className: "text-2xl md:text-3xl font-semibold text-foreground", children: "Page Not Found" }),
|
1298
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "text-lg text-muted-foreground max-w-md mx-auto leading-relaxed", children: "The page you're looking for doesn't exist" })
|
1299
|
+
] }),
|
1300
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex justify-center items-center gap-8 pt-8 opacity-60", children: [
|
1301
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
1302
|
+
siteIcon,
|
1303
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "Woops!" })
|
1304
|
+
] }),
|
1305
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "w-1 h-1 bg-purple-500 rounded-full animate-ping" }),
|
1306
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
1307
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(NotFoundIcon, {}),
|
1308
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "Error Code: 404" })
|
1309
|
+
] })
|
1310
|
+
] })
|
1311
|
+
] }),
|
1312
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "fixed inset-0 pointer-events-none overflow-hidden -z-10", children: [
|
1313
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
1314
|
+
"div",
|
1315
|
+
{
|
1316
|
+
className: "absolute inset-0 opacity-[0.02] dark:opacity-[0.05]",
|
1317
|
+
style: {
|
1318
|
+
backgroundImage: `
|
1319
|
+
linear-gradient(rgba(172, 98, 253, 0.1) 1px, transparent 1px),
|
1320
|
+
linear-gradient(90deg, rgba(172, 98, 253, 0.1) 1px, transparent 1px)
|
1321
|
+
`,
|
1322
|
+
backgroundSize: "50px 50px"
|
1323
|
+
}
|
1324
|
+
}
|
1325
|
+
),
|
1326
|
+
Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
1327
|
+
"div",
|
1328
|
+
{
|
1329
|
+
className: "absolute w-2 h-2 bg-purple-500/20 rounded-full animate-bounce",
|
1330
|
+
style: {
|
1331
|
+
left: `${20 + i * 15}%`,
|
1332
|
+
top: `${30 + i % 3 * 20}%`,
|
1333
|
+
animationDelay: `${i * 0.5}s`,
|
1334
|
+
animationDuration: `${2 + i * 0.3}s`
|
1335
|
+
}
|
1336
|
+
},
|
1337
|
+
i
|
1338
|
+
))
|
1339
|
+
] })
|
1340
|
+
] });
|
1341
|
+
}
|
1342
|
+
|
1343
|
+
// src/components/go-to-top.tsx
|
1344
|
+
var import_react31 = require("react");
|
1345
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
1346
|
+
|
1347
|
+
// src/components/language-detector.tsx
|
1348
|
+
var import_next_intl = require("next-intl");
|
1349
|
+
var import_navigation = require("next/navigation");
|
1350
|
+
var import_react32 = require("react");
|
1351
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
1352
|
+
function LanguageDetector({ i18nConfig }) {
|
1353
|
+
const [show, setShow] = (0, import_react32.useState)(false);
|
1354
|
+
const [detectedLocale, setDetectedLocale] = (0, import_react32.useState)(null);
|
1355
|
+
const currentLocale = (0, import_next_intl.useLocale)();
|
1356
|
+
const router = (0, import_navigation.useRouter)();
|
1357
|
+
const t = (0, import_next_intl.useTranslations)("languageDetection");
|
1358
|
+
const LANGUAGE_PREFERENCE_KEY = `${i18nConfig.detector.storagePrefix}-${i18nConfig.detector.storageKey}`;
|
1359
|
+
(0, import_react32.useEffect)(() => {
|
1360
|
+
const browserLang = navigator.language.split("-")[0];
|
1361
|
+
const savedPreference = localStorage.getItem(LANGUAGE_PREFERENCE_KEY);
|
1362
|
+
const preference = savedPreference ? JSON.parse(savedPreference) : null;
|
1363
|
+
const shouldShowDetector = () => {
|
1364
|
+
if (!preference) return true;
|
1365
|
+
if (preference.locale === currentLocale) return false;
|
1366
|
+
if (preference.status === "rejected" && preference.locale === browserLang) return false;
|
1367
|
+
if (preference.status === "accepted" && preference.locale === currentLocale) return false;
|
1368
|
+
const expirationMs = i18nConfig.detector.expirationDays * 24 * 60 * 60 * 1e3;
|
1369
|
+
if (Date.now() - preference.timestamp < expirationMs) return false;
|
1370
|
+
return true;
|
1371
|
+
};
|
1372
|
+
if (i18nConfig.locales.includes(browserLang) && browserLang !== currentLocale && shouldShowDetector()) {
|
1373
|
+
setDetectedLocale(browserLang);
|
1374
|
+
setShow(true);
|
1375
|
+
const timer = setTimeout(() => {
|
1376
|
+
console.log("[LanguageDetector] Auto closing after timeout");
|
1377
|
+
setShow(false);
|
1378
|
+
savePreference(browserLang, "rejected");
|
1379
|
+
}, i18nConfig.detector.autoCloseTimeout);
|
1380
|
+
return () => clearTimeout(timer);
|
1121
1381
|
}
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1382
|
+
}, [currentLocale]);
|
1383
|
+
const savePreference = (locale, status) => {
|
1384
|
+
const preference = {
|
1385
|
+
locale,
|
1386
|
+
status,
|
1387
|
+
timestamp: Date.now()
|
1388
|
+
};
|
1389
|
+
localStorage.setItem(LANGUAGE_PREFERENCE_KEY, JSON.stringify(preference));
|
1390
|
+
};
|
1391
|
+
const handleLanguageChange = () => {
|
1392
|
+
if (detectedLocale) {
|
1393
|
+
savePreference(detectedLocale, "accepted");
|
1394
|
+
const pathname = window.location.pathname;
|
1395
|
+
const newPathname = pathname.replace(`/${currentLocale}`, `/${detectedLocale}`);
|
1396
|
+
router.push(newPathname);
|
1397
|
+
setShow(false);
|
1130
1398
|
}
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1399
|
+
};
|
1400
|
+
const handleClose = () => {
|
1401
|
+
if (detectedLocale) {
|
1402
|
+
savePreference(detectedLocale, "rejected");
|
1134
1403
|
}
|
1135
|
-
|
1136
|
-
}
|
1137
|
-
if (
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1404
|
+
setShow(false);
|
1405
|
+
};
|
1406
|
+
if (!detectedLocale || !show) return null;
|
1407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "fixed top-16 right-4 z-40 w-[420px]", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: `shadow-lg rounded-lg transition-all duration-300 ${show ? "translate-x-0 opacity-100" : "translate-x-full opacity-0"}
|
1408
|
+
bg-linear-to-r from-purple-100/95 via-white/95 to-purple-100/95 backdrop-blur-xs
|
1409
|
+
animate-gradient-x`, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "relative px-6 py-4 overflow-hidden", children: [
|
1410
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "relative z-10 flex flex-col gap-3", children: [
|
1411
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-start justify-between gap-4", children: [
|
1412
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-col gap-1.5", children: [
|
1413
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("h3", { className: "text-lg font-semibold text-gray-900", children: t("title") }),
|
1414
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("p", { className: "text-base text-gray-600", children: [
|
1415
|
+
t("description"),
|
1416
|
+
" ",
|
1417
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-purple-500 font-semibold", children: detectedLocale === "zh" ? "\u4E2D\u6587" : "English" }),
|
1418
|
+
"?"
|
1419
|
+
] })
|
1420
|
+
] }),
|
1421
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
1422
|
+
"button",
|
1423
|
+
{
|
1424
|
+
onClick: handleClose,
|
1425
|
+
className: "text-gray-500 hover:text-gray-700",
|
1426
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(globalLucideIcons.X, { className: "h-5 w-5" })
|
1427
|
+
}
|
1428
|
+
)
|
1429
|
+
] }),
|
1430
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-3", children: [
|
1431
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
1432
|
+
"button",
|
1433
|
+
{
|
1434
|
+
onClick: handleClose,
|
1435
|
+
className: "flex-1 px-4 py-2 text-base bg-gray-100 text-gray-600 rounded-md hover:bg-gray-200",
|
1436
|
+
children: t("close")
|
1437
|
+
}
|
1438
|
+
),
|
1439
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
1440
|
+
"button",
|
1441
|
+
{
|
1442
|
+
onClick: handleLanguageChange,
|
1443
|
+
className: "flex-1 px-4 py-2 text-base bg-purple-500 text-white rounded-md hover:bg-purple-600",
|
1444
|
+
children: t("changeAction")
|
1445
|
+
}
|
1446
|
+
)
|
1447
|
+
] })
|
1448
|
+
] }),
|
1449
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "absolute inset-0 bg-linear-to-r from-transparent via-purple-200/30 to-transparent animate-shimmer" })
|
1450
|
+
] }) }) });
|
1144
1451
|
}
|
1145
|
-
|
1146
|
-
|
1452
|
+
|
1453
|
+
// src/components/language-switcher.tsx
|
1454
|
+
var import_navigation2 = require("next/navigation");
|
1455
|
+
var import_next_intl2 = require("next-intl");
|
1456
|
+
|
1457
|
+
// src/ui/dropdown-menu.tsx
|
1458
|
+
var React30 = __toESM(require("react"), 1);
|
1459
|
+
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
|
1460
|
+
|
1461
|
+
// ../lib/src/utils.ts
|
1462
|
+
var import_clsx = require("clsx");
|
1463
|
+
var import_tailwind_merge = require("tailwind-merge");
|
1147
1464
|
function cn(...inputs) {
|
1148
|
-
return
|
1465
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
1466
|
+
}
|
1467
|
+
|
1468
|
+
// src/ui/dropdown-menu.tsx
|
1469
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
1470
|
+
var DropdownMenu = DropdownMenuPrimitive.Root;
|
1471
|
+
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
1472
|
+
var DropdownMenuSubTrigger = React30.forwardRef((_a, ref) => {
|
1473
|
+
var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
|
1474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
1475
|
+
DropdownMenuPrimitive.SubTrigger,
|
1476
|
+
__spreadProps(__spreadValues({
|
1477
|
+
ref,
|
1478
|
+
className: cn(
|
1479
|
+
"flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
1480
|
+
inset && "pl-8",
|
1481
|
+
className
|
1482
|
+
)
|
1483
|
+
}, props), {
|
1484
|
+
children: [
|
1485
|
+
children,
|
1486
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(globalLucideIcons.ChevronRight, { className: "ml-auto" })
|
1487
|
+
]
|
1488
|
+
})
|
1489
|
+
);
|
1490
|
+
});
|
1491
|
+
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
1492
|
+
var DropdownMenuSubContent = React30.forwardRef((_a, ref) => {
|
1493
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
1494
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1495
|
+
DropdownMenuPrimitive.SubContent,
|
1496
|
+
__spreadValues({
|
1497
|
+
ref,
|
1498
|
+
className: cn(
|
1499
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
1500
|
+
className
|
1501
|
+
)
|
1502
|
+
}, props)
|
1503
|
+
);
|
1504
|
+
});
|
1505
|
+
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
1506
|
+
var DropdownMenuContent = React30.forwardRef((_a, ref) => {
|
1507
|
+
var _b = _a, { className, sideOffset = 4 } = _b, props = __objRest(_b, ["className", "sideOffset"]);
|
1508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1509
|
+
DropdownMenuPrimitive.Content,
|
1510
|
+
__spreadValues({
|
1511
|
+
ref,
|
1512
|
+
sideOffset,
|
1513
|
+
className: cn(
|
1514
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
1515
|
+
className
|
1516
|
+
)
|
1517
|
+
}, props)
|
1518
|
+
) });
|
1519
|
+
});
|
1520
|
+
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
1521
|
+
var DropdownMenuItem = React30.forwardRef((_a, ref) => {
|
1522
|
+
var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
|
1523
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1524
|
+
DropdownMenuPrimitive.Item,
|
1525
|
+
__spreadValues({
|
1526
|
+
ref,
|
1527
|
+
className: cn(
|
1528
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
1529
|
+
inset && "pl-8",
|
1530
|
+
className
|
1531
|
+
)
|
1532
|
+
}, props)
|
1533
|
+
);
|
1534
|
+
});
|
1535
|
+
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
1536
|
+
var DropdownMenuCheckboxItem = React30.forwardRef((_a, ref) => {
|
1537
|
+
var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
|
1538
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
1539
|
+
DropdownMenuPrimitive.CheckboxItem,
|
1540
|
+
__spreadProps(__spreadValues({
|
1541
|
+
ref,
|
1542
|
+
className: cn(
|
1543
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
1544
|
+
className
|
1545
|
+
),
|
1546
|
+
checked
|
1547
|
+
}, props), {
|
1548
|
+
children: [
|
1549
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(globalLucideIcons.Check, { className: "h-4 w-4" }) }) }),
|
1550
|
+
children
|
1551
|
+
]
|
1552
|
+
})
|
1553
|
+
);
|
1554
|
+
});
|
1555
|
+
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
1556
|
+
var DropdownMenuRadioItem = React30.forwardRef((_a, ref) => {
|
1557
|
+
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
1558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
1559
|
+
DropdownMenuPrimitive.RadioItem,
|
1560
|
+
__spreadProps(__spreadValues({
|
1561
|
+
ref,
|
1562
|
+
className: cn(
|
1563
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
1564
|
+
className
|
1565
|
+
)
|
1566
|
+
}, props), {
|
1567
|
+
children: [
|
1568
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(globalLucideIcons.Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
1569
|
+
children
|
1570
|
+
]
|
1571
|
+
})
|
1572
|
+
);
|
1573
|
+
});
|
1574
|
+
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
1575
|
+
var DropdownMenuLabel = React30.forwardRef((_a, ref) => {
|
1576
|
+
var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
|
1577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1578
|
+
DropdownMenuPrimitive.Label,
|
1579
|
+
__spreadValues({
|
1580
|
+
ref,
|
1581
|
+
className: cn(
|
1582
|
+
"px-2 py-1.5 text-sm font-semibold",
|
1583
|
+
inset && "pl-8",
|
1584
|
+
className
|
1585
|
+
)
|
1586
|
+
}, props)
|
1587
|
+
);
|
1588
|
+
});
|
1589
|
+
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
1590
|
+
var DropdownMenuSeparator = React30.forwardRef((_a, ref) => {
|
1591
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
1592
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1593
|
+
DropdownMenuPrimitive.Separator,
|
1594
|
+
__spreadValues({
|
1595
|
+
ref,
|
1596
|
+
className: cn("-mx-1 my-1 h-px bg-muted", className)
|
1597
|
+
}, props)
|
1598
|
+
);
|
1599
|
+
});
|
1600
|
+
DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
|
1601
|
+
var DropdownMenuShortcut = (_a) => {
|
1602
|
+
var _b = _a, {
|
1603
|
+
className
|
1604
|
+
} = _b, props = __objRest(_b, [
|
1605
|
+
"className"
|
1606
|
+
]);
|
1607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
1608
|
+
"span",
|
1609
|
+
__spreadValues({
|
1610
|
+
className: cn("ml-auto text-xs tracking-widest opacity-60", className)
|
1611
|
+
}, props)
|
1612
|
+
);
|
1613
|
+
};
|
1614
|
+
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
1615
|
+
|
1616
|
+
// src/ui/language-button.tsx
|
1617
|
+
var React31 = __toESM(require("react"), 1);
|
1618
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
1619
|
+
var LanguageButton = React31.forwardRef(
|
1620
|
+
(_a, ref) => {
|
1621
|
+
var _b = _a, { className, variant = "default", size = "default" } = _b, props = __objRest(_b, ["className", "variant", "size"]);
|
1622
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
1623
|
+
"button",
|
1624
|
+
__spreadValues({
|
1625
|
+
className: cn(
|
1626
|
+
"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background",
|
1627
|
+
{
|
1628
|
+
"bg-primary text-primary-foreground hover:bg-primary/90": variant === "default",
|
1629
|
+
"hover:bg-accent hover:text-accent-foreground": variant === "ghost",
|
1630
|
+
"h-10 px-4 py-2": size === "default",
|
1631
|
+
"h-9 px-3": size === "sm",
|
1632
|
+
"h-11 px-8": size === "lg",
|
1633
|
+
"h-10 w-10": size === "icon"
|
1634
|
+
},
|
1635
|
+
className
|
1636
|
+
),
|
1637
|
+
ref
|
1638
|
+
}, props)
|
1639
|
+
);
|
1640
|
+
}
|
1641
|
+
);
|
1642
|
+
LanguageButton.displayName = "Button";
|
1643
|
+
|
1644
|
+
// src/components/language-switcher.tsx
|
1645
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
1646
|
+
function LanguageSwitcher({ locales, localeLabels }) {
|
1647
|
+
const locale = (0, import_next_intl2.useLocale)();
|
1648
|
+
const router = (0, import_navigation2.useRouter)();
|
1649
|
+
const pathname = (0, import_navigation2.usePathname)();
|
1650
|
+
const handleLocaleChange = (newLocale) => {
|
1651
|
+
const newPathname = pathname.replace(`/${locale}`, `/${newLocale}`);
|
1652
|
+
router.push(newPathname);
|
1653
|
+
};
|
1654
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(DropdownMenu, { children: [
|
1655
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
1656
|
+
LanguageButton,
|
1657
|
+
{
|
1658
|
+
variant: "ghost",
|
1659
|
+
size: "icon",
|
1660
|
+
className: "bg-linear-to-r from-purple-400 to-pink-600 hover:from-purple-500 hover:to-pink-700 text-white transform hover:scale-110 transition-all duration-300",
|
1661
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(globalLucideIcons.Globe, { className: "h-5 w-5" })
|
1662
|
+
}
|
1663
|
+
) }),
|
1664
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
1665
|
+
DropdownMenuContent,
|
1666
|
+
{
|
1667
|
+
align: "end",
|
1668
|
+
sideOffset: 5,
|
1669
|
+
className: "bg-white/90 dark:bg-gray-800/90 border-purple-100 dark:border-purple-800 w-[200px] p-2 backdrop-blur-xs translate-x-[50px]",
|
1670
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "grid grid-cols-2 gap-1", children: locales.map((loc) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
1671
|
+
DropdownMenuItem,
|
1672
|
+
{
|
1673
|
+
className: `
|
1674
|
+
px-2 py-2 text-sm cursor-pointer text-center justify-center
|
1675
|
+
transition-all duration-300 ease-in-out
|
1676
|
+
hover:scale-105 hover:shadow-md
|
1677
|
+
rounded-md whitespace-nowrap
|
1678
|
+
${locale === loc ? "bg-linear-to-r from-purple-400 to-pink-600 text-white font-medium shadow-lg scale-105" : "hover:bg-linear-to-r hover:from-purple-400/10 hover:to-pink-600/10 hover:text-transparent hover:bg-clip-text"}
|
1679
|
+
`,
|
1680
|
+
onClick: () => handleLocaleChange(loc),
|
1681
|
+
children: localeLabels[loc]
|
1682
|
+
},
|
1683
|
+
loc
|
1684
|
+
)) })
|
1685
|
+
}
|
1686
|
+
)
|
1687
|
+
] });
|
1149
1688
|
}
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1689
|
+
|
1690
|
+
// src/components/script/google-analytics-script.tsx
|
1691
|
+
var import_script = __toESM(require("next/script"), 1);
|
1692
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
1693
|
+
var googleAnalyticsId = process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID;
|
1694
|
+
function GoogleAnalyticsScript() {
|
1695
|
+
if (process.env.NODE_ENV !== "production") {
|
1696
|
+
return null;
|
1697
|
+
}
|
1698
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
|
1699
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
1700
|
+
import_script.default,
|
1701
|
+
{
|
1702
|
+
strategy: "afterInteractive",
|
1703
|
+
src: `https://www.googletagmanager.com/gtag/js?id=${googleAnalyticsId}`
|
1163
1704
|
}
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1705
|
+
),
|
1706
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
1707
|
+
import_script.default,
|
1708
|
+
{
|
1709
|
+
id: "google-analytics",
|
1710
|
+
strategy: "afterInteractive",
|
1711
|
+
dangerouslySetInnerHTML: {
|
1712
|
+
__html: `
|
1713
|
+
window.dataLayer = window.dataLayer || [];
|
1714
|
+
function gtag(){dataLayer.push(arguments);}
|
1715
|
+
gtag('js', new Date());
|
1716
|
+
gtag('config', '${googleAnalyticsId}');
|
1717
|
+
`
|
1718
|
+
}
|
1167
1719
|
}
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1720
|
+
)
|
1721
|
+
] });
|
1722
|
+
}
|
1723
|
+
function useGoogleAnalytics() {
|
1724
|
+
const trackEvent = (event, data) => {
|
1725
|
+
if (typeof window === "undefined" || !window.gtag) {
|
1726
|
+
return;
|
1174
1727
|
}
|
1728
|
+
window.gtag("event", event, data);
|
1729
|
+
};
|
1730
|
+
return {
|
1731
|
+
trackEvent
|
1175
1732
|
};
|
1176
1733
|
}
|
1177
1734
|
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1735
|
+
// src/components/script/microsoft-clarity-script.tsx
|
1736
|
+
var import_script2 = __toESM(require("next/script"), 1);
|
1737
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
1738
|
+
var microsoftClarityId = process.env.NEXT_PUBLIC_MICROSOFT_CLARITY_ID;
|
1739
|
+
function MicrosoftClarityScript() {
|
1740
|
+
if (process.env.NODE_ENV !== "production") {
|
1741
|
+
return null;
|
1742
|
+
}
|
1743
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_script2.default, { id: "microsoft-clarity", strategy: "afterInteractive", children: `
|
1744
|
+
(function(c,l,a,r,i,t,y){
|
1745
|
+
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
|
1746
|
+
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
|
1747
|
+
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
|
1748
|
+
})(window, document, "clarity", "script", "${microsoftClarityId}");
|
1749
|
+
` });
|
1750
|
+
}
|
1751
|
+
/**
|
1752
|
+
* @license
|
1753
|
+
* MIT License
|
1754
|
+
* Copyright (c) 2025 D8ger
|
1755
|
+
*
|
1756
|
+
* This source code is licensed under the MIT license found in the
|
1757
|
+
* LICENSE file in the root directory of this source tree.
|
1758
|
+
*/
|
1185
1759
|
//# sourceMappingURL=index.js.map
|