@epam/ai-dial-chat-shared 1.1.0-dev.184 → 1.1.0-dev.188
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/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +863 -804
- package/package.json +1 -1
- package/types/mime-type.d.ts +7 -1
- package/types/mime-type.d.ts.map +1 -1
- package/utils/message-attachment-to-display.d.ts.map +1 -1
- package/utils/mime-type.d.ts +11 -0
- package/utils/mime-type.d.ts.map +1 -0
package/index.js
CHANGED
|
@@ -36,19 +36,19 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
36
36
|
return e.File = "file", e.Image = "image", e.Audio = "audio", e.Prompt = "prompt", e.Pasted = "pasted", e.Link = "link", e;
|
|
37
37
|
}({}), pe = /* @__PURE__ */ function(e) {
|
|
38
38
|
return e.Model = "MODEL", e.Agent = "AGENT", e.Toolset = "TOOLSET", e.Skill = "SKILL", e.Prompt = "PROMPT", e;
|
|
39
|
+
}({}), k = /* @__PURE__ */ function(e) {
|
|
40
|
+
return e.Markdown = "text/markdown", e.Plain = "text/plain", e.HTML = "text/html", e.XHTML = "application/xhtml+xml", e.CSS = "text/css", e.JavaScript = "text/javascript", e.TypeScript = "text/typescript", e.CSV = "text/csv", e.JSON = "application/json", e.XML = "application/xml", e.PDF = "application/pdf", e.ZIP = "application/zip", e.GZIP = "application/gzip", e.JPEG = "image/jpeg", e.PNG = "image/png", e.GIF = "image/gif", e.WebP = "image/webp", e.BMP = "image/bmp", e.SVG = "image/svg+xml", e.MP3 = "audio/mpeg", e.WAV = "audio/wav", e.OGG = "audio/ogg", e;
|
|
39
41
|
}({}), me = /* @__PURE__ */ function(e) {
|
|
40
|
-
return e.Markdown = "text/markdown", e.Plain = "text/plain", e.HTML = "text/html", e.XHTML = "application/xhtml+xml", e.CSS = "text/css", e.JavaScript = "text/javascript", e.TypeScript = "text/typescript", e.CSV = "text/csv", e.JSON = "application/json", e.XML = "application/xml", e.PDF = "application/pdf", e.ZIP = "application/zip", e.GZIP = "application/gzip", e.JPEG = "image/jpeg", e.PNG = "image/png", e.GIF = "image/gif", e.WebP = "image/webp", e.BMP = "image/bmp", e.SVG = "image/svg+xml", e;
|
|
41
|
-
}({}), he = /* @__PURE__ */ function(e) {
|
|
42
42
|
return e.PDF = "pdf", e.Markdown = "md", e.MarkdownAlt = "markdown", e.JSON = "json", e;
|
|
43
|
-
}({}),
|
|
43
|
+
}({}), he = /* @__PURE__ */ function(e) {
|
|
44
44
|
return e.Dark = "dark", e.Light = "light", e;
|
|
45
|
-
}({}),
|
|
46
|
-
let n =
|
|
45
|
+
}({}), ge = new TextEncoder(), _e = new TextDecoder(), ve = (e) => ge.encode(e).length, ye = (e, t) => {
|
|
46
|
+
let n = ge.encode(e);
|
|
47
47
|
if (n.length <= t) return e;
|
|
48
48
|
let r = t;
|
|
49
49
|
for (; r > 0 && (n[r] & 192) == 128;) --r;
|
|
50
|
-
return
|
|
51
|
-
},
|
|
50
|
+
return _e.decode(n.subarray(0, r));
|
|
51
|
+
}, be = /* @__PURE__ */ ae((/* @__PURE__ */ ne(((e, t) => {
|
|
52
52
|
(function() {
|
|
53
53
|
var e = {}.hasOwnProperty;
|
|
54
54
|
function n() {
|
|
@@ -74,100 +74,100 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
74
74
|
return n;
|
|
75
75
|
}) : window.classNames = n;
|
|
76
76
|
})();
|
|
77
|
-
})))(), 1),
|
|
77
|
+
})))(), 1), xe = (e, t) => {
|
|
78
78
|
let n = Array(e.length + t.length);
|
|
79
79
|
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
80
80
|
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
81
81
|
return n;
|
|
82
|
-
},
|
|
82
|
+
}, Se = (e, t) => ({
|
|
83
83
|
classGroupId: e,
|
|
84
84
|
validator: t
|
|
85
|
-
}),
|
|
85
|
+
}), Ce = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
86
86
|
nextPart: e,
|
|
87
87
|
validators: t,
|
|
88
88
|
classGroupId: n
|
|
89
|
-
}),
|
|
90
|
-
let t =
|
|
89
|
+
}), we = "-", Te = [], Ee = "arbitrary..", De = (e) => {
|
|
90
|
+
let t = Ae(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
91
91
|
return {
|
|
92
92
|
getClassGroupId: (e) => {
|
|
93
|
-
if (e.startsWith("[") && e.endsWith("]")) return
|
|
94
|
-
let n = e.split(
|
|
95
|
-
return
|
|
93
|
+
if (e.startsWith("[") && e.endsWith("]")) return ke(e);
|
|
94
|
+
let n = e.split(we);
|
|
95
|
+
return Oe(n, +(n[0] === "" && n.length > 1), t);
|
|
96
96
|
},
|
|
97
97
|
getConflictingClassGroupIds: (e, t) => {
|
|
98
98
|
if (t) {
|
|
99
99
|
let t = r[e], i = n[e];
|
|
100
|
-
return t ? i ?
|
|
100
|
+
return t ? i ? xe(i, t) : t : i || Te;
|
|
101
101
|
}
|
|
102
|
-
return n[e] ||
|
|
102
|
+
return n[e] || Te;
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
-
},
|
|
105
|
+
}, Oe = (e, t, n) => {
|
|
106
106
|
if (e.length - t === 0) return n.classGroupId;
|
|
107
107
|
let r = e[t], i = n.nextPart.get(r);
|
|
108
108
|
if (i) {
|
|
109
|
-
let n =
|
|
109
|
+
let n = Oe(e, t + 1, i);
|
|
110
110
|
if (n) return n;
|
|
111
111
|
}
|
|
112
112
|
let a = n.validators;
|
|
113
113
|
if (a === null) return;
|
|
114
|
-
let o = t === 0 ? e.join(
|
|
114
|
+
let o = t === 0 ? e.join(we) : e.slice(t).join(we), s = a.length;
|
|
115
115
|
for (let e = 0; e < s; e++) {
|
|
116
116
|
let t = a[e];
|
|
117
117
|
if (t.validator(o)) return t.classGroupId;
|
|
118
118
|
}
|
|
119
|
-
},
|
|
119
|
+
}, ke = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
120
120
|
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
121
|
-
return r ?
|
|
122
|
-
})(),
|
|
121
|
+
return r ? Ee + r : void 0;
|
|
122
|
+
})(), Ae = (e) => {
|
|
123
123
|
let { theme: t, classGroups: n } = e;
|
|
124
|
-
return
|
|
125
|
-
},
|
|
126
|
-
let n =
|
|
124
|
+
return je(n, t);
|
|
125
|
+
}, je = (e, t) => {
|
|
126
|
+
let n = Ce();
|
|
127
127
|
for (let r in e) {
|
|
128
128
|
let i = e[r];
|
|
129
|
-
|
|
129
|
+
Me(i, n, r, t);
|
|
130
130
|
}
|
|
131
131
|
return n;
|
|
132
|
-
},
|
|
132
|
+
}, Me = (e, t, n, r) => {
|
|
133
133
|
let i = e.length;
|
|
134
134
|
for (let a = 0; a < i; a++) {
|
|
135
135
|
let i = e[a];
|
|
136
|
-
|
|
136
|
+
Ne(i, t, n, r);
|
|
137
137
|
}
|
|
138
|
-
},
|
|
138
|
+
}, Ne = (e, t, n, r) => {
|
|
139
139
|
if (typeof e == "string") {
|
|
140
|
-
|
|
140
|
+
Pe(e, t, n);
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
143
|
if (typeof e == "function") {
|
|
144
|
-
|
|
144
|
+
Fe(e, t, n, r);
|
|
145
145
|
return;
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
},
|
|
149
|
-
let r = e === "" ? t :
|
|
147
|
+
Ie(e, t, n, r);
|
|
148
|
+
}, Pe = (e, t, n) => {
|
|
149
|
+
let r = e === "" ? t : Le(t, e);
|
|
150
150
|
r.classGroupId = n;
|
|
151
|
-
},
|
|
152
|
-
if (
|
|
153
|
-
|
|
151
|
+
}, Fe = (e, t, n, r) => {
|
|
152
|
+
if (Re(e)) {
|
|
153
|
+
Me(e(r), t, n, r);
|
|
154
154
|
return;
|
|
155
155
|
}
|
|
156
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
157
|
-
},
|
|
156
|
+
t.validators === null && (t.validators = []), t.validators.push(Se(n, e));
|
|
157
|
+
}, Ie = (e, t, n, r) => {
|
|
158
158
|
let i = Object.entries(e), a = i.length;
|
|
159
159
|
for (let e = 0; e < a; e++) {
|
|
160
160
|
let [a, o] = i[e];
|
|
161
|
-
|
|
161
|
+
Me(o, Le(t, a), n, r);
|
|
162
162
|
}
|
|
163
|
-
},
|
|
164
|
-
let n = e, r = t.split(
|
|
163
|
+
}, Le = (e, t) => {
|
|
164
|
+
let n = e, r = t.split(we), i = r.length;
|
|
165
165
|
for (let e = 0; e < i; e++) {
|
|
166
166
|
let t = r[e], i = n.nextPart.get(t);
|
|
167
|
-
i || (i =
|
|
167
|
+
i || (i = Ce(), n.nextPart.set(t, i)), n = i;
|
|
168
168
|
}
|
|
169
169
|
return n;
|
|
170
|
-
},
|
|
170
|
+
}, Re = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ze = (e) => {
|
|
171
171
|
if (e < 1) return {
|
|
172
172
|
get: () => void 0,
|
|
173
173
|
set: () => {}
|
|
@@ -185,19 +185,19 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
185
185
|
e in n ? n[e] = t : i(e, t);
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
},
|
|
188
|
+
}, Be = "!", Ve = ":", He = [], Ue = (e, t, n, r, i) => ({
|
|
189
189
|
modifiers: e,
|
|
190
190
|
hasImportantModifier: t,
|
|
191
191
|
baseClassName: n,
|
|
192
192
|
maybePostfixModifierPosition: r,
|
|
193
193
|
isExternal: i
|
|
194
|
-
}),
|
|
194
|
+
}), We = (e) => {
|
|
195
195
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
196
196
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
197
197
|
for (let s = 0; s < o; s++) {
|
|
198
198
|
let o = e[s];
|
|
199
199
|
if (n === 0 && r === 0) {
|
|
200
|
-
if (o ===
|
|
200
|
+
if (o === Ve) {
|
|
201
201
|
t.push(e.slice(i, s)), i = s + 1;
|
|
202
202
|
continue;
|
|
203
203
|
}
|
|
@@ -209,13 +209,13 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
209
209
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
210
210
|
}
|
|
211
211
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
212
|
-
s.endsWith(
|
|
212
|
+
s.endsWith(Be) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Be) && (c = s.slice(1), l = !0);
|
|
213
213
|
let u = a && a > i ? a - i : void 0;
|
|
214
|
-
return
|
|
214
|
+
return Ue(t, l, c, u);
|
|
215
215
|
};
|
|
216
216
|
if (t) {
|
|
217
|
-
let e = t +
|
|
218
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) :
|
|
217
|
+
let e = t + Ve, n = r;
|
|
218
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Ue(He, !1, t, void 0, !0);
|
|
219
219
|
}
|
|
220
220
|
if (n) {
|
|
221
221
|
let e = r;
|
|
@@ -225,7 +225,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
return r;
|
|
228
|
-
},
|
|
228
|
+
}, Ge = (e) => {
|
|
229
229
|
let t = /* @__PURE__ */ new Map();
|
|
230
230
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
231
231
|
t.set(e, 1e6 + n);
|
|
@@ -237,18 +237,18 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
237
237
|
}
|
|
238
238
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
239
239
|
};
|
|
240
|
-
},
|
|
241
|
-
cache:
|
|
242
|
-
parseClassName:
|
|
243
|
-
sortModifiers:
|
|
244
|
-
postfixLookupClassGroupIds:
|
|
245
|
-
...
|
|
246
|
-
}),
|
|
240
|
+
}, Ke = (e) => ({
|
|
241
|
+
cache: ze(e.cacheSize),
|
|
242
|
+
parseClassName: We(e),
|
|
243
|
+
sortModifiers: Ge(e),
|
|
244
|
+
postfixLookupClassGroupIds: qe(e),
|
|
245
|
+
...De(e)
|
|
246
|
+
}), qe = (e) => {
|
|
247
247
|
let t = Object.create(null), n = e.postfixLookupClassGroups;
|
|
248
248
|
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
|
|
249
249
|
return t;
|
|
250
|
-
},
|
|
251
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(
|
|
250
|
+
}, Je = /\s+/, Ye = (e, t) => {
|
|
251
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Je), l = "";
|
|
252
252
|
for (let e = c.length - 1; e >= 0; --e) {
|
|
253
253
|
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
|
|
254
254
|
if (u) {
|
|
@@ -272,7 +272,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
272
272
|
}
|
|
273
273
|
h = !1;
|
|
274
274
|
}
|
|
275
|
-
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ +
|
|
275
|
+
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Be : _, y = v + g;
|
|
276
276
|
if (s.indexOf(y) > -1) continue;
|
|
277
277
|
s.push(y);
|
|
278
278
|
let b = i(g, h);
|
|
@@ -283,34 +283,34 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
283
283
|
l = t + (l.length > 0 ? " " + l : l);
|
|
284
284
|
}
|
|
285
285
|
return l;
|
|
286
|
-
},
|
|
286
|
+
}, Xe = (...e) => {
|
|
287
287
|
let t = 0, n, r, i = "";
|
|
288
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
288
|
+
for (; t < e.length;) (n = e[t++]) && (r = Ze(n)) && (i && (i += " "), i += r);
|
|
289
289
|
return i;
|
|
290
|
-
},
|
|
290
|
+
}, Ze = (e) => {
|
|
291
291
|
if (typeof e == "string") return e;
|
|
292
292
|
let t, n = "";
|
|
293
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
293
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = Ze(e[r])) && (n && (n += " "), n += t);
|
|
294
294
|
return n;
|
|
295
|
-
},
|
|
296
|
-
let n, r, i, a, o = (o) => (n =
|
|
295
|
+
}, Qe = (e, ...t) => {
|
|
296
|
+
let n, r, i, a, o = (o) => (n = Ke(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
297
297
|
let t = r(e);
|
|
298
298
|
if (t) return t;
|
|
299
|
-
let a =
|
|
299
|
+
let a = Ye(e, n);
|
|
300
300
|
return i(e, a), a;
|
|
301
301
|
};
|
|
302
|
-
return a = o, (...e) => a(
|
|
303
|
-
},
|
|
304
|
-
let t = (t) => t[e] ||
|
|
302
|
+
return a = o, (...e) => a(Xe(...e));
|
|
303
|
+
}, $e = [], et = (e) => {
|
|
304
|
+
let t = (t) => t[e] || $e;
|
|
305
305
|
return t.isThemeGetter = !0, t;
|
|
306
|
-
},
|
|
307
|
-
let r =
|
|
306
|
+
}, tt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, nt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, rt = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, it = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, at = /\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$/, ot = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, st = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ct = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, lt = (e) => rt.test(e), ut = (e) => !!e && !Number.isNaN(Number(e)), dt = (e) => !!e && Number.isInteger(Number(e)), ft = (e) => e.endsWith("%") && ut(e.slice(0, -1)), pt = (e) => it.test(e), mt = () => !0, ht = (e) => at.test(e) && !ot.test(e), gt = () => !1, _t = (e) => st.test(e), vt = (e) => ct.test(e), yt = (e) => !A(e) && !j(e), bt = (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)), xt = (e) => It(e, Bt, gt), A = (e) => tt.test(e), St = (e) => It(e, Vt, ht), Ct = (e) => It(e, Ht, ut), wt = (e) => It(e, Wt, mt), Tt = (e) => It(e, Ut, gt), Et = (e) => It(e, Rt, gt), Dt = (e) => It(e, zt, vt), Ot = (e) => It(e, Gt, _t), j = (e) => nt.test(e), kt = (e) => Lt(e, Vt), At = (e) => Lt(e, Ut), jt = (e) => Lt(e, Rt), Mt = (e) => Lt(e, Bt), Nt = (e) => Lt(e, zt), Pt = (e) => Lt(e, Gt, !0), Ft = (e) => Lt(e, Wt, !0), It = (e, t, n) => {
|
|
307
|
+
let r = tt.exec(e);
|
|
308
308
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
309
|
-
},
|
|
310
|
-
let r =
|
|
309
|
+
}, Lt = (e, t, n = !1) => {
|
|
310
|
+
let r = nt.exec(e);
|
|
311
311
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
312
|
-
},
|
|
313
|
-
let e =
|
|
312
|
+
}, Rt = (e) => e === "position" || e === "percentage", zt = (e) => e === "image" || e === "url", Bt = (e) => e === "length" || e === "size" || e === "bg-size", Vt = (e) => e === "length", Ht = (e) => e === "number", Ut = (e) => e === "family-name", Wt = (e) => e === "number" || e === "weight", Gt = (e) => e === "shadow", Kt = /*#__PURE__*/ Qe(() => {
|
|
313
|
+
let e = et("color"), t = et("font"), n = et("text"), r = et("font-weight"), i = et("tracking"), a = et("leading"), o = et("breakpoint"), s = et("container"), c = et("spacing"), l = et("radius"), u = et("shadow"), d = et("inset-shadow"), f = et("text-shadow"), p = et("drop-shadow"), m = et("blur"), h = et("perspective"), g = et("aspect"), _ = et("ease"), v = et("animate"), y = () => [
|
|
314
314
|
"auto",
|
|
315
315
|
"avoid",
|
|
316
316
|
"all",
|
|
@@ -335,8 +335,8 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
335
335
|
"left-bottom"
|
|
336
336
|
], x = () => [
|
|
337
337
|
...b(),
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
j,
|
|
339
|
+
A
|
|
340
340
|
], S = () => [
|
|
341
341
|
"auto",
|
|
342
342
|
"hidden",
|
|
@@ -348,43 +348,43 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
348
348
|
"contain",
|
|
349
349
|
"none"
|
|
350
350
|
], w = () => [
|
|
351
|
+
j,
|
|
351
352
|
A,
|
|
352
|
-
k,
|
|
353
353
|
c
|
|
354
354
|
], T = () => [
|
|
355
|
-
|
|
355
|
+
lt,
|
|
356
356
|
"full",
|
|
357
357
|
"auto",
|
|
358
358
|
...w()
|
|
359
359
|
], E = () => [
|
|
360
|
-
|
|
360
|
+
dt,
|
|
361
361
|
"none",
|
|
362
362
|
"subgrid",
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
j,
|
|
364
|
+
A
|
|
365
365
|
], ee = () => [
|
|
366
366
|
"auto",
|
|
367
367
|
{ span: [
|
|
368
368
|
"full",
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
369
|
+
dt,
|
|
370
|
+
j,
|
|
371
|
+
A
|
|
372
372
|
] },
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
373
|
+
dt,
|
|
374
|
+
j,
|
|
375
|
+
A
|
|
376
376
|
], D = () => [
|
|
377
|
-
|
|
377
|
+
dt,
|
|
378
378
|
"auto",
|
|
379
|
-
|
|
380
|
-
|
|
379
|
+
j,
|
|
380
|
+
A
|
|
381
381
|
], te = () => [
|
|
382
382
|
"auto",
|
|
383
383
|
"min",
|
|
384
384
|
"max",
|
|
385
385
|
"fr",
|
|
386
|
-
|
|
387
|
-
|
|
386
|
+
j,
|
|
387
|
+
A
|
|
388
388
|
], ne = () => [
|
|
389
389
|
"start",
|
|
390
390
|
"end",
|
|
@@ -404,7 +404,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
404
404
|
"center-safe",
|
|
405
405
|
"end-safe"
|
|
406
406
|
], ie = () => ["auto", ...w()], ae = () => [
|
|
407
|
-
|
|
407
|
+
lt,
|
|
408
408
|
"auto",
|
|
409
409
|
"full",
|
|
410
410
|
"dvw",
|
|
@@ -418,7 +418,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
418
418
|
"fit",
|
|
419
419
|
...w()
|
|
420
420
|
], oe = () => [
|
|
421
|
-
|
|
421
|
+
lt,
|
|
422
422
|
"screen",
|
|
423
423
|
"full",
|
|
424
424
|
"dvw",
|
|
@@ -429,7 +429,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
429
429
|
"fit",
|
|
430
430
|
...w()
|
|
431
431
|
], se = () => [
|
|
432
|
-
|
|
432
|
+
lt,
|
|
433
433
|
"screen",
|
|
434
434
|
"full",
|
|
435
435
|
"lh",
|
|
@@ -442,13 +442,13 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
442
442
|
...w()
|
|
443
443
|
], O = () => [
|
|
444
444
|
e,
|
|
445
|
-
|
|
446
|
-
|
|
445
|
+
j,
|
|
446
|
+
A
|
|
447
447
|
], ce = () => [
|
|
448
448
|
...b(),
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
{ position: [
|
|
449
|
+
jt,
|
|
450
|
+
Et,
|
|
451
|
+
{ position: [j, A] }
|
|
452
452
|
], le = () => ["no-repeat", { repeat: [
|
|
453
453
|
"",
|
|
454
454
|
"x",
|
|
@@ -459,31 +459,31 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
459
459
|
"auto",
|
|
460
460
|
"cover",
|
|
461
461
|
"contain",
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
{ size: [
|
|
462
|
+
Mt,
|
|
463
|
+
xt,
|
|
464
|
+
{ size: [j, A] }
|
|
465
465
|
], de = () => [
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
466
|
+
ft,
|
|
467
|
+
kt,
|
|
468
|
+
St
|
|
469
469
|
], fe = () => [
|
|
470
470
|
"",
|
|
471
471
|
"none",
|
|
472
472
|
"full",
|
|
473
473
|
l,
|
|
474
|
-
|
|
475
|
-
|
|
474
|
+
j,
|
|
475
|
+
A
|
|
476
476
|
], pe = () => [
|
|
477
477
|
"",
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
],
|
|
478
|
+
ut,
|
|
479
|
+
kt,
|
|
480
|
+
St
|
|
481
|
+
], k = () => [
|
|
482
482
|
"solid",
|
|
483
483
|
"dashed",
|
|
484
484
|
"dotted",
|
|
485
485
|
"double"
|
|
486
|
-
],
|
|
486
|
+
], me = () => [
|
|
487
487
|
"normal",
|
|
488
488
|
"multiply",
|
|
489
489
|
"screen",
|
|
@@ -500,33 +500,33 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
500
500
|
"saturation",
|
|
501
501
|
"color",
|
|
502
502
|
"luminosity"
|
|
503
|
+
], he = () => [
|
|
504
|
+
ut,
|
|
505
|
+
ft,
|
|
506
|
+
jt,
|
|
507
|
+
Et
|
|
503
508
|
], ge = () => [
|
|
504
|
-
dt,
|
|
505
|
-
pt,
|
|
506
|
-
Mt,
|
|
507
|
-
Dt
|
|
508
|
-
], _e = () => [
|
|
509
509
|
"",
|
|
510
510
|
"none",
|
|
511
511
|
m,
|
|
512
|
-
|
|
513
|
-
|
|
512
|
+
j,
|
|
513
|
+
A
|
|
514
|
+
], _e = () => [
|
|
515
|
+
"none",
|
|
516
|
+
ut,
|
|
517
|
+
j,
|
|
518
|
+
A
|
|
514
519
|
], ve = () => [
|
|
515
520
|
"none",
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
521
|
+
ut,
|
|
522
|
+
j,
|
|
523
|
+
A
|
|
519
524
|
], ye = () => [
|
|
520
|
-
"none",
|
|
521
|
-
dt,
|
|
522
|
-
A,
|
|
523
|
-
k
|
|
524
|
-
], be = () => [
|
|
525
|
-
dt,
|
|
526
|
-
A,
|
|
527
|
-
k
|
|
528
|
-
], xe = () => [
|
|
529
525
|
ut,
|
|
526
|
+
j,
|
|
527
|
+
A
|
|
528
|
+
], be = () => [
|
|
529
|
+
lt,
|
|
530
530
|
"full",
|
|
531
531
|
...w()
|
|
532
532
|
];
|
|
@@ -540,17 +540,17 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
540
540
|
"bounce"
|
|
541
541
|
],
|
|
542
542
|
aspect: ["video"],
|
|
543
|
-
blur: [
|
|
544
|
-
breakpoint: [
|
|
545
|
-
color: [
|
|
546
|
-
container: [
|
|
547
|
-
"drop-shadow": [
|
|
543
|
+
blur: [pt],
|
|
544
|
+
breakpoint: [pt],
|
|
545
|
+
color: [mt],
|
|
546
|
+
container: [pt],
|
|
547
|
+
"drop-shadow": [pt],
|
|
548
548
|
ease: [
|
|
549
549
|
"in",
|
|
550
550
|
"out",
|
|
551
551
|
"in-out"
|
|
552
552
|
],
|
|
553
|
-
font: [
|
|
553
|
+
font: [yt],
|
|
554
554
|
"font-weight": [
|
|
555
555
|
"thin",
|
|
556
556
|
"extralight",
|
|
@@ -562,7 +562,7 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
562
562
|
"extrabold",
|
|
563
563
|
"black"
|
|
564
564
|
],
|
|
565
|
-
"inset-shadow": [
|
|
565
|
+
"inset-shadow": [pt],
|
|
566
566
|
leading: [
|
|
567
567
|
"none",
|
|
568
568
|
"tight",
|
|
@@ -579,11 +579,11 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
579
579
|
"distant",
|
|
580
580
|
"none"
|
|
581
581
|
],
|
|
582
|
-
radius: [
|
|
583
|
-
shadow: [
|
|
584
|
-
spacing: ["px",
|
|
585
|
-
text: [
|
|
586
|
-
"text-shadow": [
|
|
582
|
+
radius: [pt],
|
|
583
|
+
shadow: [pt],
|
|
584
|
+
spacing: ["px", ut],
|
|
585
|
+
text: [pt],
|
|
586
|
+
"text-shadow": [pt],
|
|
587
587
|
tracking: [
|
|
588
588
|
"tighter",
|
|
589
589
|
"tight",
|
|
@@ -597,9 +597,9 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
597
597
|
aspect: [{ aspect: [
|
|
598
598
|
"auto",
|
|
599
599
|
"square",
|
|
600
|
-
|
|
601
|
-
k,
|
|
600
|
+
lt,
|
|
602
601
|
A,
|
|
602
|
+
j,
|
|
603
603
|
g
|
|
604
604
|
] }],
|
|
605
605
|
container: ["container"],
|
|
@@ -607,14 +607,14 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
607
607
|
"",
|
|
608
608
|
"normal",
|
|
609
609
|
"size",
|
|
610
|
-
|
|
611
|
-
|
|
610
|
+
j,
|
|
611
|
+
A
|
|
612
612
|
] }],
|
|
613
|
-
"container-named": [
|
|
613
|
+
"container-named": [bt],
|
|
614
614
|
columns: [{ columns: [
|
|
615
|
-
|
|
616
|
-
k,
|
|
615
|
+
ut,
|
|
617
616
|
A,
|
|
617
|
+
j,
|
|
618
618
|
s
|
|
619
619
|
] }],
|
|
620
620
|
"break-after": [{ "break-after": y() }],
|
|
@@ -711,13 +711,13 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
711
711
|
"collapse"
|
|
712
712
|
],
|
|
713
713
|
z: [{ z: [
|
|
714
|
-
|
|
714
|
+
dt,
|
|
715
715
|
"auto",
|
|
716
|
-
|
|
717
|
-
|
|
716
|
+
j,
|
|
717
|
+
A
|
|
718
718
|
] }],
|
|
719
719
|
basis: [{ basis: [
|
|
720
|
-
|
|
720
|
+
lt,
|
|
721
721
|
"full",
|
|
722
722
|
"auto",
|
|
723
723
|
s,
|
|
@@ -735,32 +735,32 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
735
735
|
"wrap-reverse"
|
|
736
736
|
] }],
|
|
737
737
|
flex: [{ flex: [
|
|
738
|
-
dt,
|
|
739
738
|
ut,
|
|
739
|
+
lt,
|
|
740
740
|
"auto",
|
|
741
741
|
"initial",
|
|
742
742
|
"none",
|
|
743
|
-
|
|
743
|
+
A
|
|
744
744
|
] }],
|
|
745
745
|
grow: [{ grow: [
|
|
746
746
|
"",
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
747
|
+
ut,
|
|
748
|
+
j,
|
|
749
|
+
A
|
|
750
750
|
] }],
|
|
751
751
|
shrink: [{ shrink: [
|
|
752
752
|
"",
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
753
|
+
ut,
|
|
754
|
+
j,
|
|
755
|
+
A
|
|
756
756
|
] }],
|
|
757
757
|
order: [{ order: [
|
|
758
|
-
|
|
758
|
+
dt,
|
|
759
759
|
"first",
|
|
760
760
|
"last",
|
|
761
761
|
"none",
|
|
762
|
-
|
|
763
|
-
|
|
762
|
+
j,
|
|
763
|
+
A
|
|
764
764
|
] }],
|
|
765
765
|
"grid-cols": [{ "grid-cols": E() }],
|
|
766
766
|
"col-start-end": [{ col: ee() }],
|
|
@@ -866,15 +866,15 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
866
866
|
"font-size": [{ text: [
|
|
867
867
|
"base",
|
|
868
868
|
n,
|
|
869
|
-
|
|
870
|
-
|
|
869
|
+
kt,
|
|
870
|
+
St
|
|
871
871
|
] }],
|
|
872
872
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
873
873
|
"font-style": ["italic", "not-italic"],
|
|
874
874
|
"font-weight": [{ font: [
|
|
875
875
|
r,
|
|
876
|
-
|
|
877
|
-
|
|
876
|
+
Ft,
|
|
877
|
+
wt
|
|
878
878
|
] }],
|
|
879
879
|
"font-stretch": [{ "font-stretch": [
|
|
880
880
|
"ultra-condensed",
|
|
@@ -886,15 +886,15 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
886
886
|
"expanded",
|
|
887
887
|
"extra-expanded",
|
|
888
888
|
"ultra-expanded",
|
|
889
|
-
|
|
890
|
-
|
|
889
|
+
ft,
|
|
890
|
+
A
|
|
891
891
|
] }],
|
|
892
892
|
"font-family": [{ font: [
|
|
893
|
-
|
|
894
|
-
|
|
893
|
+
At,
|
|
894
|
+
Tt,
|
|
895
895
|
t
|
|
896
896
|
] }],
|
|
897
|
-
"font-features": [{ "font-features": [
|
|
897
|
+
"font-features": [{ "font-features": [A] }],
|
|
898
898
|
"fvn-normal": ["normal-nums"],
|
|
899
899
|
"fvn-ordinal": ["ordinal"],
|
|
900
900
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -903,28 +903,28 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
903
903
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
904
904
|
tracking: [{ tracking: [
|
|
905
905
|
i,
|
|
906
|
-
|
|
907
|
-
|
|
906
|
+
j,
|
|
907
|
+
A
|
|
908
908
|
] }],
|
|
909
909
|
"line-clamp": [{ "line-clamp": [
|
|
910
|
-
|
|
910
|
+
ut,
|
|
911
911
|
"none",
|
|
912
|
-
|
|
913
|
-
|
|
912
|
+
j,
|
|
913
|
+
Ct
|
|
914
914
|
] }],
|
|
915
915
|
leading: [{ leading: [a, ...w()] }],
|
|
916
916
|
"list-image": [{ "list-image": [
|
|
917
917
|
"none",
|
|
918
|
-
|
|
919
|
-
|
|
918
|
+
j,
|
|
919
|
+
A
|
|
920
920
|
] }],
|
|
921
921
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
922
922
|
"list-style-type": [{ list: [
|
|
923
923
|
"disc",
|
|
924
924
|
"decimal",
|
|
925
925
|
"none",
|
|
926
|
-
|
|
927
|
-
|
|
926
|
+
j,
|
|
927
|
+
A
|
|
928
928
|
] }],
|
|
929
929
|
"text-alignment": [{ text: [
|
|
930
930
|
"left",
|
|
@@ -942,20 +942,20 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
942
942
|
"line-through",
|
|
943
943
|
"no-underline"
|
|
944
944
|
],
|
|
945
|
-
"text-decoration-style": [{ decoration: [...
|
|
945
|
+
"text-decoration-style": [{ decoration: [...k(), "wavy"] }],
|
|
946
946
|
"text-decoration-thickness": [{ decoration: [
|
|
947
|
-
|
|
947
|
+
ut,
|
|
948
948
|
"from-font",
|
|
949
949
|
"auto",
|
|
950
|
-
|
|
951
|
-
|
|
950
|
+
j,
|
|
951
|
+
St
|
|
952
952
|
] }],
|
|
953
953
|
"text-decoration-color": [{ decoration: O() }],
|
|
954
954
|
"underline-offset": [{ "underline-offset": [
|
|
955
|
-
|
|
955
|
+
ut,
|
|
956
956
|
"auto",
|
|
957
|
-
|
|
958
|
-
|
|
957
|
+
j,
|
|
958
|
+
A
|
|
959
959
|
] }],
|
|
960
960
|
"text-transform": [
|
|
961
961
|
"uppercase",
|
|
@@ -976,9 +976,9 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
976
976
|
] }],
|
|
977
977
|
indent: [{ indent: w() }],
|
|
978
978
|
"tab-size": [{ tab: [
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
979
|
+
dt,
|
|
980
|
+
j,
|
|
981
|
+
A
|
|
982
982
|
] }],
|
|
983
983
|
"vertical-align": [{ align: [
|
|
984
984
|
"baseline",
|
|
@@ -989,8 +989,8 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
989
989
|
"text-bottom",
|
|
990
990
|
"sub",
|
|
991
991
|
"super",
|
|
992
|
-
|
|
993
|
-
|
|
992
|
+
j,
|
|
993
|
+
A
|
|
994
994
|
] }],
|
|
995
995
|
whitespace: [{ whitespace: [
|
|
996
996
|
"normal",
|
|
@@ -1018,8 +1018,8 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1018
1018
|
] }],
|
|
1019
1019
|
content: [{ content: [
|
|
1020
1020
|
"none",
|
|
1021
|
-
|
|
1022
|
-
|
|
1021
|
+
j,
|
|
1022
|
+
A
|
|
1023
1023
|
] }],
|
|
1024
1024
|
"bg-attachment": [{ bg: [
|
|
1025
1025
|
"fixed",
|
|
@@ -1054,23 +1054,23 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1054
1054
|
"l",
|
|
1055
1055
|
"tl"
|
|
1056
1056
|
] },
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1057
|
+
dt,
|
|
1058
|
+
j,
|
|
1059
|
+
A
|
|
1060
1060
|
],
|
|
1061
1061
|
radial: [
|
|
1062
1062
|
"",
|
|
1063
|
-
|
|
1064
|
-
|
|
1063
|
+
j,
|
|
1064
|
+
A
|
|
1065
1065
|
],
|
|
1066
1066
|
conic: [
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1067
|
+
dt,
|
|
1068
|
+
j,
|
|
1069
|
+
A
|
|
1070
1070
|
]
|
|
1071
1071
|
},
|
|
1072
|
-
|
|
1073
|
-
|
|
1072
|
+
Nt,
|
|
1073
|
+
Dt
|
|
1074
1074
|
] }],
|
|
1075
1075
|
"bg-color": [{ bg: O() }],
|
|
1076
1076
|
"gradient-from-pos": [{ from: de() }],
|
|
@@ -1110,12 +1110,12 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1110
1110
|
"divide-y": [{ "divide-y": pe() }],
|
|
1111
1111
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
1112
1112
|
"border-style": [{ border: [
|
|
1113
|
-
...
|
|
1113
|
+
...k(),
|
|
1114
1114
|
"hidden",
|
|
1115
1115
|
"none"
|
|
1116
1116
|
] }],
|
|
1117
1117
|
"divide-style": [{ divide: [
|
|
1118
|
-
...
|
|
1118
|
+
...k(),
|
|
1119
1119
|
"hidden",
|
|
1120
1120
|
"none"
|
|
1121
1121
|
] }],
|
|
@@ -1132,62 +1132,62 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1132
1132
|
"border-color-l": [{ "border-l": O() }],
|
|
1133
1133
|
"divide-color": [{ divide: O() }],
|
|
1134
1134
|
"outline-style": [{ outline: [
|
|
1135
|
-
...
|
|
1135
|
+
...k(),
|
|
1136
1136
|
"none",
|
|
1137
1137
|
"hidden"
|
|
1138
1138
|
] }],
|
|
1139
1139
|
"outline-offset": [{ "outline-offset": [
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1140
|
+
ut,
|
|
1141
|
+
j,
|
|
1142
|
+
A
|
|
1143
1143
|
] }],
|
|
1144
1144
|
"outline-w": [{ outline: [
|
|
1145
1145
|
"",
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1146
|
+
ut,
|
|
1147
|
+
kt,
|
|
1148
|
+
St
|
|
1149
1149
|
] }],
|
|
1150
1150
|
"outline-color": [{ outline: O() }],
|
|
1151
1151
|
shadow: [{ shadow: [
|
|
1152
1152
|
"",
|
|
1153
1153
|
"none",
|
|
1154
1154
|
u,
|
|
1155
|
-
|
|
1156
|
-
|
|
1155
|
+
Pt,
|
|
1156
|
+
Ot
|
|
1157
1157
|
] }],
|
|
1158
1158
|
"shadow-color": [{ shadow: O() }],
|
|
1159
1159
|
"inset-shadow": [{ "inset-shadow": [
|
|
1160
1160
|
"none",
|
|
1161
1161
|
d,
|
|
1162
|
-
|
|
1163
|
-
|
|
1162
|
+
Pt,
|
|
1163
|
+
Ot
|
|
1164
1164
|
] }],
|
|
1165
1165
|
"inset-shadow-color": [{ "inset-shadow": O() }],
|
|
1166
1166
|
"ring-w": [{ ring: pe() }],
|
|
1167
1167
|
"ring-w-inset": ["ring-inset"],
|
|
1168
1168
|
"ring-color": [{ ring: O() }],
|
|
1169
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
1169
|
+
"ring-offset-w": [{ "ring-offset": [ut, St] }],
|
|
1170
1170
|
"ring-offset-color": [{ "ring-offset": O() }],
|
|
1171
1171
|
"inset-ring-w": [{ "inset-ring": pe() }],
|
|
1172
1172
|
"inset-ring-color": [{ "inset-ring": O() }],
|
|
1173
1173
|
"text-shadow": [{ "text-shadow": [
|
|
1174
1174
|
"none",
|
|
1175
1175
|
f,
|
|
1176
|
-
|
|
1177
|
-
|
|
1176
|
+
Pt,
|
|
1177
|
+
Ot
|
|
1178
1178
|
] }],
|
|
1179
1179
|
"text-shadow-color": [{ "text-shadow": O() }],
|
|
1180
1180
|
opacity: [{ opacity: [
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1181
|
+
ut,
|
|
1182
|
+
j,
|
|
1183
|
+
A
|
|
1184
1184
|
] }],
|
|
1185
1185
|
"mix-blend": [{ "mix-blend": [
|
|
1186
|
-
...
|
|
1186
|
+
...me(),
|
|
1187
1187
|
"plus-darker",
|
|
1188
1188
|
"plus-lighter"
|
|
1189
1189
|
] }],
|
|
1190
|
-
"bg-blend": [{ "bg-blend":
|
|
1190
|
+
"bg-blend": [{ "bg-blend": me() }],
|
|
1191
1191
|
"mask-clip": [{ "mask-clip": [
|
|
1192
1192
|
"border",
|
|
1193
1193
|
"padding",
|
|
@@ -1202,38 +1202,38 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1202
1202
|
"intersect",
|
|
1203
1203
|
"exclude"
|
|
1204
1204
|
] }],
|
|
1205
|
-
"mask-image-linear-pos": [{ "mask-linear": [
|
|
1206
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
1207
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
1205
|
+
"mask-image-linear-pos": [{ "mask-linear": [ut] }],
|
|
1206
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": he() }],
|
|
1207
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": he() }],
|
|
1208
1208
|
"mask-image-linear-from-color": [{ "mask-linear-from": O() }],
|
|
1209
1209
|
"mask-image-linear-to-color": [{ "mask-linear-to": O() }],
|
|
1210
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
1211
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
1210
|
+
"mask-image-t-from-pos": [{ "mask-t-from": he() }],
|
|
1211
|
+
"mask-image-t-to-pos": [{ "mask-t-to": he() }],
|
|
1212
1212
|
"mask-image-t-from-color": [{ "mask-t-from": O() }],
|
|
1213
1213
|
"mask-image-t-to-color": [{ "mask-t-to": O() }],
|
|
1214
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
1215
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
1214
|
+
"mask-image-r-from-pos": [{ "mask-r-from": he() }],
|
|
1215
|
+
"mask-image-r-to-pos": [{ "mask-r-to": he() }],
|
|
1216
1216
|
"mask-image-r-from-color": [{ "mask-r-from": O() }],
|
|
1217
1217
|
"mask-image-r-to-color": [{ "mask-r-to": O() }],
|
|
1218
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
1219
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
1218
|
+
"mask-image-b-from-pos": [{ "mask-b-from": he() }],
|
|
1219
|
+
"mask-image-b-to-pos": [{ "mask-b-to": he() }],
|
|
1220
1220
|
"mask-image-b-from-color": [{ "mask-b-from": O() }],
|
|
1221
1221
|
"mask-image-b-to-color": [{ "mask-b-to": O() }],
|
|
1222
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
1223
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
1222
|
+
"mask-image-l-from-pos": [{ "mask-l-from": he() }],
|
|
1223
|
+
"mask-image-l-to-pos": [{ "mask-l-to": he() }],
|
|
1224
1224
|
"mask-image-l-from-color": [{ "mask-l-from": O() }],
|
|
1225
1225
|
"mask-image-l-to-color": [{ "mask-l-to": O() }],
|
|
1226
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
1227
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
1226
|
+
"mask-image-x-from-pos": [{ "mask-x-from": he() }],
|
|
1227
|
+
"mask-image-x-to-pos": [{ "mask-x-to": he() }],
|
|
1228
1228
|
"mask-image-x-from-color": [{ "mask-x-from": O() }],
|
|
1229
1229
|
"mask-image-x-to-color": [{ "mask-x-to": O() }],
|
|
1230
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
1231
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
1230
|
+
"mask-image-y-from-pos": [{ "mask-y-from": he() }],
|
|
1231
|
+
"mask-image-y-to-pos": [{ "mask-y-to": he() }],
|
|
1232
1232
|
"mask-image-y-from-color": [{ "mask-y-from": O() }],
|
|
1233
1233
|
"mask-image-y-to-color": [{ "mask-y-to": O() }],
|
|
1234
|
-
"mask-image-radial": [{ "mask-radial": [
|
|
1235
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
1236
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
1234
|
+
"mask-image-radial": [{ "mask-radial": [j, A] }],
|
|
1235
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": he() }],
|
|
1236
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": he() }],
|
|
1237
1237
|
"mask-image-radial-from-color": [{ "mask-radial-from": O() }],
|
|
1238
1238
|
"mask-image-radial-to-color": [{ "mask-radial-to": O() }],
|
|
1239
1239
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
@@ -1242,9 +1242,9 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1242
1242
|
farthest: ["side", "corner"]
|
|
1243
1243
|
}] }],
|
|
1244
1244
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1245
|
-
"mask-image-conic-pos": [{ "mask-conic": [
|
|
1246
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
1247
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
1245
|
+
"mask-image-conic-pos": [{ "mask-conic": [ut] }],
|
|
1246
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": he() }],
|
|
1247
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": he() }],
|
|
1248
1248
|
"mask-image-conic-from-color": [{ "mask-conic-from": O() }],
|
|
1249
1249
|
"mask-image-conic-to-color": [{ "mask-conic-to": O() }],
|
|
1250
1250
|
"mask-mode": [{ mask: [
|
|
@@ -1266,111 +1266,111 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1266
1266
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1267
1267
|
"mask-image": [{ mask: [
|
|
1268
1268
|
"none",
|
|
1269
|
-
|
|
1270
|
-
|
|
1269
|
+
j,
|
|
1270
|
+
A
|
|
1271
1271
|
] }],
|
|
1272
1272
|
filter: [{ filter: [
|
|
1273
1273
|
"",
|
|
1274
1274
|
"none",
|
|
1275
|
-
|
|
1276
|
-
|
|
1275
|
+
j,
|
|
1276
|
+
A
|
|
1277
1277
|
] }],
|
|
1278
|
-
blur: [{ blur:
|
|
1278
|
+
blur: [{ blur: ge() }],
|
|
1279
1279
|
brightness: [{ brightness: [
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1280
|
+
ut,
|
|
1281
|
+
j,
|
|
1282
|
+
A
|
|
1283
1283
|
] }],
|
|
1284
1284
|
contrast: [{ contrast: [
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1285
|
+
ut,
|
|
1286
|
+
j,
|
|
1287
|
+
A
|
|
1288
1288
|
] }],
|
|
1289
1289
|
"drop-shadow": [{ "drop-shadow": [
|
|
1290
1290
|
"",
|
|
1291
1291
|
"none",
|
|
1292
1292
|
p,
|
|
1293
|
-
|
|
1294
|
-
|
|
1293
|
+
Pt,
|
|
1294
|
+
Ot
|
|
1295
1295
|
] }],
|
|
1296
1296
|
"drop-shadow-color": [{ "drop-shadow": O() }],
|
|
1297
1297
|
grayscale: [{ grayscale: [
|
|
1298
1298
|
"",
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1299
|
+
ut,
|
|
1300
|
+
j,
|
|
1301
|
+
A
|
|
1302
1302
|
] }],
|
|
1303
1303
|
"hue-rotate": [{ "hue-rotate": [
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1304
|
+
ut,
|
|
1305
|
+
j,
|
|
1306
|
+
A
|
|
1307
1307
|
] }],
|
|
1308
1308
|
invert: [{ invert: [
|
|
1309
1309
|
"",
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1310
|
+
ut,
|
|
1311
|
+
j,
|
|
1312
|
+
A
|
|
1313
1313
|
] }],
|
|
1314
1314
|
saturate: [{ saturate: [
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1315
|
+
ut,
|
|
1316
|
+
j,
|
|
1317
|
+
A
|
|
1318
1318
|
] }],
|
|
1319
1319
|
sepia: [{ sepia: [
|
|
1320
1320
|
"",
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1321
|
+
ut,
|
|
1322
|
+
j,
|
|
1323
|
+
A
|
|
1324
1324
|
] }],
|
|
1325
1325
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
1326
1326
|
"",
|
|
1327
1327
|
"none",
|
|
1328
|
-
|
|
1329
|
-
|
|
1328
|
+
j,
|
|
1329
|
+
A
|
|
1330
1330
|
] }],
|
|
1331
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
1331
|
+
"backdrop-blur": [{ "backdrop-blur": ge() }],
|
|
1332
1332
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1333
|
+
ut,
|
|
1334
|
+
j,
|
|
1335
|
+
A
|
|
1336
1336
|
] }],
|
|
1337
1337
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1338
|
+
ut,
|
|
1339
|
+
j,
|
|
1340
|
+
A
|
|
1341
1341
|
] }],
|
|
1342
1342
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1343
1343
|
"",
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1344
|
+
ut,
|
|
1345
|
+
j,
|
|
1346
|
+
A
|
|
1347
1347
|
] }],
|
|
1348
1348
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1349
|
+
ut,
|
|
1350
|
+
j,
|
|
1351
|
+
A
|
|
1352
1352
|
] }],
|
|
1353
1353
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1354
1354
|
"",
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1355
|
+
ut,
|
|
1356
|
+
j,
|
|
1357
|
+
A
|
|
1358
1358
|
] }],
|
|
1359
1359
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1360
|
+
ut,
|
|
1361
|
+
j,
|
|
1362
|
+
A
|
|
1363
1363
|
] }],
|
|
1364
1364
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1365
|
+
ut,
|
|
1366
|
+
j,
|
|
1367
|
+
A
|
|
1368
1368
|
] }],
|
|
1369
1369
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1370
1370
|
"",
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1371
|
+
ut,
|
|
1372
|
+
j,
|
|
1373
|
+
A
|
|
1374
1374
|
] }],
|
|
1375
1375
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1376
1376
|
"border-spacing": [{ "border-spacing": w() }],
|
|
@@ -1386,56 +1386,56 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1386
1386
|
"shadow",
|
|
1387
1387
|
"transform",
|
|
1388
1388
|
"none",
|
|
1389
|
-
|
|
1390
|
-
|
|
1389
|
+
j,
|
|
1390
|
+
A
|
|
1391
1391
|
] }],
|
|
1392
1392
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1393
1393
|
duration: [{ duration: [
|
|
1394
|
-
|
|
1394
|
+
ut,
|
|
1395
1395
|
"initial",
|
|
1396
|
-
|
|
1397
|
-
|
|
1396
|
+
j,
|
|
1397
|
+
A
|
|
1398
1398
|
] }],
|
|
1399
1399
|
ease: [{ ease: [
|
|
1400
1400
|
"linear",
|
|
1401
1401
|
"initial",
|
|
1402
1402
|
_,
|
|
1403
|
-
|
|
1404
|
-
|
|
1403
|
+
j,
|
|
1404
|
+
A
|
|
1405
1405
|
] }],
|
|
1406
1406
|
delay: [{ delay: [
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1407
|
+
ut,
|
|
1408
|
+
j,
|
|
1409
|
+
A
|
|
1410
1410
|
] }],
|
|
1411
1411
|
animate: [{ animate: [
|
|
1412
1412
|
"none",
|
|
1413
1413
|
v,
|
|
1414
|
-
|
|
1415
|
-
|
|
1414
|
+
j,
|
|
1415
|
+
A
|
|
1416
1416
|
] }],
|
|
1417
1417
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1418
1418
|
perspective: [{ perspective: [
|
|
1419
1419
|
h,
|
|
1420
|
-
|
|
1421
|
-
|
|
1420
|
+
j,
|
|
1421
|
+
A
|
|
1422
1422
|
] }],
|
|
1423
1423
|
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1424
|
-
rotate: [{ rotate:
|
|
1425
|
-
"rotate-x": [{ "rotate-x":
|
|
1426
|
-
"rotate-y": [{ "rotate-y":
|
|
1427
|
-
"rotate-z": [{ "rotate-z":
|
|
1428
|
-
scale: [{ scale:
|
|
1429
|
-
"scale-x": [{ "scale-x":
|
|
1430
|
-
"scale-y": [{ "scale-y":
|
|
1431
|
-
"scale-z": [{ "scale-z":
|
|
1424
|
+
rotate: [{ rotate: _e() }],
|
|
1425
|
+
"rotate-x": [{ "rotate-x": _e() }],
|
|
1426
|
+
"rotate-y": [{ "rotate-y": _e() }],
|
|
1427
|
+
"rotate-z": [{ "rotate-z": _e() }],
|
|
1428
|
+
scale: [{ scale: ve() }],
|
|
1429
|
+
"scale-x": [{ "scale-x": ve() }],
|
|
1430
|
+
"scale-y": [{ "scale-y": ve() }],
|
|
1431
|
+
"scale-z": [{ "scale-z": ve() }],
|
|
1432
1432
|
"scale-3d": ["scale-3d"],
|
|
1433
|
-
skew: [{ skew:
|
|
1434
|
-
"skew-x": [{ "skew-x":
|
|
1435
|
-
"skew-y": [{ "skew-y":
|
|
1433
|
+
skew: [{ skew: ye() }],
|
|
1434
|
+
"skew-x": [{ "skew-x": ye() }],
|
|
1435
|
+
"skew-y": [{ "skew-y": ye() }],
|
|
1436
1436
|
transform: [{ transform: [
|
|
1437
|
+
j,
|
|
1437
1438
|
A,
|
|
1438
|
-
k,
|
|
1439
1439
|
"",
|
|
1440
1440
|
"none",
|
|
1441
1441
|
"gpu",
|
|
@@ -1443,15 +1443,15 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1443
1443
|
] }],
|
|
1444
1444
|
"transform-origin": [{ origin: x() }],
|
|
1445
1445
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1446
|
-
translate: [{ translate:
|
|
1447
|
-
"translate-x": [{ "translate-x":
|
|
1448
|
-
"translate-y": [{ "translate-y":
|
|
1449
|
-
"translate-z": [{ "translate-z":
|
|
1446
|
+
translate: [{ translate: be() }],
|
|
1447
|
+
"translate-x": [{ "translate-x": be() }],
|
|
1448
|
+
"translate-y": [{ "translate-y": be() }],
|
|
1449
|
+
"translate-z": [{ "translate-z": be() }],
|
|
1450
1450
|
"translate-none": ["translate-none"],
|
|
1451
1451
|
zoom: [{ zoom: [
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1452
|
+
dt,
|
|
1453
|
+
j,
|
|
1454
|
+
A
|
|
1455
1455
|
] }],
|
|
1456
1456
|
accent: [{ accent: O() }],
|
|
1457
1457
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -1501,8 +1501,8 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1501
1501
|
"nwse-resize",
|
|
1502
1502
|
"zoom-in",
|
|
1503
1503
|
"zoom-out",
|
|
1504
|
-
|
|
1505
|
-
|
|
1504
|
+
j,
|
|
1505
|
+
A
|
|
1506
1506
|
] }],
|
|
1507
1507
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1508
1508
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
@@ -1588,15 +1588,15 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1588
1588
|
"scroll",
|
|
1589
1589
|
"contents",
|
|
1590
1590
|
"transform",
|
|
1591
|
-
|
|
1592
|
-
|
|
1591
|
+
j,
|
|
1592
|
+
A
|
|
1593
1593
|
] }],
|
|
1594
1594
|
fill: [{ fill: ["none", ...O()] }],
|
|
1595
1595
|
"stroke-w": [{ stroke: [
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1596
|
+
ut,
|
|
1597
|
+
kt,
|
|
1598
|
+
St,
|
|
1599
|
+
Ct
|
|
1600
1600
|
] }],
|
|
1601
1601
|
stroke: [{ stroke: ["none", ...O()] }],
|
|
1602
1602
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
@@ -1787,30 +1787,89 @@ var w = Object.create, T = Object.defineProperty, E = Object.getOwnPropertyDescr
|
|
|
1787
1787
|
});
|
|
1788
1788
|
//#endregion
|
|
1789
1789
|
//#region src/utils/merge-class.ts
|
|
1790
|
-
function
|
|
1791
|
-
return
|
|
1790
|
+
function qt(...e) {
|
|
1791
|
+
return Kt((0, be.default)(...e));
|
|
1792
1792
|
}
|
|
1793
1793
|
//#endregion
|
|
1794
1794
|
//#region src/utils/build-css-vars.ts
|
|
1795
|
-
var
|
|
1795
|
+
var Jt = (e) => {
|
|
1796
1796
|
let t = {};
|
|
1797
1797
|
for (let [n, r] of Object.entries(e)) r !== void 0 && r !== "" && (t[n] = String(r));
|
|
1798
1798
|
return t;
|
|
1799
|
-
},
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1799
|
+
}, Yt = (e) => e.role === oe.Status, Xt = {
|
|
1800
|
+
md: k.Markdown,
|
|
1801
|
+
markdown: k.Markdown,
|
|
1802
|
+
txt: k.Plain,
|
|
1803
|
+
html: k.HTML,
|
|
1804
|
+
htm: k.HTML,
|
|
1805
|
+
xhtml: k.XHTML,
|
|
1806
|
+
css: k.CSS,
|
|
1807
|
+
scss: k.Plain,
|
|
1808
|
+
sass: k.Plain,
|
|
1809
|
+
less: k.Plain,
|
|
1810
|
+
js: k.JavaScript,
|
|
1811
|
+
mjs: k.JavaScript,
|
|
1812
|
+
cjs: k.JavaScript,
|
|
1813
|
+
jsx: k.JavaScript,
|
|
1814
|
+
ts: k.TypeScript,
|
|
1815
|
+
mts: k.TypeScript,
|
|
1816
|
+
cts: k.TypeScript,
|
|
1817
|
+
tsx: k.TypeScript,
|
|
1818
|
+
csv: k.CSV,
|
|
1819
|
+
tsv: k.Plain,
|
|
1820
|
+
json: k.JSON,
|
|
1821
|
+
jsonl: k.JSON,
|
|
1822
|
+
ndjson: k.JSON,
|
|
1823
|
+
xml: k.XML,
|
|
1824
|
+
pdf: k.PDF,
|
|
1825
|
+
zip: k.ZIP,
|
|
1826
|
+
gz: k.GZIP,
|
|
1827
|
+
gzip: k.GZIP,
|
|
1828
|
+
yaml: k.Plain,
|
|
1829
|
+
yml: k.Plain,
|
|
1830
|
+
toml: k.Plain,
|
|
1831
|
+
ini: k.Plain,
|
|
1832
|
+
conf: k.Plain,
|
|
1833
|
+
cfg: k.Plain,
|
|
1834
|
+
py: k.Plain,
|
|
1835
|
+
rb: k.Plain,
|
|
1836
|
+
go: k.Plain,
|
|
1837
|
+
rs: k.Plain,
|
|
1838
|
+
java: k.Plain,
|
|
1839
|
+
kt: k.Plain,
|
|
1840
|
+
swift: k.Plain,
|
|
1841
|
+
c: k.Plain,
|
|
1842
|
+
h: k.Plain,
|
|
1843
|
+
cpp: k.Plain,
|
|
1844
|
+
cs: k.Plain,
|
|
1845
|
+
sh: k.Plain,
|
|
1846
|
+
bash: k.Plain,
|
|
1847
|
+
zsh: k.Plain,
|
|
1848
|
+
fish: k.Plain,
|
|
1849
|
+
ps1: k.Plain,
|
|
1850
|
+
log: k.Plain,
|
|
1851
|
+
env: k.Plain,
|
|
1852
|
+
sql: k.Plain,
|
|
1853
|
+
jpg: k.JPEG,
|
|
1854
|
+
jpeg: k.JPEG,
|
|
1855
|
+
png: k.PNG,
|
|
1856
|
+
gif: k.GIF,
|
|
1857
|
+
webp: k.WebP,
|
|
1858
|
+
bmp: k.BMP,
|
|
1859
|
+
svg: k.SVG,
|
|
1860
|
+
mp3: k.MP3,
|
|
1861
|
+
wav: k.WAV,
|
|
1862
|
+
ogg: k.OGG
|
|
1863
|
+
}, Zt = (e) => {
|
|
1805
1864
|
let t = e.split(/[?#]/)[0], n = t.lastIndexOf(".");
|
|
1806
|
-
if (n !== -1) return
|
|
1807
|
-
},
|
|
1865
|
+
if (n !== -1) return Xt[t.slice(n + 1).toLowerCase()];
|
|
1866
|
+
}, Qt = (e) => e?.startsWith("image/") ? fe.Image : e?.startsWith("audio/") ? fe.Audio : fe.File, $t = (e, t, n) => {
|
|
1808
1867
|
if (!(!e?.startsWith(n) || !t)) return `data:${e};base64,${t}`;
|
|
1809
|
-
},
|
|
1810
|
-
let n =
|
|
1811
|
-
r && (e.url ? c = t.resolvePreviewUrl?.(e) ?? e.url : e.data && (c =
|
|
1868
|
+
}, en = (e, t = {}) => {
|
|
1869
|
+
let n = Qt(e.type), r = n === fe.Image, i = n === fe.Audio, a = e.url && e.reference_url && !e.reference_type, o = e.url ?? e.data ?? e.title, s = (e.url == null && e.reference_url != null ? e.reference_type ?? Zt(e.reference_url) : void 0) ?? e.type ?? "", c;
|
|
1870
|
+
r && (e.url ? c = t.resolvePreviewUrl?.(e) ?? e.url : e.data && (c = $t(e.type, e.data, "image/")));
|
|
1812
1871
|
let l;
|
|
1813
|
-
return i && (e.url ? l = t.resolvePlayUrl?.(e) ?? e.url : e.data && (l =
|
|
1872
|
+
return i && (e.url ? l = t.resolvePlayUrl?.(e) ?? e.url : e.data && (l = $t(e.type, e.data, "audio/"))), {
|
|
1814
1873
|
id: o,
|
|
1815
1874
|
name: e.title,
|
|
1816
1875
|
contentType: s,
|
|
@@ -1822,13 +1881,13 @@ var Yt = (e) => {
|
|
|
1822
1881
|
...i && l ? { playUrl: l } : {},
|
|
1823
1882
|
...!r && !i && e.data ? { data: e.data } : {}
|
|
1824
1883
|
};
|
|
1825
|
-
},
|
|
1884
|
+
}, tn = (e, t = {}) => {
|
|
1826
1885
|
let n = /* @__PURE__ */ new Set();
|
|
1827
1886
|
return e?.reduce((e, r) => {
|
|
1828
|
-
let i =
|
|
1887
|
+
let i = en(r, t);
|
|
1829
1888
|
return n.has(i.id) || (n.add(i.id), e.push(i)), e;
|
|
1830
1889
|
}, []) ?? [];
|
|
1831
|
-
},
|
|
1890
|
+
}, nn = {
|
|
1832
1891
|
"text/markdown": "md",
|
|
1833
1892
|
"text/plain": "txt",
|
|
1834
1893
|
"text/javascript": "js",
|
|
@@ -1859,18 +1918,18 @@ var Yt = (e) => {
|
|
|
1859
1918
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "pptx",
|
|
1860
1919
|
"image/jpeg": "jpg",
|
|
1861
1920
|
"image/svg+xml": "svg"
|
|
1862
|
-
},
|
|
1921
|
+
}, rn = "*/*", an = "audio/", on = (e) => e?.some((e) => e === "*/*" || e.startsWith("audio/")) ?? !1;
|
|
1863
1922
|
//#endregion
|
|
1864
1923
|
//#region ../../node_modules/dompurify/dist/purify.es.mjs
|
|
1865
|
-
function
|
|
1924
|
+
function sn(e, t) {
|
|
1866
1925
|
(t == null || t > e.length) && (t = e.length);
|
|
1867
1926
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
1868
1927
|
return r;
|
|
1869
1928
|
}
|
|
1870
|
-
function
|
|
1929
|
+
function cn(e) {
|
|
1871
1930
|
if (Array.isArray(e)) return e;
|
|
1872
1931
|
}
|
|
1873
|
-
function
|
|
1932
|
+
function ln(e, t) {
|
|
1874
1933
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
1875
1934
|
if (n != null) {
|
|
1876
1935
|
var r, i, a, o, s = [], c = !0, l = !1;
|
|
@@ -1888,113 +1947,113 @@ function un(e, t) {
|
|
|
1888
1947
|
return s;
|
|
1889
1948
|
}
|
|
1890
1949
|
}
|
|
1891
|
-
function
|
|
1950
|
+
function un() {
|
|
1892
1951
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1893
1952
|
}
|
|
1894
|
-
function
|
|
1895
|
-
return
|
|
1953
|
+
function dn(e, t) {
|
|
1954
|
+
return cn(e) || ln(e, t) || fn(e, t) || un();
|
|
1896
1955
|
}
|
|
1897
|
-
function
|
|
1956
|
+
function fn(e, t) {
|
|
1898
1957
|
if (e) {
|
|
1899
|
-
if (typeof e == "string") return
|
|
1958
|
+
if (typeof e == "string") return sn(e, t);
|
|
1900
1959
|
var n = {}.toString.call(e).slice(8, -1);
|
|
1901
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
1960
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? sn(e, t) : void 0;
|
|
1902
1961
|
}
|
|
1903
1962
|
}
|
|
1904
|
-
var
|
|
1905
|
-
|
|
1963
|
+
var pn = Object.entries, mn = Object.setPrototypeOf, hn = Object.isFrozen, gn = Object.getPrototypeOf, _n = Object.getOwnPropertyDescriptor, vn = Object.freeze, yn = Object.seal, bn = Object.create, xn = typeof Reflect < "u" && Reflect, Sn = xn.apply, Cn = xn.construct;
|
|
1964
|
+
vn ||= function(e) {
|
|
1906
1965
|
return e;
|
|
1907
|
-
},
|
|
1966
|
+
}, yn ||= function(e) {
|
|
1908
1967
|
return e;
|
|
1909
|
-
},
|
|
1968
|
+
}, Sn ||= function(e, t) {
|
|
1910
1969
|
var n = [...arguments].slice(2);
|
|
1911
1970
|
return e.apply(t, n);
|
|
1912
|
-
},
|
|
1971
|
+
}, Cn ||= function(e) {
|
|
1913
1972
|
return new e(...[...arguments].slice(1));
|
|
1914
1973
|
};
|
|
1915
|
-
var
|
|
1916
|
-
function
|
|
1974
|
+
var wn = Wn(Array.prototype.forEach), Tn = Wn(Array.prototype.lastIndexOf), En = Wn(Array.prototype.pop), Dn = Wn(Array.prototype.push), On = Wn(Array.prototype.splice), kn = Array.isArray, An = Wn(String.prototype.toLowerCase), jn = Wn(String.prototype.toString), Mn = Wn(String.prototype.match), Nn = Wn(String.prototype.replace), Pn = Wn(String.prototype.indexOf), Fn = Wn(String.prototype.trim), In = Wn(Number.prototype.toString), Ln = Wn(Boolean.prototype.toString), Rn = typeof BigInt > "u" ? null : Wn(BigInt.prototype.toString), zn = typeof Symbol > "u" ? null : Wn(Symbol.prototype.toString), Bn = Wn(Object.prototype.hasOwnProperty), Vn = Wn(Object.prototype.toString), Hn = Wn(RegExp.prototype.test), Un = Gn(TypeError);
|
|
1975
|
+
function Wn(e) {
|
|
1917
1976
|
return function(t) {
|
|
1918
1977
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
1919
1978
|
var n = [...arguments].slice(1);
|
|
1920
|
-
return
|
|
1979
|
+
return Sn(e, t, n);
|
|
1921
1980
|
};
|
|
1922
1981
|
}
|
|
1923
|
-
function
|
|
1982
|
+
function Gn(e) {
|
|
1924
1983
|
return function() {
|
|
1925
|
-
return
|
|
1984
|
+
return Cn(e, [...arguments]);
|
|
1926
1985
|
};
|
|
1927
1986
|
}
|
|
1928
|
-
function
|
|
1929
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
1930
|
-
if (
|
|
1987
|
+
function Kn(e, t) {
|
|
1988
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : An;
|
|
1989
|
+
if (mn && mn(e, null), !kn(t)) return e;
|
|
1931
1990
|
let r = t.length;
|
|
1932
1991
|
for (; r--;) {
|
|
1933
1992
|
let i = t[r];
|
|
1934
1993
|
if (typeof i == "string") {
|
|
1935
1994
|
let e = n(i);
|
|
1936
|
-
e !== i && (
|
|
1995
|
+
e !== i && (hn(t) || (t[r] = e), i = e);
|
|
1937
1996
|
}
|
|
1938
1997
|
e[i] = !0;
|
|
1939
1998
|
}
|
|
1940
1999
|
return e;
|
|
1941
2000
|
}
|
|
1942
|
-
function
|
|
1943
|
-
for (let t = 0; t < e.length; t++)
|
|
2001
|
+
function qn(e) {
|
|
2002
|
+
for (let t = 0; t < e.length; t++) Bn(e, t) || (e[t] = null);
|
|
1944
2003
|
return e;
|
|
1945
2004
|
}
|
|
1946
|
-
function
|
|
1947
|
-
let t =
|
|
1948
|
-
for (let r of
|
|
1949
|
-
var n =
|
|
2005
|
+
function Jn(e) {
|
|
2006
|
+
let t = bn(null);
|
|
2007
|
+
for (let r of pn(e)) {
|
|
2008
|
+
var n = dn(r, 2);
|
|
1950
2009
|
let i = n[0], a = n[1];
|
|
1951
|
-
|
|
2010
|
+
Bn(e, i) && (kn(a) ? t[i] = qn(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = Jn(a) : t[i] = a);
|
|
1952
2011
|
}
|
|
1953
2012
|
return t;
|
|
1954
2013
|
}
|
|
1955
|
-
function
|
|
2014
|
+
function Yn(e) {
|
|
1956
2015
|
switch (typeof e) {
|
|
1957
2016
|
case "string": return e;
|
|
1958
|
-
case "number": return
|
|
1959
|
-
case "boolean": return
|
|
1960
|
-
case "bigint": return
|
|
1961
|
-
case "symbol": return
|
|
1962
|
-
case "undefined": return
|
|
2017
|
+
case "number": return In(e);
|
|
2018
|
+
case "boolean": return Ln(e);
|
|
2019
|
+
case "bigint": return Rn ? Rn(e) : "0";
|
|
2020
|
+
case "symbol": return zn ? zn(e) : "Symbol()";
|
|
2021
|
+
case "undefined": return Vn(e);
|
|
1963
2022
|
case "function":
|
|
1964
2023
|
case "object": {
|
|
1965
|
-
if (e === null) return
|
|
1966
|
-
let t = e, n =
|
|
2024
|
+
if (e === null) return Vn(e);
|
|
2025
|
+
let t = e, n = Xn(t, "toString");
|
|
1967
2026
|
if (typeof n == "function") {
|
|
1968
2027
|
let e = n(t);
|
|
1969
|
-
return typeof e == "string" ? e :
|
|
2028
|
+
return typeof e == "string" ? e : Vn(e);
|
|
1970
2029
|
}
|
|
1971
|
-
return
|
|
2030
|
+
return Vn(e);
|
|
1972
2031
|
}
|
|
1973
|
-
default: return
|
|
2032
|
+
default: return Vn(e);
|
|
1974
2033
|
}
|
|
1975
2034
|
}
|
|
1976
|
-
function
|
|
2035
|
+
function Xn(e, t) {
|
|
1977
2036
|
for (; e !== null;) {
|
|
1978
|
-
let n =
|
|
2037
|
+
let n = _n(e, t);
|
|
1979
2038
|
if (n) {
|
|
1980
|
-
if (n.get) return
|
|
1981
|
-
if (typeof n.value == "function") return
|
|
2039
|
+
if (n.get) return Wn(n.get);
|
|
2040
|
+
if (typeof n.value == "function") return Wn(n.value);
|
|
1982
2041
|
}
|
|
1983
|
-
e =
|
|
2042
|
+
e = gn(e);
|
|
1984
2043
|
}
|
|
1985
2044
|
function n() {
|
|
1986
2045
|
return null;
|
|
1987
2046
|
}
|
|
1988
2047
|
return n;
|
|
1989
2048
|
}
|
|
1990
|
-
function
|
|
2049
|
+
function Zn(e) {
|
|
1991
2050
|
try {
|
|
1992
|
-
return
|
|
2051
|
+
return Hn(e, ""), !0;
|
|
1993
2052
|
} catch {
|
|
1994
2053
|
return !1;
|
|
1995
2054
|
}
|
|
1996
2055
|
}
|
|
1997
|
-
var
|
|
2056
|
+
var Qn = vn(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), $n = vn(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), er = vn([
|
|
1998
2057
|
"feBlend",
|
|
1999
2058
|
"feColorMatrix",
|
|
2000
2059
|
"feComponentTransfer",
|
|
@@ -2020,7 +2079,7 @@ var $n = yn(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
2020
2079
|
"feSpotLight",
|
|
2021
2080
|
"feTile",
|
|
2022
2081
|
"feTurbulence"
|
|
2023
|
-
]),
|
|
2082
|
+
]), tr = vn([
|
|
2024
2083
|
"animate",
|
|
2025
2084
|
"color-profile",
|
|
2026
2085
|
"cursor",
|
|
@@ -2043,7 +2102,7 @@ var $n = yn(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
2043
2102
|
"solidcolor",
|
|
2044
2103
|
"unknown",
|
|
2045
2104
|
"use"
|
|
2046
|
-
]),
|
|
2105
|
+
]), nr = vn(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), rr = vn([
|
|
2047
2106
|
"maction",
|
|
2048
2107
|
"maligngroup",
|
|
2049
2108
|
"malignmark",
|
|
@@ -2059,13 +2118,13 @@ var $n = yn(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
2059
2118
|
"annotation-xml",
|
|
2060
2119
|
"mprescripts",
|
|
2061
2120
|
"none"
|
|
2062
|
-
]),
|
|
2121
|
+
]), ir = vn(["#text"]), ar = vn(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), or = vn(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), sr = vn(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), cr = vn([
|
|
2063
2122
|
"xlink:href",
|
|
2064
2123
|
"xml:id",
|
|
2065
2124
|
"xlink:title",
|
|
2066
2125
|
"xml:space",
|
|
2067
2126
|
"xmlns:xlink"
|
|
2068
|
-
]),
|
|
2127
|
+
]), lr = yn(/{{[\w\W]*|^[\w\W]*}}/g), ur = yn(/<%[\w\W]*|^[\w\W]*%>/g), dr = yn(/\${[\w\W]*/g), fr = yn(/^data-[\-\w.\u00B7-\uFFFF]+$/), pr = yn(/^aria-[\-\w]+$/), mr = yn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), hr = yn(/^(?:\w+script|data):/i), gr = yn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), _r = yn(/^html$/i), vr = yn(/^[a-z][.\w]*(-[.\w]+)+$/i), yr = yn(/<[/\w!]/g), br = yn(/<[/\w]/g), xr = yn(/<\/no(script|embed|frames)/i), Sr = yn(/\/>/i), Cr = {
|
|
2069
2128
|
element: 1,
|
|
2070
2129
|
attribute: 2,
|
|
2071
2130
|
text: 3,
|
|
@@ -2078,9 +2137,9 @@ var $n = yn(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
2078
2137
|
documentType: 10,
|
|
2079
2138
|
documentFragment: 11,
|
|
2080
2139
|
notation: 12
|
|
2081
|
-
},
|
|
2140
|
+
}, wr = function() {
|
|
2082
2141
|
return typeof window > "u" ? null : window;
|
|
2083
|
-
},
|
|
2142
|
+
}, Tr = function(e, t) {
|
|
2084
2143
|
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
2085
2144
|
let n = null, r = "data-tt-policy-suffix";
|
|
2086
2145
|
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
@@ -2097,7 +2156,7 @@ var $n = yn(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
2097
2156
|
} catch {
|
|
2098
2157
|
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
2099
2158
|
}
|
|
2100
|
-
},
|
|
2159
|
+
}, Er = function() {
|
|
2101
2160
|
return {
|
|
2102
2161
|
afterSanitizeAttributes: [],
|
|
2103
2162
|
afterSanitizeElements: [],
|
|
@@ -2109,23 +2168,23 @@ var $n = yn(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.b
|
|
|
2109
2168
|
uponSanitizeElement: [],
|
|
2110
2169
|
uponSanitizeShadowNode: []
|
|
2111
2170
|
};
|
|
2112
|
-
},
|
|
2113
|
-
return
|
|
2171
|
+
}, Dr = function(e, t, n, r) {
|
|
2172
|
+
return Bn(e, t) && kn(e[t]) ? Kn(r.base ? Jn(r.base) : {}, e[t], r.transform) : n;
|
|
2114
2173
|
};
|
|
2115
|
-
function
|
|
2116
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
2117
|
-
if (t.version = "3.4.13", t.removed = [], !e || !e.document || e.document.nodeType !==
|
|
2174
|
+
function Or() {
|
|
2175
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : wr(), t = (e) => Or(e);
|
|
2176
|
+
if (t.version = "3.4.13", t.removed = [], !e || !e.document || e.document.nodeType !== Cr.document || !e.Element) return t.isSupported = !1, t;
|
|
2118
2177
|
let n = e.document, r = n, i = r.currentScript;
|
|
2119
2178
|
e.DocumentFragment;
|
|
2120
2179
|
let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
|
|
2121
2180
|
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
2122
|
-
let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f =
|
|
2181
|
+
let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f = Xn(d, "cloneNode"), p = Xn(d, "remove"), m = Xn(d, "nextSibling"), h = Xn(d, "childNodes"), g = Xn(d, "parentNode"), _ = Xn(d, "shadowRoot"), v = Xn(d, "attributes"), y = o && o.prototype ? Xn(o.prototype, "nodeType") : null, b = o && o.prototype ? Xn(o.prototype, "nodeName") : null, x = o && o.prototype ? Xn(o.prototype, "ownerDocument") : null;
|
|
2123
2182
|
if (typeof a == "function") {
|
|
2124
2183
|
let e = n.createElement("template");
|
|
2125
2184
|
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
2126
2185
|
}
|
|
2127
2186
|
let S, C = "", w, T = !1, E = 0, ee = function() {
|
|
2128
|
-
if (E > 0) throw
|
|
2187
|
+
if (E > 0) throw Un("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
|
|
2129
2188
|
}, D = function(e) {
|
|
2130
2189
|
ee(), E++;
|
|
2131
2190
|
try {
|
|
@@ -2141,21 +2200,21 @@ function kr() {
|
|
|
2141
2200
|
E--;
|
|
2142
2201
|
}
|
|
2143
2202
|
}, ne = function() {
|
|
2144
|
-
return T ||= (w =
|
|
2145
|
-
}, re = n, ie = re.implementation, ae = re.createNodeIterator, oe = re.createDocumentFragment, se = re.getElementsByTagName, O = r.importNode, ce =
|
|
2146
|
-
t.isSupported = typeof
|
|
2147
|
-
let le =
|
|
2203
|
+
return T ||= (w = Tr(u, i), !0), w;
|
|
2204
|
+
}, re = n, ie = re.implementation, ae = re.createNodeIterator, oe = re.createDocumentFragment, se = re.getElementsByTagName, O = r.importNode, ce = Er();
|
|
2205
|
+
t.isSupported = typeof pn == "function" && typeof g == "function" && ie && ie.createHTMLDocument !== void 0;
|
|
2206
|
+
let le = lr, ue = ur, de = dr, fe = fr, pe = pr, k = hr, me = gr, he = vr, ge = mr, _e = null, ve = Kn({}, [
|
|
2207
|
+
...Qn,
|
|
2148
2208
|
...$n,
|
|
2149
2209
|
...er,
|
|
2150
|
-
...
|
|
2151
|
-
...
|
|
2152
|
-
|
|
2153
|
-
|
|
2210
|
+
...nr,
|
|
2211
|
+
...ir
|
|
2212
|
+
]), ye = null, be = Kn({}, [
|
|
2213
|
+
...ar,
|
|
2154
2214
|
...or,
|
|
2155
2215
|
...sr,
|
|
2156
|
-
...cr
|
|
2157
|
-
|
|
2158
|
-
]), Se = Object.seal(xn(null, {
|
|
2216
|
+
...cr
|
|
2217
|
+
]), xe = Object.seal(bn(null, {
|
|
2159
2218
|
tagNameCheck: {
|
|
2160
2219
|
writable: !0,
|
|
2161
2220
|
configurable: !1,
|
|
@@ -2174,7 +2233,7 @@ function kr() {
|
|
|
2174
2233
|
enumerable: !0,
|
|
2175
2234
|
value: !1
|
|
2176
2235
|
}
|
|
2177
|
-
})),
|
|
2236
|
+
})), Se = null, Ce = null, we = Object.seal(bn(null, {
|
|
2178
2237
|
tagCheck: {
|
|
2179
2238
|
writable: !0,
|
|
2180
2239
|
configurable: !1,
|
|
@@ -2187,14 +2246,14 @@ function kr() {
|
|
|
2187
2246
|
enumerable: !0,
|
|
2188
2247
|
value: null
|
|
2189
2248
|
}
|
|
2190
|
-
})),
|
|
2249
|
+
})), Te = !0, Ee = !0, De = !1, Oe = !0, ke = !1, Ae = !0, je = !1, Me = !1, Ne = null, Pe = null, Fe = !1, Ie = !1, Le = !1, Re = !1, ze = !0, Be = !1, Ve = "user-content-", He = !0, Ue = !1, We = {}, Ge = null, Ke = Kn({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), qe = null, Je = Kn({}, [
|
|
2191
2250
|
"audio",
|
|
2192
2251
|
"video",
|
|
2193
2252
|
"img",
|
|
2194
2253
|
"source",
|
|
2195
2254
|
"image",
|
|
2196
2255
|
"track"
|
|
2197
|
-
]),
|
|
2256
|
+
]), Ye = null, Xe = Kn({}, [
|
|
2198
2257
|
"alt",
|
|
2199
2258
|
"class",
|
|
2200
2259
|
"for",
|
|
@@ -2209,42 +2268,42 @@ function kr() {
|
|
|
2209
2268
|
"value",
|
|
2210
2269
|
"style",
|
|
2211
2270
|
"xmlns"
|
|
2212
|
-
]),
|
|
2271
|
+
]), Ze = "http://www.w3.org/1998/Math/MathML", Qe = "http://www.w3.org/2000/svg", $e = "http://www.w3.org/1999/xhtml", et = $e, tt = !1, nt = null, rt = Kn({}, [
|
|
2272
|
+
Ze,
|
|
2213
2273
|
Qe,
|
|
2214
|
-
$e
|
|
2215
|
-
|
|
2216
|
-
], Mn), at = yn([
|
|
2274
|
+
$e
|
|
2275
|
+
], jn), it = vn([
|
|
2217
2276
|
"mi",
|
|
2218
2277
|
"mo",
|
|
2219
2278
|
"mn",
|
|
2220
2279
|
"ms",
|
|
2221
2280
|
"mtext"
|
|
2222
|
-
]),
|
|
2281
|
+
]), at = Kn({}, it), ot = vn(["annotation-xml"]), st = Kn({}, ot), ct = Kn({}, [
|
|
2223
2282
|
"title",
|
|
2224
2283
|
"style",
|
|
2225
2284
|
"font",
|
|
2226
2285
|
"a",
|
|
2227
2286
|
"script"
|
|
2228
|
-
]),
|
|
2287
|
+
]), lt = null, ut = ["application/xhtml+xml", "text/html"], dt = null, ft = null, pt = n.createElement("form"), mt = function(e) {
|
|
2229
2288
|
return e instanceof RegExp || e instanceof Function;
|
|
2230
|
-
},
|
|
2289
|
+
}, ht = function() {
|
|
2231
2290
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2232
|
-
if (
|
|
2233
|
-
(!e || typeof e != "object") && (e = {}), e =
|
|
2234
|
-
transform:
|
|
2235
|
-
base:
|
|
2236
|
-
}),
|
|
2237
|
-
transform:
|
|
2238
|
-
base:
|
|
2239
|
-
}),
|
|
2240
|
-
let t =
|
|
2241
|
-
if (
|
|
2291
|
+
if (ft && ft === e) return;
|
|
2292
|
+
(!e || typeof e != "object") && (e = {}), e = Jn(e), lt = ut.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, dt = lt === "application/xhtml+xml" ? jn : An, _e = Dr(e, "ALLOWED_TAGS", ve, { transform: dt }), ye = Dr(e, "ALLOWED_ATTR", be, { transform: dt }), nt = Dr(e, "ALLOWED_NAMESPACES", rt, { transform: jn }), Ye = Dr(e, "ADD_URI_SAFE_ATTR", Xe, {
|
|
2293
|
+
transform: dt,
|
|
2294
|
+
base: Xe
|
|
2295
|
+
}), qe = Dr(e, "ADD_DATA_URI_TAGS", Je, {
|
|
2296
|
+
transform: dt,
|
|
2297
|
+
base: Je
|
|
2298
|
+
}), Ge = Dr(e, "FORBID_CONTENTS", Ke, { transform: dt }), Se = Dr(e, "FORBID_TAGS", Jn({}), { transform: dt }), Ce = Dr(e, "FORBID_ATTR", Jn({}), { transform: dt }), We = Bn(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? Jn(e.USE_PROFILES) : e.USE_PROFILES : !1, Te = e.ALLOW_ARIA_ATTR !== !1, Ee = e.ALLOW_DATA_ATTR !== !1, De = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Oe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ke = e.SAFE_FOR_TEMPLATES || !1, Ae = e.SAFE_FOR_XML !== !1, je = e.WHOLE_DOCUMENT || !1, Ie = e.RETURN_DOM || !1, Le = e.RETURN_DOM_FRAGMENT || !1, Re = e.RETURN_TRUSTED_TYPE || !1, Fe = e.FORCE_BODY || !1, ze = e.SANITIZE_DOM !== !1, Be = e.SANITIZE_NAMED_PROPS || !1, He = e.KEEP_CONTENT !== !1, Ue = e.IN_PLACE || !1, ge = Zn(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : mr, et = typeof e.NAMESPACE == "string" ? e.NAMESPACE : $e, at = Bn(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? Jn(e.MATHML_TEXT_INTEGRATION_POINTS) : Kn({}, it), st = Bn(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? Jn(e.HTML_INTEGRATION_POINTS) : Kn({}, ot);
|
|
2299
|
+
let t = Bn(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? Jn(e.CUSTOM_ELEMENT_HANDLING) : bn(null);
|
|
2300
|
+
if (xe = bn(null), Bn(t, "tagNameCheck") && mt(t.tagNameCheck) && (xe.tagNameCheck = t.tagNameCheck), Bn(t, "attributeNameCheck") && mt(t.attributeNameCheck) && (xe.attributeNameCheck = t.attributeNameCheck), Bn(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (xe.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), yn(xe), ke && (Ee = !1), Le && (Ie = !0), We && (_e = Kn({}, ir), ye = bn(null), We.html === !0 && (Kn(_e, Qn), Kn(ye, ar)), We.svg === !0 && (Kn(_e, $n), Kn(ye, or), Kn(ye, cr)), We.svgFilters === !0 && (Kn(_e, er), Kn(ye, or), Kn(ye, cr)), We.mathMl === !0 && (Kn(_e, nr), Kn(ye, sr), Kn(ye, cr))), we.tagCheck = null, we.attributeCheck = null, Bn(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? we.tagCheck = e.ADD_TAGS : kn(e.ADD_TAGS) && (_e === ve && (_e = Jn(_e)), Kn(_e, e.ADD_TAGS, dt))), Bn(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? we.attributeCheck = e.ADD_ATTR : kn(e.ADD_ATTR) && (ye === be && (ye = Jn(ye)), Kn(ye, e.ADD_ATTR, dt))), Bn(e, "ADD_URI_SAFE_ATTR") && kn(e.ADD_URI_SAFE_ATTR) && Kn(Ye, e.ADD_URI_SAFE_ATTR, dt), Bn(e, "FORBID_CONTENTS") && kn(e.FORBID_CONTENTS) && (Ge === Ke && (Ge = Jn(Ge)), Kn(Ge, e.FORBID_CONTENTS, dt)), Bn(e, "ADD_FORBID_CONTENTS") && kn(e.ADD_FORBID_CONTENTS) && (Ge === Ke && (Ge = Jn(Ge)), Kn(Ge, e.ADD_FORBID_CONTENTS, dt)), He && (_e["#text"] = !0), je && Kn(_e, [
|
|
2242
2301
|
"html",
|
|
2243
2302
|
"head",
|
|
2244
2303
|
"body"
|
|
2245
|
-
]),
|
|
2246
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw
|
|
2247
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw
|
|
2304
|
+
]), _e.table && (Kn(_e, ["tbody"]), delete Se.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
2305
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Un("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
2306
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Un("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
2248
2307
|
let t = S;
|
|
2249
2308
|
S = e.TRUSTED_TYPES_POLICY;
|
|
2250
2309
|
try {
|
|
@@ -2253,40 +2312,40 @@ function kr() {
|
|
|
2253
2312
|
throw S = t, e;
|
|
2254
2313
|
}
|
|
2255
2314
|
} else e.TRUSTED_TYPES_POLICY === null ? (S = void 0, C = "") : (S === void 0 && (S = ne()), S && typeof C == "string" && (C = D("")));
|
|
2256
|
-
|
|
2257
|
-
},
|
|
2315
|
+
vn && vn(e), ft = e;
|
|
2316
|
+
}, gt = Kn({}, [
|
|
2317
|
+
...$n,
|
|
2258
2318
|
...er,
|
|
2259
|
-
...tr
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2319
|
+
...tr
|
|
2320
|
+
]), _t = Kn({}, [...nr, ...rr]), vt = function(e, t, n) {
|
|
2321
|
+
return t.namespaceURI === $e ? e === "svg" : t.namespaceURI === Ze ? e === "svg" && (n === "annotation-xml" || at[n]) : !!gt[e];
|
|
2322
|
+
}, yt = function(e, t, n) {
|
|
2323
|
+
return t.namespaceURI === $e ? e === "math" : t.namespaceURI === Qe ? e === "math" && st[n] : !!_t[e];
|
|
2263
2324
|
}, bt = function(e, t, n) {
|
|
2264
|
-
return t.namespaceURI ===
|
|
2265
|
-
}, xt = function(e
|
|
2266
|
-
return t.namespaceURI === $e && !ct[n] || t.namespaceURI === Qe && !ot[n] ? !1 : !vt[e] && (lt[e] || !_t[e]);
|
|
2267
|
-
}, St = function(e) {
|
|
2325
|
+
return t.namespaceURI === Qe && !st[n] || t.namespaceURI === Ze && !at[n] ? !1 : !_t[e] && (ct[e] || !gt[e]);
|
|
2326
|
+
}, xt = function(e) {
|
|
2268
2327
|
let t = g(e);
|
|
2269
2328
|
(!t || !t.tagName) && (t = {
|
|
2270
|
-
namespaceURI:
|
|
2329
|
+
namespaceURI: et,
|
|
2271
2330
|
tagName: "template"
|
|
2272
2331
|
});
|
|
2273
|
-
let n =
|
|
2274
|
-
return
|
|
2275
|
-
},
|
|
2276
|
-
|
|
2332
|
+
let n = An(e.tagName), r = An(t.tagName);
|
|
2333
|
+
return nt[e.namespaceURI] ? e.namespaceURI === Qe ? vt(n, t, r) : e.namespaceURI === Ze ? yt(n, t, r) : e.namespaceURI === $e ? bt(n, t, r) : !!(lt === "application/xhtml+xml" && nt[e.namespaceURI]) : !1;
|
|
2334
|
+
}, A = function(e) {
|
|
2335
|
+
Dn(t.removed, { element: e });
|
|
2277
2336
|
try {
|
|
2278
2337
|
g(e).removeChild(e);
|
|
2279
2338
|
} catch {
|
|
2280
|
-
if (p(e), !g(e)) throw
|
|
2339
|
+
if (p(e), !g(e)) throw Un("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
2281
2340
|
}
|
|
2282
|
-
},
|
|
2283
|
-
|
|
2341
|
+
}, St = function(e) {
|
|
2342
|
+
Tt(e);
|
|
2284
2343
|
let t = h(e);
|
|
2285
2344
|
if (t) {
|
|
2286
2345
|
let e = [];
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
}),
|
|
2346
|
+
wn(t, (t) => {
|
|
2347
|
+
Dn(e, t);
|
|
2348
|
+
}), wn(e, (e) => {
|
|
2290
2349
|
try {
|
|
2291
2350
|
p(e);
|
|
2292
2351
|
} catch {}
|
|
@@ -2299,53 +2358,53 @@ function kr() {
|
|
|
2299
2358
|
e.removeAttribute(i);
|
|
2300
2359
|
} catch {}
|
|
2301
2360
|
}
|
|
2302
|
-
},
|
|
2361
|
+
}, Ct = function(e, n) {
|
|
2303
2362
|
try {
|
|
2304
|
-
|
|
2363
|
+
Dn(t.removed, {
|
|
2305
2364
|
attribute: n.getAttributeNode(e),
|
|
2306
2365
|
from: n
|
|
2307
2366
|
});
|
|
2308
2367
|
} catch {
|
|
2309
|
-
|
|
2368
|
+
Dn(t.removed, {
|
|
2310
2369
|
attribute: null,
|
|
2311
2370
|
from: n
|
|
2312
2371
|
});
|
|
2313
2372
|
}
|
|
2314
|
-
if (n.removeAttribute(e), e === "is") if (
|
|
2315
|
-
|
|
2373
|
+
if (n.removeAttribute(e), e === "is") if (Ie || Le) try {
|
|
2374
|
+
A(n);
|
|
2316
2375
|
} catch {}
|
|
2317
2376
|
else try {
|
|
2318
2377
|
n.setAttribute(e, "");
|
|
2319
2378
|
} catch {}
|
|
2320
|
-
},
|
|
2379
|
+
}, wt = function(e) {
|
|
2321
2380
|
let t = v(e);
|
|
2322
2381
|
if (t) for (let n = t.length - 1; n >= 0; --n) {
|
|
2323
2382
|
let r = t[n], i = r && r.name;
|
|
2324
|
-
if (!(typeof i != "string" ||
|
|
2383
|
+
if (!(typeof i != "string" || ye[dt(i)])) try {
|
|
2325
2384
|
e.removeAttribute(i);
|
|
2326
2385
|
} catch {}
|
|
2327
2386
|
}
|
|
2328
|
-
},
|
|
2387
|
+
}, Tt = function(e) {
|
|
2329
2388
|
let t = [e];
|
|
2330
2389
|
for (; t.length > 0;) {
|
|
2331
2390
|
let e = t.pop();
|
|
2332
|
-
(y ? y(e) : e.nodeType) ===
|
|
2391
|
+
(y ? y(e) : e.nodeType) === Cr.element && wt(e);
|
|
2333
2392
|
let n = h(e);
|
|
2334
2393
|
if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
|
|
2335
2394
|
}
|
|
2336
|
-
},
|
|
2337
|
-
if (!
|
|
2395
|
+
}, Et = function(e) {
|
|
2396
|
+
if (!Ae) return;
|
|
2338
2397
|
let t = [e];
|
|
2339
2398
|
for (; t.length > 0;) {
|
|
2340
2399
|
let e = t.pop(), n = y ? y(e) : e.nodeType;
|
|
2341
|
-
if (n ===
|
|
2400
|
+
if (n === Cr.processingInstruction || n === Cr.comment && Hn(br, e.data)) {
|
|
2342
2401
|
try {
|
|
2343
2402
|
p(e);
|
|
2344
2403
|
} catch {}
|
|
2345
2404
|
continue;
|
|
2346
2405
|
}
|
|
2347
|
-
if (n ===
|
|
2348
|
-
let t = e, n =
|
|
2406
|
+
if (n === Cr.element) {
|
|
2407
|
+
let t = e, n = dt(b ? b(e) : e.nodeName);
|
|
2349
2408
|
try {
|
|
2350
2409
|
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && n !== "label" && n !== "output" && t.removeAttribute("for");
|
|
2351
2410
|
} catch {}
|
|
@@ -2353,50 +2412,50 @@ function kr() {
|
|
|
2353
2412
|
let r = h(e);
|
|
2354
2413
|
if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
|
|
2355
2414
|
}
|
|
2356
|
-
},
|
|
2415
|
+
}, Dt = function(e) {
|
|
2357
2416
|
let t = null, r = null;
|
|
2358
|
-
if (
|
|
2417
|
+
if (Fe) e = "<remove></remove>" + e;
|
|
2359
2418
|
else {
|
|
2360
|
-
let t =
|
|
2419
|
+
let t = Mn(e, /^[\r\n\t ]+/);
|
|
2361
2420
|
r = t && t[0];
|
|
2362
2421
|
}
|
|
2363
|
-
|
|
2422
|
+
lt === "application/xhtml+xml" && et === $e && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
2364
2423
|
let i = S ? D(e) : e;
|
|
2365
|
-
if (
|
|
2366
|
-
t = new l().parseFromString(i,
|
|
2424
|
+
if (et === $e) try {
|
|
2425
|
+
t = new l().parseFromString(i, lt);
|
|
2367
2426
|
} catch {}
|
|
2368
2427
|
if (!t || !t.documentElement) {
|
|
2369
|
-
t = ie.createDocument(
|
|
2428
|
+
t = ie.createDocument(et, "template", null);
|
|
2370
2429
|
try {
|
|
2371
|
-
t.documentElement.innerHTML =
|
|
2430
|
+
t.documentElement.innerHTML = tt ? C : i;
|
|
2372
2431
|
} catch {}
|
|
2373
2432
|
}
|
|
2374
2433
|
let a = t.body || t.documentElement;
|
|
2375
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null),
|
|
2376
|
-
},
|
|
2434
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), et === $e ? se.call(t, je ? "html" : "body")[0] : je ? t.documentElement : a;
|
|
2435
|
+
}, Ot = function(e) {
|
|
2377
2436
|
let t = x ? x(e) : e.ownerDocument;
|
|
2378
2437
|
return ae.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
2379
|
-
},
|
|
2380
|
-
return e =
|
|
2381
|
-
},
|
|
2438
|
+
}, j = function(e) {
|
|
2439
|
+
return e = Nn(e, le, " "), e = Nn(e, ue, " "), e = Nn(e, de, " "), e;
|
|
2440
|
+
}, kt = function(e) {
|
|
2382
2441
|
e.normalize();
|
|
2383
2442
|
let t = x ? x(e) : e.ownerDocument, n = ae.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
|
|
2384
|
-
for (; r;) r.data =
|
|
2443
|
+
for (; r;) r.data = j(r.data), r = n.nextNode();
|
|
2385
2444
|
let i = e.querySelectorAll?.call(e, "template");
|
|
2386
|
-
i &&
|
|
2387
|
-
|
|
2445
|
+
i && wn(i, (e) => {
|
|
2446
|
+
jt(e.content) && kt(e.content);
|
|
2388
2447
|
});
|
|
2389
|
-
},
|
|
2448
|
+
}, At = function(e) {
|
|
2390
2449
|
let t = b ? b(e) : null;
|
|
2391
|
-
return typeof t != "string" ||
|
|
2392
|
-
},
|
|
2450
|
+
return typeof t != "string" || dt(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== v(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== y(e) || e.childNodes !== h(e);
|
|
2451
|
+
}, jt = function(e) {
|
|
2393
2452
|
if (!y || typeof e != "object" || !e) return !1;
|
|
2394
2453
|
try {
|
|
2395
|
-
return y(e) ===
|
|
2454
|
+
return y(e) === Cr.documentFragment;
|
|
2396
2455
|
} catch {
|
|
2397
2456
|
return !1;
|
|
2398
2457
|
}
|
|
2399
|
-
},
|
|
2458
|
+
}, Mt = function(e) {
|
|
2400
2459
|
if (!y || typeof e != "object" || !e) return !1;
|
|
2401
2460
|
try {
|
|
2402
2461
|
return typeof y(e) == "number";
|
|
@@ -2404,16 +2463,16 @@ function kr() {
|
|
|
2404
2463
|
return !1;
|
|
2405
2464
|
}
|
|
2406
2465
|
};
|
|
2407
|
-
function
|
|
2408
|
-
e.length !== 0 &&
|
|
2409
|
-
e.call(t, n, r,
|
|
2466
|
+
function Nt(e, n, r) {
|
|
2467
|
+
e.length !== 0 && wn(e, (e) => {
|
|
2468
|
+
e.call(t, n, r, ft);
|
|
2410
2469
|
});
|
|
2411
2470
|
}
|
|
2412
|
-
let
|
|
2413
|
-
return !!(
|
|
2414
|
-
},
|
|
2415
|
-
if (!
|
|
2416
|
-
if (
|
|
2471
|
+
let Pt = function(e, t) {
|
|
2472
|
+
return !!(Ae && e.hasChildNodes() && !Mt(e.firstElementChild) && Hn(yr, e.textContent) && Hn(yr, e.innerHTML) || Ae && e.namespaceURI === $e && t === "style" && Mt(e.firstElementChild) || e.nodeType === Cr.processingInstruction || Ae && e.nodeType === Cr.comment && Hn(br, e.data));
|
|
2473
|
+
}, Ft = function(e, t, n) {
|
|
2474
|
+
if (!Se[t] && Bt(t) && (xe.tagNameCheck instanceof RegExp && Hn(xe.tagNameCheck, t) || xe.tagNameCheck instanceof Function && xe.tagNameCheck(t))) return !1;
|
|
2475
|
+
if (He && !Ge[t]) {
|
|
2417
2476
|
let t = g(e), r = h(e);
|
|
2418
2477
|
if (r && t) {
|
|
2419
2478
|
let i = r.length;
|
|
@@ -2423,38 +2482,38 @@ function kr() {
|
|
|
2423
2482
|
}
|
|
2424
2483
|
}
|
|
2425
2484
|
}
|
|
2426
|
-
return
|
|
2427
|
-
},
|
|
2428
|
-
return e.length === 0 ? t : t === n || t === r ?
|
|
2429
|
-
},
|
|
2430
|
-
if (
|
|
2431
|
-
if (
|
|
2432
|
-
let r =
|
|
2433
|
-
if (
|
|
2485
|
+
return A(e), !0;
|
|
2486
|
+
}, It = function(e, t, n, r) {
|
|
2487
|
+
return e.length === 0 ? t : t === n || t === r ? Jn(t) : t;
|
|
2488
|
+
}, Lt = function(e, n) {
|
|
2489
|
+
if (Nt(ce.beforeSanitizeElements, e, null), e !== n && g(e) === null) return Ue && Tt(e), !0;
|
|
2490
|
+
if (At(e)) return A(e), !0;
|
|
2491
|
+
let r = dt(b ? b(e) : e.nodeName);
|
|
2492
|
+
if (_e = It(ce.uponSanitizeElement, _e, ve, Ne), Nt(ce.uponSanitizeElement, e, {
|
|
2434
2493
|
tagName: r,
|
|
2435
|
-
allowedTags:
|
|
2436
|
-
}), e !== n && g(e) === null) return
|
|
2437
|
-
if (
|
|
2438
|
-
if (
|
|
2439
|
-
let t =
|
|
2440
|
-
return t === !1 &&
|
|
2441
|
-
}
|
|
2442
|
-
if ((y ? y(e) : e.nodeType) ===
|
|
2443
|
-
if (
|
|
2444
|
-
let n =
|
|
2445
|
-
e.textContent !== n && (
|
|
2446
|
-
}
|
|
2447
|
-
return
|
|
2448
|
-
},
|
|
2449
|
-
if (
|
|
2450
|
-
let i =
|
|
2451
|
-
if (!(
|
|
2494
|
+
allowedTags: _e
|
|
2495
|
+
}), e !== n && g(e) === null) return Ue && Tt(e), !0;
|
|
2496
|
+
if (Pt(e, r)) return A(e), !0;
|
|
2497
|
+
if (Se[r] || !(we.tagCheck instanceof Function && we.tagCheck(r)) && !_e[r]) {
|
|
2498
|
+
let t = Ft(e, r, n);
|
|
2499
|
+
return t === !1 && Nt(ce.afterSanitizeElements, e, null), t;
|
|
2500
|
+
}
|
|
2501
|
+
if ((y ? y(e) : e.nodeType) === Cr.element && !xt(e) || (r === "noscript" || r === "noembed" || r === "noframes") && Hn(xr, e.innerHTML)) return A(e), !0;
|
|
2502
|
+
if (ke && e.nodeType === Cr.text) {
|
|
2503
|
+
let n = j(e.textContent);
|
|
2504
|
+
e.textContent !== n && (Dn(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
2505
|
+
}
|
|
2506
|
+
return Nt(ce.afterSanitizeElements, e, null), !1;
|
|
2507
|
+
}, Rt = function(e, t, r) {
|
|
2508
|
+
if (Ce[t] || Ae && t === "patchsrc" || Ae && t === "for" && e !== "label" && e !== "output" || ze && (t === "id" || t === "name") && (r in n || r in pt)) return !1;
|
|
2509
|
+
let i = ye[t] || we.attributeCheck instanceof Function && we.attributeCheck(t, e);
|
|
2510
|
+
if (!(Ee && Hn(fe, t)) && !(Te && Hn(pe, t))) {
|
|
2452
2511
|
if (!i) {
|
|
2453
|
-
if (!(
|
|
2454
|
-
} else if (!
|
|
2512
|
+
if (!(Bt(e) && (xe.tagNameCheck instanceof RegExp && Hn(xe.tagNameCheck, e) || xe.tagNameCheck instanceof Function && xe.tagNameCheck(e)) && (xe.attributeNameCheck instanceof RegExp && Hn(xe.attributeNameCheck, t) || xe.attributeNameCheck instanceof Function && xe.attributeNameCheck(t, e)) || t === "is" && xe.allowCustomizedBuiltInElements && (xe.tagNameCheck instanceof RegExp && Hn(xe.tagNameCheck, r) || xe.tagNameCheck instanceof Function && xe.tagNameCheck(r)))) return !1;
|
|
2513
|
+
} else if (!Ye[t] && !Hn(ge, Nn(r, me, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Pn(r, "data:") === 0 && qe[e]) && !(De && !Hn(k, Nn(r, me, ""))) && r) return !1;
|
|
2455
2514
|
}
|
|
2456
2515
|
return !0;
|
|
2457
|
-
},
|
|
2516
|
+
}, zt = Kn({}, [
|
|
2458
2517
|
"annotation-xml",
|
|
2459
2518
|
"color-profile",
|
|
2460
2519
|
"font-face",
|
|
@@ -2463,67 +2522,67 @@ function kr() {
|
|
|
2463
2522
|
"font-face-src",
|
|
2464
2523
|
"font-face-uri",
|
|
2465
2524
|
"missing-glyph"
|
|
2466
|
-
]),
|
|
2467
|
-
return !
|
|
2468
|
-
},
|
|
2525
|
+
]), Bt = function(e) {
|
|
2526
|
+
return !zt[An(e)] && Hn(he, e);
|
|
2527
|
+
}, Vt = function(e, t, n, r) {
|
|
2469
2528
|
if (S && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
|
|
2470
2529
|
case "TrustedHTML": return D(r);
|
|
2471
2530
|
case "TrustedScriptURL": return te(r);
|
|
2472
2531
|
}
|
|
2473
2532
|
return r;
|
|
2474
|
-
},
|
|
2533
|
+
}, Ht = function(e, n, r, i) {
|
|
2475
2534
|
try {
|
|
2476
|
-
r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i),
|
|
2535
|
+
r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), At(e) ? A(e) : En(t.removed);
|
|
2477
2536
|
} catch {
|
|
2478
|
-
|
|
2537
|
+
Ct(n, e);
|
|
2479
2538
|
}
|
|
2480
|
-
},
|
|
2481
|
-
|
|
2539
|
+
}, Ut = function(e) {
|
|
2540
|
+
Nt(ce.beforeSanitizeAttributes, e, null);
|
|
2482
2541
|
let t = e.attributes;
|
|
2483
|
-
if (!t ||
|
|
2484
|
-
|
|
2542
|
+
if (!t || At(e)) return;
|
|
2543
|
+
ye = It(ce.uponSanitizeAttribute, ye, be, Pe);
|
|
2485
2544
|
let n = {
|
|
2486
2545
|
attrName: "",
|
|
2487
2546
|
attrValue: "",
|
|
2488
2547
|
keepAttr: !0,
|
|
2489
|
-
allowedAttributes:
|
|
2548
|
+
allowedAttributes: ye,
|
|
2490
2549
|
forceKeepAttr: void 0
|
|
2491
|
-
}, r = t.length, i =
|
|
2550
|
+
}, r = t.length, i = dt(e.nodeName);
|
|
2492
2551
|
for (; r--;) {
|
|
2493
|
-
let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l =
|
|
2494
|
-
if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0,
|
|
2495
|
-
|
|
2552
|
+
let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = dt(o), u = c, d = o === "value" ? u : Fn(u);
|
|
2553
|
+
if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, Nt(ce.uponSanitizeAttribute, e, n), d = n.attrValue, Be && (l === "id" || l === "name") && Pn(d, Ve) !== 0 && (Ct(o, e), d = Ve + d), Ae && Hn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
|
|
2554
|
+
Ct(o, e);
|
|
2496
2555
|
continue;
|
|
2497
2556
|
}
|
|
2498
|
-
if (l === "attributename" &&
|
|
2499
|
-
|
|
2557
|
+
if (l === "attributename" && Mn(d, "href")) {
|
|
2558
|
+
Ct(o, e);
|
|
2500
2559
|
continue;
|
|
2501
2560
|
}
|
|
2502
2561
|
if (!n.forceKeepAttr) {
|
|
2503
2562
|
if (!n.keepAttr) {
|
|
2504
|
-
|
|
2563
|
+
Ct(o, e);
|
|
2505
2564
|
continue;
|
|
2506
2565
|
}
|
|
2507
|
-
if (!
|
|
2508
|
-
|
|
2566
|
+
if (!Oe && Hn(Sr, d)) {
|
|
2567
|
+
Ct(o, e);
|
|
2509
2568
|
continue;
|
|
2510
2569
|
}
|
|
2511
|
-
if (
|
|
2512
|
-
|
|
2570
|
+
if (ke && (d = j(d)), !Rt(i, l, d)) {
|
|
2571
|
+
Ct(o, e);
|
|
2513
2572
|
continue;
|
|
2514
2573
|
}
|
|
2515
|
-
d =
|
|
2574
|
+
d = Vt(i, l, s, d), d !== u && Ht(e, o, s, d);
|
|
2516
2575
|
}
|
|
2517
2576
|
}
|
|
2518
|
-
|
|
2519
|
-
},
|
|
2520
|
-
let t = null, n =
|
|
2521
|
-
for (
|
|
2577
|
+
Nt(ce.afterSanitizeAttributes, e, null);
|
|
2578
|
+
}, Wt = function(e) {
|
|
2579
|
+
let t = null, n = Ot(e);
|
|
2580
|
+
for (Nt(ce.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (Nt(ce.uponSanitizeShadowNode, t, null), Lt(t, e), Ut(t), jt(t.content) && Wt(t.content), (y ? y(t) : t.nodeType) === Cr.element) {
|
|
2522
2581
|
let e = _(t);
|
|
2523
|
-
|
|
2582
|
+
jt(e) && (Gt(e), Wt(e));
|
|
2524
2583
|
}
|
|
2525
|
-
|
|
2526
|
-
},
|
|
2584
|
+
Nt(ce.afterSanitizeShadowDOM, e, null);
|
|
2585
|
+
}, Gt = function(e) {
|
|
2527
2586
|
let t = [{
|
|
2528
2587
|
node: e,
|
|
2529
2588
|
shadow: null
|
|
@@ -2531,19 +2590,19 @@ function kr() {
|
|
|
2531
2590
|
for (; t.length > 0;) {
|
|
2532
2591
|
let e = t.pop();
|
|
2533
2592
|
if (e.shadow) {
|
|
2534
|
-
|
|
2593
|
+
Wt(e.shadow);
|
|
2535
2594
|
continue;
|
|
2536
2595
|
}
|
|
2537
|
-
let n = e.node, r = (y ? y(n) : n.nodeType) ===
|
|
2596
|
+
let n = e.node, r = (y ? y(n) : n.nodeType) === Cr.element, i = h(n);
|
|
2538
2597
|
if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
|
|
2539
2598
|
node: i[e],
|
|
2540
2599
|
shadow: null
|
|
2541
2600
|
});
|
|
2542
2601
|
if (r) {
|
|
2543
2602
|
let e = b ? b(n) : null;
|
|
2544
|
-
if (typeof e == "string" &&
|
|
2603
|
+
if (typeof e == "string" && dt(e) === "template") {
|
|
2545
2604
|
let e = n.content;
|
|
2546
|
-
|
|
2605
|
+
jt(e) && t.push({
|
|
2547
2606
|
node: e,
|
|
2548
2607
|
shadow: null
|
|
2549
2608
|
});
|
|
@@ -2551,7 +2610,7 @@ function kr() {
|
|
|
2551
2610
|
}
|
|
2552
2611
|
if (r) {
|
|
2553
2612
|
let e = _(n);
|
|
2554
|
-
|
|
2613
|
+
jt(e) && t.push({
|
|
2555
2614
|
node: null,
|
|
2556
2615
|
shadow: e
|
|
2557
2616
|
}, {
|
|
@@ -2563,71 +2622,71 @@ function kr() {
|
|
|
2563
2622
|
};
|
|
2564
2623
|
return t.sanitize = function(e) {
|
|
2565
2624
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
2566
|
-
if (
|
|
2625
|
+
if (tt = !e, tt && (e = "<!-->"), typeof e != "string" && !Mt(e) && (e = Yn(e), typeof e != "string")) throw Un("dirty is not a string, aborting");
|
|
2567
2626
|
if (!t.isSupported) return e;
|
|
2568
|
-
|
|
2569
|
-
let c =
|
|
2627
|
+
Me ? (_e = Ne, ye = Pe) : ht(n), (ce.uponSanitizeElement.length > 0 || ce.uponSanitizeAttribute.length > 0) && (_e = Jn(_e)), ce.uponSanitizeAttribute.length > 0 && (ye = Jn(ye)), t.removed = [];
|
|
2628
|
+
let c = Ue && typeof e != "string" && Mt(e);
|
|
2570
2629
|
if (c) {
|
|
2571
|
-
|
|
2630
|
+
Et(e);
|
|
2572
2631
|
let t = b ? b(e) : e.nodeName;
|
|
2573
2632
|
if (typeof t == "string") {
|
|
2574
|
-
let n =
|
|
2575
|
-
if (!
|
|
2633
|
+
let n = dt(t);
|
|
2634
|
+
if (!_e[n] || Se[n]) throw St(e), Un("root node is forbidden and cannot be sanitized in-place");
|
|
2576
2635
|
}
|
|
2577
|
-
if (
|
|
2636
|
+
if (At(e)) throw St(e), Un("root node is clobbered and cannot be sanitized in-place");
|
|
2578
2637
|
try {
|
|
2579
|
-
|
|
2638
|
+
Gt(e);
|
|
2580
2639
|
} catch (t) {
|
|
2581
|
-
throw
|
|
2640
|
+
throw St(e), t;
|
|
2582
2641
|
}
|
|
2583
|
-
} else if (
|
|
2642
|
+
} else if (Mt(e)) i = Dt("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === Cr.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Gt(a);
|
|
2584
2643
|
else {
|
|
2585
|
-
if (!
|
|
2586
|
-
if (i =
|
|
2644
|
+
if (!Ie && !ke && !je && e.indexOf("<") === -1) return S && Re ? D(e) : e;
|
|
2645
|
+
if (i = Dt(e), !i) return Ie ? null : Re ? C : "";
|
|
2587
2646
|
}
|
|
2588
|
-
i &&
|
|
2647
|
+
i && Fe && A(i.firstChild);
|
|
2589
2648
|
let l = c ? e : i;
|
|
2590
2649
|
try {
|
|
2591
|
-
let e =
|
|
2592
|
-
for (; o = e.nextNode();)
|
|
2650
|
+
let e = Ot(l);
|
|
2651
|
+
for (; o = e.nextNode();) Lt(o, l), Ut(o), jt(o.content) && Wt(o.content);
|
|
2593
2652
|
} catch (n) {
|
|
2594
|
-
throw c && (
|
|
2595
|
-
e.element &&
|
|
2653
|
+
throw c && (St(e), wn(t.removed, (e) => {
|
|
2654
|
+
e.element && Tt(e.element);
|
|
2596
2655
|
})), n;
|
|
2597
2656
|
}
|
|
2598
|
-
if (c) return
|
|
2599
|
-
e.element &&
|
|
2600
|
-
}),
|
|
2601
|
-
if (
|
|
2602
|
-
if (
|
|
2657
|
+
if (c) return wn(t.removed, (e) => {
|
|
2658
|
+
e.element && Tt(e.element);
|
|
2659
|
+
}), ke && kt(e), e;
|
|
2660
|
+
if (Ie) {
|
|
2661
|
+
if (ke && kt(i), Le) for (s = oe.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
2603
2662
|
else s = i;
|
|
2604
|
-
return (
|
|
2663
|
+
return (ye.shadowroot || ye.shadowrootmode) && (s = O.call(r, s, !0)), s;
|
|
2605
2664
|
}
|
|
2606
|
-
let u =
|
|
2607
|
-
return
|
|
2665
|
+
let u = je ? i.outerHTML : i.innerHTML;
|
|
2666
|
+
return je && _e["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && Hn(_r, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), ke && (u = j(u)), S && Re ? D(u) : u;
|
|
2608
2667
|
}, t.setConfig = function() {
|
|
2609
|
-
|
|
2668
|
+
ht(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Me = !0, Ne = _e, Pe = ye;
|
|
2610
2669
|
}, t.clearConfig = function() {
|
|
2611
|
-
|
|
2670
|
+
ft = null, Me = !1, Ne = null, Pe = null, S = w, C = "";
|
|
2612
2671
|
}, t.isValidAttribute = function(e, t, n) {
|
|
2613
|
-
return
|
|
2672
|
+
return ft || ht({}), Rt(dt(e), dt(t), n);
|
|
2614
2673
|
}, t.addHook = function(e, t) {
|
|
2615
|
-
typeof t == "function" &&
|
|
2674
|
+
typeof t == "function" && Bn(ce, e) && Dn(ce[e], t);
|
|
2616
2675
|
}, t.removeHook = function(e, t) {
|
|
2617
|
-
if (
|
|
2676
|
+
if (Bn(ce, e)) {
|
|
2618
2677
|
if (t !== void 0) {
|
|
2619
|
-
let n =
|
|
2620
|
-
return n === -1 ? void 0 :
|
|
2678
|
+
let n = Tn(ce[e], t);
|
|
2679
|
+
return n === -1 ? void 0 : On(ce[e], n, 1)[0];
|
|
2621
2680
|
}
|
|
2622
|
-
return
|
|
2681
|
+
return En(ce[e]);
|
|
2623
2682
|
}
|
|
2624
2683
|
}, t.removeHooks = function(e) {
|
|
2625
|
-
|
|
2684
|
+
Bn(ce, e) && (ce[e] = []);
|
|
2626
2685
|
}, t.removeAllHooks = function() {
|
|
2627
|
-
ce =
|
|
2686
|
+
ce = Er();
|
|
2628
2687
|
}, t;
|
|
2629
2688
|
}
|
|
2630
|
-
var
|
|
2689
|
+
var kr = Or(), Ar = [
|
|
2631
2690
|
"area",
|
|
2632
2691
|
"base",
|
|
2633
2692
|
"basefont",
|
|
@@ -2648,54 +2707,54 @@ var Ar = kr(), jr = [
|
|
|
2648
2707
|
"source",
|
|
2649
2708
|
"track",
|
|
2650
2709
|
"wbr"
|
|
2651
|
-
],
|
|
2710
|
+
], jr = class {
|
|
2652
2711
|
constructor(e, t, n) {
|
|
2653
2712
|
this.normal = t, this.property = e, n && (this.space = n);
|
|
2654
2713
|
}
|
|
2655
2714
|
};
|
|
2656
|
-
|
|
2715
|
+
jr.prototype.normal = {}, jr.prototype.property = {}, jr.prototype.space = void 0;
|
|
2657
2716
|
//#endregion
|
|
2658
2717
|
//#region ../../node_modules/property-information/lib/util/merge.js
|
|
2659
|
-
function
|
|
2718
|
+
function Mr(e, t) {
|
|
2660
2719
|
let n = {}, r = {};
|
|
2661
2720
|
for (let t of e) Object.assign(n, t.property), Object.assign(r, t.normal);
|
|
2662
|
-
return new
|
|
2721
|
+
return new jr(n, r, t);
|
|
2663
2722
|
}
|
|
2664
2723
|
//#endregion
|
|
2665
2724
|
//#region ../../node_modules/property-information/lib/normalize.js
|
|
2666
|
-
function
|
|
2725
|
+
function Nr(e) {
|
|
2667
2726
|
return e.toLowerCase();
|
|
2668
2727
|
}
|
|
2669
2728
|
//#endregion
|
|
2670
2729
|
//#region ../../node_modules/property-information/lib/util/info.js
|
|
2671
|
-
var
|
|
2730
|
+
var Pr = class {
|
|
2672
2731
|
constructor(e, t) {
|
|
2673
2732
|
this.attribute = t, this.property = e;
|
|
2674
2733
|
}
|
|
2675
2734
|
};
|
|
2676
|
-
|
|
2735
|
+
Pr.prototype.attribute = "", Pr.prototype.booleanish = !1, Pr.prototype.boolean = !1, Pr.prototype.commaOrSpaceSeparated = !1, Pr.prototype.commaSeparated = !1, Pr.prototype.defined = !1, Pr.prototype.mustUseProperty = !1, Pr.prototype.number = !1, Pr.prototype.overloadedBoolean = !1, Pr.prototype.property = "", Pr.prototype.spaceSeparated = !1, Pr.prototype.space = void 0;
|
|
2677
2736
|
//#endregion
|
|
2678
2737
|
//#region ../../node_modules/property-information/lib/util/types.js
|
|
2679
|
-
var
|
|
2680
|
-
boolean: () =>
|
|
2738
|
+
var Fr = /* @__PURE__ */ re({
|
|
2739
|
+
boolean: () => Lr,
|
|
2681
2740
|
booleanish: () => Rr,
|
|
2682
2741
|
commaOrSpaceSeparated: () => Hr,
|
|
2683
2742
|
commaSeparated: () => Vr,
|
|
2684
2743
|
number: () => M,
|
|
2685
2744
|
overloadedBoolean: () => zr,
|
|
2686
2745
|
spaceSeparated: () => Br
|
|
2687
|
-
}),
|
|
2746
|
+
}), Ir = 0, Lr = Ur(), Rr = Ur(), zr = Ur(), M = Ur(), Br = Ur(), Vr = Ur(), Hr = Ur();
|
|
2688
2747
|
function Ur() {
|
|
2689
|
-
return 2 ** ++
|
|
2748
|
+
return 2 ** ++Ir;
|
|
2690
2749
|
}
|
|
2691
2750
|
//#endregion
|
|
2692
2751
|
//#region ../../node_modules/property-information/lib/util/defined-info.js
|
|
2693
|
-
var Wr = Object.keys(
|
|
2752
|
+
var Wr = Object.keys(Fr), Gr = class extends Pr {
|
|
2694
2753
|
constructor(e, t, n, r) {
|
|
2695
2754
|
let i = -1;
|
|
2696
2755
|
if (super(e, t), Kr(this, "space", r), typeof n == "number") for (; ++i < Wr.length;) {
|
|
2697
2756
|
let e = Wr[i];
|
|
2698
|
-
Kr(this, Wr[i], (n &
|
|
2757
|
+
Kr(this, Wr[i], (n & Fr[e]) === Fr[e]);
|
|
2699
2758
|
}
|
|
2700
2759
|
}
|
|
2701
2760
|
};
|
|
@@ -2709,9 +2768,9 @@ function qr(e) {
|
|
|
2709
2768
|
let t = {}, n = {};
|
|
2710
2769
|
for (let [r, i] of Object.entries(e.properties)) {
|
|
2711
2770
|
let a = new Gr(r, e.transform(e.attributes || {}, r), i, e.space);
|
|
2712
|
-
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[
|
|
2771
|
+
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[Nr(r)] = r, n[Nr(a.attribute)] = r;
|
|
2713
2772
|
}
|
|
2714
|
-
return new
|
|
2773
|
+
return new jr(t, n, e.space);
|
|
2715
2774
|
}
|
|
2716
2775
|
//#endregion
|
|
2717
2776
|
//#region ../../node_modules/property-information/lib/aria.js
|
|
@@ -2803,38 +2862,38 @@ var Zr = qr({
|
|
|
2803
2862
|
accessKey: Br,
|
|
2804
2863
|
action: null,
|
|
2805
2864
|
allow: null,
|
|
2806
|
-
allowFullScreen:
|
|
2807
|
-
allowPaymentRequest:
|
|
2808
|
-
allowUserMedia:
|
|
2865
|
+
allowFullScreen: Lr,
|
|
2866
|
+
allowPaymentRequest: Lr,
|
|
2867
|
+
allowUserMedia: Lr,
|
|
2809
2868
|
alt: null,
|
|
2810
2869
|
as: null,
|
|
2811
|
-
async:
|
|
2870
|
+
async: Lr,
|
|
2812
2871
|
autoCapitalize: null,
|
|
2813
2872
|
autoComplete: Br,
|
|
2814
|
-
autoFocus:
|
|
2815
|
-
autoPlay:
|
|
2873
|
+
autoFocus: Lr,
|
|
2874
|
+
autoPlay: Lr,
|
|
2816
2875
|
blocking: Br,
|
|
2817
2876
|
capture: null,
|
|
2818
2877
|
charSet: null,
|
|
2819
|
-
checked:
|
|
2878
|
+
checked: Lr,
|
|
2820
2879
|
cite: null,
|
|
2821
2880
|
className: Br,
|
|
2822
2881
|
cols: M,
|
|
2823
2882
|
colSpan: null,
|
|
2824
2883
|
content: null,
|
|
2825
2884
|
contentEditable: Rr,
|
|
2826
|
-
controls:
|
|
2885
|
+
controls: Lr,
|
|
2827
2886
|
controlsList: Br,
|
|
2828
2887
|
coords: M | Vr,
|
|
2829
2888
|
crossOrigin: null,
|
|
2830
2889
|
data: null,
|
|
2831
2890
|
dateTime: null,
|
|
2832
2891
|
decoding: null,
|
|
2833
|
-
default:
|
|
2834
|
-
defer:
|
|
2892
|
+
default: Lr,
|
|
2893
|
+
defer: Lr,
|
|
2835
2894
|
dir: null,
|
|
2836
2895
|
dirName: null,
|
|
2837
|
-
disabled:
|
|
2896
|
+
disabled: Lr,
|
|
2838
2897
|
download: zr,
|
|
2839
2898
|
draggable: Rr,
|
|
2840
2899
|
encType: null,
|
|
@@ -2844,7 +2903,7 @@ var Zr = qr({
|
|
|
2844
2903
|
formAction: null,
|
|
2845
2904
|
formEncType: null,
|
|
2846
2905
|
formMethod: null,
|
|
2847
|
-
formNoValidate:
|
|
2906
|
+
formNoValidate: Lr,
|
|
2848
2907
|
formTarget: null,
|
|
2849
2908
|
headers: Br,
|
|
2850
2909
|
height: M,
|
|
@@ -2857,15 +2916,15 @@ var Zr = qr({
|
|
|
2857
2916
|
id: null,
|
|
2858
2917
|
imageSizes: null,
|
|
2859
2918
|
imageSrcSet: null,
|
|
2860
|
-
inert:
|
|
2919
|
+
inert: Lr,
|
|
2861
2920
|
inputMode: null,
|
|
2862
2921
|
integrity: null,
|
|
2863
2922
|
is: null,
|
|
2864
|
-
isMap:
|
|
2923
|
+
isMap: Lr,
|
|
2865
2924
|
itemId: null,
|
|
2866
2925
|
itemProp: Br,
|
|
2867
2926
|
itemRef: Br,
|
|
2868
|
-
itemScope:
|
|
2927
|
+
itemScope: Lr,
|
|
2869
2928
|
itemType: Br,
|
|
2870
2929
|
kind: null,
|
|
2871
2930
|
label: null,
|
|
@@ -2873,7 +2932,7 @@ var Zr = qr({
|
|
|
2873
2932
|
language: null,
|
|
2874
2933
|
list: null,
|
|
2875
2934
|
loading: null,
|
|
2876
|
-
loop:
|
|
2935
|
+
loop: Lr,
|
|
2877
2936
|
low: M,
|
|
2878
2937
|
manifest: null,
|
|
2879
2938
|
max: null,
|
|
@@ -2882,12 +2941,12 @@ var Zr = qr({
|
|
|
2882
2941
|
method: null,
|
|
2883
2942
|
min: null,
|
|
2884
2943
|
minLength: M,
|
|
2885
|
-
multiple:
|
|
2886
|
-
muted:
|
|
2944
|
+
multiple: Lr,
|
|
2945
|
+
muted: Lr,
|
|
2887
2946
|
name: null,
|
|
2888
2947
|
nonce: null,
|
|
2889
|
-
noModule:
|
|
2890
|
-
noValidate:
|
|
2948
|
+
noModule: Lr,
|
|
2949
|
+
noValidate: Lr,
|
|
2891
2950
|
onAbort: null,
|
|
2892
2951
|
onAfterPrint: null,
|
|
2893
2952
|
onAuxClick: null,
|
|
@@ -2976,31 +3035,31 @@ var Zr = qr({
|
|
|
2976
3035
|
onVolumeChange: null,
|
|
2977
3036
|
onWaiting: null,
|
|
2978
3037
|
onWheel: null,
|
|
2979
|
-
open:
|
|
3038
|
+
open: Lr,
|
|
2980
3039
|
optimum: M,
|
|
2981
3040
|
pattern: null,
|
|
2982
3041
|
ping: Br,
|
|
2983
3042
|
placeholder: null,
|
|
2984
|
-
playsInline:
|
|
3043
|
+
playsInline: Lr,
|
|
2985
3044
|
popover: null,
|
|
2986
3045
|
popoverTarget: null,
|
|
2987
3046
|
popoverTargetAction: null,
|
|
2988
3047
|
poster: null,
|
|
2989
3048
|
preload: null,
|
|
2990
|
-
readOnly:
|
|
3049
|
+
readOnly: Lr,
|
|
2991
3050
|
referrerPolicy: null,
|
|
2992
3051
|
rel: Br,
|
|
2993
|
-
required:
|
|
2994
|
-
reversed:
|
|
3052
|
+
required: Lr,
|
|
3053
|
+
reversed: Lr,
|
|
2995
3054
|
rows: M,
|
|
2996
3055
|
rowSpan: M,
|
|
2997
3056
|
sandbox: Br,
|
|
2998
3057
|
scope: null,
|
|
2999
|
-
scoped:
|
|
3000
|
-
seamless:
|
|
3001
|
-
selected:
|
|
3002
|
-
shadowRootClonable:
|
|
3003
|
-
shadowRootDelegatesFocus:
|
|
3058
|
+
scoped: Lr,
|
|
3059
|
+
seamless: Lr,
|
|
3060
|
+
selected: Lr,
|
|
3061
|
+
shadowRootClonable: Lr,
|
|
3062
|
+
shadowRootDelegatesFocus: Lr,
|
|
3004
3063
|
shadowRootMode: null,
|
|
3005
3064
|
shape: null,
|
|
3006
3065
|
size: M,
|
|
@@ -3020,7 +3079,7 @@ var Zr = qr({
|
|
|
3020
3079
|
title: null,
|
|
3021
3080
|
translate: null,
|
|
3022
3081
|
type: null,
|
|
3023
|
-
typeMustMatch:
|
|
3082
|
+
typeMustMatch: Lr,
|
|
3024
3083
|
useMap: null,
|
|
3025
3084
|
value: Rr,
|
|
3026
3085
|
width: M,
|
|
@@ -3045,8 +3104,8 @@ var Zr = qr({
|
|
|
3045
3104
|
codeBase: null,
|
|
3046
3105
|
codeType: null,
|
|
3047
3106
|
color: null,
|
|
3048
|
-
compact:
|
|
3049
|
-
declare:
|
|
3107
|
+
compact: Lr,
|
|
3108
|
+
declare: Lr,
|
|
3050
3109
|
event: null,
|
|
3051
3110
|
face: null,
|
|
3052
3111
|
frame: null,
|
|
@@ -3058,10 +3117,10 @@ var Zr = qr({
|
|
|
3058
3117
|
lowSrc: null,
|
|
3059
3118
|
marginHeight: M,
|
|
3060
3119
|
marginWidth: M,
|
|
3061
|
-
noResize:
|
|
3062
|
-
noHref:
|
|
3063
|
-
noShade:
|
|
3064
|
-
noWrap:
|
|
3120
|
+
noResize: Lr,
|
|
3121
|
+
noHref: Lr,
|
|
3122
|
+
noShade: Lr,
|
|
3123
|
+
noWrap: Lr,
|
|
3065
3124
|
object: null,
|
|
3066
3125
|
profile: null,
|
|
3067
3126
|
prompt: null,
|
|
@@ -3082,8 +3141,8 @@ var Zr = qr({
|
|
|
3082
3141
|
allowTransparency: null,
|
|
3083
3142
|
autoCorrect: null,
|
|
3084
3143
|
autoSave: null,
|
|
3085
|
-
disablePictureInPicture:
|
|
3086
|
-
disableRemotePlayback:
|
|
3144
|
+
disablePictureInPicture: Lr,
|
|
3145
|
+
disableRemotePlayback: Lr,
|
|
3087
3146
|
prefix: null,
|
|
3088
3147
|
property: null,
|
|
3089
3148
|
results: M,
|
|
@@ -3317,7 +3376,7 @@ var Zr = qr({
|
|
|
3317
3376
|
dur: null,
|
|
3318
3377
|
divisor: M,
|
|
3319
3378
|
dominantBaseline: null,
|
|
3320
|
-
download:
|
|
3379
|
+
download: Lr,
|
|
3321
3380
|
dx: null,
|
|
3322
3381
|
dy: null,
|
|
3323
3382
|
edgeMode: null,
|
|
@@ -3699,7 +3758,7 @@ var Zr = qr({
|
|
|
3699
3758
|
xmlnsXLink: "xmlnsXlink"
|
|
3700
3759
|
}, ri = /[A-Z]/g, ii = /-[a-z]/g, ai = /^data[-\w.:]+$/i;
|
|
3701
3760
|
function oi(e, t) {
|
|
3702
|
-
let n =
|
|
3761
|
+
let n = Nr(t), r = t, i = Pr;
|
|
3703
3762
|
if (n in e.normal) return e.property[e.normal[n]];
|
|
3704
3763
|
if (n.length > 4 && n.slice(0, 4) === "data" && ai.test(t)) {
|
|
3705
3764
|
if (t.charAt(4) === "-") {
|
|
@@ -3724,13 +3783,13 @@ function ci(e) {
|
|
|
3724
3783
|
}
|
|
3725
3784
|
//#endregion
|
|
3726
3785
|
//#region ../../node_modules/property-information/index.js
|
|
3727
|
-
var li =
|
|
3786
|
+
var li = Mr([
|
|
3728
3787
|
Jr,
|
|
3729
3788
|
Zr,
|
|
3730
3789
|
$r,
|
|
3731
3790
|
ei,
|
|
3732
3791
|
ti
|
|
3733
|
-
], "html"), ui =
|
|
3792
|
+
], "html"), ui = Mr([
|
|
3734
3793
|
Jr,
|
|
3735
3794
|
Qr,
|
|
3736
3795
|
$r,
|
|
@@ -4366,7 +4425,7 @@ function Ia(e, t) {
|
|
|
4366
4425
|
tightSelfClosing: n.tightSelfClosing || !1,
|
|
4367
4426
|
collapseEmptyAttributes: n.collapseEmptyAttributes || !1,
|
|
4368
4427
|
allowDangerousHtml: n.allowDangerousHtml || !1,
|
|
4369
|
-
voids: n.voids ||
|
|
4428
|
+
voids: n.voids || Ar,
|
|
4370
4429
|
characterReferences: n.characterReferences || Pa,
|
|
4371
4430
|
closeSelfClosing: n.closeSelfClosing || !1,
|
|
4372
4431
|
closeEmptyElements: n.closeEmptyElements || !1
|
|
@@ -8412,60 +8471,60 @@ function Zd(e) {
|
|
|
8412
8471
|
"strong"
|
|
8413
8472
|
],
|
|
8414
8473
|
enter: {
|
|
8415
|
-
autolink: a(
|
|
8474
|
+
autolink: a(Te),
|
|
8416
8475
|
autolinkProtocol: T,
|
|
8417
8476
|
autolinkEmail: T,
|
|
8418
|
-
atxHeading: a(
|
|
8419
|
-
blockQuote: a(
|
|
8477
|
+
atxHeading: a(xe),
|
|
8478
|
+
blockQuote: a(ge),
|
|
8420
8479
|
characterEscape: T,
|
|
8421
8480
|
characterReference: T,
|
|
8422
|
-
codeFenced: a(
|
|
8481
|
+
codeFenced: a(_e),
|
|
8423
8482
|
codeFencedFenceInfo: o,
|
|
8424
8483
|
codeFencedFenceMeta: o,
|
|
8425
|
-
codeIndented: a(
|
|
8426
|
-
codeText: a(
|
|
8484
|
+
codeIndented: a(_e, o),
|
|
8485
|
+
codeText: a(ve, o),
|
|
8427
8486
|
codeTextData: T,
|
|
8428
8487
|
data: T,
|
|
8429
8488
|
codeFlowValue: T,
|
|
8430
|
-
definition: a(
|
|
8489
|
+
definition: a(ye),
|
|
8431
8490
|
definitionDestinationString: o,
|
|
8432
8491
|
definitionLabelString: o,
|
|
8433
8492
|
definitionTitleString: o,
|
|
8434
|
-
emphasis: a(
|
|
8435
|
-
hardBreakEscape: a(
|
|
8436
|
-
hardBreakTrailing: a(
|
|
8437
|
-
htmlFlow: a(
|
|
8493
|
+
emphasis: a(be),
|
|
8494
|
+
hardBreakEscape: a(Se),
|
|
8495
|
+
hardBreakTrailing: a(Se),
|
|
8496
|
+
htmlFlow: a(Ce, o),
|
|
8438
8497
|
htmlFlowData: T,
|
|
8439
|
-
htmlText: a(
|
|
8498
|
+
htmlText: a(Ce, o),
|
|
8440
8499
|
htmlTextData: T,
|
|
8441
|
-
image: a(
|
|
8500
|
+
image: a(we),
|
|
8442
8501
|
label: o,
|
|
8443
|
-
link: a(
|
|
8444
|
-
listItem: a(
|
|
8502
|
+
link: a(Te),
|
|
8503
|
+
listItem: a(De),
|
|
8445
8504
|
listItemValue: f,
|
|
8446
|
-
listOrdered: a(
|
|
8447
|
-
listUnordered: a(
|
|
8448
|
-
paragraph: a(
|
|
8505
|
+
listOrdered: a(Ee, d),
|
|
8506
|
+
listUnordered: a(Ee),
|
|
8507
|
+
paragraph: a(Oe),
|
|
8449
8508
|
reference: ue,
|
|
8450
8509
|
referenceString: o,
|
|
8451
8510
|
resourceDestinationString: o,
|
|
8452
8511
|
resourceTitleString: o,
|
|
8453
|
-
setextHeading: a(
|
|
8454
|
-
strong: a(
|
|
8455
|
-
thematicBreak: a(
|
|
8512
|
+
setextHeading: a(xe),
|
|
8513
|
+
strong: a(ke),
|
|
8514
|
+
thematicBreak: a(je)
|
|
8456
8515
|
},
|
|
8457
8516
|
exit: {
|
|
8458
8517
|
atxHeading: c(),
|
|
8459
8518
|
atxHeadingSequence: x,
|
|
8460
8519
|
autolink: c(),
|
|
8461
|
-
autolinkEmail:
|
|
8462
|
-
autolinkProtocol:
|
|
8520
|
+
autolinkEmail: he,
|
|
8521
|
+
autolinkProtocol: me,
|
|
8463
8522
|
blockQuote: c(),
|
|
8464
8523
|
characterEscapeValue: E,
|
|
8465
8524
|
characterReferenceMarkerHexadecimal: fe,
|
|
8466
8525
|
characterReferenceMarkerNumeric: fe,
|
|
8467
8526
|
characterReferenceValue: pe,
|
|
8468
|
-
characterReference:
|
|
8527
|
+
characterReference: k,
|
|
8469
8528
|
codeFenced: c(g),
|
|
8470
8529
|
codeFencedFence: h,
|
|
8471
8530
|
codeFencedFenceInfo: p,
|
|
@@ -8691,7 +8750,7 @@ function Zd(e) {
|
|
|
8691
8750
|
}
|
|
8692
8751
|
function T(e) {
|
|
8693
8752
|
let t = this.stack[this.stack.length - 1].children, n = t[t.length - 1];
|
|
8694
|
-
(!n || n.type !== "text") && (n =
|
|
8753
|
+
(!n || n.type !== "text") && (n = Ae(), n.position = {
|
|
8695
8754
|
start: Qd(e.start),
|
|
8696
8755
|
end: void 0
|
|
8697
8756
|
}, t.push(n)), this.stack.push(n);
|
|
@@ -8775,27 +8834,27 @@ function Zd(e) {
|
|
|
8775
8834
|
let i = this.stack[this.stack.length - 1];
|
|
8776
8835
|
i.value += r;
|
|
8777
8836
|
}
|
|
8778
|
-
function
|
|
8837
|
+
function k(e) {
|
|
8779
8838
|
let t = this.stack.pop();
|
|
8780
8839
|
t.position.end = Qd(e.end);
|
|
8781
8840
|
}
|
|
8782
|
-
function
|
|
8841
|
+
function me(e) {
|
|
8783
8842
|
E.call(this, e);
|
|
8784
8843
|
let t = this.stack[this.stack.length - 1];
|
|
8785
8844
|
t.url = this.sliceSerialize(e);
|
|
8786
8845
|
}
|
|
8787
|
-
function
|
|
8846
|
+
function he(e) {
|
|
8788
8847
|
E.call(this, e);
|
|
8789
8848
|
let t = this.stack[this.stack.length - 1];
|
|
8790
8849
|
t.url = "mailto:" + this.sliceSerialize(e);
|
|
8791
8850
|
}
|
|
8792
|
-
function
|
|
8851
|
+
function ge() {
|
|
8793
8852
|
return {
|
|
8794
8853
|
type: "blockquote",
|
|
8795
8854
|
children: []
|
|
8796
8855
|
};
|
|
8797
8856
|
}
|
|
8798
|
-
function
|
|
8857
|
+
function _e() {
|
|
8799
8858
|
return {
|
|
8800
8859
|
type: "code",
|
|
8801
8860
|
lang: null,
|
|
@@ -8803,13 +8862,13 @@ function Zd(e) {
|
|
|
8803
8862
|
value: ""
|
|
8804
8863
|
};
|
|
8805
8864
|
}
|
|
8806
|
-
function
|
|
8865
|
+
function ve() {
|
|
8807
8866
|
return {
|
|
8808
8867
|
type: "inlineCode",
|
|
8809
8868
|
value: ""
|
|
8810
8869
|
};
|
|
8811
8870
|
}
|
|
8812
|
-
function
|
|
8871
|
+
function ye() {
|
|
8813
8872
|
return {
|
|
8814
8873
|
type: "definition",
|
|
8815
8874
|
identifier: "",
|
|
@@ -8818,29 +8877,29 @@ function Zd(e) {
|
|
|
8818
8877
|
url: ""
|
|
8819
8878
|
};
|
|
8820
8879
|
}
|
|
8821
|
-
function
|
|
8880
|
+
function be() {
|
|
8822
8881
|
return {
|
|
8823
8882
|
type: "emphasis",
|
|
8824
8883
|
children: []
|
|
8825
8884
|
};
|
|
8826
8885
|
}
|
|
8827
|
-
function
|
|
8886
|
+
function xe() {
|
|
8828
8887
|
return {
|
|
8829
8888
|
type: "heading",
|
|
8830
8889
|
depth: 0,
|
|
8831
8890
|
children: []
|
|
8832
8891
|
};
|
|
8833
8892
|
}
|
|
8834
|
-
function
|
|
8893
|
+
function Se() {
|
|
8835
8894
|
return { type: "break" };
|
|
8836
8895
|
}
|
|
8837
|
-
function
|
|
8896
|
+
function Ce() {
|
|
8838
8897
|
return {
|
|
8839
8898
|
type: "html",
|
|
8840
8899
|
value: ""
|
|
8841
8900
|
};
|
|
8842
8901
|
}
|
|
8843
|
-
function
|
|
8902
|
+
function we() {
|
|
8844
8903
|
return {
|
|
8845
8904
|
type: "image",
|
|
8846
8905
|
title: null,
|
|
@@ -8848,7 +8907,7 @@ function Zd(e) {
|
|
|
8848
8907
|
alt: null
|
|
8849
8908
|
};
|
|
8850
8909
|
}
|
|
8851
|
-
function
|
|
8910
|
+
function Te() {
|
|
8852
8911
|
return {
|
|
8853
8912
|
type: "link",
|
|
8854
8913
|
title: null,
|
|
@@ -8856,7 +8915,7 @@ function Zd(e) {
|
|
|
8856
8915
|
children: []
|
|
8857
8916
|
};
|
|
8858
8917
|
}
|
|
8859
|
-
function
|
|
8918
|
+
function Ee(e) {
|
|
8860
8919
|
return {
|
|
8861
8920
|
type: "list",
|
|
8862
8921
|
ordered: e.type === "listOrdered",
|
|
@@ -8865,7 +8924,7 @@ function Zd(e) {
|
|
|
8865
8924
|
children: []
|
|
8866
8925
|
};
|
|
8867
8926
|
}
|
|
8868
|
-
function
|
|
8927
|
+
function De(e) {
|
|
8869
8928
|
return {
|
|
8870
8929
|
type: "listItem",
|
|
8871
8930
|
spread: e._spread,
|
|
@@ -8873,25 +8932,25 @@ function Zd(e) {
|
|
|
8873
8932
|
children: []
|
|
8874
8933
|
};
|
|
8875
8934
|
}
|
|
8876
|
-
function
|
|
8935
|
+
function Oe() {
|
|
8877
8936
|
return {
|
|
8878
8937
|
type: "paragraph",
|
|
8879
8938
|
children: []
|
|
8880
8939
|
};
|
|
8881
8940
|
}
|
|
8882
|
-
function
|
|
8941
|
+
function ke() {
|
|
8883
8942
|
return {
|
|
8884
8943
|
type: "strong",
|
|
8885
8944
|
children: []
|
|
8886
8945
|
};
|
|
8887
8946
|
}
|
|
8888
|
-
function
|
|
8947
|
+
function Ae() {
|
|
8889
8948
|
return {
|
|
8890
8949
|
type: "text",
|
|
8891
8950
|
value: ""
|
|
8892
8951
|
};
|
|
8893
8952
|
}
|
|
8894
|
-
function
|
|
8953
|
+
function je() {
|
|
8895
8954
|
return { type: "thematicBreak" };
|
|
8896
8955
|
}
|
|
8897
8956
|
}
|
|
@@ -10311,7 +10370,7 @@ var Jp = (e) => {
|
|
|
10311
10370
|
if (typeof navigator > "u" || !navigator.clipboard?.write || typeof ClipboardItem > "u") return Yp(e);
|
|
10312
10371
|
let t;
|
|
10313
10372
|
try {
|
|
10314
|
-
t =
|
|
10373
|
+
t = kr.sanitize(Rp().use(nf).use(pd).use(lp).use(za).processSync(e).toString());
|
|
10315
10374
|
} catch {
|
|
10316
10375
|
return Yp(e);
|
|
10317
10376
|
}
|
|
@@ -10512,26 +10571,26 @@ var Jp = (e) => {
|
|
|
10512
10571
|
badge: "_badge_1ko75_1",
|
|
10513
10572
|
initials: "_initials_1ko75_5"
|
|
10514
10573
|
}, Fm = ({ name: e, size: t, className: n, textClassName: r = "dial-h3-text" }) => {
|
|
10515
|
-
let { background: i, foreground: a } = jm(e), o = Nm(e), s = Math.round(t * .4), c =
|
|
10574
|
+
let { background: i, foreground: a } = jm(e), o = Nm(e), s = Math.round(t * .4), c = Jt({
|
|
10516
10575
|
"--ia-bg": i,
|
|
10517
10576
|
"--ia-fg": a
|
|
10518
10577
|
});
|
|
10519
10578
|
return /* @__PURE__ */ S("div", {
|
|
10520
10579
|
"aria-hidden": "true",
|
|
10521
|
-
className:
|
|
10580
|
+
className: qt("flex select-none items-center justify-center rounded-md", Pm.badge, n),
|
|
10522
10581
|
style: {
|
|
10523
10582
|
...c,
|
|
10524
10583
|
width: t,
|
|
10525
10584
|
height: t
|
|
10526
10585
|
},
|
|
10527
10586
|
children: /* @__PURE__ */ S("h3", {
|
|
10528
|
-
className:
|
|
10587
|
+
className: qt(Pm.initials, r),
|
|
10529
10588
|
style: { fontSize: s },
|
|
10530
10589
|
children: o
|
|
10531
10590
|
})
|
|
10532
10591
|
});
|
|
10533
10592
|
}, Im = { agentIconBadge: "_agentIconBadge_1ger8_1" }, Lm = ({ src: e, size: t, initialsName: n, fallback: r, labels: a, styles: o }) => {
|
|
10534
|
-
let { tooltip: s } = a ?? {}, { badgeClassName: c, colors: l } = o ?? {}, u =
|
|
10593
|
+
let { tooltip: s } = a ?? {}, { badgeClassName: c, colors: l } = o ?? {}, u = Jt({ "--di-icon-bg": l?.background }), [d, f] = b(e), [p, m] = b(), g = y(null);
|
|
10535
10594
|
h(() => {
|
|
10536
10595
|
if (e === d) return;
|
|
10537
10596
|
if (e == null) {
|
|
@@ -10562,7 +10621,7 @@ var Jp = (e) => {
|
|
|
10562
10621
|
height: t,
|
|
10563
10622
|
...u
|
|
10564
10623
|
},
|
|
10565
|
-
className:
|
|
10624
|
+
className: qt(Im.agentIconBadge, "shrink-0 overflow-hidden rounded-md", c),
|
|
10566
10625
|
children: !d || _ ? /* @__PURE__ */ S("div", {
|
|
10567
10626
|
className: "flex size-full items-center justify-center",
|
|
10568
10627
|
children: r ?? v
|
|
@@ -10672,7 +10731,7 @@ var Jp = (e) => {
|
|
|
10672
10731
|
icon: "_icon_d05h7_1",
|
|
10673
10732
|
label: "_label_d05h7_5"
|
|
10674
10733
|
}, Km = p(({ icon: e, label: t, colors: n }) => /* @__PURE__ */ S("div", {
|
|
10675
|
-
style:
|
|
10734
|
+
style: Jt({
|
|
10676
10735
|
"--pes-icon-color": n?.icon,
|
|
10677
10736
|
"--pes-label-color": n?.label
|
|
10678
10737
|
}),
|
|
@@ -10688,23 +10747,23 @@ var Jp = (e) => {
|
|
|
10688
10747
|
title: "_title_11w3i_1",
|
|
10689
10748
|
count: "_count_11w3i_5"
|
|
10690
10749
|
}, Jm = ({ title: e, postfix: t, titleClassName: r = "dial-h3-text", postfixClassName: i = "dial-tiny-text", className: a, query: o, trailing: c, colors: l, shouldTruncateTitle: u = !0 }) => {
|
|
10691
|
-
let d =
|
|
10750
|
+
let d = Jt({
|
|
10692
10751
|
"--ih-title-color": l?.title,
|
|
10693
10752
|
"--ih-count-color": l?.count
|
|
10694
10753
|
});
|
|
10695
10754
|
return /* @__PURE__ */ C("div", {
|
|
10696
|
-
className:
|
|
10755
|
+
className: qt("flex items-center gap-2", a),
|
|
10697
10756
|
style: d,
|
|
10698
10757
|
children: [
|
|
10699
10758
|
/* @__PURE__ */ S("h3", {
|
|
10700
|
-
className:
|
|
10759
|
+
className: qt(u ? "min-w-0 shrink" : "shrink-0 whitespace-nowrap", r, qm.title),
|
|
10701
10760
|
children: o ? /* @__PURE__ */ S(s, {
|
|
10702
10761
|
text: e,
|
|
10703
10762
|
query: o
|
|
10704
10763
|
}) : u ? /* @__PURE__ */ S(n, { text: e }) : e
|
|
10705
10764
|
}),
|
|
10706
10765
|
t != null && /* @__PURE__ */ S(n, {
|
|
10707
|
-
className:
|
|
10766
|
+
className: qt("max-w-[30%] shrink-0", i, qm.count),
|
|
10708
10767
|
text: t
|
|
10709
10768
|
}),
|
|
10710
10769
|
c != null && /* @__PURE__ */ S("div", {
|
|
@@ -10720,7 +10779,7 @@ var Jp = (e) => {
|
|
|
10720
10779
|
}), Xm = ({ label: e, className: t, type: n }) => {
|
|
10721
10780
|
let r = vm[n], i = _m[n];
|
|
10722
10781
|
return /* @__PURE__ */ S("div", {
|
|
10723
|
-
className:
|
|
10782
|
+
className: qt("h-[24px] gap-1 rounded-2xl border-none px-2", "flex items-center justify-center", t ?? "dial-caption-lead-semi-text"),
|
|
10724
10783
|
style: {
|
|
10725
10784
|
backgroundColor: r,
|
|
10726
10785
|
color: i
|
|
@@ -10735,7 +10794,7 @@ var Jp = (e) => {
|
|
|
10735
10794
|
initialsName: e.name,
|
|
10736
10795
|
styles: { badgeClassName: a }
|
|
10737
10796
|
}), /* @__PURE__ */ C("div", {
|
|
10738
|
-
className:
|
|
10797
|
+
className: qt("flex min-w-0 flex-1 flex-col gap-1", d != null && "self-stretch"),
|
|
10739
10798
|
children: [
|
|
10740
10799
|
/* @__PURE__ */ C("div", {
|
|
10741
10800
|
className: "relative flex flex-row items-center justify-between",
|
|
@@ -10768,7 +10827,7 @@ var Jp = (e) => {
|
|
|
10768
10827
|
row: "_row_sywnj_1",
|
|
10769
10828
|
versionTag: "_versionTag_sywnj_7"
|
|
10770
10829
|
}, $m = ({ item: e, children: t, versionLabel: n = "Version {version} · current", hasVersionTag: r = !0, iconSize: i = 40, className: a, colors: o }) => {
|
|
10771
|
-
let s =
|
|
10830
|
+
let s = Jt({
|
|
10772
10831
|
"--rs-border": o?.border,
|
|
10773
10832
|
"--rs-bg": o?.background,
|
|
10774
10833
|
"--rs-version-tag-border": o?.versionTagBorder,
|
|
@@ -10784,11 +10843,11 @@ var Jp = (e) => {
|
|
|
10784
10843
|
})
|
|
10785
10844
|
}), r && e.version && /* @__PURE__ */ S(l, {
|
|
10786
10845
|
label: n.replace("{version}", e.version),
|
|
10787
|
-
className:
|
|
10846
|
+
className: qt("shrink-0 whitespace-nowrap", Qm.versionTag)
|
|
10788
10847
|
})] });
|
|
10789
10848
|
return /* @__PURE__ */ S("div", {
|
|
10790
10849
|
style: s,
|
|
10791
|
-
className:
|
|
10850
|
+
className: qt("flex items-center justify-between gap-3 rounded-xl border p-3", Qm.row, a),
|
|
10792
10851
|
children: t ?? c
|
|
10793
10852
|
});
|
|
10794
10853
|
}, eh = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, th = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, nh = {};
|
|
@@ -11404,7 +11463,7 @@ function Xh(e, t) {
|
|
|
11404
11463
|
function Zh(e, t, n) {
|
|
11405
11464
|
if (typeof n == "string") {
|
|
11406
11465
|
if (e.number && n && !Number.isNaN(Number(n))) return Number(n);
|
|
11407
|
-
if ((e.boolean || e.overloadedBoolean) && (n === "" ||
|
|
11466
|
+
if ((e.boolean || e.overloadedBoolean) && (n === "" || Nr(n) === Nr(t))) return !0;
|
|
11408
11467
|
}
|
|
11409
11468
|
return n;
|
|
11410
11469
|
}
|
|
@@ -29917,54 +29976,54 @@ var Mx = function(e, t) {
|
|
|
29917
29976
|
if (!(r >= o)) {
|
|
29918
29977
|
var pe = void 0;
|
|
29919
29978
|
(r > 0 || e.hskipBeforeAndAfter) && (pe = O?.pregap ?? d, pe !== 0 && (te = J(["arraycolsep"], []), te.style.width = L(pe), D.push(te)));
|
|
29920
|
-
var
|
|
29979
|
+
var k = [];
|
|
29921
29980
|
for (n = 0; n < i; ++n) {
|
|
29922
|
-
var
|
|
29923
|
-
if (
|
|
29924
|
-
var
|
|
29925
|
-
|
|
29981
|
+
var me = s[n], he = me.cells[r];
|
|
29982
|
+
if (he) {
|
|
29983
|
+
var ge = me.pos - E;
|
|
29984
|
+
he.depth = me.depth, he.height = me.height, k.push({
|
|
29926
29985
|
type: "elem",
|
|
29927
|
-
elem:
|
|
29928
|
-
shift:
|
|
29986
|
+
elem: he,
|
|
29987
|
+
shift: ge
|
|
29929
29988
|
});
|
|
29930
29989
|
}
|
|
29931
29990
|
}
|
|
29932
|
-
var
|
|
29991
|
+
var _e = uy({
|
|
29933
29992
|
positionType: "individualShift",
|
|
29934
|
-
children:
|
|
29935
|
-
}),
|
|
29936
|
-
D.push(
|
|
29993
|
+
children: k
|
|
29994
|
+
}), ve = J(["col-align-" + (O?.align || "c")], [_e]);
|
|
29995
|
+
D.push(ve), (r < o - 1 || e.hskipBeforeAndAfter) && (pe = O?.postgap ?? d, pe !== 0 && (te = J(["arraycolsep"], []), te.style.width = L(pe), D.push(te)));
|
|
29937
29996
|
}
|
|
29938
29997
|
}
|
|
29939
|
-
var
|
|
29998
|
+
var ye = J(["mtable"], D);
|
|
29940
29999
|
if (c.length > 0) {
|
|
29941
|
-
for (var
|
|
30000
|
+
for (var be = ay("hline", t, l), xe = ay("hdashline", t, l), Se = [{
|
|
29942
30001
|
type: "elem",
|
|
29943
|
-
elem:
|
|
30002
|
+
elem: ye,
|
|
29944
30003
|
shift: 0
|
|
29945
30004
|
}]; c.length > 0;) {
|
|
29946
|
-
var
|
|
29947
|
-
|
|
29948
|
-
type: "elem",
|
|
29949
|
-
elem: Se,
|
|
29950
|
-
shift: Te
|
|
29951
|
-
}) : Ce.push({
|
|
30005
|
+
var Ce = c.pop(), we = Ce.pos - E;
|
|
30006
|
+
Ce.isDashed ? Se.push({
|
|
29952
30007
|
type: "elem",
|
|
29953
30008
|
elem: xe,
|
|
29954
|
-
shift:
|
|
30009
|
+
shift: we
|
|
30010
|
+
}) : Se.push({
|
|
30011
|
+
type: "elem",
|
|
30012
|
+
elem: be,
|
|
30013
|
+
shift: we
|
|
29955
30014
|
});
|
|
29956
30015
|
}
|
|
29957
|
-
|
|
30016
|
+
ye = uy({
|
|
29958
30017
|
positionType: "individualShift",
|
|
29959
|
-
children:
|
|
30018
|
+
children: Se
|
|
29960
30019
|
});
|
|
29961
30020
|
}
|
|
29962
|
-
if (re.length === 0) return J(["mord"], [
|
|
29963
|
-
var
|
|
30021
|
+
if (re.length === 0) return J(["mord"], [ye], t);
|
|
30022
|
+
var Te = J(["tag"], [uy({
|
|
29964
30023
|
positionType: "individualShift",
|
|
29965
30024
|
children: re
|
|
29966
30025
|
})], t);
|
|
29967
|
-
return sy([
|
|
30026
|
+
return sy([ye, Te]);
|
|
29968
30027
|
}, Nx = {
|
|
29969
30028
|
c: "center ",
|
|
29970
30029
|
l: "left ",
|
|
@@ -34667,9 +34726,9 @@ function Sw(e, t) {
|
|
|
34667
34726
|
defaultCodeValue: fe
|
|
34668
34727
|
});
|
|
34669
34728
|
pe.language === null && (pe.value = fe);
|
|
34670
|
-
var
|
|
34729
|
+
var k = y + (oe.match(/\n/g)?.length ?? 0), me = vw(pe, C, ee, h, _, y, k, S, T);
|
|
34671
34730
|
return /*#__PURE__*/ u.createElement(ne, de, /*#__PURE__*/ u.createElement(ie, d, !_ && ce, D({
|
|
34672
|
-
rows:
|
|
34731
|
+
rows: me,
|
|
34673
34732
|
stylesheet: o,
|
|
34674
34733
|
useInlineStyles: p
|
|
34675
34734
|
})));
|
|
@@ -50408,10 +50467,10 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50408
50467
|
}, IA = {
|
|
50409
50468
|
dark: FA,
|
|
50410
50469
|
light: FA
|
|
50411
|
-
}, LA = p(({ language: t, value: n, isStreaming: r, theme: i =
|
|
50412
|
-
let { isCopied: v, copy: y } = kA(n), b = i ===
|
|
50470
|
+
}, LA = p(({ language: t, value: n, isStreaming: r, theme: i = he.Dark, copyLabel: s = "Copy code", copiedLabel: c = "Copied!", downloadLabel: l = "Download code", hideDownload: u = !1, containerClassName: d, headerClassName: f, codeClassName: p = "dial-code-text", languageLabelClassName: m = "dial-tiny-lead-semi-text", title: h, titleSlot: g, colors: _ }) => {
|
|
50471
|
+
let { isCopied: v, copy: y } = kA(n), b = i === he.Light;
|
|
50413
50472
|
return /* @__PURE__ */ C("div", {
|
|
50414
|
-
style:
|
|
50473
|
+
style: Jt({
|
|
50415
50474
|
"--cm-code-block-bg": _?.background,
|
|
50416
50475
|
"--cm-code-block-border": _?.border,
|
|
50417
50476
|
"--cm-code-block-header-bg": _?.headerBackground,
|
|
@@ -50419,11 +50478,11 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50419
50478
|
"--cm-code-block-copied": _?.copied,
|
|
50420
50479
|
"--cm-code-block-scrollbar": _?.scrollbar
|
|
50421
50480
|
}),
|
|
50422
|
-
className:
|
|
50481
|
+
className: qt("my-4 max-w-full overflow-hidden rounded-xl border", AA.container, b && AA.containerLight, d),
|
|
50423
50482
|
children: [/* @__PURE__ */ C("div", {
|
|
50424
|
-
className:
|
|
50483
|
+
className: qt("flex min-h-10 items-center justify-between border-b px-4", g == null ? "py-2" : "py-0", AA.header, f),
|
|
50425
50484
|
children: [g ?? /* @__PURE__ */ S("span", {
|
|
50426
|
-
className:
|
|
50485
|
+
className: qt(AA.languageLabel, m),
|
|
50427
50486
|
children: h ?? t
|
|
50428
50487
|
}), !r && /* @__PURE__ */ C("div", {
|
|
50429
50488
|
className: "flex items-center gap-1",
|
|
@@ -50449,7 +50508,7 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50449
50508
|
})]
|
|
50450
50509
|
})]
|
|
50451
50510
|
}), /* @__PURE__ */ S("div", {
|
|
50452
|
-
className:
|
|
50511
|
+
className: qt(AA.scrollContainer, "max-h-[60vh] overflow-auto"),
|
|
50453
50512
|
dir: "ltr",
|
|
50454
50513
|
children: t ? /* @__PURE__ */ S(DA, {
|
|
50455
50514
|
language: t,
|
|
@@ -50468,7 +50527,7 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50468
50527
|
}) : /* @__PURE__ */ S("pre", {
|
|
50469
50528
|
className: "p-4",
|
|
50470
50529
|
children: /* @__PURE__ */ S("code", {
|
|
50471
|
-
className:
|
|
50530
|
+
className: qt("whitespace-pre", p),
|
|
50472
50531
|
children: n
|
|
50473
50532
|
})
|
|
50474
50533
|
})
|
|
@@ -50514,7 +50573,7 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50514
50573
|
tableScrollFadeStart: "_tableScrollFadeStart_1c7sz_54",
|
|
50515
50574
|
tableScrollFadeBoth: "_tableScrollFadeBoth_1c7sz_62"
|
|
50516
50575
|
}, HA = p(({ children: e, classNames: t, colors: n, scrollRegionAriaLabel: r = "Scrollable table" }) => {
|
|
50517
|
-
let { scrollContainerRef: i, tableRef: a, hasContentBeyondStart: o, hasContentBeyondEnd: s, handleScroll: c } = BA(), l =
|
|
50576
|
+
let { scrollContainerRef: i, tableRef: a, hasContentBeyondStart: o, hasContentBeyondEnd: s, handleScroll: c } = BA(), l = Jt({
|
|
50518
50577
|
"--cm-markdown-border": n?.border,
|
|
50519
50578
|
"--cm-table-scrollbar": n?.scrollbar,
|
|
50520
50579
|
"--cm-table-fade": n?.fade,
|
|
@@ -50524,10 +50583,10 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50524
50583
|
}), u = o || s;
|
|
50525
50584
|
return /* @__PURE__ */ S("div", {
|
|
50526
50585
|
style: l,
|
|
50527
|
-
className:
|
|
50586
|
+
className: qt("relative w-full min-w-0 max-w-full overflow-hidden rounded-xl border", VA.tableContainer, VA.tableContainerLight, t.tableWrapper),
|
|
50528
50587
|
children: /* @__PURE__ */ S("div", {
|
|
50529
50588
|
ref: i,
|
|
50530
|
-
className:
|
|
50589
|
+
className: qt("w-full min-w-0 max-w-full overflow-x-auto", VA.scrollContainer, {
|
|
50531
50590
|
[VA.tableScrollFadeBoth]: o && s,
|
|
50532
50591
|
[VA.tableScrollFadeStart]: o && !s,
|
|
50533
50592
|
[VA.tableScrollFadeEnd]: !o && s
|
|
@@ -50538,7 +50597,7 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50538
50597
|
tabIndex: u ? 0 : void 0,
|
|
50539
50598
|
children: /* @__PURE__ */ S("table", {
|
|
50540
50599
|
ref: a,
|
|
50541
|
-
className:
|
|
50600
|
+
className: qt("w-max min-w-full border-collapse", t.tableFont ?? "dial-small-text"),
|
|
50542
50601
|
children: e
|
|
50543
50602
|
})
|
|
50544
50603
|
})
|
|
@@ -50582,19 +50641,19 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50582
50641
|
children: t
|
|
50583
50642
|
}),
|
|
50584
50643
|
h6: ({ children: t }) => /* @__PURE__ */ S("h6", {
|
|
50585
|
-
className:
|
|
50644
|
+
className: qt(RA.h6, e.h6),
|
|
50586
50645
|
children: t
|
|
50587
50646
|
}),
|
|
50588
50647
|
p: ({ children: t }) => /* @__PURE__ */ S("p", {
|
|
50589
|
-
className:
|
|
50648
|
+
className: qt("break-words", e.p),
|
|
50590
50649
|
children: t
|
|
50591
50650
|
}),
|
|
50592
50651
|
ul: ({ children: t }) => /* @__PURE__ */ S("ul", {
|
|
50593
|
-
className:
|
|
50652
|
+
className: qt("list-disc ps-5", e.ul),
|
|
50594
50653
|
children: t
|
|
50595
50654
|
}),
|
|
50596
50655
|
ol: ({ children: t }) => /* @__PURE__ */ S("ol", {
|
|
50597
|
-
className:
|
|
50656
|
+
className: qt("list-decimal ps-5", e.ol),
|
|
50598
50657
|
children: t
|
|
50599
50658
|
}),
|
|
50600
50659
|
strong: ({ children: t }) => /* @__PURE__ */ S("strong", {
|
|
@@ -50619,24 +50678,24 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50619
50678
|
headerClassName: e.codeBlockHeader,
|
|
50620
50679
|
codeClassName: e.codeFont
|
|
50621
50680
|
}) : /* @__PURE__ */ S("code", {
|
|
50622
|
-
className:
|
|
50681
|
+
className: qt("rounded px-1 py-0.5", RA.codeInline, e.codeInlineFont ?? "dial-code-text", e.codeInline),
|
|
50623
50682
|
children: a
|
|
50624
50683
|
});
|
|
50625
50684
|
},
|
|
50626
50685
|
blockquote: ({ children: t }) => /* @__PURE__ */ S("blockquote", {
|
|
50627
|
-
className:
|
|
50686
|
+
className: qt("border-s-2 py-1 ps-4", RA.blockquote, e.blockquote),
|
|
50628
50687
|
children: t
|
|
50629
50688
|
}),
|
|
50630
50689
|
a: ({ href: t, children: n }) => /* @__PURE__ */ S("a", {
|
|
50631
50690
|
href: t,
|
|
50632
50691
|
target: "_blank",
|
|
50633
50692
|
rel: "noopener noreferrer",
|
|
50634
|
-
className:
|
|
50693
|
+
className: qt("decoration-current/60 break-words underline underline-offset-2 hover:decoration-current focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2", RA.link, e.link),
|
|
50635
50694
|
children: n
|
|
50636
50695
|
}),
|
|
50637
|
-
hr: () => /* @__PURE__ */ S("hr", { className:
|
|
50696
|
+
hr: () => /* @__PURE__ */ S("hr", { className: qt("my-5 border-t", RA.secondaryBorder, e.hr) }),
|
|
50638
50697
|
del: ({ children: t }) => /* @__PURE__ */ S("del", {
|
|
50639
|
-
className:
|
|
50698
|
+
className: qt("opacity-75", e.del),
|
|
50640
50699
|
children: t
|
|
50641
50700
|
}),
|
|
50642
50701
|
input: ({ type: e, checked: t }) => e === "checkbox" ? /* @__PURE__ */ S(UA, { checked: t ?? !1 }) : null,
|
|
@@ -50648,21 +50707,21 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50648
50707
|
tr: ({ children: e, node: t }) => {
|
|
50649
50708
|
let n = t?.children.filter((e) => e.type === "element") ?? [], r = n.some((e) => e.tagName === "th"), i = n.filter((e) => YA(e).trim().length > 0).length, a = !r && n.length > 1 && i === 1;
|
|
50650
50709
|
return /* @__PURE__ */ S("tr", {
|
|
50651
|
-
className:
|
|
50710
|
+
className: qt(VA.row, a && VA.sectionRow),
|
|
50652
50711
|
children: e
|
|
50653
50712
|
});
|
|
50654
50713
|
},
|
|
50655
50714
|
th: ({ children: t }) => /* @__PURE__ */ S("th", {
|
|
50656
50715
|
scope: "col",
|
|
50657
|
-
className:
|
|
50716
|
+
className: qt("sticky top-0 z-[2] max-w-96 whitespace-normal break-words border-b px-3 py-2.5 text-start", VA.rowDivider, VA.tableHeaderCell, e.tableHeaderFont ?? "dial-tiny-lead-semi-text", e.tableCell, e.tableHeader),
|
|
50658
50717
|
children: t
|
|
50659
50718
|
}),
|
|
50660
50719
|
td: ({ children: t }) => /* @__PURE__ */ S("td", {
|
|
50661
|
-
className:
|
|
50720
|
+
className: qt("max-w-96 whitespace-normal border-b px-3 py-2.5 align-top [overflow-wrap:anywhere]", VA.rowDivider, e.tableBodyCell, e.tableCell),
|
|
50662
50721
|
children: t
|
|
50663
50722
|
})
|
|
50664
50723
|
}), ZA = p(({ content: e, isStreaming: t, streamCharactersPerSecond: n, classNames: r = qA, components: i, rehypePlugins: a = KA, thinkingLabel: o = "Thinking", codeBlockCopyLabel: s, codeBlockCopiedLabel: c, codeBlockTheme: l, colors: u, tableScrollRegionAriaLabel: d }) => {
|
|
50665
|
-
let f = EC(e, t, n), p = v(() => IC(f), [f]), m =
|
|
50724
|
+
let f = EC(e, t, n), p = v(() => IC(f), [f]), m = Jt({
|
|
50666
50725
|
"--cm-thinking-inverted": u?.thinkingPrimary,
|
|
50667
50726
|
"--cm-thinking-secondary": u?.thinkingSecondary,
|
|
50668
50727
|
"--cm-markdown-border": u?.border,
|
|
@@ -50776,4 +50835,4 @@ var OA = 2e3, kA = (e, t = OA) => {
|
|
|
50776
50835
|
};
|
|
50777
50836
|
};
|
|
50778
50837
|
//#endregion
|
|
50779
|
-
export { de as AttachmentErrorReason, fe as AttachmentType, Om as BASE_LG_ICON_PROPS, Dm as BASE_MD_ICON_PROPS, pe as CatalogEntityType,
|
|
50838
|
+
export { de as AttachmentErrorReason, fe as AttachmentType, Om as BASE_LG_ICON_PROPS, Dm as BASE_MD_ICON_PROPS, pe as CatalogEntityType, he as CodeBlockTheme, Wm as CopyButton, Um as CopyIconButton, QA as DEFAULT_MARKDOWN_CLASS_NAMES, Lm as DeploymentIcon, vm as ENTITY_TYPE_BG_COLOR, _m as ENTITY_TYPE_COLOR, Zm as EntityHeader, Ym as EntityTypeLabel, Xm as FeaturedChip, me as FileExtension, km as HIDDEN_FILE, Fm as InitialsAvatar, Jm as ItemHeader, $A as MDMessageViewer, k as MIMEType, an as MIME_TYPE_AUDIO_PREFIX, nn as MIME_TYPE_EXT_MAP, rn as MIME_TYPE_WILDCARD, LA as MarkdownCodeBlock, ZA as MarkdownRenderer, HA as MarkdownTable, tj as MarkdownWithPlaceholders, se as MessageRating, oe as MessageRole, ym as PROMPT_PARAM_PATTERN, bm as PROMPT_VARIABLE_CLASS_NAME, Km as PanelEmptyState, le as RequestStatus, $m as ResourceSummary, ue as ResponseFormat, O as StageStatus, ce as StatusEvent, hm as base64ToBlob, Jt as buildCssVars, Jp as copyMarkdownAsRichText, Yp as copyToClipboard, JA as defaultMarkdownComponents, gm as downloadTextFile, Nm as extractInitials, Tm as extractPromptParams, tm as formatFileSize, Zp as formatLastUsed, sm as formatPrice, cm as formatUnitPrice, Qt as getAttachmentTypeFromMime, um as getFileExtensionForLanguage, ve as getUtf8ByteLength, Zt as inferMimeTypeFromPath, on as isAudioTranscriptionSupported, Yt as isStatusMessage, qt as mergeClasses, en as messageAttachmentToDisplayAttachment, tn as messageAttachmentsToDisplayAttachments, jm as pickAvatarColor, wm as rehypePromptVariables, Em as resolvePromptParams, FA as restrainedSyntaxTheme, fm as triggerAnchorDownload, pm as triggerBlobDownload, ye as truncateToUtf8Bytes, mm as tryBase64ToBytes, kA as useCodeCopy, sj as useCollapsedText, ij as useIsMobile };
|