@floegence/floe-webapp-core 0.36.62 → 0.36.64

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.
@@ -1,7 +1,7 @@
1
- import { createComponent as i, Dynamic as Y, insert as h, effect as m, className as q, setAttribute as c, template as g, setStyleProperty as F } from "solid-js/web";
2
- import { Show as C, createUniqueId as K } from "solid-js";
3
- var U = /* @__PURE__ */ g('<svg><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></svg>', !1, !0, !1), W = /* @__PURE__ */ g('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"><path fill=none stroke-width=1.5 stroke-linecap=round stroke-linejoin=round d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline fill=none stroke-width=1.5 stroke-linecap=round stroke-linejoin=round points="14 2 14 8 20 8">'), J = /* @__PURE__ */ g('<svg><path fill=none stroke=var(--error) stroke-width=1.35 stroke-linecap=round d="M15.9 15.9 20.1 20.1"></svg>', !1, !0, !1), Q = /* @__PURE__ */ g('<svg><g data-file-link-kind=symbolic><circle cx=18 cy=18 r=4 stroke-width=1></circle><path fill=none stroke-width=1.2 stroke-linecap=round stroke-linejoin=round d="M15.8 18h3.4m0 0-1.4-1.4m1.4 1.4-1.4 1.4"></svg>', !1, !0, !1), Z = /* @__PURE__ */ g('<svg><path fill=var(--background) opacity=0.3 d="M3 8l4-3h14l-4 3H3z"></svg>', !1, !0, !1), ee = /* @__PURE__ */ g('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"><defs><linearGradient x1=0% y1=0% x2=0% y2=100%><stop offset=0% style=stop-color:var(--warning);stop-opacity:1></stop><stop offset=100% style=stop-opacity:1></stop></linearGradient></defs><path>'), te = /* @__PURE__ */ g('<svg><path fill=none stroke=var(--info) stroke-width=1.5 stroke-linecap=round stroke-linejoin=round d="m10 13-2 2 2 2m4-4 2 2-2 2"></svg>', !1, !0, !1), ne = /* @__PURE__ */ g('<svg><g><rect x=5 y=13.5 width=14 height=5.75 rx=1.8 opacity=0.12 stroke-width=1></rect><text x=12 y=17.45 font-weight=700 text-anchor=middle style="font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace"></svg>', !1, !0, !1), re = /* @__PURE__ */ g("<svg><circle cx=10 cy=13 r=2 fill=var(--success)></svg>", !1, !0, !1), oe = /* @__PURE__ */ g('<svg><path fill=none stroke=var(--success) stroke-width=1.5 stroke-linecap=round stroke-linejoin=round d="m20 17-3-3-4 4-2-2-5 3"></svg>', !1, !0, !1), le = /* @__PURE__ */ g("<svg><line x1=8 y1=13 x2=16 y2=13 stroke=var(--error) stroke-width=1.5 stroke-linecap=round></svg>", !1, !0, !1), se = /* @__PURE__ */ g("<svg><line x1=8 y1=17 x2=14 y2=17 stroke=var(--error) stroke-width=1.5 stroke-linecap=round></svg>", !1, !0, !1), ie = /* @__PURE__ */ g('<svg><path fill=none stroke=var(--warning) stroke-width=1.5 stroke-linecap=round stroke-linejoin=round d="M10 12v4h2m-2-4h2l2 4"></svg>', !1, !0, !1), ae = /* @__PURE__ */ g('<svg><path fill=none stroke=var(--primary) stroke-width=1.5 stroke-linecap=round stroke-linejoin=round d="M9 14h6m-3-3v6"></svg>', !1, !0, !1), ce = /* @__PURE__ */ g("<span>");
4
- const fe = /* @__PURE__ */ new Set(["png", "jpg", "jpeg", "gif", "svg", "webp", "ico", "bmp"]), de = /* @__PURE__ */ new Set(["pdf", "doc", "docx", "xls", "xlsx", "ppt", "pptx", "txt", "md", "rtf"]), ge = /* @__PURE__ */ new Set(["json", "yaml", "yml", "toml", "xml", "ini", "env", "config", "cfg", "conf", "properties"]), ue = /* @__PURE__ */ new Set(["css", "scss", "sass", "less", "styl"]), ve = /* @__PURE__ */ new Set(["clj", "cljs", "cljc", "coffee", "elm", "erl", "ex", "exs", "haml", "handlebars", "hbs", "heex", "hrl", "jinja", "jinja2", "jl", "lisp", "liquid", "m", "mm", "ml", "mli", "nim", "proto", "slim", "twig", "zig"]), Ee = {
1
+ import { createComponent as l, Dynamic as U, insert as h, effect as k, className as Y, setAttribute as c, template as g, setStyleProperty as F } from "solid-js/web";
2
+ import { Show as C, createUniqueId as q } from "solid-js";
3
+ var K = /* @__PURE__ */ g('<svg><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></svg>', !1, !0, !1), W = /* @__PURE__ */ g('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"><path fill=none stroke-width=1.5 stroke-linecap=round stroke-linejoin=round d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline fill=none stroke-width=1.5 stroke-linecap=round stroke-linejoin=round points="14 2 14 8 20 8">'), J = /* @__PURE__ */ g('<svg><path fill=none stroke=var(--error) stroke-width=1.35 stroke-linecap=round d="M15.9 15.9 20.1 20.1"></svg>', !1, !0, !1), Q = /* @__PURE__ */ g('<svg><g data-file-link-kind=symbolic><circle cx=18 cy=18 r=4 stroke-width=1></circle><path fill=none stroke-width=1.2 stroke-linecap=round stroke-linejoin=round d="M15.8 18h3.4m0 0-1.4-1.4m1.4 1.4-1.4 1.4"></svg>', !1, !0, !1), Z = /* @__PURE__ */ g('<svg><path fill=var(--background) opacity=0.3 d="M3 8l4-3h14l-4 3H3z"></svg>', !1, !0, !1), ee = /* @__PURE__ */ g('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"><defs><linearGradient x1=0% y1=0% x2=0% y2=100%><stop offset=0% style=stop-color:var(--warning);stop-opacity:1></stop><stop offset=100% style=stop-opacity:1></stop></linearGradient></defs><path>'), te = /* @__PURE__ */ g('<svg><path fill=none stroke=var(--info) stroke-width=1.5 stroke-linecap=round stroke-linejoin=round d="m10 13-2 2 2 2m4-4 2 2-2 2"></svg>', !1, !0, !1), ne = /* @__PURE__ */ g('<svg><g><rect x=5 y=13.5 width=14 height=5.75 rx=1.8 opacity=0.12 stroke-width=1></rect><text x=12 y=17.45 font-weight=700 text-anchor=middle style="font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace"></svg>', !1, !0, !1), re = /* @__PURE__ */ g("<svg><circle cx=10 cy=13 r=2 fill=var(--success)></svg>", !1, !0, !1), oe = /* @__PURE__ */ g('<svg><path fill=none stroke=var(--success) stroke-width=1.5 stroke-linecap=round stroke-linejoin=round d="m20 17-3-3-4 4-2-2-5 3"></svg>', !1, !0, !1), le = /* @__PURE__ */ g('<svg><g data-file-icon-kind=video><rect x=6.75 y=12 width=10.5 height=6.25 rx=1.5 fill=var(--primary) opacity=0.12 stroke=var(--primary) stroke-width=1.2></rect><path fill=var(--primary) d="M10.75 13.7v2.85a.45.45 0 0 0 .68.39l2.45-1.43a.45.45 0 0 0 0-.78l-2.45-1.42a.45.45 0 0 0-.68.39z"></path><line x1=8 y1=19.5 x2=16 y2=19.5 stroke=var(--primary) stroke-width=1.2 stroke-linecap=round opacity=0.72></svg>', !1, !0, !1), se = /* @__PURE__ */ g('<svg><g data-file-icon-kind=audio><path fill=none stroke=var(--info) stroke-width=1.45 stroke-linecap=round stroke-linejoin=round d="M9 16.25v-5.2l5.5-1.15v5.15"></path><ellipse cx=8.2 cy=17.2 rx=1.75 ry=1.25 fill=var(--info) opacity=0.2 stroke=var(--info) stroke-width=1.1></ellipse><ellipse cx=13.7 cy=16 rx=1.75 ry=1.25 fill=var(--info) opacity=0.2 stroke=var(--info) stroke-width=1.1></svg>', !1, !0, !1), ie = /* @__PURE__ */ g("<svg><line x1=8 y1=13 x2=16 y2=13 stroke=var(--error) stroke-width=1.5 stroke-linecap=round></svg>", !1, !0, !1), ae = /* @__PURE__ */ g("<svg><line x1=8 y1=17 x2=14 y2=17 stroke=var(--error) stroke-width=1.5 stroke-linecap=round></svg>", !1, !0, !1), ce = /* @__PURE__ */ g('<svg><path fill=none stroke=var(--warning) stroke-width=1.5 stroke-linecap=round stroke-linejoin=round d="M10 12v4h2m-2-4h2l2 4"></svg>', !1, !0, !1), fe = /* @__PURE__ */ g('<svg><path fill=none stroke=var(--primary) stroke-width=1.5 stroke-linecap=round stroke-linejoin=round d="M9 14h6m-3-3v6"></svg>', !1, !0, !1), de = /* @__PURE__ */ g("<span>");
4
+ const ge = /* @__PURE__ */ new Set(["png", "jpg", "jpeg", "gif", "svg", "webp", "ico", "bmp"]), ue = /* @__PURE__ */ new Set(["mp4", "webm", "mov", "m4v", "ogv", "mkv"]), ve = /* @__PURE__ */ new Set(["mp3", "m4a", "aac", "wav", "ogg", "oga", "opus", "flac"]), Ee = /* @__PURE__ */ new Set(["pdf", "doc", "docx", "xls", "xlsx", "ppt", "pptx", "txt", "md", "rtf"]), he = /* @__PURE__ */ new Set(["json", "yaml", "yml", "toml", "xml", "ini", "env", "config", "cfg", "conf", "properties"]), ke = /* @__PURE__ */ new Set(["css", "scss", "sass", "less", "styl"]), me = /* @__PURE__ */ new Set(["clj", "cljs", "cljc", "coffee", "elm", "erl", "ex", "exs", "haml", "handlebars", "hbs", "heex", "hrl", "jinja", "jinja2", "jl", "lisp", "liquid", "m", "mm", "ml", "mli", "nim", "proto", "slim", "twig", "zig"]), Se = {
5
5
  warning: "var(--warning)",
6
6
  primary: "var(--primary)",
7
7
  info: "var(--info)",
@@ -14,153 +14,153 @@ const fe = /* @__PURE__ */ new Set(["png", "jpg", "jpeg", "gif", "svg", "webp",
14
14
  }, L = {
15
15
  label: "TS",
16
16
  tone: "primary"
17
- }, x = {
17
+ }, w = {
18
18
  label: "SH",
19
19
  tone: "success"
20
- }, he = {
20
+ }, _e = {
21
21
  label: "PY",
22
22
  tone: "info"
23
23
  }, M = {
24
24
  label: "RB",
25
25
  tone: "error"
26
- }, me = {
26
+ }, pe = {
27
27
  label: "GO",
28
28
  tone: "info"
29
- }, ke = {
29
+ }, ye = {
30
30
  label: "RS",
31
31
  tone: "error"
32
- }, Se = {
32
+ }, be = {
33
33
  label: "JAVA",
34
34
  tone: "warning"
35
- }, _e = {
35
+ }, Ce = {
36
36
  label: "KT",
37
37
  tone: "primary"
38
- }, be = {
38
+ }, Ae = {
39
39
  label: "SC",
40
40
  tone: "error"
41
- }, pe = {
41
+ }, xe = {
42
42
  label: "C",
43
43
  tone: "neutral"
44
- }, ye = {
44
+ }, we = {
45
45
  label: "C++",
46
46
  tone: "neutral"
47
- }, Ce = {
47
+ }, Be = {
48
48
  label: "C#",
49
49
  tone: "primary"
50
- }, Ae = {
50
+ }, Te = {
51
51
  label: "F#",
52
52
  tone: "info"
53
- }, Be = {
53
+ }, Ie = {
54
54
  label: "PHP",
55
55
  tone: "primary"
56
- }, xe = {
56
+ }, De = {
57
57
  label: "PL",
58
58
  tone: "info"
59
- }, Te = {
59
+ }, Pe = {
60
60
  label: "SW",
61
61
  tone: "error"
62
- }, we = {
62
+ }, Ge = {
63
63
  label: "LUA",
64
64
  tone: "warning"
65
- }, De = {
65
+ }, Fe = {
66
66
  label: "DART",
67
67
  tone: "info"
68
- }, Ie = {
68
+ }, Oe = {
69
69
  label: "R",
70
70
  tone: "info"
71
- }, Pe = {
71
+ }, Le = {
72
72
  label: "SQL",
73
73
  tone: "warning"
74
- }, Ge = {
74
+ }, Me = {
75
75
  label: "GQL",
76
76
  tone: "primary"
77
- }, j = {
77
+ }, N = {
78
78
  label: "GRV",
79
79
  tone: "success"
80
- }, Fe = {
80
+ }, Ne = {
81
81
  label: "HTML",
82
82
  tone: "warning"
83
- }, Oe = {
83
+ }, je = {
84
84
  label: "VUE",
85
85
  tone: "success"
86
- }, Le = {
86
+ }, Re = {
87
87
  label: "SVE",
88
88
  tone: "error"
89
- }, Me = {
89
+ }, ze = {
90
90
  label: "AST",
91
91
  tone: "warning"
92
- }, je = {
92
+ }, He = {
93
93
  label: "MDX",
94
94
  tone: "primary"
95
- }, B = {
95
+ }, x = {
96
96
  label: "DKR",
97
97
  tone: "info"
98
- }, Ne = {
98
+ }, Ve = {
99
99
  label: "MAKE",
100
100
  tone: "warning"
101
- }, N = {
101
+ }, j = {
102
102
  label: "CMK",
103
103
  tone: "primary"
104
- }, Re = {
104
+ }, $e = {
105
105
  label: "PS",
106
106
  tone: "primary"
107
- }, ze = {
107
+ }, Xe = {
108
108
  label: "BAT",
109
109
  tone: "neutral"
110
- }, T = /* @__PURE__ */ new Map(), R = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), G = /* @__PURE__ */ new Map();
110
+ }, B = /* @__PURE__ */ new Map(), R = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), G = /* @__PURE__ */ new Map();
111
111
  r(O, ["js", "jsx", "mjs", "cjs"]);
112
112
  r(L, ["ts", "tsx", "mts", "cts"]);
113
- r(x, ["sh", "bash", "zsh", "fish", "ksh", "csh"]);
114
- r(he, ["py", "pyi", "pyw"]);
113
+ r(w, ["sh", "bash", "zsh", "fish", "ksh", "csh"]);
114
+ r(_e, ["py", "pyi", "pyw"]);
115
115
  r(M, ["rb", "rake", "gemspec", "erb"]);
116
- r(me, ["go"]);
117
- r(ke, ["rs"]);
118
- r(Se, ["java"]);
119
- r(_e, ["kt", "kts"]);
120
- r(be, ["scala", "sc"]);
121
- r(pe, ["c", "h"]);
122
- r(ye, ["cc", "cp", "cpp", "cxx", "hh", "hpp", "hxx"]);
123
- r(Ce, ["cs"]);
124
- r(Ae, ["fs", "fsi", "fsx"]);
125
- r(Be, ["php", "phtml"]);
126
- r(xe, ["pl", "pm"]);
127
- r(Te, ["swift"]);
128
- r(we, ["lua"]);
129
- r(De, ["dart"]);
130
- r(Ie, ["r"]);
131
- r(Pe, ["sql"]);
132
- r(Ge, ["graphql", "gql"]);
133
- r(j, ["groovy", "gradle", "gvy"]);
134
- r(Fe, ["html", "htm", "xhtml"]);
135
- r(Oe, ["vue"]);
136
- r(Le, ["svelte"]);
137
- r(Me, ["astro"]);
138
- r(je, ["mdx"]);
139
- r(Re, ["ps1", "psd1", "psm1"]);
140
- r(ze, ["bat", "cmd"]);
141
- r(B, ["dockerfile", "containerfile"]);
142
- r(N, ["cmake"]);
143
- k(B, ["dockerfile", "containerfile"]);
144
- k(Ne, ["makefile", "gnumakefile", "justfile"]);
145
- k(N, ["cmakelists.txt"]);
146
- k(x, [".bashrc", ".bash_profile", ".bash_aliases", ".profile", ".zshrc", ".zprofile", ".zshenv", ".zlogin", ".zlogout", ".kshrc", ".cshrc", ".tcshrc", ".envrc"]);
147
- k(M, ["gemfile", "rakefile", "podfile", "fastfile", "appfile", "brewfile", "vagrantfile"]);
148
- k(j, ["jenkinsfile"]);
149
- He(B, ["dockerfile.", "containerfile."]);
150
- Ve(B, [".dockerfile", ".containerfile"]);
116
+ r(pe, ["go"]);
117
+ r(ye, ["rs"]);
118
+ r(be, ["java"]);
119
+ r(Ce, ["kt", "kts"]);
120
+ r(Ae, ["scala", "sc"]);
121
+ r(xe, ["c", "h"]);
122
+ r(we, ["cc", "cp", "cpp", "cxx", "hh", "hpp", "hxx"]);
123
+ r(Be, ["cs"]);
124
+ r(Te, ["fs", "fsi", "fsx"]);
125
+ r(Ie, ["php", "phtml"]);
126
+ r(De, ["pl", "pm"]);
127
+ r(Pe, ["swift"]);
128
+ r(Ge, ["lua"]);
129
+ r(Fe, ["dart"]);
130
+ r(Oe, ["r"]);
131
+ r(Le, ["sql"]);
132
+ r(Me, ["graphql", "gql"]);
133
+ r(N, ["groovy", "gradle", "gvy"]);
134
+ r(Ne, ["html", "htm", "xhtml"]);
135
+ r(je, ["vue"]);
136
+ r(Re, ["svelte"]);
137
+ r(ze, ["astro"]);
138
+ r(He, ["mdx"]);
139
+ r($e, ["ps1", "psd1", "psm1"]);
140
+ r(Xe, ["bat", "cmd"]);
141
+ r(x, ["dockerfile", "containerfile"]);
142
+ r(j, ["cmake"]);
143
+ m(x, ["dockerfile", "containerfile"]);
144
+ m(Ve, ["makefile", "gnumakefile", "justfile"]);
145
+ m(j, ["cmakelists.txt"]);
146
+ m(w, [".bashrc", ".bash_profile", ".bash_aliases", ".profile", ".zshrc", ".zprofile", ".zshenv", ".zlogin", ".zlogout", ".kshrc", ".cshrc", ".tcshrc", ".envrc"]);
147
+ m(M, ["gemfile", "rakefile", "podfile", "fastfile", "appfile", "brewfile", "vagrantfile"]);
148
+ m(N, ["jenkinsfile"]);
149
+ Ue(x, ["dockerfile.", "containerfile."]);
150
+ Ye(x, [".dockerfile", ".containerfile"]);
151
151
  function r(e, t) {
152
152
  for (const n of t)
153
- T.set(n, e);
153
+ B.set(n, e);
154
154
  }
155
- function k(e, t) {
155
+ function m(e, t) {
156
156
  for (const n of t)
157
157
  R.set(n, e);
158
158
  }
159
- function He(e, t) {
159
+ function Ue(e, t) {
160
160
  for (const n of t)
161
161
  z.set(n, e);
162
162
  }
163
- function Ve(e, t) {
163
+ function Ye(e, t) {
164
164
  for (const n of t)
165
165
  H.set(n, e);
166
166
  }
@@ -176,7 +176,7 @@ function $(e) {
176
176
  const n = t.split(/[\\/]/);
177
177
  return n[n.length - 1]?.toLowerCase();
178
178
  }
179
- function $e(e) {
179
+ function qe(e) {
180
180
  const t = $(e);
181
181
  if (!t)
182
182
  return;
@@ -185,9 +185,9 @@ function $e(e) {
185
185
  return t.slice(n + 1);
186
186
  }
187
187
  function X(e) {
188
- return V(e.extension) ?? $e(e.name);
188
+ return V(e.extension) ?? qe(e.name);
189
189
  }
190
- function Xe(e) {
190
+ function Ke(e) {
191
191
  const t = $(e.name);
192
192
  if (t) {
193
193
  const d = R.get(t);
@@ -201,13 +201,13 @@ function Xe(e) {
201
201
  return o;
202
202
  }
203
203
  const n = X(e);
204
- return n ? T.get(n) : void 0;
204
+ return n ? B.get(n) : void 0;
205
205
  }
206
- function Ye(e) {
206
+ function We(e) {
207
207
  return e.length <= 2 ? "6.2" : e.length === 3 ? "5.3" : e.length === 4 ? "4.5" : "4";
208
208
  }
209
- function qe(e) {
210
- return (t) => i(ot, {
209
+ function Je(e) {
210
+ return (t) => l(at, {
211
211
  get class() {
212
212
  return t.class;
213
213
  },
@@ -218,30 +218,30 @@ function A(e) {
218
218
  const t = `${e.tone}:${e.label}`, n = G.get(t);
219
219
  if (n)
220
220
  return n;
221
- const d = qe(e);
221
+ const d = Je(e);
222
222
  return G.set(t, d), d;
223
223
  }
224
224
  const E = (e) => {
225
225
  const t = () => e.accent ?? "currentColor";
226
226
  return (() => {
227
227
  var n = W(), d = n.firstChild, f = d.nextSibling;
228
- return h(n, i(C, {
228
+ return h(n, l(C, {
229
229
  get when() {
230
230
  return e.accent;
231
231
  },
232
232
  get children() {
233
- var o = U();
234
- return m((l) => {
235
- var s = t(), u = e.fillOpacity ?? 0.18;
236
- return s !== l.e && c(o, "fill", l.e = s), u !== l.t && c(o, "opacity", l.t = u), l;
233
+ var o = K();
234
+ return k((s) => {
235
+ var i = t(), u = e.fillOpacity ?? 0.18;
236
+ return i !== s.e && c(o, "fill", s.e = i), u !== s.t && c(o, "opacity", s.t = u), s;
237
237
  }, {
238
238
  e: void 0,
239
239
  t: void 0
240
240
  }), o;
241
241
  }
242
- }), d), h(n, () => e.children, null), m((o) => {
243
- var l = e.class, s = e.linkTargetType ? "symbolic" : void 0, u = e.linkTargetType, v = t(), a = t();
244
- return l !== o.e && c(n, "class", o.e = l), s !== o.t && c(n, "data-file-link-kind", o.t = s), u !== o.a && c(n, "data-file-link-target-type", o.a = u), v !== o.o && c(d, "stroke", o.o = v), a !== o.i && c(f, "stroke", o.i = a), o;
242
+ }), d), h(n, () => e.children, null), k((o) => {
243
+ var s = e.class, i = e.linkTargetType ? "symbolic" : void 0, u = e.linkTargetType, v = t(), a = t();
244
+ return s !== o.e && c(n, "class", o.e = s), i !== o.t && c(n, "data-file-link-kind", o.t = i), u !== o.a && c(n, "data-file-link-target-type", o.a = u), v !== o.o && c(d, "stroke", o.o = v), a !== o.i && c(f, "stroke", o.i = a), o;
245
245
  }, {
246
246
  e: void 0,
247
247
  t: void 0,
@@ -250,20 +250,20 @@ const E = (e) => {
250
250
  i: void 0
251
251
  }), n;
252
252
  })();
253
- }, w = (e) => {
253
+ }, T = (e) => {
254
254
  const t = () => e.targetType === "broken" ? "var(--error)" : "color-mix(in srgb, var(--foreground) 82%, var(--background))", n = () => e.targetType === "broken" ? "color-mix(in srgb, var(--error) 18%, var(--background))" : "color-mix(in srgb, var(--background) 92%, var(--foreground) 8%)";
255
255
  return (() => {
256
256
  var d = Q(), f = d.firstChild, o = f.nextSibling;
257
- return h(d, i(C, {
257
+ return h(d, l(C, {
258
258
  get when() {
259
259
  return e.targetType === "broken";
260
260
  },
261
261
  get children() {
262
262
  return J();
263
263
  }
264
- }), null), m((l) => {
265
- var s = e.targetType, u = n(), v = t(), a = t();
266
- return s !== l.e && c(d, "data-file-link-target-type", l.e = s), u !== l.t && c(f, "fill", l.t = u), v !== l.a && c(f, "stroke", l.a = v), a !== l.o && c(o, "stroke", l.o = a), l;
264
+ }), null), k((s) => {
265
+ var i = e.targetType, u = n(), v = t(), a = t();
266
+ return i !== s.e && c(d, "data-file-link-target-type", s.e = i), u !== s.t && c(f, "fill", s.t = u), v !== s.a && c(f, "stroke", s.a = v), a !== s.o && c(o, "stroke", s.o = a), s;
267
267
  }, {
268
268
  e: void 0,
269
269
  t: void 0,
@@ -272,30 +272,30 @@ const E = (e) => {
272
272
  }), d;
273
273
  })();
274
274
  }, S = (e) => {
275
- const t = K(), n = () => !!e.open, d = () => `${n() ? "floe-folder-open-gradient" : "floe-folder-gradient"}-${t}`;
275
+ const t = q(), n = () => !!e.open, d = () => `${n() ? "floe-folder-open-gradient" : "floe-folder-gradient"}-${t}`;
276
276
  return (() => {
277
- var f = ee(), o = f.firstChild, l = o.firstChild, s = l.firstChild, u = s.nextSibling, v = o.nextSibling;
278
- return h(f, i(C, {
277
+ var f = ee(), o = f.firstChild, s = o.firstChild, i = s.firstChild, u = i.nextSibling, v = o.nextSibling;
278
+ return h(f, l(C, {
279
279
  get when() {
280
280
  return n();
281
281
  },
282
282
  get children() {
283
283
  return Z();
284
284
  }
285
- }), null), h(f, i(C, {
285
+ }), null), h(f, l(C, {
286
286
  get when() {
287
287
  return e.linkTargetType;
288
288
  },
289
289
  get children() {
290
- return i(w, {
290
+ return l(T, {
291
291
  get targetType() {
292
292
  return e.linkTargetType;
293
293
  }
294
294
  });
295
295
  }
296
- }), null), m((a) => {
297
- var _ = e.class, b = e.linkTargetType ? "symbolic" : void 0, p = e.linkTargetType, y = d(), D = n() ? "color-mix(in srgb, var(--warning) 70%, var(--foreground))" : "color-mix(in srgb, var(--warning) 80%, var(--foreground))", I = `url(#${d()})`, P = n() ? "M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7.414A2 2 0 0 0 20.414 6L18 3.586A2 2 0 0 0 16.586 3H5zm4 2h7.586L19 7.414V17H5V5h4z" : "M3 5a2 2 0 0 1 2-2h4.586a1 1 0 0 1 .707.293L12 5h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5z";
298
- return _ !== a.e && c(f, "class", a.e = _), b !== a.t && c(f, "data-file-link-kind", a.t = b), p !== a.a && c(f, "data-file-link-target-type", a.a = p), y !== a.o && c(l, "id", a.o = y), D !== a.i && F(u, "stop-color", a.i = D), I !== a.n && c(v, "fill", a.n = I), P !== a.s && c(v, "d", a.s = P), a;
296
+ }), null), k((a) => {
297
+ var _ = e.class, p = e.linkTargetType ? "symbolic" : void 0, y = e.linkTargetType, b = d(), I = n() ? "color-mix(in srgb, var(--warning) 70%, var(--foreground))" : "color-mix(in srgb, var(--warning) 80%, var(--foreground))", D = `url(#${d()})`, P = n() ? "M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7.414A2 2 0 0 0 20.414 6L18 3.586A2 2 0 0 0 16.586 3H5zm4 2h7.586L19 7.414V17H5V5h4z" : "M3 5a2 2 0 0 1 2-2h4.586a1 1 0 0 1 .707.293L12 5h7a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5z";
298
+ return _ !== a.e && c(f, "class", a.e = _), p !== a.t && c(f, "data-file-link-kind", a.t = p), y !== a.a && c(f, "data-file-link-target-type", a.a = y), b !== a.o && c(s, "id", a.o = b), I !== a.i && F(u, "stop-color", a.i = I), D !== a.n && c(v, "fill", a.n = D), P !== a.s && c(v, "d", a.s = P), a;
299
299
  }, {
300
300
  e: void 0,
301
301
  t: void 0,
@@ -306,63 +306,63 @@ const E = (e) => {
306
306
  s: void 0
307
307
  }), f;
308
308
  })();
309
- }, Ke = (e) => i(S, {
309
+ }, Qe = (e) => l(S, {
310
310
  get class() {
311
311
  return e.class;
312
312
  }
313
- }), Ue = (e) => i(S, {
313
+ }), Ze = (e) => l(S, {
314
314
  get class() {
315
315
  return e.class;
316
316
  },
317
317
  open: !0
318
- }), We = (e) => i(S, {
318
+ }), et = (e) => l(S, {
319
319
  get class() {
320
320
  return e.class;
321
321
  },
322
322
  linkTargetType: "folder"
323
- }), Je = (e) => i(S, {
323
+ }), tt = (e) => l(S, {
324
324
  get class() {
325
325
  return e.class;
326
326
  },
327
327
  open: !0,
328
328
  linkTargetType: "folder"
329
- }), Qe = (e) => i(S, {
329
+ }), nt = (e) => l(S, {
330
330
  get class() {
331
331
  return e.class;
332
332
  },
333
333
  linkTargetType: "broken"
334
- }), Ze = (e) => i(S, {
334
+ }), rt = (e) => l(S, {
335
335
  get class() {
336
336
  return e.class;
337
337
  },
338
338
  open: !0,
339
339
  linkTargetType: "broken"
340
- }), et = (e) => i(E, {
340
+ }), ot = (e) => l(E, {
341
341
  get class() {
342
342
  return e.class;
343
343
  }
344
- }), tt = (e) => i(E, {
344
+ }), lt = (e) => l(E, {
345
345
  get class() {
346
346
  return e.class;
347
347
  },
348
348
  linkTargetType: "file",
349
349
  get children() {
350
- return i(w, {
350
+ return l(T, {
351
351
  targetType: "file"
352
352
  });
353
353
  }
354
- }), nt = (e) => i(E, {
354
+ }), st = (e) => l(E, {
355
355
  get class() {
356
356
  return e.class;
357
357
  },
358
358
  accent: "var(--muted-foreground)",
359
359
  linkTargetType: "broken",
360
360
  get children() {
361
- return i(w, {
361
+ return l(T, {
362
362
  targetType: "broken"
363
363
  });
364
364
  }
365
- }), rt = (e) => i(E, {
365
+ }), it = (e) => l(E, {
366
366
  get class() {
367
367
  return e.class;
368
368
  },
@@ -370,9 +370,9 @@ const E = (e) => {
370
370
  get children() {
371
371
  return te();
372
372
  }
373
- }), ot = (e) => {
374
- const t = () => Ee[e.spec.tone], n = () => Ye(e.spec.label), d = () => e.spec.label.length > 3 ? "0.02em" : "0.04em";
375
- return i(E, {
373
+ }), at = (e) => {
374
+ const t = () => Se[e.spec.tone], n = () => We(e.spec.label), d = () => e.spec.label.length > 3 ? "0.02em" : "0.04em";
375
+ return l(E, {
376
376
  get class() {
377
377
  return e.class;
378
378
  },
@@ -380,10 +380,10 @@ const E = (e) => {
380
380
  return t();
381
381
  },
382
382
  get children() {
383
- var f = ne(), o = f.firstChild, l = o.nextSibling;
384
- return h(l, () => e.spec.label), m((s) => {
385
- var u = e.spec.label, v = e.spec.tone, a = t(), _ = t(), b = t(), p = n(), y = d();
386
- return u !== s.e && c(f, "data-code-badge-label", s.e = u), v !== s.t && c(f, "data-code-badge-tone", s.t = v), a !== s.a && c(o, "fill", s.a = a), _ !== s.o && c(o, "stroke", s.o = _), b !== s.i && c(l, "fill", s.i = b), p !== s.n && c(l, "font-size", s.n = p), y !== s.s && F(l, "letter-spacing", s.s = y), s;
383
+ var f = ne(), o = f.firstChild, s = o.nextSibling;
384
+ return h(s, () => e.spec.label), k((i) => {
385
+ var u = e.spec.label, v = e.spec.tone, a = t(), _ = t(), p = t(), y = n(), b = d();
386
+ return u !== i.e && c(f, "data-code-badge-label", i.e = u), v !== i.t && c(f, "data-code-badge-tone", i.t = v), a !== i.a && c(o, "fill", i.a = a), _ !== i.o && c(o, "stroke", i.o = _), p !== i.i && c(s, "fill", i.i = p), y !== i.n && c(s, "font-size", i.n = y), b !== i.s && F(s, "letter-spacing", i.s = b), i;
387
387
  }, {
388
388
  e: void 0,
389
389
  t: void 0,
@@ -395,7 +395,7 @@ const E = (e) => {
395
395
  }), f;
396
396
  }
397
397
  });
398
- }, vt = A(O), Et = A(L), ht = A(x), lt = (e) => i(E, {
398
+ }, _t = A(O), pt = A(L), yt = A(w), ct = (e) => l(E, {
399
399
  get class() {
400
400
  return e.class;
401
401
  },
@@ -403,72 +403,88 @@ const E = (e) => {
403
403
  get children() {
404
404
  return [re(), oe()];
405
405
  }
406
- }), st = (e) => i(E, {
406
+ }), ft = (e) => l(E, {
407
+ get class() {
408
+ return e.class;
409
+ },
410
+ accent: "var(--primary)",
411
+ get children() {
412
+ return le();
413
+ }
414
+ }), dt = (e) => l(E, {
415
+ get class() {
416
+ return e.class;
417
+ },
418
+ accent: "var(--info)",
419
+ get children() {
420
+ return se();
421
+ }
422
+ }), gt = (e) => l(E, {
407
423
  get class() {
408
424
  return e.class;
409
425
  },
410
426
  accent: "var(--error)",
411
427
  get children() {
412
- return [le(), se()];
428
+ return [ie(), ae()];
413
429
  }
414
- }), it = (e) => i(E, {
430
+ }), ut = (e) => l(E, {
415
431
  get class() {
416
432
  return e.class;
417
433
  },
418
434
  accent: "var(--warning)",
419
435
  get children() {
420
- return ie();
436
+ return ce();
421
437
  }
422
- }), at = (e) => i(E, {
438
+ }), vt = (e) => l(E, {
423
439
  get class() {
424
440
  return e.class;
425
441
  },
426
442
  accent: "var(--primary)",
427
443
  get children() {
428
- return ae();
444
+ return fe();
429
445
  }
430
446
  });
431
- function ct(e) {
447
+ function Et(e) {
432
448
  const t = V(e);
433
449
  if (t) {
434
- const n = T.get(t);
450
+ const n = B.get(t);
435
451
  if (n)
436
452
  return A(n);
437
453
  }
438
- return t && ve.has(t) ? rt : t && fe.has(t) ? lt : t && de.has(t) ? st : t && ge.has(t) ? it : t && ue.has(t) ? at : et;
454
+ return t && me.has(t) ? it : t && ge.has(t) ? ct : t && ue.has(t) ? ft : t && ve.has(t) ? dt : t && Ee.has(t) ? gt : t && he.has(t) ? ut : t && ke.has(t) ? vt : ot;
439
455
  }
440
- function ft(e, t) {
456
+ function ht(e, t) {
441
457
  const n = e.link?.kind === "symbolic" ? e.link.targetType : void 0;
442
- return n === "broken" ? t.open ? Ze : Qe : n ? t.open ? Je : We : t.open ? Ue : Ke;
458
+ return n === "broken" ? t.open ? rt : nt : n ? t.open ? tt : et : t.open ? Ze : Qe;
443
459
  }
444
- function dt(e, t = {}) {
460
+ function kt(e, t = {}) {
445
461
  if (e.icon)
446
462
  return e.icon;
447
463
  if (e.type === "folder")
448
- return ft(e, t);
464
+ return ht(e, t);
449
465
  if (e.link?.kind === "symbolic" && e.link.targetType === "broken")
450
- return nt;
466
+ return st;
451
467
  if (e.link?.kind === "symbolic")
452
- return tt;
453
- const n = Xe(e);
454
- return n ? A(n) : ct(X(e));
468
+ return lt;
469
+ const n = Ke(e);
470
+ return n ? A(n) : Et(X(e));
455
471
  }
456
- function mt(e) {
457
- const t = () => dt(e.item, {
472
+ function bt(e) {
473
+ const t = () => kt(e.item, {
458
474
  open: e.open
459
475
  });
460
- return i(C, {
476
+ return l(C, {
461
477
  get when() {
462
478
  return typeof t() == "function";
463
479
  },
464
480
  get fallback() {
465
481
  return (() => {
466
- var n = ce();
467
- return h(n, () => t()), m(() => q(n, `inline-flex items-center justify-center ${e.class ?? ""}`.trim())), n;
482
+ var n = de();
483
+ return h(n, () => t()), k(() => Y(n, `inline-flex items-center justify-center ${e.class ?? ""}`.trim())), n;
468
484
  })();
469
485
  },
470
486
  get children() {
471
- return i(Y, {
487
+ return l(U, {
472
488
  get component() {
473
489
  return t();
474
490
  },
@@ -480,22 +496,24 @@ function mt(e) {
480
496
  });
481
497
  }
482
498
  export {
483
- nt as BrokenSymlinkIcon,
484
- rt as CodeFileIcon,
485
- it as ConfigFileIcon,
486
- st as DocumentFileIcon,
487
- et as FileIcon,
488
- mt as FileItemIcon,
489
- Ke as FolderIcon,
490
- Ue as FolderOpenIcon,
491
- lt as ImageFileIcon,
492
- vt as JavaScriptFileIcon,
493
- ht as ShellScriptFileIcon,
494
- at as StyleFileIcon,
495
- tt as SymlinkFileIcon,
496
- We as SymlinkFolderIcon,
497
- Je as SymlinkFolderOpenIcon,
498
- Et as TypeScriptFileIcon,
499
- ct as getFileIcon,
500
- dt as resolveFileItemIcon
499
+ dt as AudioFileIcon,
500
+ st as BrokenSymlinkIcon,
501
+ it as CodeFileIcon,
502
+ ut as ConfigFileIcon,
503
+ gt as DocumentFileIcon,
504
+ ot as FileIcon,
505
+ bt as FileItemIcon,
506
+ Qe as FolderIcon,
507
+ Ze as FolderOpenIcon,
508
+ ct as ImageFileIcon,
509
+ _t as JavaScriptFileIcon,
510
+ yt as ShellScriptFileIcon,
511
+ vt as StyleFileIcon,
512
+ lt as SymlinkFileIcon,
513
+ et as SymlinkFolderIcon,
514
+ tt as SymlinkFolderOpenIcon,
515
+ pt as TypeScriptFileIcon,
516
+ ft as VideoFileIcon,
517
+ Et as getFileIcon,
518
+ kt as resolveFileItemIcon
501
519
  };