@eloquentai/chat-sdk 0.37.0-dev.3 → 0.37.0-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contexts/error-handling/error-context.d.ts +1 -1
- package/dist/contexts/error-handling/error-provider.d.ts +2 -1
- package/dist/index.mjs +424 -440
- package/dist/index.mjs.map +1 -1
- package/dist/lib/error-reporting.d.ts +25 -0
- package/dist/lib/http.d.ts +12 -2
- package/dist/{skeleton-DJDQ11eO.js → skeleton-DW1aw7Tu.js} +275 -264
- package/dist/{skeleton-DJDQ11eO.js.map → skeleton-DW1aw7Tu.js.map} +1 -1
- package/dist/ui.mjs +1 -1
- package/package.json +1 -1
- package/dist/index-hFbiYJI3.js +0 -4165
- package/dist/index-hFbiYJI3.js.map +0 -1
- package/dist/instrumentation.d.ts +0 -1
|
@@ -5,13 +5,9 @@ import { useState as be, forwardRef as Ve, createContext as Er, useContext as qr
|
|
|
5
5
|
import * as Tu from "react-dom";
|
|
6
6
|
try {
|
|
7
7
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
|
|
8
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
8
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f381dfdc-6686-4862-ac31-44391696b4b7", e._sentryDebugIdIdentifier = "sentry-dbid-f381dfdc-6686-4862-ac31-44391696b4b7");
|
|
9
9
|
} catch {
|
|
10
10
|
}
|
|
11
|
-
{
|
|
12
|
-
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
13
|
-
e.SENTRY_RELEASE = { id: "7cd19103561a637cc850ebcc7186ff23b2a11bf1" };
|
|
14
|
-
}
|
|
15
11
|
function Aa(e) {
|
|
16
12
|
var t, n, r = "";
|
|
17
13
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
@@ -25,14 +21,14 @@ function _u() {
|
|
|
25
21
|
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Aa(e)) && (r && (r += " "), r += t);
|
|
26
22
|
return r;
|
|
27
23
|
}
|
|
28
|
-
const
|
|
24
|
+
const Iu = (e, t) => {
|
|
29
25
|
const n = new Array(e.length + t.length);
|
|
30
26
|
for (let r = 0; r < e.length; r++)
|
|
31
27
|
n[r] = e[r];
|
|
32
28
|
for (let r = 0; r < t.length; r++)
|
|
33
29
|
n[e.length + r] = t[r];
|
|
34
30
|
return n;
|
|
35
|
-
},
|
|
31
|
+
}, Ru = (e, t) => ({
|
|
36
32
|
classGroupId: e,
|
|
37
33
|
validator: t
|
|
38
34
|
}), Ea = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
@@ -54,7 +50,7 @@ const Ru = (e, t) => {
|
|
|
54
50
|
getConflictingClassGroupIds: (i, a) => {
|
|
55
51
|
if (a) {
|
|
56
52
|
const s = r[i], c = n[i];
|
|
57
|
-
return s ? c ?
|
|
53
|
+
return s ? c ? Iu(c, s) : s : c || Qi;
|
|
58
54
|
}
|
|
59
55
|
return n[i] || Qi;
|
|
60
56
|
}
|
|
@@ -116,7 +112,7 @@ const Ru = (e, t) => {
|
|
|
116
112
|
Ko(e(r), t, n, r);
|
|
117
113
|
return;
|
|
118
114
|
}
|
|
119
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
115
|
+
t.validators === null && (t.validators = []), t.validators.push(Ru(n, e));
|
|
120
116
|
}, Bu = (e, t, n, r) => {
|
|
121
117
|
const o = Object.entries(e), l = o.length;
|
|
122
118
|
for (let i = 0; i < l; i++) {
|
|
@@ -259,8 +255,8 @@ const Ru = (e, t) => {
|
|
|
259
255
|
if (k) {
|
|
260
256
|
const D = y.substring(0, S);
|
|
261
257
|
E = r(D);
|
|
262
|
-
const
|
|
263
|
-
|
|
258
|
+
const R = E && i[E] ? r(y) : void 0;
|
|
259
|
+
R && R !== E && (E = R, k = !1);
|
|
264
260
|
} else
|
|
265
261
|
E = r(y);
|
|
266
262
|
if (!E) {
|
|
@@ -280,8 +276,8 @@ const Ru = (e, t) => {
|
|
|
280
276
|
a.push(H);
|
|
281
277
|
const C = o(E, k);
|
|
282
278
|
for (let D = 0; D < C.length; ++D) {
|
|
283
|
-
const
|
|
284
|
-
a.push(U +
|
|
279
|
+
const R = C[D];
|
|
280
|
+
a.push(U + R);
|
|
285
281
|
}
|
|
286
282
|
c = u + (c.length > 0 ? " " + c : c);
|
|
287
283
|
}
|
|
@@ -314,16 +310,16 @@ const Ru = (e, t) => {
|
|
|
314
310
|
}, Ju = [], ve = (e) => {
|
|
315
311
|
const t = (n) => n[e] || Ju;
|
|
316
312
|
return t.isThemeGetter = !0, t;
|
|
317
|
-
},
|
|
313
|
+
}, Ia = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ra = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qu = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Zu = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ef = /\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$/, tf = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, nf = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, rf = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Pt = (e) => Qu.test(e), te = (e) => !!e && !Number.isNaN(Number(e)), gt = (e) => !!e && Number.isInteger(Number(e)), Kr = (e) => e.endsWith("%") && te(e.slice(0, -1)), kt = (e) => Zu.test(e), Na = () => !0, of = (e) => (
|
|
318
314
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
319
315
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
320
316
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
321
317
|
ef.test(e) && !tf.test(e)
|
|
322
|
-
), Jo = () => !1, lf = (e) => nf.test(e), af = (e) => rf.test(e), sf = (e) => !F(e) && !B(e), cf = (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)), uf = (e) => Bt(e, Da, Jo), F = (e) =>
|
|
323
|
-
const r =
|
|
318
|
+
), Jo = () => !1, lf = (e) => nf.test(e), af = (e) => rf.test(e), sf = (e) => !F(e) && !B(e), cf = (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)), uf = (e) => Bt(e, Da, Jo), F = (e) => Ia.test(e), Gt = (e) => Bt(e, Ma, of), nl = (e) => Bt(e, yf, te), ff = (e) => Bt(e, za, Na), pf = (e) => Bt(e, Oa, Jo), rl = (e) => Bt(e, La, Jo), df = (e) => Bt(e, Pa, af), ar = (e) => Bt(e, Fa, lf), B = (e) => Ra.test(e), In = (e) => nn(e, Ma), hf = (e) => nn(e, Oa), ol = (e) => nn(e, La), mf = (e) => nn(e, Da), gf = (e) => nn(e, Pa), sr = (e) => nn(e, Fa, !0), bf = (e) => nn(e, za, !0), Bt = (e, t, n) => {
|
|
319
|
+
const r = Ia.exec(e);
|
|
324
320
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
325
321
|
}, nn = (e, t, n = !1) => {
|
|
326
|
-
const r =
|
|
322
|
+
const r = Ra.exec(e);
|
|
327
323
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
328
324
|
}, La = (e) => e === "position" || e === "percentage", Pa = (e) => e === "image" || e === "url", Da = (e) => e === "length" || e === "size" || e === "bg-size", Ma = (e) => e === "length", yf = (e) => e === "number", Oa = (e) => e === "family-name", za = (e) => e === "number" || e === "weight", Fa = (e) => e === "shadow", il = () => {
|
|
329
325
|
const e = ve("color"), t = ve("font"), n = ve("text"), r = ve("font-weight"), o = ve("tracking"), l = ve("leading"), i = ve("breakpoint"), a = ve("container"), s = ve("spacing"), c = ve("radius"), f = ve("shadow"), u = ve("inset-shadow"), d = ve("text-shadow"), p = ve("drop-shadow"), m = ve("blur"), y = ve("perspective"), S = ve("aspect"), k = ve("ease"), E = ve("animate"), A = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], U = () => [
|
|
@@ -344,15 +340,15 @@ const Ru = (e, t) => {
|
|
|
344
340
|
"bottom-left",
|
|
345
341
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
346
342
|
"left-bottom"
|
|
347
|
-
], H = () => [...U(), B, F], C = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"],
|
|
343
|
+
], H = () => [...U(), B, F], C = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], R = () => [B, F, s], V = () => [Pt, "full", "auto", ...R()], v = () => [gt, "none", "subgrid", B, F], P = () => ["auto", {
|
|
348
344
|
span: ["full", gt, B, F]
|
|
349
|
-
}, gt, B, F], z = () => [gt, "auto", B, F], re = () => ["auto", "min", "max", "fr", B, F], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], M = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Q = () => ["auto", ...
|
|
345
|
+
}, gt, B, F], z = () => [gt, "auto", B, F], re = () => ["auto", "min", "max", "fr", B, F], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], M = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Q = () => ["auto", ...R()], ae = () => [Pt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...R()], Te = () => [Pt, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...R()], Pe = () => [Pt, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...R()], g = () => [e, B, F], Ae = () => [...U(), ol, rl, {
|
|
350
346
|
position: [B, F]
|
|
351
347
|
}], De = () => ["no-repeat", {
|
|
352
348
|
repeat: ["", "x", "y", "space", "round"]
|
|
353
349
|
}], b = () => ["auto", "cover", "contain", mf, uf, {
|
|
354
350
|
size: [B, F]
|
|
355
|
-
}], _e = () => [Kr,
|
|
351
|
+
}], _e = () => [Kr, In, Gt], me = () => [
|
|
356
352
|
// Deprecated since Tailwind CSS v4.0.0
|
|
357
353
|
"",
|
|
358
354
|
"none",
|
|
@@ -360,14 +356,14 @@ const Ru = (e, t) => {
|
|
|
360
356
|
c,
|
|
361
357
|
B,
|
|
362
358
|
F
|
|
363
|
-
], j = () => ["", te,
|
|
359
|
+
], j = () => ["", te, In, Gt], Je = () => ["solid", "dashed", "dotted", "double"], We = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ue = () => [te, Kr, ol, rl], lt = () => [
|
|
364
360
|
// Deprecated since Tailwind CSS v4.0.0
|
|
365
361
|
"",
|
|
366
362
|
"none",
|
|
367
363
|
m,
|
|
368
364
|
B,
|
|
369
365
|
F
|
|
370
|
-
], at = () => ["none", te, B, F], _t = () => ["none", te, B, F],
|
|
366
|
+
], at = () => ["none", te, B, F], _t = () => ["none", te, B, F], It = () => [te, B, F], Rt = () => [Pt, "full", ...R()];
|
|
371
367
|
return {
|
|
372
368
|
cacheSize: 500,
|
|
373
369
|
theme: {
|
|
@@ -661,7 +657,7 @@ const Ru = (e, t) => {
|
|
|
661
657
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
662
658
|
*/
|
|
663
659
|
basis: [{
|
|
664
|
-
basis: [Pt, "full", "auto", a, ...
|
|
660
|
+
basis: [Pt, "full", "auto", a, ...R()]
|
|
665
661
|
}],
|
|
666
662
|
/**
|
|
667
663
|
* Flex Direction
|
|
@@ -787,21 +783,21 @@ const Ru = (e, t) => {
|
|
|
787
783
|
* @see https://tailwindcss.com/docs/gap
|
|
788
784
|
*/
|
|
789
785
|
gap: [{
|
|
790
|
-
gap:
|
|
786
|
+
gap: R()
|
|
791
787
|
}],
|
|
792
788
|
/**
|
|
793
789
|
* Gap X
|
|
794
790
|
* @see https://tailwindcss.com/docs/gap
|
|
795
791
|
*/
|
|
796
792
|
"gap-x": [{
|
|
797
|
-
"gap-x":
|
|
793
|
+
"gap-x": R()
|
|
798
794
|
}],
|
|
799
795
|
/**
|
|
800
796
|
* Gap Y
|
|
801
797
|
* @see https://tailwindcss.com/docs/gap
|
|
802
798
|
*/
|
|
803
799
|
"gap-y": [{
|
|
804
|
-
"gap-y":
|
|
800
|
+
"gap-y": R()
|
|
805
801
|
}],
|
|
806
802
|
/**
|
|
807
803
|
* Justify Content
|
|
@@ -876,77 +872,77 @@ const Ru = (e, t) => {
|
|
|
876
872
|
* @see https://tailwindcss.com/docs/padding
|
|
877
873
|
*/
|
|
878
874
|
p: [{
|
|
879
|
-
p:
|
|
875
|
+
p: R()
|
|
880
876
|
}],
|
|
881
877
|
/**
|
|
882
878
|
* Padding Inline
|
|
883
879
|
* @see https://tailwindcss.com/docs/padding
|
|
884
880
|
*/
|
|
885
881
|
px: [{
|
|
886
|
-
px:
|
|
882
|
+
px: R()
|
|
887
883
|
}],
|
|
888
884
|
/**
|
|
889
885
|
* Padding Block
|
|
890
886
|
* @see https://tailwindcss.com/docs/padding
|
|
891
887
|
*/
|
|
892
888
|
py: [{
|
|
893
|
-
py:
|
|
889
|
+
py: R()
|
|
894
890
|
}],
|
|
895
891
|
/**
|
|
896
892
|
* Padding Inline Start
|
|
897
893
|
* @see https://tailwindcss.com/docs/padding
|
|
898
894
|
*/
|
|
899
895
|
ps: [{
|
|
900
|
-
ps:
|
|
896
|
+
ps: R()
|
|
901
897
|
}],
|
|
902
898
|
/**
|
|
903
899
|
* Padding Inline End
|
|
904
900
|
* @see https://tailwindcss.com/docs/padding
|
|
905
901
|
*/
|
|
906
902
|
pe: [{
|
|
907
|
-
pe:
|
|
903
|
+
pe: R()
|
|
908
904
|
}],
|
|
909
905
|
/**
|
|
910
906
|
* Padding Block Start
|
|
911
907
|
* @see https://tailwindcss.com/docs/padding
|
|
912
908
|
*/
|
|
913
909
|
pbs: [{
|
|
914
|
-
pbs:
|
|
910
|
+
pbs: R()
|
|
915
911
|
}],
|
|
916
912
|
/**
|
|
917
913
|
* Padding Block End
|
|
918
914
|
* @see https://tailwindcss.com/docs/padding
|
|
919
915
|
*/
|
|
920
916
|
pbe: [{
|
|
921
|
-
pbe:
|
|
917
|
+
pbe: R()
|
|
922
918
|
}],
|
|
923
919
|
/**
|
|
924
920
|
* Padding Top
|
|
925
921
|
* @see https://tailwindcss.com/docs/padding
|
|
926
922
|
*/
|
|
927
923
|
pt: [{
|
|
928
|
-
pt:
|
|
924
|
+
pt: R()
|
|
929
925
|
}],
|
|
930
926
|
/**
|
|
931
927
|
* Padding Right
|
|
932
928
|
* @see https://tailwindcss.com/docs/padding
|
|
933
929
|
*/
|
|
934
930
|
pr: [{
|
|
935
|
-
pr:
|
|
931
|
+
pr: R()
|
|
936
932
|
}],
|
|
937
933
|
/**
|
|
938
934
|
* Padding Bottom
|
|
939
935
|
* @see https://tailwindcss.com/docs/padding
|
|
940
936
|
*/
|
|
941
937
|
pb: [{
|
|
942
|
-
pb:
|
|
938
|
+
pb: R()
|
|
943
939
|
}],
|
|
944
940
|
/**
|
|
945
941
|
* Padding Left
|
|
946
942
|
* @see https://tailwindcss.com/docs/padding
|
|
947
943
|
*/
|
|
948
944
|
pl: [{
|
|
949
|
-
pl:
|
|
945
|
+
pl: R()
|
|
950
946
|
}],
|
|
951
947
|
/**
|
|
952
948
|
* Margin
|
|
@@ -1030,7 +1026,7 @@ const Ru = (e, t) => {
|
|
|
1030
1026
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1031
1027
|
*/
|
|
1032
1028
|
"space-x": [{
|
|
1033
|
-
"space-x":
|
|
1029
|
+
"space-x": R()
|
|
1034
1030
|
}],
|
|
1035
1031
|
/**
|
|
1036
1032
|
* Space Between X Reverse
|
|
@@ -1042,7 +1038,7 @@ const Ru = (e, t) => {
|
|
|
1042
1038
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1043
1039
|
*/
|
|
1044
1040
|
"space-y": [{
|
|
1045
|
-
"space-y":
|
|
1041
|
+
"space-y": R()
|
|
1046
1042
|
}],
|
|
1047
1043
|
/**
|
|
1048
1044
|
* Space Between Y Reverse
|
|
@@ -1168,7 +1164,7 @@ const Ru = (e, t) => {
|
|
|
1168
1164
|
* @see https://tailwindcss.com/docs/font-size
|
|
1169
1165
|
*/
|
|
1170
1166
|
"font-size": [{
|
|
1171
|
-
text: ["base", n,
|
|
1167
|
+
text: ["base", n, In, Gt]
|
|
1172
1168
|
}],
|
|
1173
1169
|
/**
|
|
1174
1170
|
* Font Smoothing
|
|
@@ -1260,7 +1256,7 @@ const Ru = (e, t) => {
|
|
|
1260
1256
|
leading: [
|
|
1261
1257
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1262
1258
|
l,
|
|
1263
|
-
...
|
|
1259
|
+
...R()
|
|
1264
1260
|
]
|
|
1265
1261
|
}],
|
|
1266
1262
|
/**
|
|
@@ -1361,7 +1357,7 @@ const Ru = (e, t) => {
|
|
|
1361
1357
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1362
1358
|
*/
|
|
1363
1359
|
indent: [{
|
|
1364
|
-
indent:
|
|
1360
|
+
indent: R()
|
|
1365
1361
|
}],
|
|
1366
1362
|
/**
|
|
1367
1363
|
* Tab Size
|
|
@@ -1845,7 +1841,7 @@ const Ru = (e, t) => {
|
|
|
1845
1841
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1846
1842
|
*/
|
|
1847
1843
|
"outline-w": [{
|
|
1848
|
-
outline: ["", te,
|
|
1844
|
+
outline: ["", te, In, Gt]
|
|
1849
1845
|
}],
|
|
1850
1846
|
/**
|
|
1851
1847
|
* Outline Color
|
|
@@ -2360,21 +2356,21 @@ const Ru = (e, t) => {
|
|
|
2360
2356
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2361
2357
|
*/
|
|
2362
2358
|
"border-spacing": [{
|
|
2363
|
-
"border-spacing":
|
|
2359
|
+
"border-spacing": R()
|
|
2364
2360
|
}],
|
|
2365
2361
|
/**
|
|
2366
2362
|
* Border Spacing X
|
|
2367
2363
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2368
2364
|
*/
|
|
2369
2365
|
"border-spacing-x": [{
|
|
2370
|
-
"border-spacing-x":
|
|
2366
|
+
"border-spacing-x": R()
|
|
2371
2367
|
}],
|
|
2372
2368
|
/**
|
|
2373
2369
|
* Border Spacing Y
|
|
2374
2370
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2375
2371
|
*/
|
|
2376
2372
|
"border-spacing-y": [{
|
|
2377
|
-
"border-spacing-y":
|
|
2373
|
+
"border-spacing-y": R()
|
|
2378
2374
|
}],
|
|
2379
2375
|
/**
|
|
2380
2376
|
* Table Layout
|
|
@@ -2525,21 +2521,21 @@ const Ru = (e, t) => {
|
|
|
2525
2521
|
* @see https://tailwindcss.com/docs/skew
|
|
2526
2522
|
*/
|
|
2527
2523
|
skew: [{
|
|
2528
|
-
skew:
|
|
2524
|
+
skew: It()
|
|
2529
2525
|
}],
|
|
2530
2526
|
/**
|
|
2531
2527
|
* Skew X
|
|
2532
2528
|
* @see https://tailwindcss.com/docs/skew
|
|
2533
2529
|
*/
|
|
2534
2530
|
"skew-x": [{
|
|
2535
|
-
"skew-x":
|
|
2531
|
+
"skew-x": It()
|
|
2536
2532
|
}],
|
|
2537
2533
|
/**
|
|
2538
2534
|
* Skew Y
|
|
2539
2535
|
* @see https://tailwindcss.com/docs/skew
|
|
2540
2536
|
*/
|
|
2541
2537
|
"skew-y": [{
|
|
2542
|
-
"skew-y":
|
|
2538
|
+
"skew-y": It()
|
|
2543
2539
|
}],
|
|
2544
2540
|
/**
|
|
2545
2541
|
* Transform
|
|
@@ -2567,28 +2563,28 @@ const Ru = (e, t) => {
|
|
|
2567
2563
|
* @see https://tailwindcss.com/docs/translate
|
|
2568
2564
|
*/
|
|
2569
2565
|
translate: [{
|
|
2570
|
-
translate:
|
|
2566
|
+
translate: Rt()
|
|
2571
2567
|
}],
|
|
2572
2568
|
/**
|
|
2573
2569
|
* Translate X
|
|
2574
2570
|
* @see https://tailwindcss.com/docs/translate
|
|
2575
2571
|
*/
|
|
2576
2572
|
"translate-x": [{
|
|
2577
|
-
"translate-x":
|
|
2573
|
+
"translate-x": Rt()
|
|
2578
2574
|
}],
|
|
2579
2575
|
/**
|
|
2580
2576
|
* Translate Y
|
|
2581
2577
|
* @see https://tailwindcss.com/docs/translate
|
|
2582
2578
|
*/
|
|
2583
2579
|
"translate-y": [{
|
|
2584
|
-
"translate-y":
|
|
2580
|
+
"translate-y": Rt()
|
|
2585
2581
|
}],
|
|
2586
2582
|
/**
|
|
2587
2583
|
* Translate Z
|
|
2588
2584
|
* @see https://tailwindcss.com/docs/translate
|
|
2589
2585
|
*/
|
|
2590
2586
|
"translate-z": [{
|
|
2591
|
-
"translate-z":
|
|
2587
|
+
"translate-z": Rt()
|
|
2592
2588
|
}],
|
|
2593
2589
|
/**
|
|
2594
2590
|
* Translate None
|
|
@@ -2701,154 +2697,154 @@ const Ru = (e, t) => {
|
|
|
2701
2697
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2702
2698
|
*/
|
|
2703
2699
|
"scroll-m": [{
|
|
2704
|
-
"scroll-m":
|
|
2700
|
+
"scroll-m": R()
|
|
2705
2701
|
}],
|
|
2706
2702
|
/**
|
|
2707
2703
|
* Scroll Margin Inline
|
|
2708
2704
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2709
2705
|
*/
|
|
2710
2706
|
"scroll-mx": [{
|
|
2711
|
-
"scroll-mx":
|
|
2707
|
+
"scroll-mx": R()
|
|
2712
2708
|
}],
|
|
2713
2709
|
/**
|
|
2714
2710
|
* Scroll Margin Block
|
|
2715
2711
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2716
2712
|
*/
|
|
2717
2713
|
"scroll-my": [{
|
|
2718
|
-
"scroll-my":
|
|
2714
|
+
"scroll-my": R()
|
|
2719
2715
|
}],
|
|
2720
2716
|
/**
|
|
2721
2717
|
* Scroll Margin Inline Start
|
|
2722
2718
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2723
2719
|
*/
|
|
2724
2720
|
"scroll-ms": [{
|
|
2725
|
-
"scroll-ms":
|
|
2721
|
+
"scroll-ms": R()
|
|
2726
2722
|
}],
|
|
2727
2723
|
/**
|
|
2728
2724
|
* Scroll Margin Inline End
|
|
2729
2725
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2730
2726
|
*/
|
|
2731
2727
|
"scroll-me": [{
|
|
2732
|
-
"scroll-me":
|
|
2728
|
+
"scroll-me": R()
|
|
2733
2729
|
}],
|
|
2734
2730
|
/**
|
|
2735
2731
|
* Scroll Margin Block Start
|
|
2736
2732
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2737
2733
|
*/
|
|
2738
2734
|
"scroll-mbs": [{
|
|
2739
|
-
"scroll-mbs":
|
|
2735
|
+
"scroll-mbs": R()
|
|
2740
2736
|
}],
|
|
2741
2737
|
/**
|
|
2742
2738
|
* Scroll Margin Block End
|
|
2743
2739
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2744
2740
|
*/
|
|
2745
2741
|
"scroll-mbe": [{
|
|
2746
|
-
"scroll-mbe":
|
|
2742
|
+
"scroll-mbe": R()
|
|
2747
2743
|
}],
|
|
2748
2744
|
/**
|
|
2749
2745
|
* Scroll Margin Top
|
|
2750
2746
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2751
2747
|
*/
|
|
2752
2748
|
"scroll-mt": [{
|
|
2753
|
-
"scroll-mt":
|
|
2749
|
+
"scroll-mt": R()
|
|
2754
2750
|
}],
|
|
2755
2751
|
/**
|
|
2756
2752
|
* Scroll Margin Right
|
|
2757
2753
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2758
2754
|
*/
|
|
2759
2755
|
"scroll-mr": [{
|
|
2760
|
-
"scroll-mr":
|
|
2756
|
+
"scroll-mr": R()
|
|
2761
2757
|
}],
|
|
2762
2758
|
/**
|
|
2763
2759
|
* Scroll Margin Bottom
|
|
2764
2760
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2765
2761
|
*/
|
|
2766
2762
|
"scroll-mb": [{
|
|
2767
|
-
"scroll-mb":
|
|
2763
|
+
"scroll-mb": R()
|
|
2768
2764
|
}],
|
|
2769
2765
|
/**
|
|
2770
2766
|
* Scroll Margin Left
|
|
2771
2767
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2772
2768
|
*/
|
|
2773
2769
|
"scroll-ml": [{
|
|
2774
|
-
"scroll-ml":
|
|
2770
|
+
"scroll-ml": R()
|
|
2775
2771
|
}],
|
|
2776
2772
|
/**
|
|
2777
2773
|
* Scroll Padding
|
|
2778
2774
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2779
2775
|
*/
|
|
2780
2776
|
"scroll-p": [{
|
|
2781
|
-
"scroll-p":
|
|
2777
|
+
"scroll-p": R()
|
|
2782
2778
|
}],
|
|
2783
2779
|
/**
|
|
2784
2780
|
* Scroll Padding Inline
|
|
2785
2781
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2786
2782
|
*/
|
|
2787
2783
|
"scroll-px": [{
|
|
2788
|
-
"scroll-px":
|
|
2784
|
+
"scroll-px": R()
|
|
2789
2785
|
}],
|
|
2790
2786
|
/**
|
|
2791
2787
|
* Scroll Padding Block
|
|
2792
2788
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2793
2789
|
*/
|
|
2794
2790
|
"scroll-py": [{
|
|
2795
|
-
"scroll-py":
|
|
2791
|
+
"scroll-py": R()
|
|
2796
2792
|
}],
|
|
2797
2793
|
/**
|
|
2798
2794
|
* Scroll Padding Inline Start
|
|
2799
2795
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2800
2796
|
*/
|
|
2801
2797
|
"scroll-ps": [{
|
|
2802
|
-
"scroll-ps":
|
|
2798
|
+
"scroll-ps": R()
|
|
2803
2799
|
}],
|
|
2804
2800
|
/**
|
|
2805
2801
|
* Scroll Padding Inline End
|
|
2806
2802
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2807
2803
|
*/
|
|
2808
2804
|
"scroll-pe": [{
|
|
2809
|
-
"scroll-pe":
|
|
2805
|
+
"scroll-pe": R()
|
|
2810
2806
|
}],
|
|
2811
2807
|
/**
|
|
2812
2808
|
* Scroll Padding Block Start
|
|
2813
2809
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2814
2810
|
*/
|
|
2815
2811
|
"scroll-pbs": [{
|
|
2816
|
-
"scroll-pbs":
|
|
2812
|
+
"scroll-pbs": R()
|
|
2817
2813
|
}],
|
|
2818
2814
|
/**
|
|
2819
2815
|
* Scroll Padding Block End
|
|
2820
2816
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2821
2817
|
*/
|
|
2822
2818
|
"scroll-pbe": [{
|
|
2823
|
-
"scroll-pbe":
|
|
2819
|
+
"scroll-pbe": R()
|
|
2824
2820
|
}],
|
|
2825
2821
|
/**
|
|
2826
2822
|
* Scroll Padding Top
|
|
2827
2823
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2828
2824
|
*/
|
|
2829
2825
|
"scroll-pt": [{
|
|
2830
|
-
"scroll-pt":
|
|
2826
|
+
"scroll-pt": R()
|
|
2831
2827
|
}],
|
|
2832
2828
|
/**
|
|
2833
2829
|
* Scroll Padding Right
|
|
2834
2830
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2835
2831
|
*/
|
|
2836
2832
|
"scroll-pr": [{
|
|
2837
|
-
"scroll-pr":
|
|
2833
|
+
"scroll-pr": R()
|
|
2838
2834
|
}],
|
|
2839
2835
|
/**
|
|
2840
2836
|
* Scroll Padding Bottom
|
|
2841
2837
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2842
2838
|
*/
|
|
2843
2839
|
"scroll-pb": [{
|
|
2844
|
-
"scroll-pb":
|
|
2840
|
+
"scroll-pb": R()
|
|
2845
2841
|
}],
|
|
2846
2842
|
/**
|
|
2847
2843
|
* Scroll Padding Left
|
|
2848
2844
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2849
2845
|
*/
|
|
2850
2846
|
"scroll-pl": [{
|
|
2851
|
-
"scroll-pl":
|
|
2847
|
+
"scroll-pl": R()
|
|
2852
2848
|
}],
|
|
2853
2849
|
/**
|
|
2854
2850
|
* Scroll Snap Align
|
|
@@ -2933,7 +2929,7 @@ const Ru = (e, t) => {
|
|
|
2933
2929
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2934
2930
|
*/
|
|
2935
2931
|
"stroke-w": [{
|
|
2936
|
-
stroke: [te,
|
|
2932
|
+
stroke: [te, In, Gt, nl]
|
|
2937
2933
|
}],
|
|
2938
2934
|
/**
|
|
2939
2935
|
* Stroke
|
|
@@ -3305,10 +3301,10 @@ const Ce = (e, t) => {
|
|
|
3305
3301
|
* This source code is licensed under the ISC license.
|
|
3306
3302
|
* See the LICENSE file in the root directory of this source tree.
|
|
3307
3303
|
*/
|
|
3308
|
-
const
|
|
3304
|
+
const If = [
|
|
3309
3305
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
3310
3306
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
3311
|
-
],
|
|
3307
|
+
], Rf = Ce("arrow-up", If);
|
|
3312
3308
|
/**
|
|
3313
3309
|
* @license lucide-react v0.577.0 - ISC
|
|
3314
3310
|
*
|
|
@@ -3582,12 +3578,12 @@ function Wa(e) {
|
|
|
3582
3578
|
const t = N.forwardRef((n, r) => {
|
|
3583
3579
|
let { children: o, ...l } = n, i = null, a = !1;
|
|
3584
3580
|
const s = [];
|
|
3585
|
-
|
|
3581
|
+
Io(o) && typeof fr == "function" && (o = fr(o._payload)), N.Children.forEach(o, (d) => {
|
|
3586
3582
|
if (Ka(d)) {
|
|
3587
3583
|
a = !0;
|
|
3588
3584
|
const p = d;
|
|
3589
3585
|
let m = "child" in p.props ? p.props.child : p.props.children;
|
|
3590
|
-
|
|
3586
|
+
Io(m) && typeof fr == "function" && (m = fr(m._payload)), i = hp(p, m), s.push(i?.props?.children);
|
|
3591
3587
|
} else
|
|
3592
3588
|
s.push(d);
|
|
3593
3589
|
}), i ? i = N.cloneElement(i, void 0, s) : (
|
|
@@ -3647,10 +3643,10 @@ function Ka(e) {
|
|
|
3647
3643
|
}
|
|
3648
3644
|
pt(Ka, "isSlottable");
|
|
3649
3645
|
var mp = Symbol.for("react.lazy");
|
|
3650
|
-
function
|
|
3646
|
+
function Io(e) {
|
|
3651
3647
|
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === mp && "_payload" in e && Ja(e._payload);
|
|
3652
3648
|
}
|
|
3653
|
-
pt(
|
|
3649
|
+
pt(Io, "isLazyComponent");
|
|
3654
3650
|
function Ja(e) {
|
|
3655
3651
|
return typeof e == "object" && e !== null && "then" in e;
|
|
3656
3652
|
}
|
|
@@ -3748,26 +3744,26 @@ function Za(e) {
|
|
|
3748
3744
|
};
|
|
3749
3745
|
}
|
|
3750
3746
|
At(Za, "usePresence");
|
|
3751
|
-
function
|
|
3747
|
+
function Ro(e, t) {
|
|
3752
3748
|
if (typeof e == "function")
|
|
3753
3749
|
return e(t);
|
|
3754
3750
|
e != null && (e.current = t);
|
|
3755
3751
|
}
|
|
3756
|
-
At(
|
|
3752
|
+
At(Ro, "setRef");
|
|
3757
3753
|
function es(...e) {
|
|
3758
3754
|
const t = N.useRef(e);
|
|
3759
3755
|
return t.current = e, N.useCallback((n) => {
|
|
3760
3756
|
const r = t.current;
|
|
3761
3757
|
let o = !1;
|
|
3762
3758
|
const l = r.map((i) => {
|
|
3763
|
-
const a =
|
|
3759
|
+
const a = Ro(i, n);
|
|
3764
3760
|
return !o && typeof a == "function" && (o = !0), a;
|
|
3765
3761
|
});
|
|
3766
3762
|
if (o)
|
|
3767
3763
|
return () => {
|
|
3768
3764
|
for (let i = 0; i < l.length; i++) {
|
|
3769
3765
|
const a = l[i];
|
|
3770
|
-
typeof a == "function" ? a() :
|
|
3766
|
+
typeof a == "function" ? a() : Ro(r[i], null);
|
|
3771
3767
|
}
|
|
3772
3768
|
};
|
|
3773
3769
|
}, []);
|
|
@@ -3871,11 +3867,11 @@ function rs(e) {
|
|
|
3871
3867
|
return e || t || "ltr";
|
|
3872
3868
|
}
|
|
3873
3869
|
Tp(rs, "useDirection");
|
|
3874
|
-
var
|
|
3870
|
+
var Ip = Object.defineProperty, Rp = (e, t) => Ip(e, "name", { value: t, configurable: !0 });
|
|
3875
3871
|
function os(e, [t, n]) {
|
|
3876
3872
|
return Math.min(n, Math.max(t, e));
|
|
3877
3873
|
}
|
|
3878
|
-
|
|
3874
|
+
Rp(os, "clamp");
|
|
3879
3875
|
var Np = Object.defineProperty, kn = (e, t) => Np(e, "name", { value: t, configurable: !0 }), is = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
3880
3876
|
function zt(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
3881
3877
|
return /* @__PURE__ */ kn(function(o) {
|
|
@@ -3930,7 +3926,7 @@ var cs = "ScrollArea", [us, zk] = /* @__PURE__ */ ii(cs), [Dp, it] = us(cs), fs
|
|
|
3930
3926
|
dir: l,
|
|
3931
3927
|
scrollHideDelay: i = 600,
|
|
3932
3928
|
...a
|
|
3933
|
-
} = t, [s, c] = N.useState(null), [f, u] = N.useState(null), [d, p] = N.useState(null), [m, y] = N.useState(null), [S, k] = N.useState(null), [E, A] = N.useState(0), [U, H] = N.useState(0), [C, D] = N.useState(!1), [
|
|
3929
|
+
} = t, [s, c] = N.useState(null), [f, u] = N.useState(null), [d, p] = N.useState(null), [m, y] = N.useState(null), [S, k] = N.useState(null), [E, A] = N.useState(0), [U, H] = N.useState(0), [C, D] = N.useState(!1), [R, V] = N.useState(!1), v = Ut(n, c), P = rs(l);
|
|
3934
3930
|
return /* @__PURE__ */ w(
|
|
3935
3931
|
Dp,
|
|
3936
3932
|
{
|
|
@@ -3949,7 +3945,7 @@ var cs = "ScrollArea", [us, zk] = /* @__PURE__ */ ii(cs), [Dp, it] = us(cs), fs
|
|
|
3949
3945
|
onScrollbarXEnabledChange: D,
|
|
3950
3946
|
scrollbarY: S,
|
|
3951
3947
|
onScrollbarYChange: k,
|
|
3952
|
-
scrollbarYEnabled:
|
|
3948
|
+
scrollbarYEnabled: R,
|
|
3953
3949
|
onScrollbarYEnabledChange: V,
|
|
3954
3950
|
onCornerWidthChange: A,
|
|
3955
3951
|
onCornerHeightChange: H,
|
|
@@ -4253,7 +4249,7 @@ var cs = "ScrollArea", [us, zk] = /* @__PURE__ */ ii(cs), [Dp, it] = us(cs), fs
|
|
|
4253
4249
|
onWheelScroll: u,
|
|
4254
4250
|
onResize: d,
|
|
4255
4251
|
...p
|
|
4256
|
-
} = t, m = it(qt, r), [y, S] = N.useState(null), k = Ut(n, S), E = N.useRef(null), A = N.useRef(""), U = m.viewport, H = o.content - o.viewport, C = Ct(u), D = Ct(c),
|
|
4252
|
+
} = t, m = it(qt, r), [y, S] = N.useState(null), k = Ut(n, S), E = N.useRef(null), A = N.useRef(""), U = m.viewport, H = o.content - o.viewport, C = Ct(u), D = Ct(c), R = Xn(d, 10);
|
|
4257
4253
|
function V(v) {
|
|
4258
4254
|
if (E.current) {
|
|
4259
4255
|
const P = v.clientX - E.current.left, z = v.clientY - E.current.top;
|
|
@@ -4266,7 +4262,7 @@ var cs = "ScrollArea", [us, zk] = /* @__PURE__ */ ii(cs), [Dp, it] = us(cs), fs
|
|
|
4266
4262
|
y?.contains(z) && C(P, H);
|
|
4267
4263
|
}, "handleWheel");
|
|
4268
4264
|
return document.addEventListener("wheel", v, { passive: !1 }), () => document.removeEventListener("wheel", v, { passive: !1 });
|
|
4269
|
-
}, [U, y, H, C]), N.useEffect(D, [o, D]), en(y,
|
|
4265
|
+
}, [U, y, H, C]), N.useEffect(D, [o, D]), en(y, R), en(m.content, R), /* @__PURE__ */ w(
|
|
4270
4266
|
jp,
|
|
4271
4267
|
{
|
|
4272
4268
|
scope: r,
|
|
@@ -5799,7 +5795,7 @@ const yd = vs([Cs, ud, qs, Ts, _s], "html"), fi = vs([Cs, fd, qs, Ts, _s], "svg"
|
|
|
5799
5795
|
function xd(e) {
|
|
5800
5796
|
return e.join(" ").trim();
|
|
5801
5797
|
}
|
|
5802
|
-
function
|
|
5798
|
+
function Is(e) {
|
|
5803
5799
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5804
5800
|
}
|
|
5805
5801
|
var hn = {}, Zr, dl;
|
|
@@ -5836,7 +5832,7 @@ function wd() {
|
|
|
5836
5832
|
);
|
|
5837
5833
|
if (M.reason = $, M.filename = k.source, M.line = E, M.column = A, M.source = S, !k.silent) throw M;
|
|
5838
5834
|
}
|
|
5839
|
-
function
|
|
5835
|
+
function R($) {
|
|
5840
5836
|
var M = $.exec(S);
|
|
5841
5837
|
if (M) {
|
|
5842
5838
|
var Q = M[0];
|
|
@@ -5844,7 +5840,7 @@ function wd() {
|
|
|
5844
5840
|
}
|
|
5845
5841
|
}
|
|
5846
5842
|
function V() {
|
|
5847
|
-
|
|
5843
|
+
R(n);
|
|
5848
5844
|
}
|
|
5849
5845
|
function v($) {
|
|
5850
5846
|
var M;
|
|
@@ -5867,15 +5863,15 @@ function wd() {
|
|
|
5867
5863
|
}
|
|
5868
5864
|
}
|
|
5869
5865
|
function z() {
|
|
5870
|
-
var $ = H(), M =
|
|
5866
|
+
var $ = H(), M = R(r);
|
|
5871
5867
|
if (M) {
|
|
5872
|
-
if (P(), !
|
|
5873
|
-
var Q =
|
|
5868
|
+
if (P(), !R(o)) return D("property missing ':'");
|
|
5869
|
+
var Q = R(l), ae = $({
|
|
5874
5870
|
type: p,
|
|
5875
5871
|
property: y(M[0].replace(e, u)),
|
|
5876
5872
|
value: Q ? y(Q[0].replace(e, u)) : u
|
|
5877
5873
|
});
|
|
5878
|
-
return
|
|
5874
|
+
return R(i), ae;
|
|
5879
5875
|
}
|
|
5880
5876
|
}
|
|
5881
5877
|
function re() {
|
|
@@ -5915,10 +5911,10 @@ function kd() {
|
|
|
5915
5911
|
}
|
|
5916
5912
|
return hn;
|
|
5917
5913
|
}
|
|
5918
|
-
var
|
|
5914
|
+
var Rn = {}, ml;
|
|
5919
5915
|
function Sd() {
|
|
5920
|
-
if (ml) return
|
|
5921
|
-
ml = 1, Object.defineProperty(
|
|
5916
|
+
if (ml) return Rn;
|
|
5917
|
+
ml = 1, Object.defineProperty(Rn, "__esModule", { value: !0 }), Rn.camelCase = void 0;
|
|
5922
5918
|
var e = /^--[a-zA-Z0-9_-]+$/, t = /-([a-z])/g, n = /^[^-]+$/, r = /^-(webkit|moz|ms|o|khtml)-/, o = /^-(ms)-/, l = function(c) {
|
|
5923
5919
|
return !c || n.test(c) || e.test(c);
|
|
5924
5920
|
}, i = function(c, f) {
|
|
@@ -5928,7 +5924,7 @@ function Sd() {
|
|
|
5928
5924
|
}, s = function(c, f) {
|
|
5929
5925
|
return f === void 0 && (f = {}), l(c) ? c : (c = c.toLowerCase(), f.reactCompat ? c = c.replace(o, a) : c = c.replace(r, a), c.replace(t, i));
|
|
5930
5926
|
};
|
|
5931
|
-
return
|
|
5927
|
+
return Rn.camelCase = s, Rn;
|
|
5932
5928
|
}
|
|
5933
5929
|
var Nn, gl;
|
|
5934
5930
|
function vd() {
|
|
@@ -5946,7 +5942,7 @@ function vd() {
|
|
|
5946
5942
|
return r.default = r, Nn = r, Nn;
|
|
5947
5943
|
}
|
|
5948
5944
|
var Cd = vd();
|
|
5949
|
-
const Ad = /* @__PURE__ */
|
|
5945
|
+
const Ad = /* @__PURE__ */ Is(Cd), Rs = Ns("end"), pi = Ns("start");
|
|
5950
5946
|
function Ns(e) {
|
|
5951
5947
|
return t;
|
|
5952
5948
|
function t(n) {
|
|
@@ -5960,7 +5956,7 @@ function Ns(e) {
|
|
|
5960
5956
|
}
|
|
5961
5957
|
}
|
|
5962
5958
|
function Ls(e) {
|
|
5963
|
-
const t = pi(e), n =
|
|
5959
|
+
const t = pi(e), n = Rs(e);
|
|
5964
5960
|
if (t && n)
|
|
5965
5961
|
return { start: t, end: n };
|
|
5966
5962
|
}
|
|
@@ -6064,7 +6060,7 @@ Le.prototype.place = void 0;
|
|
|
6064
6060
|
Le.prototype.ruleId = void 0;
|
|
6065
6061
|
Le.prototype.source = void 0;
|
|
6066
6062
|
const di = {}.hasOwnProperty, Ed = /* @__PURE__ */ new Map(), qd = /[A-Z]/g, Td = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), _d = /* @__PURE__ */ new Set(["td", "th"]), Ps = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
|
|
6067
|
-
function
|
|
6063
|
+
function Id(e, t) {
|
|
6068
6064
|
if (!t || t.Fragment === void 0)
|
|
6069
6065
|
throw new TypeError("Expected `Fragment` in options");
|
|
6070
6066
|
const n = t.filePath || void 0;
|
|
@@ -6106,7 +6102,7 @@ function Rd(e, t) {
|
|
|
6106
6102
|
}
|
|
6107
6103
|
function Ds(e, t, n) {
|
|
6108
6104
|
if (t.type === "element")
|
|
6109
|
-
return
|
|
6105
|
+
return Rd(e, t, n);
|
|
6110
6106
|
if (t.type === "mdxFlowExpression" || t.type === "mdxTextExpression")
|
|
6111
6107
|
return Nd(e, t);
|
|
6112
6108
|
if (t.type === "mdxJsxFlowElement" || t.type === "mdxJsxTextElement")
|
|
@@ -6118,7 +6114,7 @@ function Ds(e, t, n) {
|
|
|
6118
6114
|
if (t.type === "text")
|
|
6119
6115
|
return Md(e, t);
|
|
6120
6116
|
}
|
|
6121
|
-
function
|
|
6117
|
+
function Rd(e, t, n) {
|
|
6122
6118
|
const r = e.schema;
|
|
6123
6119
|
let o = r;
|
|
6124
6120
|
t.tagName.toLowerCase() === "svg" && r.space === "html" && (o = fi, e.schema = o), e.ancestors.push(t);
|
|
@@ -8766,11 +8762,11 @@ function rh(e) {
|
|
|
8766
8762
|
)
|
|
8767
8763
|
return;
|
|
8768
8764
|
const D = t.events.length;
|
|
8769
|
-
let
|
|
8770
|
-
for (;
|
|
8771
|
-
if (t.events[
|
|
8765
|
+
let R = D, V, v;
|
|
8766
|
+
for (; R--; )
|
|
8767
|
+
if (t.events[R][0] === "exit" && t.events[R][1].type === "chunkFlow") {
|
|
8772
8768
|
if (V) {
|
|
8773
|
-
v = t.events[
|
|
8769
|
+
v = t.events[R][1].end;
|
|
8774
8770
|
break;
|
|
8775
8771
|
}
|
|
8776
8772
|
V = !0;
|
|
@@ -8779,7 +8775,7 @@ function rh(e) {
|
|
|
8779
8775
|
t.events[C][1].end = {
|
|
8780
8776
|
...v
|
|
8781
8777
|
}, C++;
|
|
8782
|
-
Ke(t.events,
|
|
8778
|
+
Ke(t.events, R + 1, 0, t.events.slice(D)), t.events.length = C;
|
|
8783
8779
|
}
|
|
8784
8780
|
}
|
|
8785
8781
|
function k(A) {
|
|
@@ -8803,7 +8799,7 @@ function wn(e) {
|
|
|
8803
8799
|
if (_r(e))
|
|
8804
8800
|
return 2;
|
|
8805
8801
|
}
|
|
8806
|
-
function
|
|
8802
|
+
function Ir(e, t, n) {
|
|
8807
8803
|
const r = [];
|
|
8808
8804
|
let o = -1;
|
|
8809
8805
|
for (; ++o < e.length; ) {
|
|
@@ -8864,7 +8860,7 @@ function ih(e, t) {
|
|
|
8864
8860
|
...i.start
|
|
8865
8861
|
}, e[n][1].start = {
|
|
8866
8862
|
...a.end
|
|
8867
|
-
}, c = [], e[r][1].end.offset - e[r][1].start.offset && (c = nt(c, [["enter", e[r][1], t], ["exit", e[r][1], t]])), c = nt(c, [["enter", o, t], ["enter", i, t], ["exit", i, t], ["enter", l, t]]), c = nt(c,
|
|
8863
|
+
}, c = [], e[r][1].end.offset - e[r][1].start.offset && (c = nt(c, [["enter", e[r][1], t], ["exit", e[r][1], t]])), c = nt(c, [["enter", o, t], ["enter", i, t], ["exit", i, t], ["enter", l, t]]), c = nt(c, Ir(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), c = nt(c, [["exit", l, t], ["enter", a, t], ["exit", a, t], ["exit", o, t]]), e[n][1].end.offset - e[n][1].start.offset ? (f = 2, c = nt(c, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : f = 0, Ke(e, r - 1, n - r + 3, c), n = r + c.length - f - 2;
|
|
8868
8864
|
break;
|
|
8869
8865
|
}
|
|
8870
8866
|
}
|
|
@@ -9075,7 +9071,7 @@ function mh(e, t, n) {
|
|
|
9075
9071
|
function U(C) {
|
|
9076
9072
|
return e.exit("codeFenced"), t(C);
|
|
9077
9073
|
}
|
|
9078
|
-
function H(C, D,
|
|
9074
|
+
function H(C, D, R) {
|
|
9079
9075
|
let V = 0;
|
|
9080
9076
|
return v;
|
|
9081
9077
|
function v(M) {
|
|
@@ -9085,13 +9081,13 @@ function mh(e, t, n) {
|
|
|
9085
9081
|
return C.enter("codeFencedFence"), oe(M) ? se(C, z, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(M) : z(M);
|
|
9086
9082
|
}
|
|
9087
9083
|
function z(M) {
|
|
9088
|
-
return M === a ? (C.enter("codeFencedFenceSequence"), re(M)) :
|
|
9084
|
+
return M === a ? (C.enter("codeFencedFenceSequence"), re(M)) : R(M);
|
|
9089
9085
|
}
|
|
9090
9086
|
function re(M) {
|
|
9091
|
-
return M === a ? (V++, C.consume(M), re) : V >= i ? (C.exit("codeFencedFenceSequence"), oe(M) ? se(C, $, "whitespace")(M) : $(M)) :
|
|
9087
|
+
return M === a ? (V++, C.consume(M), re) : V >= i ? (C.exit("codeFencedFenceSequence"), oe(M) ? se(C, $, "whitespace")(M) : $(M)) : R(M);
|
|
9092
9088
|
}
|
|
9093
9089
|
function $(M) {
|
|
9094
|
-
return M === null || Y(M) ? (C.exit("codeFencedFence"), D(M)) :
|
|
9090
|
+
return M === null || Y(M) ? (C.exit("codeFencedFence"), D(M)) : R(M);
|
|
9095
9091
|
}
|
|
9096
9092
|
}
|
|
9097
9093
|
}
|
|
@@ -9410,7 +9406,7 @@ const Eh = {
|
|
|
9410
9406
|
tokenize: _h
|
|
9411
9407
|
}, qh = {
|
|
9412
9408
|
partial: !0,
|
|
9413
|
-
tokenize:
|
|
9409
|
+
tokenize: Ih
|
|
9414
9410
|
};
|
|
9415
9411
|
function Th(e) {
|
|
9416
9412
|
return Vs(e), e;
|
|
@@ -9436,7 +9432,7 @@ function _h(e, t) {
|
|
|
9436
9432
|
}), n = n.next, o;
|
|
9437
9433
|
}
|
|
9438
9434
|
}
|
|
9439
|
-
function
|
|
9435
|
+
function Ih(e, t, n) {
|
|
9440
9436
|
const r = this;
|
|
9441
9437
|
return o;
|
|
9442
9438
|
function o(i) {
|
|
@@ -9528,7 +9524,7 @@ function Bn(e, t) {
|
|
|
9528
9524
|
return Y(o) ? (e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), n = !0, r) : oe(o) ? se(e, r, n ? "linePrefix" : "lineSuffix")(o) : t(o);
|
|
9529
9525
|
}
|
|
9530
9526
|
}
|
|
9531
|
-
const
|
|
9527
|
+
const Rh = {
|
|
9532
9528
|
name: "definition",
|
|
9533
9529
|
tokenize: Lh
|
|
9534
9530
|
}, Nh = {
|
|
@@ -9781,13 +9777,13 @@ function $h(e, t, n) {
|
|
|
9781
9777
|
return b === 61 ? (e.consume(b), C) : oe(b) ? (e.consume(b), H) : A(b);
|
|
9782
9778
|
}
|
|
9783
9779
|
function C(b) {
|
|
9784
|
-
return b === null || b === 60 || b === 61 || b === 62 || b === 96 ? n(b) : b === 34 || b === 39 ? (e.consume(b), s = b, D) : oe(b) ? (e.consume(b), C) :
|
|
9780
|
+
return b === null || b === 60 || b === 61 || b === 62 || b === 96 ? n(b) : b === 34 || b === 39 ? (e.consume(b), s = b, D) : oe(b) ? (e.consume(b), C) : R(b);
|
|
9785
9781
|
}
|
|
9786
9782
|
function D(b) {
|
|
9787
9783
|
return b === s ? (e.consume(b), s = null, V) : b === null || Y(b) ? n(b) : (e.consume(b), D);
|
|
9788
9784
|
}
|
|
9789
|
-
function
|
|
9790
|
-
return b === null || b === 34 || b === 39 || b === 47 || b === 60 || b === 61 || b === 62 || b === 96 || de(b) ? H(b) : (e.consume(b),
|
|
9785
|
+
function R(b) {
|
|
9786
|
+
return b === null || b === 34 || b === 39 || b === 47 || b === 60 || b === 61 || b === 62 || b === 96 || de(b) ? H(b) : (e.consume(b), R);
|
|
9791
9787
|
}
|
|
9792
9788
|
function V(b) {
|
|
9793
9789
|
return b === 47 || b === 62 || oe(b) ? A(b) : n(b);
|
|
@@ -9864,7 +9860,7 @@ function Xh(e, t, n) {
|
|
|
9864
9860
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(g), s;
|
|
9865
9861
|
}
|
|
9866
9862
|
function s(g) {
|
|
9867
|
-
return g === 33 ? (e.consume(g), c) : g === 47 ? (e.consume(g), H) : g === 63 ? (e.consume(g), A) : ze(g) ? (e.consume(g),
|
|
9863
|
+
return g === 33 ? (e.consume(g), c) : g === 47 ? (e.consume(g), H) : g === 63 ? (e.consume(g), A) : ze(g) ? (e.consume(g), R) : n(g);
|
|
9868
9864
|
}
|
|
9869
9865
|
function c(g) {
|
|
9870
9866
|
return g === 45 ? (e.consume(g), f) : g === 91 ? (e.consume(g), l = 0, m) : ze(g) ? (e.consume(g), E) : n(g);
|
|
@@ -9912,8 +9908,8 @@ function Xh(e, t, n) {
|
|
|
9912
9908
|
function D(g) {
|
|
9913
9909
|
return Y(g) ? (i = D, ae(g)) : oe(g) ? (e.consume(g), D) : Q(g);
|
|
9914
9910
|
}
|
|
9915
|
-
function
|
|
9916
|
-
return g === 45 || Ne(g) ? (e.consume(g),
|
|
9911
|
+
function R(g) {
|
|
9912
|
+
return g === 45 || Ne(g) ? (e.consume(g), R) : g === 47 || g === 62 || de(g) ? V(g) : n(g);
|
|
9917
9913
|
}
|
|
9918
9914
|
function V(g) {
|
|
9919
9915
|
return g === 47 ? (e.consume(g), Q) : g === 58 || g === 95 || ze(g) ? (e.consume(g), v) : Y(g) ? (i = V, ae(g)) : oe(g) ? (e.consume(g), V) : Q(g);
|
|
@@ -10011,7 +10007,7 @@ function em(e, t) {
|
|
|
10011
10007
|
...e[i - 2][1].start
|
|
10012
10008
|
}
|
|
10013
10009
|
};
|
|
10014
|
-
return a = [["enter", s, t], ["enter", c, t]], a = nt(a, e.slice(l + 1, l + r + 3)), a = nt(a, [["enter", f, t]]), a = nt(a,
|
|
10010
|
+
return a = [["enter", s, t], ["enter", c, t]], a = nt(a, e.slice(l + 1, l + r + 3)), a = nt(a, [["enter", f, t]]), a = nt(a, Ir(t.parser.constructs.insideSpan.null, e.slice(l + r + 4, i - 3), t)), a = nt(a, [["exit", f, t], e[i - 2], e[i - 1], ["exit", c, t]]), a = nt(a, e.slice(i + 1)), a = nt(a, [["exit", s, t]]), Ke(e, l, e.length, a), e;
|
|
10015
10011
|
}
|
|
10016
10012
|
function tm(e, t, n) {
|
|
10017
10013
|
const r = this;
|
|
@@ -10421,7 +10417,7 @@ const Em = {
|
|
|
10421
10417
|
57: He,
|
|
10422
10418
|
62: Us
|
|
10423
10419
|
}, qm = {
|
|
10424
|
-
91:
|
|
10420
|
+
91: Rh
|
|
10425
10421
|
}, Tm = {
|
|
10426
10422
|
[-2]: to,
|
|
10427
10423
|
[-1]: to,
|
|
@@ -10435,10 +10431,10 @@ const Em = {
|
|
|
10435
10431
|
95: xr,
|
|
10436
10432
|
96: Al,
|
|
10437
10433
|
126: Al
|
|
10438
|
-
},
|
|
10434
|
+
}, Im = {
|
|
10439
10435
|
38: js,
|
|
10440
10436
|
92: Hs
|
|
10441
|
-
},
|
|
10437
|
+
}, Rm = {
|
|
10442
10438
|
[-5]: no,
|
|
10443
10439
|
[-4]: no,
|
|
10444
10440
|
[-3]: no,
|
|
@@ -10466,8 +10462,8 @@ const Em = {
|
|
|
10466
10462
|
flow: _m,
|
|
10467
10463
|
flowInitial: Tm,
|
|
10468
10464
|
insideSpan: Nm,
|
|
10469
|
-
string:
|
|
10470
|
-
text:
|
|
10465
|
+
string: Im,
|
|
10466
|
+
text: Rm
|
|
10471
10467
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10472
10468
|
function Mm(e, t, n) {
|
|
10473
10469
|
let r = {
|
|
@@ -10503,7 +10499,7 @@ function Mm(e, t, n) {
|
|
|
10503
10499
|
let f = t.tokenize.call(c, s);
|
|
10504
10500
|
return t.resolveAll && l.push(t), c;
|
|
10505
10501
|
function u(P) {
|
|
10506
|
-
return i = nt(i, P), S(), i[i.length - 1] !== null ? [] : (
|
|
10502
|
+
return i = nt(i, P), S(), i[i.length - 1] !== null ? [] : (R(t, 0), c.events = Ir(l, c.events, c), c.events);
|
|
10507
10503
|
}
|
|
10508
10504
|
function d(P, z) {
|
|
10509
10505
|
return zm(p(P), z);
|
|
@@ -10559,7 +10555,7 @@ function Mm(e, t, n) {
|
|
|
10559
10555
|
return z.end = m(), c.events.push(["exit", z, c]), z;
|
|
10560
10556
|
}
|
|
10561
10557
|
function H(P, z) {
|
|
10562
|
-
|
|
10558
|
+
R(P, z.from);
|
|
10563
10559
|
}
|
|
10564
10560
|
function C(P, z) {
|
|
10565
10561
|
z.restore();
|
|
@@ -10615,7 +10611,7 @@ function Mm(e, t, n) {
|
|
|
10615
10611
|
}
|
|
10616
10612
|
}
|
|
10617
10613
|
}
|
|
10618
|
-
function
|
|
10614
|
+
function R(P, z) {
|
|
10619
10615
|
P.resolveAll && !l.includes(P) && l.push(P), P.resolve && Ke(c.events, z, c.events.length - z, P.resolve(c.events.slice(z), c)), P.resolveTo && (c.events = P.resolveTo(c.events, c));
|
|
10620
10616
|
}
|
|
10621
10617
|
function V() {
|
|
@@ -10786,11 +10782,11 @@ function Wm(e) {
|
|
|
10786
10782
|
codeTextData: V,
|
|
10787
10783
|
data: V,
|
|
10788
10784
|
codeFlowValue: V,
|
|
10789
|
-
definition: l(
|
|
10785
|
+
definition: l(It),
|
|
10790
10786
|
definitionDestinationString: i,
|
|
10791
10787
|
definitionLabelString: i,
|
|
10792
10788
|
definitionTitleString: i,
|
|
10793
|
-
emphasis: l(
|
|
10789
|
+
emphasis: l(Rt),
|
|
10794
10790
|
hardBreakEscape: l(fe),
|
|
10795
10791
|
hardBreakTrailing: l(fe),
|
|
10796
10792
|
htmlFlow: l(ln, i),
|
|
@@ -10858,7 +10854,7 @@ function Wm(e) {
|
|
|
10858
10854
|
resourceDestinationString: g,
|
|
10859
10855
|
resourceTitleString: Ae,
|
|
10860
10856
|
resource: De,
|
|
10861
|
-
setextHeading: s(
|
|
10857
|
+
setextHeading: s(R),
|
|
10862
10858
|
setextHeadingLineSequence: D,
|
|
10863
10859
|
setextHeadingText: C,
|
|
10864
10860
|
strong: s(),
|
|
@@ -11059,7 +11055,7 @@ function Wm(e) {
|
|
|
11059
11055
|
const O = this.stack[this.stack.length - 1];
|
|
11060
11056
|
O.depth = this.sliceSerialize(q).codePointAt(0) === 61 ? 1 : 2;
|
|
11061
11057
|
}
|
|
11062
|
-
function
|
|
11058
|
+
function R() {
|
|
11063
11059
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
11064
11060
|
}
|
|
11065
11061
|
function V(q) {
|
|
@@ -11191,7 +11187,7 @@ function Wm(e) {
|
|
|
11191
11187
|
value: ""
|
|
11192
11188
|
};
|
|
11193
11189
|
}
|
|
11194
|
-
function
|
|
11190
|
+
function It() {
|
|
11195
11191
|
return {
|
|
11196
11192
|
type: "definition",
|
|
11197
11193
|
identifier: "",
|
|
@@ -11200,7 +11196,7 @@ function Wm(e) {
|
|
|
11200
11196
|
url: ""
|
|
11201
11197
|
};
|
|
11202
11198
|
}
|
|
11203
|
-
function
|
|
11199
|
+
function Rt() {
|
|
11204
11200
|
return {
|
|
11205
11201
|
type: "emphasis",
|
|
11206
11202
|
children: []
|
|
@@ -11586,7 +11582,7 @@ function hg(e, t) {
|
|
|
11586
11582
|
tagName: "tbody",
|
|
11587
11583
|
properties: {},
|
|
11588
11584
|
children: e.wrap(n, !0)
|
|
11589
|
-
}, a = pi(t.children[1]), s =
|
|
11585
|
+
}, a = pi(t.children[1]), s = Rs(t.children[t.children.length - 1]);
|
|
11590
11586
|
a && s && (i.position = { start: a, end: s }), o.push(i);
|
|
11591
11587
|
}
|
|
11592
11588
|
const l = {
|
|
@@ -11625,7 +11621,7 @@ function gg(e, t) {
|
|
|
11625
11621
|
};
|
|
11626
11622
|
return e.patch(t, n), e.applyData(t, n);
|
|
11627
11623
|
}
|
|
11628
|
-
const
|
|
11624
|
+
const Il = 9, Rl = 32;
|
|
11629
11625
|
function bg(e) {
|
|
11630
11626
|
const t = String(e), n = /\r?\n|\r/g;
|
|
11631
11627
|
let r = n.exec(t), o = 0;
|
|
@@ -11641,12 +11637,12 @@ function Nl(e, t, n) {
|
|
|
11641
11637
|
let r = 0, o = e.length;
|
|
11642
11638
|
if (t) {
|
|
11643
11639
|
let l = e.codePointAt(r);
|
|
11644
|
-
for (; l ===
|
|
11640
|
+
for (; l === Il || l === Rl; )
|
|
11645
11641
|
r++, l = e.codePointAt(r);
|
|
11646
11642
|
}
|
|
11647
11643
|
if (n) {
|
|
11648
11644
|
let l = e.codePointAt(o - 1);
|
|
11649
|
-
for (; l ===
|
|
11645
|
+
for (; l === Il || l === Rl; )
|
|
11650
11646
|
o--, l = e.codePointAt(o - 1);
|
|
11651
11647
|
}
|
|
11652
11648
|
return o > r ? e.slice(r, o) : "";
|
|
@@ -11696,7 +11692,7 @@ const wg = {
|
|
|
11696
11692
|
};
|
|
11697
11693
|
function pr() {
|
|
11698
11694
|
}
|
|
11699
|
-
const ec = -1,
|
|
11695
|
+
const ec = -1, Rr = 0, Un = 1, vr = 2, xi = 3, wi = 4, ki = 5, Si = 6, tc = 7, nc = 8, rc = typeof self == "object" ? self : globalThis, Ll = (e, t) => {
|
|
11700
11696
|
switch (e) {
|
|
11701
11697
|
case "Function":
|
|
11702
11698
|
case "SharedWorker":
|
|
@@ -11713,7 +11709,7 @@ const ec = -1, Ir = 0, Un = 1, vr = 2, xi = 3, wi = 4, ki = 5, Si = 6, tc = 7, n
|
|
|
11713
11709
|
return e.get(o);
|
|
11714
11710
|
const [l, i] = t[o];
|
|
11715
11711
|
switch (l) {
|
|
11716
|
-
case
|
|
11712
|
+
case Rr:
|
|
11717
11713
|
case ec:
|
|
11718
11714
|
return n(i, o);
|
|
11719
11715
|
case Un: {
|
|
@@ -11770,7 +11766,7 @@ const ec = -1, Ir = 0, Un = 1, vr = 2, xi = 3, wi = 4, ki = 5, Si = 6, tc = 7, n
|
|
|
11770
11766
|
}, Pl = (e) => kg(/* @__PURE__ */ new Map(), e)(0), Kt = "", { toString: Sg } = {}, { keys: vg } = Object, Pn = (e) => {
|
|
11771
11767
|
const t = typeof e;
|
|
11772
11768
|
if (t !== "object" || !e)
|
|
11773
|
-
return [
|
|
11769
|
+
return [Rr, t];
|
|
11774
11770
|
const n = Sg.call(e).slice(8, -1);
|
|
11775
11771
|
switch (n) {
|
|
11776
11772
|
case "Array":
|
|
@@ -11789,7 +11785,7 @@ const ec = -1, Ir = 0, Un = 1, vr = 2, xi = 3, wi = 4, ki = 5, Si = 6, tc = 7, n
|
|
|
11789
11785
|
return [Un, n];
|
|
11790
11786
|
}
|
|
11791
11787
|
return n.includes("Array") ? [Un, n] : e instanceof Error ? [tc, e.name || "Error"] : [vr, n];
|
|
11792
|
-
}, dr = ([e, t]) => e ===
|
|
11788
|
+
}, dr = ([e, t]) => e === Rr && (t === "function" || t === "symbol"), Cg = (e, t, n, r) => {
|
|
11793
11789
|
const o = (i, a) => {
|
|
11794
11790
|
const s = r.push(i) - 1;
|
|
11795
11791
|
return n.set(a, s), s;
|
|
@@ -11798,7 +11794,7 @@ const ec = -1, Ir = 0, Un = 1, vr = 2, xi = 3, wi = 4, ki = 5, Si = 6, tc = 7, n
|
|
|
11798
11794
|
return n.get(i);
|
|
11799
11795
|
let [a, s] = Pn(i);
|
|
11800
11796
|
switch (a) {
|
|
11801
|
-
case
|
|
11797
|
+
case Rr: {
|
|
11802
11798
|
let f = i;
|
|
11803
11799
|
switch (s) {
|
|
11804
11800
|
case "bigint":
|
|
@@ -11972,7 +11968,7 @@ const Nr = (
|
|
|
11972
11968
|
*/
|
|
11973
11969
|
(function(e) {
|
|
11974
11970
|
if (e == null)
|
|
11975
|
-
return
|
|
11971
|
+
return Rg;
|
|
11976
11972
|
if (typeof e == "function")
|
|
11977
11973
|
return Lr(e);
|
|
11978
11974
|
if (typeof e == "object")
|
|
@@ -11985,7 +11981,7 @@ const Nr = (
|
|
|
11985
11981
|
)
|
|
11986
11982
|
);
|
|
11987
11983
|
if (typeof e == "string")
|
|
11988
|
-
return
|
|
11984
|
+
return Ig(e);
|
|
11989
11985
|
throw new Error("Expected function, string, or object as test");
|
|
11990
11986
|
})
|
|
11991
11987
|
);
|
|
@@ -12020,7 +12016,7 @@ function _g(e) {
|
|
|
12020
12016
|
return !0;
|
|
12021
12017
|
}
|
|
12022
12018
|
}
|
|
12023
|
-
function
|
|
12019
|
+
function Ig(e) {
|
|
12024
12020
|
return Lr(t);
|
|
12025
12021
|
function t(n) {
|
|
12026
12022
|
return n && n.type === e;
|
|
@@ -12037,7 +12033,7 @@ function Lr(e) {
|
|
|
12037
12033
|
));
|
|
12038
12034
|
}
|
|
12039
12035
|
}
|
|
12040
|
-
function
|
|
12036
|
+
function Rg() {
|
|
12041
12037
|
return !0;
|
|
12042
12038
|
}
|
|
12043
12039
|
function Ng(e) {
|
|
@@ -12259,7 +12255,7 @@ function jg() {
|
|
|
12259
12255
|
}, ro;
|
|
12260
12256
|
}
|
|
12261
12257
|
var Vg = jg();
|
|
12262
|
-
const oo = /* @__PURE__ */
|
|
12258
|
+
const oo = /* @__PURE__ */ Is(Vg);
|
|
12263
12259
|
function jo(e) {
|
|
12264
12260
|
if (typeof e != "object" || e === null)
|
|
12265
12261
|
return !1;
|
|
@@ -13463,7 +13459,7 @@ function gb(e, t) {
|
|
|
13463
13459
|
const n = t.allowedElements, r = t.allowElement, o = t.components, l = t.disallowedElements, i = t.skipHtml, a = t.unwrapDisallowed, s = t.urlTransform || bb;
|
|
13464
13460
|
for (const f of pb)
|
|
13465
13461
|
Object.hasOwn(t, f.from) && ("" + f.from + (f.to ? "use `" + f.to + "` instead" : "remove it") + ub + f.id, void 0);
|
|
13466
|
-
return vi(e, c),
|
|
13462
|
+
return vi(e, c), Id(e, {
|
|
13467
13463
|
Fragment: Ft,
|
|
13468
13464
|
components: o,
|
|
13469
13465
|
ignoreInvalidStyle: !0,
|
|
@@ -13942,14 +13938,14 @@ function _b(e) {
|
|
|
13942
13938
|
let r = -1;
|
|
13943
13939
|
for (; ++r < n.length; ) {
|
|
13944
13940
|
const o = n[r];
|
|
13945
|
-
t.push([
|
|
13941
|
+
t.push([Ib(o[0]), Rb(o[1])]);
|
|
13946
13942
|
}
|
|
13947
13943
|
return t;
|
|
13948
13944
|
}
|
|
13949
|
-
function
|
|
13945
|
+
function Ib(e) {
|
|
13950
13946
|
return typeof e == "string" ? new RegExp(Tb(e), "g") : e;
|
|
13951
13947
|
}
|
|
13952
|
-
function
|
|
13948
|
+
function Rb(e) {
|
|
13953
13949
|
return typeof e == "function" ? e : function() {
|
|
13954
13950
|
return e;
|
|
13955
13951
|
};
|
|
@@ -14602,7 +14598,7 @@ function yc(e, t, n, r) {
|
|
|
14602
14598
|
function _y() {
|
|
14603
14599
|
return "!";
|
|
14604
14600
|
}
|
|
14605
|
-
xc.peek =
|
|
14601
|
+
xc.peek = Iy;
|
|
14606
14602
|
function xc(e, t, n) {
|
|
14607
14603
|
let r = e.value || "", o = "`", l = -1;
|
|
14608
14604
|
for (; new RegExp("(^|[^`])" + o + "([^`]|$)").test(r); )
|
|
@@ -14618,7 +14614,7 @@ function xc(e, t, n) {
|
|
|
14618
14614
|
}
|
|
14619
14615
|
return o + r + o;
|
|
14620
14616
|
}
|
|
14621
|
-
function
|
|
14617
|
+
function Iy() {
|
|
14622
14618
|
return "`";
|
|
14623
14619
|
}
|
|
14624
14620
|
function wc(e, t) {
|
|
@@ -14632,7 +14628,7 @@ function wc(e, t) {
|
|
|
14632
14628
|
// references don’t work), space, or angle brackets…
|
|
14633
14629
|
!/[\0- <>\u007F]/.test(e.url));
|
|
14634
14630
|
}
|
|
14635
|
-
kc.peek =
|
|
14631
|
+
kc.peek = Ry;
|
|
14636
14632
|
function kc(e, t, n, r) {
|
|
14637
14633
|
const o = Ai(n), l = o === '"' ? "Quote" : "Apostrophe", i = n.createTracker(r);
|
|
14638
14634
|
let a, s;
|
|
@@ -14674,7 +14670,7 @@ function kc(e, t, n, r) {
|
|
|
14674
14670
|
})
|
|
14675
14671
|
), c += i.move(o), s()), c += i.move(")"), a(), c;
|
|
14676
14672
|
}
|
|
14677
|
-
function
|
|
14673
|
+
function Ry(e, t, n) {
|
|
14678
14674
|
return wc(e, n) ? "<" : "[";
|
|
14679
14675
|
}
|
|
14680
14676
|
Sc.peek = Ny;
|
|
@@ -15117,8 +15113,8 @@ const ix = {
|
|
|
15117
15113
|
}, _c = {
|
|
15118
15114
|
name: "wwwAutolink",
|
|
15119
15115
|
tokenize: cx,
|
|
15120
|
-
previous:
|
|
15121
|
-
},
|
|
15116
|
+
previous: Rc
|
|
15117
|
+
}, Ic = {
|
|
15122
15118
|
name: "protocolAutolink",
|
|
15123
15119
|
tokenize: ux,
|
|
15124
15120
|
previous: Nc
|
|
@@ -15139,8 +15135,8 @@ xt[43] = Tt;
|
|
|
15139
15135
|
xt[45] = Tt;
|
|
15140
15136
|
xt[46] = Tt;
|
|
15141
15137
|
xt[95] = Tt;
|
|
15142
|
-
xt[72] = [Tt,
|
|
15143
|
-
xt[104] = [Tt,
|
|
15138
|
+
xt[72] = [Tt, Ic];
|
|
15139
|
+
xt[104] = [Tt, Ic];
|
|
15144
15140
|
xt[87] = [Tt, _c];
|
|
15145
15141
|
xt[119] = [Tt, _c];
|
|
15146
15142
|
function sx(e, t, n) {
|
|
@@ -15167,7 +15163,7 @@ function cx(e, t, n) {
|
|
|
15167
15163
|
const r = this;
|
|
15168
15164
|
return o;
|
|
15169
15165
|
function o(i) {
|
|
15170
|
-
return i !== 87 && i !== 119 || !
|
|
15166
|
+
return i !== 87 && i !== 119 || !Rc.call(r, r.previous) || qi(r.events) ? n(i) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check(ix, e.attempt(Ec, e.attempt(qc, l), n), n)(i));
|
|
15171
15167
|
}
|
|
15172
15168
|
function l(i) {
|
|
15173
15169
|
return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(i);
|
|
@@ -15261,7 +15257,7 @@ function mx(e, t, n) {
|
|
|
15261
15257
|
return Ne(l) ? n(l) : t(l);
|
|
15262
15258
|
}
|
|
15263
15259
|
}
|
|
15264
|
-
function
|
|
15260
|
+
function Rc(e) {
|
|
15265
15261
|
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || de(e);
|
|
15266
15262
|
}
|
|
15267
15263
|
function Nc(e) {
|
|
@@ -15509,7 +15505,7 @@ function Ax(e) {
|
|
|
15509
15505
|
start: Object.assign({}, i[c][1].end),
|
|
15510
15506
|
end: Object.assign({}, i[s][1].start)
|
|
15511
15507
|
}, d = [["enter", f, a], ["enter", i[c][1], a], ["exit", i[c][1], a], ["enter", u, a]], p = a.parser.constructs.insideSpan.null;
|
|
15512
|
-
p && Ke(d, d.length, 0,
|
|
15508
|
+
p && Ke(d, d.length, 0, Ir(p, i.slice(c + 1, s), a)), Ke(d, d.length, 0, [["exit", u, a], ["enter", i[s][1], a], ["exit", i[s][1], a], ["exit", f, a]]), Ke(i, c - 1, s - c + 3, d), s = c + d.length - 2;
|
|
15513
15509
|
break;
|
|
15514
15510
|
}
|
|
15515
15511
|
}
|
|
@@ -15627,13 +15623,13 @@ function _x() {
|
|
|
15627
15623
|
flow: {
|
|
15628
15624
|
null: {
|
|
15629
15625
|
name: "table",
|
|
15630
|
-
tokenize:
|
|
15631
|
-
resolveAll:
|
|
15626
|
+
tokenize: Ix,
|
|
15627
|
+
resolveAll: Rx
|
|
15632
15628
|
}
|
|
15633
15629
|
}
|
|
15634
15630
|
};
|
|
15635
15631
|
}
|
|
15636
|
-
function
|
|
15632
|
+
function Ix(e, t, n) {
|
|
15637
15633
|
const r = this;
|
|
15638
15634
|
let o = 0, l = 0, i;
|
|
15639
15635
|
return a;
|
|
@@ -15694,16 +15690,16 @@ function Rx(e, t, n) {
|
|
|
15694
15690
|
return e.enter("tableRow"), D(v);
|
|
15695
15691
|
}
|
|
15696
15692
|
function D(v) {
|
|
15697
|
-
return v === 124 ? (e.enter("tableCellDivider"), e.consume(v), e.exit("tableCellDivider"), D) : v === null || Y(v) ? (e.exit("tableRow"), t(v)) : oe(v) ? se(e, D, "whitespace")(v) : (e.enter("data"),
|
|
15693
|
+
return v === 124 ? (e.enter("tableCellDivider"), e.consume(v), e.exit("tableCellDivider"), D) : v === null || Y(v) ? (e.exit("tableRow"), t(v)) : oe(v) ? se(e, D, "whitespace")(v) : (e.enter("data"), R(v));
|
|
15698
15694
|
}
|
|
15699
|
-
function
|
|
15700
|
-
return v === null || v === 124 || de(v) ? (e.exit("data"), D(v)) : (e.consume(v), v === 92 ? V :
|
|
15695
|
+
function R(v) {
|
|
15696
|
+
return v === null || v === 124 || de(v) ? (e.exit("data"), D(v)) : (e.consume(v), v === 92 ? V : R);
|
|
15701
15697
|
}
|
|
15702
15698
|
function V(v) {
|
|
15703
|
-
return v === 92 || v === 124 ? (e.consume(v),
|
|
15699
|
+
return v === 92 || v === 124 ? (e.consume(v), R) : R(v);
|
|
15704
15700
|
}
|
|
15705
15701
|
}
|
|
15706
|
-
function
|
|
15702
|
+
function Rx(e, t) {
|
|
15707
15703
|
let n = -1, r = !0, o = 0, l = [0, 0, 0, 0], i = [0, 0, 0, 0], a = !1, s = 0, c, f, u;
|
|
15708
15704
|
const d = new Ex();
|
|
15709
15705
|
for (; ++n < e.length; ) {
|
|
@@ -15915,8 +15911,10 @@ class na extends Error {
|
|
|
15915
15911
|
class Qt extends Error {
|
|
15916
15912
|
status;
|
|
15917
15913
|
response;
|
|
15918
|
-
|
|
15919
|
-
|
|
15914
|
+
/** The failed API call, e.g. `POST /v3/chat/<chat_id>`; unset for external URLs. */
|
|
15915
|
+
endpoint;
|
|
15916
|
+
constructor(t, n, r, o) {
|
|
15917
|
+
super(n), this.name = "ServerError", this.status = t, this.response = r, this.endpoint = o;
|
|
15920
15918
|
}
|
|
15921
15919
|
}
|
|
15922
15920
|
const Xx = "x-elo-chat-token", ra = "x-elo-chat-token-renewed";
|
|
@@ -15967,8 +15965,20 @@ class Fk {
|
|
|
15967
15965
|
} catch (i) {
|
|
15968
15966
|
console.error("Error parsing JSON response:", i);
|
|
15969
15967
|
}
|
|
15970
|
-
if (!r.ok)
|
|
15971
|
-
|
|
15968
|
+
if (!r.ok) {
|
|
15969
|
+
const i = `${n.method ?? "GET"} ${t}`;
|
|
15970
|
+
throw r.status >= 500 ? new Qt(
|
|
15971
|
+
r.status,
|
|
15972
|
+
"API error",
|
|
15973
|
+
l,
|
|
15974
|
+
i
|
|
15975
|
+
) : new Qt(
|
|
15976
|
+
r.status,
|
|
15977
|
+
"HTTP error",
|
|
15978
|
+
l,
|
|
15979
|
+
i
|
|
15980
|
+
);
|
|
15981
|
+
}
|
|
15972
15982
|
return l;
|
|
15973
15983
|
}
|
|
15974
15984
|
async get(t) {
|
|
@@ -16009,7 +16019,8 @@ class Fk {
|
|
|
16009
16019
|
new Qt(
|
|
16010
16020
|
i.status,
|
|
16011
16021
|
i.status >= 500 ? "API error" : "HTTP error",
|
|
16012
|
-
i.response
|
|
16022
|
+
i.response,
|
|
16023
|
+
`POST ${t}`
|
|
16013
16024
|
)
|
|
16014
16025
|
);
|
|
16015
16026
|
}), i.send(n);
|
|
@@ -16795,11 +16806,11 @@ function kw(e, t) {
|
|
|
16795
16806
|
}
|
|
16796
16807
|
}
|
|
16797
16808
|
const Wc = Object.entries, la = Object.setPrototypeOf, Sw = Object.isFrozen, Gc = Object.getPrototypeOf, Yc = Object.getOwnPropertyDescriptor;
|
|
16798
|
-
let qe = Object.freeze,
|
|
16809
|
+
let qe = Object.freeze, Re = Object.seal, yn = Object.create, Xc = typeof Reflect < "u" && Reflect, Wo = Xc.apply, Go = Xc.construct;
|
|
16799
16810
|
qe || (qe = function(t) {
|
|
16800
16811
|
return t;
|
|
16801
16812
|
});
|
|
16802
|
-
|
|
16813
|
+
Re || (Re = function(t) {
|
|
16803
16814
|
return t;
|
|
16804
16815
|
});
|
|
16805
16816
|
Wo || (Wo = function(t, n) {
|
|
@@ -16810,7 +16821,7 @@ Go || (Go = function(t) {
|
|
|
16810
16821
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) r[o - 1] = arguments[o];
|
|
16811
16822
|
return new t(...r);
|
|
16812
16823
|
});
|
|
16813
|
-
const St = ge(Array.prototype.forEach), vw = ge(Array.prototype.lastIndexOf), aa = ge(Array.prototype.pop), Dn = ge(Array.prototype.push), Cw = ge(Array.prototype.slice), Aw = ge(Array.prototype.splice), xn = Array.isArray, go = Kc(Set), bo = ge(Set.prototype.add), Mn = ge(Set.prototype.has), Jt = ge(String.prototype.toLowerCase), yo = ge(String.prototype.toString), sa = ge(String.prototype.match), On = ge(String.prototype.replace), ca = ge(String.prototype.indexOf), Ew = ge(String.prototype.trim), qw = ge(Number.prototype.toString), Tw = ge(Boolean.prototype.toString), ua = typeof BigInt > "u" ? null : ge(BigInt.prototype.toString), fa = typeof Symbol > "u" ? null : ge(Symbol.prototype.toString), je = ge(Object.prototype.hasOwnProperty), zn = ge(Object.prototype.toString),
|
|
16824
|
+
const St = ge(Array.prototype.forEach), vw = ge(Array.prototype.lastIndexOf), aa = ge(Array.prototype.pop), Dn = ge(Array.prototype.push), Cw = ge(Array.prototype.slice), Aw = ge(Array.prototype.splice), xn = Array.isArray, go = Kc(Set), bo = ge(Set.prototype.add), Mn = ge(Set.prototype.has), Jt = ge(String.prototype.toLowerCase), yo = ge(String.prototype.toString), sa = ge(String.prototype.match), On = ge(String.prototype.replace), ca = ge(String.prototype.indexOf), Ew = ge(String.prototype.trim), qw = ge(Number.prototype.toString), Tw = ge(Boolean.prototype.toString), ua = typeof BigInt > "u" ? null : ge(BigInt.prototype.toString), fa = typeof Symbol > "u" ? null : ge(Symbol.prototype.toString), je = ge(Object.prototype.hasOwnProperty), zn = ge(Object.prototype.toString), Ie = ge(RegExp.prototype.test), vt = Kc(TypeError);
|
|
16814
16825
|
function ge(e) {
|
|
16815
16826
|
return function(t) {
|
|
16816
16827
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -16851,7 +16862,7 @@ function Xe(e) {
|
|
|
16851
16862
|
}
|
|
16852
16863
|
return t;
|
|
16853
16864
|
}
|
|
16854
|
-
function
|
|
16865
|
+
function Iw(e) {
|
|
16855
16866
|
switch (typeof e) {
|
|
16856
16867
|
case "string":
|
|
16857
16868
|
return e;
|
|
@@ -16893,7 +16904,7 @@ function tt(e, t) {
|
|
|
16893
16904
|
}
|
|
16894
16905
|
return n;
|
|
16895
16906
|
}
|
|
16896
|
-
function
|
|
16907
|
+
function Rw(e, t) {
|
|
16897
16908
|
for (; e !== null; ) {
|
|
16898
16909
|
const n = Yc(e, t);
|
|
16899
16910
|
if (n) return n.get ? ge(n.get) : null;
|
|
@@ -16903,7 +16914,7 @@ function Iw(e, t) {
|
|
|
16903
16914
|
}
|
|
16904
16915
|
function Nw(e) {
|
|
16905
16916
|
try {
|
|
16906
|
-
return
|
|
16917
|
+
return Ie(e, ""), !0;
|
|
16907
16918
|
} catch {
|
|
16908
16919
|
return !1;
|
|
16909
16920
|
}
|
|
@@ -17545,7 +17556,7 @@ const pa = qe([
|
|
|
17545
17556
|
"xlink:title",
|
|
17546
17557
|
"xml:space",
|
|
17547
17558
|
"xmlns:xlink"
|
|
17548
|
-
]), Dw =
|
|
17559
|
+
]), Dw = Re(/{{[\w\W]*|^[\w\W]*}}/g), Mw = Re(/<%[\w\W]*|^[\w\W]*%>/g), Ow = Re(/\${[\w\W]*/g), zw = Re(/^data-[\-\w.\u00B7-\uFFFF]+$/), Fw = Re(/^aria-[\-\w]+$/), ga = Re(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Bw = Re(/^(?:\w+script|data):/i), Uw = Re(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Hw = Re(/^html$/i), jw = Re(/^[a-z][.\w]*(-[.\w]+)+$/i), vo = Re(/<[/\w!]/g), ba = Re(/<[/\w]/g), Vw = Re(/<\/no(script|embed|frames)/i), ya = Re(/\/>/i), we = {
|
|
17549
17560
|
element: 1,
|
|
17550
17561
|
attribute: 2,
|
|
17551
17562
|
text: 3,
|
|
@@ -17607,7 +17618,7 @@ const pa = qe([
|
|
|
17607
17618
|
};
|
|
17608
17619
|
function Jc() {
|
|
17609
17620
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ww();
|
|
17610
|
-
const t = (
|
|
17621
|
+
const t = (I) => Jc(I);
|
|
17611
17622
|
if (t.version = "3.4.17", t.removed = [], !e || !e.document || e.document.nodeType !== we.document || !e.Element)
|
|
17612
17623
|
return t.isSupported = !1, t;
|
|
17613
17624
|
let n = e.document;
|
|
@@ -17617,14 +17628,14 @@ function Jc() {
|
|
|
17617
17628
|
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
17618
17629
|
const c = e.DOMParser, f = e.trustedTypes, u = a.prototype, d = tt(u, "cloneNode"), p = tt(u, "remove"), m = tt(u, "removeAttributeNode"), y = tt(u, "nextSibling"), S = tt(u, "childNodes"), k = tt(u, "parentNode"), E = tt(u, "shadowRoot"), A = tt(u, "attributes"), U = i && i.prototype ? tt(i.prototype, "nodeType") : null, H = i && i.prototype ? tt(i.prototype, "nodeName") : null, C = i && i.prototype ? tt(i.prototype, "ownerDocument") : null, D = function(h) {
|
|
17619
17630
|
return U ? U(h) : h.nodeType;
|
|
17620
|
-
},
|
|
17631
|
+
}, R = function(h) {
|
|
17621
17632
|
return H ? H(h) : h.nodeName;
|
|
17622
|
-
}, V =
|
|
17633
|
+
}, V = Rw(u, "namespaceURI"), v = function(h) {
|
|
17623
17634
|
return V ? V(h) : h.namespaceURI;
|
|
17624
17635
|
};
|
|
17625
17636
|
if (typeof l == "function") {
|
|
17626
|
-
const
|
|
17627
|
-
|
|
17637
|
+
const I = n.createElement("template");
|
|
17638
|
+
I.content && I.content.ownerDocument && (n = I.content.ownerDocument);
|
|
17628
17639
|
}
|
|
17629
17640
|
let P, z = "", re, $ = !1, M = 0;
|
|
17630
17641
|
const Q = function() {
|
|
@@ -17648,7 +17659,7 @@ function Jc() {
|
|
|
17648
17659
|
}, g = n, Ae = g.implementation, De = g.createNodeIterator, b = g.createDocumentFragment, _e = g.getElementsByTagName, me = r.importNode;
|
|
17649
17660
|
let j = xa();
|
|
17650
17661
|
t.isSupported = typeof Wc == "function" && typeof k == "function" && Ae && Ae.createHTMLDocument !== void 0;
|
|
17651
|
-
const Je = Dw, We = Mw, ue = Ow, lt = zw, at = Fw, _t = Bw,
|
|
17662
|
+
const Je = Dw, We = Mw, ue = Ow, lt = zw, at = Fw, _t = Bw, It = Uw, Rt = jw;
|
|
17652
17663
|
let Cn = ga, fe = null;
|
|
17653
17664
|
const ln = ce({}, [
|
|
17654
17665
|
...pa,
|
|
@@ -17699,9 +17710,9 @@ function Jc() {
|
|
|
17699
17710
|
}
|
|
17700
17711
|
}));
|
|
17701
17712
|
let tr = !0, An = !0, q = !1, O = !0, G = !1, Z = !0, le = !1, Me = !1, Qe = null, Fe = null, wt = !1, Ze = !1, Ee = !1, st = !1, et = !0, _i = !1;
|
|
17702
|
-
const
|
|
17713
|
+
const Ii = "user-content-";
|
|
17703
17714
|
let Pr = !0, Dr = !1, $t = null, sn = {}, Wt = null;
|
|
17704
|
-
const
|
|
17715
|
+
const Ri = ce({}, [
|
|
17705
17716
|
"annotation-xml",
|
|
17706
17717
|
"audio",
|
|
17707
17718
|
"colgroup",
|
|
@@ -17791,9 +17802,9 @@ function Jc() {
|
|
|
17791
17802
|
}), Ni = Mt(h, "ADD_DATA_URI_TAGS", Li, {
|
|
17792
17803
|
transform: ye,
|
|
17793
17804
|
base: Li
|
|
17794
|
-
}), Wt = Mt(h, "FORBID_CONTENTS",
|
|
17805
|
+
}), Wt = Mt(h, "FORBID_CONTENTS", Ri, { transform: ye }), Vt = Mt(h, "FORBID_TAGS", Xe({}), { transform: ye }), er = Mt(h, "FORBID_ATTR", Xe({}), { transform: ye }), sn = je(h, "USE_PROFILES") ? h.USE_PROFILES && typeof h.USE_PROFILES == "object" ? Xe(h.USE_PROFILES) : h.USE_PROFILES : !1, tr = h.ALLOW_ARIA_ATTR !== !1, An = h.ALLOW_DATA_ATTR !== !1, q = h.ALLOW_UNKNOWN_PROTOCOLS || !1, O = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, G = h.SAFE_FOR_TEMPLATES || !1, Z = h.SAFE_FOR_XML !== !1, le = h.WHOLE_DOCUMENT || !1, Ze = h.RETURN_DOM || !1, Ee = h.RETURN_DOM_FRAGMENT || !1, st = h.RETURN_TRUSTED_TYPE || !1, wt = h.FORCE_BODY || !1, et = h.SANITIZE_DOM !== !1, _i = h.SANITIZE_NAMED_PROPS || !1, Pr = h.KEEP_CONTENT !== !1, Dr = h.IN_PLACE || !1, Cn = Nw(h.ALLOWED_URI_REGEXP) ? h.ALLOWED_URI_REGEXP : ga, cn = typeof h.NAMESPACE == "string" ? h.NAMESPACE : ht, zr = Co(h, "MATHML_TEXT_INTEGRATION_POINTS", () => ce({}, Mi)), Fr = Co(h, "HTML_INTEGRATION_POINTS", () => ce({}, Oi));
|
|
17795
17806
|
const x = Co(h, "CUSTOM_ELEMENT_HANDLING", () => yn(null));
|
|
17796
|
-
if (Ge = yn(null), je(x, "tagNameCheck") && zi(x.tagNameCheck) && (Ge.tagNameCheck = x.tagNameCheck), je(x, "attributeNameCheck") && zi(x.attributeNameCheck) && (Ge.attributeNameCheck = x.attributeNameCheck), je(x, "allowCustomizedBuiltInElements") && typeof x.allowCustomizedBuiltInElements == "boolean" && (Ge.allowCustomizedBuiltInElements = x.allowCustomizedBuiltInElements),
|
|
17807
|
+
if (Ge = yn(null), je(x, "tagNameCheck") && zi(x.tagNameCheck) && (Ge.tagNameCheck = x.tagNameCheck), je(x, "attributeNameCheck") && zi(x.attributeNameCheck) && (Ge.attributeNameCheck = x.attributeNameCheck), je(x, "allowCustomizedBuiltInElements") && typeof x.allowCustomizedBuiltInElements == "boolean" && (Ge.allowCustomizedBuiltInElements = x.allowCustomizedBuiltInElements), Re(Ge), G && (An = !1), Ee && (Ze = !0), sn && (fe = ce({}, da), he = yn(null), sn.html === !0 && (ce(fe, pa), ce(he, ha)), sn.svg === !0 && (ce(fe, xo), ce(he, So), ce(he, gr)), sn.svgFilters === !0 && (ce(fe, wo), ce(he, So), ce(he, gr)), sn.mathMl === !0 && (ce(fe, ko), ce(he, ma), ce(he, gr))), dt.tagCheck = null, dt.attributeCheck = null, je(h, "ADD_TAGS") && (typeof h.ADD_TAGS == "function" ? dt.tagCheck = h.ADD_TAGS : xn(h.ADD_TAGS) && (fe === ln && (fe = Xe(fe)), ce(fe, h.ADD_TAGS, ye))), je(h, "ADD_ATTR") && (typeof h.ADD_ATTR == "function" ? dt.attributeCheck = h.ADD_ATTR : xn(h.ADD_ATTR) && (he === an && (he = Xe(he)), ce(he, h.ADD_ATTR, ye))), je(h, "ADD_FORBID_CONTENTS") && xn(h.ADD_FORBID_CONTENTS) && (Wt === Ri && (Wt = Xe(Wt)), ce(Wt, h.ADD_FORBID_CONTENTS, ye)), Pr && (fe["#text"] = !0), le && ce(fe, [
|
|
17797
17808
|
"html",
|
|
17798
17809
|
"head",
|
|
17799
17810
|
"body"
|
|
@@ -17820,9 +17831,9 @@ function Jc() {
|
|
|
17820
17831
|
}, hu = function(h, x, T) {
|
|
17821
17832
|
return x.namespaceURI === rr && !Fr[T] || x.namespaceURI === nr && !zr[T] ? !1 : !Bi[h] && (su[h] || !Fi[h]);
|
|
17822
17833
|
}, mu = function(h) {
|
|
17823
|
-
const x = v(h), T = Jt(
|
|
17834
|
+
const x = v(h), T = Jt(R(h)), _ = k(h);
|
|
17824
17835
|
let W, X;
|
|
17825
|
-
return _ && D(_) === we.element ? (W = { namespaceURI: v(_) }, X = Jt(
|
|
17836
|
+
return _ && D(_) === we.element ? (W = { namespaceURI: v(_) }, X = Jt(R(_))) : (W = { namespaceURI: cn }, X = "template"), Or[x] ? x === rr ? pu(T, W, X) : x === nr ? du(T, W, X) : x === ht ? hu(T, W, X) : !!(En === "application/xhtml+xml" && Or[x]) : !1;
|
|
17826
17837
|
}, Nt = function(h) {
|
|
17827
17838
|
Dn(t.removed, { element: h });
|
|
17828
17839
|
try {
|
|
@@ -17950,7 +17961,7 @@ function Jc() {
|
|
|
17950
17961
|
}, ku = function(h) {
|
|
17951
17962
|
Z && Hr(h, (x) => {
|
|
17952
17963
|
const T = D(x);
|
|
17953
|
-
if (T === we.processingInstruction || T === we.comment &&
|
|
17964
|
+
if (T === we.processingInstruction || T === we.comment && Ie(ba, x.data)) {
|
|
17954
17965
|
try {
|
|
17955
17966
|
p(x);
|
|
17956
17967
|
} catch {
|
|
@@ -17958,7 +17969,7 @@ function Jc() {
|
|
|
17958
17969
|
return !1;
|
|
17959
17970
|
}
|
|
17960
17971
|
if (T === we.element) {
|
|
17961
|
-
const _ = x, W = ye(
|
|
17972
|
+
const _ = x, W = ye(R(x));
|
|
17962
17973
|
try {
|
|
17963
17974
|
_.hasAttribute && _.hasAttribute("patchsrc") && _.removeAttribute("patchsrc"), _.hasAttribute && _.hasAttribute("for") && Vi("for", W) && _.removeAttribute("for");
|
|
17964
17975
|
} catch {
|
|
@@ -18024,15 +18035,15 @@ function Jc() {
|
|
|
18024
18035
|
return !1;
|
|
18025
18036
|
}
|
|
18026
18037
|
};
|
|
18027
|
-
function ct(
|
|
18028
|
-
|
|
18038
|
+
function ct(I, h, x) {
|
|
18039
|
+
I.length !== 0 && St(I, (T) => {
|
|
18029
18040
|
T.call(t, h, x, un);
|
|
18030
18041
|
});
|
|
18031
18042
|
}
|
|
18032
18043
|
const Su = function(h, x) {
|
|
18033
|
-
return !!(Z && h.hasChildNodes() && !qn(h.firstElementChild) &&
|
|
18044
|
+
return !!(Z && h.hasChildNodes() && !qn(h.firstElementChild) && Ie(vo, h.textContent) && Ie(vo, h.innerHTML) || Z && $w[x] && D(h) === we.element && v(h) === ht && (qn(h.firstElementChild) || typeof h.textContent == "string" && Ie(vo, h.textContent)) || h.nodeType === we.processingInstruction || Z && h.nodeType === we.comment && Ie(ba, h.data));
|
|
18034
18045
|
}, lr = function(h, x) {
|
|
18035
|
-
if (h instanceof RegExp) return
|
|
18046
|
+
if (h instanceof RegExp) return Ie(h, x);
|
|
18036
18047
|
if (h instanceof Function) {
|
|
18037
18048
|
for (var T = arguments.length, _ = new Array(T > 2 ? T - 2 : 0), W = 2; W < T; W++) _[W - 2] = arguments[W];
|
|
18038
18049
|
return !!h(x, ..._);
|
|
@@ -18059,7 +18070,7 @@ function Jc() {
|
|
|
18059
18070
|
if (wu(h), ct(j.beforeSanitizeElements, h, null), pn(h, x)) return !0;
|
|
18060
18071
|
if (ir(h))
|
|
18061
18072
|
return Nt(h), !0;
|
|
18062
|
-
const T = ye(
|
|
18073
|
+
const T = ye(R(h));
|
|
18063
18074
|
if (fe = Gi(j.uponSanitizeElement, fe, ln, Qe), ct(j.uponSanitizeElement, h, {
|
|
18064
18075
|
tagName: T,
|
|
18065
18076
|
allowedTags: fe
|
|
@@ -18070,7 +18081,7 @@ function Jc() {
|
|
|
18070
18081
|
const _ = vu(h, T, x);
|
|
18071
18082
|
return _ === !1 && (ct(j.afterSanitizeElements, h, null), pn(h, x)) ? !0 : _;
|
|
18072
18083
|
}
|
|
18073
|
-
if (D(h) === we.element && !mu(h) || (T === "noscript" || T === "noembed" || T === "noframes") &&
|
|
18084
|
+
if (D(h) === we.element && !mu(h) || (T === "noscript" || T === "noembed" || T === "noframes") && Ie(Vw, h.innerHTML))
|
|
18074
18085
|
return Nt(h), !0;
|
|
18075
18086
|
if (G && h.nodeType === we.text) {
|
|
18076
18087
|
const _ = or(h.textContent);
|
|
@@ -18080,7 +18091,7 @@ function Jc() {
|
|
|
18080
18091
|
}, Yi = function(h, x, T) {
|
|
18081
18092
|
if (er[x] || Vi(x, h) || et && (x === "id" || x === "name") && (T in n || T in fu)) return !1;
|
|
18082
18093
|
const _ = he[x] || dt.attributeCheck instanceof Function && dt.attributeCheck(x, h);
|
|
18083
|
-
return An &&
|
|
18094
|
+
return An && Ie(lt, x) || tr && Ie(at, x) ? !0 : _ ? Pi[x] || Ie(Cn, On(T, It, "")) || (x === "src" || x === "xlink:href" || x === "href") && h !== "script" && ca(T, "data:") === 0 && Ni[h] || q && !Ie(_t, On(T, It, "")) ? !0 : !T : Xi(h) && lr(Ge.tagNameCheck, h) && lr(Ge.attributeNameCheck, x, h) || x === "is" && Ge.allowCustomizedBuiltInElements && lr(Ge.tagNameCheck, T);
|
|
18084
18095
|
}, Cu = ce({}, [
|
|
18085
18096
|
"annotation-xml",
|
|
18086
18097
|
"color-profile",
|
|
@@ -18091,7 +18102,7 @@ function Jc() {
|
|
|
18091
18102
|
"font-face-uri",
|
|
18092
18103
|
"missing-glyph"
|
|
18093
18104
|
]), Xi = function(h) {
|
|
18094
|
-
return !Cu[Jt(h)] &&
|
|
18105
|
+
return !Cu[Jt(h)] && Ie(Rt, h);
|
|
18095
18106
|
}, Au = function(h, x, T, _) {
|
|
18096
18107
|
if (P && typeof f == "object" && typeof f.getAttributeType == "function" && !T) switch (f.getAttributeType(h, x)) {
|
|
18097
18108
|
case "TrustedHTML":
|
|
@@ -18107,7 +18118,7 @@ function Jc() {
|
|
|
18107
18118
|
return fn(x, h), !1;
|
|
18108
18119
|
}
|
|
18109
18120
|
}, Ki = function(h, x) {
|
|
18110
|
-
return Z &&
|
|
18121
|
+
return Z && Ie(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, x) ? !0 : Jt(h) === "attributename" && sa(x, "href") !== null;
|
|
18111
18122
|
}, Yr = function(h, x) {
|
|
18112
18123
|
if (ct(j.beforeSanitizeAttributes, h, null), pn(h, x)) return;
|
|
18113
18124
|
const T = h.attributes;
|
|
@@ -18125,7 +18136,7 @@ function Jc() {
|
|
|
18125
18136
|
for (; W--; ) {
|
|
18126
18137
|
const ne = T[W], Se = ne.name, mt = ne.namespaceURI, Oe = ne.value, Be = ye(Se), dn = Oe;
|
|
18127
18138
|
let Ue = Se === "value" ? dn : Ew(dn), Ji = !1;
|
|
18128
|
-
if (_.attrName = Be, _.attrValue = Ue, _.keepAttr = !0, _.forceKeepAttr = void 0, ct(j.uponSanitizeAttribute, h, _), Ue = _.attrValue, _i && (Be === "id" || Be === "name") && ca(Ue,
|
|
18139
|
+
if (_.attrName = Be, _.attrValue = Ue, _.keepAttr = !0, _.forceKeepAttr = void 0, ct(j.uponSanitizeAttribute, h, _), Ue = _.attrValue, _i && (Be === "id" || Be === "name") && ca(Ue, Ii) !== 0 && (fn(Se, h, ne), Ue = Ii + Ue, Ji = !0), Ki(Se, Ue)) {
|
|
18129
18140
|
fn(Se, h, ne);
|
|
18130
18141
|
continue;
|
|
18131
18142
|
}
|
|
@@ -18134,7 +18145,7 @@ function Jc() {
|
|
|
18134
18145
|
fn(Se, h, ne);
|
|
18135
18146
|
continue;
|
|
18136
18147
|
}
|
|
18137
|
-
if (!O &&
|
|
18148
|
+
if (!O && Ie(ya, Ue)) {
|
|
18138
18149
|
fn(Se, h, ne);
|
|
18139
18150
|
continue;
|
|
18140
18151
|
}
|
|
@@ -18193,48 +18204,48 @@ function Jc() {
|
|
|
18193
18204
|
}
|
|
18194
18205
|
}
|
|
18195
18206
|
};
|
|
18196
|
-
return t.sanitize = function(
|
|
18207
|
+
return t.sanitize = function(I) {
|
|
18197
18208
|
let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, x = null, T = null, _ = null, W = null;
|
|
18198
|
-
if (Mr = !
|
|
18209
|
+
if (Mr = !I, Mr && (I = "<!-->"), typeof I != "string" && !qn(I) && (I = Iw(I), typeof I != "string"))
|
|
18199
18210
|
throw vt("dirty is not a string, aborting");
|
|
18200
|
-
if (!t.isSupported) return
|
|
18211
|
+
if (!t.isSupported) return I;
|
|
18201
18212
|
Me ? (fe = Qe, he = Fe) : Br(h), (j.uponSanitizeElement.length > 0 || j.uponSanitizeAttribute.length > 0) && (fe = Xe(fe)), j.uponSanitizeAttribute.length > 0 && (he = Xe(he)), t.removed = [];
|
|
18202
|
-
const X = Dr && typeof
|
|
18213
|
+
const X = Dr && typeof I != "string" && qn(I);
|
|
18203
18214
|
let ne = [];
|
|
18204
18215
|
const Se = $t;
|
|
18205
18216
|
if (X) {
|
|
18206
|
-
ku(
|
|
18207
|
-
const Be = I
|
|
18217
|
+
ku(I);
|
|
18218
|
+
const Be = R(I);
|
|
18208
18219
|
if (typeof Be == "string") {
|
|
18209
18220
|
const dn = ye(Be);
|
|
18210
18221
|
if (!fe[dn] || Vt[dn])
|
|
18211
|
-
throw Ur(
|
|
18222
|
+
throw Ur(I), vt("root node is forbidden and cannot be sanitized in-place");
|
|
18212
18223
|
}
|
|
18213
|
-
if (ir(
|
|
18214
|
-
throw Ur(
|
|
18215
|
-
ne = Vr(
|
|
18216
|
-
} else if (qn(
|
|
18217
|
-
x = $i("<!---->"), T = x.ownerDocument.importNode(
|
|
18224
|
+
if (ir(I))
|
|
18225
|
+
throw Ur(I), vt("root node is clobbered and cannot be sanitized in-place");
|
|
18226
|
+
ne = Vr(I), $t = go();
|
|
18227
|
+
} else if (qn(I))
|
|
18228
|
+
x = $i("<!---->"), T = x.ownerDocument.importNode(I, !0), T.nodeType === we.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? x = T : x.appendChild(T), Xr(x);
|
|
18218
18229
|
else {
|
|
18219
|
-
if (!Ze && !G && !le &&
|
|
18220
|
-
if (x = $i(
|
|
18230
|
+
if (!Ze && !G && !le && I.indexOf("<") === -1) return P && st ? ae(I) : I;
|
|
18231
|
+
if (x = $i(I), !x) return Ze ? null : st ? z : "";
|
|
18221
18232
|
}
|
|
18222
18233
|
x && wt && Nt(x.firstChild);
|
|
18223
|
-
const mt = X ?
|
|
18234
|
+
const mt = X ? I : x;
|
|
18224
18235
|
try {
|
|
18225
|
-
X && Xr(
|
|
18236
|
+
X && Xr(I);
|
|
18226
18237
|
const Be = $r(mt);
|
|
18227
18238
|
for (; _ = Be.nextNode(); )
|
|
18228
18239
|
Gr(_, mt), Yr(_, mt), Lt(_.content) && Tn(_.content);
|
|
18229
|
-
X && yu(
|
|
18240
|
+
X && yu(I, ne);
|
|
18230
18241
|
} catch (Be) {
|
|
18231
|
-
throw X && (Ur(
|
|
18242
|
+
throw X && (Ur(I), ji(I, ne)), Be;
|
|
18232
18243
|
} finally {
|
|
18233
18244
|
$t = Se;
|
|
18234
18245
|
}
|
|
18235
18246
|
if (X) {
|
|
18236
|
-
if (ji(
|
|
18237
|
-
return G && Wr(
|
|
18247
|
+
if (ji(I, ne)) throw vt("a node selected for removal could not be safely returned; refusing to sanitize in place");
|
|
18248
|
+
return G && Wr(I), I;
|
|
18238
18249
|
}
|
|
18239
18250
|
if (Ze) {
|
|
18240
18251
|
if (G && Wr(x), Ee)
|
|
@@ -18243,29 +18254,29 @@ function Jc() {
|
|
|
18243
18254
|
return (he.shadowroot || he.shadowrootmode) && (W = me.call(r, W, !0)), W;
|
|
18244
18255
|
}
|
|
18245
18256
|
let Oe = le ? x.outerHTML : x.innerHTML;
|
|
18246
|
-
return le && fe["!doctype"] && x.ownerDocument && x.ownerDocument.doctype && x.ownerDocument.doctype.name &&
|
|
18257
|
+
return le && fe["!doctype"] && x.ownerDocument && x.ownerDocument.doctype && x.ownerDocument.doctype.name && Ie(Hw, x.ownerDocument.doctype.name) && (Oe = "<!DOCTYPE " + x.ownerDocument.doctype.name + `>
|
|
18247
18258
|
` + Oe), G && (Oe = or(Oe)), P && st ? ae(Oe) : Oe;
|
|
18248
18259
|
}, t.setConfig = function() {
|
|
18249
|
-
let
|
|
18250
|
-
Br(
|
|
18260
|
+
let I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
18261
|
+
Br(I), Me = !0, Qe = fe, Fe = he;
|
|
18251
18262
|
}, t.clearConfig = function() {
|
|
18252
18263
|
un = null, Me = !1, Qe = null, Fe = null, P = re, z = "";
|
|
18253
|
-
}, t.isValidAttribute = function(
|
|
18264
|
+
}, t.isValidAttribute = function(I, h, x) {
|
|
18254
18265
|
un || Br({});
|
|
18255
|
-
const T = ye(
|
|
18256
|
-
return typeof x == "string" && (Ki(h, x) || !O &&
|
|
18257
|
-
}, t.addHook = function(
|
|
18258
|
-
typeof h == "function" && je(j,
|
|
18259
|
-
}, t.removeHook = function(
|
|
18260
|
-
if (je(j,
|
|
18266
|
+
const T = ye(I), _ = ye(h);
|
|
18267
|
+
return typeof x == "string" && (Ki(h, x) || !O && Ie(ya, x)) ? !1 : Yi(T, _, x);
|
|
18268
|
+
}, t.addHook = function(I, h) {
|
|
18269
|
+
typeof h == "function" && je(j, I) && Dn(j[I], h);
|
|
18270
|
+
}, t.removeHook = function(I, h) {
|
|
18271
|
+
if (je(j, I)) {
|
|
18261
18272
|
if (h !== void 0) {
|
|
18262
|
-
const x = vw(j[
|
|
18263
|
-
return x === -1 ? void 0 : Aw(j[
|
|
18273
|
+
const x = vw(j[I], h);
|
|
18274
|
+
return x === -1 ? void 0 : Aw(j[I], x, 1)[0];
|
|
18264
18275
|
}
|
|
18265
|
-
return aa(j[
|
|
18276
|
+
return aa(j[I]);
|
|
18266
18277
|
}
|
|
18267
|
-
}, t.removeHooks = function(
|
|
18268
|
-
je(j,
|
|
18278
|
+
}, t.removeHooks = function(I) {
|
|
18279
|
+
je(j, I) && (j[I] = []);
|
|
18269
18280
|
}, t.removeAllHooks = function() {
|
|
18270
18281
|
j = xa();
|
|
18271
18282
|
}, t;
|
|
@@ -18665,9 +18676,9 @@ const Sa = {
|
|
|
18665
18676
|
if (e === void 0)
|
|
18666
18677
|
throw new Error("useError must be used within an ErrorProvider");
|
|
18667
18678
|
return e;
|
|
18668
|
-
}, $k = (e) =>
|
|
18669
|
-
const
|
|
18670
|
-
|
|
18679
|
+
}, $k = (e) => {
|
|
18680
|
+
const t = e instanceof Qt ? e.response?.errors?.[0] : void 0, n = Number(t?.error_code);
|
|
18681
|
+
return { code: n, message: fk(n) };
|
|
18671
18682
|
}, va = {
|
|
18672
18683
|
warning: {
|
|
18673
18684
|
bgColor: "eloq:bg-amber-50 eloq:dark:bg-amber-400/10",
|
|
@@ -18738,7 +18749,7 @@ function vk() {
|
|
|
18738
18749
|
i(D), r.current && r.current.focus();
|
|
18739
18750
|
}, H = async (D) => {
|
|
18740
18751
|
D.preventDefault();
|
|
18741
|
-
const
|
|
18752
|
+
const R = l.trim();
|
|
18742
18753
|
if (!y || d) return;
|
|
18743
18754
|
i("");
|
|
18744
18755
|
const V = p.takeFiles();
|
|
@@ -18746,14 +18757,14 @@ function vk() {
|
|
|
18746
18757
|
await n.onSendMessage?.(
|
|
18747
18758
|
{
|
|
18748
18759
|
id: crypto.randomUUID(),
|
|
18749
|
-
content:
|
|
18760
|
+
content: R,
|
|
18750
18761
|
sender: "user",
|
|
18751
18762
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
18752
18763
|
},
|
|
18753
18764
|
V
|
|
18754
18765
|
);
|
|
18755
18766
|
} catch (v) {
|
|
18756
|
-
i(
|
|
18767
|
+
i(R), p.restoreFiles(V, v);
|
|
18757
18768
|
}
|
|
18758
18769
|
}, C = () => n.isChatClosed ? /* @__PURE__ */ w("div", { className: "eloq:w-full eloq:z-20 eloq:motion-safe:animate-slide-up-in", children: /* @__PURE__ */ K(
|
|
18759
18770
|
"div",
|
|
@@ -18849,7 +18860,7 @@ function vk() {
|
|
|
18849
18860
|
style: k(),
|
|
18850
18861
|
"aria-label": "Send message",
|
|
18851
18862
|
title: "Send message",
|
|
18852
|
-
children: /* @__PURE__ */ w(
|
|
18863
|
+
children: /* @__PURE__ */ w(Rf, { className: "eloq:h-4 eloq:w-4", "aria-hidden": !0 })
|
|
18853
18864
|
}
|
|
18854
18865
|
),
|
|
18855
18866
|
m.isDraggingFiles && p.canAddFiles && /* @__PURE__ */ K("div", { className: "eloq:pointer-events-none eloq:absolute eloq:inset-0 eloq:flex eloq:items-center eloq:justify-center eloq:gap-2 eloq:rounded-3xl eloq:border eloq:border-dashed eloq:border-border eloq:bg-muted eloq:text-sm eloq:text-muted-foreground", children: [
|
|
@@ -18985,9 +18996,9 @@ function iu() {
|
|
|
18985
18996
|
return Ek;
|
|
18986
18997
|
}
|
|
18987
18998
|
Et(iu, "useImageCount");
|
|
18988
|
-
function
|
|
18999
|
+
function Ik(e) {
|
|
18989
19000
|
}
|
|
18990
|
-
Et(
|
|
19001
|
+
Et(Ik, "useUpdateImageCount");
|
|
18991
19002
|
const lu = Ve(({ className: e, ...t }, n) => /* @__PURE__ */ w(
|
|
18992
19003
|
tu,
|
|
18993
19004
|
{
|
|
@@ -19000,7 +19011,7 @@ const lu = Ve(({ className: e, ...t }, n) => /* @__PURE__ */ w(
|
|
|
19000
19011
|
}
|
|
19001
19012
|
));
|
|
19002
19013
|
lu.displayName = tu.displayName;
|
|
19003
|
-
const
|
|
19014
|
+
const Rk = Ve(({ className: e, ...t }, n) => /* @__PURE__ */ w(
|
|
19004
19015
|
nu,
|
|
19005
19016
|
{
|
|
19006
19017
|
ref: n,
|
|
@@ -19008,7 +19019,7 @@ const Ik = Ve(({ className: e, ...t }, n) => /* @__PURE__ */ w(
|
|
|
19008
19019
|
...t
|
|
19009
19020
|
}
|
|
19010
19021
|
));
|
|
19011
|
-
|
|
19022
|
+
Rk.displayName = nu.displayName;
|
|
19012
19023
|
const Nk = Ve(({ className: e, ...t }, n) => /* @__PURE__ */ w(
|
|
19013
19024
|
ru,
|
|
19014
19025
|
{
|
|
@@ -19262,4 +19273,4 @@ export {
|
|
|
19262
19273
|
ri as u,
|
|
19263
19274
|
Kx as w
|
|
19264
19275
|
};
|
|
19265
|
-
//# sourceMappingURL=skeleton-
|
|
19276
|
+
//# sourceMappingURL=skeleton-DW1aw7Tu.js.map
|