@eloquentai/chat-sdk 0.35.1-dev.1 → 0.36.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as x, jsxs as Z, Fragment as zt } from "react/jsx-runtime";
|
|
3
3
|
import * as R from "react";
|
|
4
|
-
import { useState as Ae, forwardRef as
|
|
4
|
+
import { useState as Ae, forwardRef as Ve, createContext as Ar, useContext as Er, createElement as Co, useRef as je, useEffect as vt, useMemo as qn, useCallback as wa } from "react";
|
|
5
5
|
import * as vc 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] = "834c9386-1c20-4fa7-911b-7cda17fe866a", e._sentryDebugIdIdentifier = "sentry-dbid-834c9386-1c20-4fa7-911b-7cda17fe866a");
|
|
9
9
|
} catch {
|
|
10
10
|
}
|
|
11
11
|
{
|
|
12
12
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
13
|
-
e.SENTRY_RELEASE = { id: "
|
|
13
|
+
e.SENTRY_RELEASE = { id: "149448de580786e5d1acb1521fc9249ddeb42fe8" };
|
|
14
14
|
}
|
|
15
15
|
function ka(e) {
|
|
16
16
|
var t, n, r = "";
|
|
@@ -274,7 +274,7 @@ const Ac = (e, t) => {
|
|
|
274
274
|
}
|
|
275
275
|
w = !1;
|
|
276
276
|
}
|
|
277
|
-
const
|
|
277
|
+
const T = p.length === 0 ? "" : p.length === 1 ? p[0] : l(p).join(":"), O = g ? T + Ao : T, F = O + E;
|
|
278
278
|
if (a.indexOf(F) > -1)
|
|
279
279
|
continue;
|
|
280
280
|
a.push(F);
|
|
@@ -314,19 +314,19 @@ const Ac = (e, t) => {
|
|
|
314
314
|
}, Wc = [], ke = (e) => {
|
|
315
315
|
const t = (n) => n[e] || Wc;
|
|
316
316
|
return t.isThemeGetter = !0, t;
|
|
317
|
-
}, Ea = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ta = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Gc = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Yc = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xc = /\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$/, Kc = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Jc = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qc = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Lt = (e) => Gc.test(e),
|
|
317
|
+
}, Ea = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ta = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Gc = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Yc = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xc = /\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$/, Kc = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Jc = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qc = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Lt = (e) => Gc.test(e), te = (e) => !!e && !Number.isNaN(Number(e)), ht = (e) => !!e && Number.isInteger(Number(e)), Xr = (e) => e.endsWith("%") && te(e.slice(0, -1)), xt = (e) => Yc.test(e), qa = () => !0, Zc = (e) => (
|
|
318
318
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
319
319
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
320
320
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
321
321
|
Xc.test(e) && !Kc.test(e)
|
|
322
|
-
), Yo = () => !1, ef = (e) => Jc.test(e), tf = (e) => Qc.test(e), nf = (e) => !U(e) && !H(e), rf = (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)), of = (e) => Ft(e, Ra, Yo), U = (e) => Ea.test(e), Wt = (e) => Ft(e, Na, Zc), Zi = (e) => Ft(e, df,
|
|
322
|
+
), Yo = () => !1, ef = (e) => Jc.test(e), tf = (e) => Qc.test(e), nf = (e) => !U(e) && !H(e), rf = (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)), of = (e) => Ft(e, Ra, Yo), U = (e) => Ea.test(e), Wt = (e) => Ft(e, Na, Zc), Zi = (e) => Ft(e, df, te), lf = (e) => Ft(e, Pa, qa), af = (e) => Ft(e, La, Yo), el = (e) => Ft(e, _a, Yo), sf = (e) => Ft(e, Ia, tf), lr = (e) => Ft(e, Da, ef), H = (e) => Ta.test(e), _n = (e) => tn(e, Na), uf = (e) => tn(e, La), tl = (e) => tn(e, _a), cf = (e) => tn(e, Ra), ff = (e) => tn(e, Ia), ar = (e) => tn(e, Da, !0), pf = (e) => tn(e, Pa, !0), Ft = (e, t, n) => {
|
|
323
323
|
const r = Ea.exec(e);
|
|
324
324
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
325
325
|
}, tn = (e, t, n = !1) => {
|
|
326
326
|
const r = Ta.exec(e);
|
|
327
327
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
328
328
|
}, _a = (e) => e === "position" || e === "percentage", Ia = (e) => e === "image" || e === "url", Ra = (e) => e === "length" || e === "size" || e === "bg-size", Na = (e) => e === "length", df = (e) => e === "number", La = (e) => e === "family-name", Pa = (e) => e === "number" || e === "weight", Da = (e) => e === "shadow", nl = () => {
|
|
329
|
-
const e = ke("color"), t = ke("font"), n = ke("text"), r = ke("font-weight"), o = ke("tracking"), l = ke("leading"), i = ke("breakpoint"), a = ke("container"), s = ke("spacing"), u = ke("radius"), f = ke("shadow"), c = ke("inset-shadow"), d = ke("text-shadow"), p = ke("drop-shadow"), g = ke("blur"), k = ke("perspective"), v = ke("aspect"), w = ke("ease"), E = ke("animate"),
|
|
329
|
+
const e = ke("color"), t = ke("font"), n = ke("text"), r = ke("font-weight"), o = ke("tracking"), l = ke("leading"), i = ke("breakpoint"), a = ke("container"), s = ke("spacing"), u = ke("radius"), f = ke("shadow"), c = ke("inset-shadow"), d = ke("text-shadow"), p = ke("drop-shadow"), g = ke("blur"), k = ke("perspective"), v = ke("aspect"), w = ke("ease"), E = ke("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
|
|
330
330
|
"center",
|
|
331
331
|
"top",
|
|
332
332
|
"bottom",
|
|
@@ -360,14 +360,14 @@ const Ac = (e, t) => {
|
|
|
360
360
|
u,
|
|
361
361
|
H,
|
|
362
362
|
U
|
|
363
|
-
], j = () => ["",
|
|
363
|
+
], j = () => ["", te, _n, Wt], 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"], ce = () => [te, Xr, tl, el], it = () => [
|
|
364
364
|
// Deprecated since Tailwind CSS v4.0.0
|
|
365
365
|
"",
|
|
366
366
|
"none",
|
|
367
367
|
g,
|
|
368
368
|
H,
|
|
369
369
|
U
|
|
370
|
-
], lt = () => ["none",
|
|
370
|
+
], lt = () => ["none", te, H, U], qt = () => ["none", te, H, U], _t = () => [te, H, U], It = () => [Lt, "full", ...N()];
|
|
371
371
|
return {
|
|
372
372
|
cacheSize: 500,
|
|
373
373
|
theme: {
|
|
@@ -386,7 +386,7 @@ const Ac = (e, t) => {
|
|
|
386
386
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
387
387
|
radius: [xt],
|
|
388
388
|
shadow: [xt],
|
|
389
|
-
spacing: ["px",
|
|
389
|
+
spacing: ["px", te],
|
|
390
390
|
text: [xt],
|
|
391
391
|
"text-shadow": [xt],
|
|
392
392
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -425,21 +425,21 @@ const Ac = (e, t) => {
|
|
|
425
425
|
* @see https://tailwindcss.com/docs/columns
|
|
426
426
|
*/
|
|
427
427
|
columns: [{
|
|
428
|
-
columns: [
|
|
428
|
+
columns: [te, U, H, a]
|
|
429
429
|
}],
|
|
430
430
|
/**
|
|
431
431
|
* Break After
|
|
432
432
|
* @see https://tailwindcss.com/docs/break-after
|
|
433
433
|
*/
|
|
434
434
|
"break-after": [{
|
|
435
|
-
"break-after":
|
|
435
|
+
"break-after": T()
|
|
436
436
|
}],
|
|
437
437
|
/**
|
|
438
438
|
* Break Before
|
|
439
439
|
* @see https://tailwindcss.com/docs/break-before
|
|
440
440
|
*/
|
|
441
441
|
"break-before": [{
|
|
442
|
-
"break-before":
|
|
442
|
+
"break-before": T()
|
|
443
443
|
}],
|
|
444
444
|
/**
|
|
445
445
|
* Break Inside
|
|
@@ -682,21 +682,21 @@ const Ac = (e, t) => {
|
|
|
682
682
|
* @see https://tailwindcss.com/docs/flex
|
|
683
683
|
*/
|
|
684
684
|
flex: [{
|
|
685
|
-
flex: [
|
|
685
|
+
flex: [te, Lt, "auto", "initial", "none", U]
|
|
686
686
|
}],
|
|
687
687
|
/**
|
|
688
688
|
* Flex Grow
|
|
689
689
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
690
690
|
*/
|
|
691
691
|
grow: [{
|
|
692
|
-
grow: ["",
|
|
692
|
+
grow: ["", te, H, U]
|
|
693
693
|
}],
|
|
694
694
|
/**
|
|
695
695
|
* Flex Shrink
|
|
696
696
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
697
697
|
*/
|
|
698
698
|
shrink: [{
|
|
699
|
-
shrink: ["",
|
|
699
|
+
shrink: ["", te, H, U]
|
|
700
700
|
}],
|
|
701
701
|
/**
|
|
702
702
|
* Order
|
|
@@ -1250,7 +1250,7 @@ const Ac = (e, t) => {
|
|
|
1250
1250
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1251
1251
|
*/
|
|
1252
1252
|
"line-clamp": [{
|
|
1253
|
-
"line-clamp": [
|
|
1253
|
+
"line-clamp": [te, "none", H, Zi]
|
|
1254
1254
|
}],
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Line Height
|
|
@@ -1323,7 +1323,7 @@ const Ac = (e, t) => {
|
|
|
1323
1323
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1324
1324
|
*/
|
|
1325
1325
|
"text-decoration-thickness": [{
|
|
1326
|
-
decoration: [
|
|
1326
|
+
decoration: [te, "from-font", "auto", H, Wt]
|
|
1327
1327
|
}],
|
|
1328
1328
|
/**
|
|
1329
1329
|
* Text Decoration Color
|
|
@@ -1337,7 +1337,7 @@ const Ac = (e, t) => {
|
|
|
1337
1337
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1338
1338
|
*/
|
|
1339
1339
|
"underline-offset": [{
|
|
1340
|
-
"underline-offset": [
|
|
1340
|
+
"underline-offset": [te, "auto", H, U]
|
|
1341
1341
|
}],
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Text Transform
|
|
@@ -1838,14 +1838,14 @@ const Ac = (e, t) => {
|
|
|
1838
1838
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1839
1839
|
*/
|
|
1840
1840
|
"outline-offset": [{
|
|
1841
|
-
"outline-offset": [
|
|
1841
|
+
"outline-offset": [te, H, U]
|
|
1842
1842
|
}],
|
|
1843
1843
|
/**
|
|
1844
1844
|
* Outline Width
|
|
1845
1845
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1846
1846
|
*/
|
|
1847
1847
|
"outline-w": [{
|
|
1848
|
-
outline: ["",
|
|
1848
|
+
outline: ["", te, _n, Wt]
|
|
1849
1849
|
}],
|
|
1850
1850
|
/**
|
|
1851
1851
|
* Outline Color
|
|
@@ -1920,7 +1920,7 @@ const Ac = (e, t) => {
|
|
|
1920
1920
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1921
1921
|
*/
|
|
1922
1922
|
"ring-offset-w": [{
|
|
1923
|
-
"ring-offset": [
|
|
1923
|
+
"ring-offset": [te, Wt]
|
|
1924
1924
|
}],
|
|
1925
1925
|
/**
|
|
1926
1926
|
* Ring Offset Color
|
|
@@ -1964,21 +1964,21 @@ const Ac = (e, t) => {
|
|
|
1964
1964
|
* @see https://tailwindcss.com/docs/opacity
|
|
1965
1965
|
*/
|
|
1966
1966
|
opacity: [{
|
|
1967
|
-
opacity: [
|
|
1967
|
+
opacity: [te, H, U]
|
|
1968
1968
|
}],
|
|
1969
1969
|
/**
|
|
1970
1970
|
* Mix Blend Mode
|
|
1971
1971
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1972
1972
|
*/
|
|
1973
1973
|
"mix-blend": [{
|
|
1974
|
-
"mix-blend": [
|
|
1974
|
+
"mix-blend": [...We(), "plus-darker", "plus-lighter"]
|
|
1975
1975
|
}],
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Background Blend Mode
|
|
1978
1978
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1979
1979
|
*/
|
|
1980
1980
|
"bg-blend": [{
|
|
1981
|
-
"bg-blend":
|
|
1981
|
+
"bg-blend": We()
|
|
1982
1982
|
}],
|
|
1983
1983
|
/**
|
|
1984
1984
|
* Mask Clip
|
|
@@ -1999,7 +1999,7 @@ const Ac = (e, t) => {
|
|
|
1999
1999
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2000
2000
|
*/
|
|
2001
2001
|
"mask-image-linear-pos": [{
|
|
2002
|
-
"mask-linear": [
|
|
2002
|
+
"mask-linear": [te]
|
|
2003
2003
|
}],
|
|
2004
2004
|
"mask-image-linear-from-pos": [{
|
|
2005
2005
|
"mask-linear-from": ce()
|
|
@@ -2113,7 +2113,7 @@ const Ac = (e, t) => {
|
|
|
2113
2113
|
"mask-radial-at": O()
|
|
2114
2114
|
}],
|
|
2115
2115
|
"mask-image-conic-pos": [{
|
|
2116
|
-
"mask-conic": [
|
|
2116
|
+
"mask-conic": [te]
|
|
2117
2117
|
}],
|
|
2118
2118
|
"mask-image-conic-from-pos": [{
|
|
2119
2119
|
"mask-conic-from": ce()
|
|
@@ -2204,14 +2204,14 @@ const Ac = (e, t) => {
|
|
|
2204
2204
|
* @see https://tailwindcss.com/docs/brightness
|
|
2205
2205
|
*/
|
|
2206
2206
|
brightness: [{
|
|
2207
|
-
brightness: [
|
|
2207
|
+
brightness: [te, H, U]
|
|
2208
2208
|
}],
|
|
2209
2209
|
/**
|
|
2210
2210
|
* Contrast
|
|
2211
2211
|
* @see https://tailwindcss.com/docs/contrast
|
|
2212
2212
|
*/
|
|
2213
2213
|
contrast: [{
|
|
2214
|
-
contrast: [
|
|
2214
|
+
contrast: [te, H, U]
|
|
2215
2215
|
}],
|
|
2216
2216
|
/**
|
|
2217
2217
|
* Drop Shadow
|
|
@@ -2239,35 +2239,35 @@ const Ac = (e, t) => {
|
|
|
2239
2239
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2240
2240
|
*/
|
|
2241
2241
|
grayscale: [{
|
|
2242
|
-
grayscale: ["",
|
|
2242
|
+
grayscale: ["", te, H, U]
|
|
2243
2243
|
}],
|
|
2244
2244
|
/**
|
|
2245
2245
|
* Hue Rotate
|
|
2246
2246
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2247
2247
|
*/
|
|
2248
2248
|
"hue-rotate": [{
|
|
2249
|
-
"hue-rotate": [
|
|
2249
|
+
"hue-rotate": [te, H, U]
|
|
2250
2250
|
}],
|
|
2251
2251
|
/**
|
|
2252
2252
|
* Invert
|
|
2253
2253
|
* @see https://tailwindcss.com/docs/invert
|
|
2254
2254
|
*/
|
|
2255
2255
|
invert: [{
|
|
2256
|
-
invert: ["",
|
|
2256
|
+
invert: ["", te, H, U]
|
|
2257
2257
|
}],
|
|
2258
2258
|
/**
|
|
2259
2259
|
* Saturate
|
|
2260
2260
|
* @see https://tailwindcss.com/docs/saturate
|
|
2261
2261
|
*/
|
|
2262
2262
|
saturate: [{
|
|
2263
|
-
saturate: [
|
|
2263
|
+
saturate: [te, H, U]
|
|
2264
2264
|
}],
|
|
2265
2265
|
/**
|
|
2266
2266
|
* Sepia
|
|
2267
2267
|
* @see https://tailwindcss.com/docs/sepia
|
|
2268
2268
|
*/
|
|
2269
2269
|
sepia: [{
|
|
2270
|
-
sepia: ["",
|
|
2270
|
+
sepia: ["", te, H, U]
|
|
2271
2271
|
}],
|
|
2272
2272
|
/**
|
|
2273
2273
|
* Backdrop Filter
|
|
@@ -2294,56 +2294,56 @@ const Ac = (e, t) => {
|
|
|
2294
2294
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2295
2295
|
*/
|
|
2296
2296
|
"backdrop-brightness": [{
|
|
2297
|
-
"backdrop-brightness": [
|
|
2297
|
+
"backdrop-brightness": [te, H, U]
|
|
2298
2298
|
}],
|
|
2299
2299
|
/**
|
|
2300
2300
|
* Backdrop Contrast
|
|
2301
2301
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2302
2302
|
*/
|
|
2303
2303
|
"backdrop-contrast": [{
|
|
2304
|
-
"backdrop-contrast": [
|
|
2304
|
+
"backdrop-contrast": [te, H, U]
|
|
2305
2305
|
}],
|
|
2306
2306
|
/**
|
|
2307
2307
|
* Backdrop Grayscale
|
|
2308
2308
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2309
2309
|
*/
|
|
2310
2310
|
"backdrop-grayscale": [{
|
|
2311
|
-
"backdrop-grayscale": ["",
|
|
2311
|
+
"backdrop-grayscale": ["", te, H, U]
|
|
2312
2312
|
}],
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Backdrop Hue Rotate
|
|
2315
2315
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2316
2316
|
*/
|
|
2317
2317
|
"backdrop-hue-rotate": [{
|
|
2318
|
-
"backdrop-hue-rotate": [
|
|
2318
|
+
"backdrop-hue-rotate": [te, H, U]
|
|
2319
2319
|
}],
|
|
2320
2320
|
/**
|
|
2321
2321
|
* Backdrop Invert
|
|
2322
2322
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2323
2323
|
*/
|
|
2324
2324
|
"backdrop-invert": [{
|
|
2325
|
-
"backdrop-invert": ["",
|
|
2325
|
+
"backdrop-invert": ["", te, H, U]
|
|
2326
2326
|
}],
|
|
2327
2327
|
/**
|
|
2328
2328
|
* Backdrop Opacity
|
|
2329
2329
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2330
2330
|
*/
|
|
2331
2331
|
"backdrop-opacity": [{
|
|
2332
|
-
"backdrop-opacity": [
|
|
2332
|
+
"backdrop-opacity": [te, H, U]
|
|
2333
2333
|
}],
|
|
2334
2334
|
/**
|
|
2335
2335
|
* Backdrop Saturate
|
|
2336
2336
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2337
2337
|
*/
|
|
2338
2338
|
"backdrop-saturate": [{
|
|
2339
|
-
"backdrop-saturate": [
|
|
2339
|
+
"backdrop-saturate": [te, H, U]
|
|
2340
2340
|
}],
|
|
2341
2341
|
/**
|
|
2342
2342
|
* Backdrop Sepia
|
|
2343
2343
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2344
2344
|
*/
|
|
2345
2345
|
"backdrop-sepia": [{
|
|
2346
|
-
"backdrop-sepia": ["",
|
|
2346
|
+
"backdrop-sepia": ["", te, H, U]
|
|
2347
2347
|
}],
|
|
2348
2348
|
// --------------
|
|
2349
2349
|
// --- Tables ---
|
|
@@ -2412,7 +2412,7 @@ const Ac = (e, t) => {
|
|
|
2412
2412
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2413
2413
|
*/
|
|
2414
2414
|
duration: [{
|
|
2415
|
-
duration: [
|
|
2415
|
+
duration: [te, "initial", H, U]
|
|
2416
2416
|
}],
|
|
2417
2417
|
/**
|
|
2418
2418
|
* Transition Timing Function
|
|
@@ -2426,7 +2426,7 @@ const Ac = (e, t) => {
|
|
|
2426
2426
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2427
2427
|
*/
|
|
2428
2428
|
delay: [{
|
|
2429
|
-
delay: [
|
|
2429
|
+
delay: [te, H, U]
|
|
2430
2430
|
}],
|
|
2431
2431
|
/**
|
|
2432
2432
|
* Animation
|
|
@@ -2933,7 +2933,7 @@ const Ac = (e, t) => {
|
|
|
2933
2933
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2934
2934
|
*/
|
|
2935
2935
|
"stroke-w": [{
|
|
2936
|
-
stroke: [
|
|
2936
|
+
stroke: [te, _n, Wt, Zi]
|
|
2937
2937
|
}],
|
|
2938
2938
|
/**
|
|
2939
2939
|
* Stroke
|
|
@@ -3030,7 +3030,7 @@ const Ac = (e, t) => {
|
|
|
3030
3030
|
const r = t[n];
|
|
3031
3031
|
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
|
|
3032
3032
|
}, mf = (e, ...t) => typeof e == "function" ? Qi(nl, e, ...t) : Qi(() => hf(nl(), e), ...t), gf = mf({ prefix: "eloq" });
|
|
3033
|
-
function
|
|
3033
|
+
function ee(...e) {
|
|
3034
3034
|
return gf(Cc(e));
|
|
3035
3035
|
}
|
|
3036
3036
|
function Xo(e) {
|
|
@@ -3040,7 +3040,7 @@ function Xo(e) {
|
|
|
3040
3040
|
return /* @__PURE__ */ x(
|
|
3041
3041
|
"div",
|
|
3042
3042
|
{
|
|
3043
|
-
className:
|
|
3043
|
+
className: ee(
|
|
3044
3044
|
"eloq:relative eloq:flex eloq:items-center eloq:justify-center eloq:w-full eloq:h-full",
|
|
3045
3045
|
t
|
|
3046
3046
|
),
|
|
@@ -3082,12 +3082,12 @@ function Xo(e) {
|
|
|
3082
3082
|
}
|
|
3083
3083
|
);
|
|
3084
3084
|
}
|
|
3085
|
-
const Ko =
|
|
3085
|
+
const Ko = Ve(
|
|
3086
3086
|
({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
3087
3087
|
"div",
|
|
3088
3088
|
{
|
|
3089
3089
|
ref: n,
|
|
3090
|
-
className:
|
|
3090
|
+
className: ee(
|
|
3091
3091
|
"eloq:rounded-lg eloq:border eloq:bg-card eloq:text-card-foreground eloq:shadow-sm",
|
|
3092
3092
|
e
|
|
3093
3093
|
),
|
|
@@ -3096,12 +3096,12 @@ const Ko = je(
|
|
|
3096
3096
|
)
|
|
3097
3097
|
);
|
|
3098
3098
|
Ko.displayName = "Card";
|
|
3099
|
-
const Jo =
|
|
3099
|
+
const Jo = Ve(
|
|
3100
3100
|
({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
3101
3101
|
"div",
|
|
3102
3102
|
{
|
|
3103
3103
|
ref: n,
|
|
3104
|
-
className:
|
|
3104
|
+
className: ee(
|
|
3105
3105
|
"eloq:flex eloq:flex-col eloq:space-y-1.5 eloq:p-6",
|
|
3106
3106
|
e
|
|
3107
3107
|
),
|
|
@@ -3110,12 +3110,12 @@ const Jo = je(
|
|
|
3110
3110
|
)
|
|
3111
3111
|
);
|
|
3112
3112
|
Jo.displayName = "CardHeader";
|
|
3113
|
-
const bf =
|
|
3113
|
+
const bf = Ve(
|
|
3114
3114
|
({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
3115
3115
|
"div",
|
|
3116
3116
|
{
|
|
3117
3117
|
ref: n,
|
|
3118
|
-
className:
|
|
3118
|
+
className: ee(
|
|
3119
3119
|
"eloq:text-2xl eloq:font-semibold eloq:leading-none eloq:tracking-tight",
|
|
3120
3120
|
e
|
|
3121
3121
|
),
|
|
@@ -3124,25 +3124,25 @@ const bf = je(
|
|
|
3124
3124
|
)
|
|
3125
3125
|
);
|
|
3126
3126
|
bf.displayName = "CardTitle";
|
|
3127
|
-
const yf =
|
|
3127
|
+
const yf = Ve(({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
3128
3128
|
"div",
|
|
3129
3129
|
{
|
|
3130
3130
|
ref: n,
|
|
3131
|
-
className:
|
|
3131
|
+
className: ee("eloq:text-sm eloq:text-muted-foreground", e),
|
|
3132
3132
|
...t
|
|
3133
3133
|
}
|
|
3134
3134
|
));
|
|
3135
3135
|
yf.displayName = "CardDescription";
|
|
3136
|
-
const Qo =
|
|
3137
|
-
({ className: e, ...t }, n) => /* @__PURE__ */ x("div", { ref: n, className:
|
|
3136
|
+
const Qo = Ve(
|
|
3137
|
+
({ className: e, ...t }, n) => /* @__PURE__ */ x("div", { ref: n, className: ee("eloq:p-6 eloq:pt-0", e), ...t })
|
|
3138
3138
|
);
|
|
3139
3139
|
Qo.displayName = "CardContent";
|
|
3140
|
-
const Zo =
|
|
3140
|
+
const Zo = Ve(
|
|
3141
3141
|
({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
3142
3142
|
"div",
|
|
3143
3143
|
{
|
|
3144
3144
|
ref: n,
|
|
3145
|
-
className:
|
|
3145
|
+
className: ee(
|
|
3146
3146
|
"eloq:flex eloq:items-center eloq:p-6 eloq:pt-0",
|
|
3147
3147
|
e
|
|
3148
3148
|
),
|
|
@@ -3249,7 +3249,7 @@ const vf = (e) => {
|
|
|
3249
3249
|
* This source code is licensed under the ISC license.
|
|
3250
3250
|
* See the LICENSE file in the root directory of this source tree.
|
|
3251
3251
|
*/
|
|
3252
|
-
const Cf =
|
|
3252
|
+
const Cf = Ve(
|
|
3253
3253
|
({
|
|
3254
3254
|
color: e = "currentColor",
|
|
3255
3255
|
size: t = 24,
|
|
@@ -3285,7 +3285,7 @@ const Cf = je(
|
|
|
3285
3285
|
* See the LICENSE file in the root directory of this source tree.
|
|
3286
3286
|
*/
|
|
3287
3287
|
const Re = (e, t) => {
|
|
3288
|
-
const n =
|
|
3288
|
+
const n = Ve(
|
|
3289
3289
|
({ className: r, ...o }, l) => Co(Cf, {
|
|
3290
3290
|
ref: l,
|
|
3291
3291
|
iconNode: t,
|
|
@@ -3878,7 +3878,7 @@ function os(e, t) {
|
|
|
3878
3878
|
return R.useReducer((n, r) => t[n][r] ?? n, e);
|
|
3879
3879
|
}
|
|
3880
3880
|
ie(os, "useStateMachine");
|
|
3881
|
-
var is = "ScrollArea", [ls,
|
|
3881
|
+
var is = "ScrollArea", [ls, wk] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as = /* @__PURE__ */ R.forwardRef(
|
|
3882
3882
|
/* @__PURE__ */ ie(function(t, n) {
|
|
3883
3883
|
const {
|
|
3884
3884
|
__scopeScrollArea: r,
|
|
@@ -3886,7 +3886,7 @@ var is = "ScrollArea", [ls, Sk] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
|
|
|
3886
3886
|
dir: l,
|
|
3887
3887
|
scrollHideDelay: i = 600,
|
|
3888
3888
|
...a
|
|
3889
|
-
} = t, [s, u] = R.useState(null), [f, c] = R.useState(null), [d, p] = R.useState(null), [g, k] = R.useState(null), [v, w] = R.useState(null), [E,
|
|
3889
|
+
} = t, [s, u] = R.useState(null), [f, c] = R.useState(null), [d, p] = R.useState(null), [g, k] = R.useState(null), [v, w] = R.useState(null), [E, T] = R.useState(0), [O, F] = R.useState(0), [C, B] = R.useState(!1), [N, W] = R.useState(!1), S = Bt(n, u), P = Za(l);
|
|
3890
3890
|
return /* @__PURE__ */ x(
|
|
3891
3891
|
Cp,
|
|
3892
3892
|
{
|
|
@@ -3907,7 +3907,7 @@ var is = "ScrollArea", [ls, Sk] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
|
|
|
3907
3907
|
onScrollbarYChange: w,
|
|
3908
3908
|
scrollbarYEnabled: N,
|
|
3909
3909
|
onScrollbarYEnabledChange: W,
|
|
3910
|
-
onCornerWidthChange:
|
|
3910
|
+
onCornerWidthChange: T,
|
|
3911
3911
|
onCornerHeightChange: F,
|
|
3912
3912
|
children: /* @__PURE__ */ x(
|
|
3913
3913
|
Ut.div,
|
|
@@ -4209,7 +4209,7 @@ var is = "ScrollArea", [ls, Sk] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
|
|
|
4209
4209
|
onWheelScroll: c,
|
|
4210
4210
|
onResize: d,
|
|
4211
4211
|
...p
|
|
4212
|
-
} = t, g = ot(Et, r), [k, v] = R.useState(null), w = Bt(n, v), E = R.useRef(null),
|
|
4212
|
+
} = t, g = ot(Et, r), [k, v] = R.useState(null), w = Bt(n, v), E = R.useRef(null), T = R.useRef(""), O = g.viewport, F = o.content - o.viewport, C = St(c), B = St(u), N = Yn(d, 10);
|
|
4213
4213
|
function W(S) {
|
|
4214
4214
|
if (E.current) {
|
|
4215
4215
|
const P = S.clientX - E.current.left, z = S.clientY - E.current.top;
|
|
@@ -4239,12 +4239,12 @@ var is = "ScrollArea", [ls, Sk] = /* @__PURE__ */ ni(is), [Cp, ot] = ls(is), as
|
|
|
4239
4239
|
ref: w,
|
|
4240
4240
|
style: { position: "absolute", ...p.style },
|
|
4241
4241
|
onPointerDown: Ot(t.onPointerDown, (S) => {
|
|
4242
|
-
S.button === 0 && (S.target.setPointerCapture(S.pointerId), E.current = k.getBoundingClientRect(),
|
|
4242
|
+
S.button === 0 && (S.target.setPointerCapture(S.pointerId), E.current = k.getBoundingClientRect(), T.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", g.viewport && (g.viewport.style.scrollBehavior = "auto"), W(S));
|
|
4243
4243
|
}),
|
|
4244
4244
|
onPointerMove: Ot(t.onPointerMove, W),
|
|
4245
4245
|
onPointerUp: Ot(t.onPointerUp, (S) => {
|
|
4246
4246
|
const P = S.target;
|
|
4247
|
-
P.hasPointerCapture(S.pointerId) && P.releasePointerCapture(S.pointerId), document.body.style.webkitUserSelect =
|
|
4247
|
+
P.hasPointerCapture(S.pointerId) && P.releasePointerCapture(S.pointerId), document.body.style.webkitUserSelect = T.current, g.viewport && (g.viewport.style.scrollBehavior = ""), E.current = null;
|
|
4248
4248
|
})
|
|
4249
4249
|
}
|
|
4250
4250
|
)
|
|
@@ -4392,11 +4392,11 @@ function Zt(e, t) {
|
|
|
4392
4392
|
}
|
|
4393
4393
|
ie(Zt, "useResizeObserver");
|
|
4394
4394
|
var hs = as, zp = Ep, Fp = Dp;
|
|
4395
|
-
const ms =
|
|
4395
|
+
const ms = Ve(({ className: e, children: t, onViewportScroll: n, ...r }, o) => /* @__PURE__ */ Z(
|
|
4396
4396
|
hs,
|
|
4397
4397
|
{
|
|
4398
4398
|
ref: o,
|
|
4399
|
-
className:
|
|
4399
|
+
className: ee("eloq:relative eloq:overflow-hidden", e),
|
|
4400
4400
|
...r,
|
|
4401
4401
|
children: [
|
|
4402
4402
|
/* @__PURE__ */ x(
|
|
@@ -4413,12 +4413,12 @@ const ms = je(({ className: e, children: t, onViewportScroll: n, ...r }, o) => /
|
|
|
4413
4413
|
}
|
|
4414
4414
|
));
|
|
4415
4415
|
ms.displayName = hs.displayName;
|
|
4416
|
-
const gs =
|
|
4416
|
+
const gs = Ve(({ className: e, orientation: t = "vertical", ...n }, r) => /* @__PURE__ */ x(
|
|
4417
4417
|
ss,
|
|
4418
4418
|
{
|
|
4419
4419
|
ref: r,
|
|
4420
4420
|
orientation: t,
|
|
4421
|
-
className:
|
|
4421
|
+
className: ee(
|
|
4422
4422
|
"eloq:flex eloq:touch-none eloq:select-none eloq:transition-colors",
|
|
4423
4423
|
t === "vertical" && "eloq:h-full eloq:w-2.5 eloq:border-l eloq:border-l-transparent eloq:p-[1px]",
|
|
4424
4424
|
t === "horizontal" && "eloq:h-2.5 eloq:flex-col eloq:border-t eloq:border-t-transparent eloq:p-[1px]",
|
|
@@ -4464,7 +4464,7 @@ function Up({
|
|
|
4464
4464
|
}
|
|
4465
4465
|
o(!0), setTimeout(() => o(!1), 2e3);
|
|
4466
4466
|
},
|
|
4467
|
-
className:
|
|
4467
|
+
className: ee(Kr, r && "eloq:text-primary"),
|
|
4468
4468
|
title: "Copy message",
|
|
4469
4469
|
"aria-label": "Copy message",
|
|
4470
4470
|
children: /* @__PURE__ */ x(Mf, { size: 16 })
|
|
@@ -4475,7 +4475,7 @@ function Up({
|
|
|
4475
4475
|
"button",
|
|
4476
4476
|
{
|
|
4477
4477
|
onClick: () => n(t === "up" ? null : "up"),
|
|
4478
|
-
className:
|
|
4478
|
+
className: ee(
|
|
4479
4479
|
Kr,
|
|
4480
4480
|
t === "up" && "eloq:text-primary"
|
|
4481
4481
|
),
|
|
@@ -4486,7 +4486,7 @@ function Up({
|
|
|
4486
4486
|
"button",
|
|
4487
4487
|
{
|
|
4488
4488
|
onClick: () => n(t === "down" ? null : "down"),
|
|
4489
|
-
className:
|
|
4489
|
+
className: ee(
|
|
4490
4490
|
Kr,
|
|
4491
4491
|
t === "down" && "eloq:text-primary"
|
|
4492
4492
|
),
|
|
@@ -4547,7 +4547,7 @@ function xs(e, t) {
|
|
|
4547
4547
|
function Lo(e) {
|
|
4548
4548
|
return e.toLowerCase();
|
|
4549
4549
|
}
|
|
4550
|
-
class
|
|
4550
|
+
class $e {
|
|
4551
4551
|
/**
|
|
4552
4552
|
* @param {string} property
|
|
4553
4553
|
* Property.
|
|
@@ -4560,20 +4560,20 @@ class Ve {
|
|
|
4560
4560
|
this.attribute = n, this.property = t;
|
|
4561
4561
|
}
|
|
4562
4562
|
}
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4563
|
+
$e.prototype.attribute = "";
|
|
4564
|
+
$e.prototype.booleanish = !1;
|
|
4565
|
+
$e.prototype.boolean = !1;
|
|
4566
|
+
$e.prototype.commaOrSpaceSeparated = !1;
|
|
4567
|
+
$e.prototype.commaSeparated = !1;
|
|
4568
|
+
$e.prototype.defined = !1;
|
|
4569
|
+
$e.prototype.mustUseProperty = !1;
|
|
4570
|
+
$e.prototype.number = !1;
|
|
4571
|
+
$e.prototype.overloadedBoolean = !1;
|
|
4572
|
+
$e.prototype.property = "";
|
|
4573
|
+
$e.prototype.spaceSeparated = !1;
|
|
4574
|
+
$e.prototype.space = void 0;
|
|
4575
4575
|
let Kp = 0;
|
|
4576
|
-
const K = rn(), xe = rn(), Po = rn(), L = rn(), pe = rn(), Qt = rn(),
|
|
4576
|
+
const K = rn(), xe = rn(), Po = rn(), L = rn(), pe = rn(), Qt = rn(), Ye = rn();
|
|
4577
4577
|
function rn() {
|
|
4578
4578
|
return 2 ** ++Kp;
|
|
4579
4579
|
}
|
|
@@ -4581,7 +4581,7 @@ const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4581
4581
|
__proto__: null,
|
|
4582
4582
|
boolean: K,
|
|
4583
4583
|
booleanish: xe,
|
|
4584
|
-
commaOrSpaceSeparated:
|
|
4584
|
+
commaOrSpaceSeparated: Ye,
|
|
4585
4585
|
commaSeparated: Qt,
|
|
4586
4586
|
number: L,
|
|
4587
4587
|
overloadedBoolean: Po,
|
|
@@ -4590,7 +4590,7 @@ const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4590
4590
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
4591
4591
|
Object.keys(Do)
|
|
4592
4592
|
);
|
|
4593
|
-
class ai extends
|
|
4593
|
+
class ai extends $e {
|
|
4594
4594
|
/**
|
|
4595
4595
|
* @constructor
|
|
4596
4596
|
* @param {string} property
|
|
@@ -5241,7 +5241,7 @@ const Jp = kn({
|
|
|
5241
5241
|
timelineBegin: "timelinebegin"
|
|
5242
5242
|
},
|
|
5243
5243
|
properties: {
|
|
5244
|
-
about:
|
|
5244
|
+
about: Ye,
|
|
5245
5245
|
accentHeight: L,
|
|
5246
5246
|
accumulate: null,
|
|
5247
5247
|
additive: null,
|
|
@@ -5353,7 +5353,7 @@ const Jp = kn({
|
|
|
5353
5353
|
k2: L,
|
|
5354
5354
|
k3: L,
|
|
5355
5355
|
k4: L,
|
|
5356
|
-
kernelMatrix:
|
|
5356
|
+
kernelMatrix: Ye,
|
|
5357
5357
|
kernelUnitLength: null,
|
|
5358
5358
|
keyPoints: null,
|
|
5359
5359
|
// SEMI_COLON_SEPARATED
|
|
@@ -5511,21 +5511,21 @@ const Jp = kn({
|
|
|
5511
5511
|
preserveAspectRatio: null,
|
|
5512
5512
|
primitiveUnits: null,
|
|
5513
5513
|
propagate: null,
|
|
5514
|
-
property:
|
|
5514
|
+
property: Ye,
|
|
5515
5515
|
r: null,
|
|
5516
5516
|
radius: null,
|
|
5517
5517
|
referrerPolicy: null,
|
|
5518
5518
|
refX: null,
|
|
5519
5519
|
refY: null,
|
|
5520
|
-
rel:
|
|
5521
|
-
rev:
|
|
5520
|
+
rel: Ye,
|
|
5521
|
+
rev: Ye,
|
|
5522
5522
|
renderingIntent: null,
|
|
5523
5523
|
repeatCount: null,
|
|
5524
5524
|
repeatDur: null,
|
|
5525
|
-
requiredExtensions:
|
|
5526
|
-
requiredFeatures:
|
|
5527
|
-
requiredFonts:
|
|
5528
|
-
requiredFormats:
|
|
5525
|
+
requiredExtensions: Ye,
|
|
5526
|
+
requiredFeatures: Ye,
|
|
5527
|
+
requiredFonts: Ye,
|
|
5528
|
+
requiredFormats: Ye,
|
|
5529
5529
|
resource: null,
|
|
5530
5530
|
restart: null,
|
|
5531
5531
|
result: null,
|
|
@@ -5553,7 +5553,7 @@ const Jp = kn({
|
|
|
5553
5553
|
strikethroughThickness: L,
|
|
5554
5554
|
string: null,
|
|
5555
5555
|
stroke: null,
|
|
5556
|
-
strokeDashArray:
|
|
5556
|
+
strokeDashArray: Ye,
|
|
5557
5557
|
strokeDashOffset: null,
|
|
5558
5558
|
strokeLineCap: null,
|
|
5559
5559
|
strokeLineJoin: null,
|
|
@@ -5567,7 +5567,7 @@ const Jp = kn({
|
|
|
5567
5567
|
syncMaster: null,
|
|
5568
5568
|
syncTolerance: null,
|
|
5569
5569
|
syncToleranceDefault: null,
|
|
5570
|
-
systemLanguage:
|
|
5570
|
+
systemLanguage: Ye,
|
|
5571
5571
|
tabIndex: L,
|
|
5572
5572
|
tableValues: null,
|
|
5573
5573
|
target: null,
|
|
@@ -5581,7 +5581,7 @@ const Jp = kn({
|
|
|
5581
5581
|
title: null,
|
|
5582
5582
|
transformBehavior: null,
|
|
5583
5583
|
type: null,
|
|
5584
|
-
typeOf:
|
|
5584
|
+
typeOf: Ye,
|
|
5585
5585
|
to: null,
|
|
5586
5586
|
transform: null,
|
|
5587
5587
|
transformOrigin: null,
|
|
@@ -5670,7 +5670,7 @@ const Jp = kn({
|
|
|
5670
5670
|
}, ed = /[A-Z]/g, al = /-[a-z]/g, td = /^data[-\w.:]+$/i;
|
|
5671
5671
|
function nd(e, t) {
|
|
5672
5672
|
const n = Lo(t);
|
|
5673
|
-
let r = t, o =
|
|
5673
|
+
let r = t, o = $e;
|
|
5674
5674
|
if (n in e.normal)
|
|
5675
5675
|
return e.property[e.normal[n]];
|
|
5676
5676
|
if (n.length > 4 && n.slice(0, 4) === "data" && td.test(t)) {
|
|
@@ -5712,28 +5712,28 @@ function ad() {
|
|
|
5712
5712
|
throw new TypeError("First argument must be a string");
|
|
5713
5713
|
if (!v) return [];
|
|
5714
5714
|
w = w || {};
|
|
5715
|
-
var E = 1,
|
|
5715
|
+
var E = 1, T = 1;
|
|
5716
5716
|
function O(V) {
|
|
5717
5717
|
var D = V.match(t);
|
|
5718
5718
|
D && (E += D.length);
|
|
5719
5719
|
var J = V.lastIndexOf(s);
|
|
5720
|
-
|
|
5720
|
+
T = ~J ? V.length - J : T + V.length;
|
|
5721
5721
|
}
|
|
5722
5722
|
function F() {
|
|
5723
|
-
var V = { line: E, column:
|
|
5723
|
+
var V = { line: E, column: T };
|
|
5724
5724
|
return function(D) {
|
|
5725
5725
|
return D.position = new C(V), W(), D;
|
|
5726
5726
|
};
|
|
5727
5727
|
}
|
|
5728
5728
|
function C(V) {
|
|
5729
|
-
this.start = V, this.end = { line: E, column:
|
|
5729
|
+
this.start = V, this.end = { line: E, column: T }, this.source = w.source;
|
|
5730
5730
|
}
|
|
5731
5731
|
C.prototype.content = v;
|
|
5732
5732
|
function B(V) {
|
|
5733
5733
|
var D = new Error(
|
|
5734
|
-
w.source + ":" + E + ":" +
|
|
5734
|
+
w.source + ":" + E + ":" + T + ": " + V
|
|
5735
5735
|
);
|
|
5736
|
-
if (D.reason = V, D.filename = w.source, D.line = E, D.column =
|
|
5736
|
+
if (D.reason = V, D.filename = w.source, D.line = E, D.column = T, D.source = v, !w.silent) throw D;
|
|
5737
5737
|
}
|
|
5738
5738
|
function N(V) {
|
|
5739
5739
|
var D = V.exec(v);
|
|
@@ -5759,7 +5759,7 @@ function ad() {
|
|
|
5759
5759
|
if (D += 2, c === v.charAt(D - 1))
|
|
5760
5760
|
return B("End of comment missing");
|
|
5761
5761
|
var J = v.slice(2, D - 2);
|
|
5762
|
-
return
|
|
5762
|
+
return T += 2, O(J), v = v.slice(D), T += 2, V({
|
|
5763
5763
|
type: d,
|
|
5764
5764
|
comment: J
|
|
5765
5765
|
});
|
|
@@ -8585,14 +8585,14 @@ function Vd(e) {
|
|
|
8585
8585
|
const t = this, n = [];
|
|
8586
8586
|
let r = 0, o, l, i;
|
|
8587
8587
|
return a;
|
|
8588
|
-
function a(
|
|
8588
|
+
function a(T) {
|
|
8589
8589
|
if (r < n.length) {
|
|
8590
8590
|
const O = n[r];
|
|
8591
|
-
return t.containerState = O[1], e.attempt(O[0].continuation, s, u)(
|
|
8591
|
+
return t.containerState = O[1], e.attempt(O[0].continuation, s, u)(T);
|
|
8592
8592
|
}
|
|
8593
|
-
return u(
|
|
8593
|
+
return u(T);
|
|
8594
8594
|
}
|
|
8595
|
-
function s(
|
|
8595
|
+
function s(T) {
|
|
8596
8596
|
if (r++, t.containerState._closeFlow) {
|
|
8597
8597
|
t.containerState._closeFlow = void 0, o && E();
|
|
8598
8598
|
const O = t.events.length;
|
|
@@ -8608,53 +8608,53 @@ function Vd(e) {
|
|
|
8608
8608
|
t.events[B][1].end = {
|
|
8609
8609
|
...C
|
|
8610
8610
|
}, B++;
|
|
8611
|
-
return Ke(t.events, F + 1, 0, t.events.slice(O)), t.events.length = B, u(
|
|
8611
|
+
return Ke(t.events, F + 1, 0, t.events.slice(O)), t.events.length = B, u(T);
|
|
8612
8612
|
}
|
|
8613
|
-
return a(
|
|
8613
|
+
return a(T);
|
|
8614
8614
|
}
|
|
8615
|
-
function u(
|
|
8615
|
+
function u(T) {
|
|
8616
8616
|
if (r === n.length) {
|
|
8617
8617
|
if (!o)
|
|
8618
|
-
return d(
|
|
8618
|
+
return d(T);
|
|
8619
8619
|
if (o.currentConstruct && o.currentConstruct.concrete)
|
|
8620
|
-
return g(
|
|
8620
|
+
return g(T);
|
|
8621
8621
|
t.interrupt = !!(o.currentConstruct && !o._gfmTableDynamicInterruptHack);
|
|
8622
8622
|
}
|
|
8623
|
-
return t.containerState = {}, e.check(bl, f, c)(
|
|
8623
|
+
return t.containerState = {}, e.check(bl, f, c)(T);
|
|
8624
8624
|
}
|
|
8625
|
-
function f(
|
|
8626
|
-
return o && E(), w(r), d(
|
|
8625
|
+
function f(T) {
|
|
8626
|
+
return o && E(), w(r), d(T);
|
|
8627
8627
|
}
|
|
8628
|
-
function c(
|
|
8629
|
-
return t.parser.lazy[t.now().line] = r !== n.length, i = t.now().offset, g(
|
|
8628
|
+
function c(T) {
|
|
8629
|
+
return t.parser.lazy[t.now().line] = r !== n.length, i = t.now().offset, g(T);
|
|
8630
8630
|
}
|
|
8631
|
-
function d(
|
|
8632
|
-
return t.containerState = {}, e.attempt(bl, p, g)(
|
|
8631
|
+
function d(T) {
|
|
8632
|
+
return t.containerState = {}, e.attempt(bl, p, g)(T);
|
|
8633
8633
|
}
|
|
8634
|
-
function p(
|
|
8635
|
-
return r++, n.push([t.currentConstruct, t.containerState]), d(
|
|
8634
|
+
function p(T) {
|
|
8635
|
+
return r++, n.push([t.currentConstruct, t.containerState]), d(T);
|
|
8636
8636
|
}
|
|
8637
|
-
function g(
|
|
8638
|
-
if (
|
|
8639
|
-
o && E(), w(0), e.consume(
|
|
8637
|
+
function g(T) {
|
|
8638
|
+
if (T === null) {
|
|
8639
|
+
o && E(), w(0), e.consume(T);
|
|
8640
8640
|
return;
|
|
8641
8641
|
}
|
|
8642
8642
|
return o = o || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
|
8643
8643
|
_tokenizer: o,
|
|
8644
8644
|
contentType: "flow",
|
|
8645
8645
|
previous: l
|
|
8646
|
-
}), k(
|
|
8646
|
+
}), k(T);
|
|
8647
8647
|
}
|
|
8648
|
-
function k(
|
|
8649
|
-
if (
|
|
8650
|
-
v(e.exit("chunkFlow"), !0), w(0), e.consume(
|
|
8648
|
+
function k(T) {
|
|
8649
|
+
if (T === null) {
|
|
8650
|
+
v(e.exit("chunkFlow"), !0), w(0), e.consume(T);
|
|
8651
8651
|
return;
|
|
8652
8652
|
}
|
|
8653
|
-
return Y(
|
|
8653
|
+
return Y(T) ? (e.consume(T), v(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(T), k);
|
|
8654
8654
|
}
|
|
8655
|
-
function v(
|
|
8656
|
-
const F = t.sliceStream(
|
|
8657
|
-
if (O && F.push(null),
|
|
8655
|
+
function v(T, O) {
|
|
8656
|
+
const F = t.sliceStream(T);
|
|
8657
|
+
if (O && F.push(null), T.previous = l, l && (l.next = T), l = T, o.defineSkip(T.start), o.write(F), t.parser.lazy[T.start.line]) {
|
|
8658
8658
|
let C = o.events.length;
|
|
8659
8659
|
for (; C--; )
|
|
8660
8660
|
if (
|
|
@@ -8681,13 +8681,13 @@ function Vd(e) {
|
|
|
8681
8681
|
Ke(t.events, N + 1, 0, t.events.slice(B)), t.events.length = C;
|
|
8682
8682
|
}
|
|
8683
8683
|
}
|
|
8684
|
-
function w(
|
|
8684
|
+
function w(T) {
|
|
8685
8685
|
let O = n.length;
|
|
8686
|
-
for (; O-- >
|
|
8686
|
+
for (; O-- > T; ) {
|
|
8687
8687
|
const F = n[O];
|
|
8688
8688
|
t.containerState = F[1], F[0].exit.call(t, e);
|
|
8689
8689
|
}
|
|
8690
|
-
n.length =
|
|
8690
|
+
n.length = T;
|
|
8691
8691
|
}
|
|
8692
8692
|
function E() {
|
|
8693
8693
|
o.write([null]), l = void 0, o = void 0, t.containerState._closeFlow = void 0;
|
|
@@ -8966,10 +8966,10 @@ function nh(e, t, n) {
|
|
|
8966
8966
|
return l > 0 && oe(C) ? se(e, E, "linePrefix", l + 1)(C) : E(C);
|
|
8967
8967
|
}
|
|
8968
8968
|
function E(C) {
|
|
8969
|
-
return C === null || Y(C) ? e.check(xl, k, O)(C) : (e.enter("codeFlowValue"),
|
|
8969
|
+
return C === null || Y(C) ? e.check(xl, k, O)(C) : (e.enter("codeFlowValue"), T(C));
|
|
8970
8970
|
}
|
|
8971
|
-
function
|
|
8972
|
-
return C === null || Y(C) ? (e.exit("codeFlowValue"), E(C)) : (e.consume(C),
|
|
8971
|
+
function T(C) {
|
|
8972
|
+
return C === null || Y(C) ? (e.exit("codeFlowValue"), E(C)) : (e.consume(C), T);
|
|
8973
8973
|
}
|
|
8974
8974
|
function O(C) {
|
|
8975
8975
|
return e.exit("codeFenced"), t(C);
|
|
@@ -9660,7 +9660,7 @@ function Nh(e, t, n) {
|
|
|
9660
9660
|
function v(b) {
|
|
9661
9661
|
if (b === null || b === 47 || b === 62 || de(b)) {
|
|
9662
9662
|
const Te = b === 47, me = i.toLowerCase();
|
|
9663
|
-
return !Te && !l && kl.includes(me) ? (o = 1, r.interrupt ? t(b) : z(b)) : Th.includes(i.toLowerCase()) ? (o = 6, Te ? (e.consume(b), w) : r.interrupt ? t(b) : z(b)) : (o = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(b) : l ? E(b) :
|
|
9663
|
+
return !Te && !l && kl.includes(me) ? (o = 1, r.interrupt ? t(b) : z(b)) : Th.includes(i.toLowerCase()) ? (o = 6, Te ? (e.consume(b), w) : r.interrupt ? t(b) : z(b)) : (o = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(b) : l ? E(b) : T(b));
|
|
9664
9664
|
}
|
|
9665
9665
|
return b === 45 || Ie(b) ? (e.consume(b), i += String.fromCharCode(b), v) : n(b);
|
|
9666
9666
|
}
|
|
@@ -9670,14 +9670,14 @@ function Nh(e, t, n) {
|
|
|
9670
9670
|
function E(b) {
|
|
9671
9671
|
return oe(b) ? (e.consume(b), E) : S(b);
|
|
9672
9672
|
}
|
|
9673
|
-
function
|
|
9674
|
-
return b === 47 ? (e.consume(b), S) : b === 58 || b === 95 || Oe(b) ? (e.consume(b), O) : oe(b) ? (e.consume(b),
|
|
9673
|
+
function T(b) {
|
|
9674
|
+
return b === 47 ? (e.consume(b), S) : b === 58 || b === 95 || Oe(b) ? (e.consume(b), O) : oe(b) ? (e.consume(b), T) : S(b);
|
|
9675
9675
|
}
|
|
9676
9676
|
function O(b) {
|
|
9677
9677
|
return b === 45 || b === 46 || b === 58 || b === 95 || Ie(b) ? (e.consume(b), O) : F(b);
|
|
9678
9678
|
}
|
|
9679
9679
|
function F(b) {
|
|
9680
|
-
return b === 61 ? (e.consume(b), C) : oe(b) ? (e.consume(b), F) :
|
|
9680
|
+
return b === 61 ? (e.consume(b), C) : oe(b) ? (e.consume(b), F) : T(b);
|
|
9681
9681
|
}
|
|
9682
9682
|
function C(b) {
|
|
9683
9683
|
return b === null || b === 60 || b === 61 || b === 62 || b === 96 ? n(b) : b === 34 || b === 39 ? (e.consume(b), s = b, B) : oe(b) ? (e.consume(b), C) : N(b);
|
|
@@ -9689,7 +9689,7 @@ function Nh(e, t, n) {
|
|
|
9689
9689
|
return b === null || b === 34 || b === 39 || b === 47 || b === 60 || b === 61 || b === 62 || b === 96 || de(b) ? F(b) : (e.consume(b), N);
|
|
9690
9690
|
}
|
|
9691
9691
|
function W(b) {
|
|
9692
|
-
return b === 47 || b === 62 || oe(b) ?
|
|
9692
|
+
return b === 47 || b === 62 || oe(b) ? T(b) : n(b);
|
|
9693
9693
|
}
|
|
9694
9694
|
function S(b) {
|
|
9695
9695
|
return b === 62 ? (e.consume(b), P) : n(b);
|
|
@@ -9763,7 +9763,7 @@ function Mh(e, t, n) {
|
|
|
9763
9763
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(m), s;
|
|
9764
9764
|
}
|
|
9765
9765
|
function s(m) {
|
|
9766
|
-
return m === 33 ? (e.consume(m), u) : m === 47 ? (e.consume(m), F) : m === 63 ? (e.consume(m),
|
|
9766
|
+
return m === 33 ? (e.consume(m), u) : m === 47 ? (e.consume(m), F) : m === 63 ? (e.consume(m), T) : Oe(m) ? (e.consume(m), N) : n(m);
|
|
9767
9767
|
}
|
|
9768
9768
|
function u(m) {
|
|
9769
9769
|
return m === 45 ? (e.consume(m), f) : m === 91 ? (e.consume(m), l = 0, g) : Oe(m) ? (e.consume(m), E) : n(m);
|
|
@@ -9796,11 +9796,11 @@ function Mh(e, t, n) {
|
|
|
9796
9796
|
function E(m) {
|
|
9797
9797
|
return m === null || m === 62 ? J(m) : Y(m) ? (i = E, ae(m)) : (e.consume(m), E);
|
|
9798
9798
|
}
|
|
9799
|
-
function
|
|
9800
|
-
return m === null ? n(m) : m === 63 ? (e.consume(m), O) : Y(m) ? (i =
|
|
9799
|
+
function T(m) {
|
|
9800
|
+
return m === null ? n(m) : m === 63 ? (e.consume(m), O) : Y(m) ? (i = T, ae(m)) : (e.consume(m), T);
|
|
9801
9801
|
}
|
|
9802
9802
|
function O(m) {
|
|
9803
|
-
return m === 62 ? J(m) :
|
|
9803
|
+
return m === 62 ? J(m) : T(m);
|
|
9804
9804
|
}
|
|
9805
9805
|
function F(m) {
|
|
9806
9806
|
return Oe(m) ? (e.consume(m), C) : n(m);
|
|
@@ -10382,7 +10382,7 @@ function vm(e, t, n) {
|
|
|
10382
10382
|
attempt: B(F),
|
|
10383
10383
|
check: B(C),
|
|
10384
10384
|
consume: E,
|
|
10385
|
-
enter:
|
|
10385
|
+
enter: T,
|
|
10386
10386
|
exit: O,
|
|
10387
10387
|
interrupt: B(C, {
|
|
10388
10388
|
interrupt: !0
|
|
@@ -10449,7 +10449,7 @@ function vm(e, t, n) {
|
|
|
10449
10449
|
/** @type {string} */
|
|
10450
10450
|
i[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = P;
|
|
10451
10451
|
}
|
|
10452
|
-
function
|
|
10452
|
+
function T(P, z) {
|
|
10453
10453
|
const re = z || {};
|
|
10454
10454
|
return re.type = P, re.start = g(), u.events.push(["enter", re, u]), a.push(re), re;
|
|
10455
10455
|
}
|
|
@@ -10479,14 +10479,14 @@ function vm(e, t, n) {
|
|
|
10479
10479
|
) : Se(V);
|
|
10480
10480
|
function Se(j) {
|
|
10481
10481
|
return Je;
|
|
10482
|
-
function Je(
|
|
10483
|
-
const ce =
|
|
10482
|
+
function Je(We) {
|
|
10483
|
+
const ce = We !== null && j[We], it = We !== null && j.null, lt = [
|
|
10484
10484
|
// To do: add more extension tests.
|
|
10485
10485
|
/* c8 ignore next 2 */
|
|
10486
10486
|
...Array.isArray(ce) ? ce : ce ? [ce] : [],
|
|
10487
10487
|
...Array.isArray(it) ? it : it ? [it] : []
|
|
10488
10488
|
];
|
|
10489
|
-
return Pe(lt)(
|
|
10489
|
+
return Pe(lt)(We);
|
|
10490
10490
|
}
|
|
10491
10491
|
}
|
|
10492
10492
|
function Pe(j) {
|
|
@@ -10494,7 +10494,7 @@ function vm(e, t, n) {
|
|
|
10494
10494
|
}
|
|
10495
10495
|
function b(j) {
|
|
10496
10496
|
return Je;
|
|
10497
|
-
function Je(
|
|
10497
|
+
function Je(We) {
|
|
10498
10498
|
return m = W(), Le = j, j.partial || (u.currentConstruct = j), j.name && u.parser.constructs.disable.null.includes(j.name) ? me() : j.tokenize.call(
|
|
10499
10499
|
// If we do have fields, create an object w/ `context` as its
|
|
10500
10500
|
// prototype.
|
|
@@ -10503,7 +10503,7 @@ function vm(e, t, n) {
|
|
|
10503
10503
|
s,
|
|
10504
10504
|
Te,
|
|
10505
10505
|
me
|
|
10506
|
-
)(
|
|
10506
|
+
)(We);
|
|
10507
10507
|
}
|
|
10508
10508
|
}
|
|
10509
10509
|
function Te(j) {
|
|
@@ -10701,8 +10701,8 @@ function Lm(e) {
|
|
|
10701
10701
|
link: l(ln),
|
|
10702
10702
|
listItem: l(jt),
|
|
10703
10703
|
listItemValue: d,
|
|
10704
|
-
listOrdered: l(
|
|
10705
|
-
listUnordered: l(
|
|
10704
|
+
listOrdered: l(Ge, c),
|
|
10705
|
+
listUnordered: l(Ge),
|
|
10706
10706
|
paragraph: l(Zn),
|
|
10707
10707
|
reference: b,
|
|
10708
10708
|
referenceString: i,
|
|
@@ -10717,7 +10717,7 @@ function Lm(e) {
|
|
|
10717
10717
|
atxHeadingSequence: F,
|
|
10718
10718
|
autolink: s(),
|
|
10719
10719
|
autolinkEmail: ce,
|
|
10720
|
-
autolinkProtocol:
|
|
10720
|
+
autolinkProtocol: We,
|
|
10721
10721
|
blockQuote: s(),
|
|
10722
10722
|
characterEscapeValue: S,
|
|
10723
10723
|
characterReferenceMarkerHexadecimal: me,
|
|
@@ -10736,7 +10736,7 @@ function Lm(e) {
|
|
|
10736
10736
|
definition: s(),
|
|
10737
10737
|
definitionDestinationString: O,
|
|
10738
10738
|
definitionLabelString: E,
|
|
10739
|
-
definitionTitleString:
|
|
10739
|
+
definitionTitleString: T,
|
|
10740
10740
|
emphasis: s(),
|
|
10741
10741
|
hardBreakEscape: s(z),
|
|
10742
10742
|
hardBreakTrailing: s(z),
|
|
@@ -10936,7 +10936,7 @@ function Lm(e) {
|
|
|
10936
10936
|
const M = this.resume(), G = this.stack[this.stack.length - 1];
|
|
10937
10937
|
G.label = M, G.identifier = ut(this.sliceSerialize(A)).toLowerCase();
|
|
10938
10938
|
}
|
|
10939
|
-
function
|
|
10939
|
+
function T() {
|
|
10940
10940
|
const A = this.resume(), M = this.stack[this.stack.length - 1];
|
|
10941
10941
|
M.title = A;
|
|
10942
10942
|
}
|
|
@@ -11060,7 +11060,7 @@ function Lm(e) {
|
|
|
11060
11060
|
const M = this.stack.pop();
|
|
11061
11061
|
M.position.end = Pt(A.end);
|
|
11062
11062
|
}
|
|
11063
|
-
function
|
|
11063
|
+
function We(A) {
|
|
11064
11064
|
S.call(this, A);
|
|
11065
11065
|
const M = this.stack[this.stack.length - 1];
|
|
11066
11066
|
M.url = this.sliceSerialize(A);
|
|
@@ -11140,7 +11140,7 @@ function Lm(e) {
|
|
|
11140
11140
|
children: []
|
|
11141
11141
|
};
|
|
11142
11142
|
}
|
|
11143
|
-
function
|
|
11143
|
+
function Ge(A) {
|
|
11144
11144
|
return {
|
|
11145
11145
|
type: "list",
|
|
11146
11146
|
ordered: A.type === "listOrdered",
|
|
@@ -13815,20 +13815,20 @@ function lu(e, t, n) {
|
|
|
13815
13815
|
const v = c.children.indexOf(u);
|
|
13816
13816
|
let w = !1, E = [];
|
|
13817
13817
|
d.lastIndex = 0;
|
|
13818
|
-
let
|
|
13819
|
-
for (;
|
|
13820
|
-
const O =
|
|
13821
|
-
index:
|
|
13822
|
-
input:
|
|
13818
|
+
let T = d.exec(u.value);
|
|
13819
|
+
for (; T; ) {
|
|
13820
|
+
const O = T.index, F = {
|
|
13821
|
+
index: T.index,
|
|
13822
|
+
input: T.input,
|
|
13823
13823
|
stack: [...f, u]
|
|
13824
13824
|
};
|
|
13825
|
-
let C = p(...
|
|
13825
|
+
let C = p(...T, F);
|
|
13826
13826
|
if (typeof C == "string" && (C = C.length > 0 ? { type: "text", value: C } : void 0), C === !1 ? d.lastIndex = O + 1 : (g !== O && E.push({
|
|
13827
13827
|
type: "text",
|
|
13828
13828
|
value: u.value.slice(g, O)
|
|
13829
|
-
}), Array.isArray(C) ? E.push(...C) : C && E.push(C), g = O +
|
|
13829
|
+
}), Array.isArray(C) ? E.push(...C) : C && E.push(C), g = O + T[0].length, w = !0), !d.global)
|
|
13830
13830
|
break;
|
|
13831
|
-
|
|
13831
|
+
T = d.exec(u.value);
|
|
13832
13832
|
}
|
|
13833
13833
|
return w ? (g < u.value.length && E.push({ type: "text", value: u.value.slice(g) }), c.children.splice(v, 1, ...E)) : E = [u], v + E.length;
|
|
13834
13834
|
}
|
|
@@ -14142,8 +14142,8 @@ function Zb(e, t) {
|
|
|
14142
14142
|
for (e[f].length > u && (u = e[f].length); ++w < e[f].length; ) {
|
|
14143
14143
|
const E = ey(e[f][w]);
|
|
14144
14144
|
if (n.alignDelimiters !== !1) {
|
|
14145
|
-
const
|
|
14146
|
-
v[w] =
|
|
14145
|
+
const T = o(E);
|
|
14146
|
+
v[w] = T, (s[w] === void 0 || T > s[w]) && (s[w] = T);
|
|
14147
14147
|
}
|
|
14148
14148
|
k.push(E);
|
|
14149
14149
|
}
|
|
@@ -14168,8 +14168,8 @@ function Zb(e, t) {
|
|
|
14168
14168
|
1,
|
|
14169
14169
|
s[c] - v.length - w.length
|
|
14170
14170
|
);
|
|
14171
|
-
const
|
|
14172
|
-
n.alignDelimiters !== !1 && (E = v.length + E + w.length, E > s[c] && (s[c] = E), p[c] = E), d[c] =
|
|
14171
|
+
const T = v + "-".repeat(E) + w;
|
|
14172
|
+
n.alignDelimiters !== !1 && (E = v.length + E + w.length, E > s[c] && (s[c] = E), p[c] = E), d[c] = T;
|
|
14173
14173
|
}
|
|
14174
14174
|
i.splice(1, 0, d), a.splice(1, 0, p), f = -1;
|
|
14175
14175
|
const g = [];
|
|
@@ -14179,14 +14179,14 @@ function Zb(e, t) {
|
|
|
14179
14179
|
const w = [];
|
|
14180
14180
|
for (; ++c < u; ) {
|
|
14181
14181
|
const E = k[c] || "";
|
|
14182
|
-
let
|
|
14182
|
+
let T = "", O = "";
|
|
14183
14183
|
if (n.alignDelimiters !== !1) {
|
|
14184
14184
|
const F = s[c] - (v[c] || 0), C = l[c];
|
|
14185
|
-
C === 114 ?
|
|
14185
|
+
C === 114 ? T = " ".repeat(F) : C === 99 ? F % 2 ? (T = " ".repeat(F / 2 + 0.5), O = " ".repeat(F / 2 - 0.5)) : (T = " ".repeat(F / 2), O = T) : O = " ".repeat(F);
|
|
14186
14186
|
}
|
|
14187
14187
|
n.delimiterStart !== !1 && !c && w.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
14188
14188
|
// empty: there will be a closing space.
|
|
14189
|
-
!(n.alignDelimiters === !1 && E === "") && (n.delimiterStart !== !1 || c) && w.push(" "), n.alignDelimiters !== !1 && w.push(
|
|
14189
|
+
!(n.alignDelimiters === !1 && E === "") && (n.delimiterStart !== !1 || c) && w.push(" "), n.alignDelimiters !== !1 && w.push(T), w.push(E), n.alignDelimiters !== !1 && w.push(O), n.padding !== !1 && w.push(" "), (n.delimiterEnd !== !1 || c !== u - 1) && w.push("|");
|
|
14190
14190
|
}
|
|
14191
14191
|
g.push(
|
|
14192
14192
|
n.delimiterEnd === !1 ? w.join("").replace(/ +$/, "") : w.join("")
|
|
@@ -14887,12 +14887,12 @@ function Fy(e) {
|
|
|
14887
14887
|
`));
|
|
14888
14888
|
}
|
|
14889
14889
|
function s(p, g, k, v) {
|
|
14890
|
-
const w = k.enter("tableCell"), E = k.enter("phrasing"),
|
|
14890
|
+
const w = k.enter("tableCell"), E = k.enter("phrasing"), T = k.containerPhrasing(p, {
|
|
14891
14891
|
...v,
|
|
14892
14892
|
before: l,
|
|
14893
14893
|
after: l
|
|
14894
14894
|
});
|
|
14895
|
-
return E(), w(),
|
|
14895
|
+
return E(), w(), T;
|
|
14896
14896
|
}
|
|
14897
14897
|
function u(p, g) {
|
|
14898
14898
|
return Zb(p, {
|
|
@@ -14908,18 +14908,18 @@ function Fy(e) {
|
|
|
14908
14908
|
function f(p, g, k) {
|
|
14909
14909
|
const v = p.children;
|
|
14910
14910
|
let w = -1;
|
|
14911
|
-
const E = [],
|
|
14911
|
+
const E = [], T = g.enter("table");
|
|
14912
14912
|
for (; ++w < v.length; )
|
|
14913
14913
|
E[w] = c(v[w], g, k);
|
|
14914
|
-
return
|
|
14914
|
+
return T(), E;
|
|
14915
14915
|
}
|
|
14916
14916
|
function c(p, g, k) {
|
|
14917
14917
|
const v = p.children;
|
|
14918
14918
|
let w = -1;
|
|
14919
|
-
const E = [],
|
|
14919
|
+
const E = [], T = g.enter("tableRow");
|
|
14920
14920
|
for (; ++w < v.length; )
|
|
14921
14921
|
E[w] = s(v[w], p, g, k);
|
|
14922
|
-
return
|
|
14922
|
+
return T(), E;
|
|
14923
14923
|
}
|
|
14924
14924
|
function d(p, g, k) {
|
|
14925
14925
|
let v = ku.inlineCode(p, g, k);
|
|
@@ -15578,9 +15578,9 @@ function bx(e, t, n) {
|
|
|
15578
15578
|
return S === 45 ? (e.enter("tableDelimiterFiller"), E(S)) : F(S);
|
|
15579
15579
|
}
|
|
15580
15580
|
function E(S) {
|
|
15581
|
-
return S === 45 ? (e.consume(S), E) : S === 58 ? (i = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(S), e.exit("tableDelimiterMarker"),
|
|
15581
|
+
return S === 45 ? (e.consume(S), E) : S === 58 ? (i = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(S), e.exit("tableDelimiterMarker"), T) : (e.exit("tableDelimiterFiller"), T(S));
|
|
15582
15582
|
}
|
|
15583
|
-
function
|
|
15583
|
+
function T(S) {
|
|
15584
15584
|
return oe(S) ? se(e, O, "whitespace")(S) : O(S);
|
|
15585
15585
|
}
|
|
15586
15586
|
function O(S) {
|
|
@@ -15753,7 +15753,7 @@ function qx() {
|
|
|
15753
15753
|
return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
15754
15754
|
}
|
|
15755
15755
|
function _x(e, t = !0) {
|
|
15756
|
-
const [n, r] = Ae(0), o =
|
|
15756
|
+
const [n, r] = Ae(0), o = je(qx());
|
|
15757
15757
|
return vt(() => {
|
|
15758
15758
|
if (!t || o.current) {
|
|
15759
15759
|
r(e.length);
|
|
@@ -15819,7 +15819,7 @@ class Jt extends Error {
|
|
|
15819
15819
|
}
|
|
15820
15820
|
}
|
|
15821
15821
|
const Mx = "x-elo-chat-token", Ql = "x-elo-chat-token-renewed";
|
|
15822
|
-
class
|
|
15822
|
+
class kk {
|
|
15823
15823
|
baseURL;
|
|
15824
15824
|
appId;
|
|
15825
15825
|
region = null;
|
|
@@ -15944,7 +15944,7 @@ async function Ox(e) {
|
|
|
15944
15944
|
class xr extends Error {
|
|
15945
15945
|
name = "AttachmentUploadError";
|
|
15946
15946
|
}
|
|
15947
|
-
function
|
|
15947
|
+
function Sk(e, t) {
|
|
15948
15948
|
return e instanceof Jt ? e.status === 413 ? new xr(`${t} is too large.`) : e.status === 415 ? new xr(
|
|
15949
15949
|
`${t} isn't a supported file type.`
|
|
15950
15950
|
) : e.status === 403 || e.status >= 500 ? new xr(Ru) : e : e;
|
|
@@ -15983,26 +15983,26 @@ function Fx(e, t) {
|
|
|
15983
15983
|
function Bx(e, t) {
|
|
15984
15984
|
return e instanceof xr ? e.message : t.length > 0 ? Ru : null;
|
|
15985
15985
|
}
|
|
15986
|
-
function
|
|
15986
|
+
function vk(e, t) {
|
|
15987
15987
|
return e.map((n, r) => ({
|
|
15988
15988
|
...n,
|
|
15989
15989
|
displayUrl: t[r].previewUrl
|
|
15990
15990
|
}));
|
|
15991
15991
|
}
|
|
15992
|
-
function
|
|
15992
|
+
function Ck(e, t, n) {
|
|
15993
15993
|
return Promise.all(
|
|
15994
15994
|
n.map(
|
|
15995
15995
|
(r) => Hx(e, t, r)
|
|
15996
15996
|
)
|
|
15997
15997
|
);
|
|
15998
15998
|
}
|
|
15999
|
-
function
|
|
15999
|
+
function Ak(e) {
|
|
16000
16000
|
return Pu(e).length > 0;
|
|
16001
16001
|
}
|
|
16002
16002
|
function Ux(e) {
|
|
16003
16003
|
return e.displayUrl ? e.displayUrl : Lu(e.url) ? void 0 : e.url;
|
|
16004
16004
|
}
|
|
16005
|
-
function
|
|
16005
|
+
function Ek(e) {
|
|
16006
16006
|
for (const t of e)
|
|
16007
16007
|
for (const n of t.attachments ?? [])
|
|
16008
16008
|
n.displayUrl && URL.revokeObjectURL(n.displayUrl);
|
|
@@ -16137,60 +16137,52 @@ function Ou({ name: e, progress: t }) {
|
|
|
16137
16137
|
}
|
|
16138
16138
|
);
|
|
16139
16139
|
}
|
|
16140
|
-
const Gx = "eloq:h-[0.42em] eloq:w-[0.42em] eloq:rounded-full eloq:bg-gray-400 eloq:dark:bg-gray-200 eloq:animate-thinking-dot eloq:motion-reduce:animate-none eloq:motion-reduce:opacity-70"
|
|
16141
|
-
function Xx(e) {
|
|
16142
|
-
let t = e.length;
|
|
16143
|
-
for (; t > 0 && e.charCodeAt(t - 1) === 46; )
|
|
16144
|
-
t--;
|
|
16145
|
-
return e.slice(0, t);
|
|
16146
|
-
}
|
|
16140
|
+
const Gx = "eloq:h-[0.42em] eloq:w-[0.42em] eloq:rounded-full eloq:bg-gray-400 eloq:dark:bg-gray-200 eloq:animate-thinking-dot eloq:motion-reduce:animate-none eloq:motion-reduce:opacity-70";
|
|
16147
16141
|
function Zl({
|
|
16148
16142
|
messageData: e,
|
|
16149
16143
|
isBot: t,
|
|
16150
16144
|
isSibling: n
|
|
16151
16145
|
}) {
|
|
16152
|
-
const r = ei(), { onMessageClick: o, highlightedMessageId: l } = nn(), i = l != null && l === e.id, a =
|
|
16146
|
+
const r = ei(), { onMessageClick: o, highlightedMessageId: l } = nn(), i = l != null && l === e.id, a = je(null);
|
|
16153
16147
|
vt(() => {
|
|
16154
16148
|
if (!i) return;
|
|
16155
|
-
const
|
|
16149
|
+
const T = window.matchMedia?.(
|
|
16156
16150
|
"(prefers-reduced-motion: reduce)"
|
|
16157
16151
|
).matches;
|
|
16158
16152
|
a.current?.scrollIntoView?.({
|
|
16159
16153
|
block: "nearest",
|
|
16160
|
-
behavior:
|
|
16154
|
+
behavior: T ? "auto" : "smooth"
|
|
16161
16155
|
});
|
|
16162
16156
|
}, [i]);
|
|
16163
|
-
const s =
|
|
16157
|
+
const s = ee({
|
|
16164
16158
|
[r.botBubbleColor]: e.sender === "assistant",
|
|
16165
16159
|
[r.userBubbleColor]: e.sender === "user"
|
|
16166
|
-
}), f = (e.sender === "assistant" ? r.botBubbleTextColor : r.userBubbleTextColor) || Ai(s), c = e.attachments ?? [], d = e.type === "image" || e.content !== "" || c.length === 0, p =
|
|
16167
|
-
|
|
16168
|
-
|
|
16169
|
-
|
|
16170
|
-
k
|
|
16171
|
-
), w = () => g ? /* @__PURE__ */ Z("div", { className: "eloq:ml-1 eloq:flex eloq:items-center eloq:gap-2 eloq:animate-message-in", children: [
|
|
16160
|
+
}), f = (e.sender === "assistant" ? r.botBubbleTextColor : r.userBubbleTextColor) || Ai(s), c = e.attachments ?? [], d = e.type === "image" || e.content !== "" || c.length === 0, p = !!(t && e.isThinking), g = !!e.isRegenerating, k = je(e.content), v = e.content !== k.current, w = _x(
|
|
16161
|
+
p ? e.content : "",
|
|
16162
|
+
p
|
|
16163
|
+
), E = () => p ? /* @__PURE__ */ Z("div", { className: "eloq:ml-1 eloq:flex eloq:items-center eloq:gap-2 eloq:animate-message-in", children: [
|
|
16172
16164
|
/* @__PURE__ */ x(
|
|
16173
16165
|
"span",
|
|
16174
16166
|
{
|
|
16175
16167
|
className: "eloq:flex eloq:h-5 eloq:items-center eloq:gap-[0.25em] eloq:rounded-2xl eloq:px-[12px] eloq:py-[8px] eloq:text-sm eloq:box-content",
|
|
16176
16168
|
style: { backgroundColor: r.botBubbleColor },
|
|
16177
|
-
children: [0, 150, 300].map((
|
|
16169
|
+
children: [0, 150, 300].map((T) => /* @__PURE__ */ x(
|
|
16178
16170
|
"span",
|
|
16179
16171
|
{
|
|
16180
16172
|
className: Gx,
|
|
16181
|
-
style: { animationDelay: `${
|
|
16173
|
+
style: { animationDelay: `${T}ms` }
|
|
16182
16174
|
},
|
|
16183
|
-
|
|
16175
|
+
T
|
|
16184
16176
|
))
|
|
16185
16177
|
}
|
|
16186
16178
|
),
|
|
16187
|
-
|
|
16179
|
+
w && // Outside the bubble, on the panel background. Same wave as the
|
|
16188
16180
|
// dots, swept through the glyphs.
|
|
16189
|
-
/* @__PURE__ */ x("span", { className: "eloq-thinking-shimmer eloq:text-sm eloq:font-medium eloq:animate-thinking-shimmer eloq:motion-reduce:animate-none", children:
|
|
16181
|
+
/* @__PURE__ */ x("span", { className: "eloq-thinking-shimmer eloq:text-sm eloq:font-medium eloq:animate-thinking-shimmer eloq:motion-reduce:animate-none", children: w })
|
|
16190
16182
|
] }) : /* @__PURE__ */ Z(
|
|
16191
16183
|
"div",
|
|
16192
16184
|
{
|
|
16193
|
-
className:
|
|
16185
|
+
className: ee(
|
|
16194
16186
|
"eloq:flex eloq:flex-col eloq:flex-1 eloq:self-stretch eloq:gap-1.5 eloq:text-sm",
|
|
16195
16187
|
{ "eloq:items-end": e.sender === "user" }
|
|
16196
16188
|
),
|
|
@@ -16198,11 +16190,12 @@ function Zl({
|
|
|
16198
16190
|
role: o && !e.isWelcomeMessage ? "button" : void 0,
|
|
16199
16191
|
tabIndex: 0,
|
|
16200
16192
|
children: [
|
|
16201
|
-
d && /* @__PURE__ */
|
|
16193
|
+
d && /* @__PURE__ */ Z(
|
|
16202
16194
|
"div",
|
|
16203
16195
|
{
|
|
16204
16196
|
"data-highlighted": i || void 0,
|
|
16205
|
-
|
|
16197
|
+
"aria-busy": g || void 0,
|
|
16198
|
+
className: ee(
|
|
16206
16199
|
"eloq:relative eloq:rounded-2xl eloq:py-[12px] eloq:px-[16px] eloq:align-center eloq:outline-2 eloq:outline-offset-2 eloq:outline-transparent eloq:transition-[outline-color] eloq:duration-150",
|
|
16207
16200
|
{
|
|
16208
16201
|
"eloq:ml-1": e.sender === "assistant",
|
|
@@ -16219,22 +16212,45 @@ function Zl({
|
|
|
16219
16212
|
outlineStyle: "solid"
|
|
16220
16213
|
}
|
|
16221
16214
|
},
|
|
16222
|
-
children:
|
|
16223
|
-
"
|
|
16224
|
-
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
|
|
16228
|
-
|
|
16229
|
-
|
|
16230
|
-
|
|
16231
|
-
|
|
16232
|
-
|
|
16233
|
-
|
|
16234
|
-
|
|
16235
|
-
|
|
16236
|
-
|
|
16237
|
-
|
|
16215
|
+
children: [
|
|
16216
|
+
e.type === "image" ? /* @__PURE__ */ x(
|
|
16217
|
+
"a",
|
|
16218
|
+
{
|
|
16219
|
+
href: e.content,
|
|
16220
|
+
target: "_blank",
|
|
16221
|
+
rel: "noopener noreferrer",
|
|
16222
|
+
children: /* @__PURE__ */ x(
|
|
16223
|
+
"img",
|
|
16224
|
+
{
|
|
16225
|
+
src: e.content,
|
|
16226
|
+
alt: "Attached image",
|
|
16227
|
+
className: "eloq:max-w-full eloq:rounded-lg eloq:hover:opacity-90 eloq:transition-opacity"
|
|
16228
|
+
}
|
|
16229
|
+
)
|
|
16230
|
+
}
|
|
16231
|
+
) : /* @__PURE__ */ x(
|
|
16232
|
+
"div",
|
|
16233
|
+
{
|
|
16234
|
+
className: ee(
|
|
16235
|
+
"typewriter prose eloq:text-left eloq-wrap-anywhere",
|
|
16236
|
+
{
|
|
16237
|
+
"eloq-regenerating-text": g,
|
|
16238
|
+
"eloq:animate-text-in eloq:motion-reduce:animate-none": v && !g
|
|
16239
|
+
}
|
|
16240
|
+
),
|
|
16241
|
+
children: /* @__PURE__ */ x(Ex, { text: e.content })
|
|
16242
|
+
},
|
|
16243
|
+
v ? e.content : "original"
|
|
16244
|
+
),
|
|
16245
|
+
g && /* @__PURE__ */ x(
|
|
16246
|
+
"span",
|
|
16247
|
+
{
|
|
16248
|
+
"aria-hidden": !0,
|
|
16249
|
+
"data-testid": "regenerating-sweep",
|
|
16250
|
+
className: "eloq-regenerating-sweep eloq:animate-regenerating"
|
|
16251
|
+
}
|
|
16252
|
+
)
|
|
16253
|
+
]
|
|
16238
16254
|
}
|
|
16239
16255
|
),
|
|
16240
16256
|
c.length > 0 && /* @__PURE__ */ x(jx, { attachments: c })
|
|
@@ -16245,7 +16261,7 @@ function Zl({
|
|
|
16245
16261
|
"div",
|
|
16246
16262
|
{
|
|
16247
16263
|
ref: a,
|
|
16248
|
-
className:
|
|
16264
|
+
className: ee(
|
|
16249
16265
|
`eloq:flex eloq:flex-1 eloq:self-stretch eloq:items-center eloq:gap-1.5 ${e.sender === "user" ? "eloq:justify-end" : "eloq:justify-start"}`
|
|
16250
16266
|
),
|
|
16251
16267
|
children: [
|
|
@@ -16253,12 +16269,12 @@ function Zl({
|
|
|
16253
16269
|
/* @__PURE__ */ x(
|
|
16254
16270
|
"div",
|
|
16255
16271
|
{
|
|
16256
|
-
className:
|
|
16272
|
+
className: ee("eloq:relative eloq:flex eloq:self-stretch", {
|
|
16257
16273
|
"eloq:max-w-[88%]": t,
|
|
16258
16274
|
"eloq:max-w-[75%]": !t,
|
|
16259
16275
|
"eloq:max-w-full": n
|
|
16260
16276
|
}),
|
|
16261
|
-
children:
|
|
16277
|
+
children: E()
|
|
16262
16278
|
}
|
|
16263
16279
|
)
|
|
16264
16280
|
]
|
|
@@ -16269,7 +16285,7 @@ const zu = "eloq:p-4 eloq:flex eloq:flex-row eloq:items-center eloq:justify-betw
|
|
|
16269
16285
|
isOpen: e,
|
|
16270
16286
|
isMobile: t,
|
|
16271
16287
|
skipAnimation: n = !1
|
|
16272
|
-
}) =>
|
|
16288
|
+
}) => ee(
|
|
16273
16289
|
"eloq:w-full eloq:h-full eloq:flex eloq:flex-col eloq:overflow-hidden eloq:origin-bottom-right",
|
|
16274
16290
|
{
|
|
16275
16291
|
"eloq:animate-panel-in": e && !n,
|
|
@@ -16280,7 +16296,7 @@ const zu = "eloq:p-4 eloq:flex eloq:flex-row eloq:items-center eloq:justify-betw
|
|
|
16280
16296
|
"eloq:rounded-2xl eloq:border": !t
|
|
16281
16297
|
}
|
|
16282
16298
|
);
|
|
16283
|
-
function
|
|
16299
|
+
function Yx({
|
|
16284
16300
|
className: e,
|
|
16285
16301
|
message: t,
|
|
16286
16302
|
nextMessage: n,
|
|
@@ -16343,7 +16359,7 @@ function Kx({
|
|
|
16343
16359
|
return /* @__PURE__ */ x(
|
|
16344
16360
|
"div",
|
|
16345
16361
|
{
|
|
16346
|
-
className:
|
|
16362
|
+
className: ee({
|
|
16347
16363
|
"eloq:animate-message-in": s,
|
|
16348
16364
|
// The list spaces messages 16px apart. The thinking indicator is a
|
|
16349
16365
|
// pending turn rather than a finished one, so pull it closer to the
|
|
@@ -16356,7 +16372,7 @@ function Kx({
|
|
|
16356
16372
|
children: /* @__PURE__ */ Z(
|
|
16357
16373
|
"div",
|
|
16358
16374
|
{
|
|
16359
|
-
className:
|
|
16375
|
+
className: ee(e, {
|
|
16360
16376
|
"eloq:flex eloq:flex-col eloq:items-start": l,
|
|
16361
16377
|
"eloq:flex eloq:justify-end": !l
|
|
16362
16378
|
}),
|
|
@@ -16370,7 +16386,7 @@ function Kx({
|
|
|
16370
16386
|
o
|
|
16371
16387
|
);
|
|
16372
16388
|
}
|
|
16373
|
-
function
|
|
16389
|
+
function Xx({
|
|
16374
16390
|
value: e,
|
|
16375
16391
|
onChange: t,
|
|
16376
16392
|
disabled: n = !1
|
|
@@ -16388,7 +16404,7 @@ function Jx({
|
|
|
16388
16404
|
disabled: n,
|
|
16389
16405
|
onClick: () => t(i),
|
|
16390
16406
|
onMouseEnter: () => !n && o(i),
|
|
16391
|
-
className:
|
|
16407
|
+
className: ee(
|
|
16392
16408
|
"eloq:p-0.5 eloq:transition-colors",
|
|
16393
16409
|
n ? "eloq:cursor-default eloq:opacity-70" : "eloq:cursor-pointer"
|
|
16394
16410
|
),
|
|
@@ -16396,7 +16412,7 @@ function Jx({
|
|
|
16396
16412
|
Wf,
|
|
16397
16413
|
{
|
|
16398
16414
|
size: 22,
|
|
16399
|
-
className:
|
|
16415
|
+
className: ee(
|
|
16400
16416
|
"eloq:transition-colors",
|
|
16401
16417
|
i <= l ? "eloq:fill-yellow-400 eloq:text-yellow-400" : "eloq:fill-none eloq:text-gray-300 eloq:dark:text-gray-500"
|
|
16402
16418
|
)
|
|
@@ -16408,16 +16424,16 @@ function Jx({
|
|
|
16408
16424
|
}
|
|
16409
16425
|
);
|
|
16410
16426
|
}
|
|
16411
|
-
function
|
|
16427
|
+
function Kx({ onRate: e }) {
|
|
16412
16428
|
const [t, n] = Ae(0), [r, o] = Ae(!1);
|
|
16413
16429
|
return /* @__PURE__ */ x("div", { className: "eloq:flex eloq:justify-center eloq:pt-2 eloq:pb-2", children: /* @__PURE__ */ Z("div", { className: "eloq:rounded-2xl eloq:bg-muted eloq:px-4 eloq:py-3 eloq:flex eloq:flex-col eloq:items-center eloq:gap-1.5", children: [
|
|
16414
16430
|
/* @__PURE__ */ x("p", { className: "eloq:text-sm eloq:font-medium eloq:text-foreground", children: r ? "Thanks for your feedback!" : "How was your experience" }),
|
|
16415
|
-
/* @__PURE__ */ x(
|
|
16431
|
+
/* @__PURE__ */ x(Xx, { value: t, onChange: (i) => {
|
|
16416
16432
|
n(i), o(!0), e(i);
|
|
16417
16433
|
} })
|
|
16418
16434
|
] }) });
|
|
16419
16435
|
}
|
|
16420
|
-
const
|
|
16436
|
+
const Jx = Ar(null), Qx = {
|
|
16421
16437
|
isVisible: !1,
|
|
16422
16438
|
content: null,
|
|
16423
16439
|
showCognition: () => {
|
|
@@ -16425,11 +16441,11 @@ const Zx = Ar(null), ew = {
|
|
|
16425
16441
|
hideCognition: () => {
|
|
16426
16442
|
}
|
|
16427
16443
|
};
|
|
16428
|
-
function
|
|
16429
|
-
return Er(
|
|
16444
|
+
function Zx() {
|
|
16445
|
+
return Er(Jx) ?? Qx;
|
|
16430
16446
|
}
|
|
16431
|
-
function
|
|
16432
|
-
const e = nn(), t =
|
|
16447
|
+
function ew() {
|
|
16448
|
+
const e = nn(), t = Zx(), n = je(null), r = je(!0), o = je(0), [l, i] = Ae(!1), [a, s] = Ae(!1), u = (p) => p.scrollHeight - p.scrollTop <= p.clientHeight + 60, f = (p) => {
|
|
16433
16449
|
const g = p.target;
|
|
16434
16450
|
u(g) ? (i(!1), s(!1)) : (i(!0), s(!0));
|
|
16435
16451
|
}, c = wa((p = "smooth") => {
|
|
@@ -16442,8 +16458,8 @@ function nw() {
|
|
|
16442
16458
|
}
|
|
16443
16459
|
}, []);
|
|
16444
16460
|
vt(() => {
|
|
16445
|
-
const p = e.messages?.length ?? 0, g = p < o.current;
|
|
16446
|
-
o.current = p, r.current ? (c("instant"), r.current = !1) : g ? (i(!1), s(!1), c("instant")) : a
|
|
16461
|
+
const p = e.messages?.length ?? 0, g = p < o.current, k = p === o.current;
|
|
16462
|
+
o.current = p, r.current ? (c("instant"), r.current = !1) : g ? (i(!1), s(!1), c("instant")) : !a && !k && c();
|
|
16447
16463
|
}, [e.messages, a, c]), vt(() => {
|
|
16448
16464
|
if (!e.isChatClosed) return;
|
|
16449
16465
|
const p = setTimeout(() => {
|
|
@@ -16484,7 +16500,7 @@ function nw() {
|
|
|
16484
16500
|
const v = Array.isArray(p) ? p.map((E) => E.id).join("-") : p.id;
|
|
16485
16501
|
if (!Array.isArray(p) && p.isRatingRequest)
|
|
16486
16502
|
return /* @__PURE__ */ x(
|
|
16487
|
-
|
|
16503
|
+
Kx,
|
|
16488
16504
|
{
|
|
16489
16505
|
onRate: (E) => e.onRateChat?.(E)
|
|
16490
16506
|
},
|
|
@@ -16492,11 +16508,11 @@ function nw() {
|
|
|
16492
16508
|
);
|
|
16493
16509
|
const w = e.suggestedMessages && !!e.suggestedMessageTexts?.length && !e.messages?.some((E) => E.sender === "user");
|
|
16494
16510
|
return /* @__PURE__ */ x(
|
|
16495
|
-
|
|
16511
|
+
Yx,
|
|
16496
16512
|
{
|
|
16497
16513
|
message: p,
|
|
16498
16514
|
nextMessage: k[g + 1],
|
|
16499
|
-
className:
|
|
16515
|
+
className: ee({
|
|
16500
16516
|
"eloq:pt-4": g === 0,
|
|
16501
16517
|
"eloq:pb-2": g >= k.length - 1,
|
|
16502
16518
|
"eloq:pb-14": w && g >= k.length - 1
|
|
@@ -16524,10 +16540,10 @@ function ea(e, t) {
|
|
|
16524
16540
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
16525
16541
|
return r;
|
|
16526
16542
|
}
|
|
16527
|
-
function
|
|
16543
|
+
function tw(e) {
|
|
16528
16544
|
if (Array.isArray(e)) return e;
|
|
16529
16545
|
}
|
|
16530
|
-
function
|
|
16546
|
+
function nw(e, t) {
|
|
16531
16547
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
16532
16548
|
if (n != null) {
|
|
16533
16549
|
var r, o, l, i, a = [], s = !0, u = !1;
|
|
@@ -16545,22 +16561,22 @@ function ow(e, t) {
|
|
|
16545
16561
|
return a;
|
|
16546
16562
|
}
|
|
16547
16563
|
}
|
|
16548
|
-
function
|
|
16564
|
+
function rw() {
|
|
16549
16565
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
16550
16566
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
16551
16567
|
}
|
|
16552
16568
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
16553
|
-
function
|
|
16554
|
-
return
|
|
16569
|
+
function ow(e, t) {
|
|
16570
|
+
return tw(e) || nw(e, t) || iw(e, t) || rw();
|
|
16555
16571
|
}
|
|
16556
|
-
function
|
|
16572
|
+
function iw(e, t) {
|
|
16557
16573
|
if (e) {
|
|
16558
16574
|
if (typeof e == "string") return ea(e, t);
|
|
16559
16575
|
var n = {}.toString.call(e).slice(8, -1);
|
|
16560
16576
|
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) ? ea(e, t) : void 0;
|
|
16561
16577
|
}
|
|
16562
16578
|
}
|
|
16563
|
-
const Hu = Object.entries, ta = Object.setPrototypeOf,
|
|
16579
|
+
const Hu = Object.entries, ta = Object.setPrototypeOf, lw = Object.isFrozen, ju = Object.getPrototypeOf, Vu = Object.getOwnPropertyDescriptor;
|
|
16564
16580
|
let Ce = Object.freeze, _e = Object.seal, bn = Object.create, $u = typeof Reflect < "u" && Reflect, Vo = $u.apply, $o = $u.construct;
|
|
16565
16581
|
Ce || (Ce = function(t) {
|
|
16566
16582
|
return t;
|
|
@@ -16576,7 +16592,7 @@ $o || ($o = function(t) {
|
|
|
16576
16592
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) r[o - 1] = arguments[o];
|
|
16577
16593
|
return new t(...r);
|
|
16578
16594
|
});
|
|
16579
|
-
const wt = ge(Array.prototype.forEach),
|
|
16595
|
+
const wt = ge(Array.prototype.forEach), aw = ge(Array.prototype.lastIndexOf), na = ge(Array.prototype.pop), Pn = ge(Array.prototype.push), sw = ge(Array.prototype.slice), uw = ge(Array.prototype.splice), yn = Array.isArray, mo = Wu(Set), go = ge(Set.prototype.add), Dn = ge(Set.prototype.has), Kt = ge(String.prototype.toLowerCase), bo = ge(String.prototype.toString), ra = ge(String.prototype.match), Mn = ge(String.prototype.replace), oa = ge(String.prototype.indexOf), cw = ge(String.prototype.trim), fw = ge(Number.prototype.toString), pw = ge(Boolean.prototype.toString), ia = typeof BigInt > "u" ? null : ge(BigInt.prototype.toString), la = typeof Symbol > "u" ? null : ge(Symbol.prototype.toString), He = ge(Object.prototype.hasOwnProperty), On = ge(Object.prototype.toString), qe = ge(RegExp.prototype.test), kt = Wu(TypeError);
|
|
16580
16596
|
function ge(e) {
|
|
16581
16597
|
return function(t) {
|
|
16582
16598
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -16598,33 +16614,33 @@ function ue(e, t) {
|
|
|
16598
16614
|
let o = t[r];
|
|
16599
16615
|
if (typeof o == "string") {
|
|
16600
16616
|
const l = n(o);
|
|
16601
|
-
l !== o && (
|
|
16617
|
+
l !== o && (lw(t) || (t[r] = l), o = l);
|
|
16602
16618
|
}
|
|
16603
16619
|
e[o] = !0;
|
|
16604
16620
|
}
|
|
16605
16621
|
return e;
|
|
16606
16622
|
}
|
|
16607
|
-
function
|
|
16623
|
+
function dw(e) {
|
|
16608
16624
|
for (let t = 0; t < e.length; t++) He(e, t) || (e[t] = null);
|
|
16609
16625
|
return e;
|
|
16610
16626
|
}
|
|
16611
|
-
function
|
|
16627
|
+
function Xe(e) {
|
|
16612
16628
|
const t = bn(null);
|
|
16613
16629
|
for (const r of Hu(e)) {
|
|
16614
|
-
var n =
|
|
16630
|
+
var n = ow(r, 2);
|
|
16615
16631
|
const o = n[0], l = n[1];
|
|
16616
|
-
He(e, o) && (yn(l) ? t[o] =
|
|
16632
|
+
He(e, o) && (yn(l) ? t[o] = dw(l) : l && typeof l == "object" && l.constructor === Object ? t[o] = Xe(l) : t[o] = l);
|
|
16617
16633
|
}
|
|
16618
16634
|
return t;
|
|
16619
16635
|
}
|
|
16620
|
-
function
|
|
16636
|
+
function hw(e) {
|
|
16621
16637
|
switch (typeof e) {
|
|
16622
16638
|
case "string":
|
|
16623
16639
|
return e;
|
|
16624
16640
|
case "number":
|
|
16625
|
-
return
|
|
16641
|
+
return fw(e);
|
|
16626
16642
|
case "boolean":
|
|
16627
|
-
return
|
|
16643
|
+
return pw(e);
|
|
16628
16644
|
case "bigint":
|
|
16629
16645
|
return ia ? ia(e) : "0";
|
|
16630
16646
|
case "symbol":
|
|
@@ -16659,7 +16675,7 @@ function tt(e, t) {
|
|
|
16659
16675
|
}
|
|
16660
16676
|
return n;
|
|
16661
16677
|
}
|
|
16662
|
-
function
|
|
16678
|
+
function mw(e, t) {
|
|
16663
16679
|
for (; e !== null; ) {
|
|
16664
16680
|
const n = Vu(e, t);
|
|
16665
16681
|
if (n) return n.get ? ge(n.get) : null;
|
|
@@ -16667,7 +16683,7 @@ function bw(e, t) {
|
|
|
16667
16683
|
}
|
|
16668
16684
|
return null;
|
|
16669
16685
|
}
|
|
16670
|
-
function
|
|
16686
|
+
function gw(e) {
|
|
16671
16687
|
try {
|
|
16672
16688
|
return qe(e, ""), !0;
|
|
16673
16689
|
} catch {
|
|
@@ -16868,7 +16884,7 @@ const aa = Ce([
|
|
|
16868
16884
|
"feSpotLight",
|
|
16869
16885
|
"feTile",
|
|
16870
16886
|
"feTurbulence"
|
|
16871
|
-
]),
|
|
16887
|
+
]), bw = Ce([
|
|
16872
16888
|
"animate",
|
|
16873
16889
|
"color-profile",
|
|
16874
16890
|
"cursor",
|
|
@@ -16922,7 +16938,7 @@ const aa = Ce([
|
|
|
16922
16938
|
"munder",
|
|
16923
16939
|
"munderover",
|
|
16924
16940
|
"mprescripts"
|
|
16925
|
-
]),
|
|
16941
|
+
]), yw = Ce([
|
|
16926
16942
|
"maction",
|
|
16927
16943
|
"maligngroup",
|
|
16928
16944
|
"malignmark",
|
|
@@ -17311,7 +17327,7 @@ const aa = Ce([
|
|
|
17311
17327
|
"xlink:title",
|
|
17312
17328
|
"xml:space",
|
|
17313
17329
|
"xmlns:xlink"
|
|
17314
|
-
]),
|
|
17330
|
+
]), xw = _e(/{{[\w\W]*|^[\w\W]*}}/g), ww = _e(/<%[\w\W]*|^[\w\W]*%>/g), kw = _e(/\${[\w\W]*/g), Sw = _e(/^data-[\-\w.\u00B7-\uFFFF]+$/), vw = _e(/^aria-[\-\w]+$/), fa = _e(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Cw = _e(/^(?:\w+script|data):/i), Aw = _e(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Ew = _e(/^html$/i), Tw = _e(/^[a-z][.\w]*(-[.\w]+)+$/i), So = _e(/<[/\w!]/g), pa = _e(/<[/\w]/g), qw = _e(/<\/no(script|embed|frames)/i), da = _e(/\/>/i), ye = {
|
|
17315
17331
|
element: 1,
|
|
17316
17332
|
attribute: 2,
|
|
17317
17333
|
text: 3,
|
|
@@ -17324,7 +17340,7 @@ const aa = Ce([
|
|
|
17324
17340
|
documentType: 10,
|
|
17325
17341
|
documentFragment: 11,
|
|
17326
17342
|
notation: 12
|
|
17327
|
-
},
|
|
17343
|
+
}, _w = Ce(ue({}, [
|
|
17328
17344
|
"style",
|
|
17329
17345
|
"script",
|
|
17330
17346
|
"xmp",
|
|
@@ -17333,9 +17349,9 @@ const aa = Ce([
|
|
|
17333
17349
|
"noframes",
|
|
17334
17350
|
"plaintext",
|
|
17335
17351
|
"noscript"
|
|
17336
|
-
])),
|
|
17352
|
+
])), Iw = function() {
|
|
17337
17353
|
return typeof window > "u" ? null : window;
|
|
17338
|
-
},
|
|
17354
|
+
}, Rw = function(t, n) {
|
|
17339
17355
|
if (typeof t != "object" || typeof t.createPolicy != "function") return null;
|
|
17340
17356
|
let r = null;
|
|
17341
17357
|
const o = "data-tt-policy-suffix";
|
|
@@ -17366,13 +17382,13 @@ const aa = Ce([
|
|
|
17366
17382
|
uponSanitizeShadowNode: []
|
|
17367
17383
|
};
|
|
17368
17384
|
}, Dt = function(t, n, r, o) {
|
|
17369
|
-
return He(t, n) && yn(t[n]) ? ue(o.base ?
|
|
17385
|
+
return He(t, n) && yn(t[n]) ? ue(o.base ? Xe(o.base) : {}, t[n], o.transform) : r;
|
|
17370
17386
|
}, vo = function(t, n, r) {
|
|
17371
17387
|
const o = He(t, n) ? t[n] : void 0;
|
|
17372
|
-
return o && typeof o == "object" ?
|
|
17388
|
+
return o && typeof o == "object" ? Xe(o) : r();
|
|
17373
17389
|
};
|
|
17374
17390
|
function Gu() {
|
|
17375
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
17391
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Iw();
|
|
17376
17392
|
const t = (I) => Gu(I);
|
|
17377
17393
|
if (t.version = "3.4.17", t.removed = [], !e || !e.document || e.document.nodeType !== ye.document || !e.Element)
|
|
17378
17394
|
return t.isSupported = !1, t;
|
|
@@ -17381,11 +17397,11 @@ function Gu() {
|
|
|
17381
17397
|
e.DocumentFragment;
|
|
17382
17398
|
const l = e.HTMLTemplateElement, i = e.Node, a = e.Element, s = e.NodeFilter;
|
|
17383
17399
|
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
17384
|
-
const u = e.DOMParser, f = e.trustedTypes, c = a.prototype, d = tt(c, "cloneNode"), p = tt(c, "remove"), g = tt(c, "removeAttributeNode"), k = tt(c, "nextSibling"), v = tt(c, "childNodes"), w = tt(c, "parentNode"), E = tt(c, "shadowRoot"),
|
|
17400
|
+
const u = e.DOMParser, f = e.trustedTypes, c = a.prototype, d = tt(c, "cloneNode"), p = tt(c, "remove"), g = tt(c, "removeAttributeNode"), k = tt(c, "nextSibling"), v = tt(c, "childNodes"), w = tt(c, "parentNode"), E = tt(c, "shadowRoot"), T = tt(c, "attributes"), O = i && i.prototype ? tt(i.prototype, "nodeType") : null, F = i && i.prototype ? tt(i.prototype, "nodeName") : null, C = i && i.prototype ? tt(i.prototype, "ownerDocument") : null, B = function(h) {
|
|
17385
17401
|
return O ? O(h) : h.nodeType;
|
|
17386
17402
|
}, N = function(h) {
|
|
17387
17403
|
return F ? F(h) : h.nodeName;
|
|
17388
|
-
}, W =
|
|
17404
|
+
}, W = mw(c, "namespaceURI"), S = function(h) {
|
|
17389
17405
|
return W ? W(h) : h.namespaceURI;
|
|
17390
17406
|
};
|
|
17391
17407
|
if (typeof l == "function") {
|
|
@@ -17410,11 +17426,11 @@ function Gu() {
|
|
|
17410
17426
|
D--;
|
|
17411
17427
|
}
|
|
17412
17428
|
}, Le = function() {
|
|
17413
|
-
return V || (re =
|
|
17429
|
+
return V || (re = Rw(f, o), V = !0), re;
|
|
17414
17430
|
}, m = n, Se = m.implementation, Pe = m.createNodeIterator, b = m.createDocumentFragment, Te = m.getElementsByTagName, me = r.importNode;
|
|
17415
17431
|
let j = ha();
|
|
17416
17432
|
t.isSupported = typeof Hu == "function" && typeof w == "function" && Se && Se.createHTMLDocument !== void 0;
|
|
17417
|
-
const Je =
|
|
17433
|
+
const Je = xw, We = ww, ce = kw, it = Sw, lt = vw, qt = Cw, _t = Aw, It = Tw;
|
|
17418
17434
|
let vn = fa, fe = null;
|
|
17419
17435
|
const on = ue({}, [
|
|
17420
17436
|
...aa,
|
|
@@ -17430,7 +17446,7 @@ function Gu() {
|
|
|
17430
17446
|
...ca,
|
|
17431
17447
|
...mr
|
|
17432
17448
|
]);
|
|
17433
|
-
let
|
|
17449
|
+
let Ge = Object.seal(bn(null, {
|
|
17434
17450
|
tagNameCheck: {
|
|
17435
17451
|
writable: !0,
|
|
17436
17452
|
configurable: !1,
|
|
@@ -17551,44 +17567,44 @@ function Gu() {
|
|
|
17551
17567
|
}, Fr = function() {
|
|
17552
17568
|
let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
17553
17569
|
if (un && un === h) return;
|
|
17554
|
-
(!h || typeof h != "object") && (h = {}), h =
|
|
17570
|
+
(!h || typeof h != "object") && (h = {}), h = Xe(h), An = ic.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? lc : h.PARSER_MEDIA_TYPE, be = An === "application/xhtml+xml" ? bo : Kt, fe = Dt(h, "ALLOWED_TAGS", on, { transform: be }), he = Dt(h, "ALLOWED_ATTR", ln, { transform: be }), Mr = Dt(h, "ALLOWED_NAMESPACES", rc, { transform: bo }), Ri = Dt(h, "ADD_URI_SAFE_ATTR", Ni, {
|
|
17555
17571
|
transform: be,
|
|
17556
17572
|
base: Ni
|
|
17557
17573
|
}), _i = Dt(h, "ADD_DATA_URI_TAGS", Ii, {
|
|
17558
17574
|
transform: be,
|
|
17559
17575
|
base: Ii
|
|
17560
|
-
}), $t = Dt(h, "FORBID_CONTENTS", qi, { transform: be }), jt = Dt(h, "FORBID_TAGS",
|
|
17576
|
+
}), $t = Dt(h, "FORBID_CONTENTS", qi, { transform: be }), jt = Dt(h, "FORBID_TAGS", Xe({}), { transform: be }), Zn = Dt(h, "FORBID_ATTR", Xe({}), { transform: be }), an = He(h, "USE_PROFILES") ? h.USE_PROFILES && typeof h.USE_PROFILES == "object" ? Xe(h.USE_PROFILES) : h.USE_PROFILES : !1, er = h.ALLOW_ARIA_ATTR !== !1, Cn = h.ALLOW_DATA_ATTR !== !1, A = h.ALLOW_UNKNOWN_PROTOCOLS || !1, M = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, G = h.SAFE_FOR_TEMPLATES || !1, Q = h.SAFE_FOR_XML !== !1, le = h.WHOLE_DOCUMENT || !1, Ze = h.RETURN_DOM || !1, ve = h.RETURN_DOM_FRAGMENT || !1, at = h.RETURN_TRUSTED_TYPE || !1, yt = h.FORCE_BODY || !1, et = h.SANITIZE_DOM !== !1, Ei = h.SANITIZE_NAMED_PROPS || !1, Lr = h.KEEP_CONTENT !== !1, Pr = h.IN_PLACE || !1, vn = gw(h.ALLOWED_URI_REGEXP) ? h.ALLOWED_URI_REGEXP : fa, sn = typeof h.NAMESPACE == "string" ? h.NAMESPACE : pt, Or = vo(h, "MATHML_TEXT_INTEGRATION_POINTS", () => ue({}, Li)), zr = vo(h, "HTML_INTEGRATION_POINTS", () => ue({}, Pi));
|
|
17561
17577
|
const y = vo(h, "CUSTOM_ELEMENT_HANDLING", () => bn(null));
|
|
17562
|
-
if (
|
|
17578
|
+
if (Ge = bn(null), He(y, "tagNameCheck") && Di(y.tagNameCheck) && (Ge.tagNameCheck = y.tagNameCheck), He(y, "attributeNameCheck") && Di(y.attributeNameCheck) && (Ge.attributeNameCheck = y.attributeNameCheck), He(y, "allowCustomizedBuiltInElements") && typeof y.allowCustomizedBuiltInElements == "boolean" && (Ge.allowCustomizedBuiltInElements = y.allowCustomizedBuiltInElements), _e(Ge), G && (Cn = !1), ve && (Ze = !0), an && (fe = ue({}, sa), he = bn(null), an.html === !0 && (ue(fe, aa), ue(he, ua)), an.svg === !0 && (ue(fe, yo), ue(he, ko), ue(he, mr)), an.svgFilters === !0 && (ue(fe, xo), ue(he, ko), ue(he, mr)), an.mathMl === !0 && (ue(fe, wo), ue(he, ca), ue(he, mr))), ft.tagCheck = null, ft.attributeCheck = null, He(h, "ADD_TAGS") && (typeof h.ADD_TAGS == "function" ? ft.tagCheck = h.ADD_TAGS : yn(h.ADD_TAGS) && (fe === on && (fe = Xe(fe)), ue(fe, h.ADD_TAGS, be))), He(h, "ADD_ATTR") && (typeof h.ADD_ATTR == "function" ? ft.attributeCheck = h.ADD_ATTR : yn(h.ADD_ATTR) && (he === ln && (he = Xe(he)), ue(he, h.ADD_ATTR, be))), He(h, "ADD_FORBID_CONTENTS") && yn(h.ADD_FORBID_CONTENTS) && ($t === qi && ($t = Xe($t)), ue($t, h.ADD_FORBID_CONTENTS, be)), Lr && (fe["#text"] = !0), le && ue(fe, [
|
|
17563
17579
|
"html",
|
|
17564
17580
|
"head",
|
|
17565
17581
|
"body"
|
|
17566
17582
|
]), fe.table && (ue(fe, ["tbody"]), delete jt.tbody), h.TRUSTED_TYPES_POLICY) {
|
|
17567
17583
|
if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function") throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
17568
17584
|
if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw kt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
17569
|
-
const
|
|
17585
|
+
const q = P;
|
|
17570
17586
|
P = h.TRUSTED_TYPES_POLICY;
|
|
17571
17587
|
try {
|
|
17572
17588
|
z = ae("");
|
|
17573
|
-
} catch (
|
|
17574
|
-
throw P =
|
|
17589
|
+
} catch (_) {
|
|
17590
|
+
throw P = q, _;
|
|
17575
17591
|
}
|
|
17576
17592
|
} else h.TRUSTED_TYPES_POLICY === null ? (P = void 0, z = "") : (P === void 0 && (P = Le()), P && typeof z == "string" && (z = ae("")));
|
|
17577
17593
|
Ce && Ce(h), un = h;
|
|
17578
17594
|
}, Mi = ue({}, [
|
|
17579
17595
|
...yo,
|
|
17580
17596
|
...xo,
|
|
17581
|
-
...
|
|
17582
|
-
]), Oi = ue({}, [...wo, ...
|
|
17583
|
-
return y.namespaceURI === pt ? h === "svg" : y.namespaceURI === tr ? h === "svg" && (
|
|
17584
|
-
}, uc = function(h, y,
|
|
17585
|
-
return y.namespaceURI === pt ? h === "math" : y.namespaceURI === nr ? h === "math" && zr[
|
|
17586
|
-
}, cc = function(h, y,
|
|
17587
|
-
return y.namespaceURI === nr && !zr[
|
|
17597
|
+
...bw
|
|
17598
|
+
]), Oi = ue({}, [...wo, ...yw]), sc = function(h, y, q) {
|
|
17599
|
+
return y.namespaceURI === pt ? h === "svg" : y.namespaceURI === tr ? h === "svg" && (q === "annotation-xml" || Or[q]) : !!Mi[h];
|
|
17600
|
+
}, uc = function(h, y, q) {
|
|
17601
|
+
return y.namespaceURI === pt ? h === "math" : y.namespaceURI === nr ? h === "math" && zr[q] : !!Oi[h];
|
|
17602
|
+
}, cc = function(h, y, q) {
|
|
17603
|
+
return y.namespaceURI === nr && !zr[q] || y.namespaceURI === tr && !Or[q] ? !1 : !Oi[h] && (oc[h] || !Mi[h]);
|
|
17588
17604
|
}, fc = function(h) {
|
|
17589
|
-
const y = S(h),
|
|
17605
|
+
const y = S(h), q = Kt(N(h)), _ = w(h);
|
|
17590
17606
|
let $, X;
|
|
17591
|
-
return
|
|
17607
|
+
return _ && B(_) === ye.element ? ($ = { namespaceURI: S(_) }, X = Kt(N(_))) : ($ = { namespaceURI: sn }, X = "template"), Mr[y] ? y === nr ? sc(q, $, X) : y === tr ? uc(q, $, X) : y === pt ? cc(q, $, X) : !!(An === "application/xhtml+xml" && Mr[y]) : !1;
|
|
17592
17608
|
}, Rt = function(h) {
|
|
17593
17609
|
Pn(t.removed, { element: h });
|
|
17594
17610
|
try {
|
|
@@ -17596,41 +17612,41 @@ function Gu() {
|
|
|
17596
17612
|
} catch {
|
|
17597
17613
|
if (p(h), !w(h)) throw kt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
17598
17614
|
}
|
|
17599
|
-
}, zi = function(h, y,
|
|
17615
|
+
}, zi = function(h, y, q) {
|
|
17600
17616
|
try {
|
|
17601
17617
|
g(h, y);
|
|
17602
17618
|
} catch {
|
|
17603
17619
|
try {
|
|
17604
|
-
h.removeAttribute(
|
|
17620
|
+
h.removeAttribute(q);
|
|
17605
17621
|
} catch {
|
|
17606
17622
|
}
|
|
17607
17623
|
}
|
|
17608
17624
|
}, Br = function(h) {
|
|
17609
17625
|
Hr(h);
|
|
17610
17626
|
const y = v(h);
|
|
17611
|
-
y && wt(
|
|
17627
|
+
y && wt(sw(y), (_) => {
|
|
17612
17628
|
try {
|
|
17613
|
-
p(
|
|
17629
|
+
p(_);
|
|
17614
17630
|
} catch {
|
|
17615
17631
|
}
|
|
17616
17632
|
});
|
|
17617
|
-
const
|
|
17618
|
-
if (
|
|
17619
|
-
const $ =
|
|
17633
|
+
const q = B(h) === ye.element ? T(h) : null;
|
|
17634
|
+
if (q) for (let _ = q.length - 1; _ >= 0; --_) {
|
|
17635
|
+
const $ = q[_], X = $ && $.name;
|
|
17620
17636
|
typeof X == "string" && zi(h, $, X);
|
|
17621
17637
|
}
|
|
17622
|
-
}, cn = function(h, y,
|
|
17623
|
-
if (!
|
|
17624
|
-
|
|
17638
|
+
}, cn = function(h, y, q) {
|
|
17639
|
+
if (!q) try {
|
|
17640
|
+
q = y.getAttributeNode(h);
|
|
17625
17641
|
} catch {
|
|
17626
|
-
|
|
17642
|
+
q = null;
|
|
17627
17643
|
}
|
|
17628
17644
|
Pn(t.removed, {
|
|
17629
|
-
attribute:
|
|
17645
|
+
attribute: q || null,
|
|
17630
17646
|
from: y
|
|
17631
17647
|
});
|
|
17632
17648
|
try {
|
|
17633
|
-
|
|
17649
|
+
q ? g(y, q) : y.removeAttribute(h);
|
|
17634
17650
|
} catch {
|
|
17635
17651
|
try {
|
|
17636
17652
|
y.removeAttribute(h);
|
|
@@ -17647,24 +17663,24 @@ function Gu() {
|
|
|
17647
17663
|
} catch {
|
|
17648
17664
|
}
|
|
17649
17665
|
}, Fi = function(h) {
|
|
17650
|
-
const y =
|
|
17666
|
+
const y = T(h);
|
|
17651
17667
|
if (y)
|
|
17652
|
-
for (let
|
|
17653
|
-
const
|
|
17654
|
-
typeof $ != "string" || he[be($)] || zi(h,
|
|
17668
|
+
for (let q = y.length - 1; q >= 0; --q) {
|
|
17669
|
+
const _ = y[q], $ = _ && _.name;
|
|
17670
|
+
typeof $ != "string" || he[be($)] || zi(h, _, $);
|
|
17655
17671
|
}
|
|
17656
17672
|
}, Ur = function(h, y) {
|
|
17657
|
-
let
|
|
17658
|
-
const
|
|
17659
|
-
for (;
|
|
17660
|
-
const $ =
|
|
17673
|
+
let q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
|
|
17674
|
+
const _ = [h];
|
|
17675
|
+
for (; _.length > 0; ) {
|
|
17676
|
+
const $ = _.pop();
|
|
17661
17677
|
if (y($) === !1) continue;
|
|
17662
|
-
if (
|
|
17678
|
+
if (q && B($) === ye.element) {
|
|
17663
17679
|
const ne = E($);
|
|
17664
|
-
Nt(ne) &&
|
|
17680
|
+
Nt(ne) && _.push(ne);
|
|
17665
17681
|
}
|
|
17666
17682
|
const X = v($);
|
|
17667
|
-
if (X) for (let ne = X.length - 1; ne >= 0; --ne)
|
|
17683
|
+
if (X) for (let ne = X.length - 1; ne >= 0; --ne) _.push(X[ne]);
|
|
17668
17684
|
}
|
|
17669
17685
|
}, Hr = function(h) {
|
|
17670
17686
|
Ur(h, (y) => {
|
|
@@ -17672,109 +17688,109 @@ function Gu() {
|
|
|
17672
17688
|
});
|
|
17673
17689
|
}, jr = function(h) {
|
|
17674
17690
|
const y = [];
|
|
17675
|
-
return Ur(h, (
|
|
17676
|
-
y.push(
|
|
17691
|
+
return Ur(h, (q) => {
|
|
17692
|
+
y.push(q);
|
|
17677
17693
|
}, !0), y;
|
|
17678
17694
|
}, pc = function(h, y) {
|
|
17679
|
-
const
|
|
17680
|
-
wt(jr(h), (
|
|
17681
|
-
B(
|
|
17682
|
-
}), wt(y, (
|
|
17683
|
-
B(
|
|
17695
|
+
const q = mo();
|
|
17696
|
+
wt(jr(h), (_) => {
|
|
17697
|
+
B(_) === ye.element && go(q, _);
|
|
17698
|
+
}), wt(y, (_) => {
|
|
17699
|
+
B(_) === ye.element && !Dn(q, _) && Fi(_);
|
|
17684
17700
|
});
|
|
17685
17701
|
}, Bi = function(h, y) {
|
|
17686
|
-
let
|
|
17687
|
-
return wt(t.removed, (
|
|
17688
|
-
|
|
17689
|
-
}), pc(h, y),
|
|
17702
|
+
let q = !1;
|
|
17703
|
+
return wt(t.removed, (_) => {
|
|
17704
|
+
_.element && (q = q || _.element === h, Hr(_.element));
|
|
17705
|
+
}), pc(h, y), q;
|
|
17690
17706
|
}, dc = 8, hc = function(h, y) {
|
|
17691
|
-
const
|
|
17692
|
-
let
|
|
17693
|
-
const $ = () => (
|
|
17694
|
-
go(
|
|
17695
|
-
})),
|
|
17707
|
+
const q = Vt;
|
|
17708
|
+
let _ = null;
|
|
17709
|
+
const $ = () => (_ || (_ = mo(), wt(y, (X) => {
|
|
17710
|
+
go(_, X);
|
|
17711
|
+
})), _);
|
|
17696
17712
|
for (let X = 0; ; X++) {
|
|
17697
17713
|
const ne = jr(h), we = [h];
|
|
17698
17714
|
let dt = !1;
|
|
17699
17715
|
if (wt(ne, (Me) => {
|
|
17700
|
-
B(Me) === ye.documentFragment ? Pn(we, Me) : !dt && !Dn(
|
|
17716
|
+
B(Me) === ye.documentFragment ? Pn(we, Me) : !dt && !Dn(q, Me) && (dt = Dn($(), Me));
|
|
17701
17717
|
}), !dt) return;
|
|
17702
17718
|
if (X >= dc) throw kt("the tree kept changing during in-place sanitization; refusing to return it");
|
|
17703
17719
|
wt(we, (Me, Fe) => {
|
|
17704
17720
|
mc(Me, Fe > 0, h, $());
|
|
17705
17721
|
});
|
|
17706
17722
|
}
|
|
17707
|
-
}, mc = function(h, y,
|
|
17723
|
+
}, mc = function(h, y, q, _) {
|
|
17708
17724
|
const $ = Vr(h);
|
|
17709
17725
|
let X;
|
|
17710
17726
|
for (; X = $.nextNode(); )
|
|
17711
|
-
!Dn(
|
|
17727
|
+
!Dn(_, X) || Dn(Vt, X) || (y && st(j.uponSanitizeShadowNode, X, null), Wr(X, q), Gr(X, q), Nt(X.content) && Tn(X.content));
|
|
17712
17728
|
}, gc = function(h) {
|
|
17713
17729
|
Vt && go(Vt, h);
|
|
17714
17730
|
}, Ui = function(h, y) {
|
|
17715
17731
|
return Q ? h === "patchsrc" ? !0 : h === "for" && y !== "label" && y !== "output" : !1;
|
|
17716
17732
|
}, bc = function(h) {
|
|
17717
17733
|
Q && Ur(h, (y) => {
|
|
17718
|
-
const
|
|
17719
|
-
if (
|
|
17734
|
+
const q = B(y);
|
|
17735
|
+
if (q === ye.processingInstruction || q === ye.comment && qe(pa, y.data)) {
|
|
17720
17736
|
try {
|
|
17721
17737
|
p(y);
|
|
17722
17738
|
} catch {
|
|
17723
17739
|
}
|
|
17724
17740
|
return !1;
|
|
17725
17741
|
}
|
|
17726
|
-
if (
|
|
17727
|
-
const
|
|
17742
|
+
if (q === ye.element) {
|
|
17743
|
+
const _ = y, $ = be(N(y));
|
|
17728
17744
|
try {
|
|
17729
|
-
|
|
17745
|
+
_.hasAttribute && _.hasAttribute("patchsrc") && _.removeAttribute("patchsrc"), _.hasAttribute && _.hasAttribute("for") && Ui("for", $) && _.removeAttribute("for");
|
|
17730
17746
|
} catch {
|
|
17731
17747
|
}
|
|
17732
17748
|
}
|
|
17733
17749
|
return !0;
|
|
17734
17750
|
});
|
|
17735
17751
|
}, Hi = function(h) {
|
|
17736
|
-
let y = null,
|
|
17752
|
+
let y = null, q = null;
|
|
17737
17753
|
if (yt) h = "<remove></remove>" + h;
|
|
17738
17754
|
else {
|
|
17739
17755
|
const X = ra(h, /^[\r\n\t ]+/);
|
|
17740
|
-
|
|
17756
|
+
q = X && X[0];
|
|
17741
17757
|
}
|
|
17742
17758
|
An === "application/xhtml+xml" && sn === pt && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
|
|
17743
|
-
const
|
|
17759
|
+
const _ = P ? ae(h) : h;
|
|
17744
17760
|
if (sn === pt) try {
|
|
17745
|
-
y = new u().parseFromString(
|
|
17761
|
+
y = new u().parseFromString(_, An);
|
|
17746
17762
|
} catch {
|
|
17747
17763
|
}
|
|
17748
17764
|
if (!y || !y.documentElement) {
|
|
17749
17765
|
y = Se.createDocument(sn, "template", null);
|
|
17750
17766
|
try {
|
|
17751
|
-
y.documentElement.innerHTML = Dr ? z :
|
|
17767
|
+
y.documentElement.innerHTML = Dr ? z : _;
|
|
17752
17768
|
} catch {
|
|
17753
17769
|
}
|
|
17754
17770
|
}
|
|
17755
17771
|
const $ = y.body || y.documentElement;
|
|
17756
|
-
return h &&
|
|
17772
|
+
return h && q && $.insertBefore(n.createTextNode(q), $.childNodes[0] || null), sn === pt ? Te.call(y, le ? "html" : "body")[0] : le ? y.documentElement : $;
|
|
17757
17773
|
}, Vr = function(h) {
|
|
17758
17774
|
const y = C ? C(h) : h.ownerDocument;
|
|
17759
17775
|
return Pe.call(y || h, h, s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION, null);
|
|
17760
17776
|
}, rr = function(h) {
|
|
17761
|
-
return h = Mn(h, Je, " "), h = Mn(h,
|
|
17777
|
+
return h = Mn(h, Je, " "), h = Mn(h, We, " "), h = Mn(h, ce, " "), h;
|
|
17762
17778
|
}, $r = function(h) {
|
|
17763
17779
|
var y;
|
|
17764
17780
|
ji(h);
|
|
17765
|
-
const
|
|
17766
|
-
|
|
17767
|
-
Nt(
|
|
17781
|
+
const q = (y = h.querySelectorAll) === null || y === void 0 ? void 0 : y.call(h, "template");
|
|
17782
|
+
q && wt(q, (_) => {
|
|
17783
|
+
Nt(_.content) && $r(_.content);
|
|
17768
17784
|
});
|
|
17769
17785
|
}, ji = function(h) {
|
|
17770
17786
|
h.normalize();
|
|
17771
|
-
const y = C ? C(h) : h.ownerDocument,
|
|
17772
|
-
let
|
|
17773
|
-
for (;
|
|
17774
|
-
|
|
17787
|
+
const y = C ? C(h) : h.ownerDocument, q = Pe.call(y || h, h, s.SHOW_TEXT | s.SHOW_COMMENT | s.SHOW_CDATA_SECTION | s.SHOW_PROCESSING_INSTRUCTION, null);
|
|
17788
|
+
let _ = q.nextNode();
|
|
17789
|
+
for (; _; )
|
|
17790
|
+
_.data = rr(_.data), _ = q.nextNode();
|
|
17775
17791
|
}, or = function(h) {
|
|
17776
17792
|
const y = F ? F(h) : null;
|
|
17777
|
-
return typeof y != "string" || be(y) !== "form" ? !1 : typeof h.nodeName != "string" || typeof h.textContent != "string" || typeof h.removeChild != "function" || h.attributes !==
|
|
17793
|
+
return typeof y != "string" || be(y) !== "form" ? !1 : typeof h.nodeName != "string" || typeof h.textContent != "string" || typeof h.removeChild != "function" || h.attributes !== T(h) || typeof h.removeAttribute != "function" || typeof h.removeAttributeNode != "function" || typeof h.getAttributeNode != "function" || typeof h.setAttribute != "function" || typeof h.namespaceURI != "string" || typeof h.insertBefore != "function" || typeof h.hasChildNodes != "function" || h.nodeType !== O(h) || h.childNodes !== v(h);
|
|
17778
17794
|
}, Nt = function(h) {
|
|
17779
17795
|
if (!O || typeof h != "object" || h === null) return !1;
|
|
17780
17796
|
try {
|
|
@@ -17791,62 +17807,62 @@ function Gu() {
|
|
|
17791
17807
|
}
|
|
17792
17808
|
};
|
|
17793
17809
|
function st(I, h, y) {
|
|
17794
|
-
I.length !== 0 && wt(I, (
|
|
17795
|
-
|
|
17810
|
+
I.length !== 0 && wt(I, (q) => {
|
|
17811
|
+
q.call(t, h, y, un);
|
|
17796
17812
|
});
|
|
17797
17813
|
}
|
|
17798
17814
|
const yc = function(h, y) {
|
|
17799
|
-
return !!(Q && h.hasChildNodes() && !En(h.firstElementChild) && qe(So, h.textContent) && qe(So, h.innerHTML) || Q &&
|
|
17815
|
+
return !!(Q && h.hasChildNodes() && !En(h.firstElementChild) && qe(So, h.textContent) && qe(So, h.innerHTML) || Q && _w[y] && B(h) === ye.element && S(h) === pt && (En(h.firstElementChild) || typeof h.textContent == "string" && qe(So, h.textContent)) || h.nodeType === ye.processingInstruction || Q && h.nodeType === ye.comment && qe(pa, h.data));
|
|
17800
17816
|
}, ir = function(h, y) {
|
|
17801
17817
|
if (h instanceof RegExp) return qe(h, y);
|
|
17802
17818
|
if (h instanceof Function) {
|
|
17803
|
-
for (var
|
|
17804
|
-
return !!h(y, ...
|
|
17819
|
+
for (var q = arguments.length, _ = new Array(q > 2 ? q - 2 : 0), $ = 2; $ < q; $++) _[$ - 2] = arguments[$];
|
|
17820
|
+
return !!h(y, ..._);
|
|
17805
17821
|
}
|
|
17806
17822
|
return !1;
|
|
17807
|
-
}, xc = function(h, y,
|
|
17808
|
-
if (!jt[y] && Wi(y) && ir(
|
|
17823
|
+
}, xc = function(h, y, q) {
|
|
17824
|
+
if (!jt[y] && Wi(y) && ir(Ge.tagNameCheck, y)) return !1;
|
|
17809
17825
|
if (Lr && !$t[y] && !$t[Kt(y)]) {
|
|
17810
|
-
const
|
|
17811
|
-
if ($ &&
|
|
17826
|
+
const _ = w(h), $ = v(h);
|
|
17827
|
+
if ($ && _) {
|
|
17812
17828
|
const X = $.length;
|
|
17813
17829
|
for (let ne = X - 1; ne >= 0; --ne) {
|
|
17814
|
-
const we = h ===
|
|
17815
|
-
|
|
17830
|
+
const we = h === q ? d($[ne], !0) : $[ne];
|
|
17831
|
+
_.insertBefore(we, k(h));
|
|
17816
17832
|
}
|
|
17817
17833
|
}
|
|
17818
17834
|
}
|
|
17819
17835
|
return Rt(h), !0;
|
|
17820
|
-
}, Vi = function(h, y,
|
|
17821
|
-
return h.length === 0 ? y : y ===
|
|
17836
|
+
}, Vi = function(h, y, q, _) {
|
|
17837
|
+
return h.length === 0 ? y : y === q || y === _ ? Xe(y) : y;
|
|
17822
17838
|
}, fn = function(h, y) {
|
|
17823
17839
|
return h === y || w(h) !== null ? !1 : (Pr && Hr(h), !0);
|
|
17824
17840
|
}, Wr = function(h, y) {
|
|
17825
17841
|
if (gc(h), st(j.beforeSanitizeElements, h, null), fn(h, y)) return !0;
|
|
17826
17842
|
if (or(h))
|
|
17827
17843
|
return Rt(h), !0;
|
|
17828
|
-
const
|
|
17844
|
+
const q = be(N(h));
|
|
17829
17845
|
if (fe = Vi(j.uponSanitizeElement, fe, on, Qe), st(j.uponSanitizeElement, h, {
|
|
17830
|
-
tagName:
|
|
17846
|
+
tagName: q,
|
|
17831
17847
|
allowedTags: fe
|
|
17832
17848
|
}), fn(h, y)) return !0;
|
|
17833
|
-
if (yc(h,
|
|
17849
|
+
if (yc(h, q))
|
|
17834
17850
|
return Rt(h), !0;
|
|
17835
|
-
if (jt[
|
|
17836
|
-
const
|
|
17837
|
-
return
|
|
17851
|
+
if (jt[q] || !(ft.tagCheck instanceof Function && ft.tagCheck(q)) && !fe[q]) {
|
|
17852
|
+
const _ = xc(h, q, y);
|
|
17853
|
+
return _ === !1 && (st(j.afterSanitizeElements, h, null), fn(h, y)) ? !0 : _;
|
|
17838
17854
|
}
|
|
17839
|
-
if (B(h) === ye.element && !fc(h) || (
|
|
17855
|
+
if (B(h) === ye.element && !fc(h) || (q === "noscript" || q === "noembed" || q === "noframes") && qe(qw, h.innerHTML))
|
|
17840
17856
|
return Rt(h), !0;
|
|
17841
17857
|
if (G && h.nodeType === ye.text) {
|
|
17842
|
-
const
|
|
17843
|
-
h.textContent !==
|
|
17858
|
+
const _ = rr(h.textContent);
|
|
17859
|
+
h.textContent !== _ && (Pn(t.removed, { element: h.cloneNode() }), h.textContent = _);
|
|
17844
17860
|
}
|
|
17845
17861
|
return st(j.afterSanitizeElements, h, null), fn(h, y);
|
|
17846
|
-
}, $i = function(h, y,
|
|
17847
|
-
if (Zn[y] || Ui(y, h) || et && (y === "id" || y === "name") && (
|
|
17848
|
-
const
|
|
17849
|
-
return Cn && qe(it, y) || er && qe(lt, y) ? !0 :
|
|
17862
|
+
}, $i = function(h, y, q) {
|
|
17863
|
+
if (Zn[y] || Ui(y, h) || et && (y === "id" || y === "name") && (q in n || q in ac)) return !1;
|
|
17864
|
+
const _ = he[y] || ft.attributeCheck instanceof Function && ft.attributeCheck(y, h);
|
|
17865
|
+
return Cn && qe(it, y) || er && qe(lt, y) ? !0 : _ ? Ri[y] || qe(vn, Mn(q, _t, "")) || (y === "src" || y === "xlink:href" || y === "href") && h !== "script" && oa(q, "data:") === 0 && _i[h] || A && !qe(qt, Mn(q, _t, "")) ? !0 : !q : Wi(h) && ir(Ge.tagNameCheck, h) && ir(Ge.attributeNameCheck, y, h) || y === "is" && Ge.allowCustomizedBuiltInElements && ir(Ge.tagNameCheck, q);
|
|
17850
17866
|
}, wc = ue({}, [
|
|
17851
17867
|
"annotation-xml",
|
|
17852
17868
|
"color-profile",
|
|
@@ -17858,17 +17874,17 @@ function Gu() {
|
|
|
17858
17874
|
"missing-glyph"
|
|
17859
17875
|
]), Wi = function(h) {
|
|
17860
17876
|
return !wc[Kt(h)] && qe(It, h);
|
|
17861
|
-
}, kc = function(h, y,
|
|
17862
|
-
if (P && typeof f == "object" && typeof f.getAttributeType == "function" && !
|
|
17877
|
+
}, kc = function(h, y, q, _) {
|
|
17878
|
+
if (P && typeof f == "object" && typeof f.getAttributeType == "function" && !q) switch (f.getAttributeType(h, y)) {
|
|
17863
17879
|
case "TrustedHTML":
|
|
17864
|
-
return ae(
|
|
17880
|
+
return ae(_);
|
|
17865
17881
|
case "TrustedScriptURL":
|
|
17866
|
-
return Ee(
|
|
17882
|
+
return Ee(_);
|
|
17867
17883
|
}
|
|
17868
|
-
return
|
|
17869
|
-
}, Sc = function(h, y,
|
|
17884
|
+
return _;
|
|
17885
|
+
}, Sc = function(h, y, q, _) {
|
|
17870
17886
|
try {
|
|
17871
|
-
return
|
|
17887
|
+
return q ? h.setAttributeNS(q, y, _) : h.setAttribute(y, _), or(h) ? (Rt(h), !1) : !0;
|
|
17872
17888
|
} catch {
|
|
17873
17889
|
return cn(y, h), !1;
|
|
17874
17890
|
}
|
|
@@ -17876,27 +17892,27 @@ function Gu() {
|
|
|
17876
17892
|
return Q && qe(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, y) ? !0 : Kt(h) === "attributename" && ra(y, "href") !== null;
|
|
17877
17893
|
}, Gr = function(h, y) {
|
|
17878
17894
|
if (st(j.beforeSanitizeAttributes, h, null), fn(h, y)) return;
|
|
17879
|
-
const
|
|
17880
|
-
if (!
|
|
17895
|
+
const q = h.attributes;
|
|
17896
|
+
if (!q || or(h)) return;
|
|
17881
17897
|
he = Vi(j.uponSanitizeAttribute, he, ln, ze);
|
|
17882
|
-
const
|
|
17898
|
+
const _ = {
|
|
17883
17899
|
attrName: "",
|
|
17884
17900
|
attrValue: "",
|
|
17885
17901
|
keepAttr: !0,
|
|
17886
17902
|
allowedAttributes: he,
|
|
17887
17903
|
forceKeepAttr: void 0
|
|
17888
17904
|
};
|
|
17889
|
-
let $ =
|
|
17905
|
+
let $ = q.length;
|
|
17890
17906
|
const X = be(h.nodeName);
|
|
17891
17907
|
for (; $--; ) {
|
|
17892
|
-
const ne =
|
|
17893
|
-
let Be = we === "value" ? pn :
|
|
17894
|
-
if (
|
|
17908
|
+
const ne = q[$], we = ne.name, dt = ne.namespaceURI, Me = ne.value, Fe = be(we), pn = Me;
|
|
17909
|
+
let Be = we === "value" ? pn : cw(pn), Yi = !1;
|
|
17910
|
+
if (_.attrName = Fe, _.attrValue = Be, _.keepAttr = !0, _.forceKeepAttr = void 0, st(j.uponSanitizeAttribute, h, _), Be = _.attrValue, Ei && (Fe === "id" || Fe === "name") && oa(Be, Ti) !== 0 && (cn(we, h, ne), Be = Ti + Be, Yi = !0), Gi(we, Be)) {
|
|
17895
17911
|
cn(we, h, ne);
|
|
17896
17912
|
continue;
|
|
17897
17913
|
}
|
|
17898
|
-
if (!
|
|
17899
|
-
if (!
|
|
17914
|
+
if (!_.forceKeepAttr) {
|
|
17915
|
+
if (!_.keepAttr) {
|
|
17900
17916
|
cn(we, h, ne);
|
|
17901
17917
|
continue;
|
|
17902
17918
|
}
|
|
@@ -17914,11 +17930,11 @@ function Gu() {
|
|
|
17914
17930
|
st(j.afterSanitizeAttributes, h, null), fn(h, y);
|
|
17915
17931
|
}, Tn = function(h) {
|
|
17916
17932
|
let y = null;
|
|
17917
|
-
const
|
|
17918
|
-
for (st(j.beforeSanitizeShadowDOM, h, null); y =
|
|
17933
|
+
const q = Vr(h);
|
|
17934
|
+
for (st(j.beforeSanitizeShadowDOM, h, null); y = q.nextNode(); )
|
|
17919
17935
|
if (st(j.uponSanitizeShadowNode, y, null), Wr(y, h), Gr(y, h), Nt(y.content) && Tn(y.content), B(y) === ye.element) {
|
|
17920
|
-
const
|
|
17921
|
-
Nt(
|
|
17936
|
+
const _ = E(y);
|
|
17937
|
+
Nt(_) && (Yr(_), Tn(_));
|
|
17922
17938
|
}
|
|
17923
17939
|
G && ji(h), st(j.afterSanitizeShadowDOM, h, null);
|
|
17924
17940
|
}, Yr = function(h) {
|
|
@@ -17927,20 +17943,20 @@ function Gu() {
|
|
|
17927
17943
|
shadow: null
|
|
17928
17944
|
}];
|
|
17929
17945
|
for (; y.length > 0; ) {
|
|
17930
|
-
const
|
|
17931
|
-
if (
|
|
17932
|
-
Tn(
|
|
17946
|
+
const q = y.pop();
|
|
17947
|
+
if (q.shadow) {
|
|
17948
|
+
Tn(q.shadow);
|
|
17933
17949
|
continue;
|
|
17934
17950
|
}
|
|
17935
|
-
const
|
|
17951
|
+
const _ = q.node, $ = B(_) === ye.element, X = v(_);
|
|
17936
17952
|
if (X) for (let ne = X.length - 1; ne >= 0; --ne) y.push({
|
|
17937
17953
|
node: X[ne],
|
|
17938
17954
|
shadow: null
|
|
17939
17955
|
});
|
|
17940
17956
|
if ($) {
|
|
17941
|
-
const ne = F ? F(
|
|
17957
|
+
const ne = F ? F(_) : null;
|
|
17942
17958
|
if (typeof ne == "string" && be(ne) === "template") {
|
|
17943
|
-
const we =
|
|
17959
|
+
const we = _.content;
|
|
17944
17960
|
Nt(we) && y.push({
|
|
17945
17961
|
node: we,
|
|
17946
17962
|
shadow: null
|
|
@@ -17948,7 +17964,7 @@ function Gu() {
|
|
|
17948
17964
|
}
|
|
17949
17965
|
}
|
|
17950
17966
|
if ($) {
|
|
17951
|
-
const ne = E(
|
|
17967
|
+
const ne = E(_);
|
|
17952
17968
|
Nt(ne) && y.push({
|
|
17953
17969
|
node: null,
|
|
17954
17970
|
shadow: ne
|
|
@@ -17960,11 +17976,11 @@ function Gu() {
|
|
|
17960
17976
|
}
|
|
17961
17977
|
};
|
|
17962
17978
|
return t.sanitize = function(I) {
|
|
17963
|
-
let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, y = null,
|
|
17964
|
-
if (Dr = !I, Dr && (I = "<!-->"), typeof I != "string" && !En(I) && (I =
|
|
17979
|
+
let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, y = null, q = null, _ = null, $ = null;
|
|
17980
|
+
if (Dr = !I, Dr && (I = "<!-->"), typeof I != "string" && !En(I) && (I = hw(I), typeof I != "string"))
|
|
17965
17981
|
throw kt("dirty is not a string, aborting");
|
|
17966
17982
|
if (!t.isSupported) return I;
|
|
17967
|
-
De ? (fe = Qe, he = ze) : Fr(h), (j.uponSanitizeElement.length > 0 || j.uponSanitizeAttribute.length > 0) && (fe =
|
|
17983
|
+
De ? (fe = Qe, he = ze) : Fr(h), (j.uponSanitizeElement.length > 0 || j.uponSanitizeAttribute.length > 0) && (fe = Xe(fe)), j.uponSanitizeAttribute.length > 0 && (he = Xe(he)), t.removed = [];
|
|
17968
17984
|
const X = Pr && typeof I != "string" && En(I);
|
|
17969
17985
|
let ne = [];
|
|
17970
17986
|
const we = Vt;
|
|
@@ -17980,7 +17996,7 @@ function Gu() {
|
|
|
17980
17996
|
throw Br(I), kt("root node is clobbered and cannot be sanitized in-place");
|
|
17981
17997
|
ne = jr(I), Vt = mo();
|
|
17982
17998
|
} else if (En(I))
|
|
17983
|
-
y = Hi("<!---->"),
|
|
17999
|
+
y = Hi("<!---->"), q = y.ownerDocument.importNode(I, !0), q.nodeType === ye.element && q.nodeName === "BODY" || q.nodeName === "HTML" ? y = q : y.appendChild(q), Yr(y);
|
|
17984
18000
|
else {
|
|
17985
18001
|
if (!Ze && !G && !le && I.indexOf("<") === -1) return P && at ? ae(I) : I;
|
|
17986
18002
|
if (y = Hi(I), !y) return Ze ? null : at ? z : "";
|
|
@@ -17990,8 +18006,8 @@ function Gu() {
|
|
|
17990
18006
|
try {
|
|
17991
18007
|
X && Yr(I);
|
|
17992
18008
|
const Fe = Vr(dt);
|
|
17993
|
-
for (;
|
|
17994
|
-
Wr(
|
|
18009
|
+
for (; _ = Fe.nextNode(); )
|
|
18010
|
+
Wr(_, dt), Gr(_, dt), Nt(_.content) && Tn(_.content);
|
|
17995
18011
|
X && hc(I, ne);
|
|
17996
18012
|
} catch (Fe) {
|
|
17997
18013
|
throw X && (Br(I), Bi(I, ne)), Fe;
|
|
@@ -18009,7 +18025,7 @@ function Gu() {
|
|
|
18009
18025
|
return (he.shadowroot || he.shadowrootmode) && ($ = me.call(r, $, !0)), $;
|
|
18010
18026
|
}
|
|
18011
18027
|
let Me = le ? y.outerHTML : y.innerHTML;
|
|
18012
|
-
return le && fe["!doctype"] && y.ownerDocument && y.ownerDocument.doctype && y.ownerDocument.doctype.name && qe(
|
|
18028
|
+
return le && fe["!doctype"] && y.ownerDocument && y.ownerDocument.doctype && y.ownerDocument.doctype.name && qe(Ew, y.ownerDocument.doctype.name) && (Me = "<!DOCTYPE " + y.ownerDocument.doctype.name + `>
|
|
18013
18029
|
` + Me), G && (Me = rr(Me)), P && at ? ae(Me) : Me;
|
|
18014
18030
|
}, t.setConfig = function() {
|
|
18015
18031
|
let I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -18018,15 +18034,15 @@ function Gu() {
|
|
|
18018
18034
|
un = null, De = !1, Qe = null, ze = null, P = re, z = "";
|
|
18019
18035
|
}, t.isValidAttribute = function(I, h, y) {
|
|
18020
18036
|
un || Fr({});
|
|
18021
|
-
const
|
|
18022
|
-
return typeof y == "string" && (Gi(h, y) || !M && qe(da, y)) ? !1 : $i(
|
|
18037
|
+
const q = be(I), _ = be(h);
|
|
18038
|
+
return typeof y == "string" && (Gi(h, y) || !M && qe(da, y)) ? !1 : $i(q, _, y);
|
|
18023
18039
|
}, t.addHook = function(I, h) {
|
|
18024
18040
|
typeof h == "function" && He(j, I) && Pn(j[I], h);
|
|
18025
18041
|
}, t.removeHook = function(I, h) {
|
|
18026
18042
|
if (He(j, I)) {
|
|
18027
18043
|
if (h !== void 0) {
|
|
18028
|
-
const y =
|
|
18029
|
-
return y === -1 ? void 0 :
|
|
18044
|
+
const y = aw(j[I], h);
|
|
18045
|
+
return y === -1 ? void 0 : uw(j[I], y, 1)[0];
|
|
18030
18046
|
}
|
|
18031
18047
|
return na(j[I]);
|
|
18032
18048
|
}
|
|
@@ -18037,11 +18053,11 @@ function Gu() {
|
|
|
18037
18053
|
}, t;
|
|
18038
18054
|
}
|
|
18039
18055
|
var Cr = Gu();
|
|
18040
|
-
const Yu =
|
|
18056
|
+
const Yu = Ve(
|
|
18041
18057
|
({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
18042
18058
|
"textarea",
|
|
18043
18059
|
{
|
|
18044
|
-
className:
|
|
18060
|
+
className: ee(
|
|
18045
18061
|
"eloq:flex eloq:min-h-[80px] eloq:w-full eloq:rounded-md eloq:border eloq:border-input eloq:bg-background eloq:px-3 eloq:py-2 eloq:text-base eloq:ring-offset-background eloq:placeholder:text-muted-foreground eloq:focus-visible:outline-none eloq:focus-visible:ring-1 eloq:focus-visible:ring-offset-2 eloq:focus-visible:ring-muted eloq:disabled:cursor-not-allowed eloq:disabled:opacity-50 eloq:md:text-sm",
|
|
18046
18062
|
e
|
|
18047
18063
|
),
|
|
@@ -18051,11 +18067,11 @@ const Yu = je(
|
|
|
18051
18067
|
)
|
|
18052
18068
|
);
|
|
18053
18069
|
Yu.displayName = "Textarea";
|
|
18054
|
-
function
|
|
18070
|
+
function Nw({
|
|
18055
18071
|
isDisabled: e,
|
|
18056
18072
|
onFiles: t
|
|
18057
18073
|
}) {
|
|
18058
|
-
const n =
|
|
18074
|
+
const n = je(null);
|
|
18059
18075
|
return /* @__PURE__ */ Z(zt, { children: [
|
|
18060
18076
|
/* @__PURE__ */ x(
|
|
18061
18077
|
"input",
|
|
@@ -18084,7 +18100,7 @@ function Pw({
|
|
|
18084
18100
|
)
|
|
18085
18101
|
] });
|
|
18086
18102
|
}
|
|
18087
|
-
function
|
|
18103
|
+
function Lw({
|
|
18088
18104
|
attachmentFiles: e,
|
|
18089
18105
|
error: t,
|
|
18090
18106
|
onRemove: n
|
|
@@ -18135,7 +18151,7 @@ function Dw({
|
|
|
18135
18151
|
)
|
|
18136
18152
|
] });
|
|
18137
18153
|
}
|
|
18138
|
-
function
|
|
18154
|
+
function Pw(e) {
|
|
18139
18155
|
const [t, n] = Ae([]), [r, o] = Ae(null), l = e && t.length < Wn;
|
|
18140
18156
|
return {
|
|
18141
18157
|
attachmentFiles: t,
|
|
@@ -18159,18 +18175,18 @@ function Mw(e) {
|
|
|
18159
18175
|
}
|
|
18160
18176
|
};
|
|
18161
18177
|
}
|
|
18162
|
-
function
|
|
18163
|
-
const t =
|
|
18178
|
+
function Dw(e) {
|
|
18179
|
+
const t = je(e);
|
|
18164
18180
|
return vt(() => {
|
|
18165
18181
|
t.current = e;
|
|
18166
18182
|
}), t;
|
|
18167
18183
|
}
|
|
18168
|
-
function
|
|
18169
|
-
const [t, n] = Ae(!1), r =
|
|
18184
|
+
function Mw(e) {
|
|
18185
|
+
const [t, n] = Ae(!1), r = Dw(e), o = je(null), l = wa(
|
|
18170
18186
|
(i) => {
|
|
18171
18187
|
if (o.current?.abort(), o.current = null, !i) return;
|
|
18172
18188
|
const a = new AbortController();
|
|
18173
|
-
o.current = a,
|
|
18189
|
+
o.current = a, Ow(i.ownerDocument, a.signal, {
|
|
18174
18190
|
onDragChange: n,
|
|
18175
18191
|
onFiles: (s) => r.current(s)
|
|
18176
18192
|
});
|
|
@@ -18179,7 +18195,7 @@ function zw(e) {
|
|
|
18179
18195
|
);
|
|
18180
18196
|
return { isDraggingFiles: t, listenForFiles: l };
|
|
18181
18197
|
}
|
|
18182
|
-
function
|
|
18198
|
+
function Ow(e, t, { onDragChange: n, onFiles: r }) {
|
|
18183
18199
|
const o = { signal: t };
|
|
18184
18200
|
let l = 0;
|
|
18185
18201
|
e.addEventListener(
|
|
@@ -18209,7 +18225,7 @@ function Fw(e, t, { onDragChange: n, onFiles: r }) {
|
|
|
18209
18225
|
), e.addEventListener(
|
|
18210
18226
|
"paste",
|
|
18211
18227
|
(i) => {
|
|
18212
|
-
const a =
|
|
18228
|
+
const a = zw(i);
|
|
18213
18229
|
a.length !== 0 && (i.preventDefault(), r(a));
|
|
18214
18230
|
},
|
|
18215
18231
|
o
|
|
@@ -18218,12 +18234,12 @@ function Fw(e, t, { onDragChange: n, onFiles: r }) {
|
|
|
18218
18234
|
function gr(e) {
|
|
18219
18235
|
return !!e.dataTransfer?.types.includes("Files");
|
|
18220
18236
|
}
|
|
18221
|
-
function
|
|
18237
|
+
function zw(e) {
|
|
18222
18238
|
return Array.from(e.clipboardData?.files ?? []);
|
|
18223
18239
|
}
|
|
18224
|
-
const
|
|
18225
|
-
function
|
|
18226
|
-
const t =
|
|
18240
|
+
const Fw = /^#?([0-9a-f]{3}|[0-9a-f]{6})$/i;
|
|
18241
|
+
function Bw(e) {
|
|
18242
|
+
const t = Fw.exec(e.trim());
|
|
18227
18243
|
if (!t) return null;
|
|
18228
18244
|
let n = t[1];
|
|
18229
18245
|
return n.length === 3 && (n = n.split("").map((r) => r + r).join("")), [
|
|
@@ -18232,7 +18248,7 @@ function Hw(e) {
|
|
|
18232
18248
|
Number.parseInt(n.slice(4, 6), 16)
|
|
18233
18249
|
];
|
|
18234
18250
|
}
|
|
18235
|
-
function
|
|
18251
|
+
function Uw([e, t, n]) {
|
|
18236
18252
|
const r = e / 255, o = t / 255, l = n / 255, i = Math.max(r, o, l), a = Math.min(r, o, l), s = i - a, u = (i + a) / 2;
|
|
18237
18253
|
if (s === 0)
|
|
18238
18254
|
return { hue: 0, saturation: 0, lightness: u };
|
|
@@ -18248,11 +18264,11 @@ function ma({ hue: e, saturation: t, lightness: n }) {
|
|
|
18248
18264
|
n * 100
|
|
18249
18265
|
)}%)`;
|
|
18250
18266
|
}
|
|
18251
|
-
function
|
|
18252
|
-
const t = e ?
|
|
18267
|
+
function Hw(e) {
|
|
18268
|
+
const t = e ? Bw(e) : null;
|
|
18253
18269
|
if (!t)
|
|
18254
18270
|
return { strong: "hsl(0 0% 62%)", soft: "hsl(0 0% 82%)" };
|
|
18255
|
-
const { hue: n, saturation: r, lightness: o } =
|
|
18271
|
+
const { hue: n, saturation: r, lightness: o } = Uw(t), l = {
|
|
18256
18272
|
hue: n,
|
|
18257
18273
|
saturation: br(Math.max(r * 1.35, r + 0.25)),
|
|
18258
18274
|
lightness: Math.min(br(o + 0.45), 0.95)
|
|
@@ -18263,8 +18279,8 @@ function Vw(e) {
|
|
|
18263
18279
|
};
|
|
18264
18280
|
return { strong: ma(l), soft: ma(i) };
|
|
18265
18281
|
}
|
|
18266
|
-
function
|
|
18267
|
-
const e =
|
|
18282
|
+
function jw() {
|
|
18283
|
+
const e = je(!1), t = je(0), n = je(0);
|
|
18268
18284
|
return {
|
|
18269
18285
|
onMouseDown: (a) => {
|
|
18270
18286
|
e.current = !0;
|
|
@@ -18285,18 +18301,18 @@ function $w() {
|
|
|
18285
18301
|
}
|
|
18286
18302
|
};
|
|
18287
18303
|
}
|
|
18288
|
-
const
|
|
18289
|
-
function
|
|
18304
|
+
const Vw = 1100, ga = 4e3, $w = 9e3;
|
|
18305
|
+
function Ww(e) {
|
|
18290
18306
|
const [t, n] = Ae(!1);
|
|
18291
18307
|
return vt(() => {
|
|
18292
18308
|
if (!e) return;
|
|
18293
18309
|
let r, o = !1;
|
|
18294
18310
|
const l = () => {
|
|
18295
|
-
const i = ga + Math.random() * (
|
|
18311
|
+
const i = ga + Math.random() * ($w - ga);
|
|
18296
18312
|
r = setTimeout(() => {
|
|
18297
18313
|
o || (n(!0), r = setTimeout(() => {
|
|
18298
18314
|
o || (n(!1), l());
|
|
18299
|
-
},
|
|
18315
|
+
}, Vw));
|
|
18300
18316
|
}, i);
|
|
18301
18317
|
};
|
|
18302
18318
|
return l(), () => {
|
|
@@ -18304,8 +18320,8 @@ function Yw(e) {
|
|
|
18304
18320
|
};
|
|
18305
18321
|
}, [e]), t;
|
|
18306
18322
|
}
|
|
18307
|
-
function
|
|
18308
|
-
const [e, t] = Ae(!1), n =
|
|
18323
|
+
function Gw() {
|
|
18324
|
+
const [e, t] = Ae(!1), n = je(null);
|
|
18309
18325
|
return { scrollContainerRef: (o) => {
|
|
18310
18326
|
if (n.current?.disconnect(), n.current = null, !o) return;
|
|
18311
18327
|
const l = () => {
|
|
@@ -18319,12 +18335,12 @@ function Xw() {
|
|
|
18319
18335
|
}
|
|
18320
18336
|
}, hasOverflow: e };
|
|
18321
18337
|
}
|
|
18322
|
-
function
|
|
18323
|
-
const t = nn(), n = ei(), r =
|
|
18338
|
+
function Yw({ onSelect: e }) {
|
|
18339
|
+
const t = nn(), n = ei(), r = jw(), { scrollContainerRef: o, hasOverflow: l } = Gw(), i = !!t.messages?.some(
|
|
18324
18340
|
(k) => k.sender === "user"
|
|
18325
|
-
), a = t.suggestedMessageTexts ?? [], s = !!t.suggestedMessages && a.length > 0 && !i, u = !!t.hasSuggestedMessageAura && s, f = !!t.hasSuggestedMessageShine && s, c =
|
|
18341
|
+
), a = t.suggestedMessageTexts ?? [], s = !!t.suggestedMessages && a.length > 0 && !i, u = !!t.hasSuggestedMessageAura && s, f = !!t.hasSuggestedMessageShine && s, c = Ww(f);
|
|
18326
18342
|
if (!s) return null;
|
|
18327
|
-
const d = u ?
|
|
18343
|
+
const d = u ? Hw(n.suggestedMessageBubbleColor || n.userBubbleColor) : null, p = n.suggestedMessageBubbleColor ? {
|
|
18328
18344
|
backgroundColor: n.suggestedMessageBubbleColor,
|
|
18329
18345
|
color: n.suggestedMessageBubbleTextColor || Ai(n.suggestedMessageBubbleColor)
|
|
18330
18346
|
} : void 0, g = (k, v = {
|
|
@@ -18334,7 +18350,7 @@ function Kw({ onSelect: e }) {
|
|
|
18334
18350
|
"button",
|
|
18335
18351
|
{
|
|
18336
18352
|
onClick: () => e(k),
|
|
18337
|
-
className:
|
|
18353
|
+
className: ee(
|
|
18338
18354
|
// Pointer on the pill itself (it's a click target). The closed hand
|
|
18339
18355
|
// while held only appears when the row overflows — that's when
|
|
18340
18356
|
// dragging can actually shift it.
|
|
@@ -18355,7 +18371,7 @@ function Kw({ onSelect: e }) {
|
|
|
18355
18371
|
/* @__PURE__ */ x(
|
|
18356
18372
|
"span",
|
|
18357
18373
|
{
|
|
18358
|
-
className:
|
|
18374
|
+
className: ee(
|
|
18359
18375
|
"eloq-aura-shine",
|
|
18360
18376
|
c && "eloq-aura-shine--active"
|
|
18361
18377
|
),
|
|
@@ -18371,7 +18387,7 @@ function Kw({ onSelect: e }) {
|
|
|
18371
18387
|
{
|
|
18372
18388
|
ref: o,
|
|
18373
18389
|
"data-testid": "suggested-messages",
|
|
18374
|
-
className:
|
|
18390
|
+
className: ee(
|
|
18375
18391
|
"eloq:w-full eloq:px-4 eloq:pb-10 eloq:-mt-20 eloq:overflow-x-auto no-scrollbar eloq:z-10",
|
|
18376
18392
|
// Drag-to-scroll (and its grab cursor) only when the pills actually
|
|
18377
18393
|
// overflow the row; the hook also sets inline cursor styles on mouse
|
|
@@ -18415,7 +18431,7 @@ const ba = {
|
|
|
18415
18431
|
5034: "Sorry we are unable to help right now, please try again later.",
|
|
18416
18432
|
5001: "We are currently facing technical difficulties. Please try again later.",
|
|
18417
18433
|
DEFAULT: "Something went wrong. Please try again later."
|
|
18418
|
-
},
|
|
18434
|
+
}, Xw = (e) => ba[e] || ba.DEFAULT, Kw = Ar({
|
|
18419
18435
|
error: null,
|
|
18420
18436
|
hideSdk: !1,
|
|
18421
18437
|
publishApiError: () => {
|
|
@@ -18426,13 +18442,13 @@ const ba = {
|
|
|
18426
18442
|
},
|
|
18427
18443
|
clearError: () => {
|
|
18428
18444
|
}
|
|
18429
|
-
}),
|
|
18430
|
-
const e = Er(
|
|
18445
|
+
}), Jw = () => {
|
|
18446
|
+
const e = Er(Kw);
|
|
18431
18447
|
if (e === void 0)
|
|
18432
18448
|
throw new Error("useError must be used within an ErrorProvider");
|
|
18433
18449
|
return e;
|
|
18434
|
-
},
|
|
18435
|
-
const n = t instanceof Jt ? t.response?.errors?.[0] : void 0, r = Number(n?.error_code), o =
|
|
18450
|
+
}, Tk = (e) => (t) => {
|
|
18451
|
+
const n = t instanceof Jt ? t.response?.errors?.[0] : void 0, r = Number(n?.error_code), o = Xw(r);
|
|
18436
18452
|
e({ code: r, message: o });
|
|
18437
18453
|
}, ya = {
|
|
18438
18454
|
warning: {
|
|
@@ -18463,7 +18479,7 @@ const ba = {
|
|
|
18463
18479
|
iconColor: "eloq:text-green-500 eloq:dark:text-green-400",
|
|
18464
18480
|
icon: Nf
|
|
18465
18481
|
}
|
|
18466
|
-
},
|
|
18482
|
+
}, Qw = ({ message: e, type: t }) => {
|
|
18467
18483
|
const n = ya[t] || ya.warning, r = n.icon;
|
|
18468
18484
|
return /* @__PURE__ */ Z(
|
|
18469
18485
|
"div",
|
|
@@ -18479,17 +18495,17 @@ const ba = {
|
|
|
18479
18495
|
Cr.isSupported && Cr.addHook("afterSanitizeAttributes", (e) => {
|
|
18480
18496
|
e.tagName === "A" && (e.setAttribute("rel", "noopener noreferrer"), e.hasAttribute("target") && e.setAttribute("target", "_blank"));
|
|
18481
18497
|
});
|
|
18482
|
-
const
|
|
18483
|
-
function
|
|
18498
|
+
const Zw = "eloq:bg-card eloq:rounded-3xl eloq:shadow-[0_0_4px_0_rgba(0,0,0,0.20)] eloq:dark:shadow-none eloq:dark:border eloq:dark:border-border", ek = "eloq:w-full eloq:rounded-t-2xl eloq:bg-cream eloq:border-t eloq:border-x eloq:border-border eloq:px-5 eloq:pt-5 eloq:pb-4 eloq:shadow-[0_-8px_24px_rgba(0,0,0,0.08)] eloq:dark:shadow-none", tk = "eloq:flex eloq:items-center eloq:justify-between eloq:w-[70%] eloq:m-auto eloq:rounded-full eloq:py-2 eloq:pl-4 eloq:pr-2 eloq:text-sm eloq:font-semibold eloq:transition-opacity eloq:hover:opacity-90 eloq:focus-visible:outline-none eloq:focus-visible:ring-2 eloq:focus-visible:ring-primary eloq:focus-visible:ring-offset-2", nk = "eloq:bg-cream", rk = "eloq:bg-muted-foreground eloq:dark:bg-muted eloq:dark:text-muted-foreground/50";
|
|
18499
|
+
function ok() {
|
|
18484
18500
|
const [e, t] = Ae(!1);
|
|
18485
18501
|
return vt(() => {
|
|
18486
18502
|
t(!0);
|
|
18487
18503
|
}, []), e && Cr.isSupported;
|
|
18488
18504
|
}
|
|
18489
|
-
function
|
|
18490
|
-
const { error: e } =
|
|
18505
|
+
function ik() {
|
|
18506
|
+
const { error: e } = Jw(), t = !!e, n = nn(), r = je(null), [o, l] = Ae(""), i = ei(), a = !!n.messages?.some((O) => O.isRatingRequest), s = n.keyboardInset ?? 0, u = ok(), f = !!n.hasAttachments, c = t || a, d = Pw(
|
|
18491
18507
|
f && !c
|
|
18492
|
-
), p =
|
|
18508
|
+
), p = Mw(d.addFiles), g = !!o.trim() || d.attachmentFiles.length > 0, k = i.userBubbleTextColor || Ai(i.userBubbleColor), v = () => g && !c ? {
|
|
18493
18509
|
backgroundColor: i.userBubbleColor,
|
|
18494
18510
|
color: k
|
|
18495
18511
|
} : {}, w = (O) => {
|
|
@@ -18518,10 +18534,10 @@ function ak() {
|
|
|
18518
18534
|
} catch (B) {
|
|
18519
18535
|
l(F), d.restoreFiles(C, B);
|
|
18520
18536
|
}
|
|
18521
|
-
},
|
|
18537
|
+
}, T = () => n.isChatClosed ? /* @__PURE__ */ x("div", { className: "eloq:w-full eloq:z-20 eloq:animate-slide-up-in", children: /* @__PURE__ */ Z(
|
|
18522
18538
|
"div",
|
|
18523
18539
|
{
|
|
18524
|
-
className:
|
|
18540
|
+
className: ek,
|
|
18525
18541
|
role: "status",
|
|
18526
18542
|
"aria-live": "polite",
|
|
18527
18543
|
children: [
|
|
@@ -18531,7 +18547,7 @@ function ak() {
|
|
|
18531
18547
|
{
|
|
18532
18548
|
type: "button",
|
|
18533
18549
|
onClick: () => n.onStartNewChat?.(),
|
|
18534
|
-
className:
|
|
18550
|
+
className: tk,
|
|
18535
18551
|
style: {
|
|
18536
18552
|
backgroundColor: i.userBubbleColor,
|
|
18537
18553
|
color: k
|
|
@@ -18545,16 +18561,16 @@ function ak() {
|
|
|
18545
18561
|
]
|
|
18546
18562
|
}
|
|
18547
18563
|
) }) : /* @__PURE__ */ Z(zt, { children: [
|
|
18548
|
-
/* @__PURE__ */ x(
|
|
18564
|
+
/* @__PURE__ */ x(Yw, { onSelect: w }),
|
|
18549
18565
|
/* @__PURE__ */ Z(
|
|
18550
18566
|
"div",
|
|
18551
18567
|
{
|
|
18552
18568
|
className: "eloq:flex eloq:flex-col eloq:w-full eloq:items-center eloq:px-4 eloq:mx-1 eloq:pb-4 eloq:-mt-6 eloq:z-20",
|
|
18553
18569
|
style: s ? { transform: `translateY(-${s}px)` } : void 0,
|
|
18554
18570
|
children: [
|
|
18555
|
-
t && /* @__PURE__ */ x(
|
|
18571
|
+
t && /* @__PURE__ */ x(Qw, { message: e.message, type: "error" }),
|
|
18556
18572
|
f && /* @__PURE__ */ x(
|
|
18557
|
-
|
|
18573
|
+
Lw,
|
|
18558
18574
|
{
|
|
18559
18575
|
attachmentFiles: d.attachmentFiles,
|
|
18560
18576
|
error: d.attachmentError,
|
|
@@ -18567,13 +18583,13 @@ function ak() {
|
|
|
18567
18583
|
className: "eloq:relative eloq:flex eloq:items-center eloq:w-full eloq:m-0",
|
|
18568
18584
|
onSubmit: E,
|
|
18569
18585
|
children: [
|
|
18570
|
-
/* @__PURE__ */ x("div", { className:
|
|
18586
|
+
/* @__PURE__ */ x("div", { className: ee("eloq:flex-1", Zw), children: /* @__PURE__ */ x(
|
|
18571
18587
|
Yu,
|
|
18572
18588
|
{
|
|
18573
18589
|
ref: r,
|
|
18574
18590
|
name: "message",
|
|
18575
18591
|
placeholder: "Type a message...",
|
|
18576
|
-
className:
|
|
18592
|
+
className: ee(
|
|
18577
18593
|
"eloq:flex-1 eloq:min-h-[48px] eloq:max-h-[132px] eloq:text-base eloq:sm:text-sm eloq:resize-none eloq:border-0 eloq:pl-4 eloq:pr-12 eloq:py-3.5 eloq-thin-scrollbar eloq:leading-5 eloq:bg-card eloq:rounded-3xl",
|
|
18578
18594
|
f && "eloq:pl-11"
|
|
18579
18595
|
),
|
|
@@ -18599,7 +18615,7 @@ function ak() {
|
|
|
18599
18615
|
}
|
|
18600
18616
|
) }),
|
|
18601
18617
|
f && /* @__PURE__ */ x(
|
|
18602
|
-
|
|
18618
|
+
Nw,
|
|
18603
18619
|
{
|
|
18604
18620
|
isDisabled: !d.canAddFiles,
|
|
18605
18621
|
onFiles: d.addFiles
|
|
@@ -18610,9 +18626,9 @@ function ak() {
|
|
|
18610
18626
|
{
|
|
18611
18627
|
type: "submit",
|
|
18612
18628
|
disabled: !g || c,
|
|
18613
|
-
className:
|
|
18629
|
+
className: ee(
|
|
18614
18630
|
"eloq:absolute eloq:top-0 eloq:bottom-2 eloq:right-2 eloq:self-end eloq:p-2 eloq:text-muted eloq:rounded-full eloq:transition-colors",
|
|
18615
|
-
g && !t ? "eloq:text-primary-foreground" :
|
|
18631
|
+
g && !t ? "eloq:text-primary-foreground" : rk
|
|
18616
18632
|
),
|
|
18617
18633
|
style: v(),
|
|
18618
18634
|
children: /* @__PURE__ */ x(Ef, { className: "eloq:h-4 eloq:w-4" })
|
|
@@ -18635,13 +18651,13 @@ function ak() {
|
|
|
18635
18651
|
ref: f ? p.listenForFiles : void 0,
|
|
18636
18652
|
className: "eloq:flex eloq:flex-col eloq:bg-background eloq:p-0",
|
|
18637
18653
|
children: [
|
|
18638
|
-
|
|
18654
|
+
T(),
|
|
18639
18655
|
/* @__PURE__ */ Z(
|
|
18640
18656
|
"div",
|
|
18641
18657
|
{
|
|
18642
|
-
className:
|
|
18658
|
+
className: ee(
|
|
18643
18659
|
"eloq:w-full eloq:flex eloq:flex-col eloq:items-center eloq:justify-center eloq:space-x-2 eloq:px-0",
|
|
18644
|
-
|
|
18660
|
+
nk
|
|
18645
18661
|
),
|
|
18646
18662
|
children: [
|
|
18647
18663
|
/* @__PURE__ */ Z("div", { className: "eloq:w-full eloq:flex eloq:items-center eloq:justify-center eloq:space-x-2 eloq:py-1", children: [
|
|
@@ -18674,16 +18690,16 @@ function ak() {
|
|
|
18674
18690
|
}
|
|
18675
18691
|
);
|
|
18676
18692
|
}
|
|
18677
|
-
var
|
|
18693
|
+
var lk = Object.defineProperty, At = (e, t) => lk(e, "name", { value: t, configurable: !0 }), Xu = "Avatar", [ak, qk] = /* @__PURE__ */ ni(Xu), sk = [
|
|
18678
18694
|
0,
|
|
18679
18695
|
() => {
|
|
18680
18696
|
}
|
|
18681
|
-
], [
|
|
18697
|
+
], [uk, Ku] = ak(Xu), Ju = /* @__PURE__ */ R.forwardRef(
|
|
18682
18698
|
// blank line to reduce diff noise
|
|
18683
18699
|
/* @__PURE__ */ At(function(t, n) {
|
|
18684
18700
|
const { __scopeAvatar: r, ...o } = t, [l, i] = R.useState("idle"), [a, s] = tc();
|
|
18685
18701
|
return /* @__PURE__ */ x(
|
|
18686
|
-
|
|
18702
|
+
uk,
|
|
18687
18703
|
{
|
|
18688
18704
|
scope: r,
|
|
18689
18705
|
imageLoadingStatus: l,
|
|
@@ -18694,9 +18710,9 @@ var sk = Object.defineProperty, At = (e, t) => sk(e, "name", { value: t, configu
|
|
|
18694
18710
|
}
|
|
18695
18711
|
);
|
|
18696
18712
|
}, "Avatar")
|
|
18697
|
-
),
|
|
18713
|
+
), ck = "AvatarImage", Qu = /* @__PURE__ */ R.forwardRef(
|
|
18698
18714
|
/* @__PURE__ */ At(function(t, n) {
|
|
18699
|
-
const { __scopeAvatar: r, src: o, onLoadingStatusChange: l, ...i } = t, a = Ku(
|
|
18715
|
+
const { __scopeAvatar: r, src: o, onLoadingStatusChange: l, ...i } = t, a = Ku(ck, r);
|
|
18700
18716
|
a.setImageCount;
|
|
18701
18717
|
const s = ec(o, {
|
|
18702
18718
|
referrerPolicy: i.referrerPolicy,
|
|
@@ -18711,9 +18727,9 @@ var sk = Object.defineProperty, At = (e, t) => sk(e, "name", { value: t, configu
|
|
|
18711
18727
|
f.current = s, s !== c && u(s);
|
|
18712
18728
|
}, [s, u]), s === "loaded" ? /* @__PURE__ */ x(Ut.img, { ...i, ref: n, src: o }) : null;
|
|
18713
18729
|
}, "AvatarImage")
|
|
18714
|
-
),
|
|
18730
|
+
), fk = "AvatarFallback", Zu = /* @__PURE__ */ R.forwardRef(
|
|
18715
18731
|
/* @__PURE__ */ At(function(t, n) {
|
|
18716
|
-
const { __scopeAvatar: r, delayMs: o, ...l } = t, i = Ku(
|
|
18732
|
+
const { __scopeAvatar: r, delayMs: o, ...l } = t, i = Ku(fk, r), [a, s] = R.useState(o === void 0);
|
|
18717
18733
|
return R.useEffect(() => {
|
|
18718
18734
|
if (o !== void 0) {
|
|
18719
18735
|
const u = window.setTimeout(() => s(!0), o);
|
|
@@ -18748,17 +18764,17 @@ function Wo(e) {
|
|
|
18748
18764
|
}
|
|
18749
18765
|
At(Wo, "getImageLoadingStatus");
|
|
18750
18766
|
function tc() {
|
|
18751
|
-
return
|
|
18767
|
+
return sk;
|
|
18752
18768
|
}
|
|
18753
18769
|
At(tc, "useImageCount");
|
|
18754
|
-
function
|
|
18770
|
+
function pk(e) {
|
|
18755
18771
|
}
|
|
18756
|
-
At(
|
|
18757
|
-
const nc =
|
|
18772
|
+
At(pk, "useUpdateImageCount");
|
|
18773
|
+
const nc = Ve(({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
18758
18774
|
Ju,
|
|
18759
18775
|
{
|
|
18760
18776
|
ref: n,
|
|
18761
|
-
className:
|
|
18777
|
+
className: ee(
|
|
18762
18778
|
"eloq:relative eloq:flex eloq:h-10 eloq:w-10 eloq:shrink-0 eloq:overflow-hidden eloq:rounded-full",
|
|
18763
18779
|
e
|
|
18764
18780
|
),
|
|
@@ -18766,34 +18782,34 @@ const nc = je(({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
|
18766
18782
|
}
|
|
18767
18783
|
));
|
|
18768
18784
|
nc.displayName = Ju.displayName;
|
|
18769
|
-
const
|
|
18785
|
+
const dk = Ve(({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
18770
18786
|
Qu,
|
|
18771
18787
|
{
|
|
18772
18788
|
ref: n,
|
|
18773
|
-
className:
|
|
18789
|
+
className: ee("eloq:aspect-square eloq:h-full eloq:w-full", e),
|
|
18774
18790
|
...t
|
|
18775
18791
|
}
|
|
18776
18792
|
));
|
|
18777
|
-
|
|
18778
|
-
const
|
|
18793
|
+
dk.displayName = Qu.displayName;
|
|
18794
|
+
const hk = Ve(({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
18779
18795
|
Zu,
|
|
18780
18796
|
{
|
|
18781
18797
|
ref: n,
|
|
18782
|
-
className:
|
|
18798
|
+
className: ee(
|
|
18783
18799
|
"eloq:flex eloq:h-full eloq:w-full eloq:items-center eloq:justify-center eloq:rounded-full eloq:bg-muted",
|
|
18784
18800
|
e
|
|
18785
18801
|
),
|
|
18786
18802
|
...t
|
|
18787
18803
|
}
|
|
18788
18804
|
));
|
|
18789
|
-
|
|
18790
|
-
const
|
|
18791
|
-
function
|
|
18805
|
+
hk.displayName = Zu.displayName;
|
|
18806
|
+
const mk = "eloq:shadow-[0_3px_4px_-2px_rgba(0,0,0,0.04)] eloq:dark:shadow-none eloq:dark:border-b eloq:dark:border-border", xa = "eloq:text-gray-400 eloq:hover:text-gray-600 eloq:dark:hover:text-gray-300 eloq:p-2";
|
|
18807
|
+
function gk({
|
|
18792
18808
|
onCleanChat: e,
|
|
18793
18809
|
onClose: t
|
|
18794
18810
|
}) {
|
|
18795
18811
|
const n = nn(), r = n.hasCleanChatButton ?? n.cleanChatButton ?? !0, o = n.hasCloseButton ?? n.closeButton ?? !0;
|
|
18796
|
-
return /* @__PURE__ */ Z(Jo, { className:
|
|
18812
|
+
return /* @__PURE__ */ Z(Jo, { className: ee(zu, mk), children: [
|
|
18797
18813
|
/* @__PURE__ */ Z("div", { className: Fu, children: [
|
|
18798
18814
|
/* @__PURE__ */ x(nc, { className: "eloq:h-10 eloq:w-10", children: /* @__PURE__ */ x(
|
|
18799
18815
|
Xo,
|
|
@@ -18814,7 +18830,7 @@ function yk({
|
|
|
18814
18830
|
] })
|
|
18815
18831
|
] });
|
|
18816
18832
|
}
|
|
18817
|
-
function
|
|
18833
|
+
function _k(e) {
|
|
18818
18834
|
const {
|
|
18819
18835
|
isOpen: t = !1,
|
|
18820
18836
|
isMobile: n,
|
|
@@ -18830,7 +18846,7 @@ function Rk(e) {
|
|
|
18830
18846
|
// rendered as page content (embedded playground, transcript previews),
|
|
18831
18847
|
// where a popup-style "rise from the corner" animation is wrong.
|
|
18832
18848
|
skipAnimation: !i
|
|
18833
|
-
}), u = () => /* @__PURE__ */ Z(Ko, { className:
|
|
18849
|
+
}), u = () => /* @__PURE__ */ Z(Ko, { className: ee(s, { "eloq:relative": a }), children: [
|
|
18834
18850
|
a && // Above the footer's z-20 layers (the ended-conversation panel, the
|
|
18835
18851
|
// composer) so it runs the full height; clicks pass through to them.
|
|
18836
18852
|
/* @__PURE__ */ x(
|
|
@@ -18841,19 +18857,19 @@ function Rk(e) {
|
|
|
18841
18857
|
}
|
|
18842
18858
|
),
|
|
18843
18859
|
/* @__PURE__ */ x(
|
|
18844
|
-
|
|
18860
|
+
gk,
|
|
18845
18861
|
{
|
|
18846
18862
|
onCleanChat: () => r?.(),
|
|
18847
18863
|
onClose: () => o?.()
|
|
18848
18864
|
}
|
|
18849
18865
|
),
|
|
18850
|
-
/* @__PURE__ */ x(
|
|
18851
|
-
/* @__PURE__ */ x(
|
|
18866
|
+
/* @__PURE__ */ x(ew, {}),
|
|
18867
|
+
/* @__PURE__ */ x(ik, {})
|
|
18852
18868
|
] });
|
|
18853
18869
|
return /* @__PURE__ */ x(xf, { ...l, children: /* @__PURE__ */ x(Bp, { ...e, children: /* @__PURE__ */ x(
|
|
18854
18870
|
"main",
|
|
18855
18871
|
{
|
|
18856
|
-
className:
|
|
18872
|
+
className: ee(
|
|
18857
18873
|
"eloquent-chat eloq:w-full eloq:h-full eloq:flex eloq:flex-col eloq:justify-end eloq:items-end eloq:overflow-hidden",
|
|
18858
18874
|
{
|
|
18859
18875
|
dark: l?.mode === "dark"
|
|
@@ -18867,7 +18883,7 @@ function mt({ className: e, ...t }) {
|
|
|
18867
18883
|
return /* @__PURE__ */ x(
|
|
18868
18884
|
"div",
|
|
18869
18885
|
{
|
|
18870
|
-
className:
|
|
18886
|
+
className: ee(
|
|
18871
18887
|
"eloq:animate-pulse eloq:rounded-md eloq:bg-muted",
|
|
18872
18888
|
e
|
|
18873
18889
|
),
|
|
@@ -18875,7 +18891,7 @@ function mt({ className: e, ...t }) {
|
|
|
18875
18891
|
}
|
|
18876
18892
|
);
|
|
18877
18893
|
}
|
|
18878
|
-
function
|
|
18894
|
+
function bk(e, t) {
|
|
18879
18895
|
const [n, r] = Ae(e);
|
|
18880
18896
|
return vt(() => {
|
|
18881
18897
|
const o = setTimeout(() => {
|
|
@@ -18886,12 +18902,12 @@ function xk(e, t) {
|
|
|
18886
18902
|
};
|
|
18887
18903
|
}, [e, t]), n;
|
|
18888
18904
|
}
|
|
18889
|
-
function
|
|
18905
|
+
function Ik({
|
|
18890
18906
|
isOpen: e = !1,
|
|
18891
18907
|
isMobile: t,
|
|
18892
18908
|
skipAnimation: n = !1
|
|
18893
18909
|
}) {
|
|
18894
|
-
const r =
|
|
18910
|
+
const r = bk(e, 10), o = Uu({
|
|
18895
18911
|
isOpen: n ? e : r,
|
|
18896
18912
|
isMobile: t,
|
|
18897
18913
|
skipAnimation: n
|
|
@@ -18900,7 +18916,7 @@ function Nk({
|
|
|
18900
18916
|
/* @__PURE__ */ x(
|
|
18901
18917
|
Jo,
|
|
18902
18918
|
{
|
|
18903
|
-
className:
|
|
18919
|
+
className: ee(zu, "eloq:mb-4 eloq:shadow-sm"),
|
|
18904
18920
|
children: /* @__PURE__ */ Z("div", { className: Fu, children: [
|
|
18905
18921
|
/* @__PURE__ */ x(mt, { className: "eloq:h-8 eloq:w-8" }),
|
|
18906
18922
|
/* @__PURE__ */ x(mt, { className: "eloq:h-6 eloq:w-32" })
|
|
@@ -18925,37 +18941,37 @@ function Nk({
|
|
|
18925
18941
|
}
|
|
18926
18942
|
export {
|
|
18927
18943
|
Iu as A,
|
|
18928
|
-
|
|
18929
|
-
|
|
18930
|
-
|
|
18931
|
-
|
|
18944
|
+
Qw as B,
|
|
18945
|
+
_k as C,
|
|
18946
|
+
Kw as E,
|
|
18947
|
+
kk as H,
|
|
18932
18948
|
Xo as L,
|
|
18933
18949
|
Ex as M,
|
|
18934
18950
|
Jl as N,
|
|
18935
|
-
|
|
18936
|
-
|
|
18951
|
+
Kx as R,
|
|
18952
|
+
Ik as S,
|
|
18937
18953
|
xf as T,
|
|
18938
18954
|
Ba as X,
|
|
18939
18955
|
Bp as a,
|
|
18940
|
-
|
|
18941
|
-
|
|
18942
|
-
|
|
18943
|
-
|
|
18944
|
-
|
|
18956
|
+
Yx as b,
|
|
18957
|
+
ee as c,
|
|
18958
|
+
Dw as d,
|
|
18959
|
+
Jw as e,
|
|
18960
|
+
Xw as f,
|
|
18945
18961
|
Ai as g,
|
|
18946
|
-
|
|
18962
|
+
Zx as h,
|
|
18947
18963
|
Lu as i,
|
|
18948
18964
|
xr as j,
|
|
18949
18965
|
Jt as k,
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
18953
|
-
|
|
18954
|
-
|
|
18955
|
-
|
|
18956
|
-
|
|
18957
|
-
|
|
18966
|
+
vk as l,
|
|
18967
|
+
Ak as m,
|
|
18968
|
+
bk as n,
|
|
18969
|
+
Jx as o,
|
|
18970
|
+
Tk as p,
|
|
18971
|
+
Ek as r,
|
|
18972
|
+
Ck as s,
|
|
18973
|
+
Sk as t,
|
|
18958
18974
|
ei as u,
|
|
18959
18975
|
Ox as w
|
|
18960
18976
|
};
|
|
18961
|
-
//# sourceMappingURL=skeleton-
|
|
18977
|
+
//# sourceMappingURL=skeleton-BGsnxX4m.js.map
|