@windrun-huaiin/base-ui 4.1.1 → 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.
Files changed (35) hide show
  1. package/dist/components/{client/index.d.mts → index.d.cts} +6 -23
  2. package/dist/components/index.d.ts +44 -125
  3. package/dist/components/index.js +827 -220
  4. package/dist/components/index.js.map +1 -1
  5. package/dist/components/index.mjs +799 -129
  6. package/dist/components/index.mjs.map +1 -1
  7. package/dist/components/{index.d.mts → server.d.cts} +8 -1
  8. package/dist/components/server.d.ts +138 -0
  9. package/dist/{index.js → components/server.js} +373 -200
  10. package/dist/components/server.js.map +1 -0
  11. package/dist/{index.mjs → components/server.mjs} +343 -107
  12. package/dist/components/server.mjs.map +1 -0
  13. package/dist/ui/index.js +478 -334
  14. package/dist/ui/index.js.map +1 -1
  15. package/dist/ui/index.mjs +400 -150
  16. package/dist/ui/index.mjs.map +1 -1
  17. package/package.json +14 -21
  18. package/src/components/404-page.tsx +7 -4
  19. package/src/components/index.ts +8 -15
  20. package/src/components/server.ts +4 -0
  21. package/src/components/site-icon.tsx +29 -37
  22. package/src/ui/index.ts +1 -1
  23. package/dist/components/client/index.d.ts +0 -67
  24. package/dist/components/client/index.js +0 -1645
  25. package/dist/components/client/index.js.map +0 -1
  26. package/dist/components/client/index.mjs +0 -1613
  27. package/dist/components/client/index.mjs.map +0 -1
  28. package/dist/index.d.mts +0 -4
  29. package/dist/index.d.ts +0 -4
  30. package/dist/index.js.map +0 -1
  31. package/dist/index.mjs.map +0 -1
  32. package/src/components/client/index.ts +0 -19
  33. package/src/components/icon-context.tsx +0 -57
  34. package/src/index.ts +0 -5
  35. /package/dist/ui/{index.d.mts → index.d.cts} +0 -0
@@ -1,7 +1,4 @@
1
- import React29 from 'react';
2
- import { jsx, jsxs } from 'react/jsx-runtime';
3
- import { Zap, X, Twitter, Terminal, Tablets, Star, SquareTerminal, SquareDashedBottomCode, SplinePointer, Sparkles, ShieldUser, Share, Server, Search, Scale, Rss, Replace, Regex, ReceiptText, Pi, Pencil, PanelsTopLeft, PanelLeft, Palette, MousePointerClick, MoreHorizontal, LogOut, LogIn, Loader2, Link, LibraryIcon, LayoutTemplate, Layout, LandPlot, Keyboard, Info, ImageUp, ImageOff, ImageDown, HousePlus, Highlighter, Handshake, HandHeart, GripVertical, GlobeLock, Globe, GitPullRequestArrow, Gift, Fingerprint, FileLock2, Facebook, Eye, ExternalLink, Download, Dot, DatabaseZap, Cpu, ComponentIcon, CircleSmall, CircleAlert, Circle, ChevronUp, ChevronRight, ChevronLeft, ChevronDown, Check, Car, Building2, Bug, BringToFront, BookX, Blocks, Binary, ArrowUp, ArrowRight, ArrowLeft, AlignHorizontalJustifyEnd, AlbumIcon } from 'lucide-react';
4
-
1
+ "use client";
5
2
  var __defProp = Object.defineProperty;
6
3
  var __defProps = Object.defineProperties;
7
4
  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
@@ -38,11 +35,17 @@ var __export = (target, all) => {
38
35
  __defProp(target, name, { get: all[name], enumerable: true });
39
36
  };
40
37
 
38
+ // src/assets/github.tsx
39
+ import React from "react";
40
+
41
41
  // src/lib/theme-util.ts
42
42
  var themeIconColor = process.env.NEXT_PUBLIC_STYLE_ICON_COLOR || "text-purple-500";
43
43
  var themeSvgIconColor = process.env.NEXT_PUBLIC_STYLE_SVG_ICON_COLOR || "#AC62FD";
44
44
  var themeSvgIconSize = process.env.NEXT_PUBLIC_STYLE_SVG_ICON_SIZE || 18;
45
- var GitHubIcon = React29.forwardRef(
45
+
46
+ // src/assets/github.tsx
47
+ import { jsx } from "react/jsx-runtime";
48
+ var GitHubIcon = React.forwardRef(
46
49
  (_a, ref) => {
47
50
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
48
51
  return /* @__PURE__ */ jsx(
@@ -68,7 +71,11 @@ var GitHubIcon = React29.forwardRef(
68
71
  );
69
72
  GitHubIcon.displayName = "GitHub";
70
73
  var github_default = GitHubIcon;
71
- var D8Icon = React29.forwardRef(
74
+
75
+ // src/assets/d8.tsx
76
+ import React2 from "react";
77
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
78
+ var D8Icon = React2.forwardRef(
72
79
  (_a, ref) => {
73
80
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
74
81
  return /* @__PURE__ */ jsxs(
@@ -81,21 +88,21 @@ var D8Icon = React29.forwardRef(
81
88
  viewBox: "0 0 1024 1024",
82
89
  xmlns: "http://www.w3.org/2000/svg",
83
90
  children: [
84
- /* @__PURE__ */ jsx(
91
+ /* @__PURE__ */ jsx2(
85
92
  "path",
86
93
  {
87
94
  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",
88
95
  fill: themeSvgIconColor
89
96
  }
90
97
  ),
91
- /* @__PURE__ */ jsx(
98
+ /* @__PURE__ */ jsx2(
92
99
  "path",
93
100
  {
94
101
  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",
95
102
  fill: themeSvgIconColor
96
103
  }
97
104
  ),
98
- /* @__PURE__ */ jsx(
105
+ /* @__PURE__ */ jsx2(
99
106
  "path",
100
107
  {
101
108
  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",
@@ -109,10 +116,14 @@ var D8Icon = React29.forwardRef(
109
116
  );
110
117
  D8Icon.displayName = "D8";
111
118
  var d8_default = D8Icon;
112
- var ClerkIcon = React29.forwardRef(
119
+
120
+ // src/assets/clerk.tsx
121
+ import React3 from "react";
122
+ import { jsx as jsx3 } from "react/jsx-runtime";
123
+ var ClerkIcon = React3.forwardRef(
113
124
  (_a, ref) => {
114
125
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
115
- return /* @__PURE__ */ jsx(
126
+ return /* @__PURE__ */ jsx3(
116
127
  "svg",
117
128
  __spreadProps(__spreadValues({
118
129
  ref,
@@ -121,7 +132,7 @@ var ClerkIcon = React29.forwardRef(
121
132
  }, props), {
122
133
  viewBox: "0 0 24 24",
123
134
  xmlns: "http://www.w3.org/2000/svg",
124
- children: /* @__PURE__ */ jsx(
135
+ children: /* @__PURE__ */ jsx3(
125
136
  "path",
126
137
  {
127
138
  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",
@@ -136,10 +147,14 @@ var ClerkIcon = React29.forwardRef(
136
147
  );
137
148
  ClerkIcon.displayName = "Clerk";
138
149
  var clerk_default = ClerkIcon;
139
- var ItermIcon = React29.forwardRef(
150
+
151
+ // src/assets/iterm.tsx
152
+ import React4 from "react";
153
+ import { jsx as jsx4 } from "react/jsx-runtime";
154
+ var ItermIcon = React4.forwardRef(
140
155
  (_a, ref) => {
141
156
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
142
- return /* @__PURE__ */ jsx(
157
+ return /* @__PURE__ */ jsx4(
143
158
  "svg",
144
159
  __spreadProps(__spreadValues({
145
160
  ref,
@@ -148,7 +163,7 @@ var ItermIcon = React29.forwardRef(
148
163
  }, props), {
149
164
  viewBox: "0 0 24 24",
150
165
  xmlns: "http://www.w3.org/2000/svg",
151
- children: /* @__PURE__ */ jsx(
166
+ children: /* @__PURE__ */ jsx4(
152
167
  "path",
153
168
  {
154
169
  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",
@@ -163,10 +178,14 @@ var ItermIcon = React29.forwardRef(
163
178
  );
164
179
  ItermIcon.displayName = "Iterm";
165
180
  var iterm_default = ItermIcon;
166
- var MarkdownIcon = React29.forwardRef(
181
+
182
+ // src/assets/markdown.tsx
183
+ import React5 from "react";
184
+ import { jsx as jsx5 } from "react/jsx-runtime";
185
+ var MarkdownIcon = React5.forwardRef(
167
186
  (_a, ref) => {
168
187
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
169
- return /* @__PURE__ */ jsx(
188
+ return /* @__PURE__ */ jsx5(
170
189
  "svg",
171
190
  __spreadProps(__spreadValues({
172
191
  ref,
@@ -175,7 +194,7 @@ var MarkdownIcon = React29.forwardRef(
175
194
  }, props), {
176
195
  viewBox: "0 0 1024 1024",
177
196
  xmlns: "http://www.w3.org/2000/svg",
178
- children: /* @__PURE__ */ jsx(
197
+ children: /* @__PURE__ */ jsx5(
179
198
  "path",
180
199
  {
181
200
  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",
@@ -189,10 +208,14 @@ var MarkdownIcon = React29.forwardRef(
189
208
  );
190
209
  MarkdownIcon.displayName = "Markdown";
191
210
  var markdown_default = MarkdownIcon;
192
- var MDXIcon = React29.forwardRef(
211
+
212
+ // src/assets/mdx.tsx
213
+ import React6 from "react";
214
+ import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
215
+ var MDXIcon = React6.forwardRef(
193
216
  (_a, ref) => {
194
217
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
195
- return /* @__PURE__ */ jsxs(
218
+ return /* @__PURE__ */ jsxs2(
196
219
  "svg",
197
220
  __spreadProps(__spreadValues({
198
221
  ref,
@@ -202,7 +225,7 @@ var MDXIcon = React29.forwardRef(
202
225
  viewBox: "0 0 1024 1024",
203
226
  xmlns: "http://www.w3.org/2000/svg",
204
227
  children: [
205
- /* @__PURE__ */ jsx(
228
+ /* @__PURE__ */ jsx6(
206
229
  "path",
207
230
  {
208
231
  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",
@@ -218,7 +241,7 @@ var MDXIcon = React29.forwardRef(
218
241
  }
219
242
  }
220
243
  ),
221
- /* @__PURE__ */ jsx(
244
+ /* @__PURE__ */ jsx6(
222
245
  "circle",
223
246
  {
224
247
  id: "path3",
@@ -236,7 +259,7 @@ var MDXIcon = React29.forwardRef(
236
259
  }
237
260
  }
238
261
  ),
239
- /* @__PURE__ */ jsx(
262
+ /* @__PURE__ */ jsx6(
240
263
  "circle",
241
264
  {
242
265
  id: "path3-6",
@@ -253,7 +276,7 @@ var MDXIcon = React29.forwardRef(
253
276
  }
254
277
  }
255
278
  ),
256
- /* @__PURE__ */ jsx(
279
+ /* @__PURE__ */ jsx6(
257
280
  "circle",
258
281
  {
259
282
  id: "path3-6-8",
@@ -270,7 +293,7 @@ var MDXIcon = React29.forwardRef(
270
293
  }
271
294
  }
272
295
  ),
273
- /* @__PURE__ */ jsx(
296
+ /* @__PURE__ */ jsx6(
274
297
  "circle",
275
298
  {
276
299
  id: "path3-6-8-7",
@@ -287,7 +310,7 @@ var MDXIcon = React29.forwardRef(
287
310
  }
288
311
  }
289
312
  ),
290
- /* @__PURE__ */ jsx(
313
+ /* @__PURE__ */ jsx6(
291
314
  "circle",
292
315
  {
293
316
  id: "path3-6-4",
@@ -311,10 +334,14 @@ var MDXIcon = React29.forwardRef(
311
334
  );
312
335
  MDXIcon.displayName = "MDX";
313
336
  var mdx_default = MDXIcon;
314
- var HtmlIcon = React29.forwardRef(
337
+
338
+ // src/assets/html.tsx
339
+ import React7 from "react";
340
+ import { jsx as jsx7 } from "react/jsx-runtime";
341
+ var HtmlIcon = React7.forwardRef(
315
342
  (_a, ref) => {
316
343
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
317
- return /* @__PURE__ */ jsx(
344
+ return /* @__PURE__ */ jsx7(
318
345
  "svg",
319
346
  __spreadProps(__spreadValues({
320
347
  ref,
@@ -323,7 +350,7 @@ var HtmlIcon = React29.forwardRef(
323
350
  }, props), {
324
351
  viewBox: "0 0 32 32",
325
352
  xmlns: "http://www.w3.org/2000/svg",
326
- children: /* @__PURE__ */ jsx(
353
+ children: /* @__PURE__ */ jsx7(
327
354
  "path",
328
355
  {
329
356
  fill: themeSvgIconColor,
@@ -336,10 +363,14 @@ var HtmlIcon = React29.forwardRef(
336
363
  );
337
364
  HtmlIcon.displayName = "Html";
338
365
  var html_default = HtmlIcon;
339
- var JsonIcon = React29.forwardRef(
366
+
367
+ // src/assets/json.tsx
368
+ import React8 from "react";
369
+ import { jsx as jsx8 } from "react/jsx-runtime";
370
+ var JsonIcon = React8.forwardRef(
340
371
  (_a, ref) => {
341
372
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
342
- return /* @__PURE__ */ jsx(
373
+ return /* @__PURE__ */ jsx8(
343
374
  "svg",
344
375
  __spreadProps(__spreadValues({
345
376
  ref,
@@ -348,7 +379,7 @@ var JsonIcon = React29.forwardRef(
348
379
  }, props), {
349
380
  viewBox: "0 -960 960 960",
350
381
  xmlns: "http://www.w3.org/2000/svg",
351
- children: /* @__PURE__ */ jsx(
382
+ children: /* @__PURE__ */ jsx8(
352
383
  "path",
353
384
  {
354
385
  fill: themeSvgIconColor,
@@ -361,10 +392,14 @@ var JsonIcon = React29.forwardRef(
361
392
  );
362
393
  JsonIcon.displayName = "Json";
363
394
  var json_default = JsonIcon;
364
- var XMLIcon = React29.forwardRef(
395
+
396
+ // src/assets/xml.tsx
397
+ import React9 from "react";
398
+ import { jsx as jsx9 } from "react/jsx-runtime";
399
+ var XMLIcon = React9.forwardRef(
365
400
  (_a, ref) => {
366
401
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
367
- return /* @__PURE__ */ jsx(
402
+ return /* @__PURE__ */ jsx9(
368
403
  "svg",
369
404
  __spreadProps(__spreadValues({
370
405
  ref,
@@ -373,7 +408,7 @@ var XMLIcon = React29.forwardRef(
373
408
  }, props), {
374
409
  viewBox: "0 0 1024 1024",
375
410
  xmlns: "http://www.w3.org/2000/svg",
376
- children: /* @__PURE__ */ jsx(
411
+ children: /* @__PURE__ */ jsx9(
377
412
  "path",
378
413
  {
379
414
  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",
@@ -387,10 +422,14 @@ var XMLIcon = React29.forwardRef(
387
422
  );
388
423
  XMLIcon.displayName = "XML";
389
424
  var xml_default = XMLIcon;
390
- var YamlIcon = React29.forwardRef(
425
+
426
+ // src/assets/yaml.tsx
427
+ import React10 from "react";
428
+ import { jsx as jsx10 } from "react/jsx-runtime";
429
+ var YamlIcon = React10.forwardRef(
391
430
  (_a, ref) => {
392
431
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
393
- return /* @__PURE__ */ jsx(
432
+ return /* @__PURE__ */ jsx10(
394
433
  "svg",
395
434
  __spreadProps(__spreadValues({
396
435
  ref,
@@ -399,7 +438,7 @@ var YamlIcon = React29.forwardRef(
399
438
  }, props), {
400
439
  viewBox: "0 0 1024 1024",
401
440
  xmlns: "http://www.w3.org/2000/svg",
402
- children: /* @__PURE__ */ jsx(
441
+ children: /* @__PURE__ */ jsx10(
403
442
  "path",
404
443
  {
405
444
  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",
@@ -413,10 +452,14 @@ var YamlIcon = React29.forwardRef(
413
452
  );
414
453
  YamlIcon.displayName = "Yaml";
415
454
  var yaml_default = YamlIcon;
416
- var CSVIcon = React29.forwardRef(
455
+
456
+ // src/assets/csv.tsx
457
+ import React11 from "react";
458
+ import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
459
+ var CSVIcon = React11.forwardRef(
417
460
  (_a, ref) => {
418
461
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
419
- return /* @__PURE__ */ jsxs(
462
+ return /* @__PURE__ */ jsxs3(
420
463
  "svg",
421
464
  __spreadProps(__spreadValues({
422
465
  ref,
@@ -426,7 +469,7 @@ var CSVIcon = React29.forwardRef(
426
469
  viewBox: "0 0 1024 1024",
427
470
  xmlns: "http://www.w3.org/2000/svg",
428
471
  children: [
429
- /* @__PURE__ */ jsx(
472
+ /* @__PURE__ */ jsx11(
430
473
  "path",
431
474
  {
432
475
  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",
@@ -434,7 +477,7 @@ var CSVIcon = React29.forwardRef(
434
477
  "p-id": "8469"
435
478
  }
436
479
  ),
437
- /* @__PURE__ */ jsx(
480
+ /* @__PURE__ */ jsx11(
438
481
  "path",
439
482
  {
440
483
  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",
@@ -442,7 +485,7 @@ var CSVIcon = React29.forwardRef(
442
485
  "p-id": "8470"
443
486
  }
444
487
  ),
445
- /* @__PURE__ */ jsx(
488
+ /* @__PURE__ */ jsx11(
446
489
  "path",
447
490
  {
448
491
  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",
@@ -450,7 +493,7 @@ var CSVIcon = React29.forwardRef(
450
493
  "p-id": "8471"
451
494
  }
452
495
  ),
453
- /* @__PURE__ */ jsx(
496
+ /* @__PURE__ */ jsx11(
454
497
  "path",
455
498
  {
456
499
  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",
@@ -465,10 +508,14 @@ var CSVIcon = React29.forwardRef(
465
508
  );
466
509
  CSVIcon.displayName = "CSV";
467
510
  var csv_default = CSVIcon;
468
- var TxtIcon = React29.forwardRef(
511
+
512
+ // src/assets/txt.tsx
513
+ import React12 from "react";
514
+ import { jsx as jsx12 } from "react/jsx-runtime";
515
+ var TxtIcon = React12.forwardRef(
469
516
  (_a, ref) => {
470
517
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
471
- return /* @__PURE__ */ jsx(
518
+ return /* @__PURE__ */ jsx12(
472
519
  "svg",
473
520
  __spreadProps(__spreadValues({
474
521
  ref,
@@ -477,7 +524,7 @@ var TxtIcon = React29.forwardRef(
477
524
  }, props), {
478
525
  viewBox: "0 0 1024 1024",
479
526
  xmlns: "http://www.w3.org/2000/svg",
480
- children: /* @__PURE__ */ jsx(
527
+ children: /* @__PURE__ */ jsx12(
481
528
  "path",
482
529
  {
483
530
  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",
@@ -491,10 +538,14 @@ var TxtIcon = React29.forwardRef(
491
538
  );
492
539
  TxtIcon.displayName = "Txt";
493
540
  var txt_default = TxtIcon;
494
- var JavaIcon = React29.forwardRef(
541
+
542
+ // src/assets/java.tsx
543
+ import React13 from "react";
544
+ import { jsx as jsx13 } from "react/jsx-runtime";
545
+ var JavaIcon = React13.forwardRef(
495
546
  (_a, ref) => {
496
547
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
497
- return /* @__PURE__ */ jsx(
548
+ return /* @__PURE__ */ jsx13(
498
549
  "svg",
499
550
  __spreadProps(__spreadValues({
500
551
  ref,
@@ -503,7 +554,7 @@ var JavaIcon = React29.forwardRef(
503
554
  }, props), {
504
555
  viewBox: "0 0 32 32",
505
556
  xmlns: "http://www.w3.org/2000/svg",
506
- children: /* @__PURE__ */ jsx(
557
+ children: /* @__PURE__ */ jsx13(
507
558
  "path",
508
559
  {
509
560
  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",
@@ -518,10 +569,14 @@ var JavaIcon = React29.forwardRef(
518
569
  );
519
570
  JavaIcon.displayName = "Java";
520
571
  var java_default = JavaIcon;
521
- var SQLIcon = React29.forwardRef(
572
+
573
+ // src/assets/sql.tsx
574
+ import React14 from "react";
575
+ import { jsx as jsx14, jsxs as jsxs4 } from "react/jsx-runtime";
576
+ var SQLIcon = React14.forwardRef(
522
577
  (_a, ref) => {
523
578
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
524
- return /* @__PURE__ */ jsxs(
579
+ return /* @__PURE__ */ jsxs4(
525
580
  "svg",
526
581
  __spreadProps(__spreadValues({
527
582
  ref,
@@ -531,7 +586,7 @@ var SQLIcon = React29.forwardRef(
531
586
  viewBox: "0 0 1024 1024",
532
587
  xmlns: "http://www.w3.org/2000/svg",
533
588
  children: [
534
- /* @__PURE__ */ jsx(
589
+ /* @__PURE__ */ jsx14(
535
590
  "path",
536
591
  {
537
592
  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",
@@ -539,7 +594,7 @@ var SQLIcon = React29.forwardRef(
539
594
  fill: themeSvgIconColor
540
595
  }
541
596
  ),
542
- /* @__PURE__ */ jsx(
597
+ /* @__PURE__ */ jsx14(
543
598
  "path",
544
599
  {
545
600
  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",
@@ -547,7 +602,7 @@ var SQLIcon = React29.forwardRef(
547
602
  fill: themeSvgIconColor
548
603
  }
549
604
  ),
550
- /* @__PURE__ */ jsx(
605
+ /* @__PURE__ */ jsx14(
551
606
  "path",
552
607
  {
553
608
  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",
@@ -562,10 +617,14 @@ var SQLIcon = React29.forwardRef(
562
617
  );
563
618
  SQLIcon.displayName = "SQL";
564
619
  var sql_default = SQLIcon;
565
- var LogIcon = React29.forwardRef(
620
+
621
+ // src/assets/log.tsx
622
+ import React15 from "react";
623
+ import { jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
624
+ var LogIcon = React15.forwardRef(
566
625
  (_a, ref) => {
567
626
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
568
- return /* @__PURE__ */ jsxs(
627
+ return /* @__PURE__ */ jsxs5(
569
628
  "svg",
570
629
  __spreadProps(__spreadValues({
571
630
  ref,
@@ -575,7 +634,7 @@ var LogIcon = React29.forwardRef(
575
634
  viewBox: "0 0 1024 1024",
576
635
  xmlns: "http://www.w3.org/2000/svg",
577
636
  children: [
578
- /* @__PURE__ */ jsx(
637
+ /* @__PURE__ */ jsx15(
579
638
  "path",
580
639
  {
581
640
  d: "M568.896 910.208h-512V113.792h739.52V512h-56.832V170.688H113.792v682.624H512z",
@@ -583,7 +642,7 @@ var LogIcon = React29.forwardRef(
583
642
  "p-id": "12257"
584
643
  }
585
644
  ),
586
- /* @__PURE__ */ jsx(
645
+ /* @__PURE__ */ jsx15(
587
646
  "path",
588
647
  {
589
648
  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",
@@ -591,7 +650,7 @@ var LogIcon = React29.forwardRef(
591
650
  "p-id": "12258"
592
651
  }
593
652
  ),
594
- /* @__PURE__ */ jsx("path", { d: "M853.312 796.416h-170.624V568.96h56.896v170.688h113.728z", fill: themeSvgIconColor, "p-id": "12259" })
653
+ /* @__PURE__ */ jsx15("path", { d: "M853.312 796.416h-170.624V568.96h56.896v170.688h113.728z", fill: themeSvgIconColor, "p-id": "12259" })
595
654
  ]
596
655
  })
597
656
  );
@@ -599,10 +658,14 @@ var LogIcon = React29.forwardRef(
599
658
  );
600
659
  LogIcon.displayName = "Log";
601
660
  var log_default = LogIcon;
602
- var MACIcon = React29.forwardRef(
661
+
662
+ // src/assets/mac.tsx
663
+ import React16 from "react";
664
+ import { jsx as jsx16 } from "react/jsx-runtime";
665
+ var MACIcon = React16.forwardRef(
603
666
  (_a, ref) => {
604
667
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
605
- return /* @__PURE__ */ jsx(
668
+ return /* @__PURE__ */ jsx16(
606
669
  "svg",
607
670
  __spreadProps(__spreadValues({
608
671
  ref,
@@ -611,7 +674,7 @@ var MACIcon = React29.forwardRef(
611
674
  }, props), {
612
675
  viewBox: "0 0 24 24",
613
676
  xmlns: "http://www.w3.org/2000/svg",
614
- children: /* @__PURE__ */ jsx(
677
+ children: /* @__PURE__ */ jsx16(
615
678
  "path",
616
679
  {
617
680
  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",
@@ -626,10 +689,14 @@ var MACIcon = React29.forwardRef(
626
689
  );
627
690
  MACIcon.displayName = "MAC";
628
691
  var mac_default = MACIcon;
629
- var BitcoinIcon = React29.forwardRef(
692
+
693
+ // src/assets/bitcoin.tsx
694
+ import React17 from "react";
695
+ import { jsx as jsx17 } from "react/jsx-runtime";
696
+ var BitcoinIcon = React17.forwardRef(
630
697
  (_a, ref) => {
631
698
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
632
- return /* @__PURE__ */ jsx(
699
+ return /* @__PURE__ */ jsx17(
633
700
  "svg",
634
701
  __spreadProps(__spreadValues({
635
702
  ref,
@@ -638,7 +705,7 @@ var BitcoinIcon = React29.forwardRef(
638
705
  }, props), {
639
706
  viewBox: "0 0 24 24",
640
707
  xmlns: "http://www.w3.org/2000/svg",
641
- children: /* @__PURE__ */ jsx(
708
+ children: /* @__PURE__ */ jsx17(
642
709
  "path",
643
710
  {
644
711
  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",
@@ -653,10 +720,14 @@ var BitcoinIcon = React29.forwardRef(
653
720
  );
654
721
  BitcoinIcon.displayName = "BTC";
655
722
  var bitcoin_default = BitcoinIcon;
656
- var CSSIcon = React29.forwardRef(
723
+
724
+ // src/assets/css.tsx
725
+ import React18 from "react";
726
+ import { jsx as jsx18 } from "react/jsx-runtime";
727
+ var CSSIcon = React18.forwardRef(
657
728
  (_a, ref) => {
658
729
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
659
- return /* @__PURE__ */ jsx(
730
+ return /* @__PURE__ */ jsx18(
660
731
  "svg",
661
732
  __spreadProps(__spreadValues({
662
733
  ref,
@@ -665,7 +736,7 @@ var CSSIcon = React29.forwardRef(
665
736
  }, props), {
666
737
  viewBox: "0 0 32 32",
667
738
  xmlns: "http://www.w3.org/2000/svg",
668
- children: /* @__PURE__ */ jsx(
739
+ children: /* @__PURE__ */ jsx18(
669
740
  "path",
670
741
  {
671
742
  fill: themeSvgIconColor,
@@ -678,11 +749,15 @@ var CSSIcon = React29.forwardRef(
678
749
  );
679
750
  CSSIcon.displayName = "CSS";
680
751
  var css_default = CSSIcon;
681
- var MermaidIcon = React29.forwardRef(
752
+
753
+ // src/assets/mermaid.tsx
754
+ import React19 from "react";
755
+ import { jsx as jsx19 } from "react/jsx-runtime";
756
+ var MermaidIcon = React19.forwardRef(
682
757
  // Memmaid need special size for good view
683
758
  (_a, ref) => {
684
759
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
685
- return /* @__PURE__ */ jsx(
760
+ return /* @__PURE__ */ jsx19(
686
761
  "svg",
687
762
  __spreadProps(__spreadValues({
688
763
  ref,
@@ -691,7 +766,7 @@ var MermaidIcon = React29.forwardRef(
691
766
  }, props), {
692
767
  viewBox: "0 0 24 24",
693
768
  xmlns: "http://www.w3.org/2000/svg",
694
- children: /* @__PURE__ */ jsx(
769
+ children: /* @__PURE__ */ jsx19(
695
770
  "path",
696
771
  {
697
772
  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",
@@ -706,10 +781,14 @@ var MermaidIcon = React29.forwardRef(
706
781
  );
707
782
  MermaidIcon.displayName = "Mmd";
708
783
  var mermaid_default = MermaidIcon;
709
- var LastUpdatedIcon = React29.forwardRef(
784
+
785
+ // src/assets/last-updated.tsx
786
+ import React20 from "react";
787
+ import { jsx as jsx20 } from "react/jsx-runtime";
788
+ var LastUpdatedIcon = React20.forwardRef(
710
789
  (_a, ref) => {
711
790
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
712
- return /* @__PURE__ */ jsx(
791
+ return /* @__PURE__ */ jsx20(
713
792
  "svg",
714
793
  __spreadProps(__spreadValues({
715
794
  ref,
@@ -718,7 +797,7 @@ var LastUpdatedIcon = React29.forwardRef(
718
797
  }, props), {
719
798
  viewBox: "0 0 1024 1024",
720
799
  xmlns: "http://www.w3.org/2000/svg",
721
- children: /* @__PURE__ */ jsx(
800
+ children: /* @__PURE__ */ jsx20(
722
801
  "path",
723
802
  {
724
803
  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",
@@ -732,10 +811,14 @@ var LastUpdatedIcon = React29.forwardRef(
732
811
  );
733
812
  LastUpdatedIcon.displayName = "LastUpdated";
734
813
  var last_updated_default = LastUpdatedIcon;
735
- var SnippetsIcon = React29.forwardRef(
814
+
815
+ // src/assets/snippets.tsx
816
+ import React21 from "react";
817
+ import { jsx as jsx21 } from "react/jsx-runtime";
818
+ var SnippetsIcon = React21.forwardRef(
736
819
  (_a, ref) => {
737
820
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
738
- return /* @__PURE__ */ jsx(
821
+ return /* @__PURE__ */ jsx21(
739
822
  "svg",
740
823
  __spreadProps(__spreadValues({
741
824
  ref,
@@ -744,7 +827,7 @@ var SnippetsIcon = React29.forwardRef(
744
827
  }, props), {
745
828
  viewBox: "0 0 24 24",
746
829
  xmlns: "http://www.w3.org/2000/svg",
747
- children: /* @__PURE__ */ jsx(
830
+ children: /* @__PURE__ */ jsx21(
748
831
  "path",
749
832
  {
750
833
  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",
@@ -757,10 +840,14 @@ var SnippetsIcon = React29.forwardRef(
757
840
  );
758
841
  SnippetsIcon.displayName = "Snippets";
759
842
  var snippets_default = SnippetsIcon;
760
- var TestIcon = React29.forwardRef(
843
+
844
+ // src/assets/test.tsx
845
+ import React22 from "react";
846
+ import { jsx as jsx22 } from "react/jsx-runtime";
847
+ var TestIcon = React22.forwardRef(
761
848
  (_a, ref) => {
762
849
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
763
- return /* @__PURE__ */ jsx(
850
+ return /* @__PURE__ */ jsx22(
764
851
  "svg",
765
852
  __spreadProps(__spreadValues({
766
853
  ref,
@@ -769,7 +856,7 @@ var TestIcon = React29.forwardRef(
769
856
  }, props), {
770
857
  viewBox: "0 0 1024 1024",
771
858
  xmlns: "http://www.w3.org/2000/svg",
772
- children: /* @__PURE__ */ jsx(
859
+ children: /* @__PURE__ */ jsx22(
773
860
  "path",
774
861
  {
775
862
  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",
@@ -783,10 +870,14 @@ var TestIcon = React29.forwardRef(
783
870
  );
784
871
  TestIcon.displayName = "Test";
785
872
  var test_default = TestIcon;
786
- var DiffIcon = React29.forwardRef(
873
+
874
+ // src/assets/diff.tsx
875
+ import React23 from "react";
876
+ import { jsx as jsx23, jsxs as jsxs6 } from "react/jsx-runtime";
877
+ var DiffIcon = React23.forwardRef(
787
878
  (_a, ref) => {
788
879
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
789
- return /* @__PURE__ */ jsxs(
880
+ return /* @__PURE__ */ jsxs6(
790
881
  "svg",
791
882
  __spreadProps(__spreadValues({
792
883
  ref,
@@ -796,8 +887,8 @@ var DiffIcon = React29.forwardRef(
796
887
  viewBox: "0 0 24 24",
797
888
  xmlns: "http://www.w3.org/2000/svg",
798
889
  children: [
799
- /* @__PURE__ */ jsx("path", { d: "M0 0h24v24H0z", fill: "none" }),
800
- /* @__PURE__ */ jsx(
890
+ /* @__PURE__ */ jsx23("path", { d: "M0 0h24v24H0z", fill: "none" }),
891
+ /* @__PURE__ */ jsx23(
801
892
  "path",
802
893
  {
803
894
  fill: themeSvgIconColor,
@@ -811,10 +902,14 @@ var DiffIcon = React29.forwardRef(
811
902
  );
812
903
  DiffIcon.displayName = "Diff";
813
904
  var diff_default = DiffIcon;
814
- var DPAIcon = React29.forwardRef(
905
+
906
+ // src/assets/dpa.tsx
907
+ import React24 from "react";
908
+ import { jsx as jsx24 } from "react/jsx-runtime";
909
+ var DPAIcon = React24.forwardRef(
815
910
  (_a, ref) => {
816
911
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
817
- return /* @__PURE__ */ jsx(
912
+ return /* @__PURE__ */ jsx24(
818
913
  "svg",
819
914
  __spreadProps(__spreadValues({
820
915
  ref,
@@ -823,7 +918,7 @@ var DPAIcon = React29.forwardRef(
823
918
  }, props), {
824
919
  viewBox: "0 0 24 24",
825
920
  xmlns: "http://www.w3.org/2000/svg",
826
- children: /* @__PURE__ */ jsx(
921
+ children: /* @__PURE__ */ jsx24(
827
922
  "path",
828
923
  {
829
924
  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",
@@ -836,10 +931,14 @@ var DPAIcon = React29.forwardRef(
836
931
  );
837
932
  DPAIcon.displayName = "DPA";
838
933
  var dpa_default = DPAIcon;
839
- var SubPIcon = React29.forwardRef(
934
+
935
+ // src/assets/subp.tsx
936
+ import React25 from "react";
937
+ import { jsx as jsx25 } from "react/jsx-runtime";
938
+ var SubPIcon = React25.forwardRef(
840
939
  (_a, ref) => {
841
940
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
842
- return /* @__PURE__ */ jsx(
941
+ return /* @__PURE__ */ jsx25(
843
942
  "svg",
844
943
  __spreadProps(__spreadValues({
845
944
  ref,
@@ -848,7 +947,7 @@ var SubPIcon = React29.forwardRef(
848
947
  }, props), {
849
948
  viewBox: "0 0 24 24",
850
949
  xmlns: "http://www.w3.org/2000/svg",
851
- children: /* @__PURE__ */ jsx(
950
+ children: /* @__PURE__ */ jsx25(
852
951
  "path",
853
952
  {
854
953
  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",
@@ -863,10 +962,14 @@ var SubPIcon = React29.forwardRef(
863
962
  );
864
963
  SubPIcon.displayName = "SubP";
865
964
  var subp_default = SubPIcon;
866
- var T3PIcon = React29.forwardRef(
965
+
966
+ // src/assets/t3p.tsx
967
+ import React26 from "react";
968
+ import { jsx as jsx26 } from "react/jsx-runtime";
969
+ var T3PIcon = React26.forwardRef(
867
970
  (_a, ref) => {
868
971
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
869
- return /* @__PURE__ */ jsx(
972
+ return /* @__PURE__ */ jsx26(
870
973
  "svg",
871
974
  __spreadProps(__spreadValues({
872
975
  ref,
@@ -875,7 +978,7 @@ var T3PIcon = React29.forwardRef(
875
978
  }, props), {
876
979
  viewBox: "0 0 24 24",
877
980
  xmlns: "http://www.w3.org/2000/svg",
878
- children: /* @__PURE__ */ jsx(
981
+ children: /* @__PURE__ */ jsx26(
879
982
  "path",
880
983
  {
881
984
  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",
@@ -888,10 +991,14 @@ var T3PIcon = React29.forwardRef(
888
991
  );
889
992
  T3PIcon.displayName = "T3P";
890
993
  var t3p_default = T3PIcon;
891
- var HttpIcon = React29.forwardRef(
994
+
995
+ // src/assets/http.tsx
996
+ import React27 from "react";
997
+ import { jsx as jsx27 } from "react/jsx-runtime";
998
+ var HttpIcon = React27.forwardRef(
892
999
  (_a, ref) => {
893
1000
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
894
- return /* @__PURE__ */ jsx(
1001
+ return /* @__PURE__ */ jsx27(
895
1002
  "svg",
896
1003
  __spreadProps(__spreadValues({
897
1004
  ref,
@@ -900,7 +1007,7 @@ var HttpIcon = React29.forwardRef(
900
1007
  }, props), {
901
1008
  viewBox: "0 0 1024 1024",
902
1009
  xmlns: "http://www.w3.org/2000/svg",
903
- children: /* @__PURE__ */ jsx(
1010
+ children: /* @__PURE__ */ jsx27(
904
1011
  "path",
905
1012
  {
906
1013
  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",
@@ -914,10 +1021,14 @@ var HttpIcon = React29.forwardRef(
914
1021
  );
915
1022
  HttpIcon.displayName = "Http";
916
1023
  var http_default = HttpIcon;
917
- var SchemeIcon = React29.forwardRef(
1024
+
1025
+ // src/assets/scheme.tsx
1026
+ import React28 from "react";
1027
+ import { jsx as jsx28 } from "react/jsx-runtime";
1028
+ var SchemeIcon = React28.forwardRef(
918
1029
  (_a, ref) => {
919
1030
  var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
920
- return /* @__PURE__ */ jsx(
1031
+ return /* @__PURE__ */ jsx28(
921
1032
  "svg",
922
1033
  __spreadProps(__spreadValues({
923
1034
  ref,
@@ -926,7 +1037,7 @@ var SchemeIcon = React29.forwardRef(
926
1037
  }, props), {
927
1038
  viewBox: "0 0 24 24",
928
1039
  xmlns: "http://www.w3.org/2000/svg",
929
- children: /* @__PURE__ */ jsx(
1040
+ children: /* @__PURE__ */ jsx28(
930
1041
  "path",
931
1042
  {
932
1043
  fill: themeSvgIconColor,
@@ -1054,6 +1165,90 @@ __export(limited_lucide_icons_exports, {
1054
1165
  X: () => X,
1055
1166
  Zap: () => Zap
1056
1167
  });
1168
+ import {
1169
+ AlbumIcon,
1170
+ AlignHorizontalJustifyEnd,
1171
+ ArrowLeft,
1172
+ ArrowRight,
1173
+ ArrowUp,
1174
+ Binary,
1175
+ Blocks,
1176
+ BookX,
1177
+ BringToFront,
1178
+ Building2,
1179
+ Bug,
1180
+ Car,
1181
+ Circle,
1182
+ CircleAlert,
1183
+ CircleSmall,
1184
+ Check,
1185
+ ChevronDown,
1186
+ ChevronLeft,
1187
+ ChevronRight,
1188
+ ChevronUp,
1189
+ Cpu,
1190
+ ComponentIcon,
1191
+ DatabaseZap,
1192
+ Dot,
1193
+ Download,
1194
+ Eye,
1195
+ ExternalLink,
1196
+ Facebook,
1197
+ FileLock2,
1198
+ Fingerprint,
1199
+ Gift,
1200
+ GitPullRequestArrow,
1201
+ Globe,
1202
+ GlobeLock,
1203
+ GripVertical,
1204
+ HandHeart,
1205
+ Handshake,
1206
+ Highlighter,
1207
+ HousePlus,
1208
+ Info,
1209
+ ImageDown,
1210
+ ImageOff,
1211
+ ImageUp,
1212
+ Keyboard,
1213
+ LandPlot,
1214
+ Layout,
1215
+ LayoutTemplate,
1216
+ LibraryIcon,
1217
+ Link,
1218
+ Loader2,
1219
+ LogIn,
1220
+ LogOut,
1221
+ MoreHorizontal,
1222
+ MousePointerClick,
1223
+ PanelLeft,
1224
+ PanelsTopLeft,
1225
+ Pencil,
1226
+ Pi,
1227
+ Palette,
1228
+ ReceiptText,
1229
+ Regex,
1230
+ Replace,
1231
+ Rss,
1232
+ Scale,
1233
+ Search,
1234
+ Share,
1235
+ ShieldUser,
1236
+ SquareDashedBottomCode,
1237
+ SquareTerminal,
1238
+ Server,
1239
+ SplinePointer,
1240
+ Sparkles,
1241
+ Star,
1242
+ Tablets,
1243
+ Terminal,
1244
+ Twitter,
1245
+ X,
1246
+ Zap
1247
+ } from "lucide-react";
1248
+
1249
+ // src/components/global-icon.tsx
1250
+ import React29 from "react";
1251
+ import { jsx as jsx29 } from "react/jsx-runtime";
1057
1252
  var tempStyledLimitedIcons = {};
1058
1253
  for (const iconNameKey in limited_lucide_icons_exports) {
1059
1254
  if (Object.prototype.hasOwnProperty.call(limited_lucide_icons_exports, iconNameKey)) {
@@ -1073,7 +1268,7 @@ for (const iconNameKey in limited_lucide_icons_exports) {
1073
1268
  height: props.size || themeSvgIconSize
1074
1269
  }, props.style)
1075
1270
  });
1076
- return /* @__PURE__ */ jsx(ComponentToRender, __spreadValues({}, finalProps));
1271
+ return /* @__PURE__ */ jsx29(ComponentToRender, __spreadValues({}, finalProps));
1077
1272
  };
1078
1273
  StyledIcon.displayName = `Styled(${iconName})`;
1079
1274
  tempStyledLimitedIcons[iconName] = StyledIcon;
@@ -1097,46 +1292,521 @@ for (const [iconName, IconComponent] of Object.entries(BUILTIN_ICON_COMPONENTS))
1097
1292
  height: props.size || themeSvgIconSize
1098
1293
  }, props.style)
1099
1294
  });
1100
- return /* @__PURE__ */ jsx(IconComponent, __spreadValues({}, finalProps));
1295
+ return /* @__PURE__ */ jsx29(IconComponent, __spreadValues({}, finalProps));
1101
1296
  };
1102
1297
  WrappedIcon.displayName = `Wrapped(${iconName})`;
1103
1298
  tempWrappedBuiltinIcons[iconName] = WrappedIcon;
1104
1299
  }
1105
1300
  var wrappedBuiltinIconsPart = tempWrappedBuiltinIcons;
1106
1301
  var globalLucideIcons = __spreadValues(__spreadValues({}, styledLimitedIconsPart), wrappedBuiltinIconsPart);
1107
- var DEFAULT_FALLBACK_ICON = "BTC";
1108
- function getGlobalIcon(iconKey, createElement) {
1109
- var _a;
1110
- if (!iconKey) {
1111
- if (createElement) {
1112
- return void 0;
1302
+ var NotFoundIcon = () => /* @__PURE__ */ jsx29(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}` });
1303
+
1304
+ // src/components/404-page.tsx
1305
+ import { useEffect, useState } from "react";
1306
+ import { jsx as jsx30, jsxs as jsxs7 } from "react/jsx-runtime";
1307
+ function NotFoundPage({ siteIcon }) {
1308
+ const [glitchText, setGlitchText] = useState("404");
1309
+ useEffect(() => {
1310
+ const glitchChars = ["4", "0", "4", "?", "#", "!", "*", "&", "%", "$"];
1311
+ const interval = setInterval(() => {
1312
+ if (Math.random() < 0.5) {
1313
+ setGlitchText("404");
1314
+ } else {
1315
+ const randomChars = Array.from(
1316
+ { length: 3 },
1317
+ () => glitchChars[Math.floor(Math.random() * glitchChars.length)]
1318
+ ).join("");
1319
+ setGlitchText(randomChars);
1320
+ }
1321
+ }, 600);
1322
+ return () => clearInterval(interval);
1323
+ }, []);
1324
+ return /* @__PURE__ */ jsxs7("div", { className: "flex flex-col items-center justify-center min-h-[75vh] w-full px-4 py-8", children: [
1325
+ /* @__PURE__ */ jsxs7("div", { className: "text-center space-y-8 max-w-2xl", children: [
1326
+ /* @__PURE__ */ jsxs7("div", { className: "relative flex justify-center", children: [
1327
+ /* @__PURE__ */ jsx30(
1328
+ "h1",
1329
+ {
1330
+ 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",
1331
+ style: {
1332
+ fontFamily: "Montserrat, monospace",
1333
+ textShadow: "0 0 30px rgba(172, 98, 253, 0.3)",
1334
+ letterSpacing: "0.1em"
1335
+ },
1336
+ children: glitchText
1337
+ }
1338
+ ),
1339
+ /* @__PURE__ */ jsx30("div", { className: "absolute inset-0 pointer-events-none", children: /* @__PURE__ */ jsx30("div", { className: "h-full w-full bg-gradient-to-b from-transparent via-purple-500/10 to-transparent animate-pulse" }) })
1340
+ ] }),
1341
+ /* @__PURE__ */ jsxs7("div", { className: "space-y-4", children: [
1342
+ /* @__PURE__ */ jsx30("h2", { className: "text-2xl md:text-3xl font-semibold text-foreground", children: "Page Not Found" }),
1343
+ /* @__PURE__ */ jsx30("p", { className: "text-lg text-muted-foreground max-w-md mx-auto leading-relaxed", children: "The page you're looking for doesn't exist" })
1344
+ ] }),
1345
+ /* @__PURE__ */ jsxs7("div", { className: "flex justify-center items-center gap-8 pt-8 opacity-60", children: [
1346
+ /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
1347
+ siteIcon,
1348
+ /* @__PURE__ */ jsx30("span", { children: "Woops!" })
1349
+ ] }),
1350
+ /* @__PURE__ */ jsx30("div", { className: "w-1 h-1 bg-purple-500 rounded-full animate-ping" }),
1351
+ /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
1352
+ /* @__PURE__ */ jsx30(NotFoundIcon, {}),
1353
+ /* @__PURE__ */ jsx30("span", { children: "Error Code: 404" })
1354
+ ] })
1355
+ ] })
1356
+ ] }),
1357
+ /* @__PURE__ */ jsxs7("div", { className: "fixed inset-0 pointer-events-none overflow-hidden -z-10", children: [
1358
+ /* @__PURE__ */ jsx30(
1359
+ "div",
1360
+ {
1361
+ className: "absolute inset-0 opacity-[0.02] dark:opacity-[0.05]",
1362
+ style: {
1363
+ backgroundImage: `
1364
+ linear-gradient(rgba(172, 98, 253, 0.1) 1px, transparent 1px),
1365
+ linear-gradient(90deg, rgba(172, 98, 253, 0.1) 1px, transparent 1px)
1366
+ `,
1367
+ backgroundSize: "50px 50px"
1368
+ }
1369
+ }
1370
+ ),
1371
+ Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsx30(
1372
+ "div",
1373
+ {
1374
+ className: "absolute w-2 h-2 bg-purple-500/20 rounded-full animate-bounce",
1375
+ style: {
1376
+ left: `${20 + i * 15}%`,
1377
+ top: `${30 + i % 3 * 20}%`,
1378
+ animationDelay: `${i * 0.5}s`,
1379
+ animationDuration: `${2 + i * 0.3}s`
1380
+ }
1381
+ },
1382
+ i
1383
+ ))
1384
+ ] })
1385
+ ] });
1386
+ }
1387
+
1388
+ // src/components/go-to-top.tsx
1389
+ import { useState as useState2, useEffect as useEffect2 } from "react";
1390
+ import { Fragment, jsx as jsx31 } from "react/jsx-runtime";
1391
+
1392
+ // src/components/language-detector.tsx
1393
+ import { useLocale, useTranslations } from "next-intl";
1394
+ import { useRouter } from "next/navigation";
1395
+ import { useEffect as useEffect3, useState as useState3 } from "react";
1396
+ import { jsx as jsx32, jsxs as jsxs8 } from "react/jsx-runtime";
1397
+ function LanguageDetector({ i18nConfig }) {
1398
+ const [show, setShow] = useState3(false);
1399
+ const [detectedLocale, setDetectedLocale] = useState3(null);
1400
+ const currentLocale = useLocale();
1401
+ const router = useRouter();
1402
+ const t = useTranslations("languageDetection");
1403
+ const LANGUAGE_PREFERENCE_KEY = `${i18nConfig.detector.storagePrefix}-${i18nConfig.detector.storageKey}`;
1404
+ useEffect3(() => {
1405
+ const browserLang = navigator.language.split("-")[0];
1406
+ const savedPreference = localStorage.getItem(LANGUAGE_PREFERENCE_KEY);
1407
+ const preference = savedPreference ? JSON.parse(savedPreference) : null;
1408
+ const shouldShowDetector = () => {
1409
+ if (!preference) return true;
1410
+ if (preference.locale === currentLocale) return false;
1411
+ if (preference.status === "rejected" && preference.locale === browserLang) return false;
1412
+ if (preference.status === "accepted" && preference.locale === currentLocale) return false;
1413
+ const expirationMs = i18nConfig.detector.expirationDays * 24 * 60 * 60 * 1e3;
1414
+ if (Date.now() - preference.timestamp < expirationMs) return false;
1415
+ return true;
1416
+ };
1417
+ if (i18nConfig.locales.includes(browserLang) && browserLang !== currentLocale && shouldShowDetector()) {
1418
+ setDetectedLocale(browserLang);
1419
+ setShow(true);
1420
+ const timer = setTimeout(() => {
1421
+ console.log("[LanguageDetector] Auto closing after timeout");
1422
+ setShow(false);
1423
+ savePreference(browserLang, "rejected");
1424
+ }, i18nConfig.detector.autoCloseTimeout);
1425
+ return () => clearTimeout(timer);
1113
1426
  }
1114
- return globalLucideIcons[DEFAULT_FALLBACK_ICON];
1115
- }
1116
- const Icon = globalLucideIcons[iconKey];
1117
- if (!Icon) {
1118
- if (typeof process !== "undefined" && ((_a = process.env) == null ? void 0 : _a.NODE_ENV) !== "production") {
1119
- console.warn(
1120
- `[global-icon] iconKey "${iconKey}" is not defined in globalIcons, will use default "${String(DEFAULT_FALLBACK_ICON)}" icon, please check!`
1121
- );
1427
+ }, [currentLocale]);
1428
+ const savePreference = (locale, status) => {
1429
+ const preference = {
1430
+ locale,
1431
+ status,
1432
+ timestamp: Date.now()
1433
+ };
1434
+ localStorage.setItem(LANGUAGE_PREFERENCE_KEY, JSON.stringify(preference));
1435
+ };
1436
+ const handleLanguageChange = () => {
1437
+ if (detectedLocale) {
1438
+ savePreference(detectedLocale, "accepted");
1439
+ const pathname = window.location.pathname;
1440
+ const newPathname = pathname.replace(`/${currentLocale}`, `/${detectedLocale}`);
1441
+ router.push(newPathname);
1442
+ setShow(false);
1122
1443
  }
1123
- const FallbackIcon = globalLucideIcons[DEFAULT_FALLBACK_ICON];
1124
- if (createElement) {
1125
- return React29.createElement(FallbackIcon);
1444
+ };
1445
+ const handleClose = () => {
1446
+ if (detectedLocale) {
1447
+ savePreference(detectedLocale, "rejected");
1126
1448
  }
1127
- return FallbackIcon;
1449
+ setShow(false);
1450
+ };
1451
+ if (!detectedLocale || !show) return null;
1452
+ return /* @__PURE__ */ jsx32("div", { className: "fixed top-16 right-4 z-40 w-[420px]", children: /* @__PURE__ */ jsx32("div", { className: `shadow-lg rounded-lg transition-all duration-300 ${show ? "translate-x-0 opacity-100" : "translate-x-full opacity-0"}
1453
+ bg-linear-to-r from-purple-100/95 via-white/95 to-purple-100/95 backdrop-blur-xs
1454
+ animate-gradient-x`, children: /* @__PURE__ */ jsxs8("div", { className: "relative px-6 py-4 overflow-hidden", children: [
1455
+ /* @__PURE__ */ jsxs8("div", { className: "relative z-10 flex flex-col gap-3", children: [
1456
+ /* @__PURE__ */ jsxs8("div", { className: "flex items-start justify-between gap-4", children: [
1457
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-col gap-1.5", children: [
1458
+ /* @__PURE__ */ jsx32("h3", { className: "text-lg font-semibold text-gray-900", children: t("title") }),
1459
+ /* @__PURE__ */ jsxs8("p", { className: "text-base text-gray-600", children: [
1460
+ t("description"),
1461
+ " ",
1462
+ /* @__PURE__ */ jsx32("span", { className: "text-purple-500 font-semibold", children: detectedLocale === "zh" ? "\u4E2D\u6587" : "English" }),
1463
+ "?"
1464
+ ] })
1465
+ ] }),
1466
+ /* @__PURE__ */ jsx32(
1467
+ "button",
1468
+ {
1469
+ onClick: handleClose,
1470
+ className: "text-gray-500 hover:text-gray-700",
1471
+ children: /* @__PURE__ */ jsx32(globalLucideIcons.X, { className: "h-5 w-5" })
1472
+ }
1473
+ )
1474
+ ] }),
1475
+ /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-3", children: [
1476
+ /* @__PURE__ */ jsx32(
1477
+ "button",
1478
+ {
1479
+ onClick: handleClose,
1480
+ className: "flex-1 px-4 py-2 text-base bg-gray-100 text-gray-600 rounded-md hover:bg-gray-200",
1481
+ children: t("close")
1482
+ }
1483
+ ),
1484
+ /* @__PURE__ */ jsx32(
1485
+ "button",
1486
+ {
1487
+ onClick: handleLanguageChange,
1488
+ className: "flex-1 px-4 py-2 text-base bg-purple-500 text-white rounded-md hover:bg-purple-600",
1489
+ children: t("changeAction")
1490
+ }
1491
+ )
1492
+ ] })
1493
+ ] }),
1494
+ /* @__PURE__ */ jsx32("div", { className: "absolute inset-0 bg-linear-to-r from-transparent via-purple-200/30 to-transparent animate-shimmer" })
1495
+ ] }) }) });
1496
+ }
1497
+
1498
+ // src/components/language-switcher.tsx
1499
+ import { usePathname, useRouter as useRouter2 } from "next/navigation";
1500
+ import { useLocale as useLocale2 } from "next-intl";
1501
+
1502
+ // src/ui/dropdown-menu.tsx
1503
+ import * as React30 from "react";
1504
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1505
+
1506
+ // ../lib/src/utils.ts
1507
+ import { clsx } from "clsx";
1508
+ import { twMerge } from "tailwind-merge";
1509
+ function cn(...inputs) {
1510
+ return twMerge(clsx(inputs));
1511
+ }
1512
+
1513
+ // src/ui/dropdown-menu.tsx
1514
+ import { jsx as jsx33, jsxs as jsxs9 } from "react/jsx-runtime";
1515
+ var DropdownMenu = DropdownMenuPrimitive.Root;
1516
+ var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
1517
+ var DropdownMenuSubTrigger = React30.forwardRef((_a, ref) => {
1518
+ var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
1519
+ return /* @__PURE__ */ jsxs9(
1520
+ DropdownMenuPrimitive.SubTrigger,
1521
+ __spreadProps(__spreadValues({
1522
+ ref,
1523
+ className: cn(
1524
+ "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",
1525
+ inset && "pl-8",
1526
+ className
1527
+ )
1528
+ }, props), {
1529
+ children: [
1530
+ children,
1531
+ /* @__PURE__ */ jsx33(globalLucideIcons.ChevronRight, { className: "ml-auto" })
1532
+ ]
1533
+ })
1534
+ );
1535
+ });
1536
+ DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
1537
+ var DropdownMenuSubContent = React30.forwardRef((_a, ref) => {
1538
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1539
+ return /* @__PURE__ */ jsx33(
1540
+ DropdownMenuPrimitive.SubContent,
1541
+ __spreadValues({
1542
+ ref,
1543
+ className: cn(
1544
+ "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",
1545
+ className
1546
+ )
1547
+ }, props)
1548
+ );
1549
+ });
1550
+ DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
1551
+ var DropdownMenuContent = React30.forwardRef((_a, ref) => {
1552
+ var _b = _a, { className, sideOffset = 4 } = _b, props = __objRest(_b, ["className", "sideOffset"]);
1553
+ return /* @__PURE__ */ jsx33(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx33(
1554
+ DropdownMenuPrimitive.Content,
1555
+ __spreadValues({
1556
+ ref,
1557
+ sideOffset,
1558
+ className: cn(
1559
+ "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",
1560
+ className
1561
+ )
1562
+ }, props)
1563
+ ) });
1564
+ });
1565
+ DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1566
+ var DropdownMenuItem = React30.forwardRef((_a, ref) => {
1567
+ var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
1568
+ return /* @__PURE__ */ jsx33(
1569
+ DropdownMenuPrimitive.Item,
1570
+ __spreadValues({
1571
+ ref,
1572
+ className: cn(
1573
+ "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",
1574
+ inset && "pl-8",
1575
+ className
1576
+ )
1577
+ }, props)
1578
+ );
1579
+ });
1580
+ DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1581
+ var DropdownMenuCheckboxItem = React30.forwardRef((_a, ref) => {
1582
+ var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
1583
+ return /* @__PURE__ */ jsxs9(
1584
+ DropdownMenuPrimitive.CheckboxItem,
1585
+ __spreadProps(__spreadValues({
1586
+ ref,
1587
+ className: cn(
1588
+ "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",
1589
+ className
1590
+ ),
1591
+ checked
1592
+ }, props), {
1593
+ children: [
1594
+ /* @__PURE__ */ jsx33("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx33(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx33(globalLucideIcons.Check, { className: "h-4 w-4" }) }) }),
1595
+ children
1596
+ ]
1597
+ })
1598
+ );
1599
+ });
1600
+ DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1601
+ var DropdownMenuRadioItem = React30.forwardRef((_a, ref) => {
1602
+ var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
1603
+ return /* @__PURE__ */ jsxs9(
1604
+ DropdownMenuPrimitive.RadioItem,
1605
+ __spreadProps(__spreadValues({
1606
+ ref,
1607
+ className: cn(
1608
+ "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",
1609
+ className
1610
+ )
1611
+ }, props), {
1612
+ children: [
1613
+ /* @__PURE__ */ jsx33("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx33(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx33(globalLucideIcons.Circle, { className: "h-2 w-2 fill-current" }) }) }),
1614
+ children
1615
+ ]
1616
+ })
1617
+ );
1618
+ });
1619
+ DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1620
+ var DropdownMenuLabel = React30.forwardRef((_a, ref) => {
1621
+ var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
1622
+ return /* @__PURE__ */ jsx33(
1623
+ DropdownMenuPrimitive.Label,
1624
+ __spreadValues({
1625
+ ref,
1626
+ className: cn(
1627
+ "px-2 py-1.5 text-sm font-semibold",
1628
+ inset && "pl-8",
1629
+ className
1630
+ )
1631
+ }, props)
1632
+ );
1633
+ });
1634
+ DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1635
+ var DropdownMenuSeparator = React30.forwardRef((_a, ref) => {
1636
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1637
+ return /* @__PURE__ */ jsx33(
1638
+ DropdownMenuPrimitive.Separator,
1639
+ __spreadValues({
1640
+ ref,
1641
+ className: cn("-mx-1 my-1 h-px bg-muted", className)
1642
+ }, props)
1643
+ );
1644
+ });
1645
+ DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
1646
+ var DropdownMenuShortcut = (_a) => {
1647
+ var _b = _a, {
1648
+ className
1649
+ } = _b, props = __objRest(_b, [
1650
+ "className"
1651
+ ]);
1652
+ return /* @__PURE__ */ jsx33(
1653
+ "span",
1654
+ __spreadValues({
1655
+ className: cn("ml-auto text-xs tracking-widest opacity-60", className)
1656
+ }, props)
1657
+ );
1658
+ };
1659
+ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1660
+
1661
+ // src/ui/language-button.tsx
1662
+ import * as React31 from "react";
1663
+ import { jsx as jsx34 } from "react/jsx-runtime";
1664
+ var LanguageButton = React31.forwardRef(
1665
+ (_a, ref) => {
1666
+ var _b = _a, { className, variant = "default", size = "default" } = _b, props = __objRest(_b, ["className", "variant", "size"]);
1667
+ return /* @__PURE__ */ jsx34(
1668
+ "button",
1669
+ __spreadValues({
1670
+ className: cn(
1671
+ "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",
1672
+ {
1673
+ "bg-primary text-primary-foreground hover:bg-primary/90": variant === "default",
1674
+ "hover:bg-accent hover:text-accent-foreground": variant === "ghost",
1675
+ "h-10 px-4 py-2": size === "default",
1676
+ "h-9 px-3": size === "sm",
1677
+ "h-11 px-8": size === "lg",
1678
+ "h-10 w-10": size === "icon"
1679
+ },
1680
+ className
1681
+ ),
1682
+ ref
1683
+ }, props)
1684
+ );
1128
1685
  }
1129
- if (createElement) {
1130
- return React29.createElement(Icon);
1686
+ );
1687
+ LanguageButton.displayName = "Button";
1688
+
1689
+ // src/components/language-switcher.tsx
1690
+ import { jsx as jsx35, jsxs as jsxs10 } from "react/jsx-runtime";
1691
+ function LanguageSwitcher({ locales, localeLabels }) {
1692
+ const locale = useLocale2();
1693
+ const router = useRouter2();
1694
+ const pathname = usePathname();
1695
+ const handleLocaleChange = (newLocale) => {
1696
+ const newPathname = pathname.replace(`/${locale}`, `/${newLocale}`);
1697
+ router.push(newPathname);
1698
+ };
1699
+ return /* @__PURE__ */ jsxs10(DropdownMenu, { children: [
1700
+ /* @__PURE__ */ jsx35(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx35(
1701
+ LanguageButton,
1702
+ {
1703
+ variant: "ghost",
1704
+ size: "icon",
1705
+ 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",
1706
+ children: /* @__PURE__ */ jsx35(globalLucideIcons.Globe, { className: "h-5 w-5" })
1707
+ }
1708
+ ) }),
1709
+ /* @__PURE__ */ jsx35(
1710
+ DropdownMenuContent,
1711
+ {
1712
+ align: "end",
1713
+ sideOffset: 5,
1714
+ 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]",
1715
+ children: /* @__PURE__ */ jsx35("div", { className: "grid grid-cols-2 gap-1", children: locales.map((loc) => /* @__PURE__ */ jsx35(
1716
+ DropdownMenuItem,
1717
+ {
1718
+ className: `
1719
+ px-2 py-2 text-sm cursor-pointer text-center justify-center
1720
+ transition-all duration-300 ease-in-out
1721
+ hover:scale-105 hover:shadow-md
1722
+ rounded-md whitespace-nowrap
1723
+ ${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"}
1724
+ `,
1725
+ onClick: () => handleLocaleChange(loc),
1726
+ children: localeLabels[loc]
1727
+ },
1728
+ loc
1729
+ )) })
1730
+ }
1731
+ )
1732
+ ] });
1733
+ }
1734
+
1735
+ // src/components/script/google-analytics-script.tsx
1736
+ import Script from "next/script";
1737
+ import { Fragment as Fragment2, jsx as jsx36, jsxs as jsxs11 } from "react/jsx-runtime";
1738
+ var googleAnalyticsId = process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID;
1739
+ function GoogleAnalyticsScript() {
1740
+ if (process.env.NODE_ENV !== "production") {
1741
+ return null;
1131
1742
  }
1132
- return Icon;
1743
+ return /* @__PURE__ */ jsxs11(Fragment2, { children: [
1744
+ /* @__PURE__ */ jsx36(
1745
+ Script,
1746
+ {
1747
+ strategy: "afterInteractive",
1748
+ src: `https://www.googletagmanager.com/gtag/js?id=${googleAnalyticsId}`
1749
+ }
1750
+ ),
1751
+ /* @__PURE__ */ jsx36(
1752
+ Script,
1753
+ {
1754
+ id: "google-analytics",
1755
+ strategy: "afterInteractive",
1756
+ dangerouslySetInnerHTML: {
1757
+ __html: `
1758
+ window.dataLayer = window.dataLayer || [];
1759
+ function gtag(){dataLayer.push(arguments);}
1760
+ gtag('js', new Date());
1761
+ gtag('config', '${googleAnalyticsId}');
1762
+ `
1763
+ }
1764
+ }
1765
+ )
1766
+ ] });
1133
1767
  }
1134
- function getIconElement(icon) {
1135
- return getGlobalIcon(icon, true);
1768
+ function useGoogleAnalytics() {
1769
+ const trackEvent = (event, data) => {
1770
+ if (typeof window === "undefined" || !window.gtag) {
1771
+ return;
1772
+ }
1773
+ window.gtag("event", event, data);
1774
+ };
1775
+ return {
1776
+ trackEvent
1777
+ };
1136
1778
  }
1137
- var DefaultSiteIcon = () => /* @__PURE__ */ jsx(globalLucideIcons.Zap, { className: `h-8 w-8 rounded-full p-1 shadow-lg ring-0.5 border border-purple-500 ring-purple-500/20 ${themeIconColor}` });
1138
- var NotFoundIcon = () => /* @__PURE__ */ 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}` });
1139
1779
 
1140
- export { DefaultSiteIcon, NotFoundIcon, getGlobalIcon, getIconElement, globalLucideIcons };
1141
- //# sourceMappingURL=index.mjs.map
1780
+ // src/components/script/microsoft-clarity-script.tsx
1781
+ import Script2 from "next/script";
1782
+ import { jsx as jsx37 } from "react/jsx-runtime";
1783
+ var microsoftClarityId = process.env.NEXT_PUBLIC_MICROSOFT_CLARITY_ID;
1784
+ function MicrosoftClarityScript() {
1785
+ if (process.env.NODE_ENV !== "production") {
1786
+ return null;
1787
+ }
1788
+ return /* @__PURE__ */ jsx37(Script2, { id: "microsoft-clarity", strategy: "afterInteractive", children: `
1789
+ (function(c,l,a,r,i,t,y){
1790
+ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
1791
+ t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
1792
+ y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
1793
+ })(window, document, "clarity", "script", "${microsoftClarityId}");
1794
+ ` });
1795
+ }
1796
+ export {
1797
+ GoogleAnalyticsScript,
1798
+ LanguageDetector,
1799
+ LanguageSwitcher,
1800
+ MicrosoftClarityScript,
1801
+ NotFoundPage,
1802
+ useGoogleAnalytics
1803
+ };
1804
+ /**
1805
+ * @license
1806
+ * MIT License
1807
+ * Copyright (c) 2025 D8ger
1808
+ *
1809
+ * This source code is licensed under the MIT license found in the
1810
+ * LICENSE file in the root directory of this source tree.
1811
+ */
1142
1812
  //# sourceMappingURL=index.mjs.map