@gravitee/graphene-core 2.49.0-feat-385-doc-section-nav.7d93330 → 2.49.0-graphene-142-code-editor.6ff118a

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,115 +1,116 @@
1
- import "react";
2
- import { jsx as e } from "react/jsx-runtime";
1
+ import * as e from "react";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { Editor as n, loader as r } from "@monaco-editor/react";
3
4
  //#region ../../node_modules/clsx/dist/clsx.mjs
4
- function t(e) {
5
- var n, r, i = "";
6
- if (typeof e == "string" || typeof e == "number") i += e;
5
+ function i(e) {
6
+ var t, n, r = "";
7
+ if (typeof e == "string" || typeof e == "number") r += e;
7
8
  else if (typeof e == "object") if (Array.isArray(e)) {
8
9
  var a = e.length;
9
- for (n = 0; n < a; n++) e[n] && (r = t(e[n])) && (i && (i += " "), i += r);
10
- } else for (r in e) e[r] && (i && (i += " "), i += r);
11
- return i;
10
+ for (t = 0; t < a; t++) e[t] && (n = i(e[t])) && (r && (r += " "), r += n);
11
+ } else for (n in e) e[n] && (r && (r += " "), r += n);
12
+ return r;
12
13
  }
13
- function n() {
14
- for (var e, n, r = 0, i = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (n = t(e)) && (i && (i += " "), i += n);
15
- return i;
14
+ function a() {
15
+ for (var e, t, n = 0, r = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = i(e)) && (r && (r += " "), r += t);
16
+ return r;
16
17
  }
17
18
  //#endregion
18
19
  //#region ../../node_modules/tailwind-merge/dist/bundle-mjs.mjs
19
- var r = (e, t) => {
20
+ var o = (e, t) => {
20
21
  let n = Array(e.length + t.length);
21
22
  for (let t = 0; t < e.length; t++) n[t] = e[t];
22
23
  for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
23
24
  return n;
24
- }, i = (e, t) => ({
25
+ }, s = (e, t) => ({
25
26
  classGroupId: e,
26
27
  validator: t
27
- }), a = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
28
+ }), c = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
28
29
  nextPart: e,
29
30
  validators: t,
30
31
  classGroupId: n
31
- }), o = "-", s = [], c = "arbitrary..", l = (e) => {
32
- let t = ee(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: i } = e;
32
+ }), l = "-", u = [], d = "arbitrary..", f = (e) => {
33
+ let t = h(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
33
34
  return {
34
35
  getClassGroupId: (e) => {
35
- if (e.startsWith("[") && e.endsWith("]")) return d(e);
36
- let n = e.split(o);
37
- return u(n, +(n[0] === "" && n.length > 1), t);
36
+ if (e.startsWith("[") && e.endsWith("]")) return m(e);
37
+ let n = e.split(l);
38
+ return p(n, +(n[0] === "" && n.length > 1), t);
38
39
  },
39
40
  getConflictingClassGroupIds: (e, t) => {
40
41
  if (t) {
41
- let t = i[e], a = n[e];
42
- return t ? a ? r(a, t) : t : a || s;
42
+ let t = r[e], i = n[e];
43
+ return t ? i ? o(i, t) : t : i || u;
43
44
  }
44
- return n[e] || s;
45
+ return n[e] || u;
45
46
  }
46
47
  };
47
- }, u = (e, t, n) => {
48
+ }, p = (e, t, n) => {
48
49
  if (e.length - t === 0) return n.classGroupId;
49
50
  let r = e[t], i = n.nextPart.get(r);
50
51
  if (i) {
51
- let n = u(e, t + 1, i);
52
+ let n = p(e, t + 1, i);
52
53
  if (n) return n;
53
54
  }
54
55
  let a = n.validators;
55
56
  if (a === null) return;
56
- let s = t === 0 ? e.join(o) : e.slice(t).join(o), c = a.length;
57
- for (let e = 0; e < c; e++) {
57
+ let o = t === 0 ? e.join(l) : e.slice(t).join(l), s = a.length;
58
+ for (let e = 0; e < s; e++) {
58
59
  let t = a[e];
59
- if (t.validator(s)) return t.classGroupId;
60
+ if (t.validator(o)) return t.classGroupId;
60
61
  }
61
- }, d = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
62
+ }, m = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
62
63
  let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
63
- return r ? c + r : void 0;
64
- })(), ee = (e) => {
64
+ return r ? d + r : void 0;
65
+ })(), h = (e) => {
65
66
  let { theme: t, classGroups: n } = e;
66
- return f(n, t);
67
- }, f = (e, t) => {
68
- let n = a();
67
+ return g(n, t);
68
+ }, g = (e, t) => {
69
+ let n = c();
69
70
  for (let r in e) {
70
71
  let i = e[r];
71
- p(i, n, r, t);
72
+ _(i, n, r, t);
72
73
  }
73
74
  return n;
74
- }, p = (e, t, n, r) => {
75
+ }, _ = (e, t, n, r) => {
75
76
  let i = e.length;
76
77
  for (let a = 0; a < i; a++) {
77
78
  let i = e[a];
78
- m(i, t, n, r);
79
+ v(i, t, n, r);
79
80
  }
80
- }, m = (e, t, n, r) => {
81
+ }, v = (e, t, n, r) => {
81
82
  if (typeof e == "string") {
82
- h(e, t, n);
83
+ y(e, t, n);
83
84
  return;
84
85
  }
85
86
  if (typeof e == "function") {
86
- g(e, t, n, r);
87
+ b(e, t, n, r);
87
88
  return;
88
89
  }
89
- _(e, t, n, r);
90
- }, h = (e, t, n) => {
91
- let r = e === "" ? t : v(t, e);
90
+ x(e, t, n, r);
91
+ }, y = (e, t, n) => {
92
+ let r = e === "" ? t : S(t, e);
92
93
  r.classGroupId = n;
93
- }, g = (e, t, n, r) => {
94
- if (y(e)) {
95
- p(e(r), t, n, r);
94
+ }, b = (e, t, n, r) => {
95
+ if (ee(e)) {
96
+ _(e(r), t, n, r);
96
97
  return;
97
98
  }
98
- t.validators === null && (t.validators = []), t.validators.push(i(n, e));
99
- }, _ = (e, t, n, r) => {
99
+ t.validators === null && (t.validators = []), t.validators.push(s(n, e));
100
+ }, x = (e, t, n, r) => {
100
101
  let i = Object.entries(e), a = i.length;
101
102
  for (let e = 0; e < a; e++) {
102
103
  let [a, o] = i[e];
103
- p(o, v(t, a), n, r);
104
+ _(o, S(t, a), n, r);
104
105
  }
105
- }, v = (e, t) => {
106
- let n = e, r = t.split(o), i = r.length;
106
+ }, S = (e, t) => {
107
+ let n = e, r = t.split(l), i = r.length;
107
108
  for (let e = 0; e < i; e++) {
108
109
  let t = r[e], i = n.nextPart.get(t);
109
- i || (i = a(), n.nextPart.set(t, i)), n = i;
110
+ i || (i = c(), n.nextPart.set(t, i)), n = i;
110
111
  }
111
112
  return n;
112
- }, y = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, b = (e) => {
113
+ }, ee = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, C = (e) => {
113
114
  if (e < 1) return {
114
115
  get: () => void 0,
115
116
  set: () => {}
@@ -127,19 +128,19 @@ var r = (e, t) => {
127
128
  e in n ? n[e] = t : i(e, t);
128
129
  }
129
130
  };
130
- }, x = "!", S = ":", C = [], w = (e, t, n, r, i) => ({
131
+ }, w = "!", te = ":", ne = [], T = (e, t, n, r, i) => ({
131
132
  modifiers: e,
132
133
  hasImportantModifier: t,
133
134
  baseClassName: n,
134
135
  maybePostfixModifierPosition: r,
135
136
  isExternal: i
136
- }), te = (e) => {
137
+ }), re = (e) => {
137
138
  let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
138
139
  let t = [], n = 0, r = 0, i = 0, a, o = e.length;
139
140
  for (let s = 0; s < o; s++) {
140
141
  let o = e[s];
141
142
  if (n === 0 && r === 0) {
142
- if (o === S) {
143
+ if (o === te) {
143
144
  t.push(e.slice(i, s)), i = s + 1;
144
145
  continue;
145
146
  }
@@ -151,13 +152,13 @@ var r = (e, t) => {
151
152
  o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
152
153
  }
153
154
  let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
154
- s.endsWith(x) ? (c = s.slice(0, -1), l = !0) : s.startsWith(x) && (c = s.slice(1), l = !0);
155
+ s.endsWith(w) ? (c = s.slice(0, -1), l = !0) : s.startsWith(w) && (c = s.slice(1), l = !0);
155
156
  let u = a && a > i ? a - i : void 0;
156
- return w(t, l, c, u);
157
+ return T(t, l, c, u);
157
158
  };
158
159
  if (t) {
159
- let e = t + S, n = r;
160
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : w(C, !1, t, void 0, !0);
160
+ let e = t + te, n = r;
161
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : T(ne, !1, t, void 0, !0);
161
162
  }
162
163
  if (n) {
163
164
  let e = r;
@@ -167,7 +168,7 @@ var r = (e, t) => {
167
168
  });
168
169
  }
169
170
  return r;
170
- }, ne = (e) => {
171
+ }, E = (e) => {
171
172
  let t = /* @__PURE__ */ new Map();
172
173
  return e.orderSensitiveModifiers.forEach((e, n) => {
173
174
  t.set(e, 1e6 + n);
@@ -179,80 +180,80 @@ var r = (e, t) => {
179
180
  }
180
181
  return r.length > 0 && (r.sort(), n.push(...r)), n;
181
182
  };
182
- }, T = (e) => ({
183
- cache: b(e.cacheSize),
184
- parseClassName: te(e),
185
- sortModifiers: ne(e),
186
- postfixLookupClassGroupIds: re(e),
187
- ...l(e)
188
- }), re = (e) => {
183
+ }, D = (e) => ({
184
+ cache: C(e.cacheSize),
185
+ parseClassName: re(e),
186
+ sortModifiers: E(e),
187
+ postfixLookupClassGroupIds: O(e),
188
+ ...f(e)
189
+ }), O = (e) => {
189
190
  let t = Object.create(null), n = e.postfixLookupClassGroups;
190
191
  if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
191
192
  return t;
192
- }, E = /\s+/, D = (e, t) => {
193
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(E), l = "";
193
+ }, k = /\s+/, A = (e, t) => {
194
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(k), l = "";
194
195
  for (let e = c.length - 1; e >= 0; --e) {
195
- let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: ee, baseClassName: f, maybePostfixModifierPosition: p } = n(t);
196
+ let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
196
197
  if (u) {
197
198
  l = t + (l.length > 0 ? " " + l : l);
198
199
  continue;
199
200
  }
200
- let m = !!p, h;
201
- if (m) {
202
- h = r(f.substring(0, p));
203
- let e = h && o[h] ? r(f) : void 0;
204
- e && e !== h && (h = e, m = !1);
205
- } else h = r(f);
206
- if (!h) {
207
- if (!m) {
201
+ let h = !!m, g;
202
+ if (h) {
203
+ g = r(p.substring(0, m));
204
+ let e = g && o[g] ? r(p) : void 0;
205
+ e && e !== g && (g = e, h = !1);
206
+ } else g = r(p);
207
+ if (!g) {
208
+ if (!h) {
208
209
  l = t + (l.length > 0 ? " " + l : l);
209
210
  continue;
210
211
  }
211
- if (h = r(f), !h) {
212
+ if (g = r(p), !g) {
212
213
  l = t + (l.length > 0 ? " " + l : l);
213
214
  continue;
214
215
  }
215
- m = !1;
216
+ h = !1;
216
217
  }
217
- let g = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), _ = ee ? g + x : g, v = _ + h;
218
- if (s.indexOf(v) > -1) continue;
219
- s.push(v);
220
- let y = i(h, m);
221
- for (let e = 0; e < y.length; ++e) {
222
- let t = y[e];
223
- s.push(_ + t);
218
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + w : _, y = v + g;
219
+ if (s.indexOf(y) > -1) continue;
220
+ s.push(y);
221
+ let b = i(g, h);
222
+ for (let e = 0; e < b.length; ++e) {
223
+ let t = b[e];
224
+ s.push(v + t);
224
225
  }
225
226
  l = t + (l.length > 0 ? " " + l : l);
226
227
  }
227
228
  return l;
228
- }, O = (...e) => {
229
+ }, j = (...e) => {
229
230
  let t = 0, n, r, i = "";
230
- for (; t < e.length;) (n = e[t++]) && (r = k(n)) && (i && (i += " "), i += r);
231
+ for (; t < e.length;) (n = e[t++]) && (r = M(n)) && (i && (i += " "), i += r);
231
232
  return i;
232
- }, k = (e) => {
233
+ }, M = (e) => {
233
234
  if (typeof e == "string") return e;
234
235
  let t, n = "";
235
- for (let r = 0; r < e.length; r++) e[r] && (t = k(e[r])) && (n && (n += " "), n += t);
236
+ for (let r = 0; r < e.length; r++) e[r] && (t = M(e[r])) && (n && (n += " "), n += t);
236
237
  return n;
237
- }, A = (e, ...t) => {
238
- let n, r, i, a, o = (o) => (n = T(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
238
+ }, ie = (e, ...t) => {
239
+ let n, r, i, a, o = (o) => (n = D(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
239
240
  let t = r(e);
240
241
  if (t) return t;
241
- let a = D(e, n);
242
+ let a = A(e, n);
242
243
  return i(e, a), a;
243
244
  };
244
- return a = o, (...e) => a(O(...e));
245
- }, j = [], M = (e) => {
246
- let t = (t) => t[e] || j;
245
+ return a = o, (...e) => a(j(...e));
246
+ }, ae = [], N = (e) => {
247
+ let t = (t) => t[e] || ae;
247
248
  return t.isThemeGetter = !0, t;
248
- }, N = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, P = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ie = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ae = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, F = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, I = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, L = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, R = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => ie.test(e), B = (e) => !!e && !Number.isNaN(Number(e)), V = (e) => !!e && Number.isInteger(Number(e)), oe = (e) => e.endsWith("%") && B(e.slice(0, -1)), H = (e) => ae.test(e), se = () => !0, ce = (e) => F.test(e) && !I.test(e), U = () => !1, le = (e) => L.test(e), W = (e) => R.test(e), ue = (e) => !G(e) && !J(e), de = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), fe = (e) => Z(e, we, U), G = (e) => N.test(e), K = (e) => Z(e, Te, ce), pe = (e) => Z(e, Ee, B), me = (e) => Z(e, Oe, se), he = (e) => Z(e, De, U), ge = (e) => Z(e, $, U), _e = (e) => Z(e, Ce, W), q = (e) => Z(e, ke, le), J = (e) => P.test(e), Y = (e) => Q(e, Te), ve = (e) => Q(e, De), ye = (e) => Q(e, $), be = (e) => Q(e, we), xe = (e) => Q(e, Ce), X = (e) => Q(e, ke, !0), Se = (e) => Q(e, Oe, !0), Z = (e, t, n) => {
249
- let r = N.exec(e);
249
+ }, P = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, F = /^\((?:(\w[\w-]*):)?(.+)\)$/i, I = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, L = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, R = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, oe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, z = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, se = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, B = (e) => I.test(e), V = (e) => !!e && !Number.isNaN(Number(e)), H = (e) => !!e && Number.isInteger(Number(e)), ce = (e) => e.endsWith("%") && V(e.slice(0, -1)), U = (e) => L.test(e), le = () => !0, W = (e) => R.test(e) && !oe.test(e), G = () => !1, ue = (e) => z.test(e), K = (e) => se.test(e), de = (e) => !q(e) && !Y(e), fe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), pe = (e) => Z(e, Oe, G), q = (e) => P.test(e), J = (e) => Z(e, ke, W), me = (e) => Z(e, Ae, V), he = (e) => Z(e, Me, le), ge = (e) => Z(e, je, G), _e = (e) => Z(e, Ee, G), ve = (e) => Z(e, De, K), ye = (e) => Z(e, Ne, ue), Y = (e) => F.test(e), X = (e) => Q(e, ke), be = (e) => Q(e, je), xe = (e) => Q(e, Ee), Se = (e) => Q(e, Oe), Ce = (e) => Q(e, De), we = (e) => Q(e, Ne, !0), Te = (e) => Q(e, Me, !0), Z = (e, t, n) => {
250
+ let r = P.exec(e);
250
251
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
251
252
  }, Q = (e, t, n = !1) => {
252
- let r = P.exec(e);
253
+ let r = F.exec(e);
253
254
  return r ? r[1] ? t(r[1]) : n : !1;
254
- }, $ = (e) => e === "position" || e === "percentage", Ce = (e) => e === "image" || e === "url", we = (e) => e === "length" || e === "size" || e === "bg-size", Te = (e) => e === "length", Ee = (e) => e === "number", De = (e) => e === "family-name", Oe = (e) => e === "number" || e === "weight", ke = (e) => e === "shadow", Ae = /*#__PURE__*/ A(() => {
255
- let e = M("color"), t = M("font"), n = M("text"), r = M("font-weight"), i = M("tracking"), a = M("leading"), o = M("breakpoint"), s = M("container"), c = M("spacing"), l = M("radius"), u = M("shadow"), d = M("inset-shadow"), ee = M("text-shadow"), f = M("drop-shadow"), p = M("blur"), m = M("perspective"), h = M("aspect"), g = M("ease"), _ = M("animate"), v = () => [
255
+ }, Ee = (e) => e === "position" || e === "percentage", De = (e) => e === "image" || e === "url", Oe = (e) => e === "length" || e === "size" || e === "bg-size", ke = (e) => e === "length", Ae = (e) => e === "number", je = (e) => e === "family-name", Me = (e) => e === "number" || e === "weight", Ne = (e) => e === "shadow", Pe = /*#__PURE__*/ ie(() => {
256
+ let e = N("color"), t = N("font"), n = N("text"), r = N("font-weight"), i = N("tracking"), a = N("leading"), o = N("breakpoint"), s = N("container"), c = N("spacing"), l = N("radius"), u = N("shadow"), d = N("inset-shadow"), f = N("text-shadow"), p = N("drop-shadow"), m = N("blur"), h = N("perspective"), g = N("aspect"), _ = N("ease"), v = N("animate"), y = () => [
256
257
  "auto",
257
258
  "avoid",
258
259
  "all",
@@ -261,7 +262,7 @@ var r = (e, t) => {
261
262
  "left",
262
263
  "right",
263
264
  "column"
264
- ], y = () => [
265
+ ], b = () => [
265
266
  "center",
266
267
  "top",
267
268
  "bottom",
@@ -275,58 +276,58 @@ var r = (e, t) => {
275
276
  "right-bottom",
276
277
  "bottom-left",
277
278
  "left-bottom"
278
- ], b = () => [
279
- ...y(),
280
- J,
281
- G
282
279
  ], x = () => [
280
+ ...b(),
281
+ Y,
282
+ q
283
+ ], S = () => [
283
284
  "auto",
284
285
  "hidden",
285
286
  "clip",
286
287
  "visible",
287
288
  "scroll"
288
- ], S = () => [
289
+ ], ee = () => [
289
290
  "auto",
290
291
  "contain",
291
292
  "none"
292
293
  ], C = () => [
293
- J,
294
- G,
294
+ Y,
295
+ q,
295
296
  c
296
297
  ], w = () => [
297
- z,
298
+ B,
298
299
  "full",
299
300
  "auto",
300
301
  ...C()
301
302
  ], te = () => [
302
- V,
303
+ H,
303
304
  "none",
304
305
  "subgrid",
305
- J,
306
- G
306
+ Y,
307
+ q
307
308
  ], ne = () => [
308
309
  "auto",
309
310
  { span: [
310
311
  "full",
311
- V,
312
- J,
313
- G
312
+ H,
313
+ Y,
314
+ q
314
315
  ] },
315
- V,
316
- J,
317
- G
316
+ H,
317
+ Y,
318
+ q
318
319
  ], T = () => [
319
- V,
320
+ H,
320
321
  "auto",
321
- J,
322
- G
322
+ Y,
323
+ q
323
324
  ], re = () => [
324
325
  "auto",
325
326
  "min",
326
327
  "max",
327
328
  "fr",
328
- J,
329
- G
329
+ Y,
330
+ q
330
331
  ], E = () => [
331
332
  "start",
332
333
  "end",
@@ -346,7 +347,7 @@ var r = (e, t) => {
346
347
  "center-safe",
347
348
  "end-safe"
348
349
  ], O = () => ["auto", ...C()], k = () => [
349
- z,
350
+ B,
350
351
  "auto",
351
352
  "full",
352
353
  "dvw",
@@ -360,7 +361,7 @@ var r = (e, t) => {
360
361
  "fit",
361
362
  ...C()
362
363
  ], A = () => [
363
- z,
364
+ B,
364
365
  "screen",
365
366
  "full",
366
367
  "dvw",
@@ -371,7 +372,7 @@ var r = (e, t) => {
371
372
  "fit",
372
373
  ...C()
373
374
  ], j = () => [
374
- z,
375
+ B,
375
376
  "screen",
376
377
  "full",
377
378
  "lh",
@@ -382,50 +383,50 @@ var r = (e, t) => {
382
383
  "max",
383
384
  "fit",
384
385
  ...C()
385
- ], N = () => [
386
+ ], M = () => [
386
387
  e,
387
- J,
388
- G
389
- ], P = () => [
390
- ...y(),
391
- ye,
392
- ge,
393
- { position: [J, G] }
394
- ], ie = () => ["no-repeat", { repeat: [
388
+ Y,
389
+ q
390
+ ], ie = () => [
391
+ ...b(),
392
+ xe,
393
+ _e,
394
+ { position: [Y, q] }
395
+ ], ae = () => ["no-repeat", { repeat: [
395
396
  "",
396
397
  "x",
397
398
  "y",
398
399
  "space",
399
400
  "round"
400
- ] }], ae = () => [
401
+ ] }], P = () => [
401
402
  "auto",
402
403
  "cover",
403
404
  "contain",
404
- be,
405
- fe,
406
- { size: [J, G] }
405
+ Se,
406
+ pe,
407
+ { size: [Y, q] }
407
408
  ], F = () => [
408
- oe,
409
- Y,
410
- K
409
+ ce,
410
+ X,
411
+ J
411
412
  ], I = () => [
412
413
  "",
413
414
  "none",
414
415
  "full",
415
416
  l,
416
- J,
417
- G
417
+ Y,
418
+ q
418
419
  ], L = () => [
419
420
  "",
420
- B,
421
- Y,
422
- K
421
+ V,
422
+ X,
423
+ J
423
424
  ], R = () => [
424
425
  "solid",
425
426
  "dashed",
426
427
  "dotted",
427
428
  "double"
428
- ], ce = () => [
429
+ ], oe = () => [
429
430
  "normal",
430
431
  "multiply",
431
432
  "screen",
@@ -442,33 +443,33 @@ var r = (e, t) => {
442
443
  "saturation",
443
444
  "color",
444
445
  "luminosity"
445
- ], U = () => [
446
- B,
447
- oe,
448
- ye,
449
- ge
450
- ], le = () => [
446
+ ], z = () => [
447
+ V,
448
+ ce,
449
+ xe,
450
+ _e
451
+ ], se = () => [
451
452
  "",
452
453
  "none",
453
- p,
454
- J,
455
- G
454
+ m,
455
+ Y,
456
+ q
456
457
  ], W = () => [
457
458
  "none",
458
- B,
459
- J,
460
- G
461
- ], Z = () => [
459
+ V,
460
+ Y,
461
+ q
462
+ ], G = () => [
462
463
  "none",
464
+ V,
465
+ Y,
466
+ q
467
+ ], ue = () => [
468
+ V,
469
+ Y,
470
+ q
471
+ ], K = () => [
463
472
  B,
464
- J,
465
- G
466
- ], Q = () => [
467
- B,
468
- J,
469
- G
470
- ], $ = () => [
471
- z,
472
473
  "full",
473
474
  ...C()
474
475
  ];
@@ -482,17 +483,17 @@ var r = (e, t) => {
482
483
  "bounce"
483
484
  ],
484
485
  aspect: ["video"],
485
- blur: [H],
486
- breakpoint: [H],
487
- color: [se],
488
- container: [H],
489
- "drop-shadow": [H],
486
+ blur: [U],
487
+ breakpoint: [U],
488
+ color: [le],
489
+ container: [U],
490
+ "drop-shadow": [U],
490
491
  ease: [
491
492
  "in",
492
493
  "out",
493
494
  "in-out"
494
495
  ],
495
- font: [ue],
496
+ font: [de],
496
497
  "font-weight": [
497
498
  "thin",
498
499
  "extralight",
@@ -504,7 +505,7 @@ var r = (e, t) => {
504
505
  "extrabold",
505
506
  "black"
506
507
  ],
507
- "inset-shadow": [H],
508
+ "inset-shadow": [U],
508
509
  leading: [
509
510
  "none",
510
511
  "tight",
@@ -521,11 +522,11 @@ var r = (e, t) => {
521
522
  "distant",
522
523
  "none"
523
524
  ],
524
- radius: [H],
525
- shadow: [H],
526
- spacing: ["px", B],
527
- text: [H],
528
- "text-shadow": [H],
525
+ radius: [U],
526
+ shadow: [U],
527
+ spacing: ["px", V],
528
+ text: [U],
529
+ "text-shadow": [U],
529
530
  tracking: [
530
531
  "tighter",
531
532
  "tight",
@@ -539,28 +540,28 @@ var r = (e, t) => {
539
540
  aspect: [{ aspect: [
540
541
  "auto",
541
542
  "square",
542
- z,
543
- G,
544
- J,
545
- h
543
+ B,
544
+ q,
545
+ Y,
546
+ g
546
547
  ] }],
547
548
  container: ["container"],
548
549
  "container-type": [{ "@container": [
549
550
  "",
550
551
  "normal",
551
552
  "size",
552
- J,
553
- G
553
+ Y,
554
+ q
554
555
  ] }],
555
- "container-named": [de],
556
+ "container-named": [fe],
556
557
  columns: [{ columns: [
557
- B,
558
- G,
559
- J,
558
+ V,
559
+ q,
560
+ Y,
560
561
  s
561
562
  ] }],
562
- "break-after": [{ "break-after": v() }],
563
- "break-before": [{ "break-before": v() }],
563
+ "break-after": [{ "break-after": y() }],
564
+ "break-before": [{ "break-before": y() }],
564
565
  "break-inside": [{ "break-inside": [
565
566
  "auto",
566
567
  "avoid",
@@ -616,13 +617,13 @@ var r = (e, t) => {
616
617
  "none",
617
618
  "scale-down"
618
619
  ] }],
619
- "object-position": [{ object: b() }],
620
- overflow: [{ overflow: x() }],
621
- "overflow-x": [{ "overflow-x": x() }],
622
- "overflow-y": [{ "overflow-y": x() }],
623
- overscroll: [{ overscroll: S() }],
624
- "overscroll-x": [{ "overscroll-x": S() }],
625
- "overscroll-y": [{ "overscroll-y": S() }],
620
+ "object-position": [{ object: x() }],
621
+ overflow: [{ overflow: S() }],
622
+ "overflow-x": [{ "overflow-x": S() }],
623
+ "overflow-y": [{ "overflow-y": S() }],
624
+ overscroll: [{ overscroll: ee() }],
625
+ "overscroll-x": [{ "overscroll-x": ee() }],
626
+ "overscroll-y": [{ "overscroll-y": ee() }],
626
627
  position: [
627
628
  "static",
628
629
  "fixed",
@@ -653,13 +654,13 @@ var r = (e, t) => {
653
654
  "collapse"
654
655
  ],
655
656
  z: [{ z: [
656
- V,
657
+ H,
657
658
  "auto",
658
- J,
659
- G
659
+ Y,
660
+ q
660
661
  ] }],
661
662
  basis: [{ basis: [
662
- z,
663
+ B,
663
664
  "full",
664
665
  "auto",
665
666
  s,
@@ -677,32 +678,32 @@ var r = (e, t) => {
677
678
  "wrap-reverse"
678
679
  ] }],
679
680
  flex: [{ flex: [
681
+ V,
680
682
  B,
681
- z,
682
683
  "auto",
683
684
  "initial",
684
685
  "none",
685
- G
686
+ q
686
687
  ] }],
687
688
  grow: [{ grow: [
688
689
  "",
689
- B,
690
- J,
691
- G
690
+ V,
691
+ Y,
692
+ q
692
693
  ] }],
693
694
  shrink: [{ shrink: [
694
695
  "",
695
- B,
696
- J,
697
- G
696
+ V,
697
+ Y,
698
+ q
698
699
  ] }],
699
700
  order: [{ order: [
700
- V,
701
+ H,
701
702
  "first",
702
703
  "last",
703
704
  "none",
704
- J,
705
- G
705
+ Y,
706
+ q
706
707
  ] }],
707
708
  "grid-cols": [{ "grid-cols": te() }],
708
709
  "col-start-end": [{ col: ne() }],
@@ -808,15 +809,15 @@ var r = (e, t) => {
808
809
  "font-size": [{ text: [
809
810
  "base",
810
811
  n,
811
- Y,
812
- K
812
+ X,
813
+ J
813
814
  ] }],
814
815
  "font-smoothing": ["antialiased", "subpixel-antialiased"],
815
816
  "font-style": ["italic", "not-italic"],
816
817
  "font-weight": [{ font: [
817
818
  r,
818
- Se,
819
- me
819
+ Te,
820
+ he
820
821
  ] }],
821
822
  "font-stretch": [{ "font-stretch": [
822
823
  "ultra-condensed",
@@ -828,15 +829,15 @@ var r = (e, t) => {
828
829
  "expanded",
829
830
  "extra-expanded",
830
831
  "ultra-expanded",
831
- oe,
832
- G
832
+ ce,
833
+ q
833
834
  ] }],
834
835
  "font-family": [{ font: [
835
- ve,
836
- he,
836
+ be,
837
+ ge,
837
838
  t
838
839
  ] }],
839
- "font-features": [{ "font-features": [G] }],
840
+ "font-features": [{ "font-features": [q] }],
840
841
  "fvn-normal": ["normal-nums"],
841
842
  "fvn-ordinal": ["ordinal"],
842
843
  "fvn-slashed-zero": ["slashed-zero"],
@@ -845,28 +846,28 @@ var r = (e, t) => {
845
846
  "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
846
847
  tracking: [{ tracking: [
847
848
  i,
848
- J,
849
- G
849
+ Y,
850
+ q
850
851
  ] }],
851
852
  "line-clamp": [{ "line-clamp": [
852
- B,
853
+ V,
853
854
  "none",
854
- J,
855
- pe
855
+ Y,
856
+ me
856
857
  ] }],
857
858
  leading: [{ leading: [a, ...C()] }],
858
859
  "list-image": [{ "list-image": [
859
860
  "none",
860
- J,
861
- G
861
+ Y,
862
+ q
862
863
  ] }],
863
864
  "list-style-position": [{ list: ["inside", "outside"] }],
864
865
  "list-style-type": [{ list: [
865
866
  "disc",
866
867
  "decimal",
867
868
  "none",
868
- J,
869
- G
869
+ Y,
870
+ q
870
871
  ] }],
871
872
  "text-alignment": [{ text: [
872
873
  "left",
@@ -876,8 +877,8 @@ var r = (e, t) => {
876
877
  "start",
877
878
  "end"
878
879
  ] }],
879
- "placeholder-color": [{ placeholder: N() }],
880
- "text-color": [{ text: N() }],
880
+ "placeholder-color": [{ placeholder: M() }],
881
+ "text-color": [{ text: M() }],
881
882
  "text-decoration": [
882
883
  "underline",
883
884
  "overline",
@@ -886,18 +887,18 @@ var r = (e, t) => {
886
887
  ],
887
888
  "text-decoration-style": [{ decoration: [...R(), "wavy"] }],
888
889
  "text-decoration-thickness": [{ decoration: [
889
- B,
890
+ V,
890
891
  "from-font",
891
892
  "auto",
892
- J,
893
- K
893
+ Y,
894
+ J
894
895
  ] }],
895
- "text-decoration-color": [{ decoration: N() }],
896
+ "text-decoration-color": [{ decoration: M() }],
896
897
  "underline-offset": [{ "underline-offset": [
897
- B,
898
+ V,
898
899
  "auto",
899
- J,
900
- G
900
+ Y,
901
+ q
901
902
  ] }],
902
903
  "text-transform": [
903
904
  "uppercase",
@@ -918,9 +919,9 @@ var r = (e, t) => {
918
919
  ] }],
919
920
  indent: [{ indent: C() }],
920
921
  "tab-size": [{ tab: [
921
- V,
922
- J,
923
- G
922
+ H,
923
+ Y,
924
+ q
924
925
  ] }],
925
926
  "vertical-align": [{ align: [
926
927
  "baseline",
@@ -931,8 +932,8 @@ var r = (e, t) => {
931
932
  "text-bottom",
932
933
  "sub",
933
934
  "super",
934
- J,
935
- G
935
+ Y,
936
+ q
936
937
  ] }],
937
938
  whitespace: [{ whitespace: [
938
939
  "normal",
@@ -960,8 +961,8 @@ var r = (e, t) => {
960
961
  ] }],
961
962
  content: [{ content: [
962
963
  "none",
963
- J,
964
- G
964
+ Y,
965
+ q
965
966
  ] }],
966
967
  "bg-attachment": [{ bg: [
967
968
  "fixed",
@@ -979,9 +980,9 @@ var r = (e, t) => {
979
980
  "padding",
980
981
  "content"
981
982
  ] }],
982
- "bg-position": [{ bg: P() }],
983
- "bg-repeat": [{ bg: ie() }],
984
- "bg-size": [{ bg: ae() }],
983
+ "bg-position": [{ bg: ie() }],
984
+ "bg-repeat": [{ bg: ae() }],
985
+ "bg-size": [{ bg: P() }],
985
986
  "bg-image": [{ bg: [
986
987
  "none",
987
988
  {
@@ -996,31 +997,31 @@ var r = (e, t) => {
996
997
  "l",
997
998
  "tl"
998
999
  ] },
999
- V,
1000
- J,
1001
- G
1000
+ H,
1001
+ Y,
1002
+ q
1002
1003
  ],
1003
1004
  radial: [
1004
1005
  "",
1005
- J,
1006
- G
1006
+ Y,
1007
+ q
1007
1008
  ],
1008
1009
  conic: [
1009
- V,
1010
- J,
1011
- G
1010
+ H,
1011
+ Y,
1012
+ q
1012
1013
  ]
1013
1014
  },
1014
- xe,
1015
- _e
1015
+ Ce,
1016
+ ve
1016
1017
  ] }],
1017
- "bg-color": [{ bg: N() }],
1018
+ "bg-color": [{ bg: M() }],
1018
1019
  "gradient-from-pos": [{ from: F() }],
1019
1020
  "gradient-via-pos": [{ via: F() }],
1020
1021
  "gradient-to-pos": [{ to: F() }],
1021
- "gradient-from": [{ from: N() }],
1022
- "gradient-via": [{ via: N() }],
1023
- "gradient-to": [{ to: N() }],
1022
+ "gradient-from": [{ from: M() }],
1023
+ "gradient-via": [{ via: M() }],
1024
+ "gradient-to": [{ to: M() }],
1024
1025
  rounded: [{ rounded: I() }],
1025
1026
  "rounded-s": [{ "rounded-s": I() }],
1026
1027
  "rounded-e": [{ "rounded-e": I() }],
@@ -1061,75 +1062,75 @@ var r = (e, t) => {
1061
1062
  "hidden",
1062
1063
  "none"
1063
1064
  ] }],
1064
- "border-color": [{ border: N() }],
1065
- "border-color-x": [{ "border-x": N() }],
1066
- "border-color-y": [{ "border-y": N() }],
1067
- "border-color-s": [{ "border-s": N() }],
1068
- "border-color-e": [{ "border-e": N() }],
1069
- "border-color-bs": [{ "border-bs": N() }],
1070
- "border-color-be": [{ "border-be": N() }],
1071
- "border-color-t": [{ "border-t": N() }],
1072
- "border-color-r": [{ "border-r": N() }],
1073
- "border-color-b": [{ "border-b": N() }],
1074
- "border-color-l": [{ "border-l": N() }],
1075
- "divide-color": [{ divide: N() }],
1065
+ "border-color": [{ border: M() }],
1066
+ "border-color-x": [{ "border-x": M() }],
1067
+ "border-color-y": [{ "border-y": M() }],
1068
+ "border-color-s": [{ "border-s": M() }],
1069
+ "border-color-e": [{ "border-e": M() }],
1070
+ "border-color-bs": [{ "border-bs": M() }],
1071
+ "border-color-be": [{ "border-be": M() }],
1072
+ "border-color-t": [{ "border-t": M() }],
1073
+ "border-color-r": [{ "border-r": M() }],
1074
+ "border-color-b": [{ "border-b": M() }],
1075
+ "border-color-l": [{ "border-l": M() }],
1076
+ "divide-color": [{ divide: M() }],
1076
1077
  "outline-style": [{ outline: [
1077
1078
  ...R(),
1078
1079
  "none",
1079
1080
  "hidden"
1080
1081
  ] }],
1081
1082
  "outline-offset": [{ "outline-offset": [
1082
- B,
1083
- J,
1084
- G
1083
+ V,
1084
+ Y,
1085
+ q
1085
1086
  ] }],
1086
1087
  "outline-w": [{ outline: [
1087
1088
  "",
1088
- B,
1089
- Y,
1090
- K
1089
+ V,
1090
+ X,
1091
+ J
1091
1092
  ] }],
1092
- "outline-color": [{ outline: N() }],
1093
+ "outline-color": [{ outline: M() }],
1093
1094
  shadow: [{ shadow: [
1094
1095
  "",
1095
1096
  "none",
1096
1097
  u,
1097
- X,
1098
- q
1098
+ we,
1099
+ ye
1099
1100
  ] }],
1100
- "shadow-color": [{ shadow: N() }],
1101
+ "shadow-color": [{ shadow: M() }],
1101
1102
  "inset-shadow": [{ "inset-shadow": [
1102
1103
  "none",
1103
1104
  d,
1104
- X,
1105
- q
1105
+ we,
1106
+ ye
1106
1107
  ] }],
1107
- "inset-shadow-color": [{ "inset-shadow": N() }],
1108
+ "inset-shadow-color": [{ "inset-shadow": M() }],
1108
1109
  "ring-w": [{ ring: L() }],
1109
1110
  "ring-w-inset": ["ring-inset"],
1110
- "ring-color": [{ ring: N() }],
1111
- "ring-offset-w": [{ "ring-offset": [B, K] }],
1112
- "ring-offset-color": [{ "ring-offset": N() }],
1111
+ "ring-color": [{ ring: M() }],
1112
+ "ring-offset-w": [{ "ring-offset": [V, J] }],
1113
+ "ring-offset-color": [{ "ring-offset": M() }],
1113
1114
  "inset-ring-w": [{ "inset-ring": L() }],
1114
- "inset-ring-color": [{ "inset-ring": N() }],
1115
+ "inset-ring-color": [{ "inset-ring": M() }],
1115
1116
  "text-shadow": [{ "text-shadow": [
1116
1117
  "none",
1117
- ee,
1118
- X,
1119
- q
1118
+ f,
1119
+ we,
1120
+ ye
1120
1121
  ] }],
1121
- "text-shadow-color": [{ "text-shadow": N() }],
1122
+ "text-shadow-color": [{ "text-shadow": M() }],
1122
1123
  opacity: [{ opacity: [
1123
- B,
1124
- J,
1125
- G
1124
+ V,
1125
+ Y,
1126
+ q
1126
1127
  ] }],
1127
1128
  "mix-blend": [{ "mix-blend": [
1128
- ...ce(),
1129
+ ...oe(),
1129
1130
  "plus-darker",
1130
1131
  "plus-lighter"
1131
1132
  ] }],
1132
- "bg-blend": [{ "bg-blend": ce() }],
1133
+ "bg-blend": [{ "bg-blend": oe() }],
1133
1134
  "mask-clip": [{ "mask-clip": [
1134
1135
  "border",
1135
1136
  "padding",
@@ -1144,51 +1145,51 @@ var r = (e, t) => {
1144
1145
  "intersect",
1145
1146
  "exclude"
1146
1147
  ] }],
1147
- "mask-image-linear-pos": [{ "mask-linear": [B] }],
1148
- "mask-image-linear-from-pos": [{ "mask-linear-from": U() }],
1149
- "mask-image-linear-to-pos": [{ "mask-linear-to": U() }],
1150
- "mask-image-linear-from-color": [{ "mask-linear-from": N() }],
1151
- "mask-image-linear-to-color": [{ "mask-linear-to": N() }],
1152
- "mask-image-t-from-pos": [{ "mask-t-from": U() }],
1153
- "mask-image-t-to-pos": [{ "mask-t-to": U() }],
1154
- "mask-image-t-from-color": [{ "mask-t-from": N() }],
1155
- "mask-image-t-to-color": [{ "mask-t-to": N() }],
1156
- "mask-image-r-from-pos": [{ "mask-r-from": U() }],
1157
- "mask-image-r-to-pos": [{ "mask-r-to": U() }],
1158
- "mask-image-r-from-color": [{ "mask-r-from": N() }],
1159
- "mask-image-r-to-color": [{ "mask-r-to": N() }],
1160
- "mask-image-b-from-pos": [{ "mask-b-from": U() }],
1161
- "mask-image-b-to-pos": [{ "mask-b-to": U() }],
1162
- "mask-image-b-from-color": [{ "mask-b-from": N() }],
1163
- "mask-image-b-to-color": [{ "mask-b-to": N() }],
1164
- "mask-image-l-from-pos": [{ "mask-l-from": U() }],
1165
- "mask-image-l-to-pos": [{ "mask-l-to": U() }],
1166
- "mask-image-l-from-color": [{ "mask-l-from": N() }],
1167
- "mask-image-l-to-color": [{ "mask-l-to": N() }],
1168
- "mask-image-x-from-pos": [{ "mask-x-from": U() }],
1169
- "mask-image-x-to-pos": [{ "mask-x-to": U() }],
1170
- "mask-image-x-from-color": [{ "mask-x-from": N() }],
1171
- "mask-image-x-to-color": [{ "mask-x-to": N() }],
1172
- "mask-image-y-from-pos": [{ "mask-y-from": U() }],
1173
- "mask-image-y-to-pos": [{ "mask-y-to": U() }],
1174
- "mask-image-y-from-color": [{ "mask-y-from": N() }],
1175
- "mask-image-y-to-color": [{ "mask-y-to": N() }],
1176
- "mask-image-radial": [{ "mask-radial": [J, G] }],
1177
- "mask-image-radial-from-pos": [{ "mask-radial-from": U() }],
1178
- "mask-image-radial-to-pos": [{ "mask-radial-to": U() }],
1179
- "mask-image-radial-from-color": [{ "mask-radial-from": N() }],
1180
- "mask-image-radial-to-color": [{ "mask-radial-to": N() }],
1148
+ "mask-image-linear-pos": [{ "mask-linear": [V] }],
1149
+ "mask-image-linear-from-pos": [{ "mask-linear-from": z() }],
1150
+ "mask-image-linear-to-pos": [{ "mask-linear-to": z() }],
1151
+ "mask-image-linear-from-color": [{ "mask-linear-from": M() }],
1152
+ "mask-image-linear-to-color": [{ "mask-linear-to": M() }],
1153
+ "mask-image-t-from-pos": [{ "mask-t-from": z() }],
1154
+ "mask-image-t-to-pos": [{ "mask-t-to": z() }],
1155
+ "mask-image-t-from-color": [{ "mask-t-from": M() }],
1156
+ "mask-image-t-to-color": [{ "mask-t-to": M() }],
1157
+ "mask-image-r-from-pos": [{ "mask-r-from": z() }],
1158
+ "mask-image-r-to-pos": [{ "mask-r-to": z() }],
1159
+ "mask-image-r-from-color": [{ "mask-r-from": M() }],
1160
+ "mask-image-r-to-color": [{ "mask-r-to": M() }],
1161
+ "mask-image-b-from-pos": [{ "mask-b-from": z() }],
1162
+ "mask-image-b-to-pos": [{ "mask-b-to": z() }],
1163
+ "mask-image-b-from-color": [{ "mask-b-from": M() }],
1164
+ "mask-image-b-to-color": [{ "mask-b-to": M() }],
1165
+ "mask-image-l-from-pos": [{ "mask-l-from": z() }],
1166
+ "mask-image-l-to-pos": [{ "mask-l-to": z() }],
1167
+ "mask-image-l-from-color": [{ "mask-l-from": M() }],
1168
+ "mask-image-l-to-color": [{ "mask-l-to": M() }],
1169
+ "mask-image-x-from-pos": [{ "mask-x-from": z() }],
1170
+ "mask-image-x-to-pos": [{ "mask-x-to": z() }],
1171
+ "mask-image-x-from-color": [{ "mask-x-from": M() }],
1172
+ "mask-image-x-to-color": [{ "mask-x-to": M() }],
1173
+ "mask-image-y-from-pos": [{ "mask-y-from": z() }],
1174
+ "mask-image-y-to-pos": [{ "mask-y-to": z() }],
1175
+ "mask-image-y-from-color": [{ "mask-y-from": M() }],
1176
+ "mask-image-y-to-color": [{ "mask-y-to": M() }],
1177
+ "mask-image-radial": [{ "mask-radial": [Y, q] }],
1178
+ "mask-image-radial-from-pos": [{ "mask-radial-from": z() }],
1179
+ "mask-image-radial-to-pos": [{ "mask-radial-to": z() }],
1180
+ "mask-image-radial-from-color": [{ "mask-radial-from": M() }],
1181
+ "mask-image-radial-to-color": [{ "mask-radial-to": M() }],
1181
1182
  "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
1182
1183
  "mask-image-radial-size": [{ "mask-radial": [{
1183
1184
  closest: ["side", "corner"],
1184
1185
  farthest: ["side", "corner"]
1185
1186
  }] }],
1186
- "mask-image-radial-pos": [{ "mask-radial-at": y() }],
1187
- "mask-image-conic-pos": [{ "mask-conic": [B] }],
1188
- "mask-image-conic-from-pos": [{ "mask-conic-from": U() }],
1189
- "mask-image-conic-to-pos": [{ "mask-conic-to": U() }],
1190
- "mask-image-conic-from-color": [{ "mask-conic-from": N() }],
1191
- "mask-image-conic-to-color": [{ "mask-conic-to": N() }],
1187
+ "mask-image-radial-pos": [{ "mask-radial-at": b() }],
1188
+ "mask-image-conic-pos": [{ "mask-conic": [V] }],
1189
+ "mask-image-conic-from-pos": [{ "mask-conic-from": z() }],
1190
+ "mask-image-conic-to-pos": [{ "mask-conic-to": z() }],
1191
+ "mask-image-conic-from-color": [{ "mask-conic-from": M() }],
1192
+ "mask-image-conic-to-color": [{ "mask-conic-to": M() }],
1192
1193
  "mask-mode": [{ mask: [
1193
1194
  "alpha",
1194
1195
  "luminance",
@@ -1202,117 +1203,117 @@ var r = (e, t) => {
1202
1203
  "stroke",
1203
1204
  "view"
1204
1205
  ] }],
1205
- "mask-position": [{ mask: P() }],
1206
- "mask-repeat": [{ mask: ie() }],
1207
- "mask-size": [{ mask: ae() }],
1206
+ "mask-position": [{ mask: ie() }],
1207
+ "mask-repeat": [{ mask: ae() }],
1208
+ "mask-size": [{ mask: P() }],
1208
1209
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
1209
1210
  "mask-image": [{ mask: [
1210
1211
  "none",
1211
- J,
1212
- G
1212
+ Y,
1213
+ q
1213
1214
  ] }],
1214
1215
  filter: [{ filter: [
1215
1216
  "",
1216
1217
  "none",
1217
- J,
1218
- G
1218
+ Y,
1219
+ q
1219
1220
  ] }],
1220
- blur: [{ blur: le() }],
1221
+ blur: [{ blur: se() }],
1221
1222
  brightness: [{ brightness: [
1222
- B,
1223
- J,
1224
- G
1223
+ V,
1224
+ Y,
1225
+ q
1225
1226
  ] }],
1226
1227
  contrast: [{ contrast: [
1227
- B,
1228
- J,
1229
- G
1228
+ V,
1229
+ Y,
1230
+ q
1230
1231
  ] }],
1231
1232
  "drop-shadow": [{ "drop-shadow": [
1232
1233
  "",
1233
1234
  "none",
1234
- f,
1235
- X,
1236
- q
1235
+ p,
1236
+ we,
1237
+ ye
1237
1238
  ] }],
1238
- "drop-shadow-color": [{ "drop-shadow": N() }],
1239
+ "drop-shadow-color": [{ "drop-shadow": M() }],
1239
1240
  grayscale: [{ grayscale: [
1240
1241
  "",
1241
- B,
1242
- J,
1243
- G
1242
+ V,
1243
+ Y,
1244
+ q
1244
1245
  ] }],
1245
1246
  "hue-rotate": [{ "hue-rotate": [
1246
- B,
1247
- J,
1248
- G
1247
+ V,
1248
+ Y,
1249
+ q
1249
1250
  ] }],
1250
1251
  invert: [{ invert: [
1251
1252
  "",
1252
- B,
1253
- J,
1254
- G
1253
+ V,
1254
+ Y,
1255
+ q
1255
1256
  ] }],
1256
1257
  saturate: [{ saturate: [
1257
- B,
1258
- J,
1259
- G
1258
+ V,
1259
+ Y,
1260
+ q
1260
1261
  ] }],
1261
1262
  sepia: [{ sepia: [
1262
1263
  "",
1263
- B,
1264
- J,
1265
- G
1264
+ V,
1265
+ Y,
1266
+ q
1266
1267
  ] }],
1267
1268
  "backdrop-filter": [{ "backdrop-filter": [
1268
1269
  "",
1269
1270
  "none",
1270
- J,
1271
- G
1271
+ Y,
1272
+ q
1272
1273
  ] }],
1273
- "backdrop-blur": [{ "backdrop-blur": le() }],
1274
+ "backdrop-blur": [{ "backdrop-blur": se() }],
1274
1275
  "backdrop-brightness": [{ "backdrop-brightness": [
1275
- B,
1276
- J,
1277
- G
1276
+ V,
1277
+ Y,
1278
+ q
1278
1279
  ] }],
1279
1280
  "backdrop-contrast": [{ "backdrop-contrast": [
1280
- B,
1281
- J,
1282
- G
1281
+ V,
1282
+ Y,
1283
+ q
1283
1284
  ] }],
1284
1285
  "backdrop-grayscale": [{ "backdrop-grayscale": [
1285
1286
  "",
1286
- B,
1287
- J,
1288
- G
1287
+ V,
1288
+ Y,
1289
+ q
1289
1290
  ] }],
1290
1291
  "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1291
- B,
1292
- J,
1293
- G
1292
+ V,
1293
+ Y,
1294
+ q
1294
1295
  ] }],
1295
1296
  "backdrop-invert": [{ "backdrop-invert": [
1296
1297
  "",
1297
- B,
1298
- J,
1299
- G
1298
+ V,
1299
+ Y,
1300
+ q
1300
1301
  ] }],
1301
1302
  "backdrop-opacity": [{ "backdrop-opacity": [
1302
- B,
1303
- J,
1304
- G
1303
+ V,
1304
+ Y,
1305
+ q
1305
1306
  ] }],
1306
1307
  "backdrop-saturate": [{ "backdrop-saturate": [
1307
- B,
1308
- J,
1309
- G
1308
+ V,
1309
+ Y,
1310
+ q
1310
1311
  ] }],
1311
1312
  "backdrop-sepia": [{ "backdrop-sepia": [
1312
1313
  "",
1313
- B,
1314
- J,
1315
- G
1314
+ V,
1315
+ Y,
1316
+ q
1316
1317
  ] }],
1317
1318
  "border-collapse": [{ border: ["collapse", "separate"] }],
1318
1319
  "border-spacing": [{ "border-spacing": C() }],
@@ -1328,76 +1329,76 @@ var r = (e, t) => {
1328
1329
  "shadow",
1329
1330
  "transform",
1330
1331
  "none",
1331
- J,
1332
- G
1332
+ Y,
1333
+ q
1333
1334
  ] }],
1334
1335
  "transition-behavior": [{ transition: ["normal", "discrete"] }],
1335
1336
  duration: [{ duration: [
1336
- B,
1337
+ V,
1337
1338
  "initial",
1338
- J,
1339
- G
1339
+ Y,
1340
+ q
1340
1341
  ] }],
1341
1342
  ease: [{ ease: [
1342
1343
  "linear",
1343
1344
  "initial",
1344
- g,
1345
- J,
1346
- G
1345
+ _,
1346
+ Y,
1347
+ q
1347
1348
  ] }],
1348
1349
  delay: [{ delay: [
1349
- B,
1350
- J,
1351
- G
1350
+ V,
1351
+ Y,
1352
+ q
1352
1353
  ] }],
1353
1354
  animate: [{ animate: [
1354
1355
  "none",
1355
- _,
1356
- J,
1357
- G
1356
+ v,
1357
+ Y,
1358
+ q
1358
1359
  ] }],
1359
1360
  backface: [{ backface: ["hidden", "visible"] }],
1360
1361
  perspective: [{ perspective: [
1361
- m,
1362
- J,
1363
- G
1362
+ h,
1363
+ Y,
1364
+ q
1364
1365
  ] }],
1365
- "perspective-origin": [{ "perspective-origin": b() }],
1366
+ "perspective-origin": [{ "perspective-origin": x() }],
1366
1367
  rotate: [{ rotate: W() }],
1367
1368
  "rotate-x": [{ "rotate-x": W() }],
1368
1369
  "rotate-y": [{ "rotate-y": W() }],
1369
1370
  "rotate-z": [{ "rotate-z": W() }],
1370
- scale: [{ scale: Z() }],
1371
- "scale-x": [{ "scale-x": Z() }],
1372
- "scale-y": [{ "scale-y": Z() }],
1373
- "scale-z": [{ "scale-z": Z() }],
1371
+ scale: [{ scale: G() }],
1372
+ "scale-x": [{ "scale-x": G() }],
1373
+ "scale-y": [{ "scale-y": G() }],
1374
+ "scale-z": [{ "scale-z": G() }],
1374
1375
  "scale-3d": ["scale-3d"],
1375
- skew: [{ skew: Q() }],
1376
- "skew-x": [{ "skew-x": Q() }],
1377
- "skew-y": [{ "skew-y": Q() }],
1376
+ skew: [{ skew: ue() }],
1377
+ "skew-x": [{ "skew-x": ue() }],
1378
+ "skew-y": [{ "skew-y": ue() }],
1378
1379
  transform: [{ transform: [
1379
- J,
1380
- G,
1380
+ Y,
1381
+ q,
1381
1382
  "",
1382
1383
  "none",
1383
1384
  "gpu",
1384
1385
  "cpu"
1385
1386
  ] }],
1386
- "transform-origin": [{ origin: b() }],
1387
+ "transform-origin": [{ origin: x() }],
1387
1388
  "transform-style": [{ transform: ["3d", "flat"] }],
1388
- translate: [{ translate: $() }],
1389
- "translate-x": [{ "translate-x": $() }],
1390
- "translate-y": [{ "translate-y": $() }],
1391
- "translate-z": [{ "translate-z": $() }],
1389
+ translate: [{ translate: K() }],
1390
+ "translate-x": [{ "translate-x": K() }],
1391
+ "translate-y": [{ "translate-y": K() }],
1392
+ "translate-z": [{ "translate-z": K() }],
1392
1393
  "translate-none": ["translate-none"],
1393
1394
  zoom: [{ zoom: [
1394
- V,
1395
- J,
1396
- G
1395
+ H,
1396
+ Y,
1397
+ q
1397
1398
  ] }],
1398
- accent: [{ accent: N() }],
1399
+ accent: [{ accent: M() }],
1399
1400
  appearance: [{ appearance: ["none", "auto"] }],
1400
- "caret-color": [{ caret: N() }],
1401
+ "caret-color": [{ caret: M() }],
1401
1402
  "color-scheme": [{ scheme: [
1402
1403
  "normal",
1403
1404
  "dark",
@@ -1443,8 +1444,8 @@ var r = (e, t) => {
1443
1444
  "nwse-resize",
1444
1445
  "zoom-in",
1445
1446
  "zoom-out",
1446
- J,
1447
- G
1447
+ Y,
1448
+ q
1448
1449
  ] }],
1449
1450
  "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
1450
1451
  "pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -1455,8 +1456,8 @@ var r = (e, t) => {
1455
1456
  "x"
1456
1457
  ] }],
1457
1458
  "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1458
- "scrollbar-thumb-color": [{ "scrollbar-thumb": N() }],
1459
- "scrollbar-track-color": [{ "scrollbar-track": N() }],
1459
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": M() }],
1460
+ "scrollbar-track-color": [{ "scrollbar-track": M() }],
1460
1461
  "scrollbar-gutter": [{ "scrollbar-gutter": [
1461
1462
  "auto",
1462
1463
  "stable",
@@ -1530,17 +1531,17 @@ var r = (e, t) => {
1530
1531
  "scroll",
1531
1532
  "contents",
1532
1533
  "transform",
1533
- J,
1534
- G
1534
+ Y,
1535
+ q
1535
1536
  ] }],
1536
- fill: [{ fill: ["none", ...N()] }],
1537
+ fill: [{ fill: ["none", ...M()] }],
1537
1538
  "stroke-w": [{ stroke: [
1538
- B,
1539
- Y,
1540
- K,
1541
- pe
1539
+ V,
1540
+ X,
1541
+ J,
1542
+ me
1542
1543
  ] }],
1543
- stroke: [{ stroke: ["none", ...N()] }],
1544
+ stroke: [{ stroke: ["none", ...M()] }],
1544
1545
  "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1545
1546
  },
1546
1547
  conflictingClassGroups: {
@@ -1729,17 +1730,259 @@ var r = (e, t) => {
1729
1730
  });
1730
1731
  //#endregion
1731
1732
  //#region src/lib/utils.ts
1732
- function je(...e) {
1733
- return Ae(n(e));
1733
+ function Fe(...e) {
1734
+ return Pe(a(e));
1734
1735
  }
1735
1736
  //#endregion
1736
1737
  //#region src/base/Skeleton/Skeleton.tsx
1737
- function Me({ className: t, ...n }) {
1738
- return /* @__PURE__ */ e("div", {
1738
+ function Ie({ className: e, ...n }) {
1739
+ return /* @__PURE__ */ t("div", {
1739
1740
  "data-slot": "skeleton",
1740
- className: je("animate-pulse rounded-md bg-muted", t),
1741
+ className: Fe("animate-pulse rounded-md bg-muted", e),
1741
1742
  ...n
1742
1743
  });
1743
1744
  }
1744
1745
  //#endregion
1745
- export { je as n, n as r, Me as t };
1746
+ //#region src/composed/CodeEditor/setupCodeEditor.ts
1747
+ var $ = !1;
1748
+ function Le({ baseUrl: e, monaco: t } = {}) {
1749
+ if (!$) {
1750
+ if (t !== void 0) {
1751
+ r.config({ monaco: t }), $ = !0;
1752
+ return;
1753
+ }
1754
+ e !== void 0 && (r.config({ paths: { vs: e.replace(/\/+$/, "") } }), $ = !0);
1755
+ }
1756
+ }
1757
+ async function Re() {
1758
+ if ($) return;
1759
+ let e = await import("monaco-editor");
1760
+ $ ||= (r.config({ monaco: e }), !0);
1761
+ }
1762
+ function ze() {
1763
+ return $;
1764
+ }
1765
+ //#endregion
1766
+ //#region src/composed/CodeEditor/theme/buildTheme.ts
1767
+ var Be = "graphene";
1768
+ function Ve(e) {
1769
+ let t = {}, n = [], r = document.createElement("div");
1770
+ document.body.appendChild(r);
1771
+ let i = getComputedStyle(r), a = document.createElement("canvas");
1772
+ a.width = 1, a.height = 1;
1773
+ let o = a.getContext("2d");
1774
+ for (let a of e) {
1775
+ if (!o) {
1776
+ t[a] = "#000000";
1777
+ continue;
1778
+ }
1779
+ r.style.backgroundColor = `var(${a})`;
1780
+ let e = i.backgroundColor;
1781
+ (e === "" || e === "rgba(0, 0, 0, 0)") && n.push(a), o.clearRect(0, 0, 1, 1), o.fillStyle = e, o.fillRect(0, 0, 1, 1);
1782
+ let [s, c, l] = o.getImageData(0, 0, 1, 1).data;
1783
+ t[a] = "#" + [
1784
+ s,
1785
+ c,
1786
+ l
1787
+ ].map((e) => e.toString(16).padStart(2, "0")).join("");
1788
+ }
1789
+ return document.body.removeChild(r), t;
1790
+ }
1791
+ function He() {
1792
+ let e = document.documentElement.classList.contains("dark"), t = Ve([
1793
+ "--background",
1794
+ "--foreground",
1795
+ "--border",
1796
+ "--muted",
1797
+ "--muted-foreground",
1798
+ "--primary",
1799
+ "--code-editor-string",
1800
+ "--code-editor-keyword",
1801
+ "--code-editor-number",
1802
+ "--code-editor-type",
1803
+ "--code-editor-special"
1804
+ ]), n = t["--background"], r = t["--foreground"], i = t["--border"], a = t["--muted"], o = t["--muted-foreground"], s = t["--primary"], c = t["--code-editor-string"], l = t["--code-editor-keyword"], u = t["--code-editor-number"], d = t["--code-editor-type"], f = t["--code-editor-special"], p = (e) => e.slice(1);
1805
+ return {
1806
+ base: e ? "vs-dark" : "vs",
1807
+ inherit: !0,
1808
+ rules: [
1809
+ {
1810
+ token: "string",
1811
+ foreground: p(c)
1812
+ },
1813
+ {
1814
+ token: "string.key.json",
1815
+ foreground: p(d)
1816
+ },
1817
+ {
1818
+ token: "keyword",
1819
+ foreground: p(l)
1820
+ },
1821
+ {
1822
+ token: "keyword.json",
1823
+ foreground: p(f)
1824
+ },
1825
+ {
1826
+ token: "number",
1827
+ foreground: p(u)
1828
+ },
1829
+ {
1830
+ token: "type",
1831
+ foreground: p(d)
1832
+ },
1833
+ {
1834
+ token: "tag",
1835
+ foreground: p(l)
1836
+ },
1837
+ {
1838
+ token: "attribute.name",
1839
+ foreground: p(d)
1840
+ },
1841
+ {
1842
+ token: "attribute.value",
1843
+ foreground: p(c)
1844
+ },
1845
+ {
1846
+ token: "comment",
1847
+ foreground: p(o),
1848
+ fontStyle: "italic"
1849
+ },
1850
+ {
1851
+ token: "comment.line",
1852
+ foreground: p(o),
1853
+ fontStyle: "italic"
1854
+ },
1855
+ {
1856
+ token: "comment.block",
1857
+ foreground: p(o),
1858
+ fontStyle: "italic"
1859
+ },
1860
+ {
1861
+ token: "identifier",
1862
+ foreground: p(r)
1863
+ },
1864
+ {
1865
+ token: "variable",
1866
+ foreground: p(r)
1867
+ },
1868
+ {
1869
+ token: "delimiter",
1870
+ foreground: p(r)
1871
+ }
1872
+ ],
1873
+ colors: {
1874
+ "editor.background": n,
1875
+ "editor.foreground": r,
1876
+ "editor.lineHighlightBackground": r + "08",
1877
+ "editor.lineHighlightBorder": "#00000000",
1878
+ "editor.selectionBackground": s + "4d",
1879
+ "editor.inactiveSelectionBackground": s + "26",
1880
+ "editorCursor.foreground": s,
1881
+ "editorLineNumber.foreground": o,
1882
+ "editorLineNumber.activeForeground": r,
1883
+ "editorGutter.background": n,
1884
+ "editorIndentGuide.background1": i,
1885
+ "editorIndentGuide.activeBackground1": o,
1886
+ "editorWidget.background": a,
1887
+ "editorWidget.foreground": r,
1888
+ "editorWidget.border": i,
1889
+ "editorWidget.resizeBorder": i,
1890
+ "widget.shadow": r + "1a",
1891
+ "input.background": n,
1892
+ "input.border": i,
1893
+ "input.foreground": r,
1894
+ "input.placeholderForeground": o,
1895
+ "inputOption.activeBorder": s,
1896
+ "inputOption.activeBackground": s + "26",
1897
+ "inputOption.activeForeground": s,
1898
+ "button.background": s,
1899
+ "button.foreground": "#ffffff",
1900
+ "editorSuggestWidget.background": n,
1901
+ "editorSuggestWidget.border": i,
1902
+ "editorSuggestWidget.selectedBackground": s + "26",
1903
+ "scrollbarSlider.background": i + "80",
1904
+ "scrollbarSlider.hoverBackground": i,
1905
+ "scrollbarSlider.activeBackground": o + "80"
1906
+ }
1907
+ };
1908
+ }
1909
+ //#endregion
1910
+ //#region src/composed/CodeEditor/CodeEditor.tsx
1911
+ function Ue(e) {
1912
+ e.editor.defineTheme(Be, He()), e.editor.setTheme(Be);
1913
+ }
1914
+ var We = (e) => {
1915
+ Ue(e);
1916
+ };
1917
+ function Ge() {
1918
+ let [t, n] = e.useState(typeof document < "u" && document.documentElement.classList.contains("dark"));
1919
+ return e.useEffect(() => {
1920
+ let e = new MutationObserver(() => {
1921
+ n(document.documentElement.classList.contains("dark"));
1922
+ });
1923
+ return e.observe(document.documentElement, {
1924
+ attributes: !0,
1925
+ attributeFilter: ["class"]
1926
+ }), () => e.disconnect();
1927
+ }, []), t;
1928
+ }
1929
+ function Ke({ value: r, defaultValue: i, onChange: a, language: o = "plaintext", readOnly: s = !1, disabled: c = !1, height: l, className: u, options: d, onMount: f }) {
1930
+ let [p, m] = e.useState(ze);
1931
+ e.useEffect(() => {
1932
+ if (p) return;
1933
+ let e = !1;
1934
+ return Re().then(() => {
1935
+ e || m(!0);
1936
+ }), () => {
1937
+ e = !0;
1938
+ };
1939
+ }, [p]);
1940
+ let h = Ge(), g = e.useRef(null), _ = e.useRef(null);
1941
+ e.useEffect(() => {
1942
+ g.current && Ue(g.current);
1943
+ }, [h]);
1944
+ let v = e.useCallback((e, t) => {
1945
+ g.current = t, _.current = e, f?.(e, t);
1946
+ }, [f]), y = typeof l == "number" ? `${l}px` : l ?? "300px", b = /* @__PURE__ */ t(Ie, { className: "size-full" });
1947
+ return /* @__PURE__ */ t("div", {
1948
+ "data-slot": "code-editor",
1949
+ "data-disabled": c ? "" : void 0,
1950
+ "data-readonly": s && !c ? "" : void 0,
1951
+ className: Fe("overflow-hidden rounded-lg border border-input bg-background", "data-disabled:pointer-events-none data-disabled:opacity-50", "data-readonly:bg-muted/30", u),
1952
+ style: { height: y },
1953
+ children: p ? /* @__PURE__ */ t(n, {
1954
+ height: "100%",
1955
+ language: o,
1956
+ value: r,
1957
+ defaultValue: i,
1958
+ theme: Be,
1959
+ onChange: a,
1960
+ onMount: v,
1961
+ beforeMount: We,
1962
+ loading: b,
1963
+ options: {
1964
+ readOnly: s || c,
1965
+ minimap: { enabled: !1 },
1966
+ scrollBeyondLastLine: !1,
1967
+ automaticLayout: !0,
1968
+ fontFamily: "ui-monospace, Menlo, Consolas, \"Cascadia Code\", \"Liberation Mono\", monospace",
1969
+ fontSize: 13,
1970
+ lineHeight: 20,
1971
+ padding: {
1972
+ top: 8,
1973
+ bottom: 8
1974
+ },
1975
+ glyphMargin: !1,
1976
+ renderLineHighlight: "line",
1977
+ scrollbar: {
1978
+ verticalScrollbarSize: 6,
1979
+ horizontalScrollbarSize: 6
1980
+ },
1981
+ overviewRulerLanes: 0,
1982
+ ...d
1983
+ }
1984
+ }) : b
1985
+ });
1986
+ }
1987
+ //#endregion
1988
+ export { a, Fe as i, Le as n, Ie as r, Ke as t };