@gravitee/graphene-core 2.53.0 → 2.54.0-monaco-modules.340137b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Skeleton-C30qULzD.js → CodeEditor-Dzc3g71Y.js} +759 -491
- package/dist/__stories__/fixtures/index.d.ts +1 -1
- package/dist/__stories__/fixtures/index.d.ts.map +1 -1
- package/dist/__stories__/fixtures/json-schema-form/code-editor.fixture.d.ts +14 -0
- package/dist/__stories__/fixtures/json-schema-form/code-editor.fixture.d.ts.map +1 -0
- package/dist/__stories__/fixtures/json-schema-form/index.d.ts +1 -0
- package/dist/__stories__/fixtures/json-schema-form/index.d.ts.map +1 -1
- package/dist/code-editor/index.js +2 -228
- package/dist/composed/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/composed/CodeEditor/contributions.d.ts +1 -0
- package/dist/composed/CodeEditor/contributions.d.ts.map +1 -0
- package/dist/composed/CodeEditor/setupCodeEditor.d.ts +34 -39
- package/dist/composed/CodeEditor/setupCodeEditor.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/SchemaField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/code-editor/CodeEditorField.d.ts +8 -0
- package/dist/composed/JsonSchemaForm/fields/code-editor/CodeEditorField.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/models/json-schema.types.d.ts +5 -5
- package/dist/composed/JsonSchemaForm/models/json-schema.types.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/utils/schemaShape.d.ts +2 -1
- package/dist/composed/JsonSchemaForm/utils/schemaShape.d.ts.map +1 -1
- package/dist/contributions-BKYZe_-J.js +5 -0
- package/dist/index.js +8211 -8167
- package/package.json +2 -1
|
@@ -1,115 +1,116 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import { jsx as
|
|
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
|
|
5
|
-
var n, r
|
|
6
|
-
if (typeof e == "string" || typeof e == "number")
|
|
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 (
|
|
10
|
-
} else for (
|
|
11
|
-
return
|
|
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
|
|
14
|
-
for (var e,
|
|
15
|
-
return
|
|
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
|
|
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
|
-
},
|
|
25
|
+
}, s = (e, t) => ({
|
|
25
26
|
classGroupId: e,
|
|
26
27
|
validator: t
|
|
27
|
-
}),
|
|
28
|
+
}), c = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
28
29
|
nextPart: e,
|
|
29
30
|
validators: t,
|
|
30
31
|
classGroupId: n
|
|
31
|
-
}),
|
|
32
|
-
let t =
|
|
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
|
|
36
|
-
let n = e.split(
|
|
37
|
-
return
|
|
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 =
|
|
42
|
-
return t ?
|
|
42
|
+
let t = r[e], i = n[e];
|
|
43
|
+
return t ? i ? o(i, t) : t : i || u;
|
|
43
44
|
}
|
|
44
|
-
return n[e] ||
|
|
45
|
+
return n[e] || u;
|
|
45
46
|
}
|
|
46
47
|
};
|
|
47
|
-
},
|
|
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 =
|
|
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
|
|
57
|
-
for (let e = 0; 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(
|
|
60
|
+
if (t.validator(o)) return t.classGroupId;
|
|
60
61
|
}
|
|
61
|
-
},
|
|
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 ?
|
|
64
|
-
})(),
|
|
64
|
+
return r ? d + r : void 0;
|
|
65
|
+
})(), h = (e) => {
|
|
65
66
|
let { theme: t, classGroups: n } = e;
|
|
66
|
-
return
|
|
67
|
-
},
|
|
68
|
-
let n =
|
|
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
|
-
|
|
72
|
+
_(i, n, r, t);
|
|
72
73
|
}
|
|
73
74
|
return n;
|
|
74
|
-
},
|
|
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
|
-
|
|
79
|
+
v(i, t, n, r);
|
|
79
80
|
}
|
|
80
|
-
},
|
|
81
|
+
}, v = (e, t, n, r) => {
|
|
81
82
|
if (typeof e == "string") {
|
|
82
|
-
|
|
83
|
+
y(e, t, n);
|
|
83
84
|
return;
|
|
84
85
|
}
|
|
85
86
|
if (typeof e == "function") {
|
|
86
|
-
|
|
87
|
+
b(e, t, n, r);
|
|
87
88
|
return;
|
|
88
89
|
}
|
|
89
|
-
|
|
90
|
-
},
|
|
91
|
-
let r = e === "" ? t :
|
|
90
|
+
ee(e, t, n, r);
|
|
91
|
+
}, y = (e, t, n) => {
|
|
92
|
+
let r = e === "" ? t : x(t, e);
|
|
92
93
|
r.classGroupId = n;
|
|
93
|
-
},
|
|
94
|
-
if (
|
|
95
|
-
|
|
94
|
+
}, b = (e, t, n, r) => {
|
|
95
|
+
if (S(e)) {
|
|
96
|
+
_(e(r), t, n, r);
|
|
96
97
|
return;
|
|
97
98
|
}
|
|
98
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
99
|
-
},
|
|
99
|
+
t.validators === null && (t.validators = []), t.validators.push(s(n, e));
|
|
100
|
+
}, ee = (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
|
-
|
|
104
|
+
_(o, x(t, a), n, r);
|
|
104
105
|
}
|
|
105
|
-
},
|
|
106
|
-
let n = e, r = t.split(
|
|
106
|
+
}, x = (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 =
|
|
110
|
+
i || (i = c(), n.nextPart.set(t, i)), n = i;
|
|
110
111
|
}
|
|
111
112
|
return n;
|
|
112
|
-
},
|
|
113
|
+
}, S = (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
|
-
},
|
|
131
|
+
}, w = "!", T = ":", te = [], E = (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
|
-
}),
|
|
137
|
+
}), ne = (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 ===
|
|
143
|
+
if (o === T) {
|
|
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(
|
|
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
|
|
157
|
+
return E(t, l, c, u);
|
|
157
158
|
};
|
|
158
159
|
if (t) {
|
|
159
|
-
let e = t +
|
|
160
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) :
|
|
160
|
+
let e = t + T, n = r;
|
|
161
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : E(te, !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
|
-
},
|
|
171
|
+
}, D = (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
|
-
},
|
|
183
|
-
cache:
|
|
184
|
-
parseClassName:
|
|
185
|
-
sortModifiers:
|
|
186
|
-
postfixLookupClassGroupIds:
|
|
187
|
-
...
|
|
188
|
-
}),
|
|
183
|
+
}, O = (e) => ({
|
|
184
|
+
cache: C(e.cacheSize),
|
|
185
|
+
parseClassName: ne(e),
|
|
186
|
+
sortModifiers: D(e),
|
|
187
|
+
postfixLookupClassGroupIds: k(e),
|
|
188
|
+
...f(e)
|
|
189
|
+
}), k = (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
|
-
},
|
|
193
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(
|
|
193
|
+
}, A = /\s+/, re = (e, t) => {
|
|
194
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(A), l = "";
|
|
194
195
|
for (let e = c.length - 1; e >= 0; --e) {
|
|
195
|
-
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier:
|
|
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
|
|
201
|
-
if (
|
|
202
|
-
|
|
203
|
-
let e =
|
|
204
|
-
e && e !==
|
|
205
|
-
} else
|
|
206
|
-
if (!
|
|
207
|
-
if (!
|
|
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 (
|
|
212
|
+
if (g = r(p), !g) {
|
|
212
213
|
l = t + (l.length > 0 ? " " + l : l);
|
|
213
214
|
continue;
|
|
214
215
|
}
|
|
215
|
-
|
|
216
|
+
h = !1;
|
|
216
217
|
}
|
|
217
|
-
let
|
|
218
|
-
if (s.indexOf(
|
|
219
|
-
s.push(
|
|
220
|
-
let
|
|
221
|
-
for (let e = 0; e <
|
|
222
|
-
let t =
|
|
223
|
-
s.push(
|
|
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
|
-
},
|
|
229
|
+
}, ie = (...e) => {
|
|
229
230
|
let t = 0, n, r, i = "";
|
|
230
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
231
|
+
for (; t < e.length;) (n = e[t++]) && (r = j(n)) && (i && (i += " "), i += r);
|
|
231
232
|
return i;
|
|
232
|
-
},
|
|
233
|
+
}, j = (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 =
|
|
236
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = j(e[r])) && (n && (n += " "), n += t);
|
|
236
237
|
return n;
|
|
237
|
-
},
|
|
238
|
-
let n, r, i, a, o = (o) => (n =
|
|
238
|
+
}, ae = (e, ...t) => {
|
|
239
|
+
let n, r, i, a, o = (o) => (n = O(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 =
|
|
242
|
+
let a = re(e, n);
|
|
242
243
|
return i(e, a), a;
|
|
243
244
|
};
|
|
244
|
-
return a = o, (...e) => a(
|
|
245
|
-
},
|
|
246
|
-
let t = (t) => t[e] ||
|
|
245
|
+
return a = o, (...e) => a(ie(...e));
|
|
246
|
+
}, oe = [], M = (e) => {
|
|
247
|
+
let t = (t) => t[e] || oe;
|
|
247
248
|
return t.isThemeGetter = !0, t;
|
|
248
|
-
}, N = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, P = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
249
|
+
}, N = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, P = /^\((?:(\w[\w-]*):)?(.+)\)$/i, F = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, I = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, L = /\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$/, se = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, R = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ce = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => F.test(e), B = (e) => !!e && !Number.isNaN(Number(e)), V = (e) => !!e && Number.isInteger(Number(e)), le = (e) => e.endsWith("%") && B(e.slice(0, -1)), H = (e) => I.test(e), ue = () => !0, U = (e) => L.test(e) && !se.test(e), W = () => !1, G = (e) => R.test(e), K = (e) => ce.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, W), q = (e) => N.test(e), J = (e) => Z(e, ke, U), me = (e) => Z(e, Ae, B), he = (e) => Z(e, Me, ue), ge = (e) => Z(e, je, W), _e = (e) => Z(e, Ee, W), ve = (e) => Z(e, De, K), ye = (e) => Z(e, Ne, G), Y = (e) => P.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) => {
|
|
249
250
|
let r = N.exec(e);
|
|
250
251
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
251
252
|
}, Q = (e, t, n = !1) => {
|
|
252
253
|
let r = P.exec(e);
|
|
253
254
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
254
|
-
},
|
|
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"),
|
|
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__*/ ae(() => {
|
|
256
|
+
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"), f = M("text-shadow"), p = M("drop-shadow"), m = M("blur"), h = M("perspective"), g = M("aspect"), _ = M("ease"), v = M("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
|
-
],
|
|
265
|
+
], b = () => [
|
|
265
266
|
"center",
|
|
266
267
|
"top",
|
|
267
268
|
"bottom",
|
|
@@ -275,10 +276,10 @@ var r = (e, t) => {
|
|
|
275
276
|
"right-bottom",
|
|
276
277
|
"bottom-left",
|
|
277
278
|
"left-bottom"
|
|
278
|
-
],
|
|
279
|
-
...
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
], ee = () => [
|
|
280
|
+
...b(),
|
|
281
|
+
Y,
|
|
282
|
+
q
|
|
282
283
|
], x = () => [
|
|
283
284
|
"auto",
|
|
284
285
|
"hidden",
|
|
@@ -290,44 +291,44 @@ var r = (e, t) => {
|
|
|
290
291
|
"contain",
|
|
291
292
|
"none"
|
|
292
293
|
], C = () => [
|
|
293
|
-
|
|
294
|
-
|
|
294
|
+
Y,
|
|
295
|
+
q,
|
|
295
296
|
c
|
|
296
297
|
], w = () => [
|
|
297
298
|
z,
|
|
298
299
|
"full",
|
|
299
300
|
"auto",
|
|
300
301
|
...C()
|
|
301
|
-
],
|
|
302
|
+
], T = () => [
|
|
302
303
|
V,
|
|
303
304
|
"none",
|
|
304
305
|
"subgrid",
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
],
|
|
306
|
+
Y,
|
|
307
|
+
q
|
|
308
|
+
], te = () => [
|
|
308
309
|
"auto",
|
|
309
310
|
{ span: [
|
|
310
311
|
"full",
|
|
311
312
|
V,
|
|
312
|
-
|
|
313
|
-
|
|
313
|
+
Y,
|
|
314
|
+
q
|
|
314
315
|
] },
|
|
315
316
|
V,
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
],
|
|
317
|
+
Y,
|
|
318
|
+
q
|
|
319
|
+
], E = () => [
|
|
319
320
|
V,
|
|
320
321
|
"auto",
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
],
|
|
322
|
+
Y,
|
|
323
|
+
q
|
|
324
|
+
], ne = () => [
|
|
324
325
|
"auto",
|
|
325
326
|
"min",
|
|
326
327
|
"max",
|
|
327
328
|
"fr",
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
],
|
|
329
|
+
Y,
|
|
330
|
+
q
|
|
331
|
+
], D = () => [
|
|
331
332
|
"start",
|
|
332
333
|
"end",
|
|
333
334
|
"center",
|
|
@@ -338,14 +339,14 @@ var r = (e, t) => {
|
|
|
338
339
|
"baseline",
|
|
339
340
|
"center-safe",
|
|
340
341
|
"end-safe"
|
|
341
|
-
],
|
|
342
|
+
], O = () => [
|
|
342
343
|
"start",
|
|
343
344
|
"end",
|
|
344
345
|
"center",
|
|
345
346
|
"stretch",
|
|
346
347
|
"center-safe",
|
|
347
348
|
"end-safe"
|
|
348
|
-
],
|
|
349
|
+
], k = () => ["auto", ...C()], A = () => [
|
|
349
350
|
z,
|
|
350
351
|
"auto",
|
|
351
352
|
"full",
|
|
@@ -359,7 +360,7 @@ var r = (e, t) => {
|
|
|
359
360
|
"max",
|
|
360
361
|
"fit",
|
|
361
362
|
...C()
|
|
362
|
-
],
|
|
363
|
+
], re = () => [
|
|
363
364
|
z,
|
|
364
365
|
"screen",
|
|
365
366
|
"full",
|
|
@@ -370,7 +371,7 @@ var r = (e, t) => {
|
|
|
370
371
|
"max",
|
|
371
372
|
"fit",
|
|
372
373
|
...C()
|
|
373
|
-
],
|
|
374
|
+
], ie = () => [
|
|
374
375
|
z,
|
|
375
376
|
"screen",
|
|
376
377
|
"full",
|
|
@@ -382,50 +383,50 @@ var r = (e, t) => {
|
|
|
382
383
|
"max",
|
|
383
384
|
"fit",
|
|
384
385
|
...C()
|
|
385
|
-
],
|
|
386
|
+
], j = () => [
|
|
386
387
|
e,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
],
|
|
390
|
-
...
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
{ position: [
|
|
394
|
-
],
|
|
388
|
+
Y,
|
|
389
|
+
q
|
|
390
|
+
], ae = () => [
|
|
391
|
+
...b(),
|
|
392
|
+
xe,
|
|
393
|
+
_e,
|
|
394
|
+
{ position: [Y, q] }
|
|
395
|
+
], oe = () => ["no-repeat", { repeat: [
|
|
395
396
|
"",
|
|
396
397
|
"x",
|
|
397
398
|
"y",
|
|
398
399
|
"space",
|
|
399
400
|
"round"
|
|
400
|
-
] }],
|
|
401
|
+
] }], N = () => [
|
|
401
402
|
"auto",
|
|
402
403
|
"cover",
|
|
403
404
|
"contain",
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
{ size: [
|
|
405
|
+
Se,
|
|
406
|
+
pe,
|
|
407
|
+
{ size: [Y, q] }
|
|
408
|
+
], P = () => [
|
|
409
|
+
le,
|
|
410
|
+
X,
|
|
411
|
+
J
|
|
407
412
|
], F = () => [
|
|
408
|
-
oe,
|
|
409
|
-
Y,
|
|
410
|
-
K
|
|
411
|
-
], I = () => [
|
|
412
413
|
"",
|
|
413
414
|
"none",
|
|
414
415
|
"full",
|
|
415
416
|
l,
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
],
|
|
417
|
+
Y,
|
|
418
|
+
q
|
|
419
|
+
], I = () => [
|
|
419
420
|
"",
|
|
420
421
|
B,
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
],
|
|
422
|
+
X,
|
|
423
|
+
J
|
|
424
|
+
], L = () => [
|
|
424
425
|
"solid",
|
|
425
426
|
"dashed",
|
|
426
427
|
"dotted",
|
|
427
428
|
"double"
|
|
428
|
-
],
|
|
429
|
+
], se = () => [
|
|
429
430
|
"normal",
|
|
430
431
|
"multiply",
|
|
431
432
|
"screen",
|
|
@@ -442,32 +443,32 @@ var r = (e, t) => {
|
|
|
442
443
|
"saturation",
|
|
443
444
|
"color",
|
|
444
445
|
"luminosity"
|
|
445
|
-
],
|
|
446
|
+
], R = () => [
|
|
446
447
|
B,
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
],
|
|
448
|
+
le,
|
|
449
|
+
xe,
|
|
450
|
+
_e
|
|
451
|
+
], ce = () => [
|
|
451
452
|
"",
|
|
452
453
|
"none",
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
],
|
|
454
|
+
m,
|
|
455
|
+
Y,
|
|
456
|
+
q
|
|
457
|
+
], U = () => [
|
|
457
458
|
"none",
|
|
458
459
|
B,
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
],
|
|
460
|
+
Y,
|
|
461
|
+
q
|
|
462
|
+
], W = () => [
|
|
462
463
|
"none",
|
|
463
464
|
B,
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
],
|
|
465
|
+
Y,
|
|
466
|
+
q
|
|
467
|
+
], G = () => [
|
|
467
468
|
B,
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
],
|
|
469
|
+
Y,
|
|
470
|
+
q
|
|
471
|
+
], K = () => [
|
|
471
472
|
z,
|
|
472
473
|
"full",
|
|
473
474
|
...C()
|
|
@@ -484,7 +485,7 @@ var r = (e, t) => {
|
|
|
484
485
|
aspect: ["video"],
|
|
485
486
|
blur: [H],
|
|
486
487
|
breakpoint: [H],
|
|
487
|
-
color: [
|
|
488
|
+
color: [ue],
|
|
488
489
|
container: [H],
|
|
489
490
|
"drop-shadow": [H],
|
|
490
491
|
ease: [
|
|
@@ -492,7 +493,7 @@ var r = (e, t) => {
|
|
|
492
493
|
"out",
|
|
493
494
|
"in-out"
|
|
494
495
|
],
|
|
495
|
-
font: [
|
|
496
|
+
font: [de],
|
|
496
497
|
"font-weight": [
|
|
497
498
|
"thin",
|
|
498
499
|
"extralight",
|
|
@@ -540,27 +541,27 @@ var r = (e, t) => {
|
|
|
540
541
|
"auto",
|
|
541
542
|
"square",
|
|
542
543
|
z,
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
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
|
-
|
|
553
|
-
|
|
553
|
+
Y,
|
|
554
|
+
q
|
|
554
555
|
] }],
|
|
555
|
-
"container-named": [
|
|
556
|
+
"container-named": [fe],
|
|
556
557
|
columns: [{ columns: [
|
|
557
558
|
B,
|
|
558
|
-
|
|
559
|
-
|
|
559
|
+
q,
|
|
560
|
+
Y,
|
|
560
561
|
s
|
|
561
562
|
] }],
|
|
562
|
-
"break-after": [{ "break-after":
|
|
563
|
-
"break-before": [{ "break-before":
|
|
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,7 +617,7 @@ var r = (e, t) => {
|
|
|
616
617
|
"none",
|
|
617
618
|
"scale-down"
|
|
618
619
|
] }],
|
|
619
|
-
"object-position": [{ object:
|
|
620
|
+
"object-position": [{ object: ee() }],
|
|
620
621
|
overflow: [{ overflow: x() }],
|
|
621
622
|
"overflow-x": [{ "overflow-x": x() }],
|
|
622
623
|
"overflow-y": [{ "overflow-y": x() }],
|
|
@@ -655,8 +656,8 @@ var r = (e, t) => {
|
|
|
655
656
|
z: [{ z: [
|
|
656
657
|
V,
|
|
657
658
|
"auto",
|
|
658
|
-
|
|
659
|
-
|
|
659
|
+
Y,
|
|
660
|
+
q
|
|
660
661
|
] }],
|
|
661
662
|
basis: [{ basis: [
|
|
662
663
|
z,
|
|
@@ -682,36 +683,36 @@ var r = (e, t) => {
|
|
|
682
683
|
"auto",
|
|
683
684
|
"initial",
|
|
684
685
|
"none",
|
|
685
|
-
|
|
686
|
+
q
|
|
686
687
|
] }],
|
|
687
688
|
grow: [{ grow: [
|
|
688
689
|
"",
|
|
689
690
|
B,
|
|
690
|
-
|
|
691
|
-
|
|
691
|
+
Y,
|
|
692
|
+
q
|
|
692
693
|
] }],
|
|
693
694
|
shrink: [{ shrink: [
|
|
694
695
|
"",
|
|
695
696
|
B,
|
|
696
|
-
|
|
697
|
-
|
|
697
|
+
Y,
|
|
698
|
+
q
|
|
698
699
|
] }],
|
|
699
700
|
order: [{ order: [
|
|
700
701
|
V,
|
|
701
702
|
"first",
|
|
702
703
|
"last",
|
|
703
704
|
"none",
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
] }],
|
|
707
|
-
"grid-cols": [{ "grid-cols":
|
|
708
|
-
"col-start-end": [{ col:
|
|
709
|
-
"col-start": [{ "col-start":
|
|
710
|
-
"col-end": [{ "col-end":
|
|
711
|
-
"grid-rows": [{ "grid-rows":
|
|
712
|
-
"row-start-end": [{ row:
|
|
713
|
-
"row-start": [{ "row-start":
|
|
714
|
-
"row-end": [{ "row-end":
|
|
705
|
+
Y,
|
|
706
|
+
q
|
|
707
|
+
] }],
|
|
708
|
+
"grid-cols": [{ "grid-cols": T() }],
|
|
709
|
+
"col-start-end": [{ col: te() }],
|
|
710
|
+
"col-start": [{ "col-start": E() }],
|
|
711
|
+
"col-end": [{ "col-end": E() }],
|
|
712
|
+
"grid-rows": [{ "grid-rows": T() }],
|
|
713
|
+
"row-start-end": [{ row: te() }],
|
|
714
|
+
"row-start": [{ "row-start": E() }],
|
|
715
|
+
"row-end": [{ "row-end": E() }],
|
|
715
716
|
"grid-flow": [{ "grid-flow": [
|
|
716
717
|
"row",
|
|
717
718
|
"col",
|
|
@@ -719,24 +720,24 @@ var r = (e, t) => {
|
|
|
719
720
|
"row-dense",
|
|
720
721
|
"col-dense"
|
|
721
722
|
] }],
|
|
722
|
-
"auto-cols": [{ "auto-cols":
|
|
723
|
-
"auto-rows": [{ "auto-rows":
|
|
723
|
+
"auto-cols": [{ "auto-cols": ne() }],
|
|
724
|
+
"auto-rows": [{ "auto-rows": ne() }],
|
|
724
725
|
gap: [{ gap: C() }],
|
|
725
726
|
"gap-x": [{ "gap-x": C() }],
|
|
726
727
|
"gap-y": [{ "gap-y": C() }],
|
|
727
|
-
"justify-content": [{ justify: [...
|
|
728
|
-
"justify-items": [{ "justify-items": [...
|
|
729
|
-
"justify-self": [{ "justify-self": ["auto", ...
|
|
730
|
-
"align-content": [{ content: ["normal", ...
|
|
731
|
-
"align-items": [{ items: [...
|
|
728
|
+
"justify-content": [{ justify: [...D(), "normal"] }],
|
|
729
|
+
"justify-items": [{ "justify-items": [...O(), "normal"] }],
|
|
730
|
+
"justify-self": [{ "justify-self": ["auto", ...O()] }],
|
|
731
|
+
"align-content": [{ content: ["normal", ...D()] }],
|
|
732
|
+
"align-items": [{ items: [...O(), { baseline: ["", "last"] }] }],
|
|
732
733
|
"align-self": [{ self: [
|
|
733
734
|
"auto",
|
|
734
|
-
...
|
|
735
|
+
...O(),
|
|
735
736
|
{ baseline: ["", "last"] }
|
|
736
737
|
] }],
|
|
737
|
-
"place-content": [{ "place-content":
|
|
738
|
-
"place-items": [{ "place-items": [...
|
|
739
|
-
"place-self": [{ "place-self": ["auto", ...
|
|
738
|
+
"place-content": [{ "place-content": D() }],
|
|
739
|
+
"place-items": [{ "place-items": [...O(), "baseline"] }],
|
|
740
|
+
"place-self": [{ "place-self": ["auto", ...O()] }],
|
|
740
741
|
p: [{ p: C() }],
|
|
741
742
|
px: [{ px: C() }],
|
|
742
743
|
py: [{ py: C() }],
|
|
@@ -748,38 +749,38 @@ var r = (e, t) => {
|
|
|
748
749
|
pr: [{ pr: C() }],
|
|
749
750
|
pb: [{ pb: C() }],
|
|
750
751
|
pl: [{ pl: C() }],
|
|
751
|
-
m: [{ m:
|
|
752
|
-
mx: [{ mx:
|
|
753
|
-
my: [{ my:
|
|
754
|
-
ms: [{ ms:
|
|
755
|
-
me: [{ me:
|
|
756
|
-
mbs: [{ mbs:
|
|
757
|
-
mbe: [{ mbe:
|
|
758
|
-
mt: [{ mt:
|
|
759
|
-
mr: [{ mr:
|
|
760
|
-
mb: [{ mb:
|
|
761
|
-
ml: [{ ml:
|
|
752
|
+
m: [{ m: k() }],
|
|
753
|
+
mx: [{ mx: k() }],
|
|
754
|
+
my: [{ my: k() }],
|
|
755
|
+
ms: [{ ms: k() }],
|
|
756
|
+
me: [{ me: k() }],
|
|
757
|
+
mbs: [{ mbs: k() }],
|
|
758
|
+
mbe: [{ mbe: k() }],
|
|
759
|
+
mt: [{ mt: k() }],
|
|
760
|
+
mr: [{ mr: k() }],
|
|
761
|
+
mb: [{ mb: k() }],
|
|
762
|
+
ml: [{ ml: k() }],
|
|
762
763
|
"space-x": [{ "space-x": C() }],
|
|
763
764
|
"space-x-reverse": ["space-x-reverse"],
|
|
764
765
|
"space-y": [{ "space-y": C() }],
|
|
765
766
|
"space-y-reverse": ["space-y-reverse"],
|
|
766
|
-
size: [{ size:
|
|
767
|
-
"inline-size": [{ inline: ["auto", ...
|
|
768
|
-
"min-inline-size": [{ "min-inline": ["auto", ...
|
|
769
|
-
"max-inline-size": [{ "max-inline": ["none", ...
|
|
770
|
-
"block-size": [{ block: ["auto", ...
|
|
771
|
-
"min-block-size": [{ "min-block": ["auto", ...
|
|
772
|
-
"max-block-size": [{ "max-block": ["none", ...
|
|
767
|
+
size: [{ size: A() }],
|
|
768
|
+
"inline-size": [{ inline: ["auto", ...re()] }],
|
|
769
|
+
"min-inline-size": [{ "min-inline": ["auto", ...re()] }],
|
|
770
|
+
"max-inline-size": [{ "max-inline": ["none", ...re()] }],
|
|
771
|
+
"block-size": [{ block: ["auto", ...ie()] }],
|
|
772
|
+
"min-block-size": [{ "min-block": ["auto", ...ie()] }],
|
|
773
|
+
"max-block-size": [{ "max-block": ["none", ...ie()] }],
|
|
773
774
|
w: [{ w: [
|
|
774
775
|
s,
|
|
775
776
|
"screen",
|
|
776
|
-
...
|
|
777
|
+
...A()
|
|
777
778
|
] }],
|
|
778
779
|
"min-w": [{ "min-w": [
|
|
779
780
|
s,
|
|
780
781
|
"screen",
|
|
781
782
|
"none",
|
|
782
|
-
...
|
|
783
|
+
...A()
|
|
783
784
|
] }],
|
|
784
785
|
"max-w": [{ "max-w": [
|
|
785
786
|
s,
|
|
@@ -787,36 +788,36 @@ var r = (e, t) => {
|
|
|
787
788
|
"none",
|
|
788
789
|
"prose",
|
|
789
790
|
{ screen: [o] },
|
|
790
|
-
...
|
|
791
|
+
...A()
|
|
791
792
|
] }],
|
|
792
793
|
h: [{ h: [
|
|
793
794
|
"screen",
|
|
794
795
|
"lh",
|
|
795
|
-
...
|
|
796
|
+
...A()
|
|
796
797
|
] }],
|
|
797
798
|
"min-h": [{ "min-h": [
|
|
798
799
|
"screen",
|
|
799
800
|
"lh",
|
|
800
801
|
"none",
|
|
801
|
-
...
|
|
802
|
+
...A()
|
|
802
803
|
] }],
|
|
803
804
|
"max-h": [{ "max-h": [
|
|
804
805
|
"screen",
|
|
805
806
|
"lh",
|
|
806
|
-
...
|
|
807
|
+
...A()
|
|
807
808
|
] }],
|
|
808
809
|
"font-size": [{ text: [
|
|
809
810
|
"base",
|
|
810
811
|
n,
|
|
811
|
-
|
|
812
|
-
|
|
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
|
-
|
|
819
|
-
|
|
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
|
-
|
|
832
|
-
|
|
832
|
+
le,
|
|
833
|
+
q
|
|
833
834
|
] }],
|
|
834
835
|
"font-family": [{ font: [
|
|
835
|
-
|
|
836
|
-
|
|
836
|
+
be,
|
|
837
|
+
ge,
|
|
837
838
|
t
|
|
838
839
|
] }],
|
|
839
|
-
"font-features": [{ "font-features": [
|
|
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
|
-
|
|
849
|
-
|
|
849
|
+
Y,
|
|
850
|
+
q
|
|
850
851
|
] }],
|
|
851
852
|
"line-clamp": [{ "line-clamp": [
|
|
852
853
|
B,
|
|
853
854
|
"none",
|
|
854
|
-
|
|
855
|
-
|
|
855
|
+
Y,
|
|
856
|
+
me
|
|
856
857
|
] }],
|
|
857
858
|
leading: [{ leading: [a, ...C()] }],
|
|
858
859
|
"list-image": [{ "list-image": [
|
|
859
860
|
"none",
|
|
860
|
-
|
|
861
|
-
|
|
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
|
-
|
|
869
|
-
|
|
869
|
+
Y,
|
|
870
|
+
q
|
|
870
871
|
] }],
|
|
871
872
|
"text-alignment": [{ text: [
|
|
872
873
|
"left",
|
|
@@ -876,28 +877,28 @@ var r = (e, t) => {
|
|
|
876
877
|
"start",
|
|
877
878
|
"end"
|
|
878
879
|
] }],
|
|
879
|
-
"placeholder-color": [{ placeholder:
|
|
880
|
-
"text-color": [{ text:
|
|
880
|
+
"placeholder-color": [{ placeholder: j() }],
|
|
881
|
+
"text-color": [{ text: j() }],
|
|
881
882
|
"text-decoration": [
|
|
882
883
|
"underline",
|
|
883
884
|
"overline",
|
|
884
885
|
"line-through",
|
|
885
886
|
"no-underline"
|
|
886
887
|
],
|
|
887
|
-
"text-decoration-style": [{ decoration: [...
|
|
888
|
+
"text-decoration-style": [{ decoration: [...L(), "wavy"] }],
|
|
888
889
|
"text-decoration-thickness": [{ decoration: [
|
|
889
890
|
B,
|
|
890
891
|
"from-font",
|
|
891
892
|
"auto",
|
|
892
|
-
|
|
893
|
-
|
|
893
|
+
Y,
|
|
894
|
+
J
|
|
894
895
|
] }],
|
|
895
|
-
"text-decoration-color": [{ decoration:
|
|
896
|
+
"text-decoration-color": [{ decoration: j() }],
|
|
896
897
|
"underline-offset": [{ "underline-offset": [
|
|
897
898
|
B,
|
|
898
899
|
"auto",
|
|
899
|
-
|
|
900
|
-
|
|
900
|
+
Y,
|
|
901
|
+
q
|
|
901
902
|
] }],
|
|
902
903
|
"text-transform": [
|
|
903
904
|
"uppercase",
|
|
@@ -919,8 +920,8 @@ var r = (e, t) => {
|
|
|
919
920
|
indent: [{ indent: C() }],
|
|
920
921
|
"tab-size": [{ tab: [
|
|
921
922
|
V,
|
|
922
|
-
|
|
923
|
-
|
|
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
|
-
|
|
935
|
-
|
|
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
|
-
|
|
964
|
-
|
|
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:
|
|
983
|
-
"bg-repeat": [{ bg:
|
|
984
|
-
"bg-size": [{ bg:
|
|
983
|
+
"bg-position": [{ bg: ae() }],
|
|
984
|
+
"bg-repeat": [{ bg: oe() }],
|
|
985
|
+
"bg-size": [{ bg: N() }],
|
|
985
986
|
"bg-image": [{ bg: [
|
|
986
987
|
"none",
|
|
987
988
|
{
|
|
@@ -997,139 +998,139 @@ var r = (e, t) => {
|
|
|
997
998
|
"tl"
|
|
998
999
|
] },
|
|
999
1000
|
V,
|
|
1000
|
-
|
|
1001
|
-
|
|
1001
|
+
Y,
|
|
1002
|
+
q
|
|
1002
1003
|
],
|
|
1003
1004
|
radial: [
|
|
1004
1005
|
"",
|
|
1005
|
-
|
|
1006
|
-
|
|
1006
|
+
Y,
|
|
1007
|
+
q
|
|
1007
1008
|
],
|
|
1008
1009
|
conic: [
|
|
1009
1010
|
V,
|
|
1010
|
-
|
|
1011
|
-
|
|
1011
|
+
Y,
|
|
1012
|
+
q
|
|
1012
1013
|
]
|
|
1013
1014
|
},
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
] }],
|
|
1017
|
-
"bg-color": [{ bg:
|
|
1018
|
-
"gradient-from-pos": [{ from:
|
|
1019
|
-
"gradient-via-pos": [{ via:
|
|
1020
|
-
"gradient-to-pos": [{ to:
|
|
1021
|
-
"gradient-from": [{ from:
|
|
1022
|
-
"gradient-via": [{ via:
|
|
1023
|
-
"gradient-to": [{ to:
|
|
1024
|
-
rounded: [{ rounded:
|
|
1025
|
-
"rounded-s": [{ "rounded-s":
|
|
1026
|
-
"rounded-e": [{ "rounded-e":
|
|
1027
|
-
"rounded-t": [{ "rounded-t":
|
|
1028
|
-
"rounded-r": [{ "rounded-r":
|
|
1029
|
-
"rounded-b": [{ "rounded-b":
|
|
1030
|
-
"rounded-l": [{ "rounded-l":
|
|
1031
|
-
"rounded-ss": [{ "rounded-ss":
|
|
1032
|
-
"rounded-se": [{ "rounded-se":
|
|
1033
|
-
"rounded-ee": [{ "rounded-ee":
|
|
1034
|
-
"rounded-es": [{ "rounded-es":
|
|
1035
|
-
"rounded-tl": [{ "rounded-tl":
|
|
1036
|
-
"rounded-tr": [{ "rounded-tr":
|
|
1037
|
-
"rounded-br": [{ "rounded-br":
|
|
1038
|
-
"rounded-bl": [{ "rounded-bl":
|
|
1039
|
-
"border-w": [{ border:
|
|
1040
|
-
"border-w-x": [{ "border-x":
|
|
1041
|
-
"border-w-y": [{ "border-y":
|
|
1042
|
-
"border-w-s": [{ "border-s":
|
|
1043
|
-
"border-w-e": [{ "border-e":
|
|
1044
|
-
"border-w-bs": [{ "border-bs":
|
|
1045
|
-
"border-w-be": [{ "border-be":
|
|
1046
|
-
"border-w-t": [{ "border-t":
|
|
1047
|
-
"border-w-r": [{ "border-r":
|
|
1048
|
-
"border-w-b": [{ "border-b":
|
|
1049
|
-
"border-w-l": [{ "border-l":
|
|
1050
|
-
"divide-x": [{ "divide-x":
|
|
1015
|
+
Ce,
|
|
1016
|
+
ve
|
|
1017
|
+
] }],
|
|
1018
|
+
"bg-color": [{ bg: j() }],
|
|
1019
|
+
"gradient-from-pos": [{ from: P() }],
|
|
1020
|
+
"gradient-via-pos": [{ via: P() }],
|
|
1021
|
+
"gradient-to-pos": [{ to: P() }],
|
|
1022
|
+
"gradient-from": [{ from: j() }],
|
|
1023
|
+
"gradient-via": [{ via: j() }],
|
|
1024
|
+
"gradient-to": [{ to: j() }],
|
|
1025
|
+
rounded: [{ rounded: F() }],
|
|
1026
|
+
"rounded-s": [{ "rounded-s": F() }],
|
|
1027
|
+
"rounded-e": [{ "rounded-e": F() }],
|
|
1028
|
+
"rounded-t": [{ "rounded-t": F() }],
|
|
1029
|
+
"rounded-r": [{ "rounded-r": F() }],
|
|
1030
|
+
"rounded-b": [{ "rounded-b": F() }],
|
|
1031
|
+
"rounded-l": [{ "rounded-l": F() }],
|
|
1032
|
+
"rounded-ss": [{ "rounded-ss": F() }],
|
|
1033
|
+
"rounded-se": [{ "rounded-se": F() }],
|
|
1034
|
+
"rounded-ee": [{ "rounded-ee": F() }],
|
|
1035
|
+
"rounded-es": [{ "rounded-es": F() }],
|
|
1036
|
+
"rounded-tl": [{ "rounded-tl": F() }],
|
|
1037
|
+
"rounded-tr": [{ "rounded-tr": F() }],
|
|
1038
|
+
"rounded-br": [{ "rounded-br": F() }],
|
|
1039
|
+
"rounded-bl": [{ "rounded-bl": F() }],
|
|
1040
|
+
"border-w": [{ border: I() }],
|
|
1041
|
+
"border-w-x": [{ "border-x": I() }],
|
|
1042
|
+
"border-w-y": [{ "border-y": I() }],
|
|
1043
|
+
"border-w-s": [{ "border-s": I() }],
|
|
1044
|
+
"border-w-e": [{ "border-e": I() }],
|
|
1045
|
+
"border-w-bs": [{ "border-bs": I() }],
|
|
1046
|
+
"border-w-be": [{ "border-be": I() }],
|
|
1047
|
+
"border-w-t": [{ "border-t": I() }],
|
|
1048
|
+
"border-w-r": [{ "border-r": I() }],
|
|
1049
|
+
"border-w-b": [{ "border-b": I() }],
|
|
1050
|
+
"border-w-l": [{ "border-l": I() }],
|
|
1051
|
+
"divide-x": [{ "divide-x": I() }],
|
|
1051
1052
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
1052
|
-
"divide-y": [{ "divide-y":
|
|
1053
|
+
"divide-y": [{ "divide-y": I() }],
|
|
1053
1054
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
1054
1055
|
"border-style": [{ border: [
|
|
1055
|
-
...
|
|
1056
|
+
...L(),
|
|
1056
1057
|
"hidden",
|
|
1057
1058
|
"none"
|
|
1058
1059
|
] }],
|
|
1059
1060
|
"divide-style": [{ divide: [
|
|
1060
|
-
...
|
|
1061
|
+
...L(),
|
|
1061
1062
|
"hidden",
|
|
1062
1063
|
"none"
|
|
1063
1064
|
] }],
|
|
1064
|
-
"border-color": [{ border:
|
|
1065
|
-
"border-color-x": [{ "border-x":
|
|
1066
|
-
"border-color-y": [{ "border-y":
|
|
1067
|
-
"border-color-s": [{ "border-s":
|
|
1068
|
-
"border-color-e": [{ "border-e":
|
|
1069
|
-
"border-color-bs": [{ "border-bs":
|
|
1070
|
-
"border-color-be": [{ "border-be":
|
|
1071
|
-
"border-color-t": [{ "border-t":
|
|
1072
|
-
"border-color-r": [{ "border-r":
|
|
1073
|
-
"border-color-b": [{ "border-b":
|
|
1074
|
-
"border-color-l": [{ "border-l":
|
|
1075
|
-
"divide-color": [{ divide:
|
|
1065
|
+
"border-color": [{ border: j() }],
|
|
1066
|
+
"border-color-x": [{ "border-x": j() }],
|
|
1067
|
+
"border-color-y": [{ "border-y": j() }],
|
|
1068
|
+
"border-color-s": [{ "border-s": j() }],
|
|
1069
|
+
"border-color-e": [{ "border-e": j() }],
|
|
1070
|
+
"border-color-bs": [{ "border-bs": j() }],
|
|
1071
|
+
"border-color-be": [{ "border-be": j() }],
|
|
1072
|
+
"border-color-t": [{ "border-t": j() }],
|
|
1073
|
+
"border-color-r": [{ "border-r": j() }],
|
|
1074
|
+
"border-color-b": [{ "border-b": j() }],
|
|
1075
|
+
"border-color-l": [{ "border-l": j() }],
|
|
1076
|
+
"divide-color": [{ divide: j() }],
|
|
1076
1077
|
"outline-style": [{ outline: [
|
|
1077
|
-
...
|
|
1078
|
+
...L(),
|
|
1078
1079
|
"none",
|
|
1079
1080
|
"hidden"
|
|
1080
1081
|
] }],
|
|
1081
1082
|
"outline-offset": [{ "outline-offset": [
|
|
1082
1083
|
B,
|
|
1083
|
-
|
|
1084
|
-
|
|
1084
|
+
Y,
|
|
1085
|
+
q
|
|
1085
1086
|
] }],
|
|
1086
1087
|
"outline-w": [{ outline: [
|
|
1087
1088
|
"",
|
|
1088
1089
|
B,
|
|
1089
|
-
|
|
1090
|
-
|
|
1090
|
+
X,
|
|
1091
|
+
J
|
|
1091
1092
|
] }],
|
|
1092
|
-
"outline-color": [{ outline:
|
|
1093
|
+
"outline-color": [{ outline: j() }],
|
|
1093
1094
|
shadow: [{ shadow: [
|
|
1094
1095
|
"",
|
|
1095
1096
|
"none",
|
|
1096
1097
|
u,
|
|
1097
|
-
|
|
1098
|
-
|
|
1098
|
+
we,
|
|
1099
|
+
ye
|
|
1099
1100
|
] }],
|
|
1100
|
-
"shadow-color": [{ shadow:
|
|
1101
|
+
"shadow-color": [{ shadow: j() }],
|
|
1101
1102
|
"inset-shadow": [{ "inset-shadow": [
|
|
1102
1103
|
"none",
|
|
1103
1104
|
d,
|
|
1104
|
-
|
|
1105
|
-
|
|
1105
|
+
we,
|
|
1106
|
+
ye
|
|
1106
1107
|
] }],
|
|
1107
|
-
"inset-shadow-color": [{ "inset-shadow":
|
|
1108
|
-
"ring-w": [{ ring:
|
|
1108
|
+
"inset-shadow-color": [{ "inset-shadow": j() }],
|
|
1109
|
+
"ring-w": [{ ring: I() }],
|
|
1109
1110
|
"ring-w-inset": ["ring-inset"],
|
|
1110
|
-
"ring-color": [{ ring:
|
|
1111
|
-
"ring-offset-w": [{ "ring-offset": [B,
|
|
1112
|
-
"ring-offset-color": [{ "ring-offset":
|
|
1113
|
-
"inset-ring-w": [{ "inset-ring":
|
|
1114
|
-
"inset-ring-color": [{ "inset-ring":
|
|
1111
|
+
"ring-color": [{ ring: j() }],
|
|
1112
|
+
"ring-offset-w": [{ "ring-offset": [B, J] }],
|
|
1113
|
+
"ring-offset-color": [{ "ring-offset": j() }],
|
|
1114
|
+
"inset-ring-w": [{ "inset-ring": I() }],
|
|
1115
|
+
"inset-ring-color": [{ "inset-ring": j() }],
|
|
1115
1116
|
"text-shadow": [{ "text-shadow": [
|
|
1116
1117
|
"none",
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1118
|
+
f,
|
|
1119
|
+
we,
|
|
1120
|
+
ye
|
|
1120
1121
|
] }],
|
|
1121
|
-
"text-shadow-color": [{ "text-shadow":
|
|
1122
|
+
"text-shadow-color": [{ "text-shadow": j() }],
|
|
1122
1123
|
opacity: [{ opacity: [
|
|
1123
1124
|
B,
|
|
1124
|
-
|
|
1125
|
-
|
|
1125
|
+
Y,
|
|
1126
|
+
q
|
|
1126
1127
|
] }],
|
|
1127
1128
|
"mix-blend": [{ "mix-blend": [
|
|
1128
|
-
...
|
|
1129
|
+
...se(),
|
|
1129
1130
|
"plus-darker",
|
|
1130
1131
|
"plus-lighter"
|
|
1131
1132
|
] }],
|
|
1132
|
-
"bg-blend": [{ "bg-blend":
|
|
1133
|
+
"bg-blend": [{ "bg-blend": se() }],
|
|
1133
1134
|
"mask-clip": [{ "mask-clip": [
|
|
1134
1135
|
"border",
|
|
1135
1136
|
"padding",
|
|
@@ -1145,50 +1146,50 @@ var r = (e, t) => {
|
|
|
1145
1146
|
"exclude"
|
|
1146
1147
|
] }],
|
|
1147
1148
|
"mask-image-linear-pos": [{ "mask-linear": [B] }],
|
|
1148
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
1149
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
1150
|
-
"mask-image-linear-from-color": [{ "mask-linear-from":
|
|
1151
|
-
"mask-image-linear-to-color": [{ "mask-linear-to":
|
|
1152
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
1153
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
1154
|
-
"mask-image-t-from-color": [{ "mask-t-from":
|
|
1155
|
-
"mask-image-t-to-color": [{ "mask-t-to":
|
|
1156
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
1157
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
1158
|
-
"mask-image-r-from-color": [{ "mask-r-from":
|
|
1159
|
-
"mask-image-r-to-color": [{ "mask-r-to":
|
|
1160
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
1161
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
1162
|
-
"mask-image-b-from-color": [{ "mask-b-from":
|
|
1163
|
-
"mask-image-b-to-color": [{ "mask-b-to":
|
|
1164
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
1165
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
1166
|
-
"mask-image-l-from-color": [{ "mask-l-from":
|
|
1167
|
-
"mask-image-l-to-color": [{ "mask-l-to":
|
|
1168
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
1169
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
1170
|
-
"mask-image-x-from-color": [{ "mask-x-from":
|
|
1171
|
-
"mask-image-x-to-color": [{ "mask-x-to":
|
|
1172
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
1173
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
1174
|
-
"mask-image-y-from-color": [{ "mask-y-from":
|
|
1175
|
-
"mask-image-y-to-color": [{ "mask-y-to":
|
|
1176
|
-
"mask-image-radial": [{ "mask-radial": [
|
|
1177
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
1178
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
1179
|
-
"mask-image-radial-from-color": [{ "mask-radial-from":
|
|
1180
|
-
"mask-image-radial-to-color": [{ "mask-radial-to":
|
|
1149
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": R() }],
|
|
1150
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": R() }],
|
|
1151
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": j() }],
|
|
1152
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": j() }],
|
|
1153
|
+
"mask-image-t-from-pos": [{ "mask-t-from": R() }],
|
|
1154
|
+
"mask-image-t-to-pos": [{ "mask-t-to": R() }],
|
|
1155
|
+
"mask-image-t-from-color": [{ "mask-t-from": j() }],
|
|
1156
|
+
"mask-image-t-to-color": [{ "mask-t-to": j() }],
|
|
1157
|
+
"mask-image-r-from-pos": [{ "mask-r-from": R() }],
|
|
1158
|
+
"mask-image-r-to-pos": [{ "mask-r-to": R() }],
|
|
1159
|
+
"mask-image-r-from-color": [{ "mask-r-from": j() }],
|
|
1160
|
+
"mask-image-r-to-color": [{ "mask-r-to": j() }],
|
|
1161
|
+
"mask-image-b-from-pos": [{ "mask-b-from": R() }],
|
|
1162
|
+
"mask-image-b-to-pos": [{ "mask-b-to": R() }],
|
|
1163
|
+
"mask-image-b-from-color": [{ "mask-b-from": j() }],
|
|
1164
|
+
"mask-image-b-to-color": [{ "mask-b-to": j() }],
|
|
1165
|
+
"mask-image-l-from-pos": [{ "mask-l-from": R() }],
|
|
1166
|
+
"mask-image-l-to-pos": [{ "mask-l-to": R() }],
|
|
1167
|
+
"mask-image-l-from-color": [{ "mask-l-from": j() }],
|
|
1168
|
+
"mask-image-l-to-color": [{ "mask-l-to": j() }],
|
|
1169
|
+
"mask-image-x-from-pos": [{ "mask-x-from": R() }],
|
|
1170
|
+
"mask-image-x-to-pos": [{ "mask-x-to": R() }],
|
|
1171
|
+
"mask-image-x-from-color": [{ "mask-x-from": j() }],
|
|
1172
|
+
"mask-image-x-to-color": [{ "mask-x-to": j() }],
|
|
1173
|
+
"mask-image-y-from-pos": [{ "mask-y-from": R() }],
|
|
1174
|
+
"mask-image-y-to-pos": [{ "mask-y-to": R() }],
|
|
1175
|
+
"mask-image-y-from-color": [{ "mask-y-from": j() }],
|
|
1176
|
+
"mask-image-y-to-color": [{ "mask-y-to": j() }],
|
|
1177
|
+
"mask-image-radial": [{ "mask-radial": [Y, q] }],
|
|
1178
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": R() }],
|
|
1179
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": R() }],
|
|
1180
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": j() }],
|
|
1181
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": j() }],
|
|
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":
|
|
1187
|
+
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1187
1188
|
"mask-image-conic-pos": [{ "mask-conic": [B] }],
|
|
1188
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
1189
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
1190
|
-
"mask-image-conic-from-color": [{ "mask-conic-from":
|
|
1191
|
-
"mask-image-conic-to-color": [{ "mask-conic-to":
|
|
1189
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": R() }],
|
|
1190
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": R() }],
|
|
1191
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": j() }],
|
|
1192
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": j() }],
|
|
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:
|
|
1206
|
-
"mask-repeat": [{ mask:
|
|
1207
|
-
"mask-size": [{ mask:
|
|
1206
|
+
"mask-position": [{ mask: ae() }],
|
|
1207
|
+
"mask-repeat": [{ mask: oe() }],
|
|
1208
|
+
"mask-size": [{ mask: N() }],
|
|
1208
1209
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1209
1210
|
"mask-image": [{ mask: [
|
|
1210
1211
|
"none",
|
|
1211
|
-
|
|
1212
|
-
|
|
1212
|
+
Y,
|
|
1213
|
+
q
|
|
1213
1214
|
] }],
|
|
1214
1215
|
filter: [{ filter: [
|
|
1215
1216
|
"",
|
|
1216
1217
|
"none",
|
|
1217
|
-
|
|
1218
|
-
|
|
1218
|
+
Y,
|
|
1219
|
+
q
|
|
1219
1220
|
] }],
|
|
1220
|
-
blur: [{ blur:
|
|
1221
|
+
blur: [{ blur: ce() }],
|
|
1221
1222
|
brightness: [{ brightness: [
|
|
1222
1223
|
B,
|
|
1223
|
-
|
|
1224
|
-
|
|
1224
|
+
Y,
|
|
1225
|
+
q
|
|
1225
1226
|
] }],
|
|
1226
1227
|
contrast: [{ contrast: [
|
|
1227
1228
|
B,
|
|
1228
|
-
|
|
1229
|
-
|
|
1229
|
+
Y,
|
|
1230
|
+
q
|
|
1230
1231
|
] }],
|
|
1231
1232
|
"drop-shadow": [{ "drop-shadow": [
|
|
1232
1233
|
"",
|
|
1233
1234
|
"none",
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1235
|
+
p,
|
|
1236
|
+
we,
|
|
1237
|
+
ye
|
|
1237
1238
|
] }],
|
|
1238
|
-
"drop-shadow-color": [{ "drop-shadow":
|
|
1239
|
+
"drop-shadow-color": [{ "drop-shadow": j() }],
|
|
1239
1240
|
grayscale: [{ grayscale: [
|
|
1240
1241
|
"",
|
|
1241
1242
|
B,
|
|
1242
|
-
|
|
1243
|
-
|
|
1243
|
+
Y,
|
|
1244
|
+
q
|
|
1244
1245
|
] }],
|
|
1245
1246
|
"hue-rotate": [{ "hue-rotate": [
|
|
1246
1247
|
B,
|
|
1247
|
-
|
|
1248
|
-
|
|
1248
|
+
Y,
|
|
1249
|
+
q
|
|
1249
1250
|
] }],
|
|
1250
1251
|
invert: [{ invert: [
|
|
1251
1252
|
"",
|
|
1252
1253
|
B,
|
|
1253
|
-
|
|
1254
|
-
|
|
1254
|
+
Y,
|
|
1255
|
+
q
|
|
1255
1256
|
] }],
|
|
1256
1257
|
saturate: [{ saturate: [
|
|
1257
1258
|
B,
|
|
1258
|
-
|
|
1259
|
-
|
|
1259
|
+
Y,
|
|
1260
|
+
q
|
|
1260
1261
|
] }],
|
|
1261
1262
|
sepia: [{ sepia: [
|
|
1262
1263
|
"",
|
|
1263
1264
|
B,
|
|
1264
|
-
|
|
1265
|
-
|
|
1265
|
+
Y,
|
|
1266
|
+
q
|
|
1266
1267
|
] }],
|
|
1267
1268
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
1268
1269
|
"",
|
|
1269
1270
|
"none",
|
|
1270
|
-
|
|
1271
|
-
|
|
1271
|
+
Y,
|
|
1272
|
+
q
|
|
1272
1273
|
] }],
|
|
1273
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
1274
|
+
"backdrop-blur": [{ "backdrop-blur": ce() }],
|
|
1274
1275
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1275
1276
|
B,
|
|
1276
|
-
|
|
1277
|
-
|
|
1277
|
+
Y,
|
|
1278
|
+
q
|
|
1278
1279
|
] }],
|
|
1279
1280
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1280
1281
|
B,
|
|
1281
|
-
|
|
1282
|
-
|
|
1282
|
+
Y,
|
|
1283
|
+
q
|
|
1283
1284
|
] }],
|
|
1284
1285
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1285
1286
|
"",
|
|
1286
1287
|
B,
|
|
1287
|
-
|
|
1288
|
-
|
|
1288
|
+
Y,
|
|
1289
|
+
q
|
|
1289
1290
|
] }],
|
|
1290
1291
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1291
1292
|
B,
|
|
1292
|
-
|
|
1293
|
-
|
|
1293
|
+
Y,
|
|
1294
|
+
q
|
|
1294
1295
|
] }],
|
|
1295
1296
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1296
1297
|
"",
|
|
1297
1298
|
B,
|
|
1298
|
-
|
|
1299
|
-
|
|
1299
|
+
Y,
|
|
1300
|
+
q
|
|
1300
1301
|
] }],
|
|
1301
1302
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1302
1303
|
B,
|
|
1303
|
-
|
|
1304
|
-
|
|
1304
|
+
Y,
|
|
1305
|
+
q
|
|
1305
1306
|
] }],
|
|
1306
1307
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1307
1308
|
B,
|
|
1308
|
-
|
|
1309
|
-
|
|
1309
|
+
Y,
|
|
1310
|
+
q
|
|
1310
1311
|
] }],
|
|
1311
1312
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1312
1313
|
"",
|
|
1313
1314
|
B,
|
|
1314
|
-
|
|
1315
|
-
|
|
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
|
-
|
|
1332
|
-
|
|
1332
|
+
Y,
|
|
1333
|
+
q
|
|
1333
1334
|
] }],
|
|
1334
1335
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1335
1336
|
duration: [{ duration: [
|
|
1336
1337
|
B,
|
|
1337
1338
|
"initial",
|
|
1338
|
-
|
|
1339
|
-
|
|
1339
|
+
Y,
|
|
1340
|
+
q
|
|
1340
1341
|
] }],
|
|
1341
1342
|
ease: [{ ease: [
|
|
1342
1343
|
"linear",
|
|
1343
1344
|
"initial",
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1345
|
+
_,
|
|
1346
|
+
Y,
|
|
1347
|
+
q
|
|
1347
1348
|
] }],
|
|
1348
1349
|
delay: [{ delay: [
|
|
1349
1350
|
B,
|
|
1350
|
-
|
|
1351
|
-
|
|
1351
|
+
Y,
|
|
1352
|
+
q
|
|
1352
1353
|
] }],
|
|
1353
1354
|
animate: [{ animate: [
|
|
1354
1355
|
"none",
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1356
|
+
v,
|
|
1357
|
+
Y,
|
|
1358
|
+
q
|
|
1358
1359
|
] }],
|
|
1359
1360
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1360
1361
|
perspective: [{ perspective: [
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
] }],
|
|
1365
|
-
"perspective-origin": [{ "perspective-origin":
|
|
1366
|
-
rotate: [{ rotate:
|
|
1367
|
-
"rotate-x": [{ "rotate-x":
|
|
1368
|
-
"rotate-y": [{ "rotate-y":
|
|
1369
|
-
"rotate-z": [{ "rotate-z":
|
|
1370
|
-
scale: [{ scale:
|
|
1371
|
-
"scale-x": [{ "scale-x":
|
|
1372
|
-
"scale-y": [{ "scale-y":
|
|
1373
|
-
"scale-z": [{ "scale-z":
|
|
1362
|
+
h,
|
|
1363
|
+
Y,
|
|
1364
|
+
q
|
|
1365
|
+
] }],
|
|
1366
|
+
"perspective-origin": [{ "perspective-origin": ee() }],
|
|
1367
|
+
rotate: [{ rotate: U() }],
|
|
1368
|
+
"rotate-x": [{ "rotate-x": U() }],
|
|
1369
|
+
"rotate-y": [{ "rotate-y": U() }],
|
|
1370
|
+
"rotate-z": [{ "rotate-z": U() }],
|
|
1371
|
+
scale: [{ scale: W() }],
|
|
1372
|
+
"scale-x": [{ "scale-x": W() }],
|
|
1373
|
+
"scale-y": [{ "scale-y": W() }],
|
|
1374
|
+
"scale-z": [{ "scale-z": W() }],
|
|
1374
1375
|
"scale-3d": ["scale-3d"],
|
|
1375
|
-
skew: [{ skew:
|
|
1376
|
-
"skew-x": [{ "skew-x":
|
|
1377
|
-
"skew-y": [{ "skew-y":
|
|
1376
|
+
skew: [{ skew: G() }],
|
|
1377
|
+
"skew-x": [{ "skew-x": G() }],
|
|
1378
|
+
"skew-y": [{ "skew-y": G() }],
|
|
1378
1379
|
transform: [{ transform: [
|
|
1379
|
-
|
|
1380
|
-
|
|
1380
|
+
Y,
|
|
1381
|
+
q,
|
|
1381
1382
|
"",
|
|
1382
1383
|
"none",
|
|
1383
1384
|
"gpu",
|
|
1384
1385
|
"cpu"
|
|
1385
1386
|
] }],
|
|
1386
|
-
"transform-origin": [{ origin:
|
|
1387
|
+
"transform-origin": [{ origin: ee() }],
|
|
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
1395
|
V,
|
|
1395
|
-
|
|
1396
|
-
|
|
1396
|
+
Y,
|
|
1397
|
+
q
|
|
1397
1398
|
] }],
|
|
1398
|
-
accent: [{ accent:
|
|
1399
|
+
accent: [{ accent: j() }],
|
|
1399
1400
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
1400
|
-
"caret-color": [{ caret:
|
|
1401
|
+
"caret-color": [{ caret: j() }],
|
|
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
|
-
|
|
1447
|
-
|
|
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":
|
|
1459
|
-
"scrollbar-track-color": [{ "scrollbar-track":
|
|
1459
|
+
"scrollbar-thumb-color": [{ "scrollbar-thumb": j() }],
|
|
1460
|
+
"scrollbar-track-color": [{ "scrollbar-track": j() }],
|
|
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
|
-
|
|
1534
|
-
|
|
1534
|
+
Y,
|
|
1535
|
+
q
|
|
1535
1536
|
] }],
|
|
1536
|
-
fill: [{ fill: ["none", ...
|
|
1537
|
+
fill: [{ fill: ["none", ...j()] }],
|
|
1537
1538
|
"stroke-w": [{ stroke: [
|
|
1538
1539
|
B,
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1540
|
+
X,
|
|
1541
|
+
J,
|
|
1542
|
+
me
|
|
1542
1543
|
] }],
|
|
1543
|
-
stroke: [{ stroke: ["none", ...
|
|
1544
|
+
stroke: [{ stroke: ["none", ...j()] }],
|
|
1544
1545
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
1545
1546
|
},
|
|
1546
1547
|
conflictingClassGroups: {
|
|
@@ -1729,17 +1730,284 @@ var r = (e, t) => {
|
|
|
1729
1730
|
});
|
|
1730
1731
|
//#endregion
|
|
1731
1732
|
//#region src/lib/utils.ts
|
|
1732
|
-
function
|
|
1733
|
-
return
|
|
1733
|
+
function Fe(...e) {
|
|
1734
|
+
return Pe(a(e));
|
|
1735
|
+
}
|
|
1736
|
+
//#endregion
|
|
1737
|
+
//#region src/base/Textarea/Textarea.tsx
|
|
1738
|
+
function Ie({ className: e, ...n }) {
|
|
1739
|
+
return /* @__PURE__ */ t("textarea", {
|
|
1740
|
+
"data-slot": "textarea",
|
|
1741
|
+
className: Fe("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground placeholder:italic focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
|
|
1742
|
+
...n
|
|
1743
|
+
});
|
|
1734
1744
|
}
|
|
1735
1745
|
//#endregion
|
|
1736
1746
|
//#region src/base/Skeleton/Skeleton.tsx
|
|
1737
|
-
function
|
|
1738
|
-
return /* @__PURE__ */
|
|
1747
|
+
function Le({ className: e, ...n }) {
|
|
1748
|
+
return /* @__PURE__ */ t("div", {
|
|
1739
1749
|
"data-slot": "skeleton",
|
|
1740
|
-
className:
|
|
1750
|
+
className: Fe("animate-pulse rounded-md bg-muted", e),
|
|
1741
1751
|
...n
|
|
1742
1752
|
});
|
|
1743
1753
|
}
|
|
1744
1754
|
//#endregion
|
|
1745
|
-
|
|
1755
|
+
//#region src/composed/CodeEditor/setupCodeEditor.ts
|
|
1756
|
+
var $ = !1, Re = null;
|
|
1757
|
+
function ze() {
|
|
1758
|
+
return Re ??= import("./contributions-BKYZe_-J.js"), Re;
|
|
1759
|
+
}
|
|
1760
|
+
function Be({ baseUrl: e, monaco: t } = {}) {
|
|
1761
|
+
if (!$) {
|
|
1762
|
+
if (t !== void 0) {
|
|
1763
|
+
r.config({ monaco: t }), $ = !0, ze();
|
|
1764
|
+
return;
|
|
1765
|
+
}
|
|
1766
|
+
e !== void 0 && (r.config({ paths: { vs: e.replace(/\/+$/, "") } }), $ = !0, ze());
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
async function Ve() {
|
|
1770
|
+
if ($) return;
|
|
1771
|
+
let [e] = await Promise.all([import("monaco-editor"), ze()]);
|
|
1772
|
+
$ ||= (r.config({ monaco: e }), !0);
|
|
1773
|
+
}
|
|
1774
|
+
function He() {
|
|
1775
|
+
return $;
|
|
1776
|
+
}
|
|
1777
|
+
//#endregion
|
|
1778
|
+
//#region src/composed/CodeEditor/theme/buildTheme.ts
|
|
1779
|
+
var Ue = "graphene";
|
|
1780
|
+
function We(e) {
|
|
1781
|
+
let t = {}, n = [], r = document.createElement("div");
|
|
1782
|
+
document.body.appendChild(r);
|
|
1783
|
+
let i = getComputedStyle(r), a = document.createElement("canvas");
|
|
1784
|
+
a.width = 1, a.height = 1;
|
|
1785
|
+
let o = a.getContext("2d");
|
|
1786
|
+
for (let a of e) {
|
|
1787
|
+
if (!o) {
|
|
1788
|
+
t[a] = "#000000";
|
|
1789
|
+
continue;
|
|
1790
|
+
}
|
|
1791
|
+
r.style.backgroundColor = `var(${a})`;
|
|
1792
|
+
let e = i.backgroundColor;
|
|
1793
|
+
(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);
|
|
1794
|
+
let [s, c, l] = o.getImageData(0, 0, 1, 1).data;
|
|
1795
|
+
t[a] = "#" + [
|
|
1796
|
+
s,
|
|
1797
|
+
c,
|
|
1798
|
+
l
|
|
1799
|
+
].map((e) => e.toString(16).padStart(2, "0")).join("");
|
|
1800
|
+
}
|
|
1801
|
+
return document.body.removeChild(r), t;
|
|
1802
|
+
}
|
|
1803
|
+
function Ge() {
|
|
1804
|
+
let e = document.documentElement.classList.contains("dark"), t = We([
|
|
1805
|
+
"--background",
|
|
1806
|
+
"--foreground",
|
|
1807
|
+
"--border",
|
|
1808
|
+
"--muted",
|
|
1809
|
+
"--muted-foreground",
|
|
1810
|
+
"--primary",
|
|
1811
|
+
"--code-editor-string",
|
|
1812
|
+
"--code-editor-keyword",
|
|
1813
|
+
"--code-editor-number",
|
|
1814
|
+
"--code-editor-type",
|
|
1815
|
+
"--code-editor-special"
|
|
1816
|
+
]), 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);
|
|
1817
|
+
return {
|
|
1818
|
+
base: e ? "vs-dark" : "vs",
|
|
1819
|
+
inherit: !0,
|
|
1820
|
+
rules: [
|
|
1821
|
+
{
|
|
1822
|
+
token: "string",
|
|
1823
|
+
foreground: p(c)
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
token: "string.key.json",
|
|
1827
|
+
foreground: p(d)
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
token: "keyword",
|
|
1831
|
+
foreground: p(l)
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
token: "keyword.json",
|
|
1835
|
+
foreground: p(f)
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
token: "number",
|
|
1839
|
+
foreground: p(u)
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
token: "type",
|
|
1843
|
+
foreground: p(d)
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
token: "tag",
|
|
1847
|
+
foreground: p(l)
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
token: "attribute.name",
|
|
1851
|
+
foreground: p(d)
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
token: "attribute.value",
|
|
1855
|
+
foreground: p(c)
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
token: "comment",
|
|
1859
|
+
foreground: p(o),
|
|
1860
|
+
fontStyle: "italic"
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
token: "comment.line",
|
|
1864
|
+
foreground: p(o),
|
|
1865
|
+
fontStyle: "italic"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
token: "comment.block",
|
|
1869
|
+
foreground: p(o),
|
|
1870
|
+
fontStyle: "italic"
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
token: "identifier",
|
|
1874
|
+
foreground: p(r)
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
token: "variable",
|
|
1878
|
+
foreground: p(r)
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
token: "delimiter",
|
|
1882
|
+
foreground: p(r)
|
|
1883
|
+
}
|
|
1884
|
+
],
|
|
1885
|
+
colors: {
|
|
1886
|
+
"editor.background": n,
|
|
1887
|
+
"editor.foreground": r,
|
|
1888
|
+
"editor.lineHighlightBackground": r + "08",
|
|
1889
|
+
"editor.lineHighlightBorder": "#00000000",
|
|
1890
|
+
"editor.selectionBackground": s + "4d",
|
|
1891
|
+
"editor.inactiveSelectionBackground": s + "26",
|
|
1892
|
+
"editorCursor.foreground": s,
|
|
1893
|
+
"editorLineNumber.foreground": o,
|
|
1894
|
+
"editorLineNumber.activeForeground": r,
|
|
1895
|
+
"editorGutter.background": n,
|
|
1896
|
+
"editorIndentGuide.background1": i,
|
|
1897
|
+
"editorIndentGuide.activeBackground1": o,
|
|
1898
|
+
"editorWidget.background": a,
|
|
1899
|
+
"editorWidget.foreground": r,
|
|
1900
|
+
"editorWidget.border": i,
|
|
1901
|
+
"editorWidget.resizeBorder": i,
|
|
1902
|
+
"widget.shadow": r + "1a",
|
|
1903
|
+
"input.background": n,
|
|
1904
|
+
"input.border": i,
|
|
1905
|
+
"input.foreground": r,
|
|
1906
|
+
"input.placeholderForeground": o,
|
|
1907
|
+
"inputOption.activeBorder": s,
|
|
1908
|
+
"inputOption.activeBackground": s + "26",
|
|
1909
|
+
"inputOption.activeForeground": s,
|
|
1910
|
+
"button.background": s,
|
|
1911
|
+
"button.foreground": "#ffffff",
|
|
1912
|
+
"editorSuggestWidget.background": n,
|
|
1913
|
+
"editorSuggestWidget.border": i,
|
|
1914
|
+
"editorSuggestWidget.selectedBackground": s + "26",
|
|
1915
|
+
"scrollbarSlider.background": i + "80",
|
|
1916
|
+
"scrollbarSlider.hoverBackground": i,
|
|
1917
|
+
"scrollbarSlider.activeBackground": o + "80"
|
|
1918
|
+
}
|
|
1919
|
+
};
|
|
1920
|
+
}
|
|
1921
|
+
//#endregion
|
|
1922
|
+
//#region src/composed/CodeEditor/CodeEditor.tsx
|
|
1923
|
+
function Ke(e) {
|
|
1924
|
+
e.editor.defineTheme(Ue, Ge()), e.editor.setTheme(Ue);
|
|
1925
|
+
}
|
|
1926
|
+
var qe = (e) => {
|
|
1927
|
+
Ke(e);
|
|
1928
|
+
};
|
|
1929
|
+
function Je() {
|
|
1930
|
+
let [t, n] = e.useState(typeof document < "u" && document.documentElement.classList.contains("dark"));
|
|
1931
|
+
return e.useEffect(() => {
|
|
1932
|
+
let e = new MutationObserver(() => {
|
|
1933
|
+
n(document.documentElement.classList.contains("dark"));
|
|
1934
|
+
});
|
|
1935
|
+
return e.observe(document.documentElement, {
|
|
1936
|
+
attributes: !0,
|
|
1937
|
+
attributeFilter: ["class"]
|
|
1938
|
+
}), () => e.disconnect();
|
|
1939
|
+
}, []), t;
|
|
1940
|
+
}
|
|
1941
|
+
function Ye({ value: r, defaultValue: i, onChange: a, language: o = "plaintext", readOnly: s = !1, disabled: c = !1, height: l, className: u, options: d, onMount: f }) {
|
|
1942
|
+
let [p, m] = e.useState(() => He() ? { status: "ready" } : { status: "loading" });
|
|
1943
|
+
e.useEffect(() => {
|
|
1944
|
+
if (p.status !== "loading") return;
|
|
1945
|
+
let e = !1;
|
|
1946
|
+
return Ve().then(() => {
|
|
1947
|
+
e || m({ status: "ready" });
|
|
1948
|
+
}, (t) => {
|
|
1949
|
+
if (e) return;
|
|
1950
|
+
let n = t instanceof Error ? t.message : "Unknown error";
|
|
1951
|
+
console.error("[CodeEditor] Failed to configure Monaco loader:", t), m({
|
|
1952
|
+
status: "error",
|
|
1953
|
+
message: n
|
|
1954
|
+
});
|
|
1955
|
+
}), () => {
|
|
1956
|
+
e = !0;
|
|
1957
|
+
};
|
|
1958
|
+
}, [p.status]);
|
|
1959
|
+
let h = Je(), g = e.useRef(null), _ = e.useRef(null);
|
|
1960
|
+
e.useEffect(() => {
|
|
1961
|
+
g.current && Ke(g.current);
|
|
1962
|
+
}, [h]);
|
|
1963
|
+
let v = e.useCallback((e, t) => {
|
|
1964
|
+
g.current = t, _.current = e, f?.(e, t);
|
|
1965
|
+
}, [f]), y = typeof l == "number" ? `${l}px` : l ?? "300px", b = /* @__PURE__ */ t(Le, { className: "size-full" });
|
|
1966
|
+
return /* @__PURE__ */ t("div", {
|
|
1967
|
+
"data-slot": "code-editor",
|
|
1968
|
+
"data-disabled": c ? "" : void 0,
|
|
1969
|
+
"data-readonly": s && !c ? "" : void 0,
|
|
1970
|
+
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),
|
|
1971
|
+
style: { height: y },
|
|
1972
|
+
children: p.status === "error" ? /* @__PURE__ */ t(Ie, {
|
|
1973
|
+
value: r ?? "",
|
|
1974
|
+
onChange: (e) => a?.(e.target.value),
|
|
1975
|
+
readOnly: s || c,
|
|
1976
|
+
spellCheck: !1,
|
|
1977
|
+
className: "size-full resize-none rounded-none border-0 p-3 font-mono text-xs focus-visible:ring-0"
|
|
1978
|
+
}) : p.status === "ready" ? /* @__PURE__ */ t(n, {
|
|
1979
|
+
height: "100%",
|
|
1980
|
+
language: o,
|
|
1981
|
+
value: r,
|
|
1982
|
+
defaultValue: i,
|
|
1983
|
+
theme: Ue,
|
|
1984
|
+
onChange: a,
|
|
1985
|
+
onMount: v,
|
|
1986
|
+
beforeMount: qe,
|
|
1987
|
+
loading: b,
|
|
1988
|
+
options: {
|
|
1989
|
+
readOnly: s || c,
|
|
1990
|
+
minimap: { enabled: !1 },
|
|
1991
|
+
scrollBeyondLastLine: !1,
|
|
1992
|
+
automaticLayout: !0,
|
|
1993
|
+
fontFamily: "ui-monospace, Menlo, Consolas, \"Cascadia Code\", \"Liberation Mono\", monospace",
|
|
1994
|
+
fontSize: 13,
|
|
1995
|
+
lineHeight: 20,
|
|
1996
|
+
padding: {
|
|
1997
|
+
top: 8,
|
|
1998
|
+
bottom: 8
|
|
1999
|
+
},
|
|
2000
|
+
glyphMargin: !1,
|
|
2001
|
+
renderLineHighlight: "line",
|
|
2002
|
+
scrollbar: {
|
|
2003
|
+
verticalScrollbarSize: 6,
|
|
2004
|
+
horizontalScrollbarSize: 6
|
|
2005
|
+
},
|
|
2006
|
+
overviewRulerLanes: 0,
|
|
2007
|
+
...d
|
|
2008
|
+
}
|
|
2009
|
+
}) : b
|
|
2010
|
+
});
|
|
2011
|
+
}
|
|
2012
|
+
//#endregion
|
|
2013
|
+
export { Fe as a, Ie as i, Be as n, a as o, Le as r, Ye as t };
|